/* =========================================================
   Agarwal URS — Navy & Gold corporate theme
   ========================================================= */

:root {
    --blue-50:  #e6eaea;
    --blue-100: #d4dde0;
    --blue-200: #b0c4ce;
    --blue-300: #88a7b9;
    --blue-500: #17577F;
    --blue-600: #0e4870;
    --blue-700: #063A62;
    --blue-800: #00233D;

    --gold-100: #f8eede;
    --gold-200: #f7e2c3;
    --gold-300: #f6d3a0;
    --gold-400: #F5B65D;
    --gold-500: #F29A32;
    --gold-600: #c9802a;

    --cream: #F8F7F3;
    --white: #ffffff;
    --text-dark: #00233D;
    --text-muted: #56849f;
    --border-soft: #E8E9E8;

    --radius: 10px;
    --shadow-soft: 0 4px 16px rgba(0, 24, 39, 0.14);
    --transition: all 0.2s ease-in-out;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
}

a { color: var(--blue-700); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-600); }

img { max-width: 100%; height: auto; display: block; }

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------------- Top info bar ---------------- */
.topbar {
    background: var(--blue-800);
    border-bottom: 1px solid var(--gold-500);
    font-size: 0.85rem;
    color: var(--blue-100);
}

.topbar .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.topbar-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
}

.topbar-contact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.topbar-contact a {
    color: var(--blue-100);
    font-weight: 600;
}

.topbar-contact a:hover { color: var(--gold-300); }

.topbar-hours {
    color: var(--blue-100);
    text-align: left;
}

.topbar-hours strong { color: var(--gold-300); }

/* ---------------- Main navigation ---------------- */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand span.gold { color: var(--gold-600); }

.brand-logo {
    height: 42px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

@media (min-width: 480px) {
    .brand-logo {
        height: 52px;
        max-width: 320px;
    }
}

.nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    display: inline-block;
    padding: 8px 9px;
    border-radius: var(--radius);
    color: var(--blue-800);
    font-weight: 400;
    font-size: 0.8rem;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--gold-100);
    color: var(--gold-600);
}

.nav-toggle {
    display: none;
    background: var(--blue-100);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1.2rem;
    color: var(--blue-800);
    cursor: pointer;
}

/* ---------------- Secondary navigation bar (full width, below logo) ---------------- */
.secondary-nav {
    background: var(--blue-800);
    width: 100%;
}

.secondary-nav .container {
    max-width: 100%;
    padding: 0 16px;
}

.secondary-nav-links {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.secondary-nav-links li {
    flex: 0 1 auto;
}

.secondary-nav-links a {
    display: block;
    padding: 12px 10px;
    color: var(--blue-100);
    font-weight: 400;
    font-size: 0.85rem;
    white-space: normal;
    overflow-wrap: break-word;
    text-align: center;
    line-height: 1.3;
}

.secondary-nav-links a:hover,
.secondary-nav-links a.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--gold-300);
}

/* ---------------- Language Switcher (Google Translate) ---------------- */
.lang-switcher {
    position: relative;
}

.lang-switcher > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-current-code {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: min(92vw, 1200px);
    max-height: 75vh;
    overflow-y: auto;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--gold-500);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    margin: 6px 0 0;
    padding: 16px 20px 20px;
    z-index: 200;
}

.lang-switcher:hover > .lang-dropdown,
.lang-switcher.open > .lang-dropdown {
    display: block;
}

.lang-dropdown-header {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--blue-700);
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border-soft);
}

.lang-dropdown-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2px 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lang-dropdown-list li {
    border-bottom: none;
}

.lang-dropdown-list a {
    display: block;
    padding: 4px 6px;
    font-size: 0.82rem;
    color: var(--blue-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 4px;
}

.lang-dropdown-list a::before {
    content: '\203A';
    color: var(--gold-600);
    font-weight: 700;
    margin-right: 4px;
}

.lang-dropdown-list a:hover {
    background: var(--gold-100);
    color: var(--gold-600);
}

@media (max-width: 782px) {
    .lang-dropdown {
        position: static;
        width: 100%;
        max-height: none;
        box-shadow: none;
    }
    .lang-dropdown-list {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* Hide Google Translate's own banner/highlighting so only our custom switcher shows */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0 !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* ---------------- Mega Menu ---------------- */
.has-mega > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.75em;
    margin-left: 6px;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 100;
    background: var(--white);
    border-top: 3px solid var(--gold-500);
    border-bottom: 3px solid var(--gold-500);
    box-shadow: 0 16px 30px rgba(0, 24, 39, 0.15);
}

.has-mega:hover .mega-menu,
.has-mega.open .mega-menu {
    display: block;
}

.mega-menu-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 36px 0;
}

.mega-menu-column {
    flex: 1 1 220px;
    min-width: 220px;
}

.mega-menu-column h4 {
    color: var(--blue-800);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--blue-800);
}

.mega-menu-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-column li {
    border-bottom: 1px solid var(--border-soft);
}

.mega-menu-column li:last-child {
    border-bottom: none;
}

.mega-menu-column a {
    display: block;
    padding: 10px 0;
    color: var(--blue-700);
    font-size: 0.92rem;
    text-align: left;
}

.mega-menu-column a:hover {
    color: var(--gold-600);
}

.mega-menu-column li.has-submenu {
    position: relative;
}

.mega-menu-column li.has-submenu > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mega-menu-column li.has-submenu > a::after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.8em;
    color: var(--text-muted);
}

.mega-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-top: 3px solid var(--gold-500);
    box-shadow: var(--shadow-soft);
    border-radius: 6px;
    z-index: 101;
    list-style: none;
    margin: 4px 0 0;
    padding: 6px 0;
}

.mega-menu-column li.has-submenu:hover > .mega-submenu,
.mega-menu-column li.has-submenu.open > .mega-submenu {
    display: block;
}

.mega-submenu li {
    border-bottom: none;
}

.mega-submenu a {
    display: block;
    padding: 9px 16px;
    font-size: 0.88rem;
    white-space: nowrap;
    text-align: left;
}

.mega-submenu a::before {
    content: '\203A';
    color: var(--gold-600);
    font-weight: 700;
    margin-right: 6px;
}

@media (max-width: 820px) {
    .mega-menu {
        position: static;
        box-shadow: none;
        border-left: 3px solid var(--gold-500);
        border-top: none;
    }
    .mega-menu-columns {
        flex-direction: column;
        gap: 4px;
        padding: 10px 0 10px 16px;
    }
    .mega-submenu {
        position: static;
        border: none;
        box-shadow: none;
        padding-left: 16px;
    }
}

/* ---------------- Hero / Banner Slider ---------------- */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blue-100), var(--gold-100));
}

.hero-slides-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    width: 100%;
    height: 100%;
}

.hero-slider[data-animation="fade"] .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.9s ease;
}

.hero-slider[data-animation="fade"] .hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slider[data-animation="slide"] .hero-slides-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s ease;
}

.hero-slider[data-animation="slide"] .hero-slide {
    flex: 0 0 100%;
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slide-link {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
}

.hero-slide-fallback {
    background: linear-gradient(135deg, var(--blue-100), var(--gold-100));
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    z-index: 3;
    color: #fff;
}

.hero-slide-fallback .hero-slide-content { color: var(--blue-800); }

.hero-slide-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin: 0 0 14px;
    color: inherit;
    text-shadow: 0 1px 4px rgba(0,24,39,0.55), 0 2px 18px rgba(0,24,39,0.4);
}

.hero-slide-fallback .hero-slide-content h1 { text-shadow: none; }

.hero-slide-content p {
    font-size: 1.1rem;
    max-width: 640px;
    margin: 0 auto 26px;
    color: inherit;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,24,39,0.5);
}

.hero-slide-fallback .hero-slide-content p { text-shadow: none; }

.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 4;
}

.hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.hero-dot.active {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gold-500);
    color: var(--white);
}
.btn-primary:hover { background: var(--gold-600); color: var(--white); }

.btn-outline {
    background: transparent;
    border-color: var(--blue-500);
    color: var(--blue-700);
}
.btn-outline:hover { background: var(--blue-100); color: var(--blue-800); }

/* ---------------- Fluid full-width section background (About Us / Journey / Offerings) ---------------- */
.fluid-bg-section {
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.fluid-bg-section.has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--section-overlay, linear-gradient(135deg, rgba(248, 247, 243, 0.85), rgba(245, 233, 208, 0.85)));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 0;
}

.fluid-bg-section > .container {
    position: relative;
    z-index: 1;
}

/* ---------------- Homepage About Us ---------------- */
.about-section {
    background-color: var(--cream);
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.about-text,
.about-image {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text { transform: translateX(-40px); }
.about-image { transform: translateX(40px); }

.about-text.in-view,
.about-image.in-view {
    opacity: 1;
    transform: translateX(0);
}

.about-text h2 {
    color: var(--blue-800);
    font-size: 1.9rem;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}

.about-text h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-500);
    margin: 10px 0 0;
    border-radius: 2px;
}

.about-text .about-text-body {
    margin-top: 18px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.about-image {
    display: flex;
}

.about-image img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    border: 4px solid var(--white);
}

.about-readmore-btn {
    margin-top: 12px;
}

/* ---------------- Our Journey (auto-sliding milestone carousel) ---------------- */
.journey-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.journey-viewport {
    flex: 1;
    overflow: hidden;
}

.journey-pages {
    display: flex;
    transition: transform 0.6s ease;
}

.journey-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.journey-item {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 30px 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.journey-item:hover {
    transform: translateY(-6px);
    border-color: var(--gold-300);
    box-shadow: 0 12px 28px rgba(0, 24, 39, 0.18);
}

.journey-item h1 {
    color: var(--gold-500);
    font-size: 2.1rem;
    margin: 0;
}

.journey-separator {
    width: 44px;
    height: 3px;
    background: var(--blue-500);
    margin: 14px auto;
    border-radius: 2px;
}

.journey-item p {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

.journey-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    color: var(--blue-700);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.journey-arrow:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--white);
}

.journey-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.journey-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.journey-dot.active {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

@media (max-width: 820px) {
    .journey-page { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .journey-arrow { display: none; }
}

/* ---------------- Our Offerings (auto-sliding card carousel) ---------------- */
.offerings-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.offerings-viewport {
    flex: 1;
    overflow-x: hidden;
    overflow-y: visible;
}

.offerings-pages {
    display: flex;
    transition: transform 0.6s ease;
}

.offerings-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    align-items: stretch;
    padding-top: 32px;
}

.offerings-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--blue-50) 100%);
}

.offering-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 44px 24px 28px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.offering-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-300);
    box-shadow: 0 12px 28px rgba(0, 24, 39, 0.18);
}

.offering-logo-badge {
    position: absolute;
    top: -32px;
    left: 24px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.offering-logo-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.offering-logo-badge i {
    font-size: 1.8rem;
    color: var(--gold-500);
}

.offering-card h2 {
    color: var(--blue-800);
    font-size: 1.25rem;
    margin: 0 0 10px;
}

.offering-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex: 1;
}

.offering-btn {
    align-self: flex-start;
}

.offerings-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    color: var(--blue-700);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.offerings-arrow:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--white);
}

.offerings-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
}

.offerings-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.offerings-dot.active {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

@media (max-width: 1100px) {
    .offerings-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
    .offerings-page { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .offerings-arrow { display: none; }
}

/* ---------------- Why Choose Us (animated stats) ---------------- */
.stats-section {
    background-color: var(--blue-800);
    text-align: center;
}

.stats-kicker {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--gold-400);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.stats-kicker .line {
    width: 30px;
    height: 2px;
    background: var(--gold-400);
    display: inline-block;
}

.stats-title {
    color: var(--white);
    font-size: clamp(1.6rem, 3.2vw, 2.3rem);
    font-weight: 800;
    max-width: 820px;
    margin: 0 auto 50px;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    flex: 1 1 150px;
    max-width: 220px;
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item i {
    font-size: 1.6rem;
    color: var(--gold-400);
    margin-bottom: 14px;
    display: block;
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-suffix {
    color: var(--gold-400);
}

.stat-label {
    color: var(--blue-100);
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .stat-item {
        flex: 1 1 45%;
        max-width: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        padding: 0 12px 20px;
        margin-bottom: 20px;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
}

/* ---------------- Introducing Our Leadership / Our Associates / Our Mentors ---------------- */
.leadership-section {
    background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 55%, var(--gold-100) 100%);
}

.associates-section {
    background: linear-gradient(135deg, var(--gold-100) 0%, var(--white) 55%, var(--blue-50) 100%);
}

.mentors-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.leadership-grid,
.mentors-grid {
    display: grid;
    grid-template-columns: minmax(260px, 380px) minmax(0, 1fr);
    gap: 50px;
    align-items: center;
}

.associates-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    gap: 50px;
    align-items: center;
}

.leadership-intro h2,
.associates-intro h2,
.mentors-intro h2 {
    color: var(--blue-800);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    margin: 0 0 18px;
}

.leadership-intro p,
.associates-intro p,
.mentors-intro p {
    color: var(--text-muted);
    margin: 0 0 26px;
}

.leadership-btn {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--blue-800);
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 8px 8px 8px 26px;
    border-radius: 50px;
    transition: var(--transition);
}

.leadership-btn:hover {
    background: var(--blue-700);
    color: var(--white);
}

.leadership-btn-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--gold-500);
    color: var(--white);
    flex-shrink: 0;
}

.leadership-slider-wrap,
.associates-slider-wrap,
.mentors-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.leadership-viewport,
.associates-viewport,
.mentors-viewport {
    flex: 1;
    overflow: hidden;
}

.leadership-pages,
.associates-pages,
.mentors-pages {
    display: flex;
    transition: transform 0.6s ease;
}

.leadership-page,
.associates-page,
.mentors-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.leader-card {
    display: flex;
    flex-direction: column;
}

.leader-photo-wrap {
    position: relative;
}

.leader-photo-link {
    display: block;
    color: inherit;
}

.leader-name-link {
    color: inherit;
    text-decoration: none;
}

.leader-name-link:hover {
    color: var(--gold-600);
    text-decoration: underline;
}

.leader-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    filter: grayscale(100%);
    display: block;
    transition: filter 0.4s ease;
}

.leader-card:hover .leader-photo {
    filter: grayscale(0%);
}

.leader-share {
    position: absolute;
    right: 20px;
    bottom: -22px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-500);
    color: var(--white);
    border-radius: 6px;
    box-shadow: var(--shadow-soft);
    z-index: 2;
}

.leader-share:hover {
    background: var(--gold-600);
    color: var(--white);
}

.leader-info {
    background: var(--blue-50);
    padding: 22px 20px 20px;
    border-radius: 0 0 10px 10px;
}

.leader-info h3 {
    color: var(--blue-800);
    font-size: 1.2rem;
    margin: 0 0 4px;
}

.leader-position {
    color: var(--blue-600);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
}

.leadership-arrow,
.associates-arrow,
.mentors-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    color: var(--blue-700);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.leadership-arrow:hover,
.associates-arrow:hover,
.mentors-arrow:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--white);
}

.leadership-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.leadership-dot,
.associates-dot,
.mentors-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.leadership-dot.active,
.associates-dot.active,
.mentors-dot.active {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

@media (max-width: 900px) {
    .leadership-grid,
    .associates-grid,
    .mentors-grid { grid-template-columns: 1fr; }
    .leader-share { right: 16px; }
}

@media (max-width: 560px) {
    .leadership-page,
    .associates-page,
    .mentors-page { grid-template-columns: 1fr; }
    .leadership-arrow,
    .associates-arrow,
    .mentors-arrow { display: none; }
}

/* ---------------- Testimonials ---------------- */
.testimonials-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonials-viewport {
    flex: 1;
    overflow: hidden;
}

.testimonials-pages {
    display: flex;
    transition: transform 0.6s ease;
}

.testimonials-page {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-300);
    box-shadow: 0 12px 28px rgba(0, 24, 39, 0.18);
}

.testimonial-quote-icon {
    color: var(--gold-200);
    font-size: 1.7rem;
    margin-bottom: 10px;
}

.testimonial-stars {
    color: var(--gold-500);
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.testimonial-stars i {
    margin-right: 2px;
}

.testimonial-text {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-style: italic;
    flex: 1;
    margin: 0 0 22px;
}

.testimonial-client {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-avatar-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-100);
    color: var(--blue-600);
    font-size: 1.1rem;
}

.testimonial-client h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--blue-800);
}

.testimonial-client span {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.testimonials-arrow {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    color: var(--blue-700);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.testimonials-arrow:hover {
    background: var(--gold-500);
    border-color: var(--gold-500);
    color: var(--white);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonials-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: 2px solid var(--blue-500);
    background: var(--white);
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
}

.testimonials-dot.active {
    background: var(--gold-500);
    border-color: var(--gold-500);
}

@media (max-width: 900px) {
    .testimonials-page { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .testimonials-page { grid-template-columns: 1fr; }
    .testimonials-arrow { display: none; }
}

/* ---------------- Trusted Partners ---------------- */
.partners-section {
    background: var(--white);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 44px;
}

.partner-logo-link {
    display: inline-flex;
}

.partner-logo {
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 820px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-text { transform: translateY(30px); }
    .about-image { transform: translateY(30px); }
    .about-text.in-view, .about-image.in-view { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .about-text, .about-image {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---------------- Sections ---------------- */
.section { padding: 60px 0; }
.section-alt { background: var(--blue-50); }

/* ---------------- Custom page blocks ---------------- */
.page-block + .page-block { margin-top: 40px; }
.page-block-title { color: var(--blue-800); margin-bottom: 16px; }
.dynamic-form-wrap { max-width: 600px; }

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--blue-800);
    font-size: 1.9rem;
    margin: 0 0 8px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold-500);
    margin: 10px auto 0;
    border-radius: 2px;
}

.section-title p { color: var(--text-muted); }

/* ---------------- Cards / grid ---------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-300);
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gold-100);
    color: var(--gold-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.card h3 { color: var(--blue-800); margin: 0 0 8px; }
.card p { color: var(--text-muted); margin: 0; }

/* ---------------- Services page ---------------- */
.services-container {
    max-width: 1400px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* No padding on the card itself — the image/icon sits flush against all four edges (so it's
   trivially centered, full-width, no negative-margin trickery) and the text gets its own
   padded body div underneath. */
.services-grid .card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.service-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Cards without an uploaded image fall back to an icon badge — center it like the image above it. */
.services-grid .card-icon {
    margin: 22px auto 0;
}

.services-grid .card-body {
    padding: 14px 22px 22px;
}

/* Titles/descriptions vary in length — some wrap to two lines, some fit on one. Reserve space
   for 2 lines and clamp anything longer, so every card ends up the same height regardless of
   how much text it has, instead of the grid looking jagged row to row. */
.services-grid .card h3 {
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 6px;
    min-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.services-grid .card p {
    font-size: 0.82rem;
    line-height: 1.5;
    min-height: 3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; }
}

/* ---------------- Gallery ---------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border: 3px solid var(--white);
}

.gallery-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img { transform: scale(1.06); }

/* ---------------- Forms ---------------- */
.form-group { margin-bottom: 18px; }

label {
    display: block;
    font-weight: 600;
    color: var(--blue-800);
    margin-bottom: 6px;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
input[type=number],
input[type=file],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px var(--gold-100);
}

.card-form {
    max-width: 640px;
    margin: 0 auto;
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

/* ---------------- Contact Page ---------------- */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-300);
    box-shadow: 0 12px 28px rgba(0, 24, 39, 0.18);
}

.contact-info-card .card-icon {
    margin: 0 auto 16px;
}

.contact-info-card h3 {
    color: var(--blue-800);
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.contact-info-card p {
    color: var(--text-muted);
    margin: 0;
    word-break: break-word;
}

.contact-info-card p a {
    color: var(--text-muted);
}

.contact-info-card p a:hover {
    color: var(--gold-600);
}

.contact-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.contact-columns .card-form {
    max-width: none;
    margin: 0;
}

.contact-map {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    min-height: 360px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: block;
    border: 0;
}

.contact-map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-50);
    color: var(--text-muted);
    text-align: center;
    padding: 20px;
}

@media (max-width: 900px) {
    .contact-info-grid { grid-template-columns: 1fr; }
    .contact-columns { grid-template-columns: 1fr; }
}

/* ---------------- Alerts ---------------- */
.alert {
    padding: 14px 18px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}
.alert-success { background: #e7f6ec; color: #2e7d4f; border: 1px solid #bfe6cc; }
.alert-error { background: #fbeaea; color: #a13d3d; border: 1px solid #f0c6c6; }

/* ---------------- Footer ---------------- */
.site-footer {
    background: var(--blue-800);
    color: var(--blue-100);
    padding: 40px 0 20px;
}

.site-footer h4 { color: var(--gold-300); margin-top: 0; }
.site-footer a { color: var(--blue-100); }
.site-footer a:hover { color: var(--gold-300); }

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.footer-bottom {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
    color: var(--blue-200);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 820px) {
    .topbar-hours { text-align: left; }
    .topbar .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    .nav-toggle { display: inline-block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 10px 20px 16px;
        box-shadow: var(--shadow-soft);
    }
    .nav-links.open { display: flex; }
    .navbar { position: relative; }
}
