/* =========================================
   VARIABLES & RESET
   ========================================= */
:root {
    /* Vibrant Dark Palette */
    --bg-dark: #050a1f;       /* Deepest Blue */
    --bg-gradient: linear-gradient(135deg, #050a1f 0%, #0f172a 100%);
    
    --primary: #3b82f6;       /* Electric Blue */
    --primary-glow: rgba(59, 130, 246, 0.4);
    
    --accent: #06b6d4;        /* Cyan */
    --accent-glow: rgba(6, 182, 212, 0.4);
    
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --gradient-text: linear-gradient(90deg, #3b82f6, #06b6d4);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #2563eb;
    box-shadow: 0 0 30px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* =========================================
   HEADER
   ========================================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(5, 10, 31, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: 0.3s;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.logo i { color: var(--primary); }


.nav-menu a {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover, .nav-menu a.active {
    color: rgb(241, 236, 236);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.nav-menu a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 40px; }
.mobile-toggle { display: none; font-size: 20px; color: white; cursor: pointer; }

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--bg-gradient);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Canvas Background */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Text Styling */
.hero-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 10px;
}

.text-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
}

.stat-item h3 {
    font-size: 32px;
    color: white;
    font-weight: 700;
}

.stat-item p {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Image & Floating Cards */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.img-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    z-index: -1;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: var(--accent);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    overflow: hidden;
}

/* ... (Previous CSS rules) ... */

/* Glassmorphism Floating Cards */
.floating-cards {
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 10;
}

.float-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: fit-content;
    animation: floatCard 4s ease-in-out infinite;
}

.float-card i {
    color: var(--accent);
    font-size: 18px;
}

.card-1 { animation-delay: 0s; }
.card-2 { animation-delay: 1.5s; }
.card-3 { animation-delay: 3s; left: 20px; }
.card-4 { animation-delay: 0s; }
.card-5 { animation-delay: 1.5s; }
.card-6 { animation-delay: 3s; left: 20px; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Animation Classes */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-left {
    animation: fadeInLeft 1.2s ease-out forwards;
    opacity: 0;
    transform: translateX(30px);
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   SERVICES SECTION
   ========================================= */
.services {
    padding: 100px 0;
    background: #050a1f;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.glass-card {
    background: linear-gradient(145deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s ease;
    position: relative;
    /* CHANGE: Remove overflow: hidden if it clips inputs, or keep it but ensure z-index works */
    overflow: visible; 
    z-index: 1; 
    pointer-events: auto; /* Force clicks to work */
}

/* THE FIX: Ensure the pseudo-element does NOT block clicks */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: 0.4s;
    /* CRITICAL FIX: Make the overlay invisible to mouse clicks */
    pointer-events: none; 
    z-index: -1; /* Push it BEHIND the content */
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.glass-card:hover::before {
    opacity: 1;

}
/* Ensure Contact Form is below the Nav */
.glass-card, .contact-form-wrapper {
    position: relative;
    z-index: 10 !important; /* Much lower than 1000 */
}

/* CRITICAL: Ensure form inputs are clickable and on top */
.contact-form input,
.contact-form textarea,
.contact-form button {
    position: relative; /* Ensures they sit above pseudo-elements */
    z-index: 10; /* Higher than the ::before element */
    pointer-events: auto;
}
.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 25px;
    transition: 0.3s;
}

.glass-card:hover .service-icon {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.glass-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 25px;
    line-height: 1.6;
}

.service-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    color: var(--accent);
    gap: 10px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        margin-top: 60px;
    }

    .floating-cards {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        left: -20px;
    }
    
    .float-card {
        width: 140px;
        font-size: 12px;
    }
}

/* =========================================
   CONTACT SECTION
   ========================================= */
.contact {
    padding: 100px 0;
    background: #050a1f;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* Info Card */
.info-card {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.info-card h3 {
    font-size: 26px;
    margin-bottom: 15px;
    color: white;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 5px;
}

.info-text p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.social-links {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.social-links h4 {
    font-size: 16px;
    color: white;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* Form */
.contact-form-wrapper {
    padding: 20px;
}

.contact-form {
    padding: 40px;
}

.contact-form h3 {
    font-size: 26px;
    margin-bottom: 30px;
    color: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-main);
    font-size: 15px;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
}

.form-group textarea {
    resize: vertical;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 15px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background: #02040d;
    padding: 70px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
    display: inline-flex;
    gap: 10px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-links h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 25px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

/* =========================================
   RESPONSIVE ADJUSTMENTS
   ========================================= */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 30px;
    }

    .footer-links {
        margin-top: 20px;
    }
}
/* =========================================
   MOBILE RESPONSIVENESS
   ========================================= */

/* Tablet & Mobile (< 992px) */
@media (max-width: 992px) {
    /* Hero Section */
    .hero-inner {
        grid-template-columns: 1fr; /* Stack text and image */
        text-align: center;
        padding-top: 40px;
    }

    .hero-desc {
        margin: 0 auto 40px; /* Center description */
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-stats {
        justify-content: center;
        margin-top: 40px;
    }

    /* Navigation: Turn into Hamburger */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 10, 31, 0.98);
        backdrop-filter: blur(20px);
        padding: 80px 30px;
        transition: all 0.4s ease;
        border-left: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.5);
    }

    .nav-menu.active {
        right: 0; /* Slide in */
    }

   
    .nav-menu a {
        font-size: 18px;
        color: white;
    }

    .mobile-toggle {
        display: block; /* Show hamburger */
        font-size: 24px;
        color: white;
        cursor: pointer;
    }

    /* Contact Section */
    .contact-wrapper {
        grid-template-columns: 1fr; /* Stack info and form */
    }

    .info-card {
        margin-bottom: 30px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr; /* 2 columns */
        gap: 30px;
    }
}

/* Small Mobile (< 768px) */
@media (max-width: 768px) {
    /* Typography Adjustments */
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    /* Navigation Tweaks */
    .nav-menu {
        width: 100%; /* Full width on small screens */
    }

    /* Hero Canvas - Ensure it doesn't break layout */
    #hero-canvas {
        height: 300px;
        width: 100%;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px;
    }

    /* Footer - Single Column */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto 20px;
    }

    .footer-links {
        text-align: center;
        margin-bottom: 20px;
    }

    /* Buttons */
    .btn {
        padding: 5px 25px;
        width: 100%; /* Full width buttons on mobile */
        justify-content: center;
    }
}

/* Very Small Screens (< 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .section-desc {
        font-size: 14px;
    }

    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}
/* ... (Keep your existing styles) ... */

/* --- NEW TEAM SECTION STYLES --- */
/* --- Company/Team Section Styles --- */

.about {
    padding: 80px 0;
    background: #0f172a; /* Matches your dark theme background */
    position: relative;
}

/* The Grid Container: Creates the side-by-side layout */
.team-grid {
    display: grid;
    /* Creates 3 equal columns on desktop, 2 on tablet, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* The Individual Card */
.team-card {
    background: rgba(30, 41, 59, 0.7); /* Semi-transparent dark blue */
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(6, 182, 214, 0.15);
    border-color: rgba(6, 182, 214, 0.5);
}

/* Image Container */
.team-img {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 30px auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #3b82f6; /* Blue border */
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social Overlay (appears on hover) */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 25, 45, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.team-img:hover .team-overlay {
    opacity: 1;
}

.team-overlay .social-btn {
    color: #fff;
    font-size: 1.2rem;
    margin: 0 8px;
    transition: color 0.3s ease;
}

.team-overlay .social-btn:hover {
    color: #06b6d4; /* Cyan hover color */
}

/* Text Content */
.team-info {
    padding: 0 20px 30px;
}

.team-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.team-info .role {
    display: block;
    color: #3b82f6; /* Blue accent */
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.team-info p {
    color: #94a3b8; /* Light gray text */
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }
    
    .team-img {
        width: 100px;
        height: 100px;
    }
}
/* --- Gradient Mesh Background Animation --- */
.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Behind content */
    pointer-events: none;
    background: #0f172a; /* Fallback dark blue */
}

/* The moving glowing orbs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Creates the soft glow */
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #4f46e5; /* Indigo */
    top: -10%;
    left: -10%;
    animation-duration: 12s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #06b6d4; /* Cyan */
    bottom: -10%;
    right: -10%;
    animation-duration: 15s;
    animation-delay: -2s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #ec4899; /* Pink/Purple */
    top: 40%;
    left: 40%;
    animation-duration: 18s;
    animation-delay: -5s;
}

/* Animation Keyframes */
@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Ensure Hero content stays on top */
.hero-inner {
    position: relative;
    z-index: 2;
}
/* --- 1. Gradient Mesh Layer (Bottom) --- */
.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Behind particles */
    pointer-events: none;
    background: #0f172a; /* Deep dark background */
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: #4f46e5;
    top: -10%;
    left: -10%;
    animation-duration: 12s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #06b6d4;
    bottom: -10%;
    right: -10%;
    animation-duration: 15s;
    animation-delay: -2s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: #ec4899;
    top: 40%;
    left: 40%;
    animation-duration: 18s;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --- 2. Particle Canvas Layer (Middle) --- */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; /* Above gradients, below text */
    pointer-events: none; /* Let clicks pass through to buttons */
}

/* --- 3. Content Layer (Top) --- */
.hero-inner {
    position: relative;
    z-index: 3; /* Above everything */
}
/* --- Navbar Styling --- */


.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navigation Links */


.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3b82f6; /* Highlight color on hover */
}

/* Ensure Hero content has top margin so it doesn't hide under navbar */
.hero {
    padding-top: 100px; /* Adjust based on navbar height */
}
/* --- Full Background Logo Styling --- */
.hero-bg-logo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; /* Behind text (z-index 2+) but above gradient (z-index 0) */
    pointer-events: none; /* Allows clicking through the logo */
    opacity: 0.5; /* Very transparent (adjust 0.05 to 0.3) */
    overflow: hidden;
}

.hero-bg-logo img {
    width: 80%; /* Takes up 80% of the screen width */
    height: auto;
    max-width: 900px; /* Prevents it from getting too huge on big screens */
    object-fit: contain;
    
    /* Optional: Add a blur for a subtle "watermark" look */
    filter: blur(2px) brightness(0.8); 
    
    /* Ensure it doesn't block clicks */
    pointer-events: none;
}

/* IMPORTANT: Ensure your Hero Content is ABOVE the logo */
.hero-content, 
.hero-inner {
    position: relative;
    z-index: 10; /* Must be higher than hero-bg-logo (1) */
}

/* Also ensure the particles canvas is above the logo if you want particles visible over it */
#hero-canvas {
    z-index: 5; /* Between logo and text */
}
/* 1. Force the Navbar to have a fixed height */
header, .navbar {
    height: 70px; /* Fixed height */
    min-height: 40px; /* Prevents it from shrinking */
    padding: 0 20%;
    display: flex;
    align-items: center; /* Vertically centers content */
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95); /* Ensure background is solid */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}



/* 2. Style the Logo Container */
.logo {
    display: flex;
    align-items: center;
    /* No width constraint, lets the image define width */
}

/* 3. Make the Logo Big but Contained */
.logo-img {
    /* 
       1. height: 50px (or 60px) - This is the MAX height the logo can reach. 
          This ensures the navbar stays fixed at 70px.
       2. max-width: 250px - Allows the logo to be wide enough to look appealing 
          without forcing the navbar taller.
    */
    height: 230px; 
    max-width: 280px; 
    width: auto;
    object-fit: contain;
    display: block;
    /* Optional: Adds a tiny bit of shadow if your logo has transparency */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* =========================================
   MOBILE MENU FIX (OVERLAY STYLE)
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* 1. Header Structure */
    header.header, .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto;
        min-height: 50px; /* Ensure header has height */
        padding: 10px 20px !important;
        z-index: 1000;
        background: rgba(26, 26, 46, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }

    /* 2. Logo */
    .logo, .logo-img {
        width: 100px !important;
        height: auto !important;
        margin: 0 !important;
        
    }

    /* 3. The Mobile Toggle Button (Hamburger) */
    .mobile-toggle {
        display: block !important;
        font-size: 24px;
        color: #fff;
        cursor: pointer;
        z-index: 1002; /* Above the menu */
        padding: 5px 25px;
    }

    /* 4. The Navigation Menu (Hidden by default on mobile) */
    .nav-menu, .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: auto; /* Full screen height */
        background: rgba(26, 26, 46, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center; /* Center links vertically */
        align-items: center;
        gap: 20px;
        z-index: 1001; /* Below toggle, above content */
        
        
        /* Animation Setup */
        transform: translateY(-100%); /* Hidden above screen */
        transition: transform 0.3s ease-in-out;
        overflow-y: auto; /* Allow scrolling if menu is long */
        padding-top: 60px; /* Space for toggle button */
    }

    /* 5. The ACTIVE State (When menu is open) */
    .nav-menu.active, .nav-links.active {
        transform: translateY(0); /* Slide down */
    }

    /* 6. Link Styling */
    .nav-menu ul, .nav-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
        text-align: center;
        width: 100%;
    }

    .nav-menu li, .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-menu a, .nav-links a {
        font-size: 24px !important; /* Large text for mobile */
        color: #fff !important;
        text-decoration: none;
        display: block;
        padding: 10px;
        transition: color 0.3s;
    }

    .nav-menu a:hover, .nav-links a:hover {
        color: #00d4ff !important;
    }

    /* 7. Hide Desktop Navigation on Mobile */
    .nav-links:not(.active) {
        display: none; /* Completely hide if not active to save space */
    }
    
    /* 8. Desktop Toggle Hide */
    .mobile-toggle {
        display: block;
    }
    
    /* 9. Body Padding to prevent content hiding behind fixed header */
    body {
        padding-top: 80px; /* Adjust based on your header height */
    }
}

/* Desktop Overrides */
@media screen and (min-width: 769px) {
    .mobile-toggle {
        display: none !important;
    }
    
    .nav-menu, .nav-links {
        position: static;
        transform: none;
        height: auto;
        width: auto;
        background: transparent;
        flex-direction: row;
        justify-content: flex-end;
        padding: 0;
        display: flex !important;
    }

    .nav-menu ul, .nav-links ul {
        display: flex;
        gap: 120px;
    }
    
    .nav-menu a, .nav-links a {
        font-size: 16px !important;
    }
}
/* FORCE FORM TO BE ABOVE EVERYTHING */
.contact-form-wrapper {
    position: relative;
    z-index: 9999; /* Very high number to ensure it's on top */
}

.contact-form {
    position: relative;
    z-index: 10000; /* Even higher */
    pointer-events: auto;
}

/* Ensure inputs are interactable */
.contact-form input, 
.contact-form textarea {
    pointer-events: auto;
    touch-action: manipulation; /* Fixes mobile touch issues */
}
/* Video Section Styling */
.video-showcase-section {
    padding: 80px 0;
    background: linear-gradient(145deg, rgba(20, 20, 30, 0.9), rgba(10, 10, 20, 0.95));
    position: relative;
    overflow: hidden;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
    /* Keep the glass effect */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ... Existing Modal CSS ... */

/* Demo Button Style inside Modal */
#demo-btn {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

#demo-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Ensure the link inside the button looks like a button, not a text link */
#demo-btn-container a:hover {
    color: #fff; 
}
/* Style for the list inside the modal */
.modal-body ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.modal-body li {
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid rgba(255, 255, 255, 0.3); /* Glass line */
    transition: border-color 0.3s;
}

.modal-body li:hover {
    border-left-color: #4da6ff; /* Highlight on hover */
}

.modal-body li strong {
    color: #fff;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 6px;
}

.modal-body li a {
    font-size: 0.9rem;
    color: #4da6ff; /* Blue link color */
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    transition: color 0.3s;
}

.modal-body li a:hover {
    color: #80c1ff;
    text-decoration: underline;
}


/* --- 2. NEW VIDEO SHOWCASE STYLES (NO CONFLICTS) --- */

/* Specific ID selector to avoid global conflicts */
#open-video-modal {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.4);
    z-index: 1; /* Ensure it sits above the pseudo-element */
}

#open-video-modal:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(0, 255, 200, 0.7);
}

/* Renamed animation to 'video-pulse-ring' to prevent conflict */
#open-video-modal::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(0, 255, 200, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1; /* Behind the button text */
    animation: video-pulse-ring 2s infinite; /* NEW ANIMATION NAME */
}

/* New Keyframes for the button ring */
@keyframes video-pulse-ring {
    0% { width: 0; height: 0; opacity: 0.8; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

/* --- 3. THE MODAL & PLAYER STYLES --- */
#video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
    overflow-y: auto;
}

#video-modal.show {
    opacity: 1;
    visibility: visible;
}

.theater-container {
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-theater {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s;
}

.close-theater:hover {
    color: #ff4d4d;
}

.video-stage {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.filmstrip {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: #00ffc8 #333;
}

.filmstrip::-webkit-scrollbar {
    height: 8px;
}

.filmstrip::-webkit-scrollbar-track {
    background: #222;
    border-radius: 10px;
}

.filmstrip::-webkit-scrollbar-thumb {
    background: #00ffc8;
    border-radius: 10px;
}

.video-card {
    min-width: 140px;
    width: 140px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.video-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.video-card.active {
    border-color: #00ffc8;
    box-shadow: 0 0 15px rgba(0, 255, 200, 0.5);
}

.video-thumb {
    width: 100%;
    height: 80px;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 24px;
    position: relative;
}

.video-thumb::after {
    content: '\f04b';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    font-size: 20px;
    color: #fff;
    opacity: 0.7;
}

.video-info {
    padding: 10px;
    text-align: center;
}

.video-title {
    font-size: 12px;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 5;
}

/* Popup List Styling */
.popup-points-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.popup-point-item {
    margin-bottom: 12px;
    font-size: 1rem;
    color: #e0e0e0;
    line-height: 1.5;
}

/* 1. Ensure the Popup Modal is on TOP of everything */
#service-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999 !important; /* CRITICAL: Must be higher than your images/cards */
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

/* 2. Ensure the Popup Content Box is also on top */
#service-popup.show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

#service-popup .popup-content {
    position: relative;
    z-index: 10000 !important; /* Even higher to ensure it's above the backdrop */
    background: #1a1a2e;
    border-radius: 12px;
    padding: 30px;
    max-width: 90%;
    width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

/* 3. Ensure the Project Image doesn't cover the popup */
/* Sometimes images have high z-indexes too, let's lower them just in case */
.project-image, .project-card, .project-overlay {
    position: relative;
    z-index: 1; /* Keep images low */
}

.close-popup-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.close-popup-btn:hover {
    color: var(--primary, #00d4ff);
}

.popup-points-list li {
    margin-bottom: 15px;
}
/* Projects Section */
.projects {
    padding: 80px 0;
    background: var(--bg-dark, #0a0a1a);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.15);
}

.project-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    background: var(--primary, #00d4ff);
    color: #000;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transform: translateY(20px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-link:hover {
    background: #fff;
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2rem;
    color: #fff;
}

.project-category {
    margin: 0;
    font-size: 0.9rem;
    color: var(--primary, #00d4ff);
}

/* Section Title & Subtitle */
.section-subtitle {
    text-align: center;
    color: #aaa;
    max-width: 600px;
    margin: 10px auto 40px;
    font-size: 1.1rem;
    
}
