/* =========================================
   1. VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Colors - Brand */
    --primary-color: #6c5ce7;
    --primary-hover: #5a4bce;
    --secondary-color: #00cec9;
    --accent-color: #0984e3;
    
    /* Colors - Dark Theme (Hero/Footer) */
    --dark-bg: #0b1020;
    --dark-surface: #11182d;
    --dark-border: rgba(255, 255, 255, 0.1);
    
    /* Colors - Light Theme (Content) */
    --light-bg: #ffffff;
    --light-surface: #f8fafc;
    
    /* Colors - Text */
    --text-main: #64748b;
    --text-light: #94a3b8;
    --heading-dark: #0f172a;
    --heading-light: #ffffff;
    
    /* Colors - UI Elements */
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --success: #10b981;
    --error: #ef4444;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-text: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.3);
    
    /* Geometry */
    --radius-sm: 0.375rem;
    --radius-md: 0.75rem;
    --radius-lg: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s ease-out;
    
    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-secondary: 'Inter', sans-serif;
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-main);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--heading-dark);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   3. UTILITIES & LAYOUT
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--light-surface);
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
}

/* Offset for sticky header scrolling */
section {
    scroll-margin-top: 80px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* =========================================
   4. NAVIGATION
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(11, 16, 32, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
}

.logo-icon {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #fff;
    transition: var(--transition-fast);
}

/* =========================================
   5. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    background-image: linear-gradient(to right, rgba(11, 16, 32, 0.95) 20%, rgba(11, 16, 32, 0.7) 100%), url('../images/hero_2.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a premium parallax scroll effect */
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation: float 10s ease-in-out infinite alternate;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -100px;
    animation: float 12s ease-in-out infinite alternate-reverse;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--secondary-color);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.trust-badge i {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Hero Visual Placeholder */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-panel {
    width: 100%;
    max-width: 450px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform var(--transition-slow);
}

.glass-panel:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.panel-header {
    height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.panel-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.code-line {
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}
.code-line.highlight {
    background: var(--gradient-primary);
}

.floating-card {
    position: absolute;
    background: rgba(17, 24, 45, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

.floating-card i {
    color: var(--secondary-color);
}

.floating-card strong {
    display: block;
    font-size: 0.9rem;
    font-family: var(--font-primary);
}

.floating-card span {
    font-size: 0.75rem;
    color: var(--text-light);
}

.card-1 {
    top: 20%;
    left: -5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 0%;
    animation-delay: 2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    gap: 0.5rem;
    z-index: 2;
}

.scroll-indicator .arrow {
    animation: bounce 2s infinite;
}

/* =========================================
   6. TRUST / STATS SECTION
   ========================================= */
.trust-section {
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--dark-border);
    padding: 3rem 0;
}

.trust-heading {
    text-align: center;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

/* =========================================
   7. SERVICES SECTION
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-normal);
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--gradient-primary);
    opacity: 0.05;
    transition: var(--transition-normal);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    height: 100%;
}

.service-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--light-surface);
    line-height: 1;
    transition: var(--transition-normal);
}

.service-card:hover .service-number {
    color: rgba(108, 92, 231, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--light-surface);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    color: #fff;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-flex;
    margin-top: 1.5rem;
    color: var(--primary-color);
    background: var(--light-surface);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-link {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(5px);
}

/* =========================================
   8. SOLUTIONS SECTION
   ========================================= */
.solutions-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.solution-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition-normal);
}

.solution-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.solution-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.solution-content .icon-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: rgba(0, 206, 201, 0.1);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-content .icon-wrap i {
    width: 32px;
    height: 32px;
}

.solution-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.solution-content p {
    margin: 0;
}

@media (max-width: 768px) {
    .solution-content {
        flex-direction: column;
        text-align: center;
    }
}

/* =========================================
   9. TECHNOLOGIES SECTION
   ========================================= */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.tech-badge {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-weight: 600;
    color: var(--heading-dark);
    transition: var(--transition-fast);
    cursor: default;
    box-shadow: var(--shadow-sm);
}

.tech-badge:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
}

/* =========================================
   10. ABOUT SECTION
   ========================================= */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    padding: 2rem;
}

.abstract-composition {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
}

.shape {
    position: absolute;
    border-radius: var(--radius-lg);
}

.shape-primary {
    width: 70%;
    height: 80%;
    /* Replace the gradient with an image */
    background-image: url('../images/a1.webp');
    background-size: cover;
    background-position: center;
    opacity: 1; /* Change opacity from 0.1 to 1 */
    top: 0;
    left: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

/* Optional: Keep a slight tint over it to match your brand */
.shape-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    opacity: 0.2;
    border-radius: var(--radius-lg);
}

.shape-secondary {
    width: 60%;
    height: 70%;
    background-image: url('../images/a2.webp');
    background-size: cover;
    background-position: center;
    bottom: 0;
    right: 0;
    z-index: 1;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}
.shape-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--secondary-color);
    opacity: 0.2;
    border-radius: var(--radius-lg);
}
.stat-card {
    position: absolute;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    top: 10%;
    right: 10%;
    border: 1px solid var(--border-color);
    animation: float 5s ease-in-out infinite;
}

.stat-card.card-bottom {
    top: auto;
    bottom: 10%;
    left: 10%;
    right: auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation-delay: 1.5s;
}

.stat-card h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0;
}

.stat-card i {
    color: var(--secondary-color);
    width: 32px;
    height: 32px;
}

.stat-card p {
    font-weight: 600;
    color: var(--heading-dark);
    margin: 0;
}

.value-points {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-points li {
    display: flex;
    gap: 1rem;
}

.vp-icon {
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vp-text h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

/* =========================================
   11. PROCESS SECTION
   ========================================= */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 24px;
    width: 2px;
    background: var(--border-color);
}

.timeline-step {
    position: relative;
    padding-left: 5rem;
    margin-bottom: 3rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
    z-index: 2;
    transition: var(--transition-normal);
}

.timeline-step:hover .step-marker {
    background: var(--primary-color);
    color: #fff;
    box-shadow: var(--shadow-glow);
}

.step-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.timeline-step:hover .step-content {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

/* =========================================
   12. WHY US SECTION
   ========================================= */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--light-surface);
    transition: var(--transition-fast);
}

.why-card i {
    color: var(--secondary-color);
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.why-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.why-card:hover {
    background: var(--card-bg);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

/* =========================================
   13. PORTFOLIO SECTION
   ========================================= */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.portfolio-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-visual {
    height: 250px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* Mock visuals using gradients for premium feel without images */
/* .visual-1 { background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); } */
.visual-1 { 
    background-image: url('../images/p1.webp'); 
    background-size: cover;
    background-position: top center; /* 'top' is good for website screenshots */
}
.visual-2 { 
    background-image: url('../images/p2.webp'); 
    background-size: cover;
    background-position: top center; /* 'top' is good for website screenshots */
}
.visual-3 { 
    background-image: url('../images/p3.webp'); 
    background-size: cover;
    background-position: top center; /* 'top' is good for website screenshots */
}
.visual-4 { background: linear-gradient(135deg, #3a1c71, #d76d77, #ffaf7b); }
.visual-5 { background: linear-gradient(135deg, #000428, #004e92); }
.visual-6 { background: linear-gradient(135deg, #114357, #f29492); }

.mockup-overlay {
    display: none;
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 200px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px 10px 0 0;
    box-shadow: -10px 10px 20px rgba(0,0,0,0.2);
    transition: var(--transition-normal);
}

.portfolio-card:hover .mockup-overlay {
    transform: translateY(-10px);
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary-color);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.portfolio-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.portfolio-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tags span {
    font-size: 0.75rem;
    background: var(--light-surface);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    color: var(--text-main);
    font-weight: 500;
}

/* =========================================
   14. CTA SECTION
   ========================================= */
.cta-section {
    padding: 6rem 0;
}

.cta-box {
    /* We add a dark tint overlay (rgba) on top of the background image */
    background-image: linear-gradient(rgba(11, 16, 32, 0.85), rgba(11, 16, 32, 0.9)), url('../images/discuss.webp');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    padding: 5rem 2rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.2) 0%, transparent 60%);
    z-index: 0;
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    font-size: 1.125rem;
}

/* =========================================
   15. CONTACT SECTION
   ========================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-desc {
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-item i {
    color: var(--primary-color);
    background: rgba(108, 92, 231, 0.1);
    padding: 0.75rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.contact-item h4 {
    margin-bottom: 0.25rem;
}

.contact-form-wrap {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading-dark);
    font-size: 0.9rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--light-surface);
    font-family: inherit;
    font-size: 1rem;
    color: var(--heading-dark);
    transition: var(--transition-fast);
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
    background: #fff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: 0.875rem;
}

/* Button Loading State */
.btn .loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-bottom-color: transparent;
    border-radius: 50%;
    animation: rotation 1s linear infinite;
}

.btn.loading .btn-text,
.btn.loading .btn-icon {
    display: none;
}

.btn.loading .loader {
    display: block;
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    display: none;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* =========================================
   16. FOOTER
   ========================================= */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    border-top: 1px solid var(--dark-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding: 5rem 1.5rem;
}

.brand-col .logo {
    margin-bottom: 1.5rem;
}

.brand-col p {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: #fff;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-contact li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 99;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
}

/* =========================================
   17. ANIMATIONS
   ========================================= */
@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -20px); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

.fade-up { transform: translateY(40px); }
.fade-left { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================
   18. RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 1024px) {
    .hero-container,
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        display: none; /* Simplify on smaller screens */
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-visual {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-btn {
        display: none; /* Hide CTA in nav on mobile */
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition-normal);
        z-index: 1000;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.5rem;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-step {
        padding-left: 3.5rem;
    }
    
    .step-marker {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrap {
        padding: 1.5rem;
    }
}