:root {
    --primary: #000;
    --secondary: #1a1a1a;
    --accent: #00bfff;
    --text-light: #fff;
    --text-muted: #b3b3b3;
}

body {
    background: var(--primary);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
}

/* NAVBAR */
.main-navbar {
    background: transparent;
    padding: 18px 0;
    transition: 0.4s;
}
.main-navbar.scrolled {
    background: rgba(0,0,0,0.95);
}
.navbar-brand img { height: 80px; }

.nav-link {
    font-family: 'Poppins';
    text-transform: uppercase;
    color: #fff !important;
    letter-spacing: 0.06em;
}

/* PHONE */
.nav-phone {
    padding: 10px 22px;
    border-radius: 30px;
    border: 1px solid rgba(0,191,255,0.5);
    color: var(--accent);
    text-decoration: none;
}

/* MEGA MENU */
.mega-menu {
    background: linear-gradient(180deg,#0a0a0a,#141414);
    border-radius: 16px;
    padding: 40px;
    margin-top: 20px;
}
.mega-link {
    display: block;
    padding: 16px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 14px;
    color: #fff;
    text-decoration: none;
}
.mega-link:hover {
    background: rgba(0,191,255,0.15);
}
/* ================= MEGA MENU ALIGNMENT FIX ================= */

/* Force equal height items */
.mega-menu .mega-link {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
    padding: 14px 18px;
    white-space: normal;
}

/* Ensure columns align evenly */
.mega-menu .col-md-4 {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* ================= NAVBAR RESPONSIVE FIX ================= */

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Mega menu desktop */
.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    background: #0b0b0b;
    border: none;
}

/* MOBILE FIX */
@media (max-width: 991px) {

    .navbar-collapse {
        background: #000;
        padding: 20px;
        border-radius: 12px;
    }

    .navbar-nav {
        gap: 10px;
    }

    /* Stack mega menu instead of overlay */
    .navbar .dropdown-menu {
        position: static !important;
        width: 100%;
        margin-top: 10px;
        padding: 15px;
    }

    /* Remove desktop container restriction */
    .dropdown-menu .container {
        max-width: 100%;
        padding: 0;
    }

    .mega-menu .row {
        row-gap: 15px;
    }

    .mega-link {
        display: block;
        padding: 12px 16px;
        background: #111;
        border-radius: 10px;
        font-size: 14px;
    }

    /* Phone visible on mobile */
    .nav-phone {
        display: inline-block;
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
}

/* ================= HERO SECTION ================= */

.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

/* Background Video */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.65) contrast(1.1);
}

/* Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85),
        rgba(90, 90, 90, 0.45)
    );
    z-index: 2;
}

/* Content */
.hero-content {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    margin-top: 20px;
    color: var(--text-muted);
    letter-spacing: 0.15em;
}

/* CTA */
.hero-btn {
    margin: 15px;
    padding: 14px 36px;
    border-radius: 30px;
    letter-spacing: 0.12em;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-video {
        display: none;
    }

    .hero-section {
        background: url('/images/hero.jpg') center/cover no-repeat;
    }
}
.about-section {
    padding-top: 160px; /* increased breathing space */
}

/* ================= MEGA MENU CENTER ALIGN FIX ================= */

/* Ensure dropdown parent is positioning context */
.nav-item.dropdown {
    position: relative;
}

/* Center mega menu under its tab */
.nav-item.dropdown .dropdown-menu.mega-menu {
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
}

/* Prevent Bootstrap overriding */
.dropdown-menu {
    margin-top: 18px;
}

/* ================= SERVICES SECTION ================= */

.services-section {
    background: linear-gradient(180deg, #0b0b0b, #000000);
    padding: 120px 0;
}

.section-subtitle {
    color: var(--text-muted);
    margin-top: 18px;
    letter-spacing: 0.08em;
}

.service-card {
    height: 100%;
    padding: 45px 35px;
    background: linear-gradient(180deg, #111111, #1a1a1a);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.07);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 25px 70px rgba(0,0,0,0.9);
    display: flex;
    flex-direction: column;
}

/* ICON */
.service-icon {
    font-size: 42px;
    margin-bottom: 25px;
    color: var(--accent);
    filter: drop-shadow(0 0 12px rgba(0,191,255,0.5));
}

.service-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.service-card p {
    color: #d0d0d0;
    line-height: 1.7;
    flex-grow: 1;
}

.service-link {
    margin-top: 25px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--accent);
    text-decoration: none;
}

/* Hover */
.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0,191,255,0.6);
    box-shadow: 0 0 45px rgba(0,191,255,0.35);
}
/* ================= PRODUCTS SECTION ================= */

.products-section {
    background: linear-gradient(180deg, #000000, #0c0c0c);
    padding: 130px 0;
}

.products-intro {
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto;
}

.product-block {
    margin-top: 110px;
}

.product-heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.product-tagline {
    color: var(--accent);
    letter-spacing: 0.14em;
    margin-bottom: 14px;
}

.product-description {
    color: #cfcfcf;
    max-width: 900px;
    margin-bottom: 45px;
}

/* Grid */
.product-grid {
    max-width: 1200px;
    margin: 0 auto;
}

/* Image Box */
.product-img-box {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    background: #111;
    box-shadow: 0 30px 70px rgba(0,0,0,0.9);
    transition: all 0.45s ease;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-img-box:hover img {
    transform: scale(1.08);
}

.product-img-box:hover {
    box-shadow: 0 0 45px rgba(0,191,255,0.55);
}

/* CTA */
.product-cta {
    margin-top: 40px;
}

.product-btn {
    padding: 14px 38px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #ffffff;
    border: 1px solid var(--accent);
    background: transparent;
    border-radius: 40px;
    transition: all 0.35s ease;
}

.product-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 35px rgba(0,191,255,0.6);
    transform: translateY(-2px);
}
/* ================= WHY CHOOSE US ================= */

.why-section {
    background: linear-gradient(180deg, #0c0c0c, #000000);
    padding: 130px 0;
}

.why-card {
    background: #111;
    border-radius: 20px;
    padding: 35px 28px;
    text-align: center;
    height: 100%;
    box-shadow: 0 25px 60px rgba(0,0,0,0.85);
    transition: all 0.4s ease;
}

.why-icon {
    font-size: 2.4rem;
    margin-bottom: 18px;
}

.why-card h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 12px;
}

.why-card p {
    color: #cfcfcf;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Hover Effect */
.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(0,191,255,0.45);
}

/* CTA */
.why-btn {
    padding: 16px 42px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 50px;
    border: 1px solid var(--accent);
    color: #fff;
    background: transparent;
    transition: all 0.35s ease;
}

.why-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 35px rgba(0,191,255,0.6);
}
/* ================= ABOUT SECTION ================= */

.about-section {
    padding: 120px 0;
    background: #000;
}

/* Text Box */
.about-box {
    background: #111;
    padding: 48px 42px;
    border-radius: 20px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.85);
}

.about-eyebrow {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.about-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 22px;
}

.about-box p {
    color: #cfcfcf;
    line-height: 1.8;
    margin-bottom: 18px;
}

/* CTA */
.about-btn {
    margin-top: 18px;
    padding: 14px 38px;
    border-radius: 40px;
    border: 1px solid var(--accent);
    background: transparent;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.35s ease;
}

.about-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 35px rgba(0,191,255,0.6);
}

/* Image */
.about-image img {
    max-width: 420px;
    border-radius: 18px;
    box-shadow: 0 35px 80px rgba(0,0,0,0.9);
}
/* ================= TRUSTED BRANDS ================= */

.brands-section {
    padding: 120px 0;
    background: linear-gradient(180deg, #0a0a0a, #000000);
}

.brand-logo {
    background: #111;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    height: 100%;
    box-shadow: 0 18px 45px rgba(0,0,0,0.75);
    transition: all 0.35s ease;
}

.brand-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.9);
    transition: all 0.35s ease;
}

/* Hover Effect */
.brand-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(0,191,255,0.4);
}

.brand-logo:hover img {
    filter: grayscale(0%) brightness(1);
}
/* ================= CONTACT SECTION ================= */

.contact-section {
    padding: 130px 0;
    background: #fff;
    color: #000;
}

/* Form */
.contact-form label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

.contact-form label span {
    color: red;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ccc;
    padding: 10px 0;
    background: transparent;
    outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--accent);
}

/* Recaptcha Mock */
.recaptcha-box {
    border: 1px solid #ccc;
    padding: 14px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

/* Button */
.contact-btn {
    margin-top: 12px;
    padding: 14px 36px;
    background: #000;
    color: #fff;
    border: none;
    transition: 0.3s ease;
}

.contact-btn:hover {
    background: var(--accent);
    color: #000;
}

/* Info Box */
.contact-info-box {
    background: #111;
    color: #fff;
    padding: 42px;
    border-radius: 18px;
}

.contact-info-box h4 {
    margin-bottom: 6px;
}

.contact-info-box p {
    margin-bottom: 20px;
    color: #ccc;
}

.contact-info-box a {
    color: #fff;
    text-decoration: none;
}

/* Social Icons */
.social-links {
    display: flex;
    gap: 14px;
    margin-top: 10px;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 18px rgba(0,191,255,0.6);
}
/* ================= FOOTER ================= */

.footer-section {
    background: #000;
    color: #ccc;
    padding: 80px 0 30px;
}

.footer-section h5 {
    color: #fff;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid #222;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
}
.visitor-counter span {
    font-size: 32px;
    font-weight: 700;
    color: #0ff;
}
.visitor-counter p {
    margin: 0;
    color: #aaa;
}
/* ================= SERVICE PAGES ================= */

.service-hero {
    background: #000;
    padding: 140px 0 80px;
    color: #fff;
}

.service-content {
    padding: 100px 0;
}

.service-points {
    padding-left: 18px;
}

.service-points li {
    margin-bottom: 8px;
}

.service-btn {
    background: var(--accent);
    color: #000;
    padding: 12px 30px;
    border-radius: 30px;
    margin-top: 20px;
    display: inline-block;
}

.service-image {
    border-radius: 18px;
    box-shadow: 0 30px 70px rgba(0,0,0,0.8);
}
