/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Global Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(180deg, #f9fafb, #e3e8ef);
    color: #030303;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.9); /* Make header semi-transparent */
    padding: 5px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border: 2px solid rgb(255, 136, 0);
}

.logo-and-title {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 60px;
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid #ff8800;
}

header h1 {
    font-size: 26px;
    font-weight: bold;
    color: #ff8800;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
}

/* Center the menu */
.navbar ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center menu items */
    gap: 20px;
    margin: 0;
    padding: 0;
}

/* Bold font for menu items */
.navbar a {
    text-decoration: none;
    font-size: 16px;
    font-weight: bold; /* Make font bold */
    color: #0e0e0e;
    padding: 8px 15px;
    border-radius: 6px;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar a:hover {
    background: rgb(255, 136, 0);
    color: #fff;
}

/* Hamburger Menu */
.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* Dropdown Menu */
#dropdown-menu {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9); /* Transparent menu background */
    position: absolute;
    top: 70px;
    right: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1100; /* Ensure it's above the banner */
}

#dropdown-menu a {
    text-decoration: none;
    color: #555;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

#dropdown-menu a:hover {
    background: rgb(255, 136, 0);
    color: #fff;
}

#dropdown-menu.show {
    display: flex;
}

/* Ensure banner is below menu */
.banner {
    position: relative;
    z-index: 1; /* Lower z-index than menu */
}

/* Main Content */
main {
    padding: 20px;
    border-radius: 12px;
}

/* Footer */
footer {
    background: linear-gradient(180deg, #2a3d66, #1b2a4a);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

footer p {
    margin: 5px 0;
    color: #ccc;
    font-size: 14px;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    margin: 0 8px;
    font-size: 20px;
    transition: color 0.3s ease;
}

footer .social-icons a:hover {
    color: #ffa600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        display: none;
    }

    .menu-icon {
        display: block;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 20px;
    }
}

/* Additional Responsive Adjustments */
@media (max-width: 768px) {
    .banner-content {
        font-size: 24px;
    }

    .series-section h2 {
        font-size: 28px;
    }

    .government-series {
        flex-direction: column;
    }

    .search-box {
        max-width: 100%;
        width: auto;
    }
}

@media (max-width: 480px) {
    .series-card h3 {
        font-size: 18px;
    }

    footer {
        font-size: 12px;
    }
}

/* Series Section */
.series-section {
    padding: 5px 20px;
    text-align: center;
    background-color: #f3f4f6;
}

.series-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #333;
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.series-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.series-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.series-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

/* Government Series Section */
.government-series {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.government-series .content-left {
    flex: 1;
    min-width: 300px;
}

.government-series .content-left img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.government-series .content-right {
    flex: 1;
    color: #555;
    min-width: 300px;
}

.government-series .content-right h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #222;
}

.government-series .content-right p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Footer Section */


/* Responsive Design */
@media (max-width: 768px) {
    .banner-content {
        font-size: 24px;
    }

    .series-section h2 {
        font-size: 28px;
    }

    .government-series {
        flex-direction: column;
    }

    .search-box {
        max-width: 100%;
        width: auto;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 20px;
    }

    .series-card h3 {
        font-size: 18px;
    }

    footer {
        font-size: 12px;
    }
}
