/* =========================
   CSS VARIABLES (THEMES)
========================= */
:root {
    --bg: #0b0f1a;
    --text: #e5e7eb;
    --card: rgba(56,189,248,0.08);
    --accent: #38bdf8;
    --glow: rgba(56,189,248,0.6);
    --grad1: #38bdf8;
    --grad2: #6366f1;
    --grad3: #22d3ee;
}

.light-mode {
    --bg: #f8fafc;
    --text: #020617;
    --card: #e2e8f0;
    --accent: #0b75ff;
    --glow: rgba(11,117,255,0.45);
    --grad1: #0b75ff;
    --grad2: #2563eb;
    --grad3: #38bdf8;
}


/* Portfolio & Products Premium UI Layout */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.prod-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(56, 189, 248, 0.1);
    color: #38bdf8; /* तुमच्या थीमचा स्काय ब्लू हायलाईट रंग */
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.prod-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0 25px 0;
}

.prod-features span {
    font-size: 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-weight: 500;
}

/* Button UI Fix */
.prod-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

/* ================= ULTRA-FORCE LIGHT MODE FIX (फक्त लेआउट आणि बॅकग्राउंड) ================= */
/* यामध्ये मजकुराच्या रंगाची (text color) अजिबात छेडछाड केलेली नाही */

body.light-mode .project,
.light-mode .project {
    background: #ffffff !important; /* लाईट थीममध्ये कार्ड स्पष्ट दिसण्यासाठी पांढरा बेस */
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

body.light-mode .prod-features span,
.light-mode .prod-features span {
    background: rgba(0, 0, 0, 0.03) !important; /* लाईट मोडसाठी फिकट वैशिष्ट्य बॉक्सेस */
    border-color: rgba(0, 0, 0, 0.06) !important;
}

/* Hover Effects (लाइट थीम) */
body.light-mode .project:hover,
.light-mode .project:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.12) !important;
}


/* About Two-Column Advanced Layout */
.about-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    padding: 30px 0;
}

.about-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.about-pillars {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.pillar-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.pillar-dot {
    width: 8px;
    height: 8px;
    background: #38bdf8; /* तुमच्या थीमचा स्काय ब्लू हायलाईट रंग */
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
    box-shadow: 0 0 10px #38bdf8; /* फिकट ग्लो इफेक्ट */
}

.pillar-item h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.pillar-item p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* ================= ULTRA-FORCE LIGHT MODE FIX ================= */
/* केवळ बॅकग्राउंड रचनेसाठी, टेक्स्ट रंगात छेडछाड केलेली नाही */
body.light-mode .pillar-dot,
.light-mode .pillar-dot {
    box-shadow: none !important; /* लाईट थीममध्ये अतिरिक्त चमक घालवण्यासाठी */
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr; /* मोबाईलवर एकाखाली एक दिसेल */
        gap: 40px;
    }
}



/* Contact Section Premium Styling */ 
.contact-info-card { 
    display: flex; 
    flex-direction: column; 
    gap: 25px; 
    padding: 40px !important; 
    justify-content: center; /* डेस्कटॉपवर माहिती वर्टिकली सेंटर करण्यासाठी */
} 

.contact-info-card h2 { 
    margin: 0; 
    font-size: 1.8rem; 
    font-weight: 700; 
} 

.contact-detail-item { 
    display: flex; 
    gap: 15px; 
    align-items: flex-start; 
} 

.contact-svg-icon { 
    color: #38bdf8; /* तुमच्या थीमचा मुख्य निळा रंग */ 
    background: rgba(56, 189, 248, 0.1); 
    width: 44px; 
    height: 44px; 
    border-radius: 8px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0; 
} 

.contact-detail-item h3 { 
    margin: 0; 
    font-size: 1rem; 
    font-weight: 500; 
    line-height: 1.6; 
} 

/* Form inputs Modern Layout */ 
.contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
    margin-top: 20px; 
} 

.contact-form input, .contact-form textarea { 
    width: 100%; 
    padding: 14px 16px; 
    background: rgba(255, 255, 255, 0.03); 
    border: 1px solid rgba(255, 255, 255, 0.08); 
    border-radius: 8px; 
    font-size: 0.95rem; 
    color: inherit; /* तुमच्या आधीच्या टेक्स्ट कलरच्या नियमांनुसार चालेल */ 
    outline: none; 
    box-sizing: border-box; 
    transition: all 0.3s ease; 
} 

/* इनपुटवर क्लिक केल्यावर (Focus Effect) */ 
.contact-form input:focus, .contact-form textarea:focus { 
    border-color: #38bdf8; 
    background: rgba(56, 189, 248, 0.02); 
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15); 
} 

.contact-form textarea { 
    height: 120px; 
    resize: none; 
} 

/* Submit Button Custom Styling */ 
.contact-submit-btn { 
    background: #38bdf8 !important; 
    color: #0f172a !important; /* डार्क बॅकग्राउंडवर स्पष्ट दिसण्यासाठी */ 
    padding: 14px; 
    border: none; 
    border-radius: 8px; 
    font-size: 1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2); 
    width: 100%; /* मोबाईल आणि डेस्कटॉपवर बटण प्रॉपर सेट राहण्यासाठी */
} 

.contact-submit-btn:hover { 
    background: #0ea5e9 !important; 
    transform: translateY(-1px); 
    box-shadow: 0 6px 15px rgba(56, 189, 248, 0.35); 
} 

.contact-success { 
    background: rgba(34, 197, 94, 0.1); 
    border: 1px solid rgba(34, 197, 94, 0.2); 
    color: #22c55e; 
    padding: 12px; 
    border-radius: 8px; 
    font-size: 0.95rem; 
    margin-bottom: 15px; 
} 

/* ================= MOBILE RESPONSIVE ADAPTATIONS (नवीन सुधारणा) ================= */ 
@media (max-width: 768px) {
    .contact-info-card {
        padding: 25px 20px !important; /* मोबाईलवर जास्तीचे पॅडिंग कमी केले */
        align-items: center; /* मोबाईलवर हेडिंग आणि आयटम्स बॅलन्स दिसण्यासाठी */
        text-align: center;
    }
    
    .contact-detail-item {
        flex-direction: row; /* आयकॉन डावीकडे आणि टेक्स्ट उजवीकडेच राहील */
        text-align: left;
        width: 100%;
        max-width: 320px; /* मोबाईल स्क्रीनच्या आत बसण्यासाठी परफेक्ट विड्थ */
    }
    
    .contact-form-card {
        padding: 25px 20px !important; /* फॉर्म कार्डचे पॅडिंग मोबाईलनुसार सुटसुटीत केले */
    }

    .contact-info-card h2 {
        font-size: 1.5rem; /* मोबाईलवर हेडिंग साईझ कमी केली */
    }
}

/* ================= ULTRA-FORCE LIGHT MODE FIX (फक्त लेआउट) ================= */ 
body.light-mode .contact-form input, body.light-mode .contact-form textarea, .light-mode .contact-form input, .light-mode .contact-form textarea { 
    background: #ffffff !important; 
    border: 1px solid rgba(0, 0, 0, 0.12) !important; 
} 

body.light-mode .contact-form input:focus, body.light-mode .contact-form textarea:focus, .light-mode .contact-form input:focus, .light-mode .contact-form textarea:focus { 
    border-color: #38bdf8 !important; 
    background: #ffffff !important; 
}




/* =========================
   GLOBAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    transition: background 0.4s ease, color 0.4s ease;
    overflow-x: hidden;
}

html{
scroll-behavior:smooth;
}

/* Stats Section Premium UI Layout */
.stat-card {
    text-align: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.stat-card h3.counter {
    font-size: 3rem; /* नंबर मोठे आणि ठळक दिसण्यासाठी */
    font-weight: 800;
    margin: 0 0 10px 0;
    line-height: 1;
    font-family: system-ui, -apple-system, sans-serif;
}

.stat-card p {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* कॉर्पोरेट फीलसाठी टेक्स्ट कॅपिटल */
    opacity: 0.8;
}

/* ================= ULTRA-FORCE LIGHT MODE FIX (फक्त लेआउट आणि बॅकग्राउंड) ================= */
/* यामध्ये मजकुराच्या रंगाची (text color) अजिबात छेडछाड केलेली नाही */

body.light-mode .stat-card,
.light-mode .stat-card {
    background: #ffffff !important; /* लाईट थीममध्ये कार्ड स्पष्ट दिसण्यासाठी पांढरा बेस */
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* Hover Effects (लाइट थीम) */
body.light-mode .stat-card:hover,
.light-mode .stat-card:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.12) !important;
}



/* ================= CLIENTS SLIDER INF-LOOP LAYOUT ================= */
.clients-slider {
    width: 100%;
    overflow: hidden; /* बाजूचा अतिरिक्त भाग लपवण्यासाठी */
    position: relative;
    padding: 20px 0;
}

/* डाव्या आणि उजव्या बाजूला सुंदर फिकट सावली (Gradient Fade) देण्याकरिता */
.clients-slider::before,
.clients-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}
.clients-slider::before {
    left: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.clients-slider::after {
    right: 0;
    background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

/* लोगोज् चालवणारा मुख्य ट्रॅक */
.clients-track {
    display: flex;
    width: calc(250px * 12); /* प्रत्येक लोगोची रुंदी २५० गुणिले एकूण १२ लोगोज् */
    animation: scrollLogos 25s linear infinite; /* २५ सेकंदात एक फेरी पूर्ण होईल */
}

.client-logo {
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
    box-sizing: border-box;
}

.client-logo img {
    max-width: 130px;
    max-height: 50px;
    object-fit: contain;
    /* कॉर्पोरेट लुक: बाय-फॉल्ट सर्व लोगो फिकट राखाडी दिसतील */
    filter: grayscale(1) opacity(0.5); 
    transition: all 0.3s ease;
}

/* माऊस नेल्यावर लोगोचा मूळ रंग स्पष्ट दिसेल */
.client-logo img:hover {
    filter: grayscale(0) opacity(1);
}

/* माऊस ट्रॅकवर नेल्यास स्क्रोलिंग तात्पुरते थांबेल (युझरला वाचण्यासाठी) */
.clients-track:hover {
    animation-play-state: paused;
}

/* न थांबणाऱ्या अनंत स्क्रोलिंगचे मुख्य चक्र (Keyframes Animation) */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 6)); /* ६ लोगोनंतर ट्रॅक पुन्हा पहिल्या स्थितीवर येईल */
    }
}

/* ================= ULTRA-FORCE LIGHT MODE FIX ================= */
/* लाईट थीममध्ये लोगोज्चा बॅकग्राउंड सावलीचा रंग पांढरा करण्यासाठी */
body.light-mode .clients-slider::before {
    background: linear-gradient(to right, #ffffff 0%, transparent 100%) !important;
}
body.light-mode .clients-slider::after {
    background: linear-gradient(to left, #ffffff 0%, transparent 100%) !important;
}
body.light-mode .client-logo img {
    filter: grayscale(1) opacity(0.7); /* लाईट मोडमध्ये स्पष्टतेसाठी किंचित गडद राखाडी */
}
body.light-mode .client-logo img:hover {
    filter: grayscale(0) opacity(1);
}



/* =========================
   NAVBAR
========================= */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 60px;
    position: fixed;
    width: 100%;
    background: rgba(11,15,26,0.85);
    backdrop-filter: blur(12px);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.logo span {
    background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientShift 6s infinite linear;
}

/* NAV LINKS */
.nav-menu{

display:flex;
align-items:center;

}

.nav-link{

color:var(--text);
margin-left:22px;
text-decoration:none;
position:relative;
padding-bottom:6px;
font-weight:500;
transition:.3s;

}

.nav-link::after{

content:"";
position:absolute;
width:0%;
height:2px;
left:0;
bottom:0;
background:var(--accent);
transition:.3s;

}

.nav-link:hover::after{

width:100%;

}

.nav-link.active{

color:var(--accent);

}

.nav-link.active::after{

width:100%;

}

nav a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* THEME TOGGLE */
.theme-toggle {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text);
}



/* ================= WORKFLOW LAYOUT (DEFAULT DARK) ================= */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.workflow-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.workflow-icon {
    color: #38bdf8; /* स्काय充्यू थीम कलर */
    background: rgba(56, 189, 248, 0.1);
    width: 54px;
    height: 54px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-number {
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05); /* फिकट वॉटरमार्क क्रमांक डार्क थीमसाठी */
    font-family: monospace;
    user-select: none;
    transition: all 0.3s ease;
}

.workflow-card h3 {
    font-size: 1.2rem;
    color: #ffffff; /* डार्क थीम हेडलाईन */
    margin: 0 0 10px 0;
    font-weight: 600;
}

.workflow-card p {
    font-size: 0.92rem;
    color: #cbd5e1; /* डार्क थीम पॅराग्राफ */
    line-height: 1.6;
    margin: 0;
}

/* Hover Interactivity (डार्क थीम) */
.workflow-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
}

.workflow-card:hover .workflow-icon {
    background: #38bdf8;
    color: #0f172a;
}

.workflow-card:hover .step-number {
    color: rgba(56, 189, 248, 0.2);
}

/* ================= LIGHT MODE OVERRIDES (टेक्स्ट कलर वगळता इतर सर्व CSS) ================= */
/* या भागातून सर्व 'color' प्रॉपर्टीज काढून फक्त लेआउट, बॅकग्राउंड, बॉर्डर आणि शॅडो फिक्स केले आहे */

body.light-mode .workflow-card, 
.light-mode .workflow-card {
    background: #ffffff !important; /* कार्ड पांढरे केले जेणेकरून ते लाईट मोडमध्ये गायब होणार नाही */
    border: 1px solid rgba(15, 23, 42, 0.1) !important; /* फिकट स्पष्ट डार्क बॉर्डर */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important; /* लाईट थीमसाठी सॉफ्ट प्रीमियम सावली */
}

/* होव्हर इफेक्ट्स (इंटरॅक्टिव्हिटी) लाईट थीमसाठी */
body.light-mode .workflow-card:hover, 
.light-mode .workflow-card:hover {
    background: #ffffff !important;
    border-color: #38bdf8 !important; /* हायलाईट झाल्यावर बॉर्डर निळी होईल */
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15) !important; /* सुंदर निळसर ग्लो सावली */
    transform: translateY(-4px);
}



/* Premium Hero UI Layout */
.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.hero-title {
    font-size: 4rem; /* मोठा आणि भारदस्त फॉन्ट */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 25px;
}

.hero-word {
    display: inline-block;
}

/* CortexCore नावाला हाय-एंड ब्रँड लुक देण्यासाठी */
.hero-brand-name {
    background: linear-gradient(135deg, #38bdf8 0%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Dual Buttons Alignment */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Primary Button (Fill Effect) */
.btn-primary-hero {
    background: #38bdf8 !important;
    color: #0f172a !important; /* डार्क बॅकग्राउंडवर स्पष्ट दिसण्यासाठी */
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
    transition: all 0.3s ease;
}

.btn-primary-hero:hover {
    background: #0ea5e9 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.4);
}

/* Secondary Button (Outline Effect) */
.btn-secondary-hero {
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
    border-color: #38bdf8 !important;
    background: rgba(56, 189, 248, 0.05) !important;
    transform: translateY(-2px);
}

/* ================= ULTRA-FORCE LIGHT MODE FIX (फक्त बटन्स लेआउट) ================= */
body.light-mode .btn-secondary-hero,
.light-mode .btn-secondary-hero {
    border-color: rgba(15, 23, 42, 0.2) !important; /* लाईट थीमसाठी फिकट डार्क बॉर्डर */
}

body.light-mode .btn-secondary-hero:hover,
.light-mode .btn-secondary-hero:hover {
    background: rgba(56, 189, 248, 0.08) !important;
    border-color: #38bdf8 !important;
}

/* Responsive Font Sizes for Mobile */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .btn-primary-hero, .btn-secondary-hero {
        width: 100%;
        text-align: center;
    }
}


/* =========================
   HERO (PARALLAX + AI)
========================= */
.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -35%;
    background: radial-gradient(circle, var(--grad1), transparent 65%);
    opacity: 0.18;
    transform: translateY(0);
    will-change: transform;
    z-index: 0;
}

#neuralCanvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(var(--parallaxY, 0px));
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    will-change: transform;
}

/* HERO TITLE SHAATS-LIKE EFFECT */
.hero-title {
    font-size: clamp(48px, 7vw, 72px);
    font-weight: 900;
    text-align: center;
    line-height: 1.2;
    margin-bottom: 8px;
}

.hero-word {
    display: inline-block;
    background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3), var(--grad1));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    transform: translateY(40px);
    animation: heroFadeIn 1s ease forwards, heroGradient 6s ease infinite;
}

.hero-word:nth-child(1) { animation-delay: 0.3s; }
.hero-word:nth-child(2) { animation-delay: 0.6s; }
.hero-word:nth-child(3) { animation-delay: 0.9s; }

.hero-subtitle {
    font-size: 18px;
    opacity: 0;
    transform: translateY(20px);
    animation: heroSubtitleIn 0.8s ease forwards 1.3s;
    color: var(--text);
}




/* Testimonials Premium Styling */
.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
}

.client-info h4 {
    margin: 0;
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 600;
}

.client-info span {
    font-size: 0.8rem;
    color: #64748b; /* हलका राखाडी रंग कंपनीच्या नावासाठी */
    display: block;
    margin-top: 4px;
}

/* कार्डवर माऊस नेल्यावर होणारा बदल */
.testimonial-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(255, 255, 255, 0.04);
}



/* Premium CTA Styling */
#cta {
    padding: 60px 20px;
}

.cta-card {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.05) 0%, rgba(0, 0, 0, 0.2) 100%);
    border: 1px solid rgba(56, 189, 248, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-card h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-card p {
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

/* Dynamic Action Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #38bdf8; /* तुमच्या थीमचा स्काय ब्लू रंग */
    color: #0f172a; /* डार्क टेक्स्ट रंगासाठी */
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.cta-btn svg {
    transition: transform 0.3s ease;
}

/* Hover Effects */
.cta-btn:hover {
    background: #0ea5e9;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
    transform: translateY(-2px);
}

.cta-btn:hover svg {
    transform: translateX(4px); /* माऊस नेल्यावर ॲरो पुढे सरकेल */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cta-card {
        padding: 40px 20px;
    }
    .cta-card h2 {
        font-size: 1.8rem;
    }
    .cta-card p {
        font-size: 1rem;
    }
}


/* =========================
   CTA BUTTON
========================= */
.btn {
    display: inline-block;
    padding: 14px 36px;
    margin-top: 24px;
    background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3));
    background-size: 300% 300%;
    animation: gradientShift 5s infinite linear;
    color: #000;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 0 0 transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px var(--glow);
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 120px 60px;
    text-align: center;
}

.section-title {
    font-size: 32px;
}

.dark {
    background: var(--bg);
    color: var(--text);
}

/* Also add nested elements to fix text/cards inside dark sections */
/* All text and cards inside dark sections use CSS variables */
.dark, 
.dark h1, .dark h2, .dark h3, .dark h4, .dark h5, .dark h6,
.dark p, .dark span, .dark a,
.dark .card, .dark .project,
.dark .btn, .dark .btn-small {
    color: var(--text);
    background: var(--card);
}

.dark .btn,
.dark .btn-small {
    background: var(--accent);
    color: var(--text);
}

/* Buttons inside dark sections */
.dark .btn,
.dark .btn-small {
    background: var(--accent);
    color: var(--text);
}

/* =========================
   GRID
========================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

/* =========================
   CARDS (REVEAL + GLOW)
========================= */
.card,
.project {
    position: relative;
    padding: 34px;
    background: var(--card);
    border-radius: 18px;
    overflow: hidden;
    cursor: default;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.card::before,
.project::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), var(--glow), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover::before,
.project:hover::before {
    opacity: 1;
}

.card:hover,
.project:hover {
    transform: translateY(-10px) scale(1.02);
}

/* REVEALED STATE */
.reveal {
    transform: translateY(0);
    opacity: 1;
}

/* =========================
   CONTACT FORM
========================= */
.contact-form {
    max-width: 520px;
    margin: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
    outline: none;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3));
    background-size: 300% 300%;
    animation: gradientShift 6s infinite linear;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 0 0 transparent;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact-form button:hover {
    box-shadow: 0 0 25px var(--glow);
    transform: translateY(-2px);
}

/* =========================
   FOOTER
========================= */
footer {
    padding: 24px;
    text-align: center;
    background: #020617;
}

/* =========================
   ANIMATIONS
========================= */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

@keyframes pulseGlow {
    0% { transform: scale(1); }
    100% { transform: scale(1.2); }
}

@keyframes heroFadeIn {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes heroGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroSubtitleIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* =========================
   SERVICES ICONS + BUTTONS
========================= */
.card .icon {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--accent); /* ग्रॅडिअंट काढून थेट थीमचा रंग दिला आहे */
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    opacity: 0.85;
}

.btn-small {
    display: inline-block;
    padding: 8px 20px;
    margin-top: 12px;
    background: var(--accent);
    color: #fff;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px var(--glow);
}

/* =========================
   PROJECT LOGOS
========================= */
.project img.project-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 16px;
}

.project .project-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

/* =========================
   PROJECT PARAGRAPH TEXT
========================= */
.project p {
    font-size: 14px;
    color: var(--text);
    margin-top: 10px;
    line-height: 1.5;
    text-align: left;
}

/* =========================
   ABOUT HIGHLIGHT
========================= */
.highlight {
    background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    font-weight: 600 !important;
    display: inline !important;
    position: relative !important;
    z-index: 1 !important;
    /* खालील दोन लाईन्स बळजबरीने इतर बॅकग्राउंड ब्लॉक्स हटवतील */
    background-color: transparent !important; 
    padding: 0 !important; 
}

/* =========================
   ANIMATE TEXT (SCROLL IN)
========================= */
.animate-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-text.visible {
    opacity: 1;
    transform: translateY(0);
}

.grid .animate-text {
    transition-delay: 0s;
}

.grid .animate-text:nth-of-type(1) { transition-delay: 0.1s; }
.grid .animate-text:nth-of-type(2) { transition-delay: 0.2s; }
.grid .animate-text:nth-of-type(3) { transition-delay: 0.3s; }
.grid .animate-text:nth-of-type(4) { transition-delay: 0.4s; }
.grid .animate-text:nth-of-type(5) { transition-delay: 0.5s; }
.grid .animate-text:nth-of-type(6) { transition-delay: 0.6s; }

/* =========================
   WORKFLOW GRID / ZIG-ZAG
========================= */
.workflow-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
}

.workflow-card {
    background: var(--card);
    padding: 30px;
    border-radius: 18px;
    max-width: 500px;
    opacity: 0;
    transform: translateY(40px);
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.workflow-card:nth-child(odd) { align-self: flex-start; }
.workflow-card:nth-child(even) { 
    align-self: flex-end; 
    background: rgba(99,102,241,0.08);
}

.workflow-grid::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--accent);
    z-index: -1;
    border-radius: 2px;
}

.workflow-card::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--grad1);
    top: 50%;
    transform: translateY(-50%);
}

.workflow-card:nth-child(odd)::before { left: -8px; }
.workflow-card:nth-child(even)::before { right: -8px; }

@media (max-width: 768px) {
    .workflow-grid::before { display: none; }
    .workflow-card {
        align-self: center !important;
        max-width: 90%;
        margin-bottom: 20px;
    }
    .workflow-card::before {
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) translateY(-50%);
        top: -10px;
    }
}
/* =========================
   OUR CLIENTS – LOGO SLIDER
========================= */
.clients-slider {
    margin-top: 60px;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: clientsScroll 28s linear infinite;
}

.client-logo {
    width: 220px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.65;
    transition: all 0.35s ease;
}

.client-logo img {
    max-width: 180px;
    max-height: 100px;
    object-fit: contain;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.08);
}

/* Pause animation on hover */
.clients-slider:hover .clients-track {
    animation-play-state: paused;
}

/* Infinite scrolling animation */
@keyframes clientsScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Mobile fix */
@media (max-width: 768px) {
    .clients-track {
        gap: 40px;
    }

    .client-logo {
        width: 140px;
        height: 70px;
    }

    .client-logo img {
        max-width: 110px;
        max-height: 55px;
    }
}

#stats h3 {
    font-size: 40px;
    color: var(--accent); /* ✅ uses variable */
    margin-bottom: 10px;
}

#technology .card {
    color: var(--text); /* use var(--text) so it changes with light/dark mode */
    text-align: center;
}

#technology h3 {
    margin-bottom: 10px;
    color: var(--accent); /* changed from #38bdf8 to var(--accent) */
}

#testimonials .card {
    min-height: 180px;
}

#testimonials h4 {
    margin-top: 10px;
    color: var(--accent); /* changed from #38bdf8 to var(--accent) */
}

#faq h3 {
    color: var(--accent); /* changed from #38bdf8 to var(--accent) */
    margin-bottom: 10px;
}

#faq .card {
    min-height: 170px;
}

#cta .card {
    max-width: 800px;
    margin: auto;
}

#cta h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--text); /* optional: ensure text changes with light/dark mode */
}

.navbar.scrolled{

background:rgba(2,6,23,0.88);
backdrop-filter:blur(12px);
box-shadow:0 10px 30px rgba(0,0,0,0.25);

}



/* Technology Section Icons & Tags Layout */
#technology .icon {
    color: #0070f3; /* तुमच्या ब्रँडचा निळा रंग */
    background: rgba(0, 112, 243, 0.1); /* हलका निळा गोल बॅकग्राउंड */
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#technology .card:hover .icon {
    background: #0070f3;
    color: #ffffff; /* माऊस नेल्यावर आयकॉन रिव्हर्स हायलाईट होईल */
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.tag:hover {
    background: #0070f3;
    color: #fff;
    border-color: #0070f3;
}


/* ================= FAQ ACCORDION STYLING ================= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-question {
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
    padding-right: 15px;
}

.faq-icon {
    color: #38bdf8; /* तुमच्या थीमचा स्काय ब्लू/निळा रंग */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* उत्तर सुरुवातीला लपवण्यासाठी */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    background: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
    padding: 0 25px 22px 25px;
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* माऊस नेल्यावर होणारा इफेक्ट */
.faq-item:hover {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

/* ॲक्टिव्ह (उघडलेल्या) प्रश्नाचा लुक */
.faq-item.active {
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(56, 189, 248, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg); /* ॲरो वरच्या बाजूला फिरेल */
    color: #ffffff;
}

/* मोबाईल रिस्पॉन्सिव्हनेस */
@media (max-width: 768px) {
    .faq-question {
        padding: 18px 20px;
    }
    .faq-question h3 {
        font-size: 1rem;
    }
    .faq-answer p {
        padding: 0 20px 18px 20px;
        font-size: 0.9rem;
    }
}



/* ================= FOOTER SOCIAL ICONS ================= */
.footer-social {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    font-size: 18px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-3px);
}


/* =========================
   LIGHT MODE OVERRIDE FOR DARK SECTIONS
========================= */
/* फक्त्त सेक्शनची बॅकग्राउंड आणि टेक्स्ट सेट करण्यासाठी */
body.light-mode .dark {
    background: var(--bg);
    color: var(--text);
}

/* मधील हेडिंग्स आणि टेक्स्टसाठी फक्त कलर (कोणतीही बॅकग्राउंड नाही) */
body.light-mode .dark h1, 
body.light-mode .dark h2, 
body.light-mode .dark h3, 
body.light-mode .dark h4, 
body.light-mode .dark h5, 
body.light-mode .dark h6,
body.light-mode .dark p, 
body.light-mode .dark a {
    color: var(--text);
}

/* फक्त्त कार्ड्ससाठीच वेगळी आणि योग्य कार्ड बॅकग्राउंड */
body.light-mode .dark .card, 
body.light-mode .dark .project {
    color: var(--text);
    background: var(--card); 
}

/* Specific button styling in light mode */
body.light-mode .dark .btn,
body.light-mode .dark .btn-small {
    background: var(--accent);
    color: var(--text);
}

/* FIX: This makes sure highlight spans keep their gradient and don't get a background box */
body.light-mode .dark span.highlight {
    background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline;
}

/* =========================
   MOBILE RESPONSIVE NAVBAR FIX
========================= */

/* डीफॉल्टनुसार मोबाईल बटण कॉम्प्युटर/लॅपटॉपवर लपवा */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: 1001;
}

.menu-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}



/* =========================
   MOBILE RESPONSIVE NAVBAR FIX (UPDATED)
========================= */

/* डीफॉल्टनुसार मोबाईल बटण कॉम्प्युटर/लॅपटॉपवर लपवा */
.menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    z-index: 1001;
}

.menu-btn .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* मोबाईल मीडिया क्वेरी ( ७६८px पेक्षा लहान स्क्रीनसाठी ) */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    /* हॅमबर्गर बटण मोबाईलवर दिसेल */
    .menu-btn {
        display: flex;
    }

    /* नॅव्हिगेशन मेनू डीफॉल्टनुसार लपलेला असेल */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        transition: right 0.4s ease-in-out;
        z-index: 9999; /* हे महत्त्वाचे आहे जेणेकरून मेनू सर्वात वर राहील */
    }

    /* जावास्क्रिप्टद्वारे 'active' क्लास जोडल्यावर मेनू समोर येईल */
    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        margin-left: 0;
        font-size: 18px;
    }
}

/* ===== Light Mode Text Fix ===== */

body.light-mode .workflow-card h3,
body.light-mode .testimonial-card h4,
body.light-mode .cta-card h2,
body.light-mode .faq-question h3{
    color:#0f172a !important;
}

body.light-mode .workflow-card p,
body.light-mode .testimonial-card p,
body.light-mode .client-info span,
body.light-mode .cta-card p,
body.light-mode .faq-answer p{
    color:#475569 !important;
}

body.light-mode .tag{
    background:#e2e8f0 !important;
    color:#1e293b !important;
    border-color:#cbd5e1 !important;
}

body.light-mode .navbar{
    background:rgba(255,255,255,.9) !important;
}

body.light-mode .navbar.scrolled{
    background:rgba(255,255,255,.95) !important;
}

body.light-mode footer{
    background:#f8fafc !important;
    color:#0f172a !important;
}

body.light-mode .footer-social a{
    color:#0f172a !important;
    border-color:#cbd5e1 !important;
    background:#ffffff !important;
}

