  /* =====================
   RESET & BASE
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    line-height: 1.6;
    background-color: #050b16;
    color: white;   
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.btn {
    background: #ed1c24;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
}

/* .btn:hover {
    background: #c92f3b;
} */


/* =====================
   NAVBAR - FIXED ON ALL DEVICES (Desktop + Tablet + Mobile)
===================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #0b1220;
    color: #fff;
    position: fixed;           /* Fixed on all screens */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

/* =====================
   TABLET (≤ 992px)
===================== */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 20px;     /* sirf padding kam */
        /* position fixed same rahega */
    }
}

/* =====================
   MOBILE (≤ 768px) - Column layout but still FIXED
===================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;     /* mobile mein column */
        gap: 12px;
        padding: 12px 20px;
        /* position fixed same rahega */
    }
    
    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
}

/* =====================
   SMALL MOBILE (≤ 480px)
===================== */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
        /* position fixed same rahega */
    }
    
    .navbar .logo img {
        max-height: 45px;   /* logo thoda chhota ho jaye */
    }
}


.logo {
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar nav a {
    color: #fff;
    font-size: 14px;
}



/* ===================== NEW DROPDOWN STYLES FOR NAVBAR ===================== */
.navbar nav .dropdown {
    position: relative;
    display: inline-block;
}

.navbar nav .dropbtn {
    color: #fff;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar nav .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0b1220;
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
    z-index: 1001;
    border-radius: 4px;
    overflow: hidden;
}

.navbar nav .dropdown-content a {
    color: #fff;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.3s;
}

.navbar nav .dropdown-content a:hover {
    background-color: #1f3a66;
}

.navbar nav .dropdown:hover .dropdown-content {
    display: block;
}

/* Mobile pe bhi dropdown achha lage */
@media (max-width: 768px) {
    .navbar nav .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: #0b1220;
        margin-top: 8px;
    }
}

/* =====================
   HERO CAROUSEL
===================== */
.hero-carousel {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

.slide .content {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    color: #fff;
    z-index: 2;
    max-width: 600px;
}

.slide h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.slide p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* =====================
   PRODUCTS
===================== */
.products-section {
    padding: 60px 40px;
    margin: 40px 20px;
    background: linear-gradient(180deg, #07152c, #030b1a);  
    border: 1px solid #1f3a66; /* Border applied */
    margin-bottom: 20px; /* Spacing between sections */
    border-radius: 6px; /* Rounded corners */
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Shadow applied */
   
}

.products-section h2 {
    font-size: 34px;
    margin-bottom: 20px;
    text-align: left;
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: linear-gradient(180deg, #071e42, #061531);
    border: 1px solid #1f3a66;
    padding: 20px;
    text-align: center;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

/* .product-card:hover {
    transform: translateY(-6px);
    border-color: #ff0000;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.2);
} */

.product-card h2 {
    font-size: 26px;
    margin-bottom: 10px;
    text-align: center;
}

.product-card p {
    font-size: 18px;
    color: #cfd8e3;
    margin-bottom: 10px;
}

/* =====================
   FOOTER
===================== */
.footer {
    background: linear-gradient(180deg, #07152c, #030b1a); 
    color: #ddd;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 50px 40px;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #ccc;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
    margin-top: 30px;
}

.social-icons img {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}


.map {
    margin-top: 20px;
}

.map iframe {
    width: 200px;
    height: 120px;
    border-radius: 6px;
}

.footer-bottom {
    text-align: center;
    padding: 15px;
    font-size: 13px;
    background: #000;
}

/* =====================
   TABLET (≤ 992px)
===================== */
@media (max-width: 992px) {

    .navbar {
        padding: 15px 20px;
    }

    .slide h1 {
        font-size: 32px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =====================
   MOBILE (≤ 768px)
===================== */
@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 10px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-carousel {
        height: 60vh;
    }

    .slide .content {
        left: 5%;
        right: 5%;
        text-align: center;
    }

    .slide h1 {
        font-size: 24px;
    }

    .slide p {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

/* =====================
   SMALL MOBILE (≤ 480px)
===================== */
@media (max-width: 480px) {

    .slide h1 {
        font-size: 20px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 13px;
    }
}