/* =========================================================
   ADV. DR. VISHWAS WADEKAR — ONE PAGE NAVIGATION
   Keep the original theme styles; this file adds only
   navigation, responsive behaviour and smooth scrolling.
========================================================= */
:root {
  --op-navy: #102b50;
  --op-gold: #c49a52;
  --op-white: #fff;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  overflow-x: hidden;
}


/* FIXED STICKY NAVIGATION */

.onepage-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 999999 !important;

    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 5px 24px rgba(13, 35, 61, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(196, 154, 82, 0.30);
}

/* HEADER INNER */

.onepage-header-inner {
    
    min-height: 82px;
    margin: 0 auto;
    padding: 10px 22px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

/* PREVENT CONTENT FROM HIDING UNDER HEADER */

body {
    padding-top: 82px;
}

/* MOBILE HEADER */

@media (max-width: 900px) {
    body {
        padding-top: 72px;
    }
}


.onepage-brand {
    display: flex;
    align-items: center;
    gap: 0px;
    /* min-width: 217px; */
    color: var(--op-navy);
    text-decoration: none !important;
}

.onepage-brand img {
    width: 138px;
    height: 72px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 0;
    margin-left: -30px;
}

.onepage-brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.onepage-brand strong {
    font-size: 19px;
    letter-spacing: .65px;
    color: var(--op-navy);
    font-weight: 800;
    font-family: Georgia, serif;
    margin-left: -22px;
}

.onepage-brand small {
    font-size: 14px;
    color: var(--op-gold);
    letter-spacing: 2px;
    margin-top: 5px;
    text-align: center;
}

.onepage-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(9px, 1.25vw, 20px);
}

.onepage-nav a {
    position: relative;
    padding: 12px 0;
    color: #26384d;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none !important;
    transition: color .25s ease;
}

.onepage-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 0;
  height: 2px;
  background: var(--op-gold);
  transition: width .25s ease;
}

.onepage-nav a:hover,
.onepage-nav a.active {
  color: var(--op-gold);
}

.onepage-nav a:hover:after,
.onepage-nav a.active:after {
  width: 100%;
}

.onepage-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 13px 17px;
  background: var(--op-navy);
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: .25s;
}

.onepage-header-cta span {
  color: #e4bd78;
  font-size: 16px;
}

.onepage-header-cta:hover {
  background: var(--op-gold);
  color: #fff !important;
}

.onepage-toggle {
  display: none;
  width: 43px;
  height: 41px;
  border: 0;
  background: var(--op-navy);
  padding: 10px;
  cursor: pointer;
}

.onepage-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  margin: 4px auto;
  transition: .25s;
}

#home,
#about,
#vision,
#services,
#awards,
#profile,
#reviews,
#gallery,
#contact {
  scroll-margin-top: 88px;
}


/* FULL WIDTH CONTACT SECTION */

.vw-contact-section {
    width: 100%;
    padding: 85px 0 0;
    background: #f5f7fa;
    overflow: hidden;
}

.vw-contact-heading {
    text-align: center;
    margin-bottom: 45px;
}

.vw-contact-heading span {
    color: #c49a52;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.vw-contact-heading h2 {
    color: #102b50;
    font-size: clamp(28px, 4vw, 43px);
    font-weight: 800;
    margin: 12px 0;
}

.vw-contact-heading h2 em {
    color: #c49a52;
    font-style: normal;
}

.vw-contact-heading p {
    color: #697789;
    font-size: 14px;
}

/* CONTACT CONTENT */

.vw-contact-info-full {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 35px 40px;
    margin-bottom: 45px;
    background: linear-gradient(120deg, #102b50, #1b456f);
    border-left: 5px solid #c49a52;
}

.vw-contact-text span {
    color: #e3bd78;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.vw-contact-text h3 {
    color: #fff;
    font-size: 29px;
    margin: 10px 0;
}

.vw-contact-text p {
    color: #d4deea;
    font-size: 14px;
    margin: 0;
}

.vw-contact-button {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 16px 24px;
    background: #c49a52;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    white-space: nowrap;
    transition: .3s;
}

.vw-contact-button:hover {
    background: #fff;
    color: #102b50 !important;
}

/* FULL SCREEN WIDTH MAP */

.vw-full-map {
    width: 100%;
    height: 224px;
    margin: 0;
    padding: 0;
    line-height: 0;
    border-top: 5px solid #c49a52;
}

.vw-full-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    filter: grayscale(15%);
}

/* RESPONSIVE */

@media(max-width: 767px) {

    .vw-contact-section {
        padding-top: 60px;
    }

    .vw-contact-info-full {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 22px;
        margin-bottom: 30px;
    }

    .vw-contact-text h3 {
        font-size: 24px;
    }

    .vw-contact-button {
        width: 100%;
        justify-content: space-between;
    }

    .vw-full-map {
        height: 350px;
    }
}

/* footer css */

.onepage-footer {
    background: #101e32;
    color: #ffffff;
    padding: 65px 7% 0;
    font-family: inherit;
}

.onepage-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 55px;
    max-width: 1250px;
    margin: auto;
    padding-bottom: 45px;
}

.footer-about strong {
    color: #d6ad65;
    font-size: 21px;
    letter-spacing: 1px;
}

.footer-about p {
    color: #c1cad5;
    line-height: 1.9;
    margin-top: 20px;
    max-width: 370px;
}

.footer-column h3 {
    color: #d6ad65;
    font-size: 19px;
    margin-bottom: 23px;
}

.footer-column a,
.footer-column p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #d0d7e0;
    text-decoration: none;
    margin-bottom: 15px;
    font-size: 14px;
    transition: .3s;
}

.footer-column a:hover {
    color: #d6ad65;
    padding-left: 5px;
}

.footer-column i {
    color: #d6ad65;
    margin-top: 4px;
    min-width: 15px;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 13px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6ad65;
    border-radius: 50%;
    color: #d6ad65;
    text-decoration: none;
    transition: .3s;
}

.footer-social a:hover {
    background: #d6ad65;
    color: #101e32;
    transform: translateY(-4px);
}

.onepage-footer-bottom {
    max-width: 1250px;
    margin: auto;
    border-top: 1px solid rgba(255,255,255,.13);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    color: #bfc8d3;
    font-size: 13px;
}

.onepage-footer-bottom p {
    margin: 0;
}

.onepage-footer-bottom a {
    color: #d6ad65;
    text-decoration: none;
    font-weight: 600;
}

@media(max-width:768px) {
    .onepage-footer {
        padding: 45px 6% 0;
    }

    .onepage-footer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .onepage-footer-bottom {
        flex-direction: column;
        text-align: center;
        line-height: 1.8;
    }
}

@media (max-width:1100px) {
  .onepage-header-inner {
    gap: 14px;
  }

  .onepage-brand {
    min-width: 190px;
  }

  .onepage-brand strong {
    font-size: 29px;
}
  .onepage-brand small {
    font-size: 20px;
    color: #db9e34;
    letter-spacing: 0px;
    
}
.onepage-brand img {
    width: 138px;
    height: 86px;
}
  .onepage-nav {
    gap: 10px;
  }

  .onepage-nav a {
    font-size: 11px;
  }

  .onepage-header-cta {
    padding: 12px;
    font-size: 10px;
  }
}

@media (max-width:900px) {
  .onepage-header-inner {
    min-height: 72px;
    /* flex-wrap: wrap; */
}

  .onepage-toggle {
    display: block;
    margin-left: auto;
    order: 2;
    /* align-items: center; */
    margin-left: 153px;
}

  .onepage-header-cta {
    display: none;
  }

  .onepage-nav {
    display: none;
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 12px;
    border-top: 1px solid #e8edf2;
  }

  .onepage-nav.is-open {
    display: flex;
  }

  .onepage-nav a {
    padding: 12px 8px;
    font-size: 13px;
    border-bottom: 1px solid #edf0f4;
  }

  .onepage-nav a:after {
    display: none;
  }

  .onepage-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .onepage-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .onepage-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .onepage-contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .onepage-footer-inner {
    flex-direction: column;
  }
}

@media (max-width:575px) {
  .onepage-header-inner {
    padding: 8px 14px;
    margin-top: 18px;
}

  .onepage-brand img {
    width: 46px;
    height: 44px;
    margin-left: -3px;
}

  .onepage-brand {
    min-width: 0;
  }

  .onepage-brand strong {
    font-size: 17px;
    margin-left: 9px;
}

  .onepage-brand small {
    font-size: 13px;
    letter-spacing: 1.4px;
  }

  .onepage-contact-cta {
    padding: 52px 18px;
  }

  .onepage-contact-inner>a {
    width: 100%;
    justify-content: space-between;
  }

  .onepage-footer {
    padding: 36px 18px 0;
  }

  .onepage-footer-links {
    gap: 13px 18px;
  }

  .onepage-footer-bottom {
    flex-direction: column;
    line-height: 1.7;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *:before,
  *:after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* PREMIUM WEBSITE SCROLL ANIMATIONS */

.scroll-animate {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* Left animation */
.scroll-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: all 0.9s ease;
}

.scroll-left.show {
    opacity: 1;
    transform: translateX(0);
}

/* Right animation */
.scroll-right {
    opacity: 0;
    /* transform: translateX(70px); */
    transition: all 0.9s ease;
}

.scroll-right.show {
    opacity: 1;
    /* transform: translateX(0); */
}

/* Zoom animation */
.scroll-zoom {
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.9s ease;
}

.scroll-zoom.show {
    opacity: 1;
    transform: scale(1);
}

/* Mobile */
@media(max-width:767px) {
    .scroll-animate {
        transform: translateY(35px);
    }

    .scroll-left,
    .scroll-right {
        transform: translateY(35px);
    }
}

/* Accessibility */
@media(prefers-reduced-motion:reduce) {
    .scroll-animate,
    .scroll-left,
    .scroll-right,
    .scroll-zoom {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Remove Horizontal Scrolling */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
}

/* Prevent sections from exceeding screen width */
* {
    box-sizing: border-box;
}

/* =========================================================
   FINAL RESPONSIVE OVERRIDES
   Desktop layout remains unchanged.
   Tablet and mobile layouts are adjusted below.
   Place these rules at the END of the stylesheet.
========================================================= */

/* Prevent width overflow without changing desktop appearance */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img,
video,
iframe {
    max-width: 100%;
}

/* Desktop: retain the existing header and navigation */
@media (min-width: 1101px) {
    .onepage-header-inner {
        flex-wrap: nowrap;
    }

    .onepage-nav {
        display: flex;
    }

    .onepage-toggle {
        display: none;
    }
}

/* Small laptops and landscape tablets */
@media (min-width: 901px) and (max-width: 1100px) {
    .onepage-header-inner {
        gap: 12px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .onepage-brand {
        min-width: 0;
        flex-shrink: 0;
    }

    .onepage-brand img {
        width: 105px;
        height: 70px;
        margin-left: 0;
    }

    .onepage-brand strong {
        font-size: 16px;
        margin-left: 0;
    }

    .onepage-brand small {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .onepage-nav {
        gap: 10px;
        flex: 1;
    }

    .onepage-nav a {
        font-size: 12px;
    }

    .onepage-header-cta {
        padding: 10px 11px;
        font-size: 10px;
        gap: 7px;
    }
}

/* Tablet and mobile navigation */
@media (max-width: 900px) {
    html {
        scroll-padding-top: 76px;
    }

    body {
        padding-top: 72px;
    }

    .onepage-header {
        top: 0 !important;
    }

    .onepage-header-inner {
        min-height: 72px;
        padding: 8px 18px;
        margin: 0 auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
        margin-top: 20px;
    }

    .onepage-brand {
        min-width: 0;
        max-width: calc(100% - 58px);
        gap: 8px;
        flex: 0 1 auto;
    }

    .onepage-brand img {
        width: 88px;
        height: 56px;
        margin-left: 0;
        flex-shrink: 0;
    }

    .onepage-brand strong {
        font-size: 25px;
        margin-left: 0;
        line-height: 1.15;
    }

    .onepage-brand small {
        font-size: 11px;
        letter-spacing: 1.3px;
        text-align: left;
    }

    .onepage-toggle {
        display: block;
        order: 2;
        flex: 0 0 43px;
        width: 43px;
        height: 41px;
        margin: 0 0 0 auto;
    }

    .onepage-header-cta {
        display: none;
    }

    .onepage-nav {
        display: none;
        order: 3;
        flex: 0 0 100%;
        width: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 7px 0 10px;
        margin: 0;
        background: #fff;
        border-top: 1px solid #e8edf2;
    }

    .onepage-nav.is-open {
        display: flex;
    }

    .onepage-nav a {
        display: block;
        width: 100%;
        padding: 12px 10px;
        font-size: 14px;
        border-bottom: 1px solid #edf0f4;
    }

    .onepage-nav a::after {
        display: none;
    }

    .onepage-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .onepage-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }

    .onepage-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    #home,
    #about,
    #vision,
    #services,
    #awards,
    #profile,
    #reviews,
    #gallery,
    #contact {
        scroll-margin-top: 78px;
    }

    .vw-contact-info-full {
        gap: 20px;
    }

    .onepage-footer-inner {
        grid-template-columns: 1.2fr 1fr;
        gap: 32px;
    }
}

/* Portrait tablets */
@media (min-width: 576px) and (max-width: 900px) {
    .vw-contact-section {
        padding-top: 65px;
    }

    .vw-contact-info-full {
        padding: 28px;
    }

    .vw-contact-text h3 {
        font-size: 25px;
    }

    .vw-full-map {
        height: 300px;
    }

    .onepage-footer {
        padding-left: 5%;
        padding-right: 5%;
    }
}

/* Phones */
@media (max-width: 575px) {
    html {
        scroll-padding-top: 68px;
    }

    body {
        padding-top: 66px;
    }

    .onepage-header-inner {
        min-height: 66px;
        padding: 6px 12px;
        margin: 0;
        gap: 6px;
    }

    .onepage-brand {
        max-width: calc(100% - 52px);
        gap: 6px;
    }

    .onepage-brand img {
        width: 58px;
        height: 48px;
        margin: 0;
    }

    .onepage-brand strong {
        font-size: 14px;
        letter-spacing: .2px;
        margin: 0;
    }

    .onepage-brand small {
        font-size: 9px;
        letter-spacing: 1px;
        margin-top: 3px;
    }

    .onepage-toggle {
        width: 40px;
        height: 39px;
        flex-basis: 40px;
        padding: 9px;
    }

    .onepage-nav a {
        font-size: 13px;
        padding: 11px 8px;
    }

    .vw-contact-section {
        padding-top: 48px;
    }

    .vw-contact-heading {
        padding: 0 16px;
        margin-bottom: 28px;
    }

    .vw-contact-heading span {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .vw-contact-heading h2 {
        font-size: 27px;
        line-height: 1.25;
    }

    .vw-contact-heading p {
        font-size: 13px;
        line-height: 1.7;
    }

    .vw-contact-info-full {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 18px;
        margin: 0 12px 28px;
        gap: 18px;
    }

    .vw-contact-text h3 {
        font-size: 22px;
        line-height: 1.3;
    }

    .vw-contact-text p {
        font-size: 13px;
        line-height: 1.7;
    }

    .vw-contact-button {
        width: 100%;
        justify-content: space-between;
        padding: 14px 17px;
        white-space: normal;
        font-size: 13px;
    }

    .vw-full-map {
        height: 280px;
    }

    .onepage-footer {
        padding: 38px 18px 0;
    }

    .onepage-footer-inner {
        grid-template-columns: 1fr;
        gap: 26px;
        padding-bottom: 28px;
    }

    .footer-about strong {
        font-size: 19px;
    }

    .footer-about p {
        font-size: 13px;
        line-height: 1.8;
        margin-top: 12px;
    }

    .footer-column h3 {
        font-size: 17px;
        margin-bottom: 15px;
    }

    .footer-column a,
    .footer-column p {
        font-size: 13px;
        line-height: 1.6;
    }

    .footer-social {
        gap: 10px;
        padding: 20px 0;
    }

    .onepage-footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        line-height: 1.7;
        padding: 17px 0;
        font-size: 12px;
    }

    /* Keep animated content inside the phone viewport */
    .scroll-animate,
    .scroll-left,
    .scroll-right {
        transform: translateY(25px);
    }
}

/* Very small phones */
@media (max-width: 360px) {
    .onepage-brand img {
        width: 48px;
        height: 44px;
    }

    .onepage-brand strong {
        font-size: 12px;
    }

    .onepage-brand small {
        font-size: 8px;
        letter-spacing: .7px;
    }

    .onepage-header-inner {
        padding-left: 9px;
        padding-right: 9px;
    }

    .vw-contact-heading h2 {
        font-size: 24px;
    }
}

/* Accessibility: do not hide content for users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scroll-animate,
    .scroll-left,
    .scroll-right,
    .scroll-zoom {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
