/* SRavanga AI Smart Solutions - Landing Page Specific Styling */

body.landing-page {
    background-color: var(--bg-dark-base);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Background Gradients & Grids */
.bg-gradient-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -2;
    background: radial-gradient(circle at 10% 20%, rgba(0, 40, 95, 0.4) 0%, rgba(5, 8, 22, 1) 90%);
}

.ai-grid-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridSlide 30s linear infinite;
}

/* Canvas Particles */
#particle-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Containers */
.glass-container {
    background: var(--bg-dark-card);
    backdrop-filter: blur(16px);
    border: 1px solid var(--bg-dark-border);
    box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.glass-container:hover {
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 15px 50px 0 rgba(0, 240, 255, 0.15);
    transform: translateY(-5px);
}

/* Navbar */
.landing-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 100;
    background: rgba(5, 8, 22, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: var(--transition-smooth);
}

.landing-header.scrolled {
    padding: 10px 0;
    background: rgba(5, 8, 22, 0.95);
    border-bottom-color: rgba(0, 240, 255, 0.15);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 110;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.logo-link img {
    height: 58px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.35));
    transition: var(--transition-smooth);
}

.logo-link:hover img {
    transform: scale(1.03);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    position: relative;
    margin: 0 15px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 10px 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-item.active .nav-link {
    color: var(--primary-neon);
}

.nav-link svg.arrow {
    width: 10px;
    height: 10px;
    margin-left: 4px;
    transition: var(--transition-smooth);
}

.nav-item:hover svg.arrow {
    transform: rotate(180deg);
}

/* Mega Menu Dropdowns */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 860px;
    padding: 30px;
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.7);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 99;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-wide {
    width: 960px;
    grid-template-columns: repeat(4, 1fr);
}

.menu-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    background: rgba(0, 240, 255, 0.03);
    border-color: var(--primary-neon);
    transform: translateY(-3px);
}

.menu-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 15px;
    align-self: center;
    color: var(--primary-neon);
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.4));
}

.menu-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card h4 svg.nav-arrow {
    width: 14px;
    height: 14px;
    opacity: 0;
    transform: translateX(-5px);
    transition: var(--transition-smooth);
}

.menu-card:hover h4 svg.nav-arrow {
    opacity: 1;
    transform: translateX(0);
}

.menu-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Mega Menu Bottom CTA Banner */
.menu-bottom-banner {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, rgba(0, 114, 255, 0.15) 0%, rgba(0, 240, 255, 0.05) 100%);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 12px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.menu-bottom-banner h5 {
    font-family: var(--font-heading);
    color: var(--primary-neon);
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.menu-bottom-banner p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.menu-bottom-btn {
    text-decoration: none;
    padding: 8px 16px;
    background: var(--text-primary);
    color: var(--bg-dark-base);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.menu-bottom-btn:hover {
    background: var(--primary-neon);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 180px 0 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 580px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.outline-btn {
    padding: 12px 28px;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.outline-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-primary);
}

.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

@media (min-width: 993px) {
    .hero-visual {
        min-height: 660px;
    }
}

.glow-orb {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, transparent 70%);
    filter: blur(20px);
    animation: pulseGlow 6s infinite ease-in-out;
}

.visual-illustration {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 380px;
    height: auto;
    overflow: visible !important;
}

/* Services / What We Do Section */
.landing-section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
}

.service-card .icon-wrap {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-neon);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.2));
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

/* Why Us Section */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.why-point-item {
    display: flex;
    align-items: flex-start;
}

.why-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-neon);
    margin-right: 15px;
    flex-shrink: 0;
    margin-top: 2px;
}

.why-point-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.why-point-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Tech Stack Section with horizontal scroll marquee */
.tech-icons-wrap {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 15px 0;
    margin-top: 40px;
    /* Elegant edge fading effect */
    mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent);
}

.tech-icons-track {
    display: flex;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

.tech-icons-track:hover {
    animation-play-state: paused;
}

.tech-icons-group {
    display: flex;
    gap: 30px;
    padding-right: 30px; /* Gap distance maintained between loops */
}

.tech-icon-pill {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.tech-icon-pill:hover {
    color: var(--primary-neon);
    border-color: var(--primary-neon);
    background: rgba(0, 240, 255, 0.02);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.15);
}

/* Blog Insights Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.blog-card-content-top {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-img-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 114, 255, 0.1) 0%, rgba(5, 8, 22, 0.6) 100%);
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    position: relative;
}

.blog-badge {
    position: absolute;
    top: 15px; left: 15px;
    padding: 4px 10px;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 30px;
}

.blog-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.blog-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    color: var(--primary-neon);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-link:hover {
    text-decoration: underline;
}

/* Featured Article Section */
.featured-blog-banner {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.featured-content h4 {
    color: var(--primary-neon);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.featured-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.featured-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* CTA Footer Section */
.cta-section {
    padding: 100px 0;
    text-align: center;
    position: relative;
}

.cta-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 40px;
}

.cta-box h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.cta-box p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    margin-bottom: 35px;
}

/* General Footer */
.landing-footer {
    background: rgba(3, 5, 14, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-info h4 svg {
    margin-right: 10px;
}

.footer-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-links h5 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links ul {
    list-style: none;
}

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

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

.footer-links a:hover {
    color: var(--primary-neon);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--primary-neon);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(10, 16, 36, 0.98);
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--bg-dark-border);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 30px 40px 30px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        z-index: 105;
        gap: 20px;
    }
    
    .nav-wrapper.active {
        right: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
        margin: 10px 0;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .header-actions {
        width: 100%;
        margin-top: 20px;
        border-top: 1px solid var(--bg-dark-border);
        padding-top: 20px;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions .outline-btn,
    .header-actions .glow-btn {
        width: 100%;
        text-align: center;
    }

    .mega-menu {
        position: static;
        width: 100%;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border: none;
        padding: 10px 0;
        grid-template-columns: 1fr;
    }
    
    .nav-item.dropdown-open .mega-menu {
        display: grid;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .services-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-blog-banner {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .featured-blog-banner > div:last-child {
        order: -1;
        height: auto !important;
        min-height: 180px;
    }
}

@media (max-width: 576px) {
    .services-grid, .blog-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

/* ==========================================
   Premium Light Theme (White Theme) Overrides
   ========================================== */
body.light-page {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

body.light-page .bg-gradient-overlay {
    display: none !important;
}

body.light-page #particle-canvas {
    display: none !important;
}

body.light-page .landing-header {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

body.light-page .landing-header.scrolled {
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    border-bottom-color: #e2e8f0 !important;
}

body.light-page .logo-link {
    color: #0f172a !important;
}

body.light-page .logo-link img {
    filter: drop-shadow(0 2px 5px rgba(0, 114, 255, 0.15)) !important;
}

body.light-page .nav-link {
    color: #475569 !important;
}

body.light-page .nav-link:hover, 
body.light-page .nav-item.active .nav-link {
    color: #0072ff !important;
}

body.light-page .mega-menu {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08) !important;
}

body.light-page .menu-card {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.light-page .menu-card:hover {
    background: #ffffff !important;
    border-color: #0072ff !important;
    box-shadow: 0 5px 15px rgba(0, 114, 255, 0.08) !important;
}

body.light-page .menu-card p {
    color: #475569 !important;
}

body.light-page .menu-bottom-banner {
    background: linear-gradient(90deg, rgba(0, 114, 255, 0.05) 0%, rgba(0, 240, 255, 0.02) 100%) !important;
    border: 1px solid #e2e8f0 !important;
}

body.light-page .menu-bottom-banner h5 {
    color: #0072ff !important;
}

body.light-page .menu-bottom-banner p {
    color: #475569 !important;
}

body.light-page .menu-bottom-btn {
    background: #0f172a !important;
    color: #ffffff !important;
}

body.light-page .menu-bottom-btn:hover {
    background: #0072ff !important;
    box-shadow: none !important;
}

body.light-page .outline-btn {
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}

body.light-page .outline-btn:hover {
    background: #f1f5f9 !important;
    border-color: #0f172a !important;
}

body.light-page .text-gradient {
    background: linear-gradient(135deg, #0f172a 30%, #0072ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

body.light-page .glass-container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
    color: #0f172a !important;
}

body.light-page .glass-container:hover {
    border-color: rgba(0, 114, 255, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 114, 255, 0.05) !important;
}

body.light-page .service-card h3,
body.light-page .why-point-item h4,
body.light-page .section-header h2,
body.light-page .why-us-grid h2,
body.light-page .why-us-grid h3,
body.light-page .why-us-grid h4,
body.light-page .featured-blog-banner h2,
body.light-page .blog-card h3,
body.light-page .cta-box h2 {
    color: #0f172a !important;
}

body.light-page .service-card p,
body.light-page .why-point-item p,
body.light-page .hero-content p,
body.light-page .section-header p,
body.light-page .why-us-grid p,
body.light-page .featured-blog-banner p,
body.light-page .blog-card p,
body.light-page .cta-box p,
body.light-page .sub-header {
    color: #475569 !important;
}

body.light-page .blog-badge {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}

body.light-page .blog-link {
    color: #0f172a !important;
}

body.light-page .blog-link:hover {
    color: #0072ff !important;
}

body.light-page .landing-section:nth-of-type(even),
body.light-page .landing-section[style*="background"] {
    background: #f1f5f9 !important;
}

body.light-page .tech-icon-pill {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

body.light-page .tech-icon-pill:hover {
    color: #0072ff !important;
    border-color: #0072ff !important;
    box-shadow: 0 0 15px rgba(0, 114, 255, 0.1) !important;
}

body.light-page .hero-visual svg circle[stroke="#00f0ff"] {
    stroke: #0072ff !important;
}

body.light-page .hero-visual svg text {
    fill: #475569 !important;
}

body.light-page .hero-visual svg line[stroke="#00f0ff"] {
    stroke: #0072ff !important;
}

body.light-page .hero-visual svg circle[fill="#00f0ff"] {
    fill: #0072ff !important;
}

body.light-page input,
body.light-page select,
body.light-page textarea {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

body.light-page input:focus,
body.light-page select:focus,
body.light-page textarea:focus {
    border-color: #0072ff !important;
    box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.15) !important;
}

body.light-page label {
    color: #475569 !important;
}

body.light-page strong {
    color: #0072ff !important;
}

body.light-page .landing-footer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
}

body.light-page .footer-info h4 {
    color: #0f172a !important;
}

body.light-page .footer-info p {
    color: #475569 !important;
}

body.light-page .footer-links h5 {
    color: #0f172a !important;
}

body.light-page .footer-links a {
    color: #475569 !important;
}

body.light-page .footer-links a:hover {
    color: #0072ff !important;
}

body.light-page .footer-bottom {
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

body.light-page .social-link {
    color: #64748b !important;
}

body.light-page .social-link:hover {
    color: #0072ff !important;
}

body.light-page .blog-img-placeholder {
    border-color: #cbd5e1 !important;
    background: linear-gradient(135deg, rgba(0, 114, 255, 0.05) 0%, rgba(255, 255, 255, 0.9) 100%) !important;
}

/* ==========================================
   Interactive Capabilities Console & Animations
   ========================================== */

/* Active Connecting Line Dash Flow */
@keyframes dash-flow {
    to {
        stroke-dashoffset: -20;
    }
}

.connector-line-active {
    stroke-width: 3px !important;
    stroke-dasharray: 6 3 !important;
    animation: dash-flow 1s linear infinite !important;
    filter: drop-shadow(0 0 5px var(--active-glow, #0072ff)) !important;
    transition: all 0.4s ease !important;
}

/* Pulsing SVG Rings */
@keyframes pulse-ring {
    0% {
        r: 14px;
        opacity: 0.8;
    }
    100% {
        r: 32px;
        opacity: 0;
    }
}

@keyframes pulse-ring-ai {
    0% {
        r: 28px;
        opacity: 0.8;
    }
    100% {
        r: 54px;
        opacity: 0;
    }
}

.pulse-ring {
    fill: none;
    stroke-width: 1.5px;
    pointer-events: none;
    transform-origin: center;
    transition: stroke 0.4s ease;
}

.pulse-ring-active {
    animation: pulse-ring 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.pulse-ring-ai-active {
    animation: pulse-ring-ai 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

/* Capabilities Console Container */
#capabilities-console {
    margin-top: 0;
    padding: 0 24px;
    max-height: 0;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    border-radius: 16px;
    border: 1px solid transparent;
    background: rgba(5, 8, 22, 0.55);
    backdrop-filter: blur(20px);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    pointer-events: none;
}

#capabilities-console.visible {
    margin-top: 25px;
    padding: 24px;
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

#capabilities-console::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, var(--console-glow, #0072ff), transparent);
    transition: all 0.4s ease;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.console-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--console-glow, #0072ff);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.4s ease;
}

.console-status {
    font-size: 0.72rem;
    font-family: monospace;
    color: var(--console-glow, #0072ff);
    background: rgba(var(--console-glow-rgb, 0, 114, 255), 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(var(--console-glow-rgb, 0, 114, 255), 0.15);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.4s ease;
    text-transform: uppercase;
}

.console-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--console-glow, #0072ff);
    animation: consolePulse 1.5s infinite;
}

@keyframes consolePulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

#console-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

/* Service Capsules */
.service-capsule {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0;
    transform: translateY(12px);
    animation: fadeInUpStagger 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: var(--delay, 0s);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-capsule:hover {
    background: rgba(var(--console-glow-rgb, 0, 114, 255), 0.04);
    border-color: rgba(var(--console-glow-rgb, 0, 114, 255), 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--console-glow-rgb, 0, 114, 255), 0.08);
}

.capsule-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(var(--console-glow-rgb, 0, 114, 255), 0.08);
    color: var(--console-glow, #0072ff);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.capsule-icon svg {
    width: 16px;
    height: 16px;
}

.capsule-content {
    flex-grow: 1;
}

.capsule-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.capsule-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.capsule-tag {
    font-size: 0.65rem;
    font-family: monospace;
    font-weight: 500;
    padding: 1px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.capsule-desc {
    font-size: 0.76rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

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

/* Light Theme Overrides */
body.light-page #capabilities-console {
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
}

body.light-page #capabilities-console.visible {
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 15px 45px rgba(0, 114, 255, 0.03) !important;
}

body.light-page .console-header {
    border-bottom-color: #e2e8f0 !important;
}

body.light-page .service-capsule {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

body.light-page .service-capsule:hover {
    background: #ffffff !important;
    border-color: var(--console-glow, #0072ff) !important;
    box-shadow: 0 8px 24px rgba(var(--console-glow-rgb, 0, 114, 255), 0.06) !important;
}

body.light-page .capsule-title {
    color: #0f172a !important;
}

body.light-page .capsule-desc {
    color: #475569 !important;
}

body.light-page .capsule-tag {
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #e2e8f0 !important;
}



/* ==========================================================================
   Preloader & Animated Logo
   ========================================================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.dark-preloader {
    background: #050816;
}

.light-preloader {
    background: #f8fafc;
}

.preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  height: 120px;
  width: auto;
}

@keyframes pulse-glow-dark {
  0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.3)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 45px rgba(0, 240, 255, 0.8)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0, 240, 255, 0.3)); }
}

@keyframes pulse-glow-light {
  0% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0, 114, 255, 0.2)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 45px rgba(0, 114, 255, 0.6)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0, 114, 255, 0.2)); }
}

.dark-preloader .preloader-logo {
  animation: pulse-glow-dark 2s infinite ease-in-out;
}

.light-preloader .preloader-logo {
  animation: pulse-glow-light 2s infinite ease-in-out;
}
