:root {
    --bg-dark: #0b0e14;
    --text-light: #f5f5f7;
    --primary-blue: #007aff;
    --highlight-cyan: #00d2ff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

/* =========================================
   1. NAVIGATION & HEADER
   ========================================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(11, 14, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo {
    height: 70px;
    width: 80;
    border-radius: 6px; /* White box ke kinaray thore gol aur modern ho jayenge */
}
/* Logo ke andar jo 'LABS' (span) hai uska color */
.logo-text span {
    color: #ffaa00; /* Yahan apna pasandeeda color code lagayen */
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span { color: var(--highlight-cyan); }

/* Desktop Navigation Wrapper */
.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #a1a1a6;
    text-decoration: none;
    margin-left: 35px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--text-light); }

.nav-actions {
    display: flex;
    align-items: center;
}

/* Hamburger Icon (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; 
}

.menu-toggle .bar {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 5px;
    transition: all 0.4s ease-in-out;
}

/* =========================================
   2. BUTTONS
   ========================================= */
.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-blue);
}

.btn-primary:hover {
    background: transparent;
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    border: 1px solid var(--glass-border);
    margin-left: 15px;
    transition: all 0.3s ease;
}

.btn-secondary:hover { border-color: var(--text-light); }

/* =========================================
   3. HERO SECTION (Video Background)
   ========================================= */
.hero {
    position: relative; 
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 10%;
    overflow: hidden; 
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    z-index: 0; 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.65); 
    z-index: 1; 
}

.hero-content {
    position: relative;
    z-index: 2; 
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 800;
}

.highlight { color: var(--highlight-cyan); }

.hero p {
    font-size: 1.25rem;
    color: #a1a1a6;
    max-width: 650px;
    margin: 0 auto 40px auto;
}

/* =========================================
   4. SERVICES SECTION (Image Cards)
   ========================================= */
.services { padding: 100px 8%; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.services-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.img-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    background-color: #1a1a2e; 
}

.img-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.9) 100%);
    transition: all 0.4s ease;
}

.img-card h3 {
    position: absolute;
    top: 30px; 
    left: 25px;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    z-index: 2;
    transition: transform 0.4s ease;
}

.img-card:hover .card-overlay {
    background: linear-gradient(to bottom, rgba(0,122,255,0.6) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%);
}

.img-card:hover h3 {
    transform: translateX(10px); 
}

/* =========================================
   5. CEO SECTION
   ========================================= */
.ceo-section {
    padding: 100px 8%;
    background-color: #080a0f;
}

.ceo-container {
    display: flex;
    align-items: center;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
}

.ceo-image img {
    width: 350px;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 122, 255, 0.2);
}

/* =========================================
   6. FOOTER
   ========================================= */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 8% 20px 8%;
    background: #05070a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #a1a1a6;
    margin-top: 10px;
    max-width: 300px;
}

.footer-links a {
    color: #a1a1a6;
    text-decoration: none;
    margin-left: 20px;
}

.copyright {
    text-align: center;
    color: #666;
    border-top: 1px solid var(--glass-border);
    padding-top: 20px;
}

/* =========================================
   📱 MOBILE RESPONSIVENESS (Media Queries)
   ========================================= */

@media screen and (max-width: 992px) {
    /* Tablet & Small Laptops */
    .hero h1 { font-size: 3.5rem; }
    .services-gallery { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
    .ceo-container { flex-direction: column; text-align: center; }
    .ceo-content h2 { text-align: center !important; }
}

@media screen and (max-width: 768px) {
    /* Mobile Phones */
    
    /* Navbar Adjustment */
    .navbar {
        padding: 15px 5%;
    }
    
    .menu-toggle {
        display: flex; /* Hamburger Show */
    }

    /* Premium Side Drawer Menu */
    .nav-wrapper {
        position: fixed;
        top: 0;
        right: -100%; /* Hidden by default */
        width: 300px;
        height: 100vh;
        background: rgba(8, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        padding: 40px;
        z-index: 1000;
        gap: 0;
    }

    /* Menu Open State */
    .nav-wrapper.active {
        right: 0;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 40px;
    }
    
    .nav-links a {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
        letter-spacing: 1px;
    }

    .nav-actions {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .btn-primary {
        margin: 0 !important;
        width: 100%;
        text-align: center;
    }

    /* Hamburger to X Animation */
    .menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

    /* Hero Section Adjustment */
    .hero {
        padding: 100px 5% 50px 5%; 
    }

    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }

    /* CEO Section Adjustment */
    .ceo-container {
        padding: 20px;
    }

    .ceo-image img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    /* Footer & Contact Strip Adjustment */
    .contact-strip div {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        grid-template-columns: 1fr; 
        text-align: center;
        flex-direction: column;
    }
    
    .footer-links-col, .footer-contact {
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    /* Small Mobile Phones */
    .hero h1 { font-size: 2rem; }
    .img-card { height: 280px; }
}