/* =====================
   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;
    }
}

/* =====================
   MAIN HEADER (h1)
===================== */
h1 {
    font-size: 2.5rem;
    text-align: center;
    padding: 50px 40px 30px;
    color: #fff;
    margin: 0;
}

/* =====================
   PRODUCTS SECTION
===================== */
.products-section {
    padding: 60px 40px;
    margin: 40px 20px;
    background: linear-gradient(180deg, #07152c, #030b1a);  
    border: 1px solid #1f3a66;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.products-section h2 {
    font-size: 34px;
    margin-bottom: 40px;
    text-align: center;
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
    max-width: 1100px;     /* Controls overall width */
    margin: 0 auto;        /* Centers the 2 cards */
}

.product-card {
    background: linear-gradient(180deg, #071e42, #061531);
    border: 1px solid #1f3a66;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* .product-card:hover {
    transform: translateY(-8px);
} */

.product-card a {
    display: block;
    margin-bottom: 15px;
}

.product-card img {
    width: 100%;
    height: 260px;           /* Fixed height for consistency */
    object-fit: contain;     /* Image perfectly fit without cropping */
    background: #0a1a2f;
    border-radius: 6px;
    padding: 10px;
    border: 1px solid #1f3a66;
}

.product-card h2 {
    font-size: 26px;
    margin-bottom: 10px;
    color: #fff;
}

#my {
    color: #fff;
    text-align: center;
    margin-top: 5rem;
}

/* =====================
   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;
}

/* =====================
   LARGE TABLET / SMALL DESKTOP (≤ 1200px) - Optional for finer control
===================== */
@media (max-width: 1200px) {
    .navbar {
        padding: 15px 30px;
    }

    .products-section {
        padding: 50px 30px;
        margin: 30px 15px;
    }

    .product-grid {
        gap: 25px;
    }

    .footer-container {
        padding: 40px 30px;
        gap: 25px;
    }
}


/* =====================
   TABLET (≤ 992px)
===================== */
@media (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
    }

    h1 {
        font-size: 2.2rem;
        padding: 40px 30px 20px;
    }

    .products-section {
        padding: 40px 20px;
        margin: 20px 10px;
    }

    .products-section h2 {
        font-size: 28px;
        text-align: center;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px 20px;
        gap: 20px;
    }

    .map iframe {
        width: 100%;
        height: 150px;
    }
}

/* =====================
   MOBILE (≤ 768px)
===================== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .navbar nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    h1 {
        font-size: 2rem;
        padding: 30px 20px 15px;
        text-align: center;
    }

    .products-section {
        padding: 30px 15px;
        margin: 15px 5px;
    }

    .products-section h2 {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card h2 {
        font-size: 22px;
    }

    .product-card p {
        font-size: 16px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px 15px;
        gap: 30px;
    }

    .social-icons {
        justify-content: center;
    }

    .map iframe {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }
}

/* =====================
   SMALL MOBILE (≤ 480px)
===================== */
@media (max-width: 480px) {
    .navbar {
        padding: 12px 15px;
    }

    .logo {
        font-size: 20px;
    }

    .navbar nav {
        gap: 10px;
    }

    .navbar nav a {
        font-size: 13px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    h1 {
        font-size: 1.8rem;
        padding: 25px 15px 10px;
    }

    .products-section {
        padding: 20px 10px;
        margin: 10px 0;
    }

    .products-section h2 {
        font-size: 20px;
    }

    .product-card {
        padding: 15px;
    }

    .product-card h2 {
        font-size: 20px;
    }

    .product-card p {
        font-size: 14px;
    }

    .footer-container {
        padding: 20px 10px;
    }

    .footer-col h3 {
        font-size: 14px;
    }

    .footer-col ul li a {
        font-size: 13px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons img {
        width: 28px;
        height: 28px;
    }

    .footer-bottom {
        font-size: 12px;
        padding: 10px;
    }
}