/* Global Reset and Variables */
:root {
    /* Ultra-Premium Corporate Palette */
    --primary-blue: #0F4C81;
    --dark-navy: #0B111A;
    --text-main: #1D1D1F;
    --text-light: #6E6E73;
    --border-light: #E5E5EA;
    --white: #FFFFFF;
    --off-white: #FBFBFD;

    /* Card Colors (Saturated, Premium pastels matching screenshot) */
    --cyan: #81D4FA;
    --green: #81C784;
    --purple: #B39DDB;
    --yellow: #FFCA28;
    
    --blue-light: #64B5F6;
    --orange-light: #FFB74D;
    --purple-light: #CE93D8;
    --green-light: #81C784;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    zoom: 1.15;
    overflow-x: hidden;
}

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

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 2rem; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark-navy); font-weight: 400; }
.section-title { font-size: 3rem; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-block; padding: 0.6rem 1.2rem; border-radius: 40px;
    font-weight: 500; font-size: 1rem; text-align: center; cursor: pointer;
    transition: var(--transition-smooth); border: 1px solid transparent;
}
.btn-outline { border: 1px solid var(--text-light); color: var(--text-main); }
.btn-outline:hover { border-color: var(--dark-navy); }
.btn-primary { border: 1px solid var(--primary-blue); color: var(--primary-blue); }
.btn-primary:hover { background-color: var(--primary-blue); color: var(--white); }
.btn-primary-solid { background-color: #3b82f6; color: var(--white); border-radius: 40px; padding: 0.8rem 2rem; font-weight: 600;}
.btn-primary-solid:hover { background-color: #2563eb; }

.btn-link {
    color: #3b82f6; font-weight: 500; display: inline-flex; align-items: center; border: 1px solid #3b82f6; border-radius: 20px; padding: 0.4rem 1rem; font-size: 1rem; margin-bottom: 2rem;
}
.btn-link:hover { background-color: #3b82f6; color: white; }

/* Navbar */
.navbar {
    position: sticky; top: 0; background-color: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px); z-index: 1000; border-bottom: 1px solid rgba(0,0,0,0.05); padding: 1.2rem 0;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03); transition: all 0.3s ease;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; position: relative; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 700; font-size: 1.25rem; color: var(--primary-blue); letter-spacing: -0.5px;}
.mobile-menu-toggle { display: none; background: transparent; border: none; cursor: pointer; color: var(--dark-navy); }
.nav-menu-wrapper { display: flex; align-items: center; justify-content: flex-end; flex-grow: 1; gap: 2rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 1rem; font-weight: 500; color: var(--text-main); padding: 0.5rem; }
.nav-links a:hover { color: var(--primary-blue); }
.nav-actions { display: flex; gap: 1rem; }

/* Hero Section */
.hero { padding: 6rem 0 0; position: relative; }
.hero-container { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; position: relative; }
.hero-content { padding-bottom: 5rem; }
.hero-title { font-size: 5.5rem; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -0.02em; font-family: var(--font-heading); color: var(--dark-navy); }
.hero-subtitle { font-size: 1.2rem; color: #444; margin-bottom: 2.5rem; max-width: 500px; font-weight: 400; line-height: 1.5; }
.hero-image { display: flex; align-items: flex-end; justify-content: flex-end; position: relative; height: 100%; }
.hero-image img { width: 140%; max-width: none; transform: scaleX(-1); transform-origin: center bottom; object-fit: contain; margin-right: -15%; margin-bottom: -5%; }

/* Hero Links Grid (The 2x2 colored underlines) */
.hero-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; margin-top: 1rem; border-top: 1px solid var(--border-light); padding-top: 2rem;}
.hero-text-link {
    display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 600; padding-bottom: 0.5rem;
    border-bottom: 2px solid #ccc; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-main);
}
.hero-text-link:hover { opacity: 0.7; }
.link-blue { border-bottom-color: var(--primary-blue); }
.link-orange { border-bottom-color: var(--yellow); }
.link-purple { border-bottom-color: var(--purple); }
.link-green { border-bottom-color: var(--green); }

/* Core Programs Section (Right below hero) */
.programs-section { padding: 3rem 0; }
.compact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.card { padding: 2.5rem 2rem; border-radius: 4px; display: flex; flex-direction: column; min-height: 300px; }
.card-tag { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; letter-spacing: 1px; color: var(--dark-navy); }
.card-title { font-size: 1.6rem; margin-bottom: 1rem; line-height: 1.2; font-family: var(--font-body); font-weight: 600; color: var(--dark-navy); }
.card-desc { font-size: 1rem; margin-bottom: 2rem; flex-grow: 1; color: var(--dark-navy); font-weight: 500; }
.btn-card {
    display: inline-block; padding: 0.5rem 1.2rem; border-radius: 20px; background: var(--white);
    font-weight: 600; font-size: 0.85rem; align-self: flex-start; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.btn-card:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

/* Card Backgrounds */
.bg-cyan { background-color: var(--cyan); }
.bg-green { background-color: var(--green); }
.bg-purple { background-color: var(--purple); }
.bg-yellow { background-color: var(--yellow); }
.bg-blue-light { background-color: var(--blue-light); }
.bg-orange-light { background-color: var(--orange-light); }
.bg-purple-light { background-color: var(--purple-light); }
.bg-green-light { background-color: var(--green-light); }

/* Webinar Banner */
.webinar-banner { padding: 4rem 0; }
.webinar-container { display: flex; justify-content: center; position: relative; max-width: 1000px; margin: 0 auto; }
.webinar-image { width: 100%; height: 350px; }
.webinar-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.webinar-content {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    background-color: var(--dark-navy); color: var(--white); padding: 3rem; width: 45%; max-width: 400px;
}
.webinar-content h3 { color: var(--white); margin-bottom: 1rem; font-size: 1.4rem; font-family: var(--font-body); font-weight: 500;}
.webinar-content p { margin-bottom: 2rem; color: #ccc; font-size: 0.95rem; font-weight: 300;}

/* Accordion Section */
.accordion-section { padding: 5rem 0; }
.accordion-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
.accordion-left .section-title { margin-bottom: 4rem; }
.consultant-circles { position: relative; display: flex; padding-left: 2rem; }
.circle-img { width: 180px; height: 180px; border-radius: 50%; object-fit: cover; border: 4px solid var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.1); position: relative; z-index: 2; }
.circle-img.overlap { margin-left: -40px; z-index: 1; }

.accordion-tabs { border-top: 1px solid var(--border-light); margin-top: 3rem;}
.accordion-tab { padding: 1.5rem 0; border-bottom: 1px solid var(--border-light); cursor: pointer; transition: var(--transition-smooth); }
.accordion-tab h4 { font-family: var(--font-body); font-size: 1.2rem; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.tab-arrow { font-size: 1.5rem; color: var(--primary-blue); font-weight: 300; transition: transform 0.3s; }
.accordion-tab.active .tab-arrow { transform: rotate(45deg); }
.accordion-tab p { color: var(--text-light); font-size: 0.95rem; display: none; margin-top: 1rem; line-height: 1.6; }
.accordion-tab.active p { display: block; }

/* Stats Section */
.stats-section { padding: 4rem 0; }
.stats-container { display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 0 auto; text-align: center; }
.stat-item { flex: 1; }
.stat-divider { width: 1px; height: 60px; background-color: var(--border-light); }
.stat-number { font-size: 4rem; color: var(--dark-navy); line-height: 1; letter-spacing: -0.03em; }
.stat-number .percent { font-size: 2rem; font-family: var(--font-body); }
.stat-label { color: var(--text-light); font-weight: 500; font-size: 0.85rem; margin-top: 0.5rem; }

/* Our Approach */
.approach-section { padding: 5rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.approach-container { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.approach-title { font-size: 2rem; font-family: var(--font-body); font-weight: 500; }
.approach-content p { font-size: 1.15rem; color: var(--text-main); margin-bottom: 1.5rem; font-weight: 300; }

/* Customer Stories */
.stories-section { padding: 5rem 0; }
.stories-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.story-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; min-width: 0; }
.story-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding: 1rem 1rem 0; }
.story-header h4 { font-family: var(--font-body); font-weight: 500; font-size: 1rem; }
.story-marker { width: 10px; height: 10px; border-radius: 50%; }
.bg-blue { background-color: #3b82f6; }
.story-image { height: 350px; background-size: cover; background-position: center; filter: grayscale(100%); transition: var(--transition-smooth); border-radius: 4px; }
.story-card:hover .story-image { filter: grayscale(0%); transform: scale(1.02); }
.story-header h4 { font-family: var(--font-body); font-weight: 500; font-size: 1rem; color: #333; }

/* CTA Section */
.cta-section { padding: 4rem 0; border-bottom: 1px solid var(--border-light); }
.cta-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta-left h2 { font-size: 2rem; font-family: var(--font-body); font-weight: 400;}
.cta-right p { font-size: 1rem; color: var(--text-light); margin-bottom: 1.5rem; font-weight: 300; }

/* Footer */
.footer { background-color: var(--dark-navy); color: var(--white); padding: 5rem 0 3rem; }
.footer-container { display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; }
.footer-brand .logo { margin-bottom: 1rem; color: white; }
.copyright { color: #888; font-size: 0.8rem; margin-top: 3rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 0.9rem; font-family: var(--font-body); font-weight: 600;}
.footer-col a { display: block; color: #aaa; margin-bottom: 0.75rem; font-size: 0.85rem; font-weight: 300;}
.footer-col a:hover { color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-container, .accordion-layout, .approach-container, .cta-container { grid-template-columns: 1fr; gap: 2rem; }
    .hero-image img { width: 100%; margin: 0; transform: scaleX(-1); }
    .compact-cards, .stories-grid, .stats-container { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .webinar-content { position: relative; width: 100%; transform: none; max-width: none; }
    .stat-divider { display: none; }
    .stats-container { display: grid; }
}
@media (max-width: 768px) {
    body { zoom: 1; font-size: 16px; }
    .clients-marquee-section { mask-image: none; -webkit-mask-image: none; }
    .marquee-item img { opacity: 1; filter: grayscale(0%); }
    .mobile-menu-toggle { display: block; }
    .nav-menu-wrapper { 
        display: none; 
        flex-direction: column; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background: var(--white); 
        padding: 2rem; 
        box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
        gap: 1.5rem;
        align-items: flex-start;
    }
    .nav-menu-wrapper.active { display: flex; }
    .nav-links { flex-direction: column; gap: 1rem; width: 100%; }
    .nav-actions { flex-direction: column; gap: 1rem; width: 100%; }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }
    .compact-cards, .stories-grid, .stats-container, .footer-links, .footer-container { grid-template-columns: 1fr; }
    .hero-links-grid { grid-template-columns: 1fr; }
    .accordion-layout { gap: 2rem; }
    .approach-container { gap: 2rem; }
    .cta-container { text-align: center; }
}

/* Accessibility & Reduced Motion */
body.high-contrast {
    --text-main: #000000;
    --text-light: #333333;
    --border-light: #000000;
    background-color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Clients Marquee */
.clients-marquee-section {
    padding: 3rem 0;
    overflow: hidden;
    background: var(--white);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-title {
    text-align: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 2rem;
}
.clients-marquee {
    display: flex;
    width: max-content;
    animation: scroll 25s linear infinite;
    align-items: center;
}
.clients-marquee-section:hover .clients-marquee {
    animation-play-state: paused;
}
.marquee-item {
    flex: 0 0 auto;
    text-align: center;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.marquee-item img {
    height: 50px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    will-change: filter, opacity, transform;
}
.marquee-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
