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

:root {
    /* Color Palette */
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    --spacing-16: 4rem;
    --spacing-20: 5rem;
    --spacing-24: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 9999px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    overflow-x: hidden;
}

/* Scrolling Text Background */
.scrolling-text-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.scrolling-text {
    position: absolute;
    bottom: 0;
    left: 0;
    transform-origin: bottom center;
    white-space: nowrap;
    font-size: 36rem; /* Much bigger text */
    font-weight: 700;
    color: rgba(0, 0, 255, 0.1);
    font-family: var(--font-family);
    line-height: 1;
    margin-bottom: 0;
    width: max-content;
    display: block; /* Show the scrolling text */
    animation: wordScroll 60s linear infinite; /* Total cycle time for all 7 words - much slower */
    opacity: 0; /* Hide by default */
}

/* Each word waits for the previous one to finish and shows only during its turn */
.word-2 {
    animation-delay: 8.6s; /* Wait for Growth to finish - much slower */
}

.word-3 {
    animation-delay: 17.1s; /* Wait for Strategy to finish - much slower */
}

.word-4 {
    animation-delay: 25.7s; /* Wait for Marketing to finish - much slower */
}

.word-5 {
    animation-delay: 34.3s; /* Wait for Events to finish - much slower */
}

.word-6 {
    animation-delay: 42.9s; /* Wait for Sales to finish - much slower */
}

.word-7 {
    animation-delay: 51.4s; /* Wait for DATA to finish - much slower */
}

@keyframes wordScroll {
    0% {
        transform: translateX(100vw);
        opacity: 1; /* Show when starting */
    }
    14.3% {
        transform: translateX(-200vw);
        opacity: 1; /* Keep visible while scrolling */
    }
    14.4% {
        opacity: 0; /* Hide after scrolling */
    }
    100% {
        opacity: 0; /* Stay hidden */
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-6);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-2) var(--spacing-6) var(--spacing-1) var(--spacing-6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary-color);
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-8);
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--primary-color);
    color: white !important;
    padding: var(--spacing-2) var(--spacing-6);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 var(--spacing-20);
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-16);
    align-items: start;
}

.hero h1 {
    font-size: var(--font-size-5xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-6);
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-color);
    opacity: 0.3;
}

.hero-subtitle {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-8);
    line-height: 1.7;
    margin-left: 0;
    margin-right: 0;
}

.hero-stats {
    display: flex;
    gap: var(--spacing-8);
    margin-bottom: var(--spacing-8);
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-1);
}

.stat p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-4);
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: var(--spacing-4);
}

.hero-video {
    width: 100%;
    max-width: 1000px;
    height: 500px;
    position: relative;
    overflow: visible;
    background: transparent;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    outline: none;
    display: block;
}

/* Responsive video sizing */
@media (max-width: 768px) {
    /* First page (hero) only */
    #hero .hero-text {
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(226, 232, 240, 0.9);
        border-radius: 16px;
        padding: 18px 16px;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    #hero .hero-video {
        max-width: 100%;
        height: 360px;
    }
    
    .about-video {
        max-width: 100%;
        height: 280px;
    }
    
    .scrolling-text {
        font-size: 14rem;
    }
}

@media (max-width: 480px) {
    /* First page (hero) only */
    #hero .hero-text {
        padding: 16px 14px;
        border-radius: 14px;
    }

    #hero .hero-video {
        max-width: 100%;
        height: 320px;
    }
    
    .about-video {
        max-width: 100%;
        height: 220px;
    }
    
    .scrolling-text {
        font-size: 20rem;
    }
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-primary.large, .btn-secondary.large {
    padding: var(--spacing-4) var(--spacing-8);
    font-size: var(--font-size-lg);
}

.btn-primary.full-width {
    width: 100%;
}

/* Growth Framework Section */
.growth-framework {
    padding: var(--spacing-24) 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
}

.growth-framework::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
}

.framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-8);
    margin-top: var(--spacing-16);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.framework-layer {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-10);
    padding-top: calc(var(--spacing-10) + 4px);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.framework-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.framework-layer.execution-engine {
    background: #ffffff !important;
    border-color: #e2e8f0;
}

.framework-layer:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.layer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-8);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.layer-icon svg {
    width: 48px;
    height: 48px;
}

.compass-icon {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #2563eb;
}

.human-engine-icon {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #10b981;
}

.execution-engine-icon {
    background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(250, 204, 21, 0.3), 0 2px 4px -2px rgba(250, 204, 21, 0.2);
}

.framework-layer:hover .layer-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.framework-layer h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: #111827;
    margin-bottom: var(--spacing-6);
    letter-spacing: -0.02em;
}

.layer-components {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-3);
    margin: var(--spacing-6) 0;
    justify-content: center;
    min-height: 60px;
}

.component {
    padding: var(--spacing-2) var(--spacing-4);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid;
}

.compass-component {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border-color: #bfdbfe;
}

.compass-component:hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.human-engine-component {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #047857;
    border-color: #a7f3d0;
}

.human-engine-component:hover {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(16, 185, 129, 0.2);
}

.execution-engine-component {
    background: linear-gradient(135deg, #fef9c3 0%, #fef08a 100%);
    color: #854d0e;
    border-color: #facc15;
}

.execution-engine-component:hover {
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    color: #713f12;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(250, 204, 21, 0.3);
}

.framework-layer p {
    color: #4b5563;
    line-height: 1.7;
    margin-top: auto;
    font-size: var(--font-size-base);
    padding-top: var(--spacing-4);
}

/* Data-Driven Growth System Section */
.data-driven-growth {
    padding: var(--spacing-20) 0;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.growth-system-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-8);
}

.growth-phase {
    background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 100%);
    border: 1px solid #1e3a8a;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3), 0 4px 6px -4px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
    color: white;
}

.growth-phase:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4), 0 10px 10px -5px rgba(37, 99, 235, 0.2);
}

.phase-header {
    margin-bottom: var(--spacing-6);
    padding-bottom: var(--spacing-4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.phase-header h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.02em;
}

.phase-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.phase-content p {
    margin-bottom: var(--spacing-4);
    color: rgba(255, 255, 255, 0.9);
    padding-left: var(--spacing-6);
    position: relative;
}

.phase-content p::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
    font-size: 1.1em;
}

.phase-content p strong {
    color: white;
}

.phase-content ul {
    margin-left: var(--spacing-6);
    margin-bottom: var(--spacing-4);
    padding-left: var(--spacing-4);
    color: rgba(255, 255, 255, 0.9);
    list-style: disc;
}

.phase-content li {
    margin-bottom: var(--spacing-2);
    color: rgba(255, 255, 255, 0.9);
}

.phase-content strong {
    color: white;
    font-weight: 600;
}

/* Services Section */
.services {
    padding: var(--spacing-20) 0;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-16);
}

.section-header h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
}

.section-header p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.service-card {
    background: #ffffff;
    border: 1px solid #f3f4f6;
    border-radius: var(--radius-2xl);
    padding: var(--spacing-8);
    padding-top: calc(var(--spacing-8) + 4px);
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.service-card.featured {
    border-color: #f3f4f6;
}

.service-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.service-badge {
    position: absolute;
    top: 8px;
    right: var(--spacing-6);
    background: var(--accent-color);
    color: white;
    padding: var(--spacing-1) var(--spacing-4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    z-index: 10;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: #dbeafe;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-6);
    color: #2563eb;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-4);
    text-align: center;
    color: #111827;
}

.service-card:not(.data-card-blue) h3 {
    color: #2563eb;
}

.service-card p {
    color: #4b5563;
    margin-bottom: var(--spacing-6);
    line-height: 1.7;
    text-align: center;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-6);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-3);
}

.service-features li {
    padding: 0;
    color: #4b5563;
    display: flex;
    align-items: center;
    font-size: var(--font-size-sm);
}

.service-features li::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: var(--spacing-3);
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2310b981'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Blue card specific styles */
.data-card-blue .service-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234ade80'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.data-card-blue .service-cta:hover {
    background: #f3f4f6 !important;
    color: #1d4ed8 !important;
}

/* Green card specific styles */
.data-card-green .service-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234ade80'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.data-card-green .service-cta:hover {
    background: #f3f4f6 !important;
    color: #10b981 !important;
}

.service-cta {
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: var(--spacing-3) var(--spacing-6);
    border-radius: var(--radius-xl);
    background: #2563eb;
    border: none;
    margin-top: auto;
}

.service-cta:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* About Section */
.about {
    padding: var(--spacing-20) 0;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-16);
    align-items: center;
}

.about h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
}

.about-lead {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-8);
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.feature {
    display: flex;
    gap: var(--spacing-4);
    align-items: flex-start;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--success-color);
    color: white;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-sm);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-content h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-1);
}

.feature-content p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-6);
}

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

.member-photo {
    width: 80px;
    height: 80px;
    background: var(--bg-accent);
    border-radius: var(--radius-full);
    margin: 0 auto var(--spacing-4);
    border: 3px solid var(--primary-color);
}

.team-member h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-1);
}

.team-member p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.about-video-section {
    text-align: center;
    margin-bottom: var(--spacing-6);
}

.about-video-section h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    color: var(--text-primary);
}

.about-video {
    width: 100%;
    max-width: 900px;
    height: 450px;
    position: relative;
    overflow: visible;
    background: transparent;
    z-index: 2;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}

.about-video-iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    outline: none;
    display: block;
}

.video-description {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Responsive video sizing for about section */
@media (max-width: 768px) {
    .about-video {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .about-video {
        max-width: 100%;
    }
}

/* Case Studies Section */
.case-studies {
    padding: var(--spacing-20) 0;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.case-study {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    transition: all 0.3s ease;
}

.case-study:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.case-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: var(--spacing-6);
}

.case-header h3 {
    font-weight: 700;
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-1);
    color: #2563eb;
}

.case-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
}

.case-hashtag {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-hashtag:hover {
    color: var(--primary-color);
}

.case-tags {
    margin-bottom: var(--spacing-4);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
}

.case-industry {
    background: var(--bg-accent);
    color: var(--text-secondary);
    padding: var(--spacing-1) var(--spacing-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.case-metrics {
    display: flex;
    gap: var(--spacing-6);
    margin-bottom: var(--spacing-6);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
}

.metric-label {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.case-study p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-6);
    line-height: 1.7;
    font-style: italic;
}

.case-author {
    color: var(--text-primary);
    font-weight: 500;
}

/* Blog Section */
.blog {
    padding: var(--spacing-20) 0;
    background: var(--bg-secondary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
    margin-top: var(--spacing-12);
}

.blog-post {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    background: var(--bg-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    font-size: 3rem;
    opacity: 0.6;
}

.blog-content {
    padding: var(--spacing-6);
}

.blog-meta {
    display: flex;
    gap: var(--spacing-4);
    margin-bottom: var(--spacing-3);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.blog-category {
    background: var(--primary-color);
    color: white;
    padding: var(--spacing-1) var(--spacing-2);
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.blog-content h3 {
    margin-bottom: var(--spacing-2);
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
}

.blog-hashtags {
    margin-bottom: var(--spacing-3);
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-2);
}

.blog-hashtag {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-hashtag:hover {
    color: var(--primary-color);
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-4);
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-read-more:hover {
    color: var(--primary-dark);
}

.blog-key-takeaway {
    background: rgba(37, 99, 235, 0.1);
    border-left: 4px solid var(--primary-color);
    color: var(--text-primary);
    padding: var(--spacing-4);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-4);
}

.blog-key-takeaway h4 {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-2);
    color: var(--primary-color);
}

.blog-key-takeaway p {
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

.blog-cta {
    text-align: center;
    margin-top: var(--spacing-12);
}

/* Insights Section */
.insights {
    padding: var(--spacing-20) 0;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-8);
}

.insight-category {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-8);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.insight-category:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.insight-category h3 {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: var(--spacing-2);
}

.insight-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.insight-list li {
    padding: var(--spacing-3) 0;
    color: var(--text-primary);
    line-height: 1.6;
    position: relative;
    padding-left: var(--spacing-6);
    border-bottom: 1px solid var(--border-color);
}

.insight-list li:last-child {
    border-bottom: none;
}

.insight-list li::before {
    content: '💡';
    position: absolute;
    left: 0;
    top: var(--spacing-3);
    font-size: var(--font-size-sm);
}

.insight-list li.sub-item {
    padding-left: var(--spacing-12);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    border-bottom: none;
}

.insight-list li.sub-item::before {
    content: '→';
    color: var(--primary-color);
    font-weight: bold;
}

.insight-list li strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-20) 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(29, 78, 216, 0.9) 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
}

.cta-content p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-8);
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-6);
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    border-color: white;
    color: white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.cta-guarantee {
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.contact-photo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: var(--spacing-4) 0;
}

.contact-image {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 20%;
    border: 4px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.contact-caption {
    margin-top: var(--spacing-3);
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
}
.contact {
    padding: var(--spacing-20) 0;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-16);
}

.contact-info h2 {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    margin-bottom: var(--spacing-6);
}

.contact-info p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-8);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
}

.contact-method {
    display: flex;
    gap: var(--spacing-4);
    align-items: center;
}

.method-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-lg);
}

.method-content h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-1);
}

.method-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: var(--spacing-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.form-group {
    margin-bottom: var(--spacing-6);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-3) var(--spacing-4);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-base);
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
}

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

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--spacing-16) 0 var(--spacing-8);
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: var(--spacing-16);
    margin-bottom: var(--spacing-12);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
    align-items: start;
    justify-content: space-between;
}

.footer-brand h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--spacing-4);
    color: var(--primary-color);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-6);
}

.footer-logo {
    height: 80px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    text-align: right;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-4);
    color: white;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--spacing-2);
}

.footer-column a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: white;
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: var(--spacing-4);
    color: white;
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-links li {
    margin-bottom: var(--spacing-2);
}

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

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--spacing-6);
    padding-right: var(--spacing-6);
}

.footer-bottom p {
    color: var(--text-light);
}

.footer-social {
    display: flex;
    gap: var(--spacing-4);
}

.footer-social a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: white;
}

/* Modal layering hardening (fixes select/dropdown click issues in some browsers) */
#sales-contact-modal,
#training-contact-modal {
    z-index: 20000 !important;
    pointer-events: auto;
}

#sales-contact-modal > div,
#training-contact-modal > div {
    position: relative;
    z-index: 20001;
    pointer-events: auto;
}

#training-contact-modal select {
    position: relative;
    z-index: 20002;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-12);
    }
    
    .hero h1 {
        font-size: var(--font-size-4xl);
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        /* Lift hero content closer to fixed navbar on mobile */
        padding: 120px 0 var(--spacing-16);
    }
    
    .hero h1 {
        font-size: var(--font-size-3xl);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-4);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .services-grid,
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-8);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-6);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-4);
        text-align: center;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-4);
    }

    .hero {
        padding: 110px 0 var(--spacing-16);
    }
    
    .hero h1 {
        font-size: var(--font-size-2xl);
    }
    
    .section-header h2 {
        font-size: var(--font-size-3xl);
    }
    
    .service-card,
    .case-study,
    .contact-form {
        padding: var(--spacing-6);
    }
}

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

/* Focus styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cta-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}
