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

/* =====================================
   SECTION HEADING
===================================== */

.section-heading {

    display: flex;

    align-items: flex-end;

    width: 100%;

    margin: 14px 10px 8px;

}

.section-heading h2 {

    display: inline-block;

    text-transform: uppercase;

    position: relative;

    color: #111827;

    background: none;

    padding: 0 0 5px 0;

    border-radius: 0;

    margin: 0;

    font-size: 20px;

    font-weight: 700;

    letter-spacing: 0.3px;

    box-shadow: none;

}

.section-heading h2::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: 0;

    width: 100%;

    height: 3px;

    background: #2563eb;

}

.section-line {

    flex: 1;

    height: 1px;

    background: #d1d5db;

    margin-left: 0;

    margin-bottom: 1px;

}

/* 🔥 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: 600;

    font-size: 15px;

    color: white;

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

    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;
    }
}

/* =====================================
   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;
}


/* =========================================
   📱 MOBILE HOME MENU
   ========================================= */

.home-mobile-menu {
    display: none;
}

@media (max-width: 768px) {

    .home-mobile-menu {
        position: fixed;

        top: 0;
        left: 0;

        width: 240px;
        max-width: 85vw;
        height: 100vh;

        background: #ffffff;

        z-index: 9998;

        overflow-y: auto;

        box-sizing: border-box;

        box-shadow: 4px 0 18px rgba(0, 0, 0, 0.18);
    }

    .home-mobile-menu-header {
        position: sticky;

        top: 0;

        display: flex;
        align-items: center;
        justify-content: space-between;

        height: 56px;

        padding: 0 16px;

        background: #ffffff;

        border-bottom: 1px solid #e5e7eb;

        box-sizing: border-box;

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

        color: #111827;
    }

    .home-mobile-menu-header button {
        width: 40px;
        height: 40px;

        border: none;
        background: none;

        font-size: 22px;

        color: #111827;

        cursor: pointer;
    }

    .home-mobile-menu-list {
        width: 100%;
    }

    .home-mobile-section {
        width: 100%;

        border-bottom: 1px solid #e5e7eb;
    }

    .home-mobile-section-btn {
        width: 100%;

        min-height: 52px;

        padding: 0 18px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        border: none;
        background: #ffffff;

        color: #111827;

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

        text-align: left;

        cursor: pointer;
    }

    .home-mobile-arrow {
        font-size: 25px;
        line-height: 1;

        transition: transform 0.2s ease;
    }

    .home-mobile-section-btn.active .home-mobile-arrow {
        transform: rotate(90deg);
    }

    .home-mobile-editions {
        display: none;

        background: #f9fafb;

        border-top: 1px solid #f0f0f0;
    }

    .home-mobile-editions a {
        display: block;

        padding: 13px 42px;

        color: #374151;

        text-decoration: none;

        font-size: 15px;

        border-bottom: 1px solid #eeeeee;
    }

    .home-mobile-editions a:last-child {
        border-bottom: none;
    }

    .home-mobile-editions a:active {
        background: #eeeeee;
    }

}

