body {
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

h2 {
    display: inline-block;

    background: linear-gradient(90deg, #2563eb, #1d4ed8);

    color: white;

    padding: 8px 14px;

    border-radius: 12px;

    margin: 10px 10px 8px;

    font-size: 18px;
    font-weight: 600;

    letter-spacing: 0.3px;

    box-shadow:
        0 4px 10px rgba(37,99,235,0.25);
}

/* 🔥 GRID SYSTEM (DESKTOP DEFAULT) */
.grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 14px;

    padding: 6px 6px;

    max-width: 1680px;

    margin: auto;

    align-items: start;
}

/* 🔥 CARD */
.card {

    background: #ffffff;

    border-radius: 0;

    overflow: hidden;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 2px 10px rgba(0,0,0,0.06);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;

    padding-bottom: 4px;
}

.card:hover {

    transform: translateY(-3px);

    box-shadow:
        0 8px 18px rgba(0,0,0,0.10);

    border: 1px solid blue;
}

/* 🔥 IMAGE */
.card img {

    width: calc(100% - 2px);

    height: 380px;

    object-fit: contain;

    object-position: center;

    background: #f8fafc;

    display: block;

    margin: 0;
}

/* 🔥 TEXT */
.card p {

    margin: 0;

    padding: 5px 5px;

    font-weight: 700;

    font-size: 15px;

    color: #c00000;

    background: #ffe600;

    text-align: center;

    text-transform: uppercase;

    letter-spacing: 0.4px;

    line-height: 16px;

    min-height: 28px;

    display: -webkit-box;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}

a {
    text-decoration: none;
}

/* 💻 Laptop */
@media (max-width: 1200px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 📱 Tablet */
@media (max-width: 900px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 📱 MOBILE (🔥 2 COLUMN PERFECT VIEW) */
@media (max-width: 600px) {

    .grid {
        grid-template-columns: repeat(2, 1fr);  /* 🔥 2 columns */
        gap: 8px;
        padding: 6px;
    }

    .card img {
        height: 260px;   /* 🔥 better proportion */
    }

    .card p {
        font-size: 13px;
        height: 34px;
        line-height: 16px;
        margin-top: 8px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        text-align: center;
        overflow: hidden;
    }
    h2 {
        font-size: 16px;
        padding: 5px 10px;
    }
}

/* =====================================
   PREMIUM HOME NAVBAR
===================================== */

.navbar {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

    margin-left: 0;

    margin-top: -8px;

    padding: 6px 12px;

    background:
        linear-gradient(
            135deg,
            #1e3a8a,
            #2563eb
        );

    position: sticky;

    top: 0;

    z-index: 9999;

    box-shadow:
        0 10px 30px rgba(37,99,235,0.35);
}

/* 🔥 REMOVE SCROLL FROM PARENT */
.nav-scroll {

    display: flex;

    justify-content: center;

    width: 100%;
}

/* 🔥 SCROLL ONLY FOR BUTTONS */
.nav-menu {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    overflow-x: auto;

    padding: 2px 0;
}

.nav-menu::-webkit-scrollbar {
    display: none;
}

.nav-item {
    position: relative;
    flex: 0 0 auto;
}

/* BUTTON */
.nav-btn {

    background: rgba(255,255,255,0.15);

    color: white;

    border: 1px solid rgba(255,255,255,0.18);

    padding: 7px 14px;

    border-radius: 10px;

    cursor: pointer;

    font-weight: 600;

    backdrop-filter: blur(6px);

    transition: all 0.25s ease;
}

.nav-btn:hover {

    background: white;

    color: #1e3a8a;

    transform: translateY(-2px);
}


/* 🔥 DROPDOWN (FIXED) */
.dropdown {
    display: none;
    position: fixed;   /* 🔥 KEY CHANGE */
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    border-radius: 6px;
    z-index: 9999;
}

/* LINKS */
.dropdown a {
    display: block;
    padding: 8px;
    text-decoration: none;
    color: black;
}

.dropdown a:hover {
    background: #f0f0f0;
}

/* DESKTOP HOVER */
@media (min-width: 769px) {
    .nav-item:hover .dropdown {
        display: block;
    }
}
/* 📱 MOBILE NAVBAR FIX */
@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
    }

    .navbar {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-item {
        width: 100%;
    }

    .nav-btn {
        width: 100%;
        text-align: left;
        padding: 10px;
    }

    .dropdown {
        position: static;   /* 🔥 important */
        box-shadow: none;
        border-radius: 0;
        display: none;
    }

    .dropdown a {
        padding: 10px;
        border-top: 1px solid #eee;
    }
}

/* 📱 MENU BUTTON */
.menu-toggle {

    display: none;

    background: rgba(255,255,255,0.15);

    color: white;

    border: 1px solid rgba(255,255,255,0.2);

    padding: 10px 12px;

    font-weight: 600;

    border-radius: 10px;

    cursor: pointer;
}


/* 📱 MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
        width: 100%;
        margin-bottom: 6px;
    }

    .nav-menu {
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }
    .nav-scroll {
        display: none;   /* 🔥 hide completely */
    }
}

/* 📱 HIDE HOME SECTION MENU */

@media (max-width: 768px) {

    .home-sections-navbar {

        display: none;
    }

    .home-sections-navbar .menu-toggle {

        display: none !important;
    }
}

/* 🔍 SEO CONTENT */

.home-seo-content {

    max-width: 1200px;

    margin: 40px auto 10px auto;

    padding: 0 15px;

    text-align: center;

    opacity: 0.75;
}

.home-seo-content h1 {

    font-size: 18px;

    margin-bottom: 6px;

    color: #374151;

    font-weight: 600;
}

.home-seo-content p {

    font-size: 13px;

    line-height: 1.6;

    color: #6b7280;
}
