/* =========================================
   1. DESIGN TOKENS & VARIABLES
   ========================================= */
:root {
    /* IBP International brand — burgundy theme */
    --color-primary-dark: #4b0e18;
    --color-primary-blue: #691524;
    --color-primary-accent: #a30320;
    --color-primary-light: #8b2034;
    --color-secondary: #6c6c6c;
    --color-light-bg: #fdfcfc;
    --color-soft-tint: #f8f0f2;
    --color-white: #ffffff;
    --color-black: #0f0f0f;
    --gradient-main: linear-gradient(135deg, #691524 0%, #a41e38 100%);

    --font-primary: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;

    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --transition-fast: 0.3s ease;
    --transition-slow: 0.8s var(--ease-out-expo);
    --header-offset: 88px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-offset) + 12px);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: var(--color-primary-dark);
    font-family: var(--font-primary);
    color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}
img, video, iframe {
    max-width: 100%;
}
html.menu-open,
body.menu-open {
    overflow: hidden !important;
    touch-action: none;
    overscroll-behavior: none;
}

/* =========================================
   2. TYPOGRAPHY & UTILITIES
   ========================================= */
h1, h2, h3, h4, h5, h6, .font-serif { font-family: var(--font-serif); }
.text-primary-dark { color: var(--color-primary-dark) !important; }
.text-primary-blue { color: var(--color-primary-blue) !important; }
.bg-primary-dark { background-color: var(--color-primary-dark) !important; }
.bg-primary-blue { background-color: var(--color-primary-blue) !important; } 
.bg-light-gray { background-color: var(--color-light-bg) !important; }
.tracking-widest { letter-spacing: 0.15em; }
.min-vh-50 { min-height: 50vh; }

/* Premium heading ornament — line + diamond + line */
.section-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 1.35rem auto 1.5rem;
    gap: 12px;
}
.section-ornament::before,
.section-ornament::after {
    content: "";
    display: block;
    width: 42px;
    height: 1.5px;
    flex: 0 0 42px;
    background: var(--color-primary-blue);
    opacity: 0.75;
}
.section-ornament__diamond {
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    background: var(--color-primary-blue);
    transform: rotate(45deg);
    box-shadow: 0 0 0 3px rgba(105, 21, 36, 0.12);
}
.section-ornament--start {
    margin-left: 0;
    margin-right: auto;
}
.section-ornament--light::before,
.section-ornament--light::after {
    background: #ffffff;
    opacity: 0.9;
}
.section-ornament--light .section-ornament__diamond {
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-dark);
    color: #fff;
    box-shadow: 0 8px 24px rgba(75, 14, 24, 0.35);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.25s ease;
}
.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    background: var(--color-primary-blue);
    transform: translateY(-2px);
}
.back-to-top:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.transition-link { transition: opacity var(--transition-fast), color var(--transition-fast); }
.transition-link:hover { opacity: 0.7; }
.hover-scale { transition: transform var(--transition-fast), box-shadow var(--transition-fast); }
.hover-scale:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important; }
.hover-zoom img { transition: transform var(--transition-slow); }
.hover-zoom:hover img { transform: scale(1.05); }

.btn-icon { width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; padding: 0; }

/* =========================================
   3. SCROLL REVEAL ANIMATIONS 
   ========================================= */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); will-change: opacity, transform; }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo); }
.reveal-active { opacity: 1; transform: translate(0, 0); }
.delay-1 { transition-delay: 0.15s; }

/* =========================================
   4. LAYOUT COMPONENTS 
   ========================================= */
body { display: flex; flex-direction: column; }
.content-wrapper {
    flex: 1 0 auto;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    max-width: 100%;
}

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    width: 100%;
    max-width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(75, 14, 24, 0.08);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: background-color var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), padding var(--transition-fast);
}
.main-header.scrolled {
    background-color: #ffffff;
    border-bottom-color: rgba(75, 14, 24, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.header-offset {
    height: var(--header-offset);
    width: 100%;
    flex-shrink: 0;
}
.header-nav__link {
    color: var(--color-primary-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast), opacity var(--transition-fast);
}
.header-nav__link:hover,
.header-nav__link.is-active {
    color: var(--color-primary-blue);
    opacity: 1;
}
.header-nav__link.is-active { font-weight: 600; }
.header-nav__item {
    position: relative;
    list-style: none;
}
.header-nav__caret {
    width: 11px;
    height: 11px;
    margin-left: 4px;
    display: inline-block;
    vertical-align: -1px;
    transition: transform 0.25s ease;
}
.header-nav__item--drop:hover .header-nav__caret,
.header-nav__item--drop:focus-within .header-nav__caret {
    transform: rotate(180deg);
}
.header-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(75, 14, 24, 0.08);
    box-shadow: 0 18px 44px rgba(75, 14, 24, 0.14);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 1060;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}
.header-dropdown::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}
.header-nav__item--drop:hover .header-dropdown,
.header-nav__item--drop:focus-within .header-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.header-dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--color-primary-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}
.header-dropdown a:hover,
.header-dropdown a.is-active {
    background: var(--color-soft-tint);
    color: var(--color-primary-blue);
}
.header-dropdown--wide {
    min-width: 280px;
}
@media (max-width: 1199.98px) {
    .header-nav__link { font-size: 0.86rem; }
}
.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    background: var(--color-primary-dark);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    border-radius: 10px;
    transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.header-cta:hover {
    background: var(--color-primary-blue);
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(75, 14, 24, 0.22);
}
.rounded-pill {
    border-radius: 10px !important;
}
.site-logo { display: block; width: auto; max-width: 180px; height: 52px; object-fit: contain; }
.site-logo--menu { max-width: 185px; height: 80px; }

/* FULL-SCREEN OVERLAY MENU */
.full-screen-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    background: #4b0e18;
    background: linear-gradient(135deg, #691524 0%, #4b0e18 100%);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}
.full-screen-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.full-screen-menu__inner {
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}
.menu-main-links a { font-family: var(--font-serif); font-size: 2.2rem; color: #ffffff; text-decoration: none; font-weight: 600; display: block; margin-bottom: 1.5rem; transition: color 0.3s ease, transform 0.3s ease; }
.menu-main-links a:hover { color: #f0c4cb; transform: translateX(10px); }
.menu-sub-links a { font-family: var(--font-sans); font-size: 0.8rem; color: rgba(255,255,255,0.7); text-decoration: none; text-transform: uppercase; letter-spacing: 0.15em; display: block; margin-bottom: 1.2rem; font-weight: 600; transition: color 0.3s ease; }
.menu-sub-links a:hover { color: #ffffff; }

/* Hero Section */
.hero-video-box {
    width: 70%;
    max-width: 70%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 24px 60px rgba(75, 14, 24, 0.22);
    line-height: 0;
}
.hero-video-box video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Impact stats — right after hero */
.stats-section {
    background-color: #f3f1ef;
    background-image:
        radial-gradient(ellipse at center, rgba(255,255,255,0.55) 0%, transparent 70%),
        repeating-linear-gradient(0deg, transparent, transparent 11px, rgba(75, 14, 24, 0.03) 11px, rgba(75, 14, 24, 0.03) 12px),
        repeating-linear-gradient(90deg, transparent, transparent 11px, rgba(75, 14, 24, 0.03) 11px, rgba(75, 14, 24, 0.03) 12px);
    padding: 64px 0 72px;
    border-bottom: 1px solid rgba(75, 14, 24, 0.06);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}
.stats-grid--single {
    grid-template-columns: 1fr;
    max-width: 420px;
}
.stat-item {
    position: relative;
    padding: 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -10px;
    transform: translateY(-50%);
    width: 1px;
    height: 72px;
    background: rgba(105, 21, 36, 0.12);
}
.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    color: #4a4a4a;
}
.stat-icon svg {
    width: 100%;
    height: 100%;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1.1;
    margin: 0 0 0.55rem;
    letter-spacing: -0.02em;
}
.stat-label {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #5c5c5c;
    line-height: 1.45;
    max-width: 11rem;
}

/* Clientele — dual opposite marquees */
.clientele-section {
    background-color: #ffffff;
    padding: 72px 0 64px;
    overflow: hidden;
}
.clientele-section--alt {
    background: linear-gradient(180deg, #ffffff 0%, var(--color-soft-tint) 100%);
}
.clientele-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.clientele-marquee--second {
    margin-top: 22px;
}
.clientele-block {
    margin-top: 8px;
}
.clientele-block--pakistan {
    margin-top: 40px;
}
.clientele-subheading {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    letter-spacing: 0.01em;
}
.clientele-track {
    display: flex;
    width: max-content;
    animation: clienteleScroll 35s linear infinite;
}
.clientele-track--slow {
    animation-duration: 70s;
}
.clientele-track--reverse {
    animation-direction: reverse;
    animation-duration: 40s;
}
.clientele-marquee:hover .clientele-track {
    animation-play-state: paused;
}
.clientele-logo-set {
    display: flex;
    align-items: stretch;
    gap: 20px;
    padding-right: 20px;
}
.clientele-logo-card {
    flex: 0 0 auto;
    width: 200px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid rgba(105, 21, 36, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(75, 14, 24, 0.05);
}
.clientele-logo-img {
    display: block;
    max-width: 150px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
}
@keyframes clienteleScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .clientele-track { animation: none; }
}

/* Froebel's Karachi DHA — image half ABOVE glass card */
.karachi-section {
    --karachi-img-h: 420px;
    --karachi-overlap: calc(var(--karachi-img-h) / 2);
    position: relative;
    background-color: #4b0e18;
    padding: 48px 0 80px;
    overflow: hidden;
}
/* Background photo layer */
.karachi-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('../images/home/about-ibp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}
/* Maroon tint overlay — keep image readable through glass */
.karachi-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #4b0e18;
    opacity: 0.80;
    z-index: 0;
    pointer-events: none;
}
.karachi-section > .container {
    position: relative;
    z-index: 1;
}
.karachi-card-wrap {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding-top: var(--karachi-overlap);
    overflow: visible;
}
.karachi-img-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    width: 78%;
    max-width: 820px;
}
.karachi-img-wrapper img {
    display: block;
    width: 100%;
    height: var(--karachi-img-h);
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
/* Reference-style iOS glass panel */
.karachi-dark-box {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border-radius: 48px;
    padding: var(--karachi-overlap) 48px 72px;
    overflow: hidden;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.karachi-dark-box:hover {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 44px 110px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.karachi-dark-box > .karachi-content {
    position: relative;
    z-index: 1;
}
.karachi-content {
    text-align: center;
    color: #ffffff;
    padding-top: 28px;
}
.karachi-title {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.25rem;
    line-height: 1.2;
}
.karachi-copy {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    padding: 0 8px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}
.karachi-copy strong {
    color: #ffffff;
    font-weight: 700;
}
.karachi-btn {
    display: inline-block;
    padding: 0.85rem 2.4rem;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;
    background: transparent;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}
.karachi-btn:hover {
    background: #ffffff;
    color: var(--color-primary-dark);
    border-color: #ffffff;
}

/* Timeline Tabs */
.timeline-nav { padding-left: 0; }
.timeline-line {
    position: absolute;
    left: 12px;
    top: 18px;
    bottom: 18px;
    width: 2px;
    background: #dee2e6;
    z-index: 1;
    pointer-events: none;
}
.timeline-btn {
    color: #adb5bd;
    transition: color 0.3s ease;
    gap: 14px;
    position: relative;
    z-index: 2;
}
.timeline-btn.active { color: var(--color-primary-blue) !important; }
.timeline-btn__label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.3;
}
@media (min-width: 992px) {
    .timeline-btn__label {
        font-size: 1.25rem;
        letter-spacing: 0.15em;
    }
}
.timeline-dot {
    display: block;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #adb5bd;
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.timeline-btn.active .timeline-dot {
    background: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
    box-shadow: 0 0 0 4px rgba(163, 3, 32, 0.2);
}
.timeline-pane { display: none; animation: fadeScalePane 0.5s ease forwards; }
.timeline-pane.active { display: block; }
.timeline-feature { position: relative; }
.timeline-feature__img {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center 22%;
}
.timeline-feature__card {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 85%;
    margin: 1.25rem;
    padding: 1.5rem;
}
.timeline-feature__card p {
    font-size: 0.95rem;
    line-height: 1.6;
}
@keyframes fadeScalePane { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: scale(1); } }
.aspire-section { position: relative; z-index: 0; background: #fff; }
.glass-card { background: rgba(75, 14, 24, 0.88); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.12); }

/* LEAD Accordion Cards */
.lead-dark-section { background: linear-gradient(to bottom, #4b0e18 0%, #691524 100%); position: relative; z-index: 0; }
.lead-accordion { display: flex; width: 100%; max-width: 1200px; height: 480px; margin: 0 auto; border-radius: 16px; overflow: hidden; gap: 0; }
.lead-expand-card {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.25, 0.8, 0.25, 1), background-size 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}
.lead-expand-overlay {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(12, 4, 6, 0.42) 0%,
        rgba(12, 4, 6, 0.64) 40%,
        rgba(12, 4, 6, 0.9) 100%
    );
}
@media (max-width: 991.98px) {
    .lead-expand-overlay { display: block; }
    .lead-expand-content {
        z-index: 2;
        background: transparent;
        text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
    }
    .lead-expand-tagline {
        opacity: 1 !important;
        color: rgba(255, 255, 255, 0.95);
    }
    .lead-expand-detail { color: rgba(255, 255, 255, 0.94); }
}
.lead-accordion:hover .lead-expand-card { flex: 0.55; }
.lead-accordion .lead-expand-card:hover {
    flex: 2.2;
    background-size: cover;
}
.lead-expand-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 22px 24px;
    text-align: center;
    background: linear-gradient(to top, rgba(75,14,24,0.96) 0%, rgba(75,14,24,0.55) 55%, transparent 100%);
    color: white;
    transition: opacity 0.4s ease;
    white-space: normal;
}
.lead-expand-detail {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease;
}
.lead-expand-card:hover .lead-expand-detail {
    max-height: 140px;
    opacity: 1;
    margin-top: 0.85rem;
}
.lead-accordion:hover .lead-expand-card:not(:hover) .lead-expand-content { opacity: 0.35; }
.lead-accordion:hover .lead-expand-card:not(:hover) .lead-expand-detail {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

/* LIFE AT FROEBEL'S (Tabbed Carousel) - 5 Images Update */
.life-tab-btn { background-color: #ffffff; border: 1px solid transparent; color: #6c757d; border-radius: 50px; padding: 10px 28px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.life-tab-btn.active { background-color: transparent; border-color: var(--color-primary-blue); color: var(--color-primary-blue); box-shadow: none; }
.life-tab-pane { display: none; opacity: 0; animation: fadeScalePane 0.5s ease forwards; }
.life-tab-pane.active { display: block; }
.life-carousel-wrapper { overflow: hidden; }
.life-carousel-track { overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
.life-carousel-track::-webkit-scrollbar { display: none; }
/* Changed to 20% to exactly fit 5 images on screen */
.life-carousel-slide { flex: 0 0 20%; scroll-snap-align: start; }
.life-carousel-slide img { width: 100%; height: 350px; object-fit: cover; }
.life-nav-btn { width: 10%; background: rgba(105, 21, 36, 0.78); backdrop-filter: blur(2px); transition: background 0.3s ease; cursor: pointer; }
.life-nav-btn:hover { background: rgba(105, 21, 36, 0.95); }

/* FIXED CENTER SOCIAL CAROUSEL */
.social-story-section { overflow: hidden; }
.social-story-stage { min-height: 420px; position: relative; overflow: hidden; }
.fixed-blue-card { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 320px; height: 320px; background: var(--gradient-main); border-radius: 16px; box-shadow: 0 15px 40px rgba(105, 21, 36, 0.35); z-index: 3; pointer-events: none; }
.social-track-container { height: 320px; overflow: hidden; }
.social-track { justify-content: center; gap: 48px; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); will-change: transform; }
.social-card {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #fff;
    display: block;
    z-index: 2;
}
.social-card > img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s var(--ease-out-expo);
}
.social-card__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 8px;
    padding: 56px 16px 16px;
    text-align: left;
    background: linear-gradient(to top, rgba(20, 4, 8, 0.88) 0%, rgba(20, 4, 8, 0.35) 55%, transparent 100%);
    pointer-events: none;
}
.social-card__brand {
    display: flex;
    align-items: center;
    gap: 8px;
}
.social-card__brand img {
    height: 22px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 2px 4px;
}
.social-card__brand span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
}
.social-card__title {
    margin: 0;
    width: 100%;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
}
.social-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 1.1rem;
    border: 1.5px solid #fff;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: background 0.25s ease, color 0.25s ease, opacity 0.3s ease, transform 0.3s ease;
}
.social-card:hover > img,
.social-card:focus-visible > img {
    transform: scale(1.06);
}
.social-card:hover .social-card__btn,
.social-card:focus-visible .social-card__btn {
    opacity: 1;
    transform: translateY(0);
    background: #fff;
    color: var(--color-primary-dark);
}
.fixed-blue-card a,
.fixed-blue-card button { pointer-events: auto; }
.social-prev, .social-next { border-width: 1.5px; transition: all 0.3s; pointer-events: auto; }
.social-prev:hover, .social-next:hover { background-color: white; color: var(--color-primary-dark); }

@media (hover: none) {
    .social-card__btn {
        opacity: 1;
        transform: none;
        background: rgba(255, 255, 255, 0.14);
    }
}

/* Campus Button Carousel */
.campus-carousel { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.campus-carousel::-webkit-scrollbar { display: none; }
.campus-card { width: calc(30% - 16px); }
.campus-card img { transition: transform var(--transition-slow); }
.campus-card:hover img { transform: scale(1.05); }

/* Services carousel — normal scroll, buttons + auto-advance (no GSAP pin) */
.our-campuses-sec {
    background-color: var(--color-light-bg);
    padding: 72px 0 48px;
}
.sticky-services-heading {
    margin-bottom: 0.5rem;
}
.our-campuses-map {
    width: 100%;
    overflow: hidden;
    padding: 8px 0 16px;
}
.campuses-map-wrapper {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 30px;
    width: max-content;
    padding-left: max(24px, calc((100% - 1140px) / 2));
    padding-right: max(24px, calc((100% - 1140px) / 2));
    transition: transform 0.55s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}
.campuses-map-wrapper.is-jumping {
    transition: none !important;
}
.campus-card-v2 {
    flex: 0 0 300px;
    width: 300px;
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 20px 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(75, 14, 24, 0.08);
    position: relative;
}

@media (min-width: 992px) {
    .campus-card-v2__thumb {
        height: clamp(220px, 28vh, 300px);
    }
}
.campus-card-v2__pin {
    width: 44px;
    height: 44px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--color-soft-tint);
    color: var(--color-primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.campus-card-v2__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0 0 6px;
    line-height: 1.25;
}
.campus-card-v2__city {
    font-size: 0.9rem;
    color: var(--color-primary-light);
    margin: 0 0 18px;
}
.campus-card-v2__thumb {
    border-radius: 14px;
    overflow: hidden;
    height: 340px;
}
.campus-card-v2__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}
.campus-card-v2:hover .campus-card-v2__thumb img {
    transform: scale(1.05);
}

/* Parallax & Footer */
.parallax-container { overflow: hidden; }
.parallax-bg { transform: translateY(0); will-change: transform; height: 120% !important; top: -10%; position: absolute; }

.cta-section {
    --cta-bg: url('../images/home/cta-consultation.jpg');
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #1a1a1a;
}
.cta-section .cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--cta-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.cta-section .cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.78);
    pointer-events: none;
}
.cta-section > .container {
    position: relative;
    z-index: 2;
}
.footer-watermark h1 { font-size: 25vw; line-height: 0.75; color: rgba(255,255,255,0.02); }
.site-logo--footer {
    max-width: 200px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}
.footer-tagline {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2;
    margin-bottom: 1rem !important;
}
.footer-contact__icon {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.9;
}
.footer-links a { color: rgba(255,255,255,0.75); text-decoration: none; display: inline-block; padding: 0.25rem 0; transition: color var(--transition-fast), transform var(--transition-fast); }
.footer-links a:hover { color: var(--color-white); transform: translateX(5px); }
@media (prefers-reduced-motion: reduce) { *, ::before, ::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }