﻿/* GLOBAL NO-HORIZONTAL-SCROLL PROTECTION */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-black: #050A10;
    --neon-blue: #0A66FF;
    --tech-green: #00D47A;
    --dark-gray: #0F1419;
    --mid-gray: #1A1F26;
    --light-gray: #8B949E;
    --white: #FFFFFF;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--deep-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.03;
    animation: float 20s infinite ease-in-out;
    z-index: 1 !important;

}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--neon-blue);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--tech-green);
    top: 60%;
    right: 10%;
    animation-delay: 7s;
}

.shape-3 {
    width: 500px;
    height: 500px;
    background: var(--neon-blue);
    bottom: 10%;
    left: 50%;
    animation-delay: 14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, -100px) scale(1.1);
    }

    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: #050A10;
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(10, 102, 255, 0.2);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.logo-arrow {
    display: inline-block;
    font-size: 40px;
    animation: arrowPulse 2s ease-in-out infinite;
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes arrowPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.1);
    }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

nav a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    position: relative;
}

    nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, var(--neon-blue), var(--tech-green));
        transition: width 0.3s;
    }

    nav a:hover::after {
        width: 100%;
    }

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible !important; /* MOST IMPORTANT */
    padding-top: 120px;
    padding-bottom: 20px !important; /* pulls next section closer */
    z-index: 1;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 50%, rgba(10, 102, 255, 0.2), transparent 60%), radial-gradient(circle at 80% 50%, rgba(0, 212, 122, 0.2), transparent 60%);
        animation: heroGlow 8s ease-in-out infinite;
    }

@keyframes heroGlow {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Prevent the hero container from hiding shapes */
.hero .container {
    position: relative;
    z-index: 5; /* Hero text stays above shapes */
}

.hero-text-container {
    max-width: 1000px; /* Same width for heading + subheading */
    margin: 0 auto; /* Centers everything */
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    animation: fadeInUp 1s ease-out;
    min-height: 160px; /* Keeps space when text switches */
}

/* Typewriter Text */
.heroTyped {
    display: inline-block;
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
}

.typing-cursor {
    display: inline-block;
    width: 6px;
    height: 1em; /* auto-adjust with line height */
    background: var(--neon-blue);
    margin-left: 6px;
    animation: blinkCursor 5.3s infinite;
}


@keyframes blinkCursor {
    0%, 50% {
        opacity: 1;
    }

    51%, 100% {
        opacity: 0;
    }
}

/* FIXED WIDTH STABILIZER */
.hero-stable-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}


/* Keep subheading stable */
.subheading {
    font-size: 22px;
    margin-top: 0;
}
/* Prevent layout shift when heading grows */

.hero-title-wrapper {
    width: 100%;
    max-width: 1400px; /* FIXES the shifting */
    margin: 0 auto;
    text-align: center;
    min-height: 220px; /* Prevents vertical jump */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* <<< FIX: prevents vertical movement */
}

/* Light mode cursor fix */
body.light-theme .typing-cursor {
    background: #007BFF;
}



.hero h1 {
    font-size: 70px;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, var(--white) 0%, var(--neon-blue) 50%, var(--tech-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -2px;
}

.hero .subheading {
    font-size: 26px;
    color: var(--light-gray);
    margin-bottom: 50px;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s both;
}

/* PREMIUM SUBHEADING ANIMATION */
.subheading {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s ease-out, transform 1s ease-out, letter-spacing 0.6s ease;
    font-size: 22px; /* premium size */
    line-height: 1.6;
    letter-spacing: 0.3px;
}

    /* Active state when animation triggers */
    .subheading.show {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.6px; /* small luxury-style expansion */
    }

    .subheading.show {
        background: linear-gradient(90deg, #4ea8ff, #32d1a4, #4ea8ff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradientFlow 6s ease infinite;
    }

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
.cta-buttons {
    display: flex;
    justify-content: center; /* centers buttons permanently */
    gap: 25px;
    animation: fadeInUp 1s ease-out 0.4s both;
    width: 100%;
    max-width: 620px; /* FIXES shifting */
    margin: 40px auto 0; /* keep in fixed vertical position */
    position: relative;
}

.btn {
    padding: 18px 45px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
    }

    .btn:hover::before {
        width: 300px;
        height: 300px;
    }

.btn-primary {
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    color: var(--white);
    box-shadow: 0 10px 40px rgba(10, 102, 255, 0.4);
    position: relative;
}

    .btn-primary:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 60px rgba(10, 102, 255, 0.6);
    }

.btn-secondary {
    background: rgba(10, 102, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--neon-blue);
    backdrop-filter: blur(10px);
}

    .btn-secondary:hover {
        background: rgba(10, 102, 255, 0.2);
        transform: translateY(-5px);
        border-color: var(--tech-green);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Module Container */
.module {
    padding: 140px 0;
    position: relative;
    z-index: 1;
    padding-bottom: 60px !important; /* was 140px */
    padding-top: 80px !important; /* was 140px */
}

.module-dark {
    background: linear-gradient(180deg, var(--deep-black) 0%, var(--dark-gray) 100%);
    padding-bottom: 60px !important; /* was 140px */
    padding-top: 80px !important; /* was 140px */
}
.ai-service-block {
    margin-bottom: 70px;
}
.ai-service-block:nth-child(even) {
    background: rgba(255,255,255,0.03);
    border-radius: 16px;
    padding: 30px;
}

.ai-divider {
    border: none;
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 60px 0;
}
.module-card {
    background: rgba(26, 31, 38, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(10, 102, 255, 0.2);
    border-radius: 24px;
    padding: 80px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .module-card::before {
        content: '';
        position: absolute;
        top: -2px;
        left: -2px;
        right: -2px;
        bottom: -2px;
        background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
        border-radius: 24px;
        opacity: 0;
        transition: opacity 0.5s;
        z-index: -1;
    }

    .module-card:hover::before {
        opacity: 0.3;
    }

    .module-card:hover {
        transform: translateY(-10px);
    }

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.section-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--neon-blue);
    margin-bottom: 20px;
    font-weight: 700;
    display: inline-block;
    padding: 10px 25px;
    background: rgba(10, 102, 255, 0.1);
    border-radius: 50px;
    border: 1px solid rgba(10, 102, 255, 0.3);
}

.section-title {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--white), var(--light-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: -1px;
}

.section-description {
    font-size: 20px;
    color: var(--light-gray);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Stats Grid with Counter Animation */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content h3 {
    font-size: 38px;
    margin-bottom: 25px;
    color: var(--tech-green);
    font-weight: 900;
}

.about-content p {
    color: var(--light-gray);
    margin-bottom: 25px;
    font-size: 18px;
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stat-card {
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.1), rgba(0, 212, 122, 0.1));
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(10, 102, 255, 0.3);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

    .stat-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.6s;
    }

    .stat-card:hover::before {
        left: 100%;
    }

    .stat-card:hover {
        transform: scale(1.05) rotate(1deg);
        border-color: var(--tech-green);
        box-shadow: 0 20px 60px rgba(0, 212, 122, 0.3);
    }

.stat-number {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--light-gray);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Services Grid - Modular Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 31, 38, 0.8), rgba(15, 20, 25, 0.8));
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(10, 102, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s ease-out forwards;
}

    .service-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .service-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .service-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .service-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .service-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .service-card:nth-child(6) {
        animation-delay: 0.6s;
    }

    .service-card:nth-child(7) {
        animation-delay: 0.7s;
    }

    .service-card:nth-child(8) {
        animation-delay: 0.8s;
    }

    .service-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 5px;
        background: linear-gradient(90deg, var(--neon-blue), var(--tech-green));
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s;
    }

    .service-card:hover::before {
        transform: scaleX(1);
    }

    .service-card::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0;
        height: 0;
        background: radial-gradient(circle, rgba(10, 102, 255, 0.2), transparent);
        transform: translate(-50%, -50%);
        transition: width 0.6s, height 0.6s;
        border-radius: 50%;
    }

    .service-card:hover::after {
        width: 500px;
        height: 500px;
    }

    .service-card:hover {
        transform: translateY(-15px) scale(1.02);
        border-color: var(--neon-blue);
        box-shadow: 0 25px 80px rgba(10, 102, 255, 0.4);
    }

.service-icon {
    font-size: 56px;
    margin-bottom: 25px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.service-card h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.service-card ul {
    list-style: none;
    color: var(--light-gray);
    position: relative;
    z-index: 1;
}

.service-card li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    transition: all 0.3s;
}

    .service-card li::before {
        content: "→";
        position: absolute;
        left: 0;
        color: var(--tech-green);
        font-weight: bold;
        transition: transform 0.3s;
    }

.service-card:hover li::before {
    transform: translateX(5px);
}

/* Products Grid - Premium Cards */
/*.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}
*/
.product-card {
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.05), rgba(0, 212, 122, 0.05));
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 28px;
    border: 2px solid rgba(10, 102, 255, 0.2);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.8s ease-out forwards;
}

    .product-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .product-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .product-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .product-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .product-card:nth-child(5) {
        animation-delay: 0.5s;
    }

    .product-card:nth-child(6) {
        animation-delay: 0.6s;
    }

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    border-radius: 28px;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
}

.product-card:hover::before {
    opacity: 0.5;
}

.product-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 40px 100px rgba(10, 102, 255, 0.5);
}

.product-badge {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    border-radius: 50px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(10, 102, 255, 0.4);
}

.product-card h3 {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 900;
}

.product-card ul {
    list-style: none;
    color: var(--light-gray);
    margin-bottom: 35px;
}

.product-card li {
    padding: 12px 0;
    padding-left: 35px;
    position: relative;
    font-size: 16px;
}

    .product-card li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--tech-green);
        font-weight: bold;
        font-size: 20px;
    }

/* Industries Grid */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.industry-card {
    background: linear-gradient(135deg, rgba(26, 31, 38, 0.6), rgba(15, 20, 25, 0.6));
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(10, 102, 255, 0.2);
    text-align: center;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) rotate(-2deg);
    animation: rotateIn 0.6s ease-out forwards;
}

    .industry-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .industry-card:nth-child(2) {
        animation-delay: 0.15s;
    }

    .industry-card:nth-child(3) {
        animation-delay: 0.2s;
    }

    .industry-card:nth-child(4) {
        animation-delay: 0.25s;
    }

    .industry-card:nth-child(5) {
        animation-delay: 0.3s;
    }

    .industry-card:nth-child(6) {
        animation-delay: 0.35s;
    }

    .industry-card:nth-child(7) {
        animation-delay: 0.4s;
    }

    .industry-card:nth-child(8) {
        animation-delay: 0.45s;
    }

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: translateY(30px) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

.industry-card:hover {
    border-color: var(--tech-green);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 212, 122, 0.3);
}

.industry-icon {
    font-size: 64px;
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.5s;
}

.industry-card:hover .industry-icon {
    transform: scale(1.2) rotate(10deg);
}

.industry-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 800;
}

.industry-card p {
    color: var(--light-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* Founder Section */
.founder-module {
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.08), rgba(0, 212, 122, 0.08));
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 100px;
    border: 2px solid rgba(10, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

    .founder-module::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, rgba(10, 102, 255, 0.1), transparent);
        animation: rotate 20s linear infinite;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.founder-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.founder-image {
    width: 350px;
    height: 350px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 140px;
    color: var(--white);
    font-weight: 900;
    box-shadow: 0 30px 80px rgba(10, 102, 255, 0.5);
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

    .founder-image::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.2));
        transform: translateX(-100%);
        transition: transform 0.6s;
    }

    .founder-image:hover::before {
        transform: translateX(100%);
    }

    .founder-image:hover {
        transform: scale(1.05) rotate(-2deg);
    }

.founder-content h3 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 900;
}

.founder-title {
    font-size: 20px;
    color: var(--tech-green);
    margin-bottom: 35px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.founder-content p {
    color: var(--light-gray);
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 1.8;
}

.founder-quote {
    font-size: 22px;
    font-style: italic;
    color: var(--neon-blue);
    border-left: 5px solid var(--tech-green);
    padding-left: 35px;
    margin: 40px 0;
    font-weight: 300;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 35px;
}

    .social-links a {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: linear-gradient(135deg, rgba(10, 102, 255, 0.2), rgba(0, 212, 122, 0.2));
        backdrop-filter: blur(10px);
        border: 2px solid rgba(10, 102, 255, 0.4);
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--white);
        font-size: 26px;
        font-weight: bold;
        transition: all 0.4s;
    }

        .social-links a:hover {
            background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
            transform: translateY(-5px) rotate(5deg);
            box-shadow: 0 15px 40px rgba(10, 102, 255, 0.5);
        }

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: linear-gradient(135deg, rgba(26, 31, 38, 0.8), rgba(15, 20, 25, 0.8));
    backdrop-filter: blur(20px);
    padding: 28px;
    border-radius: 24px;
    border: 2px solid rgba(10, 102, 255, 0.3);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 35px;
    padding: 20px;
    background: rgba(10, 102, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s;
}

    .contact-item:hover {
        background: rgba(10, 102, 255, 0.1);
        transform: translateX(10px);
    }

.contact-icon {
    font-size: 36px;
    color: var(--tech-green);
}

.contact-item h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 800;
}

.contact-item p {
    color: var(--light-gray);
    font-size: 16px;
}

.contact-form {
    background: linear-gradient(135deg, rgba(26, 31, 38, 0.8), rgba(15, 20, 25, 0.8));
    backdrop-filter: blur(20px);
    padding: 28px;
    border-radius: 24px;
    border: 2px solid rgba(10, 102, 255, 0.3);
}

.form-group {
    margin-bottom: 30px;
}

    .form-group label {
        display: block;
        margin-bottom: 12px;
        color: var(--white);
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 2px;
        font-weight: 700;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 18px 20px;
        background: rgba(5, 10, 16, 0.6);
        border: 2px solid rgba(10, 102, 255, 0.3);
        border-radius: 12px;
        color: var(--white);
        font-size: 16px;
        transition: all 0.4s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--neon-blue);
            box-shadow: 0 0 30px rgba(10, 102, 255, 0.4);
            background: rgba(5, 10, 16, 0.8);
        }

    .form-group textarea {
        resize: vertical;
        min-height: 160px;
    }

/* Footer */
footer {
    background: var(--dark-gray);
    padding: 80px 0 40px;
    border-top: 2px solid rgba(10, 102, 255, 0.2);
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--white);
    font-weight: 800;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 15px;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    display: inline-block;
}

    .footer-section a::after {
        content: '';
        position: absolute;
        bottom: -3px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--tech-green);
        transition: width 0.3s;
    }

    .footer-section a:hover::after {
        width: 100%;
    }

    .footer-section a:hover {
        color: var(--neon-blue);
        transform: translateX(5px);
    }

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(10, 102, 255, 0.2);
    color: var(--light-gray);
    font-size: 15px;
}

/* AI Services Section Styles */
.ai-services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.ai-service-block {
    background: linear-gradient(135deg, rgba(26, 31, 38, 0.6), rgba(15, 20, 25, 0.6));
    backdrop-filter: blur(20px);
    border: 2px solid rgba(10, 102, 255, 0.2);
    border-radius: 28px;
    padding: 60px;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

    .ai-service-block::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(10, 102, 255, 0.1), transparent);
        transition: left 1s;
    }

    .ai-service-block:hover::before {
        left: 100%;
    }

    .ai-service-block:hover {
        border-color: var(--tech-green);
        transform: translateY(-5px);
        box-shadow: 0 30px 80px rgba(10, 102, 255, 0.3);
    }

.ai-service-header {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid rgba(10, 102, 255, 0.2);
}

.ai-icon-large {
    font-size: 80px;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.2), rgba(0, 212, 122, 0.2));
    border-radius: 24px;
    border: 2px solid rgba(10, 102, 255, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.ai-service-header h3 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 900;
}

.ai-subtitle {
    font-size: 18px;
    color: var(--light-gray);
    font-weight: 400;
}

.ai-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ai-feature-card {
    background: rgba(5, 10, 16, 0.6);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(10, 102, 255, 0.2);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

    .ai-feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 0;
        background: linear-gradient(180deg, var(--neon-blue), var(--tech-green));
        transition: height 0.4s;
    }

    .ai-feature-card:hover::before {
        height: 100%;
    }

    .ai-feature-card:hover {
        transform: translateX(10px);
        border-color: var(--neon-blue);
        background: rgba(10, 102, 255, 0.05);
    }

.ai-feature-icon {
    font-size: 42px;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.4s;
}

.ai-feature-card:hover .ai-feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.ai-feature-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 800;
}

.ai-feature-card p {
    color: var(--light-gray);
    font-size: 15px;
    line-height: 1.6;
}

/* AI Tech Stack */
.ai-tech-stack {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.08), rgba(0, 212, 122, 0.08));
    border-radius: 24px;
    border: 2px solid rgba(10, 102, 255, 0.2);
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.tech-category h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--tech-green);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tech-tag {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(10, 102, 255, 0.1);
    border: 1px solid rgba(10, 102, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s;
    cursor: default;
}

    .tech-tag:hover {
        background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(10, 102, 255, 0.4);
    }

/* Enhanced Computer Vision Block */
.ai-vision-block {
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.08), rgba(0, 212, 122, 0.08));
    border: 2px solid var(--neon-blue);
}

    .ai-vision-block:hover {
        box-shadow: 0 40px 100px rgba(10, 102, 255, 0.5);
    }

/* Enhanced Cards with Tech Badges */
.ai-card-highlight {
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.1), rgba(0, 212, 122, 0.05));
    border: 2px solid rgba(10, 102, 255, 0.3);
}

    .ai-card-highlight:hover {
        background: linear-gradient(135deg, rgba(10, 102, 255, 0.15), rgba(0, 212, 122, 0.1));
        border-color: var(--tech-green);
    }

.tech-badge-group {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.mini-tech-badge {
    padding: 5px 12px;
    background: rgba(0, 212, 122, 0.2);
    border: 1px solid var(--tech-green);
    border-radius: 20px;
    font-size: 11px;
    color: var(--tech-green);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Digital Transformation Block */
.ai-transform-block {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.05), rgba(0, 212, 122, 0.05));
    border: 2px solid rgba(138, 43, 226, 0.3);
}

    .ai-transform-block:hover {
        border-color: var(--tech-green);
        box-shadow: 0 40px 100px rgba(138, 43, 226, 0.3);
    }

/* Custom Solutions Block */
.ai-custom-block {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(0, 212, 122, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.3);
}

    .ai-custom-block:hover {
        border-color: #FFD700;
        box-shadow: 0 40px 100px rgba(255, 215, 0, 0.2);
    }

.custom-solutions-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.custom-solution-card {
    background: rgba(5, 10, 16, 0.8);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

    .custom-solution-card::after {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, transparent, rgba(255, 215, 0, 0.1), transparent 30%);
        animation: rotate 6s linear infinite;
    }

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.custom-solution-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FFD700;
    box-shadow: 0 30px 80px rgba(255, 215, 0, 0.3);
}

.custom-icon {
    font-size: 56px;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.custom-solution-card h4 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.custom-solution-card > p {
    color: var(--light-gray);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.custom-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

    .custom-list li {
        padding: 8px 0;
        padding-left: 25px;
        position: relative;
        color: var(--light-gray);
        font-size: 14px;
    }

        .custom-list li::before {
            content: "✨";
            position: absolute;
            left: 0;
            color: #FFD700;
        }

.custom-cta {
    text-align: center;
    padding: 50px;
    background: linear-gradient(135deg, rgba(10, 102, 255, 0.1), rgba(0, 212, 122, 0.1));
    border-radius: 20px;
    border: 2px solid rgba(10, 102, 255, 0.3);
}

    .custom-cta h4 {
        font-size: 32px;
        margin-bottom: 15px;
        color: var(--white);
        font-weight: 900;
    }

    .custom-cta p {
        font-size: 18px;
        color: var(--light-gray);
        max-width: 700px;
        margin: 0 auto;
    }

/* Responsive */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 60px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .founder-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .founder-image {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero .subheading {
        font-size: 20px;
        line-height: 1.6;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .founder-module {
        padding: 40px 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

    .scroll-reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

/* --- LOGO IMAGE ANIMATION V2 --- */
.logo-image {
    width: 70px;
    height: 70px;
    object-fit: contain;
    /* ------ alignment fixes ------ */
    display: block;
    transform-origin: center;
    margin-top: -6px; /* KEY FIX: raises logo for perfect alignment */

    opacity: 0;
    transform: scale(0.6) rotate(0deg);
    animation: logoIntro 1s ease-out forwards, logoLoop 4s ease-in-out infinite 1.2s;
}
nav ul li a {
    line-height: 90px; /* SAME AS NAV HEIGHT */
    display: inline-block;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 55px; /* Ensures stable height */
}

/* --- INTRO: Smooth fade + rise + glow --- */
@keyframes logoIntro {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
        filter: drop-shadow(0 0 0px #000);
    }

    40% {
        opacity: 1;
        transform: scale(1.15) rotate(4deg);
        filter: drop-shadow(0 0 6px var(--neon-blue));
    }

    70% {
        transform: scale(0.95) rotate(-2deg);
        filter: drop-shadow(0 0 12px var(--tech-green));
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 4px var(--neon-blue));
    }
}

/* --- LOOP: Soft breathing, glowing, micro-rotation --- */
@keyframes logoLoop {
    0% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 4px var(--neon-blue));
    }

    20% {
        transform: scale(1.08) rotate(3deg);
        filter: drop-shadow(0 0 12px var(--tech-green));
    }

    50% {
        transform: scale(0.97) rotate(-3deg);
        filter: drop-shadow(0 0 6px var(--neon-blue));
    }

    80% {
        transform: scale(1.10) rotate(4deg);
        filter: drop-shadow(0 0 14px var(--tech-green));
    }

    100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 5px var(--neon-blue));
    }
}

.reveal {
    display: inline-block;
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-blue), var(--tech-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: moveLeftRight 4s linear infinite;
}

@keyframes moveLeftRight {
    0% {
        transform: translateX(-40px);
        opacity: 0;
    }

    20% {
        transform: translateX(0px);
        opacity: 1;
    }

    80% {
        transform: translateX(0px);
        opacity: 1;
    }

    100% {
        transform: translateX(40px);
        opacity: 0;
    }
}



.theme-toggle {
    margin-left: 20px;
    padding: 10px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.05);
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    color: var(--white);
}

    .theme-toggle:hover {
        background: rgba(255,255,255,0.15);
        border-color: var(--tech-green);
        box-shadow: 0 0 15px rgba(0,212,122,0.4);
    }

body.light-theme .theme-toggle {
    background: #e6edf7;
    color: #050A10;
    border-color: rgba(0,0,0,0.2);
}
/* -------------------------------------------
   FULL LIGHT THEME PATCH FIX
   Overrides all remaining dark-mode hardcoded 
   backgrounds & text colors.
-------------------------------------------- */

/* ============================================================
   FULL LIGHT MODE THEME - PREMIUM SAAS STYLE
   Apply with: <body class="light-theme">
   This transforms your entire site into a clean white UI.
============================================================ */

/* ============================================================
   FULL LIGHT MODE THEME — PREMIUM SAAS UI
   Applies only when body has class: light-theme
============================================================ */

/* -------- GLOBAL -------- */
body.light-theme {
    background: #F5F8FC !important;
    color: #0A0A0A !important;
}

    body.light-theme p,
    body.light-theme span,
    body.light-theme li {
        color: #444 !important;
    }

    body.light-theme h1,
    body.light-theme h2,
    body.light-theme h3,
    body.light-theme h4 {
        color: #0A0A0A !important;
    }

    body.light-theme .section-title {
        background: linear-gradient(135deg, #0A0A0A, #4C5A67) !important;
        -webkit-background-clip: text;
    }

    /* -------- NAV -------- */
    body.light-theme nav {
        background: rgba(255,255,255,0.9) !important;
        border-bottom: 1px solid rgba(0,0,0,0.12) !important;
    }

        body.light-theme nav a {
            color: #0A0A0A !important;
        }

    body.light-theme .theme-toggle {
        background: #E4EBF5 !important;
        color: #0A0A0A !important;
        border-color: rgba(0,0,0,0.2) !important;
    }

    /* -------- HERO BACKGROUND -------- */
    body.light-theme .hero {
        background: linear-gradient(135deg, #F8FBFF 0%, #ECF3F8 100%) !important;
        z-index: 0;
    }

        body.light-theme .hero::before {
            background: radial-gradient( circle at 40% 40%, rgba(10, 102, 255, 0.05), rgba(0, 212, 122, 0.04) 40%, rgba(255,255,255,0.4) 100% ) !important;
            opacity: 0.20 !important;
            filter: brightness(1.4) contrast(1.1);
            z-index: 0 !important; /* push background behind bubbles */
        }

        body.light-theme .hero .subheading {
            color: #515C66 !important;
        }

    /* -------- FLOATING BUBBLE SHAPES -------- */
    body.light-theme .floating-shape {
        opacity: 0.12 !important;
        filter: blur(2px) brightness(1.5);
        z-index: 1 !important; /* ensures bubbles appear above overlay */
    }

    body.light-theme .shape-1 {
        background: rgba(0, 140, 255, 0.45) !important; /* Bright tech blue */
    }

    body.light-theme .shape-2 {
        background: rgba(0, 210, 140, 0.45) !important; /* Vibrant green */
    }

    body.light-theme .shape-3 {
        background: rgba(0, 165, 255, 0.40) !important; /* Aqua blue */
    }

    /* -------- BUTTONS -------- */
    body.light-theme .btn-secondary {
        background: rgba(10,102,255,0.08) !important;
        border-color: rgba(10,102,255,0.4) !important;
        color: #0A0A0A !important;
    }

        body.light-theme .btn-secondary:hover {
            background: rgba(10,102,255,0.16) !important;
            border-color: #00D47A !important;
        }

    body.light-theme .btn-primary {
        box-shadow: 0 10px 30px rgba(0,150,255,0.25) !important;
    }

    /* ============================================================
   UNIVERSAL CARDS (ALL MODULES)
============================================================ */

    body.light-theme .module-card,
    body.light-theme .service-card,
    body.light-theme .industry-card,
    body.light-theme .ai-service-block,
    body.light-theme .ai-feature-card,
    body.light-theme .product-card,
    body.light-theme .custom-solution-card,
    body.light-theme .ai-card-highlight,
    body.light-theme .ai-custom-block,
    body.light-theme .ai-transform-block,
    body.light-theme .contact-info,
    body.light-theme .contact-form {
        background: #FFFFFF !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        box-shadow: 0 8px 28px rgba(0,0,0,0.04) !important;
        color: #0A0A0A !important;
        border-radius: 18px !important;
    }

        body.light-theme .module-card * {
            color: #0A0A0A !important;
        }

    /* ============================================================
   ABOUT + MISSION + VISION SECTION (LEFT PANEL)
============================================================ */

    body.light-theme .about-content h3 {
        font-size: 30px !important;
        font-weight: 900 !important;
        color: #008F4C !important;
        margin-bottom: 20px !important;
    }

    body.light-theme .about-content h4 {
        font-size: 26px !important;
        font-weight: 900 !important;
        margin-top: 30px !important;
        margin-bottom: 10px !important;
        color: #00A868 !important;
    }

    body.light-theme .about-content p {
        font-size: 16px !important;
        line-height: 1.75 !important;
    }

    /* Better spacing between columns */
    body.light-theme .about-grid {
        column-gap: 60px !important;
    }

    /* ============================================================
   STATS CARDS (RIGHT PANEL)
============================================================ */
    body.light-theme .stat-card {
        background: #FFFFFF !important;
        border: 1px solid rgba(0,0,0,0.06) !important;
        box-shadow: 0 6px 18px rgba(0,0,0,0.04) !important;
        padding: 30px !important;
        border-radius: 18px !important;
        transition: transform .2s ease, box-shadow .2s ease;
    }

        body.light-theme .stat-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 12px 24px rgba(0,0,0,0.08) !important;
        }

    body.light-theme .stat-number {
        font-size: 34px !important;
        font-weight: 900 !important;
        background: linear-gradient(135deg, #007BFF, #00D47A) !important;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    body.light-theme .stat-label {
        font-size: 13px !important;
        color: #666 !important;
        letter-spacing: 1px !important;
    }

    /* ============================================================
   SERVICES / AI SERVICES / PRODUCT CARDS
============================================================ */

    body.light-theme .service-card h3,
    body.light-theme .product-card h3,
    body.light-theme .industry-card h3,
    body.light-theme .ai-feature-card h4 {
        color: #0A0A0A !important;
    }

    body.light-theme .service-card li,
    body.light-theme .product-card li,
    body.light-theme .industry-card p,
    body.light-theme .ai-feature-card p {
        color: #555 !important;
    }

    /* AI Services Main Block */
    body.light-theme .ai-service-block {
        border: 1px solid rgba(0,0,0,0.10) !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.06) !important;
    }

    body.light-theme .ai-subtitle {
        color: #666 !important;
    }

    /* ============================================================
   FOUNDER SECTION
============================================================ */
    body.light-theme .founder-module {
        background: #FFFFFF !important;
        border: 1px solid rgba(0,0,0,0.12) !important;
    }

    body.light-theme .founder-content p {
        color: #555 !important;
    }

    body.light-theme .founder-title {
        color: #0A66FF !important;
    }

    /* ============================================================
   CONTACT SECTION
============================================================ */

    body.light-theme .contact-item {
        background: #F4F7FB !important;
    }

        body.light-theme .contact-item:hover {
            background: #E8EDF7 !important;
        }

        body.light-theme .contact-item h4 {
            color: #0A0A0A !important;
        }

        body.light-theme .contact-item p {
            color: #555 !important;
        }

    body.light-theme .form-group label {
        color: #0A0A0A !important;
    }

    body.light-theme .form-group input,
    body.light-theme .form-group textarea {
        background: #FFFFFF !important;
        color: #0A0A0A !important;
        border-color: rgba(0,0,0,0.2) !important;
    }

    /* ============================================================
   FOOTER
============================================================ */
    body.light-theme footer {
        background: #EEF3FA !important;
        border-top: 1px solid rgba(0,0,0,0.12) !important;
    }

    body.light-theme .footer-section h4 {
        color: #0A0A0A !important;
    }

    body.light-theme .footer-section a {
        color: #444 !important;
    }

    body.light-theme .footer-bottom {
        color: #666 !important;
    }

    /* ============================================================
   FIX ALL DARK BLOCKS IN LIGHT MODE
   (Core Services, Products, Industries, Contact, Footer blocks)
============================================================ */

    /* DARK MODULE OVERRIDE */
    body.light-theme .module-dark,
    body.light-theme .dark-section,
    body.light-theme .services-section,
    body.light-theme .products-section,
    body.light-theme .industries-section,
    body.light-theme .contact-section {
        background: #F5F8FC !important; /* Soft SaaS background */
        box-shadow: inset 0 0 0 rgba(0,0,0,0) !important;
        border: none !important;
    }

        /* Remove top dark gradient bar */
        body.light-theme .module-dark::before,
        body.light-theme .dark-section::before {
            content: none !important;
            display: none !important;
        }

    /* Fix spacing (dark mode sections used thicker padding) */
    body.light-theme .module-dark,
    body.light-theme .dark-section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* SECTION TITLE BAR FIX */
    body.light-theme .section-label {
        background: rgba(10,102,255,0.12) !important;
        border: 1px solid rgba(10,102,255,0.25) !important;
        color: #0A3D8F !important;
    }

    /* SECTION DESCRIPTION FIX */
    body.light-theme .section-description {
        color: #555 !important;
    }

    /* Remove dark gradient strips mistakenly shown under title */
    body.light-theme .section-header::after,
    body.light-theme .section-header-gradient {
        display: none !important;
    }

    /* ============================================================
   LIGHT MODE — FIX SECTION HEADER TEXT COLORS
============================================================ */

    body.light-theme .section-header {
        text-align: center;
    }

    body.light-theme .section-label {
        background: rgba(10,102,255,0.15) !important;
        border: 1px solid rgba(10,102,255,0.25) !important;
        color: #0A3D8F !important;
    }

    body.light-theme .section-title {
        color: #0A0A0A !important;
    }

    body.light-theme .section-description {
        color: #2E3A45 !important; /* premium SaaS text color */
        font-size: 17px !important;
        font-weight: 500 !important;
        line-height: 1.65 !important;
        max-width: 780px;
        margin: 20px auto 0 auto !important;
    }

    /* FIX SECTION TITLE FOR LIGHT MODE */
    body.light-theme .section-title {
        background: none !important; /* remove dark gradient */
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: initial !important;
        color: #0A0A0A !important; /* pure dark text */
    }

    /* ============================================================
   LIGHT MODE — HERO SECTION FIX
============================================================ */

    /* Softer background (less fog, more clean white space) */
    body.light-theme .hero {
        background: linear-gradient(135deg, #F4F8FC 0%, #ECF3F9 100%) !important;
        backdrop-filter: none !important;
    }

        /* Make bubbles visible but extremely subtle */
        body.light-theme .hero::before,
        body.light-theme .hero::after {
            opacity: 0.12 !important; /* was too bright and foggy */
            filter: blur(40px) !important;
        }

        /* Fix HERO Title — stronger gradient + better contrast */
        body.light-theme .hero-title,
        body.light-theme .hero h1 {
            background: linear-gradient(90deg, #2F78FF 0%, #007BFF 40%, #00C3AA 100%) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            font-weight: 800 !important;
            letter-spacing: -0.5px !important;
        }

        /* Fix HERO subtitle — slightly darker for readability */
        body.light-theme .hero-subtitle,
        body.light-theme .hero p {
            color: #44515F !important;
            font-weight: 500 !important;
        }

    /* Buttons refinement */
    body.light-theme .btn-primary {
        box-shadow: 0 8px 28px rgba(0,150,255,0.25) !important;
    }

    body.light-theme .btn-secondary {
        border-color: rgba(0,0,0,0.2) !important;
        color: #0A0A0A !important;
    }

    /* ============================================================
   LIGHT MODE — ABOUT / EXCELLENCE SECTION FIX
============================================================ */

    /* Softer, cleaner background instead of heavy gradient */
    body.light-theme .about-section,
    body.light-theme .excellence-section,
    body.light-theme .module-about {
        background: linear-gradient(135deg, #F8FBFE 0%, #EFF6F9 100%) !important;
        border-radius: 18px !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
        padding: 45px 40px !important;
    }

        /* Title “18+ Years of Excellence” */
        body.light-theme .about-section h2,
        body.light-theme .excellence-section h2 {
            color: #1A5CB8 !important; /* premium blue, not neon green */
            font-weight: 700 !important;
        }

        /* Body text */
        body.light-theme .about-section p,
        body.light-theme .excellence-section p {
            color: #4A5568 !important; /* better readability */
            line-height: 1.7 !important;
        }

        /* Mission & Vision headers */
        body.light-theme .about-section h3 {
            color: #0F3C80 !important; /* dark blue — enterprise look */
            margin-top: 32px !important;
        }

        /* Mission/Vision bold paragraphs */
        body.light-theme .about-section b {
            color: #2A3646 !important;
        }

    /* STAT CARDS */
    body.light-theme .stat-card {
        background: #FFFFFF !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.04) !important;
        border-radius: 16px !important;
    }

    /* Gradient bars inside stat cards */
    body.light-theme .stat-bar {
        background: linear-gradient(90deg, #2F78FF 0%, #00C3AA 100%) !important;
        border-radius: 10px !important;
    }

    /* Stat labels */
    body.light-theme .stat-label {
        color: #4A5568 !important;
        font-weight: 600 !important;
    }

    /* ==========================================
   FIX: SECTION TITLE COLOR IN LIGHT MODE
   (This MUST override the dark-mode gradient)
=========================================== */
    body.light-theme .section-title {
        background: linear-gradient(90deg, #0A3D8F, #009B72) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        font-weight: 900 !important;
    }

    body.light-theme .stat-card {
        background: #FFFFFF !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        box-shadow: 0 6px 18px rgba(0,0,0,0.06) !important;
    }

    body.light-theme .stat-number {
        background: linear-gradient(135deg, #007BFF, #00B47A) !important;
        -webkit-background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    body.light-theme .stat-label {
        color: #4A5568 !important;
    }

 
    /* ----------------------------------------------------------
   LIGHT MODE — Glassmorphism for INDUSTRY CARDS
----------------------------------------------------------- */

    body.light-theme .industry-card {
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(18px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.65) !important;
        border-radius: 22px !important;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06), inset 0 0 0 rgba(255,255,255,0.4) !important;
        transition: all 0.35s ease;
        color: #0A0A0A !important;
    }

        /* --- Hover: glossy, lifted, premium --- */
        body.light-theme .industry-card:hover {
            background: rgba(255, 255, 255, 0.75) !important;
            transform: translateY(-6px) scale(1.02);
            border-color: rgba(0, 150, 255, 0.45) !important;
            box-shadow: 0 16px 32px rgba(0,0,0,0.10), 0 0 12px rgba(0,150,255,0.18) !important;
        }

        /* --- Icon glow subtle --- */
        body.light-theme .industry-card .industry-icon {
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
        }

        /* --- Title & description colors --- */
        body.light-theme .industry-card h3 {
            color: #0A0A0A !important;
            font-weight: 800 !important;
        }

        body.light-theme .industry-card p {
            color: #4A5662 !important;
            font-size: 15px !important;
            line-height: 1.55 !important;
        }
    /* ------------------------------------------------------------
   LIGHT MODE — PREMIUM CARD STYLE (MATCHES DARK MODE)
   Applies to: service-card, ai-feature, ai-service-block,
   industry-card, product-card etc.
------------------------------------------------------------ */

    body.light-theme .service-card,
    body.light-theme .industry-card,
    body.light-theme .ai-feature-card,
    body.light-theme .ai-service-block,
    body.light-theme .product-card {
        background: linear-gradient(135deg, #ffffff, #f5f8fc) !important;
        border-radius: 22px !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        /* subtle neon glow like dark mode */
        box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 0 0 2px rgba(10, 102, 255, 0.05), 0 0 12px rgba(0, 212, 122, 0.10) !important;
        transition: all .35s ease;
        backdrop-filter: none !important; /* remove full glass */
    }

        /* ---------- Hover Glow (Same feel as Dark Mode) --------- */
        body.light-theme .service-card:hover,
        body.light-theme .industry-card:hover,
        body.light-theme .ai-feature-card:hover,
        body.light-theme .ai-service-block:hover,
        body.light-theme .product-card:hover {
            transform: translateY(-6px);
            border-color: rgba(0, 200, 120, 0.35) !important;
            box-shadow: 0 6px 18px rgba(0,0,0,0.08), 0 0 0 2px rgba(0,200,120,0.15), 0 0 18px rgba(10,102,255,0.12) !important;
        }

        /* ---------- Icons Slight Glow ---------- */
        body.light-theme .service-card .service-icon,
        body.light-theme .industry-card .industry-icon,
        body.light-theme .ai-feature-card .ai-feature-icon {
            filter: drop-shadow(0 4px 6px rgba(0,0,0,0.10));
        }

        /* ---------- Text Colors (Dark Accurate SaaS Colors) --------- */
        body.light-theme .service-card h3,
        body.light-theme .industry-card h3,
        body.light-theme .ai-feature-card h4,
        body.light-theme .product-card h3 {
            color: #0A0A0A !important;
        }

        body.light-theme .service-card p,
        body.light-theme .industry-card p,
        body.light-theme .ai-feature-card p,
        body.light-theme .product-card li {
            color: #4A5568 !important;
        }

        /* ---------- Tag/Bubble Chips Match Dark Mode ---------- */
        body.light-theme .service-card .tech-badge,
        body.light-theme .industry-card .tech-badge,
        body.light-theme .ai-feature-card .tech-badge {
            background: rgba(10,102,255,0.08) !important;
            color: #0A3D8F !important;
        }

    /* ------------------------------------------------------------
   LIGHT MODE — GLASS STYLE FOR SERVICE CARDS ONLY
   (Applies to: DevOps & Agile, Cloud, AI, etc.)
------------------------------------------------------------ */

    body.light-theme .service-card {
        background: rgba(255, 255, 255, 0.55) !important;
        backdrop-filter: blur(18px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(18px) saturate(160%) !important;
        border: 1px solid rgba(255, 255, 255, 0.65) !important;
        border-radius: 22px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06), inset 0 0 0 rgba(255, 255, 255, 0.4) !important;
        transition: all 0.35s ease !important;
        transform: translateY(0) !important;
    }

        /* Hover — premium floating glass feel */
        body.light-theme .service-card:hover {
            background: rgba(255, 255, 255, 0.78) !important;
            transform: translateY(-6px) scale(1.02) !important;
            border-color: rgba(0, 150, 255, 0.45) !important;
            box-shadow: 0 16px 32px rgba(0, 0, 0, 0.10), 0 0 12px rgba(0,150,255,0.18) !important;
        }

        /* Icon glow for glass cards */
        body.light-theme .service-card .service-icon {
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)) !important;
        }

        /* Title text color fix */
        body.light-theme .service-card h3 {
            color: #0A0A0A !important;
            font-weight: 800 !important;
        }

        /* Description text */
        body.light-theme .service-card p,
        body.light-theme .service-card li {
            color: #4A5662 !important;
        }

            /* Bullet arrow color */
            body.light-theme .service-card li::before {
                color: #00A868 !important;
            }
/* ------------------------------------------------------------------
   LIGHT MODE — GLASS CARDS FOR "Custom AI Solutions & Bespoke Dev"
------------------------------------------------------------------- */

body.light-theme .ai-solutions-section .service-card {
    background: rgba(255, 255, 255, 0.55) !important;
    backdrop-filter: blur(18px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(160%) !important;

    border-radius: 22px !important;
    border: 1px solid rgba(255, 255, 255, 0.65) !important;

    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.08),
        inset 0 0 0 rgba(255, 255, 255, 0.35) !important;

    padding: 32px !important;
    transition: 0.35s ease !important;
}

/* Hover effect */
body.light-theme .ai-solutions-section .service-card:hover {
    background: rgba(255, 255, 255, 0.78) !important;
    transform: translateY(-6px) scale(1.02) !important;

    border-color: rgba(0, 150, 255, 0.35) !important;

    box-shadow:
        0 18px 38px rgba(0, 0, 0, 0.12),
        0 0 22px rgba(0, 170, 255, 0.20) !important;
}

/* Icon subtle glow */
body.light-theme .ai-solutions-section .service-card .service-icon {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15)) !important;
}

/* Title text fix */
body.light-theme .ai-solutions-section .service-card h3 {
    color: #0d0d0d !important;
    font-weight: 800 !important;
}

/* Body text */
body.light-theme .ai-solutions-section .service-card p,
body.light-theme .ai-solutions-section .service-card li {
    color: #4a5562 !important;
}

/* Bullet icon */
body.light-theme .ai-solutions-section .service-card li::before {
    color: #00a878 !important;
}


    /* ------------------------------ */
    /* CUSTOM AI SECTION — LIGHT MODE */
    /* ------------------------------ */
    body.light-theme .ai-custom-block {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(18px) saturate(180%);
        border-radius: 28px;
        border: 1px solid rgba(255, 255, 255, 0.4);
        padding: 40px;
        box-shadow: 0 0 50px rgba(180, 200, 255, 0.25);
    }

        /* Light glass cards */
        body.light-theme .ai-custom-block .custom-solution-card {
            background: rgba(255, 255, 255, 0.6);
            backdrop-filter: blur(18px);
            border-radius: 22px;
            border: 1px solid rgba(255, 255, 255, 0.55);
            padding: 28px;
            transition: 0.3s ease;
            box-shadow: 0px 12px 30px rgba(180, 200, 255, 0.18);
        }

            /* hover effect */
            body.light-theme .ai-custom-block .custom-solution-card:hover {
                transform: translateY(-6px);
                box-shadow: 0px 20px 45px rgba(160, 180, 255, 0.32);
            }

        /* CTA section */
        body.light-theme .ai-custom-block .custom-cta {
            background: rgba(255, 255, 255, 0.55);
            border-radius: 20px;
            padding: 30px;
            margin-top: 40px;
            border: 1px solid rgba(255, 255, 255, 0.5);
            backdrop-filter: blur(14px);
        }

    /* ============================================================
   LIGHT MODE FIX — Custom AI Solutions & Bespoke Development
   ONLY this section gets glass-style premium white cards
============================================================ */

    body.light-theme .ai-custom-block {
        background: rgba(255, 255, 255, 0.6) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        border-radius: 28px !important;
        border: 1px solid rgba(0,0,0,0.06) !important;
        box-shadow: 0 12px 30px rgba(0,0,0,0.06) !important;
    }

        /* Header (title + emoji block) */
        body.light-theme .ai-custom-block .ai-service-header {
            border-bottom: 1px solid rgba(0,0,0,0.07) !important;
        }

        body.light-theme .ai-custom-block h3 {
            color: #0A0A0A !important;
        }

        body.light-theme .ai-custom-block .ai-subtitle {
            color: #444 !important;
        }

    /* --- Custom solution cards (4 cards) --- */
    body.light-theme .custom-solution-card {
        background: rgba(255, 255, 255, 0.65) !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        backdrop-filter: blur(16px) saturate(160%) !important;
        border-radius: 22px !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06) !important;
    }

        body.light-theme .custom-solution-card:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 14px 32px rgba(0,0,0,0.12) !important;
            border-color: rgba(255, 200, 0, 0.4) !important; /* soft gold */
        }

        /* Emoji icon */
        body.light-theme .custom-solution-card .custom-icon {
            filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
        }

        /* Headings & text */
        body.light-theme .custom-solution-card h4 {
            color: #0A0A0A !important;
        }

        body.light-theme .custom-solution-card p,
        body.light-theme .custom-solution-card li {
            color: #444 !important;
        }

            /* Bullet gold icon */
            body.light-theme .custom-solution-card li::before {
                color: #D4A000 !important;
            }

    /* CTA section */
    body.light-theme .custom-cta {
        background: rgba(255, 255, 255, 0.65) !important;
        border: 1px solid rgba(0,0,0,0.08) !important;
        border-radius: 20px !important;
        backdrop-filter: blur(12px) !important;
    }

        body.light-theme .custom-cta h4 {
            color: #0A0A0A !important;
        }

        body.light-theme .custom-cta p {
            color: #444 !important;
        }

    /* ==========================================================
   GOLDEN GLOW HOVER EFFECT FOR CUSTOM AI SOLUTIONS SECTION
========================================================== */

    /* Outer block hover glow */
    body.light-theme .ai-custom-block:hover {
        border: 2px solid #FFD700 !important;
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.35), 0 0 40px rgba(255, 215, 0, 0.25), 0 0 80px rgba(255, 215, 0, 0.15) !important;
        transition: 0.4s ease;
    }

    /* Glow on each card inside */
    body.light-theme .ai-custom-block .custom-solution-card:hover {
        border: 2px solid #FFD700 !important;
        box-shadow: 0 10px 30px rgba(255, 215, 0, 0.35), 0 0 20px rgba(255, 215, 0, 0.25), inset 0 0 12px rgba(255, 215, 0, 0.25) !important;
        transform: translateY(-8px) scale(1.03);
    }

    /* CTA hover effect */
    body.light-theme .ai-custom-block .custom-cta:hover {
        border: 2px solid #FFD700 !important;
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.35), inset 0 0 18px rgba(255, 215, 0, 0.25) !important;
        transform: scale(1.02);
    }


/* Scroll on Mobile */
.premium-scroll {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
}

    .premium-scroll::-webkit-scrollbar {
        display: none;
    }

/* Product Cards */
.product-card {
    min-width: 340px;
    padding: 30px;
    border-radius: 20px;
    background: var(--card-gradient);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 0px transparent;
    transition: 0.35s ease;
    scroll-snap-align: start;
    position: relative;
    backdrop-filter: blur(6px);

}


/* Product Icon */
.product-icon {
    font-size: 42px;
    margin-bottom: 15px;
}

/* Hover Glow */
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(255,215,0,0.35), 0 0 10px rgba(255,215,0,0.25);
    border-color: rgba(255,215,0,0.6);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

    .fade-in[data-delay] {
        animation-delay: attr(data-delay s);
    }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ================================================
   FINAL HORIZONTAL SCROLL FOR PRODUCT CARDS
================================================ */

/* make section more compact */
#products.module {
    padding: 40px 0 !important;
}

/* top row with hint + arrows */
.products-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -20px 0 10px;
}

.products-hint {
    font-size: 13px;
    color: var(--light-gray);
}

/* horizontal slider container */
#products .products-grid {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 10px 5px 20px 5px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

    #products .products-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari/Edge */
    }

/* each card behaves like a slide */
#products .product-card {
    flex: 0 0 auto;
    min-width: 320px;
    max-width: 420px;
    scroll-snap-align: start;
    padding: 24px 26px;
    border-radius: 18px;
}

/* arrows */
.scroll-arrows {
    display: flex;
    gap: 10px;
}

    .scroll-arrows .arrow {
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.3);
        color: #fff;
        width: 40px;
        height: 40px;
        border-radius: 999px;
        cursor: pointer;
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: 0.25s ease;
    }

        .scroll-arrows .arrow:hover {
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 0 18px rgba(255,215,0,0.4);
            border-color: rgba(255,215,0,0.8);
        }

/* COMMON STYLE FOR BOTH THEMES */
.slider-arrows {
    display: flex;
    gap: 18px;
    justify-content: center;
    margin-top: 25px;
}

    .slider-arrows .arrow {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 26px;
        cursor: pointer;
        transition: all 0.25s ease;
        backdrop-filter: blur(12px);
        font-weight: 700;
    }

/* DARK MODE */
body.dark-theme .slider-arrows .arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: white;
}

    body.dark-theme .slider-arrows .arrow:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-3px);
        box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
    }

/* LIGHT MODE */
body.light-theme .slider-arrows .arrow {
    background: rgba(0, 0, 0, 0.05);
    border: 2px solid rgba(0, 0, 0, 0.12);
    color: #0A2540;
}

    body.light-theme .slider-arrows .arrow:hover {
        background: rgba(0, 0, 0, 0.10);
        transform: translateY(-3px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    }

.arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 60px;
    transition: 0.3s;
    user-select: none;
}

    .arrow:hover {
        background: rgba(255,215,0,0.25);
        border-color: #FFD700;
        box-shadow: 0 0 15px rgba(255,215,0,0.3);
    }


.logo {
    width: 600px;
    display: flex;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    height: 50px;
    width: 550px;
    display: flex;
    align-items: center;
}

/* Arrow re-appears and stays fixed */
.logo-arrow {
    position: absolute;
    left: -40px; /* adjust this value until arrow is perfect */
    font-size: 24px;
    color: #00b4d8;
}

/* Stack both GIFs */
.logo-img {
    position: absolute;
    top: 0;
    left: 0;
    height: 50px;
    width: 550px;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.25s ease-in-out;
}

/* Dark mode default */
.dark-logo {
    opacity: 1;
}

.light-logo {
    opacity: 0;
}

/* Light theme switch */
body.light-theme .dark-logo {
    opacity: 0;
}

body.light-theme .light-logo {
    opacity: 1;
}


/* PRODUCT CARD — LIGHT MODE FIX */
body.light-theme .product-card {
    background: linear-gradient(135deg, #e9f5ff, #dff7ec) !important;
    color: #0f1a2a !important; /* Dark premium blue/black */
    border: 1px solid rgba(0,0,0,0.06);
}

    /* Product Title */
    body.light-theme .product-card h3 {
        color: #0a2540 !important;
        font-weight: 900;
    }

    /* Product Description Items */
    body.light-theme .product-card ul li {
        color: #0b2d4d !important;
        font-size: 16px;
        font-weight: 500;
    }

    /* Product Badge */
    body.light-theme .product-card .product-badge {
        background: linear-gradient(90deg, #007bff, #08c6ab) !important;
        color: white !important;
        border: none !important;
        box-shadow: 0 4px 15px rgba(0, 150, 255, 0.25);
    }

    /* LIST ICON COLOR FIX */
    body.light-theme .product-card ul li::before {
        color: #00b894 !important; /* premium green check */
    }

    /* BUTTON FIXES */
    body.light-theme .product-card .btn-primary {
        background: linear-gradient(90deg, #007bff, #00d084) !important;
        color: #ffffff !important;
        box-shadow: 0 4px 18px rgba(0, 150, 255, 0.25);
    }

/* REMOVE HUGE GAP AFTER ABOUT SECTION */
#about .module-card {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

/* REDUCE TOP SPACE BEFORE CORE SERVICES */
.core-services,
#services,
.services-section {
    margin-top: -40px !important;
    padding-top: 20px !important;
}

/* If background circle container is too tall */
.bg-dark,
.dark-bg,
.section-dark {
    padding-top: 40px !important;
}

.footer-tagline {
    margin: 6px 0 12px;
    font-size: 15px; /* slightly bigger base */
    font-weight: 600;
    letter-spacing: 0.35px;
    color: rgba(255, 255, 255, 0.78);
    /* Glow */
    text-shadow: 0 0 6px rgba(0, 255, 213, 0.25), 0 0 12px rgba(0, 255, 213, 0.15);
    /* Animation */
    animation: footerGlowPulse 4s ease-in-out infinite;
    /* Important: smooth scaling */
    display: inline-block;
    transform-origin: center;
}

@keyframes footerGlowPulse {
    0% {
        transform: scale(1);
        opacity: 0.75;
        text-shadow: 0 0 4px rgba(0, 255, 213, 0.2), 0 0 8px rgba(0, 255, 213, 0.12);
    }

    40% {
        transform: scale(1.06); /* gently bigger */
        opacity: 1;
        text-shadow: 0 0 12px rgba(0, 255, 213, 0.45), 0 0 22px rgba(0, 255, 213, 0.25);
    }

    70% {
        transform: scale(0.97); /* slightly smaller */
        opacity: 0.85;
        text-shadow: 0 0 6px rgba(0, 255, 213, 0.3), 0 0 12px rgba(0, 255, 213, 0.18);
    }

    100% {
        transform: scale(1);
        opacity: 0.75;
        text-shadow: 0 0 4px rgba(0, 255, 213, 0.2), 0 0 8px rgba(0, 255, 213, 0.12);
    }
}

.footer-tagline:hover {
    animation-duration: 2s;
    transform: scale(1.08);
}

/* ================================
   SINGLE CONTACT FORM LAYOUT
   ================================ */

.contact-single-layout .contact-grid {
    display: flex;
    justify-content: center;
}

/* Centered form width */
.contact-single-layout .contact-form {
    max-width: 640px;
    width: 100%;
}

/* Remove unused spacing effect */
.contact-single-layout .contact-grid::before,
.contact-single-layout .contact-grid::after {
    content: none;
}
.contact-single-layout .contact-form {
    padding: 32px;
}

    .contact-single-layout .contact-form h3 {
        margin-bottom: 20px;
        font-size: 24px;
    }

#formStatus {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
}

.founder-image {
    width: 350px;
    height: 350px;
    border-radius: 24px;
    padding: 6px;
    background: linear-gradient(135deg, #0a66ff, #00ffd5);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    /* subtle grounding */
    box-shadow: 0 18px 45px rgba(10, 102, 255, 0.25);
}

    .founder-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 18%;
        border-radius: 18px;
        background: #fff;
    }
/* ============================================================
   FINAL MOBILE OVERRIDE — ESOFT AI (MERGED & CLEAN)
   Target: Phones ≤ 768px (iPhone SE safe)
============================================================ */
@media (max-width: 768px) {

    /* ------------------------------------------------
     GLOBAL BASE
  ------------------------------------------------ */
    html, body {
        overflow-x: hidden;
    }

    body {
        font-size: 15px;
        line-height: 1.6;
    }

    .container {
        padding: 0 16px;
    }

    /* ------------------------------------------------
     NAVIGATION
  ------------------------------------------------ */
    nav {
        height: 64px;
    }

        nav ul {
            display: none !important;
        }

    .logo,
    .logo-wrapper,
    .logo-img {
        max-width: 100%;
        width: auto;
    }

    .logo-wrapper {
        width: 220px;
        height: 44px;
    }

    /* ------------------------------------------------
     HERO
  ------------------------------------------------ */
    .hero {
        min-height: auto;
        padding-top: 88px;
        padding-bottom: 40px;
    }

    .hero-title-wrapper {
        min-height: auto;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.2;
        letter-spacing: -1px;
    }

    .hero .subheading {
        font-size: 17px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    /* ------------------------------------------------
     CTA BUTTONS
  ------------------------------------------------ */
    .cta-buttons {
        flex-direction: column;
        gap: 14px;
        max-width: 100%;
        margin-top: 28px;
    }

    .btn {
        width: 100%;
        padding: 16px;
        font-size: 14px;
    }

    /* ------------------------------------------------
     SECTION SPACING
  ------------------------------------------------ */
    .module,
    .module-dark {
        padding: 50px 0 !important;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: -0.5px;
    }

    .section-description {
        font-size: 16px;
        line-height: 1.6;
    }

    /* ------------------------------------------------
     SERVICE / AI CARDS (FIXES YOUR FIRST SCREENSHOT)
  ------------------------------------------------ */
    .service-card,
    .ai-feature-card,
    .ai-service-block,
    .product-card,
    .industry-card,
    .custom-solution-card,
    .contact-info,
    .contact-form {
        padding: 20px !important;
        border-radius: 16px !important;
        transform: none !important;
    }

    .ai-service-header,
    .service-card {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ai-icon-large,
    .service-icon {
        width: 64px !important;
        height: 64px !important;
        font-size: 34px !important;
        border-radius: 14px !important;
    }

    .service-card h3,
    .ai-service-header h3,
    .ai-feature-card h4 {
        font-size: 20px !important;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    .service-card p,
    .ai-subtitle,
    .ai-feature-card p,
    .custom-solution-card p {
        font-size: 14px !important;
        line-height: 1.6;
    }

    /* ------------------------------------------------
     GRIDS → MOBILE SAFE
  ------------------------------------------------ */
    .services-grid,
    .industries-grid,
    .custom-solutions-showcase,
    .ai-service-grid,
    .tech-categories,
    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .about-grid,
    .founder-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    /* ------------------------------------------------
     STATS SECTION (FIXES iPhone SE ISSUE)
  ------------------------------------------------ */
    .stats-grid,
    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .stat-card,
    .about-stat-card {
        padding: 14px 10px !important;
        min-height: auto !important;
        height: auto !important;
        border-radius: 14px;
    }

    .stat-number {
        font-size: 26px !important;
        margin-bottom: 4px;
    }

    .stat-label {
        font-size: 11px !important;
        line-height: 1.4;
        letter-spacing: 0.6px;
    }

    .about-card,
    .stats-container {
        padding: 24px 16px !important;
        height: auto !important;
    }

    /* ------------------------------------------------
     FOUNDER
  ------------------------------------------------ */
    .founder-module {
        padding: 24px !important;
    }

    .founder-image {
        width: 220px;
        height: 220px;
        margin: 0 auto;
    }

    .founder-content h3 {
        font-size: 28px;
    }

    .founder-title {
        font-size: 16px;
    }

    /* ------------------------------------------------
     PRODUCT SLIDER (MOBILE SAFE)
  ------------------------------------------------ */
    #products .products-grid {
        display: flex;
        gap: 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    #products .product-card {
        min-width: 280px;
        scroll-snap-align: start;
    }

    /* ------------------------------------------------
     CTA / BUTTON SPACING
  ------------------------------------------------ */
    .about-cta,
    .core-services-btn {
        margin-top: 24px;
    }

    /* ------------------------------------------------
     FOOTER
  ------------------------------------------------ */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        font-size: 13px;
    }

    /* ------------------------------------------------
     PERFORMANCE KILL SWITCH (MOBILE ONLY)
  ------------------------------------------------ */
    .bg-animation,
    .floating-shape {
        display: none !important;
    }

    .logo-image,
    .service-icon,
    .footer-tagline {
        animation: none !important;
    }

    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   MOBILE FIX — WIDEN STATS CONTAINER (FINAL)
============================================================ */
@media (max-width: 768px) {

    /* Allow stats area to use more horizontal space */
    .about-card,
    .stats-container,
    .module-card {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Let stats grid stretch fully */
    .stats-grid {
        width: 100%;
        max-width: 100%;
    }

    /* Make stat cards use full grid cell */
    .stat-card {
        width: 100%;
    }
}
