/* --- GLOBAL DESIGN SYSTEM (REPUTIFLY INSPIRED) --- */

:root {
    /* --- COLOR PALETTE --- */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    /* Very dark grey gradient - No Purple */
    --bg-gradient: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);

    --text-main: #F0F0F0;
    --text-muted: #888899;

    /* ACCENT: GOLD (Retained for Caroline Dawson Brand) */
    --accent-gold: #D4AF37;
    --accent-gold-light: #e6ce8a;
    --accent-gold-dark: #b8933a;
    /* Polished Gold Gradient */
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F2D06B 50%, #B8933a 100%);

    /* GLASSMORPHISM VARS */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(20px);
    --glass-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);

    --transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-dark);
    /* Fallback */
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

ul {
    list-style: none;
}

/* --- UTILITIES --- */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-padding {
    padding: 140px 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- TYPOGRAPHY COMPONENTS --- */
.section-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent-gold);
    margin-bottom: 24px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    background: rgba(212, 175, 55, 0.05);
}

.section-title {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

@media (max-width: 900px) {
    .section-title { font-size: 30px; }
}

/* --- BUTTONS (Polished) --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    background: var(--gold-gradient);
    color: #050505 !important;
    font-weight: 700;
    font-size: 15px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
    text-transform: none;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -8px rgba(212, 175, 55, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    box-shadow: none;
}

.btn-outline:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

/* --- CARDS (Glassmorphism) --- */
.card,
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Top highlight */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
    background: rgba(255, 255, 255, 0.06);
}

.card h3 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 24px;
}

.card p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.card-link:hover {
    gap: 12px;
}

/* --- ANIMATIONS --- */
.hidden-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.stagger-1 {
    transition-delay: 100ms;
}

.stagger-2 {
    transition-delay: 200ms;
}

.stagger-3 {
    transition-delay: 300ms;
}


/* --- GRIDS & LAYOUTS --- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper img {
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.5);
    max-width: 100%;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    margin-top: 32px;
}

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

    .hero-content {
        flex-direction: column-reverse;
        /* Text on top usually better, but check specific request or standard pattern. Here enforcing Text -> Image? Or Image -> Text? 
        If flex-direction is row (default), column-reverse puts Image (2nd child) on top, Text (1st child) on bottom. 
        Usually Text on Top is better for SEO/UX. So let's use 'column' and ensure order is natural HTML order (Text then Image). 
        Wait, in HTML Text is first. So 'column' stacks Text then Image.
        */
        flex-direction: column;
        text-align: center;
    }

    .hero-btns {
        justify-content: center;
    }
}

/* --- UNIVERSAL HEADER & FOOTER STYLES --- */

/* --- HEADER --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 0;
    z-index: 1000;
    transition: background .35s ease, padding .35s ease, border-color .35s ease, box-shadow .35s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.7);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /* Matched container */
    margin: 0 auto;
    padding: 0 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.nav-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.25));
    transition: transform .3s ease, filter .3s ease;
}

.nav-logo:hover img {
    transform: scale(1.04);
    filter: drop-shadow(0 6px 18px rgba(212, 175, 55, 0.4));
}

.navbar.scrolled .nav-logo img {
    height: 44px;
}

.nav-links {
    display: flex;
    gap: 40px;
    align-items: center;
    list-style: none;
    /* SQL: Remove dots */
    margin: 0;
    padding: 0;
}

/* --- HERO SPACING OVERRIDES --- */
/* Clear the fixed header without excessive whitespace on mobile */
#hero,
#services-hero,
#contact-hero,
#about-hero,
.course-hero {
    padding-top: 160px;
}

@media (max-width: 600px) {
    #hero,
    #services-hero,
    #contact-hero,
    #about-hero,
    .course-hero {
        padding-top: 110px !important;
    }
}

.nav-links a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    text-decoration: none;
    font-family: var(--font-main);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-cta {
    padding: 12px 28px !important;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle Glass for header button */
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff !important;
    font-weight: 600 !important;
    border-radius: 980px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #000 !important;
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

/* --- FOOTER --- */
#universal-footer {
    background: #050505;
    color: var(--text-main);
    font-family: var(--font-main);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Fixed typo in prev thought? It wasn't there but good to add */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: auto;
    font-size: 15px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 16px;
    opacity: 0.9;
}

.footer-desc {
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    color: var(--accent-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 8px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    color: #fff;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--accent-gold);
    color: #000;
    border-color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #555;
    font-size: 13px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #555;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--text-muted);
}

/* RESPONSIVE */
@media (max-width: 900px) {

    /* Container adjustment for mobile */
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 72px);
        overflow-y: auto;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 28px 24px 60px;
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        gap: 4px;
        height: auto;
        text-align: center;
        align-items: stretch;
    }

    .nav-links > li {
        list-style: none;
        text-align: center;
    }

    .nav-links > li > a {
        display: block;
        padding: 14px 16px;
        font-size: 16px;
        text-align: center;
        border-radius: 10px;
    }

    .nav-links > li > a:hover {
        background: rgba(255,255,255,0.04);
    }

    .nav-links > li.nav-has-dropdown > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .nav-links .nav-cta {
        margin-top: 12px;
        background: var(--gold-gradient) !important;
        color: #050505 !important;
        font-weight: 700;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        align-items: center !important;
        text-align: center !important;
    }

    .footer-links {
        align-items: center !important;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* SERVICE ROW STACKING */
    .service-row,
    .service-row.alt {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 100px;
        text-align: center;
    }

    .service-row .service-image,
    .service-row.alt .service-image {
        width: 100%;
    }

    .service-text {
        width: 100%;
    }

    .service-pattern {
        font-size: 140px;
        top: -20px;
        right: 20px;
        left: auto !important;
    }

    /* End of Media Query */
}


/* --- MARQUEE BRAND SECTION --- */
.marquee-section {
    overflow: hidden;
    position: relative;
    padding: 100px 0;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.marquee-track.reverse {
    animation-direction: reverse;
}

.marquee-track.slow {
    animation-duration: 60s;
}

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
}

.marquee-item img {
    opacity: 1;
    transition: 0.3s;
    filter: none;
}

.marquee-item:hover img {
    transform: scale(1.05);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background: var(--bg-card);
    /* Fallback or variable usage */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 24px;
    color: var(--accent-gold);
    margin-bottom: 24px;
    opacity: 0.5;
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 24px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--accent-gold);
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-details h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
    color: #fff;
}

.client-details span {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- CONTACT FORM --- */
#cta {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #111 100%);
}

.form-box {
    max-width: 600px;
    margin: 40px auto 0;
    padding: 40px;
    background: #151516;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Process Steps (Desktop Default) */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    position: relative;
}

/* Mobile: Stack Process Steps */
@media (max-width: 900px) {
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }

    .process-steps::before {
        display: none;
        /* Hide connecting line on mobile if present */
    }
}

.process-steps::before {
    width: 1px;
    height: calc(100% - 50px);
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.step-item {
    width: 100%;
}

.contact-grid {
    grid-template-columns: 1fr;
    margin-top: 0;
}

.split-layout {
    grid-template-columns: 1fr;
}

.timeline {
    padding-left: 20px;
}

.timeline-item::before {
    left: -25px;
}

#contact-hero h1,
.about-hero-content h1 {
    font-size: 42px;
}

/* Carousel (Services) specific */
.services-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 24px;
    margin-left: -24px;
    margin-right: -24px;
    padding-left: 24px;
    padding-right: 24px;
    /* Custom Scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-gold) rgba(255, 255, 255, 0.1);
}

.services-carousel::-webkit-scrollbar {
    height: 6px;
}

.services-carousel::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.services-carousel::-webkit-scrollbar-thumb {
    background-color: var(--accent-gold);
    border-radius: 10px;
}

.service-row {
    min-width: 85vw;
    scroll-snap-align: center;
    background: #151516;
    padding: 32px;
    border-radius: 24px;
}


/* --- PAGE SPECIFIC STYLES (appended) --- */

/* --- SERVICES PAGE --- */
#services-hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #252526 0%, #1a1a1a 70%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    padding-bottom: 40px;
}

#service-list {
    background-color: var(--bg-dark);
}


.service-row {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 160px;
    position: relative;
}

.service-row>* {
    flex: 1;
}

.service-pattern {
    position: absolute;
    top: -60px;
    font-size: 240px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    line-height: 1;
    font-family: var(--font-main);
    user-select: none;
    pointer-events: none;
}

.service-row:nth-child(even) .service-pattern {
    right: -40px;
}

.service-row:nth-child(odd) .service-pattern {
    left: -40px;
}

.service-metric {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    margin-right: 16px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* Zig-Zag Logic */
.service-row.alt {
    flex-direction: row-reverse;
}


.service-image img {
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.service-text h3 {
    font-size: 32px;
    margin-bottom: 24px;
    color: #FFF;
}

.service-text p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.feature-list {
    margin: 32px 0;
}

.feature-list li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    color: var(--text-main);
    font-size: 15px;
}

.feature-list li i {
    color: var(--accent-gold);
    margin-right: 16px;
    font-size: 12px;
}

/* Case Studies */
#case-studies {
    background-color: #202020;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.case-card {
    background: var(--bg-card);
    /* Should define bg-card or rely on .card style */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.01);
}

.stat-highlight {
    font-size: 48px;
    font-weight: 700;
    color: #FFF;
    margin-bottom: 8px;
    display: block;
}

.case-title {
    color: var(--accent-gold);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
    display: block;
}

/* Process */
#process {
    background-color: #1a1a1a;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 80px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50px;
    right: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 25%;
    padding: 0 16px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-weight: 700;
    color: var(--accent-gold);
}

.step-item h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.step-item p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Quote Form */
#inquire {
    background: #1a1a1a;
    padding: 140px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* border-subtle */
}

.quote-form-container {
    max-width: 700px;
    margin: 0 auto;
    background: #151516;
    padding: 56px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

input,
select,
textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    padding: 16px;
    color: #fff;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
}

/* --- CONTACT PAGE --- */
#contact-hero {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #252526 0%, #1a1a1a 70%);
    padding-top: 60px;
}

#contact-hero h1 {
    font-size: 56px;
    line-height: 1.1;
}

#contact-main {
    background-color: var(--bg-dark);
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-top: -50px;
}

.info-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    height: 100%;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(20px);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.info-icon {
    font-size: 20px;
    color: var(--accent-gold);
    margin-right: 20px;
    margin-top: 2px;
    width: 24px;
    text-align: center;
}

.info-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 600;
}

.info-text p,
.info-text a {
    color: var(--text-muted);
    font-size: 15px;
}

.info-text a:hover {
    color: #fff;
}

.form-wrapper {
    background: #151516;
    padding: 48px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#location-map {
    height: 400px;
    width: 100%;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(100%) invert(100%) contrast(90%);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

/* --- ABOUT PAGE --- */
#about-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    /* Ensure vertical stack */
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at 50% 30%, #252526 0%, #1a1a1a 70%);
    position: relative;
    padding-top: 60px;
}

.about-hero-content {
    max-width: 900px;
    z-index: 2;
}

.about-hero-content h1 {
    font-size: 58px;
    margin-bottom: 30px;
    line-height: 1.05;
    background: linear-gradient(180deg, #FFFFFF 0%, #A1A1A6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 900px) {
    .about-hero-content h1 { font-size: 36px; }
}

.hero-line {
    width: 80px;
    height: 2px;
    background: var(--accent-gold);
    margin: 0 auto 30px;
    opacity: 0.6;
}

#story {
    background-color: var(--bg-dark);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.story-img-wrapper img {
    border-radius: 24px;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    filter: grayscale(100%);
}

.story-content h3 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #fff;
}

.story-content p {
    margin-bottom: 24px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
}

#philosophy {
    background-color: #202020;
    position: relative;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.value-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    text-align: center;
    transition: var(--transition);
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: scale(1.01);
}

.value-icon {
    font-size: 32px;
    color: var(--accent-gold);
    margin-bottom: 24px;
    opacity: 0.8;
}

.value-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #F5F5F7;
}

#skills {
    background-color: #1a1a1a;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 50px;
}

.skill-item {
    background: #111;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.skill-item:hover {
    background: #222;
    transform: translateX(5px);
}

.skill-item i {
    font-size: 18px;
    color: var(--accent-gold);
    margin-right: 16px;
}

.skill-item span {
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 15px;
    color: #F5F5F7;
}

#qualifications {
    background: #202020;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -45px;
    top: 5px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-gold);
    box-shadow: 0 0 10px rgba(191, 149, 63, 0.5);
}

.timeline-year {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-gold);
    margin-bottom: 8px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: #F5F5F7;
}

.timeline-content p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Nav Cards */
.nav-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 32px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    height: 100%;
}

.nav-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-card h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
}

.nav-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.nav-link-text {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.nav-link-text i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.nav-card:hover .nav-link-text i {
    transform: translateX(5px);
}

/* Common Section Overrides */
#welcome p,
#about-intro p {
    font-size: 24px;
    line-height: 1.4;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* --- CONTACT PAGE --- */

/* Contact Hero */
#contact-hero {
    min-height: 60vh;
    /* Increased height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #1a1a1a;
    background: radial-gradient(circle at 50% 30%, #252526 0%, #1a1a1a 70%);
    padding-top: 120px;
    /* Increased padding */
    padding-bottom: 80px;
    /* Added padding bottom */
}

#contact-hero h1 {
    font-size: 56px;
    line-height: 1.1;
}

/* Contact Content Layout */
#contact-main {
    background-color: var(--bg-body);
}

/* Contact Details Section */
.info-card-item {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.info-card-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.info-card-item i {
    font-size: 30px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.info-card-item h4 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-card-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 16px;
}

.info-card-item a:hover {
    color: var(--accent-gold);
}

.info-card-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-top: 5px;
}

/* Contact Form Section */
#contact-form-section .form-wrapper {
    margin: 0 auto;
    max-width: 800px;
}


/* Marquee Image Scaling (Awards) */
.marquee-item img {
    opacity: 1;
    transition: 0.3s;
    filter: none;
    max-height: 80px;
    /* Scale down images */
    width: auto;
    /* Maintain aspect ratio */
}

/* Info Card (Left Column) */
.info-card {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    height: 100%;
    position: relative;
    z-index: 2;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.info-icon {
    font-size: 20px;
    color: var(--accent-gold);
    margin-right: 20px;
    margin-top: 2px;
    width: 24px;
    text-align: center;
}

.info-text h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #fff;
    font-weight: 600;
}

.info-text p,
.info-text a {
    color: var(--text-muted);
    /* Updated to var */
    font-size: 15px;
}

.info-text a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 16px;
    transition: var(--transition);
}

.social-btn:hover {
    background: #FFF;
    color: #000;
    border-color: #FFF;
}

/* Form Wrapper (Right Column) */
.form-wrapper {
    background: #151516;
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--border-subtle);
    position: relative;
    z-index: 2;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    padding: 16px;
    color: #fff;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Map Section */
#location-map {
    height: 400px;
    width: 100%;
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    filter: grayscale(100%) invert(100%) contrast(90%);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 32px;
    border: 1px solid var(--border-subtle);
    text-align: center;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 0;
    }

    .info-card {
        order: 2;
    }

    .form-wrapper {
        order: 1;
    }

    #contact-hero h1 {
        font-size: 42px;
    }
}

/* --- Testimonial Marquee --- */
.testimonial-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-track {
    display: inline-flex;
    gap: 30px;
    animation: scrollTestimonials 40s linear infinite;
    padding-left: 30px;
    /* Initial offset */
}

/* Pause on hover for readability */
.testimonial-track:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }

    /* Moves half the width (original set) */
}

.testi-card-marquee {
    background: #151515;
    /* Slightly lighter than body */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 30px;
    width: 400px;
    /* Fixed width for consistent marquee */
    white-space: normal;
    /* Allow text to wrap inside card */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testi-card-marquee:hover {
    border-color: var(--accent-gold);
    transform: translateY(-5px);
    background: #1a1a1a;
}

.testi-card-marquee p {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}
/* --- AWARDS DESCRIPTION --- */
.awards-description {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
}

/* --- BRAND LOGO TILES --- */
.marquee-item.brand-tile {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.marquee-item.brand-tile:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.marquee-item.brand-tile img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: none;
}

/* --- S.M.A.R.T. FRAMEWORK --- */
.smart-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.smart-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    padding: 36px 24px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
}

.smart-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.smart-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gold-gradient);
    color: #050505;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px -4px rgba(212, 175, 55, 0.4);
}

.smart-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #fff;
}

.smart-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* S.M.A.R.T. Responsive */
@media (max-width: 1024px) {
    .smart-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

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

/* --- TESTIMONIAL COUNTRY --- */
.testi-country {
    display: block;
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-top: 4px;
}


/* =================================================================
   v3 — DROPDOWN NAV, COURSE GRID, PROFILING CARDS, COACHING MODELS
   ================================================================= */

/* --- DROPDOWN NAVIGATION --- */
.nav-has-dropdown {
    position: relative;
}

.nav-has-dropdown > a {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 18, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 12px 0;
    min-width: 280px;
    box-shadow: 0 20px 50px -10px rgba(0,0,0,0.7);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    z-index: 999;
}

.nav-has-dropdown:hover > .nav-dropdown,
.nav-has-dropdown.open > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear 0s;
}

.nav-dropdown li {
    list-style: none;
}

.nav-dropdown li a {
    display: block;
    padding: 9px 22px;
    color: var(--text-muted);
    font-size: 13.5px;
    font-weight: 500;
    transition: 0.2s;
    text-decoration: none;
}

.nav-dropdown li a:hover {
    color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.06);
    padding-left: 28px;
}

.nav-dropdown-heading {
    padding: 12px 22px 4px;
    color: var(--accent-gold);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    pointer-events: none;
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 6px;
}
.nav-dropdown li:first-child + .nav-dropdown-heading,
.nav-dropdown-heading:first-child { border-top: none; margin-top: 0; }

/* --- COURSE / PROFILING / COACHING CARDS --- */
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.solution-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    padding: 36px 32px;
    border-radius: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.3);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}

.solution-card .solution-eyebrow {
    color: var(--accent-gold);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.solution-card h3 {
    font-size: 21px;
    line-height: 1.3;
    margin-bottom: 14px;
    color: #fff;
}

.solution-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}

.solution-card .solution-link {
    font-weight: 600;
    font-size: 13px;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: auto;
}

.solution-card .solution-link:hover {
    gap: 14px;
}

/* Category groups */
.category-block {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.category-header h3 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
}

.category-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-size: 15px;
}

/* --- COURSE DETAIL PAGE LAYOUT --- */
.course-hero {
    padding: 200px 0 80px;
    background: radial-gradient(circle at 30% 20%, rgba(212,175,55,0.06) 0%, transparent 50%), var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.course-hero h1 {
    font-size: 54px;
    line-height: 1.1;
    max-width: 950px;
    margin: 0 0 24px;
}

.course-hero .course-lede {
    font-size: 1.15rem;
    color: var(--text-gray, #c2c2c8);
    max-width: 800px;
    line-height: 1.6;
    margin: 0;
}

.course-hero[style*="text-align:center"] h1,
.course-hero[style*="text-align: center"] h1 {
    margin: 0 auto 24px;
}
.course-hero[style*="text-align:center"] .course-lede,
.course-hero[style*="text-align: center"] .course-lede {
    margin: 0 auto;
}

@media (max-width: 900px) {
    .course-hero h1 { font-size: 32px; max-width: 100%; }
    .course-hero .course-lede { font-size: 1rem; }
}

.course-body {
    padding: 80px 0;
}

.course-section {
    margin-bottom: 70px;
}

.course-section > h2 {
    font-size: 32px;
    margin-bottom: 8px;
    color: #fff;
}

.course-section > .lede {
    color: var(--text-muted);
    max-width: 760px;
    margin-bottom: 32px;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.outcome-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 26px;
    transition: var(--transition);
}

.outcome-card:hover {
    border-color: rgba(212,175,55,0.25);
    background: rgba(255,255,255,0.045);
}

.outcome-card h4 {
    font-size: 15.5px;
    color: var(--accent-gold);
    margin-bottom: 10px;
    line-height: 1.35;
}

.outcome-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.55;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.format-tile {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 24px;
}

.format-tile i {
    font-size: 22px;
    color: var(--accent-gold);
    margin-bottom: 14px;
}

.format-tile h5 {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
}

.format-tile p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }

/* When a course-section contains a FAQ list, centre the heading + lede so they align with the FAQ width */
.course-section:has(> .faq-list) {
    text-align: center;
}
.course-section:has(> .faq-list) > h2 {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.course-section:has(> .faq-list) > .lede {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 36px;
}
.course-section:has(> .faq-list) .faq-question,
.course-section:has(> .faq-list) .faq-answer { text-align: left; }

.faq-item {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover { border-color: rgba(212,175,55,0.2); }

.faq-question {
    padding: 22px 26px;
    cursor: pointer;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    user-select: none;
}

.faq-question i { color: var(--accent-gold); transition: transform .3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 26px 22px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 15px;
}

.faq-item.open .faq-answer { display: block; }

.faq-question { transition: background .25s ease; }
.faq-item.open .faq-question { background: rgba(212,175,55,0.05); }

/* Pillar grid for keynotes */
.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    margin-top: 40px;
}

.pillar-card {
    background: linear-gradient(160deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.015) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 22px;
    padding: 34px;
}

.pillar-card .pillar-roman {
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 700;
    letter-spacing: 0.25em;
    margin-bottom: 14px;
}

.pillar-card h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 8px;
}

.pillar-card .pillar-focus {
    color: var(--text-muted);
    font-style: italic;
    font-size: 14px;
    margin-bottom: 22px;
}

.pillar-card ul {
    list-style: none;
    padding: 0;
}

.pillar-card li {
    color: #ddd;
    font-size: 14.5px;
    line-height: 1.55;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pillar-card li strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

/* Coaching model 4-up */
.coaching-models-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.coaching-model {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.coaching-model img {
    max-width: 220px;
    margin-bottom: 24px;
    border-radius: 12px;
}

.coaching-model h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 8px;
}

.coaching-model .model-tag {
    color: var(--accent-gold);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 16px;
}

.coaching-model p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; }

.coaching-model ul {
    margin-top: 18px;
    text-align: left;
    padding: 0;
    list-style: none;
    width: 100%;
}

.coaching-model li {
    color: #ddd;
    font-size: 14px;
    line-height: 1.5;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.coaching-model li strong { color: var(--accent-gold); }

/* Profiling visual card */
.profile-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.profile-feature.reverse { direction: rtl; }
.profile-feature.reverse > * { direction: ltr; }

.profile-feature img {
    border-radius: 24px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.7);
    border: 1px solid rgba(255,255,255,0.06);
    width: 100%;
}

.profile-feature h3 {
    font-size: 30px;
    color: #fff;
    margin-bottom: 10px;
}

.profile-feature .profile-tag {
    color: var(--accent-gold);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.profile-feature p {
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 22px;
    font-size: 15.5px;
}

@media (max-width: 900px) {
    .profile-feature { grid-template-columns: 1fr; gap: 30px; margin-bottom: 60px; }
    .profile-feature.reverse { direction: ltr; }
    .coaching-models-grid { grid-template-columns: 1fr; }
    .course-hero h1 { font-size: 34px; }
    .nav-dropdown,
    .nav-has-dropdown:hover > .nav-dropdown,
    .nav-has-dropdown.open > .nav-dropdown {
        position: static !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
        background: rgba(255,255,255,0.025);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border: 1px solid rgba(255,255,255,0.04);
        border-radius: 12px;
        box-shadow: none;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        padding: 6px 0;
        margin: 10px auto 4px !important;
        max-width: 320px;
        width: calc(100% - 32px);
        display: none;
        text-align: center;
        list-style: none;
    }
    .nav-has-dropdown.open > .nav-dropdown { display: block !important; }
    .nav-dropdown li { list-style: none; text-align: center; }
    .nav-dropdown li a { padding: 9px 12px; font-size: 13.5px; text-align: center; }
    .nav-dropdown li a:hover { padding-left: 12px; }
    .nav-dropdown-heading { padding: 10px 12px 4px; font-size: 10.5px; text-align: center; border-top: 1px solid rgba(255,255,255,0.04); margin: 6px 12px 0; }
    .nav-dropdown li:first-child + .nav-dropdown-heading,
    .nav-dropdown-heading:first-child { border-top: none; margin-top: 0; }
}

/* Trainer card */
.trainer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.trainer-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.trainer-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.25);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.7);
}

.trainer-photo {
    aspect-ratio: 1 / 1.15;
    overflow: hidden;
    background: #1a1a1a;
}

.trainer-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.trainer-card:hover .trainer-photo img { transform: scale(1.04); }

.trainer-body { padding: 26px 24px 28px; }

.trainer-body h3 {
    font-size: 19px;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.25;
}

.trainer-body .trainer-creds {
    color: var(--accent-gold);
    font-size: 11.5px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.5;
}

.trainer-body p {
    color: var(--text-muted);
    font-size: 14.5px;
    line-height: 1.55;
}

/* Pull quote / call out */
.pullquote {
    border-left: 3px solid var(--accent-gold);
    padding: 18px 0 18px 28px;
    margin: 30px 0;
    color: #f0f0f0;
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.5;
}

/* Process pill steps */
.process-pills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 40px;
}

.process-pill {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 18px;
    padding: 30px 26px;
    position: relative;
    transition: var(--transition);
}

.process-pill:hover {
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-3px);
}

.process-pill .step-num {
    font-size: 38px;
    color: var(--accent-gold);
    font-weight: 800;
    line-height: 1;
    opacity: 0.5;
    margin-bottom: 14px;
    display: block;
}

.process-pill h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 8px;
}

.process-pill p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Lead Magnet block */
.lead-magnet-block {
    background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(0,0,0,0.3) 100%);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 24px;
    padding: 50px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: 60px auto;
}

.lead-magnet-block h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 14px;
    line-height: 1.2;
}

.lead-magnet-block p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.lead-magnet-cover {
    aspect-ratio: 1 / 1.3;
    max-width: 320px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1f2e 0%, #0b1626 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    box-shadow: 0 30px 60px -10px rgba(0,0,0,0.7);
    border: 1px solid rgba(212,175,55,0.18);
    color: #fff;
}

.lead-magnet-cover .lm-big {
    font-family: serif;
    font-size: 84px;
    color: var(--accent-gold);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
}

.lead-magnet-cover .lm-title {
    font-size: 18px;
    font-weight: 700;
    margin: 6px 0;
    line-height: 1.25;
}

.lead-magnet-cover .lm-sub {
    font-size: 12px;
    color: var(--accent-gold);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-top: 12px;
}

@media (max-width: 900px) {
    .lead-magnet-block {
        grid-template-columns: 1fr;
        padding: 36px 24px;
        gap: 28px;
        text-align: center;
    }
    .lead-magnet-block > div { display: flex; flex-direction: column; align-items: center; }
    .lead-magnet-block .btn { align-self: center; margin: 8px auto 0; }
    .lead-magnet-cover { max-width: 260px; aspect-ratio: 1 / 1.25; padding: 26px; }
    .lead-magnet-cover .lm-big { font-size: 64px; }
    .lead-magnet-cover .lm-title { font-size: 16px; }
    .pillar-grid { grid-template-columns: 1fr; }
    .coaching-models-grid { grid-template-columns: 1fr; }
}

/* Outcome chip list (clean tick bullets) */
.outcomes-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.outcomes-list li {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 18px 20px 18px 50px;
    color: #e2e2e2;
    position: relative;
    font-size: 14.5px;
    line-height: 1.5;
}

.outcomes-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent-gold);
    position: absolute;
    left: 20px;
    top: 19px;
    font-size: 14px;
}

/* Industries / partners list as chips */
.industries-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 36px 0;
}

.industries-chip-list .chip {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #ddd;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
}

/* Region map wrapper */
.region-map-wrap {
    text-align: center;
    margin: 40px auto 0;
    max-width: 900px;
}

.region-map-wrap img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Stats grid: 4 cols desktop, 2x2 tablet, 1-col mobile */
@media (max-width: 900px) {
    .stats-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 540px) {
    .stats-grid-4 { grid-template-columns: 1fr !important; }
}

/* Hub-hero centering: when course-hero is centered, also center its lede text */
.course-hero[style*="text-align:center"] .course-lede,
.course-hero[style*="text-align: center"] .course-lede {
    margin: 24px auto 0;
    max-width: 800px;
}

/* Gallery grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.gallery-tile {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    background: #1a1a1a;
    position: relative;
    transition: var(--transition);
}

.gallery-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-tile:hover {
    border-color: rgba(212,175,55,0.3);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
}

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

@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* =================================================================
   v18 — Symmetric grids + cropped logo + cleanup per CDI revision PDF
   ================================================================= */

/* Force symmetric 3-column outcome grid on desktop so 6 items = 3+3, 5 items = 3+2 */
@media (min-width: 901px) {
    .outcome-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .solution-grid:not(.stats-grid-4) { grid-template-columns: repeat(3, 1fr) !important; }
    .pillar-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .solution-grid.stats-grid-4 { grid-template-columns: repeat(4, 1fr) !important; }
}

/* Page-6 / page-23 image-crop polish: make profile-feature + keynote photos crop+enlarge nicer */
.profile-feature img { object-fit: cover; object-position: center; }
.keynotes-photo-grid img { object-fit: cover; }

/* Cropped CDI logo: tighter padding around the gold mark */
.nav-logo img {
    height: 56px;
    width: auto;
    object-fit: cover;
    object-position: center;
    margin: -6px 0;
    transform: scale(1.18);
    transform-origin: left center;
}
.navbar.scrolled .nav-logo img { height: 48px; transform: scale(1.15); }
.footer-logo img { height: 56px; margin: -8px 0 8px; transform: scale(1.2); transform-origin: left center; }

/* CDI's Solution chips: 2x2 grid for 4 items (instead of 3+1 stranded) */
#cdi-solution .outcomes-list,
.outcomes-list.chips-2x2 {
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 700px) {
    #cdi-solution .outcomes-list,
    .outcomes-list.chips-2x2 { grid-template-columns: 1fr !important; }
}

/* Hide Awards & Accolades marquee on home (per spec — NOT in draft) */
#awards-accolades-section,
section.marquee-section.awards-marquee { display: none !important; }

/* Hero takes full viewport with photo behind */
#hero.hero-full {
    min-height: 100vh;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}
#hero.hero-full .hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
#hero.hero-full .hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.4s ease;
}
#hero.hero-full .hero-slide.active { opacity: 1; }
#hero.hero-full::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.65) 45%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
#hero.hero-full .container { position: relative; z-index: 2; width: 100%; }
#hero.hero-full .hero-content { display: block; max-width: 720px; }
#hero.hero-full .hero-image-wrapper { display: none; }
#hero.hero-full h1 { font-size: 64px; line-height: 1.05; color: #fff; }
@media (max-width: 900px) {
    #hero.hero-full h1 { font-size: 36px; }
    #hero.hero-full { min-height: 90vh; }
}
