@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    /* Brand Colors - Sophisticated Light Tech Aesthetic */
    --primary-purple: #0F7650; /* Deep Forest Green */
    --primary-blue: #169365;   /* Slightly Lighter Green */
    --accent-cyan: #0A6C44;    /* Another Deep Green for gradients */
    --accent-green: #22C55E;
    --dark-bg: #F7F8F3;        /* Soft Cream Background */
    --surface-bg: #FFFFFF;     /* Pure White Surface */
    --glass-bg: rgba(255, 255, 255, 0.8);

    /* Text Colors */
    --text-main: #1D2320;      /* Near Black for contrast */
    --text-secondary: #5A6A62; /* Muted Green/Gray */
    --text-muted: #84968C;
    --text-on-light: #1E293B;

    /* UI Elements */
    --border-subtle: rgba(0, 0, 0, 0.08); /* Dark subtle border */
    --radius-lg: 32px;
    --radius-md: 16px;
    --radius-sm: 8px;

    /* Modern Shadows & Glows - Light Theme variants */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
    --glow-purple: 0 10px 25px rgba(15, 118, 80, 0.2); /* Soft green glow */
    --glow-blue: 0 10px 25px rgba(22, 147, 101, 0.2);

    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    --gradient-tech: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-cyan) 100%);
    --gradient-glow: linear-gradient(135deg, var(--primary-purple), var(--accent-cyan));
    --text-gradient: linear-gradient(135deg, #0F7650 0%, #1D2320 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
}

h2 {
    font-size: clamp(2.5rem, 6vw, 3.8rem);
}

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

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

ul {
    list-style: none;
}

/* Utility Classes */

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 160px 0;
    position: relative;
    overflow: hidden;
}

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

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

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 100px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-weight: 700;
    margin-bottom: 24px;
}

.section-header p {
    font-size: 1.4rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 300;
}

/* Bento Grid Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.bento-item {
    background: var(--surface-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: 48px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    grid-column: span 4;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    border-color: rgba(0, 0, 0, 0.15);
    background: #FFFFFF;
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.bento-item.span-8 {
    grid-column: span 8;
}

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

.bento-item.span-12 {
    grid-column: span 12;
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-icon {
    font-size: 3rem;
    margin-bottom: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-item h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.bento-item p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-item, .bento-item.span-8, .bento-item.span-6 {
        grid-column: span 1;
    }
}

/* Buttons - Modern Pill Shape */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--glow-purple);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-purple);
    color: var(--primary-purple);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(15, 118, 80, 0.05);
    transform: translateY(-4px);
    border-color: var(--primary-purple);
}

/* Header & Nav - Glassmorphism */
header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 0;
    transition: var(--transition-smooth);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-cyan);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary-navy);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Hero Section - Immersive & Dynamic */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 100px;
    background: var(--dark-bg);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(15, 118, 80, 0.08), transparent 70%),
                radial-gradient(circle at 30% 70%, rgba(22, 147, 101, 0.08), transparent 70%);
    z-index: 2;
    pointer-events: none;
}

/* Hero Background Slider */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-bg-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 16s infinite;
}

/* Light overlay to maintain text readability */
.hero-bg-slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(247, 248, 243, 0.85); /* Light Safebox cream with opacity */
    z-index: 1;
}

.hero-bg-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slider .slide:nth-child(2) { animation-delay: 4s; }
.hero-bg-slider .slide:nth-child(3) { animation-delay: 8s; }
.hero-bg-slider .slide:nth-child(4) { animation-delay: 12s; }

@keyframes fadeSlide {
    0% { opacity: 0; transform: scale(1.05); }
    10% { opacity: 1; transform: scale(1.02); }
    25% { opacity: 1; transform: scale(1); }
    35% { opacity: 0; transform: scale(0.98); }
    100% { opacity: 0; }
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-30px, 40px);
    }

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

.hero-content {
    max-width: 1000px;
    position: relative;
    z-index: 1;
    padding-top: 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #FFFFFF;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}


.hero-motto {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary-purple);
    margin-bottom: 24px;
    display: inline-block;
    padding: 8px 20px;
    background: rgba(15, 118, 80, 0.05);
    border: 1px solid rgba(15, 118, 80, 0.1);
    border-radius: 100px;
}

.hero h1 {
    font-size: 5.5rem;
    line-height: 1.05;
    margin-bottom: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.hero p {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 650px;
    line-height: 1.6;
}

/* Animation Classes */
.animate {
    opacity: 0;
    transform: translateY(30px);
}

.animate.visible {
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

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

/* Scroll Animations - Premium Safebox Style (Blur, Scale, Fade) */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    filter: blur(10px);
    transition: all 1.2s cubic-bezier(0.22, 1, 0.36, 1); /* Ultra-smooth ease-out */
    will-change: transform, opacity, filter;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Cards (Features & Services) - Floating/Elevated */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 40px;
}

.card {
    background: var(--surface-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-lg);
}

.card i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
    display: inline-block;
    transition: transform 0.5s ease;
}

.card:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary-purple);
}

.card h3 {
    color: var(--text-main);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
}


/* Stats Section - Minimalist */
.stats-section {
    padding: 100px 0;
    background: rgba(0, 0, 0, 0.02);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

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

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
}

/* Footer - Dark & Professional */
footer {
    background: var(--surface-bg);
    padding: 100px 0 40px;
    color: var(--text-main);
    margin-top: 120px;
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
}

.footer-logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.footer-links h4 {
    color: var(--primary-purple);
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--primary-purple);
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .container {
        max-width: 95%;
    }

    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .section {
        padding: 80px 0;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(255, 255, 255, 0.98);
        padding: 30px;
        gap: 20px;
        text-align: center;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--border-light);
        backdrop-filter: blur(20px);
    }

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

    .hamburger {
        display: block;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero {
        padding-top: 60px;
        text-align: center;
        min-height: auto;
        padding-bottom: 100px;
    }

    .hero-content {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .btn {
        width: 100%;
    }
}

/* Stats Section */
.stats-section {
    background: var(--dark-bg);
    padding: 80px 0;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item h3 {
    font-size: 4rem;
    font-weight: 800;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

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

/* Tech Stack Section */
.tech-stack {
    text-align: center;
    padding: 100px 0;
    background: var(--dark-bg);
}

.tech-logos {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 60px;
    opacity: 0.6;
}

.tech-logos i {
    font-size: 4rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.tech-logos i:hover {
    color: var(--accent-cyan);
    transform: scale(1.2);
    opacity: 1;
}

/* Testimonials */
.testimonials {
    background: var(--bg-main);
}

.testimonial-card {
    background: #FFFFFF;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card::after {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-purple);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--text-light);
    /* Placeholder */
    object-fit: cover;
}

.client-details h4 {
    color: var(--text-main);
    font-size: 1rem;
    margin-bottom: 2px;
}

.client-details span {
    font-size: 0.85rem;
    color: var(--accent-cyan);
}

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

.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--glow-purple);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.process-step p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Call to Action Section */
.cta-section {
    background: var(--surface-bg);
    color: white;
    text-align: center;
    padding: 120px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(107, 70, 255, 0.1), transparent 70%);
}

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

.cta-section h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-section p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* Contact Page Specifics */
.contact-hero {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.9)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    text-align: center;
    color: white;
    margin-bottom: 60px;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.contact-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 80px;
}

.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
    border: 1px solid var(--border-light);
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-gold);
}

.contact-icon-box {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-form-container {
    background: var(--surface-bg);
    padding: 50px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.contact-form-container h2 {
    color: var(--text-main);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--glow-blue);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 120px 0 60px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }
}

/* About Page Specifics */
.about-hero, .services-hero, .contact-hero, .courses-hero {
    padding: 180px 0 100px;
    background: var(--dark-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-hero::after, .services-hero::after, .contact-hero::after, .courses-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 118, 80, 0.05), transparent 70%);
    z-index: 0;
}

.about-hero .container, .services-hero .container, .contact-hero .container, .courses-hero .container {
    position: relative;
    z-index: 1;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-navy);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Mission Cards */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.mission-card {
    background: var(--surface-bg);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    text-align: center;
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-lg);
}

.mission-icon {
    font-size: 3rem;
    background: var(--text-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    display: inline-block;
}

.mission-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background: var(--surface-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-lg);
}

.member-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    background: var(--bg-surface);
}

.member-info {
    padding: 25px;
    text-align: center;
}

.member-info h4 {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member-info span {
    color: var(--accent-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Hero */
.contact-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(rgba(247, 248, 243, 0.85), rgba(247, 248, 243, 0.95)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 60px;
}

/* Services Hero */
.services-hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(rgba(247, 248, 243, 0.85), rgba(247, 248, 243, 0.95)), url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 60px;
}

/* ... existing code ... */

.feature-icon {
    font-size: 2rem;
    color: var(--primary-purple);
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-purple);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 118, 80, 0.05);
    /* Subtle tint */
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 0 20px rgba(15, 118, 80, 0.2);
    transform: scale(1.1);
}

/* Courses Page Specifics */
.courses-hero {
    background: linear-gradient(rgba(247, 248, 243, 0.85), rgba(247, 248, 243, 0.95)), url('https://images.unsplash.com/photo-1517694712202-14dd9538aa97?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    text-align: center;
    color: var(--text-main);
    margin-bottom: 60px;
}

.courses-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.course-card {
    background: var(--surface-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: var(--shadow-lg);
}

.course-thumb {
    height: 200px;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-thumb img {
    transform: scale(1.1);
}

.course-category {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.course-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.course-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.course-footer {
    border-top: 1px solid var(--border-light);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-duration {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.course-duration i {
    color: var(--primary-purple);
    margin-right: 5px;
}

/* Feature Grid for Courses */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

/* Feature Grid for Services - Matching Index 'Our Expertise' */
.feature-item {
    background: var(--bg-surface);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Keep left alignment */
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.5s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 0, 0, 0.15);
}

.feature-item:hover::before {
    height: 100%;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-purple);
    width: auto;
    /* Reset fixed width */
    height: auto;
    /* Reset fixed height */
    margin-bottom: 24px;
    /* Match .card i margin */
    display: inline-block;
    transition: transform 0.3s ease;
    background: rgba(15, 118, 80, 0.05);
    padding: 16px;
    border-radius: 12px;
    border: none;
    /* Remove border */
    box-shadow: none;
    /* Remove shadow */
    transform: none;
    /* Remove tilt */
    margin-left: 0;
    /* Reset margin */
    margin-right: 0;
    /* Reset margin */
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-purple);
    color: #FFFFFF;
    box-shadow: none;
}

.feature-item h3 {
    color: var(--text-main);
    margin-bottom: 16px;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    flex-grow: 1;
}

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

/* Tabs Styling */
.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    background: white;
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
    box-shadow: var(--shadow-md);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
    /* Changed from grid to block to allow headers */
}

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

@media (max-width: 768px) {
    .grid-3 {
        gap: 20px;
        grid-template-columns: 1fr;
        /* Force 1 column on mobile */
    }

    .services-hero,
    .contact-hero,
    .courses-hero {
        padding: 120px 0 60px;
        /* Reduce padding significantly */
    }

    .section-title {
        font-size: 1.5rem;
    }
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-main);
    border-left: 5px solid var(--primary-purple);
    padding-left: 20px;
    font-weight: 700;
}

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

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

/* Showcase Section - Mobile App Presentation */
.showcase-section {
    background: #F4F5F0;
    border-radius: 40px;
    margin: 40px 20px;
    padding: 80px 40px;
}

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

.showcase-tags {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.tag-light, .tag-dark {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tag-light {
    background: rgba(15, 118, 80, 0.1);
    color: var(--primary-purple);
}

.tag-dark {
    background: #1D2320;
    color: #FFFFFF;
}

.showcase-title {
    font-size: 3.5rem;
    color: #B59A65; /* Elegant gold tone from screenshot */
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.showcase-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tech-pills span {
    padding: 8px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: #FFFFFF;
    font-weight: 500;
}

.view-case-study {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-purple);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition-smooth);
}

.view-case-study:hover {
    gap: 12px;
    color: var(--primary-blue);
}

/* iPhone Frame */
.showcase-visual {
    display: flex;
    justify-content: center;
    background: rgba(0,0,0,0.03);
    border-radius: 30px;
    padding: 40px;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

.iphone-frame {
    width: 280px;
    height: 580px;
    border: 4px solid #1A1A1A;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.04), 0 30px 60px -12px rgba(0,0,0,0.12);
    background: #fff;
}

.dynamic-island {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: rgba(0,0,0,0.85);
    border-radius: 20px;
    z-index: 10;
    backdrop-filter: blur(5px);
}

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

/* Browser Frame */
.browser-frame {
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: #fff;
    display: flex;
    flex-direction: column;
}

.browser-header {
    height: 40px;
    background: #F4F5F0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 8px;
}

.browser-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.browser-dot.red { background: #FF5F56; }
.browser-dot.yellow { background: #FFBD2E; }
.browser-dot.green { background: #27C93F; }

.browser-content {
    width: 100%;
    height: 350px;
    position: relative;
}

.browser-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .showcase-section {
        padding: 60px 20px;
    }
}
/* Utility Classes added for Refactor */
.delay-100 { animation-delay: 0.1s; transition-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; transition-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; transition-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; transition-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; transition-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; transition-delay: 0.6s; }

.bg-surface-light { background: rgba(255, 255, 255, 0.02); }
.bg-transparent { background: transparent; }
.bg-surface-dark { background: rgba(0, 0, 0, 0.02); }

.font-bold-sm { font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.2em; display: block; margin-bottom: 15px; }
.p-sm { padding: 10px 24px; font-size: 0.9rem; }
.flex-gap-20 { display: flex; gap: 20px; }
.flex-align-center-gap-40 { display: flex; align-items: center; gap: 40px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-10 { margin-bottom: 10px !important; }
.mt-80 { margin-top: 80px !important; }

/* Enhanced Feature Grid */
.feature-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
.feature-card {
    background: transparent;
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-smooth);
}
.feature-card:hover {
    background: var(--surface-bg);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}
@media (max-width: 992px) {
    .feature-list { grid-template-columns: 1fr; }
}

