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

/* Remove the duplicate transition rule */
*:not(.reveal-up):not(.stat-number):not(.founder-photo) {
    transition: all 0.3s ease;
}

:root {
    /* Brand Colors - Dark Navy Tech Theme */
    --primary-blue: #3B82F6;
    /* Electric Blue - Core Action Color */
    --primary-dark: #2563EB;
    /* Deep Blue - Hover States */
    --secondary-blue: #020617;
    /* Deepest Navy - Main Background */
    --accent-cyan: #06B6D4;
    /* Cyber Cyan - Accents & Glows */
    --accent-purple: #8B5CF6;
    /* Tech Purple - Secondary Accent */

    /* Functional Colors - Dark Mode */
    --text-dark: #F8FAFC;
    /* Slate 50 - Primary Text */
    --text-primary: #F1F5F9;
    /* Slate 100 - Headings */
    --text-gray: #94A3B8;
    /* Slate 400 - Secondary Text */
    --text-light: #64748B;
    /* Slate 500 - Muted Text */

    /* Backgrounds */
    --bg-dark: #020617;
    /* Almost Black - Main Body BG */
    --bg-light: #0F172A;
    /* Slate 900 - Card/Section BG */
    --white: #1E293B;
    /* Slate 800 - Component BG */
    --glass-bg: rgba(15, 23, 42, 0.7);
    /* Frosted Glass BG */

    /* UI Elements */
    --border-light: #334155;
    /* Slate 700 - Borders */
    --border-glass: rgba(255, 255, 255, 0.05);
    --border-glow: rgba(59, 130, 246, 0.3);

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.15);
    --shadow-neon: 0 0 10px rgba(6, 182, 212, 0.2), 0 0 20px rgba(6, 182, 212, 0.1);

    /* Radii */
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Legacy Compatibility */
    --dark-blue: var(--secondary-blue);
    --light-blue: var(--text-gray);
    --blue-50: var(--bg-light);
    --blue-100: var(--white);
    --blue-200: var(--border-light);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-dark);
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

/* Ensure all text elements inherit Lato font */
*,
*::before,
*::after {
    font-family: inherit;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-blue);
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Global transitions handled above */

/* Smooth scrolling for all elements */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
*:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Improved selection styling */
::selection {
    background: rgba(37, 99, 235, 0.2);
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Global Grid Layouts --- */

/* Standard Responsive Grid (Services, etc.) */
.services-grid,
.features-grid,
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Bento Grid System (Testimonials, Advanced Layouts) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    margin-top: 40px;
}

/* Bento Grid Spans */
.bento-grid .span-2 {
    grid-column: span 2;
}

.bento-grid .span-3 {
    grid-column: span 3;
}

.bento-grid .span-4 {
    grid-column: span 4;
}

.bento-grid .span-6 {
    grid-column: span 6;
}

/* Responsive adjustments for Bento Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid .span-2,
    .bento-grid .span-3,
    .bento-grid .span-4 {
        grid-column: span 1;
    }

    .bento-grid .span-6 {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {

    .services-grid,
    .features-grid,
    .grid-3-col,
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid .span-2,
    .bento-grid .span-3,
    .bento-grid .span-4,
    .bento-grid .span-6 {
        grid-column: span 1;
    }
}

/* Page Header Styles */
/* Page Header Styles - DEPRECATED/LEGACY - Overridden by new Massive Hero */
.page-header {
    background: transparent;
    color: var(--text-dark);
    padding: 140px 0 100px;
    text-align: left;
    /* Changed from center */
    position: relative;
    overflow: hidden;
    border-bottom: none;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 10s ease-in-out infinite;
}


.page-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Glassmorphism Utilities */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
}

.glass-panel-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-primary);
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: var(--text-gray);
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* Heading Animations */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


@keyframes letterSpacing {
    from {
        letter-spacing: -0.05em;
    }

    to {
        letter-spacing: 0.02em;
    }
}

/* Animated Heading Classes - Only for Main Headings */
.hero-title.animated-heading,
.page-title.animated-heading,
.section-title:first-of-type.animated-heading {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title.animated-heading.animate-in,
.page-title.animated-heading.animate-in,
.section-title:first-of-type.animated-heading.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.hero-title.animated-heading.slide-left,
.page-title.animated-heading.slide-left,
.section-title:first-of-type.animated-heading.slide-left {
    transform: translateX(-50px);
}

.hero-title.animated-heading.slide-left.animate-in,
.page-title.animated-heading.slide-left.animate-in,
.section-title:first-of-type.animated-heading.slide-left.animate-in {
    transform: translateX(0);
}

.hero-title.animated-heading.slide-right,
.page-title.animated-heading.slide-right,
.section-title:first-of-type.animated-heading.slide-right {
    transform: translateX(50px);
}

.hero-title.animated-heading.slide-right.animate-in,
.page-title.animated-heading.slide-right.animate-in,
.section-title:first-of-type.animated-heading.slide-right.animate-in {
    transform: translateX(0);
}

.hero-title.animated-heading.scale-in,
.page-title.animated-heading.scale-in,
.section-title:first-of-type.animated-heading.scale-in {
    transform: scale(0.8);
}

.hero-title.animated-heading.scale-in.animate-in,
.page-title.animated-heading.scale-in.animate-in,
.section-title:first-of-type.animated-heading.scale-in.animate-in {
    transform: scale(1);
}

/* Gradient Text Effects */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 50%, var(--primary-blue) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.gradient-text:hover {
    animation-duration: 1.5s;
}


/* Letter Spacing Animation */
.letter-spacing-anim {
    animation: letterSpacing 0.8s ease-out forwards;
}

/* Staggered Animation Delays */
.animated-heading:nth-child(1) {
    animation-delay: 0.1s;
}

.animated-heading:nth-child(2) {
    animation-delay: 0.2s;
}

.animated-heading:nth-child(3) {
    animation-delay: 0.3s;
}

.animated-heading:nth-child(4) {
    animation-delay: 0.4s;
}

.animated-heading:nth-child(5) {
    animation-delay: 0.5s;
}

.animated-heading:nth-child(6) {
    animation-delay: 0.6s;
}

/* Hover Effects for Main Headings Only */
.hero-title.animated-heading:hover,
.page-title.animated-heading:hover,
.section-title:first-of-type.animated-heading:hover {
    transform: translateY(-2px);
    transition: transform 0.3s ease;
}

.gradient-text:hover {
    transform: translateY(-1px);
    transition: transform 0.3s ease;
}

/* Specific Heading Styles */
h1.animated-heading,
.page-title.animated-heading {
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2.animated-heading,
.section-title.animated-heading {
    font-weight: 600;
    letter-spacing: -0.01em;
    text-align: left;
    /* Enforce left alignment */
}

h3.animated-heading {
    font-weight: 500;
}

h4.animated-heading {
    font-weight: 500;
}

/* Enhanced SAP Training Page Styles */

/* Course Filter Section */
.course-filter-section {
    margin: 80px 0 60px;
    text-align: center;
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.search-box {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray);
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid var(--border-gray);
    border-radius: 25px;
    font-size: 16px;
    background: var(--white);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-gray);
    background: var(--white);
    color: var(--text-gray);
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Enhanced Course Cards */
.courses-catalog {
    margin: 60px 0;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-blue);
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 28px;
}

.course-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.course-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.course-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.course-meta>div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-gray);
}

.course-meta i {
    color: var(--primary-blue);
    width: 16px;
}


.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-tag {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.course-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: block;
}

.course-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Training Methodology */
.training-methodology {
    margin: 100px 0;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.training-methodology::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 70% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 10s ease-in-out infinite;
}

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

.methodology-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.methodology-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.methodology-card:hover::before {
    transform: scaleX(1);
}

.methodology-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-blue);
}

.methodology-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 32px;
}

.methodology-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.methodology-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Learning Paths */

/* Instructor Profiles */
.instructors-section {
    margin: 100px 0;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.instructors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.04) 0%, transparent 60%),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 40% 60%, rgba(37, 99, 235, 0.02) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 12s ease-in-out infinite;
}

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

.instructor-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.instructor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.instructor-card:hover::before {
    transform: scaleX(1);
}

.instructor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow);
    border-color: var(--primary-blue);
}

.instructor-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 40px;
}

.instructor-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.instructor-title {
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 20px;
}

.instructor-experience {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.experience-years,
.experience-field {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.instructor-certifications {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.cert-badge {
    background: var(--secondary-blue);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.instructor-bio {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 14px;
}

/* Success Stories */
.success-stories {
    margin: 100px 0;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.success-stories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(37, 99, 235, 0.03) 0%, transparent 60%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.02) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.01) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 15s ease-in-out infinite;
}

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

.story-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.story-card:hover::before {
    transform: scaleX(1);
}

.story-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.1);
}

.story-content {
    flex: 1;
}

.story-quote {
    font-size: 3rem;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 15px;
}

.story-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.story-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.story-author p {
    color: var(--primary-blue);
    font-size: 14px;
    font-weight: 500;
}

.story-metrics {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-gray);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.metric-label {
    font-size: 14px;
    color: var(--text-gray);
    font-weight: 500;
}

/* Navigation */
/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    /* Blends in */
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.9);
    /* Dark Glass - More visible */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

.navbar.scrolled .nav-container {
    padding: 0 24px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #FFFFFF;
    /* White Logo Text */
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

/* Clients Section */
.client-logo {
    flex-shrink: 0;
    width: 160px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
    filter: grayscale(100%);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-link {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: rgba(255, 255, 255, 0.9);
    /* White text for dark hero */
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.nav-link:hover,
.nav-link.active {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle white shine */
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: none;
    box-shadow: none;
}

.cta-btn {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--primary-blue);
    /* Solid Blue */
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.mobile-toggle {
    display: none;
    background: #FFFFFF;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    color: var(--text-dark);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-toggle:active {
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(2, 6, 23, 0.98), rgba(15, 23, 42, 0.95));
    background-size: 40px 40px, 40px 40px, 100% 100%;
    background-position: center center;
    background-color: #020617;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Hero Background */
.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    animation: fadeInBackground 1s ease-out 0.5s forwards;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 40%);
    filter: blur(80px);
    animation: mesh-move 20s ease-in-out infinite;
    mix-blend-mode: screen;
}

.hero-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg,
            rgba(37, 99, 235, 0.15) 0%,
            rgba(59, 130, 246, 0.1) 50%,
            rgba(147, 197, 253, 0.05) 100%);
    animation: float-shape 15s ease-in-out infinite;
    backdrop-filter: blur(1px);
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    right: 10%;
    animation-delay: 2s;
    border-radius: 20px;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.12) 0%,
            rgba(147, 197, 253, 0.08) 50%,
            rgba(219, 234, 254, 0.04) 100%);
}

.shape-3 {
    width: 160px;
    height: 160px;
    bottom: 20%;
    left: 15%;
    animation-delay: 4s;
    background: linear-gradient(135deg,
            rgba(147, 197, 253, 0.1) 0%,
            rgba(219, 234, 254, 0.06) 50%,
            rgba(248, 250, 252, 0.03) 100%);
}

.shape-4 {
    width: 60px;
    height: 60px;
    bottom: 10%;
    right: 20%;
    animation-delay: 6s;
    border-radius: 8px;
    background: linear-gradient(135deg,
            rgba(37, 99, 235, 0.08) 0%,
            rgba(59, 130, 246, 0.05) 100%);
}

.shape-5 {
    width: 100px;
    height: 100px;
    top: 50%;
    right: 5%;
    animation-delay: 8s;
    border-radius: 30px;
    background: linear-gradient(135deg,
            rgba(59, 130, 246, 0.06) 0%,
            rgba(147, 197, 253, 0.04) 100%);
}

@keyframes mesh-move {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10px, -10px) scale(1.02);
    }

    66% {
        transform: translate(-5px, 5px) scale(0.98);
    }
}

@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.05);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-30px) rotate(180deg) scale(1.1);
        opacity: 1;
    }

    75% {
        transform: translateY(-15px) rotate(270deg) scale(1.05);
        opacity: 0.8;
    }
}

/* Landing Section Initial State */
/* Landing Section Initial State - Animations Removed */
.hero .reveal-up {
    /* opacity: 0; */
    /* transform: translateY(30px); */
    /* transition: opacity 800ms ease-out, transform 800ms ease-out; */
    opacity: 1;
    transform: none;
}

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

.hero .reveal-up.d1 {
    transition-delay: 200ms;
}

.hero .reveal-up.d2 {
    transition-delay: 400ms;
}

.hero .reveal-up.d3 {
    transition-delay: 600ms;
}

.hero .reveal-up.d4 {
    transition-delay: 800ms;
}

.hero .reveal-up.d5 {
    transition-delay: 1000ms;
}

.hero .reveal-up.d6 {
    transition-delay: 1200ms;
}

/* Hero Background Animation - Remove duplicate rule */

/* Page Load Animation - Clean Minimal */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Single Elegant Ring */
.loader-circle {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-top-color: var(--primary-blue);
    animation: spinMinimal 1.5s linear infinite;
}

/* Center Logo - Breathing Effect */
.loader-core {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: breathe 3s ease-in-out infinite;
}

.loader-logo-img {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

/* Animations */
@keyframes spinMinimal {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes breathe {

    0%,
    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
        transform: scale(1.1);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Shapes Animation - Controlled by JavaScript */
.hero-shapes .shape {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-tag {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    color: #60A5FA;
    letter-spacing: 1px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
    animation: glow-pulse 3s infinite;
}

@keyframes glow-pulse {
    0% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
        border-color: rgba(59, 130, 246, 0.6);
    }

    100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
        border-color: rgba(59, 130, 246, 0.3);
    }
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    color: #FFFFFF;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    background-clip: text;
    /* Standard property */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 60px rgba(59, 130, 246, 0.4);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
}

.hero-subtitle {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 20px;
    color: #CBD5E1;
    /* Light Slate */
    margin-bottom: 50px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
    justify-content: center;
}

.feature-tag {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: rgba(15, 23, 42, 0.4);
    padding: 8px 16px;
    border-radius: 50px;
    /* Full pill for tech look */
    font-size: 14px;
    color: #94A3B8;
    font-weight: 500;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.4);
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.feature-tag:not(:last-child) {
    margin-right: 0;
    /* Removing spacing driven by content '•' */
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.primary-btn {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 50px;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3);
}

.primary-btn:hover {
    transform: translateY(-1px);
    background: var(--primary-dark);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
}


/* Work Section */
/* Work Section */
.work-section {
    padding: 80px 0;
    min-height: 50vh;
    /* Ensure it takes some height */
    position: relative;
    overflow: hidden;
    background: #0F172A;
    /* Deep Navy */
    /* background: linear-gradient(180deg, #0F172A 0%, #172554 100%); Optional gradient */
}


.work-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.work-card {
    width: 100%;
    max-width: 600px;
    /* Prevent it from being too wide */
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: var(--white);
    padding: 60px;
    border-radius: 0;
    /* Square */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    /* Generally looks better centered */
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.work-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.work-tag {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 16px;
    color: #60A5FA;
    /* Light Blue Accent */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.work-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 16px;
}

.work-text {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 40px;
    color: #E2E8F0;
}

.work-image {
    display: flex;
    justify-content: center;
    width: 100%;
}

.image-circle {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #60A5FA;
}

.image-circle:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: scale(1.1) rotate(5deg);
    border-color: #3B82F6;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.stats-card {
    background: rgba(30, 41, 59, 0.4);
    /* Dark Glass */
    padding: 60px 40px;
    /* Match work card padding more closely */
    border-radius: 0;
    /* Square */
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stats-card::before {
    /* Removed top bar for cleaner look, or make it subtle glow */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    /* Side accent instead? */
    height: 100%;
    background: linear-gradient(180deg, #3B82F6, #1E3A8A);
    display: none;
    /* Hide for now, prefer clean box */
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.stats-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #F8FAFC;
    /* White */
}

.stats-subtitle {
    color: #94A3B8;
    /* Slate */
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
}

/* Hide Stats Grid if unused or style it if present */
.stats-grid {
    display: none;
}

/* Recycled classes */
.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 14px;
}

.secondary-btn {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    color: #374151;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.secondary-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(59, 130, 246, 0.05);
    /* Pale Blue tint */
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* Services Section */
/* Services Split Layout */
/* Services Section */
/* Services Split Layout */
.services-section .container {
    max-width: 100%;
    padding: 0;
    /* Full width for split layout */
}

.services-split-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    /* ~71% Grid, ~29% Info */
    background: #0F172A;
    min-height: 640px;
    /* Ensure height for the grid */
}

/* Left Column: Services Grid */
.services-layout-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2x2 Grid */
    gap: 0;
    /* No gap for checkerboard */
}

.service-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    background: rgba(30, 41, 59, 0.6);
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.03), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

/* Checkerboard Pattern */
/* 1st and 4th cells are colored - New Age Gradient */
.service-card:nth-child(1),
.service-card:nth-child(4) {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 50%, #60a5fa 100%);
    border-color: rgba(96, 165, 250, 0.3);
}

/* 2nd and 3rd cells are dark glass - Deeper & Glossier */
.service-card:nth-child(2),
.service-card:nth-child(3) {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(16px);
    border-color: rgba(255, 255, 255, 0.08);
}

.service-card:hover {
    z-index: 10;
    transform: scale(1.05);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(59, 130, 246, 0.2);
    /* Outer Glow */
    border-color: rgba(96, 165, 250, 0.5);
}

/* Hover effects for Solid Blue cards - Electric Pop */
.service-card:nth-child(1):hover,
.service-card:nth-child(4):hover {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    box-shadow:
        0 25px 50px rgba(37, 99, 235, 0.3),
        0 0 40px rgba(96, 165, 250, 0.4);
}

/* Hover effects for Dark Glass cards - Deep Tech Blue */
.service-card:nth-child(2):hover,
.service-card:nth-child(3):hover {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    border-color: var(--primary-blue);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(59, 130, 246, 0.1);
}


/* Right Column: Info Section - Updated Background */
.services-layout-info {
    background: radial-gradient(circle at center, #0B1121 0%, #020617 100%);
    /* Deep darker space-like blue */
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.info-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    /* Constrain content width */
}

.visual-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.8);
    /* Enhanced text glow */
}

.visual-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 3rem;
}

.visual-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #3B82F6, #60A5FA, transparent);
    /* Faded edges */
    margin: 0 auto 2rem;
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

.tech-stats-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

/* Visual Background Elements - REMOVED GRID */
.visual-grid {
    display: none;
    /* Removed as requested */
}

.visual-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-cyan));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: pulse-glow 4s infinite alternate;
}

/* Stats Styling */
.tech-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.stat-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .services-split-layout {
        grid-template-columns: 1fr;
        /* Stack columns */
    }

    .services-layout-grid {
        grid-template-columns: 1fr;
        /* Stack cards on mobile */
    }

    .services-layout-info {
        order: -1;
        /* Title on top */
        padding: 60px 20px;
        min-height: auto;
    }

    .visual-title {
        font-size: 2.5rem;
    }
}

/* Add a subtle gradient glow on hover */
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* Removed duplicate service styles */

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 40px auto 30px;
    position: relative;
    z-index: 2;
    color: white;
    font-size: 32px;
    box-shadow:
        0 4px 16px rgba(37, 99, 235, 0.2),
        0 2px 8px rgba(37, 99, 235, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg,
            rgba(37, 99, 235, 0.1) 0%,
            rgba(59, 130, 246, 0.05) 50%,
            rgba(147, 197, 253, 0.02) 100%);
    border-radius: 18px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(37, 99, 235, 0.25),
        0 3px 10px rgba(37, 99, 235, 0.15);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-title {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    color: #FFFFFF;
    /* White Text */
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 32px;
    transition: all 0.3s ease;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    /* Tech Glow */
}

.service-card:hover .service-title {
    color: var(--primary-blue);
}

.service-description {
    font-family: 'Inter', sans-serif;
    color: #94A3B8;
    /* Light Slate Blue */
    line-height: 1.6;
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0;
    flex-grow: 1;
    margin-top: auto;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 32px 40px;
    transition: all 0.3s ease;
}

.service-card:hover .service-description {
    color: #E2E8F0;
    /* Brighter on hover */
}

/* Creative floating indicator */
.service-card::before {
    content: '→';
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    font-weight: bold;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    box-shadow: 0 4px 16px rgba(26, 35, 59, 0.2);
}

.service-card:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.service-features {
    list-style: none;
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 14px;
}

.service-features i {
    color: var(--primary-blue);
    margin-right: 12px;
    font-size: 14px;
}

.service-cta {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-cta:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #3B82F6, #60A5FA);
    /* Blue Gradient */
    border-radius: 2px;
}

.section-subtitle {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-gray);
    font-size: 18px;
}



.info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 16px;
    color: var(--text-gray);
    background: rgba(255, 255, 255, 0.8);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(26, 35, 59, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 59, 0.1);
    border-color: rgba(26, 35, 59, 0.2);
}

.info-item i {
    color: var(--primary-blue);
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, #020617 100%);
    color: var(--white);
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

.footer-section p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: var(--primary-blue);
    transform: translateX(4px);
}

.footer-section ul li a i {
    width: 16px;
    color: var(--primary-blue);
}

.footer-social {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-social a:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 59, 0.3);
}

/* Testimonials Section - Clean & Static */
.testimonial-container {
    height: auto;
}

.testimonial-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.testimonial-content p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}


.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Landing Stats (reuses stat styles) */
/* Landing Stats (New Modern Design) */
.landing-stats {
    padding: 100px 0;
    background: transparent;
    /* Remove flat blue */
    position: relative;
    overflow: hidden;
    margin-top: -50px;
    z-index: 10;
}

.stats-container-modern {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

/* Background effects for stats */
.stats-container-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
}

.stats-title h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 400px;
    background: linear-gradient(135deg, #FFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stats-grid {
    display: flex;
    gap: 60px;
    align-items: center;
}

.stat-item {
    text-align: center;
    position: relative;
}

/* Separator lines between stats */
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(148, 163, 184, 0.2), transparent);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--primary-blue);
    /* Electric blue numbers */
    margin-bottom: 8px;
    letter-spacing: -0.03em;
    line-height: 1;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.stat-label {
    font-family: 'Inter', sans-serif;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

/* Add subtle animation to stat numbers when they appear */
.stat-number.counted {
    animation: pulse 0.6s ease-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


/* About Section */
.about-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Animation Removed */
.about-section .about-content {
    opacity: 1;
    transform: none;
    /* animation: fadeInUp 0.8s ease-out 0.2s forwards; */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(37, 99, 235, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.about-description {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-gray);
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.7;
    font-weight: 300;
}

.about-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
}

.about-visual-card {
    width: 100%;
    max-width: 500px;
    height: 300px;
    border: 1px solid var(--border-gray);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-visual-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 35, 59, 0.15);
}

.about-visual-card i {
    font-size: 64px;
    margin-bottom: 10px;
}

.about-visual-card span {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 20px;
}

/* About Stats Section */
.about-stats-section {
    margin: 80px 0;
    position: relative;
    z-index: 2;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-stat-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-stat-item:hover::before {
    transform: scaleX(1);
}

.about-stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 35, 59, 0.15);
    border-color: rgba(26, 35, 59, 0.2);
}

.about-stat-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(26, 35, 59, 0.3);
    transition: all 0.3s ease;
}

.about-stat-item:hover .about-stat-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(26, 35, 59, 0.4);
}

.about-stat-number {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 36px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.about-stat-label {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-gray);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
}

/* About Features Section */
.about-features-section {
    margin: 80px 0;
    position: relative;
    z-index: 2;
}

.about-features-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: none;
    /* animation: fadeInUp 0.6s ease-out forwards; */
}

.about-feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-feature-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-feature-card:nth-child(3) {
    animation-delay: 0.3s;
}

.about-feature-card:nth-child(4) {
    animation-delay: 0.4s;
}

.about-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-feature-card:hover::before {
    transform: scaleX(1);
}

.about-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 35, 59, 0.15);
    border-color: rgba(26, 35, 59, 0.2);
}

.about-feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(26, 35, 59, 0.3);
    transition: all 0.3s ease;
}

.about-feature-card:hover .about-feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(26, 35, 59, 0.4);
}

.about-feature-title {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.about-feature-description {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 300;
}

/* Founder Section */
.founder-section {
    margin-bottom: 100px;
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.founder-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Animation Removed */
.founder-section .founder-content {
    opacity: 1;
    transform: none;
    /* animation: fadeInUp 0.8s ease-out 0.3s forwards; */
}

.founder-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(37, 99, 235, 0.01) 0%, transparent 50%);
    pointer-events: none;
}


.founder-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.founder-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.founder-heading .highlight {
    color: var(--primary-blue);
}

.founder-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--primary-blue);
    margin-top: 16px;
    border-radius: 2px;
}

.founder-details {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: center;
    min-height: 500px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
}

.founder-avatar {
    width: 400px;
    height: 500px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    box-shadow: none;
    border: none;
    background: transparent;
    justify-self: start;
    transition: all 0.3s ease;
}

.founder-avatar:hover {
    transform: scale(1.01);
}

.founder-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: grayscale(0.1) contrast(1.05) brightness(1.02);
    transition: all 0.4s ease;
    background: linear-gradient(135deg, rgba(26, 35, 59, 0.02), rgba(26, 35, 59, 0.05));
}

.founder-photo:hover {
    filter: grayscale(0) contrast(1.1) brightness(1.05);
    transform: scale(1.01);
}

/* Add subtle background blend */
.founder-avatar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(26, 35, 59, 0.03) 0%,
            transparent 30%,
            transparent 70%,
            rgba(26, 35, 59, 0.02) 100%);
    pointer-events: none;
    z-index: 1;
}

.founder-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(transparent, rgba(26, 35, 59, 0.05));
    pointer-events: none;
    z-index: 1;
}

.founder-photo-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 48px;
    transition: opacity 0.3s ease;
}

.founder-photo-placeholder span {
    font-size: 16px;
    margin-top: 16px;
    font-weight: 500;
}

/* Hide placeholder when photo is loaded */
.founder-avatar:has(.founder-photo[src]:not([src=""])) .founder-photo-placeholder {
    opacity: 0;
    pointer-events: none;
}

/* Fallback for browsers that don't support :has() */
.founder-photo[src]:not([src=""]):not([src="founder-headshot.jpg"])~.founder-photo-placeholder {
    opacity: 0;
    pointer-events: none;
}

/* Founder Quote Layout */
.founder-quote {
    position: relative;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.quote-mark {
    display: none;
}

.quote-content {
    position: relative;
    z-index: 2;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.founder-name {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.founder-title {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 24px;
    font-size: 18px;
    letter-spacing: 0.5px;
}

.founder-bio {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
}

.founder-mission {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
    font-size: 16px;
    font-weight: 400;
}

.founder-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.credential {
    background: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.credential:hover {
    background: var(--secondary-blue);
    transform: translateY(-1px);
}

/* Leadership CTA Button */
.leadership-cta {
    margin-top: 32px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-blue);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 35, 59, 0.3);
}

.cta-button:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 35, 59, 0.4);
}

.cta-button i {
    font-size: 18px;
}

/* Timeline Section */
.timeline-section {
    margin-bottom: 100px;
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.timeline-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: none;
    /* animation: fadeInUp 0.8s ease-out 0.4s forwards; */
}

/* Animation Removed */
.timeline-item {
    opacity: 1;
    transform: none;
    /* animation: slideInLeft 0.6s ease-out forwards; */
}

.timeline-item:nth-child(1) {
    animation-delay: 0.5s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.7s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

.timeline-item:nth-child(5) {
    animation-delay: 0.9s;
}

.timeline-item:nth-child(6) {
    animation-delay: 1.0s;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(37, 99, 235, 0.01) 0%, transparent 50%);
    pointer-events: none;
}

.timeline-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
    transform: translateX(-50%);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    margin-bottom: 48px;
    align-items: center;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item:nth-child(even) .timeline-content {
    direction: ltr;
}

.timeline-year {
    background: var(--primary-blue);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(26, 35, 59, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-gray);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.timeline-content p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Values Section */
.values-section {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
    margin-bottom: 100px;
}

.values-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: none;
    /* animation: fadeInUp 0.8s ease-out 0.5s forwards; */
}

/* Animation Removed */
.value-card {
    opacity: 1;
    transform: none;
    /* animation: fadeInUp 0.6s ease-out forwards; */
}

.value-card:nth-child(1) {
    animation-delay: 0.6s;
}

.value-card:nth-child(2) {
    animation-delay: 0.7s;
}

.value-card:nth-child(3) {
    animation-delay: 0.8s;
}

.value-card:nth-child(4) {
    animation-delay: 0.9s;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(37, 99, 235, 0.01) 0%, transparent 50%);
    pointer-events: none;
}


.values-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 60px;
    text-align: center;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

.values-heading::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(37, 99, 235, 0.5));
    border-radius: 2px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.value-card {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), rgba(37, 99, 235, 0.7));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), rgba(37, 99, 235, 0.8));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.value-card:hover .value-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.value-card:hover .value-icon::before {
    left: 100%;
}

.value-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
    letter-spacing: -0.3px;
}

.value-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

/* Trainings Section */
.trainings-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.trainings-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 85% 85%, rgba(59, 130, 246, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.01) 0%, transparent 40%);
    pointer-events: none;
    animation: gradientShift 20s ease-in-out infinite;
}

.training-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.category-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), #3b82f6);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3b82f6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.category-title {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.category-description {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 24px;
}

.category-features {
    list-style: none;
    margin-bottom: 24px;
}

.category-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-gray);
    font-size: 14px;
}

.category-features i {
    color: var(--primary-blue);
    margin-right: 12px;
    font-size: 14px;
}

.category-cta {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-cta:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Courses Preview */
.courses-preview {
    margin-bottom: 80px;
}

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

.course-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
    text-align: center;
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.course-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.course-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.course-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 14px;
}

.course-duration {
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 14px;
}

.course-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.course-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Training Benefits */
.training-benefits {
    margin-bottom: 80px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-gray);
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.benefit-item h3 {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(37, 99, 235, 0.05) 50%, rgba(37, 99, 235, 0.02) 100%);
    min-height: 80vh;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.contact-info p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 48px;
    font-size: 18px;
    max-width: 500px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-text h4 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.contact-text p {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.95);
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #1d4ed8 100%);
}

.contact-form h3 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 36px;
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    color: var(--text-dark);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 1);
}

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

.submit-btn {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1d4ed8 100%);
    color: white;
    padding: 18px 36px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 1;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    font-weight: 500;
}

/* Form Message Styles */
.form-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    animation: slideInDown 0.3s ease-out;
}

.form-message.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.form-message i {
    font-size: 16px;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Why Choose Section */
.why-choose-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-item {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
}

.why-choose-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.why-choose-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #3b82f6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.why-choose-item h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.why-choose-item p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 14px;
}

/* Clients Carousel Section */
.clients-section {
    padding: 100px 0 0 0;
    background: linear-gradient(135deg,
            rgba(248, 250, 252, 0.8) 0%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(248, 250, 252, 0.8) 100%);
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.clients-section .section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.clients-section .section-title {
    color: var(--bg-dark) !important;
    margin-bottom: 16px;
    text-align: center !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
}

.clients-section .section-subtitle {
    color: #94A3B8;
    font-size: 1.1rem;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(37, 99, 235, 0.2) 50%,
            transparent 100%);
}

.clients-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 50px;
}

.clients-track {
    display: flex;
    animation: scrollClients 60s linear infinite;
    gap: 40px;
    align-items: center;
    padding: 20px 0;
    width: max-content;
}

/* Old client-logo styles removed/consolidated */

.client-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(37, 99, 235, 0.05) 50%,
            transparent 100%);
    transition: all 0.6s ease;
}

.client-logo:hover::before {
    left: 100%;
}

.client-logo:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(37, 99, 235, 0.12),
        0 4px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(37, 99, 235, 0.15);
}

.client-logo img {
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.client-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.05);
}

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

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

/* Testimonials Carousel Section */
/* Testimonials Carousel Section */
.testimonials-section {
    padding: 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    /* Deep Navy Gradient */
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-section .section-title {
    color: #FFFFFF;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.testimonials-section .section-subtitle {
    color: #94A3B8;
    /* Slate 400 */
}

.testimonials-tag {
    background: rgba(59, 130, 246, 0.1);
    color: #60A5FA;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(4px);
}

/* Split Layout Wrapper (Full Width) */
.testimonials-layout {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: stretch;
    /* Stretch to fill height if needed */
}

/* Left Text Column (15% - Sidebar) */
.testimonials-text {
    width: 15%;
    position: relative;
    padding: 60px 0 40px 0;
    /* Add top padding to position it nicely, but closer to top */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Move from center to top */
    align-items: center;
    background: #0F172A;
    /* Match section bg */
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    /* Separator */
}

/* Vertical Text */
.testimonials-text .section-title {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 80px;
    margin: 0;
    white-space: nowrap;
    text-align: center;
    line-height: 1;
    letter-spacing: 4px;
    /* Spaced out for vertical look */
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.testimonials-text .section-subtitle {
    /* Hide subtitle in vertical sidebar mode or make it small/rotated too. 
       Usually vertical headers standardly stand alone. 
       I'll hide it for the clean sidebar look unless user specified otherwise. */
    display: none;
}

/* Right Grid Column (85%) - Bento Grid Testimonials */
.testimonials-grid.bento-grid {
    width: 85%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    /* Zero gap for box look */
    margin: 0;
    padding: 0;
    grid-auto-rows: minmax(260px, auto);
    border: none;
    /* Borders handled by cells */
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive Split */
@media (max-width: 1024px) {
    .testimonials-layout {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .testimonials-text {
        width: 100%;
        border-right: none;
        padding: 0;
        align-items: center;
    }

    /* Reset vertical text for mobile */
    .testimonials-text .section-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 42px;
        margin-bottom: 20px;
        letter-spacing: normal;
    }

    .testimonials-text .section-subtitle {
        display: block;
        /* Show subtitle on mobile */
        text-align: center;
    }

    .testimonials-grid.bento-grid {
        width: 100%;
        border-left: none;
        border: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* 3D Flip Container */
.testimonial-container {
    perspective: 1000px;
    border-radius: 0;
    /* Square corners */
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Grid lines */
    background: rgba(15, 23, 42, 0.2);
    /* Base */
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s linear 0s;
    /* Z-index instant */
    position: relative;
    z-index: 1;
}

.testimonial-container:hover {
    z-index: 10;
    transform: scale(1.05);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(59, 130, 246, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0s linear 0s;
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 0;
}

.testimonial-inner.flipped {
    transform: rotateY(180deg);
}

/* Card Spans for 3-2-1 Layout */
.span-2 {
    grid-column: span 2;
    /* 3 cards in row 1 */
}

.span-3 {
    grid-column: span 3;
    /* 2 cards in row 2 */
}

.span-6 {
    grid-column: span 6;
    /* 1 card in row 3 */
}

/* Tablet: Switch to 2-column grid (3 rows of 2) */
@media (max-width: 1024px) {
    .testimonials-grid.bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .span-2,
    .span-3,
    .span-6 {
        grid-column: span 1;
    }
}

/* Mobile: 1 Column */
@media (max-width: 600px) {
    .testimonials-grid.bento-grid {
        grid-template-columns: 1fr;
    }
}

/* Bento Card Faces */
.testimonial-card {
    border-radius: 0;
    /* Square */
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    box-shadow: none;
    /* Shadow on container hover */
    backface-visibility: hidden;
    /* 3D properties */
    width: 100%;
    height: 100%;
}

.testimonial-card.front {
    position: relative;
    /* Front dictates height */
    z-index: 2;
    transform: rotateY(0deg);
}

.testimonial-card.back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
    z-index: 1;
}


/* Hover Effect - Lift the WHOLE Inner container */
.testimonial-container:hover .testimonial-inner {
    transform: translateY(-5px) rotateY(0deg);
    /* Maintain rotation state? Tricky with toggle. */
    /* If we just translate, it overrides the rotate if not careful. */
    /* Let's apply hover lift to the inner, but we need to respect the flipped state. */
    /* Simplified: Just shadow on hover for now, or lift via margin? */
    /* Better: Apply lift to container? No, 3D context. */
    /* Let's skip complex translate hover for 3D flip cards to avoid glitches, or just use box-shadow. */
}

/* Re-apply rotation on hover if flipped? CSS doesn't know JS state easily without :has or JS class. */
/* We already toggle .flipped class. */


/* Adjust Card Styles */
.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.company-logo {
    height: auto;
    width: auto;
    margin-bottom: 0;
}

.logo-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 16px;
    margin-bottom: 0;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Card Variants - Apply to FACES */
/* Primary Blue Gradient (Featured) - Card 1 */
.card-blue {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
}

/* Deep Navy (Dark Solid) - Cards 3 & 5 */
.card-navy,
.card-dark {
    background: #1E293B;
    /* Slate 800 */
    color: white;
}

/* Dark Glass (Standard) - Cards 2 & 4 */
.card-glass {
    background: rgba(255, 255, 255, 0.05);
    /* Very subtle glass */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #F8FAFC;
}

/* Featured card (Blue) gets a quote icon overlay */
.card-blue::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 40px;
    font-family: serif;
    font-size: 120px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.testimonial-author h4 {
    font-size: 15px;
    font-weight: 600;
    color: inherit;
    /* Inherit form card color */
    margin-bottom: 2px;
}

.testimonial-author p {
    font-size: 13px;
    opacity: 0.7;
    color: inherit;
    font-weight: 400;
}

.testimonial-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    color: inherit;
}

.testimonial-content p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
    color: inherit;
    font-style: normal;
    /* Remove italic */
    margin-bottom: 0;
    flex-grow: 1;
    /* Ensure text fills space */
}

.logo-placeholder.google,
.logo-placeholder.amazon,
.logo-placeholder.netflix,
.logo-placeholder.ibm,
.logo-placeholder.meta,
.logo-placeholder.aws,
.logo-placeholder.google-cloud {
    color: #FFFFFF;
    /* White for dark theme */
    background: none;
}


.trainings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.training-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.training-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.training-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 22px;
    margin-bottom: 16px;
}

.training-points {
    list-style: none;
    margin-top: 12px;
    display: grid;
    gap: 8px;
    color: var(--text-gray);
}

.training-points i {
    color: var(--primary-blue);
    margin-right: 8px;
}

.courses-preview {
    margin-top: 10px;
}

.courses-heading {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 14px;
    padding: 20px;
    transition: all 0.3s;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.course-code {
    display: inline-block;
    background: var(--primary-blue);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.course-desc {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.course-meta {
    display: flex;
    gap: 10px;
    color: var(--text-gray);
    font-size: 12px;
}

/* Mobile-First Responsive Design */

/* Touch-friendly improvements */
@media (max-width: 768px) {

    /* Ensure minimum touch target sizes */
    button,
    a,
    .service-card,
    .course-card,
    .testimonial-card,
    .benefit-item,
    .why-choose-item {
        min-height: 44px;
        min-width: 44px;
    }

    /* Improve button spacing */
    .primary-btn,
    .secondary-btn,
    .cta-btn,
    .submit-btn,
    .course-btn,
    .category-cta,
    .service-cta {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 16px;
        border-radius: 8px;
    }

    /* Better form inputs for mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 48px;
        font-size: 16px;
        /* Prevents zoom on iOS */
        border-radius: 8px;
    }

    /* Mobile Navigation Styles */
    .navbar {
        padding: 12px 0;
    }

    .nav-container {
        padding: 0 16px;
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 16px;
        margin: 8px 16px 0;
        padding: 20px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        flex-direction: column;
        gap: 8px;
        z-index: 1000;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.active {
        display: flex;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px;
        border-radius: 12px;
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        transition: all 0.2s ease;
        background: transparent;
        color: var(--text-gray);
    }

    .nav-link:hover {
        background: rgba(37, 99, 235, 0.1);
        color: var(--primary-blue);
        transform: none;
        box-shadow: none;
    }

    .nav-link.active {
        background: var(--secondary-blue);
        color: white;
        transform: none;
        box-shadow: none;
    }

    .mobile-toggle {
        min-height: 48px;
        min-width: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.9);
        border: 1px solid rgba(37, 99, 235, 0.1);
        border-radius: 12px;
        font-size: 18px;
        color: var(--text-gray);
        transition: all 0.2s ease;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .mobile-toggle:hover {
        background: rgba(255, 255, 255, 1);
        color: var(--primary-blue);
        transform: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    /* Mobile Navigation Backdrop */
    .nav-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    /* Prevent body scroll when mobile menu is open */
    body.mobile-menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Mobile Heading Animations - Main Headings Only */
    .hero-title.animated-heading,
    .page-title.animated-heading,
    .section-title:first-of-type.animated-heading {
        transition-duration: 0.6s;
    }

    .gradient-text {
        animation-duration: 4s;
    }

    /* Reduce animation intensity on mobile for main headings */
    .hero-title.animated-heading:hover,
    .page-title.animated-heading:hover,
    .section-title:first-of-type.animated-heading:hover {
        transform: translateY(-1px);
    }

    .gradient-text:hover {
        transform: translateY(-0.5px);
    }

    /* SAP Training Mobile Styles */
    .course-filter-section {
        margin: 60px 0 40px;
    }

    .filter-controls {
        gap: 20px;
    }

    .search-box {
        max-width: 100%;
    }

    .search-box input {
        padding: 12px 12px 12px 40px;
        font-size: 15px;
    }

    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card {
        padding: 25px 20px;
    }

    .course-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .course-card h3 {
        font-size: 1.2rem;
    }


    .methodology-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .methodology-card {
        padding: 30px 20px;
    }

    .methodology-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
    }

    .paths-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .learning-path {
        padding: 25px 20px;
    }

    .instructors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .instructor-card {
        padding: 25px 20px;
    }

    .instructor-avatar {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-card {
        padding: 25px 20px;
    }

    .story-quote {
        font-size: 2.5rem;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    /* Responsive logo */
    .logo {
        height: 36px;
    }

    .logo-img {
        height: 36px;
        max-width: 150px;
    }

    /* Better carousel controls */
    .carousel-btn {
        min-height: 48px;
        min-width: 48px;
    }

    /* Improve social media buttons */
    .footer-social a {
        min-height: 48px;
        min-width: 48px;
    }

    /* Better spacing for mobile */
    .container {
        padding: 0 16px;
    }

    .nav-container {
        padding: 0 16px;
    }

    /* Improve text readability on mobile */
    body {
        font-size: 16px;
        line-height: 1.6;
    }

    /* Better focus states for accessibility */
    *:focus {
        outline: 3px solid var(--primary-blue);
        outline-offset: 2px;
    }

    /* Improve scroll behavior */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Better image handling */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Improve table responsiveness */
    table {
        width: 100%;
        overflow-x: auto;
        display: block;
        white-space: nowrap;
    }
}

/* High DPI display optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .service-icon,
    .course-icon,
    .benefit-icon,
    .why-choose-icon,
    .contact-icon {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .page-header {
        padding: 80px 0 60px;
    }

    .page-title {
        font-size: 2rem;
    }
}

/* Base mobile styles (320px and up) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    /* Small Mobile Navigation Styles */
    .navbar {
        padding: 10px 0;
    }

    .nav-menu {
        margin: 6px 15px 0;
        padding: 16px;
        border-radius: 12px;
        gap: 6px;
    }

    .nav-link {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 15px;
        border-radius: 10px;
    }

    .mobile-toggle {
        min-height: 44px;
        min-width: 44px;
        font-size: 16px;
        border-radius: 10px;
    }

    .logo {
        height: 32px;
    }

    .logo-img {
        height: 32px;
        max-width: 120px;
    }

    .hero {
        min-height: 100vh;
        padding: 100px 0 40px;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .hero-features {
        gap: 8px;
        margin-bottom: 30px;
    }

    .feature-tag {
        font-size: 13px;
    }

    .feature-tag:not(:last-child)::after {
        margin-left: 6px;
    }

    .page-header {
        padding: 100px 0 60px;
    }

    .page-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .page-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }

    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .about-description {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 16px;
    }

    .about-features-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-feature-card {
        padding: 25px 20px;
    }

    .about-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about-feature-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .about-feature-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .founder-section {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .founder-heading {
        font-size: 1.5rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .founder-details {
        flex-direction: column;
        gap: 30px;
    }

    .founder-avatar {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }

    .founder-photo {
        width: 120px;
        height: 120px;
    }

    .founder-name {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .founder-title {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .founder-bio,
    .founder-mission {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .founder-credentials {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 20px;
    }

    .credential {
        font-size: 12px;
        padding: 6px 12px;
    }

    .timeline-section {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .timeline-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-item {
        margin-bottom: 30px;
    }

    .timeline-year {
        font-size: 1rem;
        padding: 8px 16px;
        margin-bottom: 12px;
    }

    .timeline-content h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .timeline-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .values-section {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .values-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 25px 20px;
        text-align: center;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin: 0 auto 16px;
    }

    .value-card h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .value-card p {
        font-size: 14px;
        line-height: 1.5;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .service-card:nth-child(4) {
        grid-column: 1;
        justify-self: stretch;
        max-width: none;
    }

    .service-card {
        padding: 25px 20px;
        min-height: auto;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .service-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .service-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .stats-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .stats-title h2 {
        font-size: 32px;
    }

    .stats-grid {
        gap: 40px;
    }

    .stat-number {
        font-size: 36px;
    }

    .stat-label {
        font-size: 14px;
    }

    .work-section .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .work-card {
        padding: 40px 25px;
    }

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

    .work-text {
        font-size: 14px;
    }

    .image-circle {
        width: 80px;
        height: 80px;
        font-size: 32px;
    }

    .stats-card {
        padding: 30px 25px;
    }

    .stats-title {
        font-size: 24px;
    }

    .stats-subtitle {
        font-size: 14px;
    }

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

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

    .footer-section ul li a {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
        gap: 12px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form-container {
        padding: 25px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 16px 24px;
        font-size: 15px;
    }

    .contact-item {
        padding: 20px;
        gap: 16px;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .contact-text h4 {
        font-size: 16px;
    }

    .contact-text p {
        font-size: 13px;
    }

    .testimonial-card {
        flex: 0 0 280px;
        padding: 25px 20px;
    }

    .testimonials-track {
        gap: 15px;
    }

    .carousel-controls {
        margin-top: 25px;
        gap: 15px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .clients-track {
        gap: 20px;
    }

    .client-logo {
        width: 120px;
        height: 65px;
    }

    .client-logo img {
        max-width: 100px;
        max-height: 55px;
    }

    .training-categories {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .category-card {
        padding: 25px 20px;
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 16px;
    }

    .category-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .category-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .course-card {
        padding: 20px;
    }

    .course-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .course-card h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .course-card p {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .course-duration {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .course-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-item {
        padding: 20px;
    }

    .benefit-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .benefit-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .benefit-item p {
        font-size: 13px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .why-choose-item {
        padding: 20px;
    }

    .why-choose-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
        margin-bottom: 12px;
    }

    .why-choose-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .why-choose-item p {
        font-size: 13px;
    }

    .founder-details {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
        padding: 0;
    }

    .founder-avatar {
        width: 250px;
        height: 300px;
        justify-self: center;
    }

    .founder-heading {
        font-size: 22px;
        text-align: center;
    }

    .founder-name {
        font-size: 20px;
    }

    .founder-title {
        font-size: 14px;
    }

    .founder-bio,
    .founder-mission {
        font-size: 13px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 13px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 15px;
        direction: ltr !important;
    }

    .timeline-item:nth-child(even) {
        direction: ltr !important;
    }

    .timeline-year {
        width: 50px;
        height: 50px;
        font-size: 10px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 13px;
    }

    .values-section {
        padding: 50px 0;
        margin-bottom: 50px;
    }

    .values-heading {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .value-card {
        padding: 25px 20px;
    }

    .value-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .value-card h4 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .value-card p {
        font-size: 13px;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-feature-card {
        padding: 25px 20px;
    }

    .about-feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about-feature-title {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .about-feature-description {
        font-size: 13px;
    }

    .about-features-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-stat-item {
        padding: 25px 20px;
    }

    .about-stat-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about-stat-number {
        font-size: 24px;
    }

    .about-stat-label {
        font-size: 13px;
    }

    .about-visual-card {
        height: 200px;
        gap: 15px;
    }

    .about-visual-card i {
        font-size: 48px;
    }

    .about-visual-card span {
        font-size: 16px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
        padding: 14px 24px;
        font-size: 14px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
    }

    /* Smaller logo for mobile */
    .logo {
        height: 32px;
    }

    .logo-img {
        height: 32px;
        max-width: 120px;
    }

    /* Responsive loader logo */
    .loader-logo-img {
        height: 32px;
        max-width: 150px;
    }
}

/* Small tablets and large phones (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Medium Mobile Navigation Styles */
    .navbar {
        padding: 14px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .nav-menu {
        margin: 8px 20px 0;
        padding: 24px;
        border-radius: 16px;
        gap: 10px;
    }

    .nav-link {
        min-height: 50px;
        padding: 14px 24px;
        font-size: 16px;
        border-radius: 14px;
    }

    .mobile-toggle {
        min-height: 50px;
        min-width: 50px;
        font-size: 20px;
        border-radius: 14px;
    }

    .logo {
        height: 40px;
    }

    .logo-img {
        height: 40px;
        max-width: 160px;
    }

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

    .hero-subtitle {
        font-size: 16px;
    }

    .page-header {
        padding: 120px 0 80px;
    }

    .page-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .page-subtitle {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .about-section {
        padding: 80px 0;
    }

    .about-title {
        font-size: 2.2rem;
        margin-bottom: 25px;
    }

    .about-description {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 18px;
    }

    .about-features-title {
        font-size: 2.2rem;
        margin-bottom: 50px;
    }

    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-feature-card {
        padding: 35px 25px;
    }

    .about-feature-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 20px;
    }

    .about-feature-title {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .about-feature-description {
        font-size: 15px;
        line-height: 1.5;
    }

    .founder-section {
        padding: 80px 0;
        margin-bottom: 80px;
    }

    .founder-heading {
        font-size: 1.8rem;
        margin-bottom: 40px;
        text-align: center;
    }

    .founder-details {
        flex-direction: column;
        gap: 40px;
    }

    .founder-avatar {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }

    .founder-photo {
        width: 150px;
        height: 150px;
    }

    .founder-name {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .founder-title {
        font-size: 1rem;
        margin-bottom: 18px;
    }

    .founder-bio,
    .founder-mission {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .founder-credentials {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 25px;
    }

    .credential {
        font-size: 13px;
        padding: 8px 14px;
    }

    .timeline-section {
        padding: 80px 0;
        margin-bottom: 80px;
    }

    .timeline-heading {
        font-size: 2.2rem;
        margin-bottom: 50px;
        text-align: center;
    }

    .timeline {
        padding-left: 30px;
    }

    .timeline-item {
        margin-bottom: 40px;
    }

    .timeline-year {
        font-size: 1.1rem;
        padding: 10px 18px;
        margin-bottom: 15px;
    }

    .timeline-content h4 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .timeline-content p {
        font-size: 15px;
        line-height: 1.5;
    }

    .values-section {
        padding: 80px 0;
        margin-bottom: 80px;
    }

    .values-heading {
        font-size: 2.2rem;
        margin-bottom: 50px;
        text-align: center;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .value-card {
        padding: 35px 25px;
        text-align: center;
    }

    .value-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin: 0 auto 20px;
    }

    .value-card h4 {
        font-size: 1.2rem;
        margin-bottom: 14px;
    }

    .value-card p {
        font-size: 15px;
        line-height: 1.5;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 20px;
    }

    .service-title {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .service-description {
        font-size: 15px;
    }

    .stats-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .stats-title h2 {
        font-size: 40px;
    }

    .stats-grid {
        gap: 60px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 15px;
    }

    .work-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .work-card {
        padding: 50px 35px;
    }

    .work-title {
        font-size: 48px;
    }

    .work-text {
        font-size: 16px;
    }

    .image-circle {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .stats-card {
        padding: 40px 30px;
    }

    .stats-title {
        font-size: 28px;
    }

    .stats-subtitle {
        font-size: 16px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form-container {
        padding: 40px 30px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 25px;
        gap: 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .contact-text h4 {
        font-size: 18px;
    }

    .contact-text p {
        font-size: 14px;
    }

    .testimonial-card {
        flex: 0 0 350px;
        padding: 35px 25px;
    }

    .testimonials-track {
        gap: 25px;
    }

    .carousel-controls {
        margin-top: 35px;
        gap: 20px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .clients-track {
        gap: 30px;
    }

    .client-logo {
        width: 140px;
        height: 75px;
    }

    .client-logo img {
        max-width: 120px;
        max-height: 65px;
    }

    .training-categories {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .category-card {
        padding: 35px 30px;
    }

    .category-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 20px;
    }

    .category-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .category-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .course-card {
        padding: 25px;
    }

    .course-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 16px;
    }

    .course-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .course-card p {
        font-size: 14px;
        margin-bottom: 14px;
    }

    .course-duration {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .course-btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .benefit-item {
        padding: 25px;
    }

    .benefit-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 16px;
    }

    .benefit-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .benefit-item p {
        font-size: 14px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .why-choose-item {
        padding: 25px;
    }

    .why-choose-icon {
        width: 55px;
        height: 55px;
        font-size: 22px;
        margin-bottom: 16px;
    }

    .why-choose-item h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .why-choose-item p {
        font-size: 14px;
    }

    .founder-details {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding: 0;
    }

    .founder-avatar {
        width: 300px;
        height: 375px;
        justify-self: center;
    }

    .founder-heading {
        font-size: 28px;
        text-align: center;
    }

    .founder-name {
        font-size: 24px;
    }

    .founder-title {
        font-size: 16px;
    }

    .founder-bio,
    .founder-mission {
        font-size: 15px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 14px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        grid-template-columns: auto 1fr;
        gap: 20px;
        direction: ltr !important;
    }

    .timeline-item:nth-child(even) {
        direction: ltr !important;
    }

    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 12px;
    }

    .timeline-content {
        padding: 24px;
    }

    .timeline-content h4 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .values-section {
        padding: 60px 0;
        margin-bottom: 60px;
    }

    .values-heading {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .value-card {
        padding: 35px 25px;
    }

    .value-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 20px;
    }

    .value-card h4 {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .value-card p {
        font-size: 15px;
    }

    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-feature-card {
        padding: 35px 25px;
    }

    .about-feature-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 20px;
    }

    .about-feature-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about-feature-description {
        font-size: 15px;
    }

    .about-features-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .about-stat-item {
        padding: 35px 25px;
    }

    .about-stat-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
        margin-bottom: 20px;
    }

    .about-stat-number {
        font-size: 32px;
    }

    .about-stat-label {
        font-size: 15px;
    }

    .about-visual-card {
        height: 250px;
        gap: 20px;
    }

    .about-visual-card i {
        font-size: 56px;
    }

    .about-visual-card span {
        font-size: 18px;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 16px 32px;
        font-size: 15px;
    }

    .hero-cta {
        flex-direction: column;
        gap: 16px;
    }
}

/* Tablets (769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        gap: 20px;
    }

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

    .mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .page-title {
        font-size: 2.8rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .service-card:nth-child(4) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 400px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 22px;
    }

    .service-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .service-description {
        font-size: 16px;
    }

    .landing-stats .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .landing-stats .stat-card {
        padding: 40px 30px;
    }

    .landing-stats .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 22px;
    }

    .landing-stats .stat-number {
        font-size: 42px;
    }

    .landing-stats .stat-label {
        font-size: 15px;
    }

    .work-section .container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .work-card {
        padding: 60px 40px;
    }

    .work-title {
        font-size: 56px;
    }

    .work-text {
        font-size: 16px;
    }

    .image-circle {
        width: 110px;
        height: 110px;
        font-size: 44px;
    }

    .stats-card {
        padding: 40px 35px;
    }

    .stats-title {
        font-size: 30px;
    }

    .stats-subtitle {
        font-size: 16px;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .contact-form-container {
        padding: 45px 35px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-item {
        padding: 24px;
        gap: 24px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .contact-text h4 {
        font-size: 20px;
    }

    .contact-text p {
        font-size: 15px;
    }

    .testimonial-card {
        flex: 0 0 380px;
        padding: 40px 30px;
    }

    .testimonials-track {
        gap: 30px;
    }

    .carousel-controls {
        margin-top: 40px;
        gap: 20px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .clients-track {
        gap: 35px;
    }

    .client-logo {
        width: 150px;
        height: 80px;
    }

    .client-logo img {
        max-width: 125px;
        max-height: 70px;
    }

    .training-categories {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .category-card {
        padding: 40px 35px;
    }

    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 24px;
    }

    .category-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .category-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .course-card {
        padding: 30px 25px;
    }

    .course-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .course-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .course-card p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .course-duration {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .course-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .benefit-item {
        padding: 30px 25px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .benefit-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .benefit-item p {
        font-size: 15px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .why-choose-item {
        padding: 30px 25px;
    }

    .why-choose-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .why-choose-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .why-choose-item p {
        font-size: 15px;
    }

    .founder-details {
        grid-template-columns: 1fr 2fr;
        gap: 60px;
        align-items: center;
    }

    .founder-avatar {
        width: 350px;
        height: 450px;
        justify-self: start;
    }

    .founder-heading {
        font-size: 36px;
        text-align: left;
    }

    .founder-name {
        font-size: 28px;
    }

    .founder-title {
        font-size: 17px;
    }

    .founder-bio,
    .founder-mission {
        font-size: 15px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 15px;
    }

    .timeline::before {
        left: 50%;
    }

    .timeline-item {
        grid-template-columns: 1fr auto 1fr;
        gap: 32px;
        align-items: center;
    }

    .timeline-item:nth-child(even) {
        direction: rtl;
    }

    .timeline-item:nth-child(even) .timeline-content {
        direction: ltr;
    }

    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 13px;
    }

    .timeline-content {
        padding: 24px;
    }

    .timeline-content h4 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 15px;
    }

    .values-section {
        padding: 80px 0;
        margin-bottom: 80px;
    }

    .values-heading {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .value-card {
        padding: 40px 30px;
    }

    .value-icon {
        width: 75px;
        height: 75px;
        font-size: 30px;
        margin-bottom: 24px;
    }

    .value-card h4 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .value-card p {
        font-size: 16px;
    }

    .about-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-feature-card {
        padding: 40px 30px;
    }

    .about-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 24px;
    }

    .about-feature-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about-feature-description {
        font-size: 16px;
    }

    .about-features-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .about-stat-item {
        padding: 40px 30px;
    }

    .about-stat-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 24px;
    }

    .about-stat-number {
        font-size: 36px;
    }

    .about-stat-label {
        font-size: 16px;
    }

    .about-visual-card {
        height: 280px;
        gap: 20px;
    }

    .about-visual-card i {
        font-size: 60px;
    }

    .about-visual-card span {
        font-size: 20px;
    }

    .primary-btn,
    .secondary-btn {
        width: auto;
        max-width: none;
        text-align: center;
        padding: 18px 40px;
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: row;
        gap: 20px;
    }
}

/* Desktop and larger screens (1025px and up) */
@media (min-width: 1025px) {
    .nav-menu {
        display: flex;
    }

    .mobile-toggle {
        display: none;
    }

    .hero-title {
        font-size: 64px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .page-title {
        font-size: 3rem;
    }

    .page-subtitle {
        font-size: 1.2rem;
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .service-card {
        padding: 40px 30px;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 24px;
    }

    .service-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .service-description {
        font-size: 16px;
    }

    .landing-stats .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .landing-stats .stat-card {
        padding: 50px 30px;
    }

    .landing-stats .stat-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 24px;
    }

    .landing-stats .stat-number {
        font-size: 48px;
    }

    .landing-stats .stat-label {
        font-size: 16px;
    }

    .work-section .container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .work-card {
        padding: 60px;
    }

    .work-title {
        font-size: 64px;
    }

    .work-text {
        font-size: 16px;
    }

    .image-circle {
        width: 120px;
        height: 120px;
        font-size: 48px;
    }

    .stats-card {
        padding: 40px;
    }

    .stats-title {
        font-size: 32px;
    }

    .stats-subtitle {
        font-size: 16px;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }

    .contact-form-container {
        padding: 48px;
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .contact-item {
        padding: 24px;
        gap: 24px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .contact-text h4 {
        font-size: 20px;
    }

    .contact-text p {
        font-size: 15px;
    }

    .testimonial-card {
        flex: 0 0 400px;
        padding: 40px;
    }

    .testimonials-track {
        gap: 30px;
    }

    .carousel-controls {
        margin-top: 40px;
        gap: 20px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .clients-track {
        gap: 40px;
    }

    .client-logo {
        width: 160px;
        height: 90px;
    }

    .client-logo img {
        max-width: 130px;
        max-height: 70px;
    }

    .training-categories {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .category-card {
        padding: 40px;
    }

    .category-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 24px;
    }

    .category-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .category-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }

    .course-card {
        padding: 30px;
    }

    .course-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .course-card h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .course-card p {
        font-size: 15px;
        margin-bottom: 16px;
    }

    .course-duration {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .course-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .benefit-item {
        padding: 30px;
    }

    .benefit-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .benefit-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .benefit-item p {
        font-size: 15px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

    .why-choose-item {
        padding: 30px;
    }

    .why-choose-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .why-choose-item h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .why-choose-item p {
        font-size: 15px;
    }

    .founder-details {
        grid-template-columns: 1fr 2fr;
        gap: 80px;
        align-items: center;
    }

    .founder-avatar {
        width: 400px;
        height: 500px;
        justify-self: start;
    }

    .founder-heading {
        font-size: 42px;
        text-align: left;
    }

    .founder-name {
        font-size: 32px;
    }

    .founder-title {
        font-size: 18px;
    }

    .founder-bio,
    .founder-mission {
        font-size: 16px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 16px;
    }

    .timeline::before {
        left: 50%;
    }

    .timeline-item {
        grid-template-columns: 1fr auto 1fr;
        gap: 32px;
        align-items: center;
    }

    .timeline-item:nth-child(even) {
        direction: rtl;
    }

    .timeline-item:nth-child(even) .timeline-content {
        direction: ltr;
    }

    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 14px;
    }

    .timeline-content {
        padding: 24px;
    }

    .timeline-content h4 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 15px;
    }

    .values-section {
        padding: 100px 0;
        margin-bottom: 100px;
    }

    .values-heading {
        font-size: 48px;
        margin-bottom: 60px;
    }

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

    .value-card {
        padding: 40px 30px;
    }

    .value-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 24px;
    }

    .value-card h4 {
        font-size: 22px;
        margin-bottom: 16px;
    }

    .value-card p {
        font-size: 16px;
    }

    .about-features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }

    .about-feature-card {
        padding: 40px 30px;
    }

    .about-feature-icon {
        width: 70px;
        height: 70px;
        font-size: 28px;
        margin-bottom: 24px;
    }

    .about-feature-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .about-feature-description {
        font-size: 16px;
    }

    .about-features-title {
        font-size: 36px;
        margin-bottom: 60px;
    }

    .about-stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 40px;
    }

    .about-stat-item {
        padding: 40px 20px;
    }

    .about-stat-icon {
        width: 80px;
        height: 80px;
        font-size: 32px;
        margin-bottom: 24px;
    }

    .about-stat-number {
        font-size: 36px;
    }

    .about-stat-label {
        font-size: 16px;
    }

    .about-visual-card {
        height: 300px;
        gap: 20px;
    }

    .about-visual-card i {
        font-size: 64px;
    }

    .about-visual-card span {
        font-size: 20px;
    }

    .primary-btn,
    .secondary-btn {
        width: auto;
        max-width: none;
        text-align: center;
        padding: 18px 40px;
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: row;
        gap: 20px;
    }
}

/* About Us Redesign - Dark Tech Theme */

/* Hero Grid */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 8rem 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.massive-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 800;
    line-height: 0.8;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    /* grid-column: 1 / -1; Removed to allow side-by-side */
}

.about-hero-image-container {
    position: relative;
    border-radius: 2rem;
    /* Consistent 2rem radius */
    overflow: hidden;
    height: 500px;
}

.about-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-hero-image-container:hover .about-hero-image {
    transform: scale(1.05);
}

.about-hero-intro {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 500px;
}

/* Philosophy Section - Asymmetric Grid */
.philosophy-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Symmetric 2-col */
    gap: 4rem;
    align-items: center;
}

.philosophy-image-container {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    height: 400px;
}

.philosophy-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.philosophy-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Meet Principals Section - Rounded Card */
.principals-section {
    padding: 6rem 2%;
    max-width: 1600px;
    margin: 0 auto;
}

.principals-container {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.7));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 60px;
    padding: 6rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.principals-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.principal-title-block {
    text-align: center;
    z-index: 1;
}

.principal-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.principal-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.principal-image {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 30px;
    /* Squircle */
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
    /* Artistic touch */
    transition: all 0.5s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.principal-profile:hover .principal-image {
    filter: grayscale(0%);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.principal-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.principal-role {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
}

.principal-bio-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {

    .about-hero-grid,
    .philosophy-grid,
    .principals-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 4rem 2rem;
    }

    .principals-container {
        border-radius: 40px;
    }

    .massive-title {
        font-size: 15vw;
        text-align: center;
    }

    .about-hero-intro,
    .principal-title-block,
    .principal-profile {
        text-align: center;
    }

    .about-hero-image-container,
    .philosophy-image-container {
        height: 300px;
        order: -1;
        /* Image first on mobile usually looks better */
    }

    .about-hero-image-container {
        order: 0;
        /* But maybe text first for About Us title? Let's keep title first */
    }

    .massive-title {
        order: -2;
    }
}

/* Modern tech/node timeline styles */

.timeline-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central Line */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg,
            rgba(59, 130, 246, 0.1) 0%,
            rgba(59, 130, 246, 0.8) 50%,
            rgba(59, 130, 246, 0.1) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Dot on the line */
.timeline-dot {
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #0F172A;
    border: 2px solid #3B82F6;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.timeline-item:hover .timeline-dot {
    background: #3B82F6;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.8);
    transform: translateX(-50%) scale(1.3);
}

/* Year Display - Floating near dot */
.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
    background: #0F172A;
    /* Mask line behind */
    padding: 0 10px;
    z-index: 1;
}

/* Content Card */
.timeline-content {
    width: 42%;
    /* Fit within half width with gap */
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: all 0.4s ease;
    position: relative;
}

/* Alternating Sides */
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    /* Push to left */
    text-align: right;
    border-right: 3px solid #3B82F6;
    /* Accent border on line side */
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    /* Push to right */
    text-align: left;
    border-left: 3px solid #3B82F6;
    /* Accent border on line side */
}

/* Card Hover */
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

/* Typography in card */
.timeline-content h4 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
        /* Line to left */
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-year {
        left: 70px;
        /* Align year next to dot */
        top: -35px;
        transform: none;
        background: transparent;
    }

    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
        /* Push content right of line */
        margin-right: 0;
        text-align: left;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
        /* Reset borders */
        border-left: 3px solid #3B82F6;
    }
}

/* Generic Bento Card Styles (reused from testimonials) */
.services-bento-container {
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    position: relative;
    border-radius: 0;
    /* Square/Tech look */
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-card:hover {
    transform: translateY(-5px);
    z-index: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.bento-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: inherit;
    /* Gradient text for icon? */
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.bento-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: inherit;
}

.bento-card-desc {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    color: inherit;
}

/* Ensure bento grid spans work for services */
.services-bento-container .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(280px, auto);
}

/* Remove gap for grids inside sidebar layout */
.sidebar-layout .bento-grid {
    gap: 0;
    margin-top: 0;
}

/* Adjust card borders for 0-gap grid */
.sidebar-layout .bento-grid .bento-card {
    border-radius: 0;
    /* Use outline for cleaner grid lines or rely on existing borders */
    /* If inline styles are used to manage borders, we keep them. 
       Otherwise, ensure they don't double up too badly. */
}

/* Generic Split/Sidebar Layout */
.sidebar-layout {
    display: flex;
    width: 100%;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(15, 23, 42, 0.3);
    /* Subtle backdrop */
}

/* Sidebar Column */
.sidebar-column {
    width: 100px;
    min-width: 100px;
    /* Fixed width for packed look */
    background: rgba(15, 23, 42, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center vertically */
    padding: 0;
    /* Remove padding to pack it */
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

/* Right Sidebar Modifier */
.sidebar-column.right {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    order: 2;
    /* Moves to right if flex container direction is row */
}

/* Content Column */
.content-column {
    width: calc(100% - 100px);
    /* Remaining width */
    /* No padding here, handled by inner grid or container */
    flex-grow: 1;
}

/* Vertical Text Style */
.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    /* Adjusted for section headers */
    font-weight: 800;
    margin: 0;
    white-space: nowrap;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .sidebar-layout {
        flex-direction: column;
    }

    .sidebar-column {
        width: 100%;
        min-width: auto;
        padding: 2rem 1rem;
        flex-direction: row;
        justify-content: center;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .sidebar-column.right {
        order: 0;
        /* Reset order for mobile stack (title on top) */
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .content-column {
        width: 100%;
    }

    .vertical-text {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 2.5rem;
    }
}

/* Overrides for text colors on blue cards */
.card-blue .service-description,
.card-blue .testimonial-content p,
.card-blue .testimonial-author p,
.card-blue .testimonial-content h3,
.card-blue .testimonial-author h4,
.card-blue .service-icon i {
    color: white !important;
}

.card-blue .service-icon {
    background: rgba(255, 255, 255, 0.2);
}

/* =========================================
   Mobile Responsiveness Overrides
   ========================================= */
@media (max-width: 768px) {

    /* --- Stats Section --- */
    .landing-stats {
        padding: 60px 0;
        margin-top: 0;
    }

    .stats-container-modern {
        flex-direction: column;
        padding: 40px 24px;
        gap: 40px;
        text-align: center;
    }

    .stats-grid {
        flex-direction: column;
        width: 100%;
        gap: 40px;
    }

    .stat-item {
        width: 100%;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Remove vertical separators */
    .stat-item::after {
        display: none;
    }

    .stats-title h2 {
        font-size: 32px;
        max-width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    /* --- Testimonials & Services Layout --- */
    .testimonials-layout {
        flex-direction: column;
        padding: 0;
    }

    .testimonials-text {
        width: 100%;
        padding: 40px 20px 20px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        align-items: center;
        text-align: center;
    }

    .testimonials-text .section-title {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 36px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .testimonials-text .section-subtitle {
        display: block;
        font-size: 16px;
        max-width: 90%;
        margin: 0 auto;
    }

    /* --- Bento Grid / Services Grid --- */
    .testimonials-grid.bento-grid,
    .services-bento-container .bento-grid,
    .sidebar-layout .bento-grid {
        width: 100%;
        display: flex;
        flex-direction: column;
        grid-template-columns: 1fr;
    }

    /* Force all spans to full width */
    .span-2,
    .span-3,
    .span-4,
    .span-6 {
        grid-column: auto;
        width: 100%;
    }

    .testimonial-container,
    .bento-card {
        width: 100%;
        margin-bottom: 0;
        /* Gaps handled by container padding or margin */
        min-height: auto;
    }

    /* --- Clients Section --- */
    .clients-track {
        gap: 40px;
    }

    .client-logo img {
        max-width: 100px;
        max-height: 50px;
    }

    /* --- Hero Section --- */
    .hero-title {
        font-size: 36px !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }

    .hero-features {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .feature-tag {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}