/* 
   Ascend Stylesheet
   Premium Web Design System
*/

/* Custom Variables & Design Tokens */
:root {
    --bg-primary: #FAF8F5;
    --color-primary: #033331;       /* Deep Forest Green/Teal */
    --color-accent: #D2EAE5;        /* Soft Mint Green */
    --color-light-accent: #E1F2EF;  /* Extra Light Mint for Icons/BGs */
    --color-card-bg: #F3F1ED;       /* Light Warm Gray/Cream */
    --color-text-main: #162423;     /* Dark Charcoal Teal */
    --color-text-muted: #536B69;    /* Muted Slate Green */
    --color-white: #FFFFFF;
    
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-lg: 32px;
    --border-radius-md: 24px;
    --border-radius-sm: 16px;
    
    --shadow-subtle: 0 4px 20px rgba(3, 51, 49, 0.04);
    --shadow-medium: 0 10px 30px rgba(3, 51, 49, 0.08);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--color-text-main);
    font-family: var(--font-sans);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    cursor: none; /* Hide default cursor */
}

/* ============================================
   Colorful Arrow-Shaped Custom Cursor
   ============================================ */

/* Hide default cursor on all elements */
*, a, button { cursor: none !important; }

/* Arrow cursor — clip-path polygon arrow shape */
#cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px;
    height: 32px;
    clip-path: polygon(
        0% 0%,
        0% 85%,
        28% 64%,
        44% 100%,
        57% 93%,
        42% 57%,
        75% 57%
    );
    background: linear-gradient(135deg, #f472b6, #8b5cf6, #3b82f6);
    transform: translate(0, 0);
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.08s ease, opacity 0.3s ease;
    filter: drop-shadow(0 2px 6px rgba(139, 92, 246, 0.7)) drop-shadow(0 0 3px rgba(244, 114, 182, 0.5));
}

/* Small trailing dot that follows behind */
#cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.6);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 99998;
    transition: width 0.25s ease, height 0.25s ease, opacity 0.3s ease;
    box-shadow: 0 0 8px 2px rgba(139, 92, 246, 0.4);
}

/* Hover state — ring dot grows */
#cursor-ring.cursor-ring--hover {
    width: 14px;
    height: 14px;
    background: rgba(244, 114, 182, 0.5);
}

/* Hover state — cursor scales slightly */
#cursor-dot.cursor-dot--hover {
    transform: scale(1.15);
}

/* Click burst */
#cursor-dot.cursor-dot--click {
    transform: scale(0.88);
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.9));
}
#cursor-ring.cursor-ring--click {
    width: 20px;
    height: 20px;
    opacity: 0.3;
}

/* Utility Layouts */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

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

.text-teal {
    color: var(--color-primary);
}

.text-white {
    color: var(--color-white);
}

.bg-teal {
    background-color: var(--color-primary);
}

.bg-mint {
    background-color: var(--color-accent);
}

.opacity-80 {
    opacity: 0.8;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Section Header Styles */
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    max-width: 600px;
    margin-bottom: 40px;
    font-weight: 400;
}

.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header-flex .section-desc {
    margin-bottom: 0;
}

/* Links & Buttons */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 12px rgba(3, 51, 49, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(3, 51, 49, 0.25);
    background-color: #054d4a;
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background-color: var(--color-light-accent);
}

.link-arrow {
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.link-arrow .arrow {
    transition: var(--transition);
}

.link-arrow:hover {
    color: #054d4a;
}

.link-arrow:hover .arrow {
    transform: translateX(5px);
}

/* Header / Navigation */
.header {
    padding: 40px 0 24px 0; /* Increased top padding to shift the header down */
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
    vertical-align: middle;
}

.logo-img {
    height: 50px; /* Height matching header design proportions */
    width: auto;
    display: block;
}

.logo-img-footer {
    height: 42px; /* Slightly larger footer variant */
    width: auto;
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.logo-img-footer:hover {
    opacity: 1;
}

.nav {
    display: flex;
    gap: 40px; /* Increased link gap for better spacing */
}

.nav-link {
    font-family: var(--font-sans);
    font-weight: 550; /* Slightly bolder font weight */
    color: var(--color-text-muted);
    font-size: 1.05rem; /* Increased menu text size */
    position: relative;
    padding: 6px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

/* Center-aligned navigation grid for desktop */
@media (min-width: 769px) {
    .header-container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        width: 100%;
    }
    
    .logo-link {
        justify-self: start;
    }
    
    .nav {
        justify-self: center;
    }
    
    .btn-nav {
        justify-self: end;
    }
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 24px;
    font-size: 0.9rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 110;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 120px 0;
    position: relative;
}

.hero-title {
    font-size: clamp(3rem, 9vw, 5.5rem);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--color-primary);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    max-width: 680px;
    margin: 0 auto 36px auto;
    font-family: var(--font-sans);
}

.hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 64px;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    perspective: 1200px; /* Enable 3D space for children */
}

.hero-img-wrapper {
    aspect-ratio: 4 / 5;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background-color: var(--color-card-bg);
    box-shadow: var(--shadow-subtle);
    transform-style: preserve-3d; /* Support 3D layers inside */
    transition: transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

.hero-img-wrapper:hover {
    box-shadow: 0 20px 40px rgba(3, 51, 49, 0.15);
}

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

/* Pillars of Growth Section */
.pillars-section {
    padding: 100px 0;
}

.pillars-card {
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    padding: clamp(40px, 5vw, 64px) clamp(30px, 6vw, 80px);
    box-shadow: var(--shadow-subtle);
}

.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.pillars-img-col {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 2 / 3; /* Matches the natural tall aspect ratio of the window image */
    box-shadow: var(--shadow-medium);
}

.pillars-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Centers from top to prevent clipping the head */
}

.pillars-content-col {
    display: flex;
    flex-direction: column;
}

.pillars-content-col .section-desc {
    margin-bottom: 12px; /* Reduced bottom space of subtitle */
}

.title-divider {
    width: 70px;
    height: 2px;
    background-color: var(--color-primary);
    margin: 12px 0 16px 0; /* Reduced vertical space of divider */
}

.pillars-list {
    list-style: none;
    border-top: 1px solid rgba(83, 107, 105, 0.15); /* Top border above Item 1 */
    margin-top: 20px; /* Reduced space between subtitle and list border */
}

.pillar-item {
    display: flex;
    gap: 32px; /* Increased horizontal space between icon and text */
    align-items: center; /* Center icon vertically with text content */
    padding: 24px 0; /* Vertical padding around border dividers */
    border-bottom: 1px solid rgba(83, 107, 105, 0.15); /* Divider line below item */
}

.pillar-icon-box {
    width: 52px; /* Perfect circular box size */
    height: 52px;
    border-radius: 50%;
    background-color: rgba(210, 234, 229, 0.65); /* Borderless soft mint shade */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-primary);
    transition: var(--transition);
}

.pillar-item:hover .pillar-icon-box {
    background-color: var(--color-accent);
    transform: rotate(10deg);
}

.pillar-icon {
    width: 22px;
    height: 22px;
}

.pillar-title {
    font-family: var(--font-serif); /* Serif style font Playfair Display */
    font-weight: 600;
    font-size: 1.25rem; /* Large elegant title size */
    margin-bottom: 6px;
    color: var(--color-primary);
}

.pillar-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Development Tracks Section */
.tracks-section {
    padding: 100px 0;
}

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

.track-card {
    background-color: transparent;
    transition: var(--transition);
    display: block;
    text-decoration: none;
    color: inherit;
}

.track-img-wrapper {
    aspect-ratio: 3 / 4;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-subtle);
    background-color: var(--color-card-bg);
}

.track-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center; /* Focus on the top portion to prevent face-clipping in responsive views */
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.track-card:hover .track-img {
    transform: scale(1.05);
}

.track-content {
    padding: 0 4px;
}

.track-card-title {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.track-card-desc {
    font-size: 0.95rem;
}

/* Success Stories Section */
.stories-section {
    padding: 100px 0;
}

.stories-container {
    border-radius: var(--border-radius-lg);
    padding: 80px 60px;
    box-shadow: var(--shadow-medium);
}

.stories-header {
    margin-bottom: 56px;
}

.stories-header .section-desc {
    color: rgba(210, 234, 229, 0.85); /* High-contrast soft mint-white for maximum legibility on dark teal */
    margin-left: auto;
    margin-right: auto;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-md);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.testimonial-quote {
    font-family: var(--font-serif); /* Serif font matching screenshot */
    font-size: 1.18rem; /* Slightly larger, elegant size */
    line-height: 1.6;
    color: var(--color-white);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: none; /* Removed accent border as per mockup */
}

.author-name {
    font-family: var(--font-serif); /* Serif font matching mockup */
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: var(--color-white);
}

.author-title {
    font-size: 0.85rem;
    color: rgba(210, 234, 229, 0.7); /* Muted mint-white for corporate look */
}

/* Insights / Blog Section */
.insights-section {
    padding: 100px 0;
}

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

.insight-card {
    display: flex;
    flex-direction: column;
    background-color: transparent;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
}

.insight-img-wrapper {
    aspect-ratio: 16 / 10;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-subtle);
    background-color: var(--color-card-bg);
}

.insight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.insight-card:hover .insight-img {
    transform: scale(1.05);
}

.insight-content {
    padding: 0 4px;
}

.insight-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.insight-card-title {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--color-primary);
    line-height: 1.3;
}

.insight-card-desc {
    font-size: 0.95rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.insight-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-top: 1px solid rgba(83, 107, 105, 0.15);
    padding-top: 12px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    border-radius: var(--border-radius-lg);
    padding: 64px 80px;
    box-shadow: var(--shadow-subtle);
}

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

.cta-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    max-width: 600px;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-main);
    max-width: 500px;
}

.cta-btn-col {
    flex-shrink: 0;
}

/* Footer Section */
.footer {
    background-color: #F5F5F4;
    padding: 80px 0 56px 0;
    border-top: 1px solid rgba(83, 107, 105, 0.1);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    align-items: flex-start;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-logo-link {
    margin-bottom: 20px;
    display: inline-block;
}

.logo-img-footer {
    height: 40px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 240px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    color: var(--color-primary);
    margin-bottom: 22px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-list a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--color-primary);
}

.footer-contact {
    font-style: normal;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 1.6;
}

.footer-contact p {
    font-size: 0.9rem;
    margin: 0;
}

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

.footer-divider {
    width: 100%;
    height: 1px;
    background-color: rgba(83, 107, 105, 0.12);
    margin: 56px 0 28px 0;
}

.footer-copyright-centered {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .pillars-grid {
        gap: 40px;
    }
    .cta-card {
        padding: 50px;
    }
}

@media (max-width: 768px) {
    /* Navigation Menu Toggle */
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-primary);
        box-shadow: -10px 0 30px rgba(3, 51, 49, 0.15);
        flex-direction: column;
        padding: 100px 40px;
        gap: 24px;
        transition: var(--transition);
        z-index: 105;
    }
    
    .nav.active {
        right: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }

    .btn-nav {
        display: none; /* Can be moved inside nav menu on mobile if needed */
    }
    
    /* Hero Grid Layout */
    .hero-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    /* Pillars Columns */
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pillars-img-col {
        order: -1;
        max-height: 400px;
        aspect-ratio: 16 / 10;
    }
    
    /* Tracks Grid Layout */
    .tracks-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .track-img-wrapper {
        aspect-ratio: 16 / 10;
    }
    
    /* Testimonials Grid Layout */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* Insights Grid Layout */
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* CTA Flex Layout */
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    /* Footer Layout */
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand-col {
        grid-column: 1 / -1; /* Full width on tablet */
    }
}

@media (max-width: 480px) {
    .hero-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 40px auto 0 auto;
    }
    
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto 40px auto;
    }
    
    .pillars-card {
        padding: 24px;
    }
    
    .stories-container {
        padding: 40px 24px;
    }
    
    .testimonial-card {
        padding: 24px;
    }
    
    .cta-card {
        padding: 32px 24px;
    }
}

/* ==========================================================================
   Advanced Animations & Sleek Corporate Cursor Tooltip
   ========================================================================== */

/* Cursor Tooltip Styles */
.cursor-tooltip {
    position: fixed;
    transform: translate(-50%, -50%) scale(0.85);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 25px rgba(3, 51, 49, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.cursor-tooltip.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Alternate light theme for specific sections */
.cursor-tooltip.mint-style {
    background-color: var(--color-accent);
    color: var(--color-primary);
    box-shadow: 0 10px 25px rgba(210, 234, 229, 0.2);
}

/* Standard professional pointer styling */
body {
    cursor: default;
}

a, button, .btn, .hero-img-wrapper {
    cursor: pointer;
}

/* Disable custom tooltip on mobile/tablet devices */
@media (max-width: 1024px) {
    .cursor-tooltip {
        display: none !important;
    }
}

/* Hero Spotlight Radial Glow */
.hero-spotlight {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(210, 234, 229, 0.45) 0%, rgba(210, 234, 229, 0.1) 40%, rgba(210, 234, 229, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
    will-change: transform;
}

.hero-section:hover .hero-spotlight {
    opacity: 1;
}

.hero-container {
    position: relative;
    z-index: 2; /* Keep content above spotlight */
}

/* Split-Word Entrance Animation */
.animate-split {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0 0.25em; /* Spacing between words */
}

.word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
    line-height: 1.2;
}

.word {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.15, 0.85, 0.3, 1), opacity 1.2s ease;
}

.word.revealed {
    transform: translateY(0);
    opacity: 1;
}

/* Sticky Header Entrance and Styles */
.header.sticky {
    position: fixed;
    background-color: rgba(250, 248, 245, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(3, 51, 49, 0.03);
    padding: 14px 0;
    animation: slideDownHeader 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 1px solid rgba(83, 107, 105, 0.05);
    top: 0;
    left: 0;
    width: 100%;
}

@keyframes slideDownHeader {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

/* Advanced Scroll Reveal Classes */
.reveal-slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-slide-up.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-slide-right {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: opacity, transform;
}

.reveal-slide-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger Item States */
.pillar-item {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-item.revealed {
    opacity: 1;
    transform: translateX(0);
}

.track-card, .insight-card, .testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.track-card.revealed, .insight-card.revealed, .testimonial-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* CTA Card Zoom Reveal */
.cta-card {
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-card.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Animated SVG Stroke effect on scroll reveal */
.pillar-icon-box svg {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.pillar-item.revealed .pillar-icon-box svg {
    stroke-dashoffset: 0;
}

/* ==========================================================================
   Inner Pages Styles
   ========================================================================== */

/* Inner Page Hero Header */
.inner-hero {
    padding: 180px 0 80px 0;
    background-color: var(--bg-primary);
    position: relative;
    border-bottom: 1px solid rgba(83, 107, 105, 0.05);
}

.inner-hero-title {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-family: var(--font-serif);
    color: var(--color-primary);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.inner-hero-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Programs Detailed Modules */
.program-detail-section {
    padding: 80px 0;
}

.program-detail-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: clamp(30px, 4vw, 56px);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 48px;
    border: 1px solid rgba(83, 107, 105, 0.05);
}

.program-detail-card:last-child {
    margin-bottom: 0;
}

.program-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.program-detail-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--border-radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-medium);
}

.program-detail-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.program-modules-list {
    margin-top: 24px;
    list-style: none;
}

.program-module-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid rgba(83, 107, 105, 0.08);
}

.program-module-item:last-child {
    border-bottom: none;
}

.module-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--color-primary);
    background-color: var(--color-light-accent);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.module-text h4 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.module-text p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
}

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

.pricing-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 48px 36px;
    box-shadow: var(--shadow-subtle);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(83, 107, 105, 0.05);
    transition: var(--transition);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(3, 51, 49, 0.15);
}

.pricing-card.featured .pricing-title,
.pricing-card.featured .pricing-price,
.pricing-card.featured .price-period {
    color: var(--color-white);
}

.pricing-card.featured .pricing-desc {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-card.featured .pricing-feature-item {
    border-bottom-color: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured .btn {
    background-color: var(--color-accent);
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.pricing-card.featured .btn:hover {
    background-color: var(--color-white);
    border-color: var(--color-white);
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.pricing-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.5;
}

.pricing-price-container {
    margin-bottom: 32px;
}

.pricing-price {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
}

.price-period {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex-grow: 1;
}

.pricing-feature-item {
    padding: 14px 0;
    font-size: 0.95rem;
    display: flex;
    gap: 12px;
    align-items: center;
    border-bottom: 1px solid rgba(83, 107, 105, 0.08);
}

.pricing-feature-item:last-child {
    border-bottom: none;
}

.pricing-feature-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* FAQ Accordion Section */
.faq-section {
    padding: 80px 0;
    background-color: var(--color-light-accent);
}

.faq-container {
    max-width: 800px;
    margin: 48px auto 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(83, 107, 105, 0.05);
    transition: var(--transition);
}

.faq-question {
    padding: 24px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--color-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-icon-toggle {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease;
    padding: 0 24px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 24px;
}

.faq-item.active .faq-icon-toggle {
    transform: rotate(45deg);
}

/* Blog Filtering & Search */
.blog-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: transparent;
    border: 1px solid rgba(83, 107, 105, 0.2);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* Contact Page form */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 64px;
}

.contact-info-card {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    box-shadow: var(--shadow-medium);
}

.contact-info-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.contact-method-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-method-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-method-icon {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 4px;
}

.contact-method-text h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.contact-method-text p, .contact-method-text a {
    font-size: 1rem;
    color: var(--color-white);
}

.contact-form-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-subtle);
    border: 1px solid rgba(83, 107, 105, 0.05);
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-input, .form-textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 14px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(83, 107, 105, 0.2);
    background-color: var(--bg-primary);
    color: var(--color-primary);
    transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(3, 51, 49, 0.05);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Office Location Map block */
.map-section {
    padding: 0 0 80px 0;
}

.map-placeholder {
    width: 100%;
    height: 400px;
    background-color: var(--color-card-bg);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(83, 107, 105, 0.1);
    position: relative;
    overflow: hidden;
}

.map-placeholder-text {
    text-align: center;
    z-index: 2;
}

/* Responsive Overrides for Inner Pages */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 48px auto 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .program-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Profiles Page Styles */
.profiles-section {
    padding: 80px 0;
}

.profile-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: clamp(30px, 5vw, 64px);
    box-shadow: var(--shadow-subtle);
    margin-bottom: 64px;
    border: 1px solid rgba(83, 107, 105, 0.05);
    scroll-margin-top: 120px; /* Offset for smooth scroll when hash is clicked */
    transition: background-color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

.profile-card:last-child {
    margin-bottom: 0;
}

/* Flash animation class for linked profile card */
.profile-card.highlight-flash {
    animation: flashHighlight 1.5s ease-out;
}

@keyframes flashHighlight {
    0% {
        box-shadow: 0 0 0 4px var(--color-accent);
        border-color: var(--color-accent);
        background-color: rgba(210, 234, 229, 0.15);
    }
    100% {
        box-shadow: var(--shadow-subtle);
        border-color: rgba(83, 107, 105, 0.05);
        background-color: var(--color-white);
    }
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 64px;
    align-items: flex-start;
}

.profile-img-col {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-medium);
}

.profile-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-primary);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.profile-title-tag {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-light-accent);
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 24px;
}

.profile-quote-card {
    border-left: 3px solid var(--color-accent);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
}

.profile-quote {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-primary);
    line-height: 1.6;
}

.profile-bio {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--color-text-muted);
}

.profile-bio p {
    margin-bottom: 16px;
}

.profile-bio p:last-child {
    margin-bottom: 0;
}

.profile-expertises {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.expertise-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(83, 107, 105, 0.2);
    color: var(--color-primary);
    padding: 6px 14px;
    border-radius: 30px;
}

@media (max-width: 1024px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .profile-img-col {
        max-width: 360px;
        margin: 0 auto;
    }
}
