/* ========================================
   SMART CODING - Main Stylesheet
   Design inspired by Algolia
   ======================================== */

/* -------- CSS Variables -------- */
:root {
    /* Colors - Smart Coding Premium Theme */
    --bg-primary: #0d1a24;
    --bg-secondary: #122230;
    --bg-tertiary: #1a3347;
    --bg-card: rgba(34, 68, 96, 0.3);
    --bg-card-hover: rgba(34, 68, 96, 0.5);

    /* Smart Coding Brand Colors */
    --sc-green: #92c120;
    --sc-green-light: #a8d445;
    --sc-green-dark: #7ba319;
    --sc-navy: #224460;
    --sc-navy-light: #2d5a7a;
    --sc-navy-dark: #1a3347;
    --sc-white: #FFFFFF;

    /* Accent Colors - Updated to Brand */
    --accent-primary: #92c120;
    --accent-secondary: #224460;
    --accent-tertiary: #a8d445;
    --accent-gradient: linear-gradient(135deg, #92c120 0%, #a8d445 50%, #7ba319 100%);
    --accent-glow: rgba(146, 193, 32, 0.4);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-muted: #6b6b7b;

    /* Border Colors */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);

    /* Success/Error */
    --success: #00d68f;
    --error: #ff4757;
    --warning: #ffaa00;

    /* Typography */
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Sizing */
    --header-height: 80px;
    --container-width: 1280px;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--accent-glow);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* -------- Reset & Base -------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* -------- Utility Classes -------- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(84, 104, 255, 0.1);
    border: 1px solid rgba(84, 104, 255, 0.3);
    border-radius: var(--border-radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* -------- Buttons -------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(146, 193, 32, 0.4);
}

.btn-primary:hover {
    background: #7ba319;
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(146, 193, 32, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-hover);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid transparent;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* -------- Preloader -------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 20px;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 50%;
    height: 100%;
    background: var(--accent-gradient);
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(300%);
    }
}

/* -------- Header -------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(13, 26, 36, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(10, 10, 15, 0.95);
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    font-size: 1.8rem;
    display: none;
    /* Hide old icon class if lingering */
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: #8FBD1F;
}

.logo-accent {
    color: #FFFFFF;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-base);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* -------- Hero Section -------- */
.hero {
    position: relative;
    min-height: calc(100vh - 170px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--header-height) 0 0;
    /* Removed bottom padding */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 80%;
    background: radial-gradient(ellipse at center top, rgba(84, 104, 255, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero Container - Full Width Split Layout (Algolia Style) */
/* Hero Container - Full Width Split Layout (Algolia Style) */
.hero-container {
    display: grid;
    grid-template-columns: 38% 62%;
    /* Reduced text width, increased image width */
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    gap: 0;
}

/* ... existing code ... */

.hero-bg-image {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 100%;
    height: 100%;
    max-height: 100%;
    /* Restore full height */
    object-fit: cover;
    /* Restore cover to fill right side */
    object-position: left center;
    /* Keep anchored left */
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 3s ease-in-out;
    transform-origin: left center;
}

/* Hero Text - Left Side - Aligned to standard container */
.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: max(24px, calc((100% - var(--container-width)) / 2 + 14px));
    /* Dynamic alignment */
    padding-right: 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
    /* Ensure text is above image if they overlap */
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

/* Premium Badge with Glow */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(84, 104, 255, 0.15), rgba(123, 97, 255, 0.1));
    border: 1px solid rgba(84, 104, 255, 0.4);
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 28px;
    box-shadow:
        0 4px 20px rgba(84, 104, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    animation: badgePulse 3s ease-in-out infinite;
    width: fit-content;
    /* Don't stretch */
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow:
            0 4px 20px rgba(84, 104, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 4px 30px rgba(84, 104, 255, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.badge-icon {
    font-size: 1.2rem;
    animation: rocketBounce 2s ease-in-out infinite;
}

@keyframes rocketBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* Hero Title - Enhanced Typography */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    text-align: left;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes titleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient Text with Shimmer Effect - Smart Coding Green */
.gradient-text {
    background: linear-gradient(135deg,
            #92c120 0%,
            #a8d445 25%,
            #FFFFFF 50%,
            #a8d445 75%,
            #92c120 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Hero Description - Better Readability */
.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin: 0 0 32px 0;
    line-height: 1.75;
    text-align: left;
    max-width: 580px;
    /* Reverted to reasonable width for readability */
    position: relative;
    padding-left: 20px;
    border-left: 3px solid rgba(146, 193, 32, 0.6);
}

/* CTA Buttons - Premium Style */
.hero-cta {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, #92c120 0%, #7ba319 100%);
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    box-shadow:
        0 8px 32px rgba(146, 193, 32, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-cta .btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(146, 193, 32, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-cta .btn-primary:hover::before {
    opacity: 1;
}

.hero-cta .btn-ghost {
    padding: 16px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-cta .btn-ghost:hover {
    background: rgba(146, 193, 32, 0.1);
    border-color: rgba(146, 193, 32, 0.5);
    color: #92c120;
    transform: translateY(-2px);
}

/* Stats Section - Glassmorphism Cards */
.hero-stats {
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
}

.stat {
    flex: 1;
    min-width: auto;
    max-width: 160px;
    padding: 16px 18px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(146, 193, 32, 0.6) 50%,
            transparent 100%);
}

.stat:hover {
    background: linear-gradient(135deg,
            rgba(146, 193, 32, 0.15) 0%,
            rgba(146, 193, 32, 0.05) 100%);
    border-color: rgba(146, 193, 32, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(146, 193, 32, 0.2);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #92c120, #a8d445);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 4px;
}

.stat-number::after {
    content: '+';
    -webkit-text-fill-color: #92c120;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   Hero Left Side - Simple Background Images
   ======================================== */
.hero-images-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 650px;
    /* Ensure height */
    overflow: hidden;
    /* Touching right edge naturally in grid */
}

.hero-bg-image {
    position: absolute;
    top: 50%;
    left: -35px;
    /* Shift left by 35px */
    transform: translate(0, -50%) scale(1.05);
    /* Static scale */
    width: 100%;
    height: 100%;
    max-height: 100vh;
    /* Reduced dimension */
    object-fit: contain;
    /* Prevent cropping */
    object-position: left center;
    /* Ensure left visualization */
    opacity: 0;
    transition: opacity 1s ease-in-out;
    /* Removed transform transition */
    transform-origin: left center;
}

.hero-bg-image.active {
    opacity: 1;
    transform: translate(0, -50%) scale(1.05);
}

top: -3px;
left: -3px;
right: -3px;
bottom: -3px;
background: linear-gradient(45deg,
    #5468ff,
    #7b61ff,
    #00d4ff,
    #5468ff,
    #ff6b9d,
    #5468ff);
background-size: 400% 400%;
border-radius: 27px;
z-index: -1;
animation: neonBorderFlow 6s ease infinite;
opacity: 0.9;
}

@keyframes neonBorderFlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 100% 100%;
    }

    75% {
        background-position: 0% 100%;
    }
}

/* Intense Inner Glow + Reflection */
.carousel-container::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    box-shadow:
        inset 0 0 100px rgba(0, 0, 0, 0.4),
        inset 0 -30px 60px rgba(84, 104, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    pointer-events: none;
    z-index: 10;
}

/* Main Image Track - LARGER */
.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16/11;
    min-height: 400px;
    max-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg,
            rgba(30, 30, 45, 1) 0%,
            rgba(20, 20, 30, 1) 100%);
    transform-style: preserve-3d;
}

/* Ambient Background Glow */
.carousel-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180%;
    height: 180%;
    background: radial-gradient(ellipse at center,
            rgba(84, 104, 255, 0.25) 0%,
            rgba(123, 97, 255, 0.15) 30%,
            rgba(0, 212, 255, 0.08) 50%,
            transparent 70%);
    z-index: -1;
    pointer-events: none;
    animation: ambientPulse 4s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15) rotate(3deg);
    }
}

/* Floating Particles Effect */
.carousel-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 80% 20%, rgba(84, 104, 255, 0.4), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(0, 212, 255, 0.3), transparent),
        radial-gradient(1px 1px at 60% 50%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(123, 97, 255, 0.5), transparent);
    animation: floatParticles 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
    opacity: 0.7;
}

@keyframes floatParticles {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-10px) translateX(5px);
    }

    50% {
        transform: translateY(-5px) translateX(-5px);
    }

    75% {
        transform: translateY(-15px) translateX(3px);
    }
}

/* Slide Styles */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1) translateX(30px);
    transition:
        opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 24px;
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1) translateX(0);
}

/* Image with Ken Burns Effect */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    transition: transform 8s ease-out, filter 0.5s ease;
    will-change: transform;
}

.carousel-slide.active img {
    animation: kenBurns 12s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.08) translate(-1%, -1%);
    }
}

/* Interactive Hover Effects */
.carousel-container:hover .carousel-slide.active img {
    transform: scale(1.06);
    filter: brightness(1.05) saturate(1.1);
    animation-play-state: paused;
}

/* Premium Color Overlay */
.carousel-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(84, 104, 255, 0.12) 0%,
            transparent 35%,
            transparent 65%,
            rgba(123, 97, 255, 0.1) 100%);
    z-index: 3;
    pointer-events: none;
    border-radius: 24px;
    mix-blend-mode: overlay;
}

/* Cinematic Vignette + Bottom Gradient */
.carousel-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 50%, rgba(10, 10, 15, 0.4) 100%),
        linear-gradient(to top, rgba(10, 10, 15, 0.7) 0%, transparent 40%);
    z-index: 4;
    pointer-events: none;
    border-radius: 24px;
}

/* Slide Caption - Enhanced */
.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
    background: linear-gradient(to top,
            rgba(10, 10, 15, 0.98) 0%,
            rgba(10, 10, 15, 0.8) 60%,
            transparent 100%);
    z-index: 6;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.4s ease;
}

.carousel-container:hover .slide-caption {
    transform: translateY(0);
    opacity: 1;
}

.caption-tag {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--border-radius-full);
    margin-bottom: 10px;
    box-shadow: 0 4px 15px rgba(84, 104, 255, 0.4);
}

.slide-caption h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Premium Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 20;
    padding: 12px 24px;
    background: linear-gradient(135deg,
            rgba(26, 26, 37, 0.95) 0%,
            rgba(20, 20, 30, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    border: 1px solid rgba(84, 104, 255, 0.2);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.indicator {
    width: 40px;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,
            var(--accent-primary),
            var(--accent-secondary),
            #00d4ff);
    background-size: 200% 100%;
    border-radius: 5px;
    transition: width 0.3s ease;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scaleY(1.6);
    box-shadow: 0 0 20px rgba(84, 104, 255, 0.3);
}

.indicator.active {
    background: rgba(84, 104, 255, 0.2);
    transform: scaleX(1.3) scaleY(1.8);
    box-shadow: 0 0 25px var(--accent-glow);
}

.indicator.active::before {
    width: 100%;
    animation: indicatorProgress 4s linear forwards, gradientShift 3s ease infinite;
}

@keyframes indicatorProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* Floating Decorative Elements */
.hero-carousel .floating-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.hero-carousel .floating-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(84, 104, 255, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: floatOrb1 10s ease-in-out infinite;
}

.hero-carousel .floating-orb-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.12) 0%, transparent 70%);
    bottom: -50px;
    left: -80px;
    animation: floatOrb2 8s ease-in-out infinite;
}

@keyframes floatOrb1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-20px, 30px) scale(1.1);
    }
}

@keyframes floatOrb2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(15px, -20px) scale(0.9);
    }
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* -------- Clients Section -------- */
.clients {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

/* .clients .container rule removed to restore fixed width */

.clients-title {
    text-align: center;
    color: #8FBD1F;
    font-size: 0.9rem;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
}

.clients-slider {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    gap: 60px;
    animation: scroll 20s linear infinite;
}

.clients-track .client-logo {
    flex-shrink: 0;
    padding: 16px 32px;
    background: transparent !important;
    border: 2px solid #8FBD1F;
    border-radius: var(--border-radius);
    font-size: 1.25rem;
    color: #8FBD1F;
    white-space: nowrap;
    transition: all var(--transition-base);
    filter: none !important;
    opacity: 1 !important;
}

.client-logo:hover {
    transform: scale(1.05) translateY(-5px);
    background: #8FBD1F !important;
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(143, 189, 31, 0.4);
    z-index: 10;
}

.client-logo svg {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    /* Added for spacing consistency */
    display: block;
    /* Ensure block display for vertical stacking */
    margin-left: auto;
    margin-right: auto;
}

.client-logo span {
    font-size: 0.75rem;
    font-weight: 500;
    display: block;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* -------- Services Section -------- */
.services {
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-base);
}

.service-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card.featured {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(84, 104, 255, 0.1), transparent);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    padding: 6px 14px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(84, 104, 255, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    color: var(--accent-primary);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    margin-bottom: 24px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.service-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-primary);
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.service-link:hover {
    gap: 12px;
}

/* -------- Projects Section -------- */
.projects {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.projects-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-full);
    color: var(--text-secondary);
    font-weight: 500;
    transition: all var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-tertiary);
    overflow: hidden;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-primary));
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(84, 104, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    padding: 12px 24px;
    background: white;
    color: var(--accent-primary);
    font-weight: 600;
    border-radius: var(--border-radius);
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-content {
    padding: 24px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(84, 104, 255, 0.1);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: var(--border-radius-full);
    margin-bottom: 12px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 4px 10px;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    font-size: 0.8rem;
    border-radius: var(--border-radius);
}

.projects-cta {
    text-align: center;
    margin-top: 48px;
}

/* -------- Technologies Section -------- */
.technologies {
    padding: 120px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.tech-category {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
}

.tech-category-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.tech-item:hover {
    background: rgba(84, 104, 255, 0.1);
    color: var(--text-primary);
}

.tech-icon {
    font-size: 1.1rem;
}

/* -------- Stats Section -------- */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(84, 104, 255, 0.1), rgba(123, 97, 255, 0.05));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.stat-card {
    text-align: center;
    padding: 32px;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.stat-card .stat-label {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ========================================
   3D Tech Cube - Premium Interactive
   ======================================== */
.hero-visual {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 450px;
}

.tech-cube-container {
    width: 280px;
    height: 280px;
    perspective: 1000px;
    perspective-origin: center center;
}

.tech-cube {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: cubeRotate 20s infinite ease-in-out;
    transition: transform 0.1s ease-out;
}

@keyframes cubeRotate {

    0%,
    100% {
        transform: rotateX(-15deg) rotateY(0deg);
    }

    25% {
        transform: rotateX(15deg) rotateY(90deg);
    }

    50% {
        transform: rotateX(-15deg) rotateY(180deg);
    }

    75% {
        transform: rotateX(15deg) rotateY(270deg);
    }
}

.cube-face {
    position: absolute;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(34, 68, 96, 0.9) 0%,
            rgba(13, 26, 36, 0.95) 100%);
    border: 2px solid rgba(146, 193, 32, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow:
        0 0 30px rgba(146, 193, 32, 0.1),
        inset 0 0 60px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.cube-face:hover {
    border-color: rgba(146, 193, 32, 0.6);
    box-shadow:
        0 0 50px rgba(146, 193, 32, 0.3),
        inset 0 0 60px rgba(0, 0, 0, 0.2);
}

.face-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--sc-white);
}

.face-content .tech-icon {
    width: 80px;
    height: 80px;
    fill: #92c120;
    filter: drop-shadow(0 0 20px rgba(146, 193, 32, 0.5));
    transition: all 0.3s ease;
}

.cube-face:hover .tech-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(146, 193, 32, 0.7));
}

.face-content span {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #FFFFFF;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Cube Faces Positioning */
.cube-front {
    transform: translateZ(140px);
}

.cube-back {
    transform: rotateY(180deg) translateZ(140px);
}

.cube-left {
    transform: rotateY(-90deg) translateZ(140px);
}

.cube-right {
    transform: rotateY(90deg) translateZ(140px);
}

.cube-top {
    transform: rotateX(90deg) translateZ(140px);
}

.cube-bottom {
    transform: rotateX(-90deg) translateZ(140px);
}

/* Cube Glow Effect */
.cube-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle,
            rgba(146, 193, 32, 0.15) 0%,
            rgba(146, 193, 32, 0.05) 40%,
            transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: cubeGlowPulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes cubeGlowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive Cube */
@media (max-width: 1024px) {
    .hero-visual {
        min-height: 350px;
    }

    .tech-cube-container {
        width: 220px;
        height: 220px;
    }

    .cube-face {
        width: 220px;
        height: 220px;
    }

    .cube-front {
        transform: translateZ(110px);
    }

    .cube-back {
        transform: rotateY(180deg) translateZ(110px);
    }

    .cube-left {
        transform: rotateY(-90deg) translateZ(110px);
    }

    .cube-right {
        transform: rotateY(90deg) translateZ(110px);
    }

    .cube-top {
        transform: rotateX(90deg) translateZ(110px);
    }

    .cube-bottom {
        transform: rotateX(-90deg) translateZ(110px);
    }

    .face-content .tech-icon {
        width: 60px;
        height: 60px;
    }

    .face-content span {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-visual {
        display: none;
    }
}