


/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
}



body {
    background-image: url(2022-05-30.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

}
/* ===== NAVBAR ===== */
.navbar {
    background: white;
    height: 80px;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #111;
    text-decoration: none;
}

.logo span {
    color: #2563eb;
}

/* ===== DESKTOP MENU ===== */
.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-links li {
    padding: 0 15px;
}

.nav-links li a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
}

.btn-member {
    background: #2563eb;
    color: white !important;
    padding: 10px 20px;
    border-radius: 30px;
}

/* ===== DESKTOP MEGA MENU ===== */
.dropdown {
    position: relative;
}

.mega-box {
    position: absolute;
    top: 80px;
    right: 0;
    background: white;
    width: 450px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: none;
}

.dropdown:hover .mega-box {
    display: block;
}

.content {
    display: flex;
    gap: 30px;
}

.col h3 {
    font-size: 13px;
    color: #999;
}

.col a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #2563eb;
}

/* ===== MOBILE MENU (MD CONSTRUCTION STYLE) ===== */
@media (max-width: 900px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 75%;
        background: white;
        flex-direction: column;
        padding-top: 100px;
        transform: translateX(100%);
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        z-index: 1000;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links li {
        padding: 18px 25px;
        border-bottom: 1px solid #eee;
    }

    /* Mobile dropdown */
    .dropdown .mega-box {
        position: static;
        width: 100%;
        box-shadow: none;
        display: none;
        padding: 10px 20px;
    }

    .dropdown.open .mega-box {
        display: block;
    }
}






























/* HERO + SEARCH CENTERING */
.hero {
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

/* Centered search bar */
.search-container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 8px;
    border-radius: 40px;
    max-width: 600px;
    width: 100%;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 20px;
    font-size: 16px;
}

.search-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 40px;
    cursor: pointer;
}

.footer {
    background: #0f172a;
    color: #e5e7eb;
    padding: 60px 20px 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.footer-col h2 span {
    color: #2563eb;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #2563eb;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.6;
}

.footer-col a {
    display: block;
    color: #cbd5f5;
    text-decoration: none;
    margin-bottom: 10px;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col a:hover {
    color: #2563eb;
    padding-left: 5px;
}

.social-links {
    margin-top: 15px;
}

.social-links a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    background: #1e293b;
    color: white;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 16px;
    transition: 0.3s;
}

.social-links a:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #334155;
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    font-size: 13px;
    color: #94a3b8;
}
/* SETTINGS DROPDOWN */
.settings {
    position: relative;
}

.settings-menu {
    position: absolute;
    right: 0;
    top: 60px;
    width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    display: none;
    z-index: 2000;
}

.settings-menu a {
    display: block;
    padding: 12px 18px;
    color: #111;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.settings-menu a:hover {
    background: #2563eb;
    color: white;
}

.settings-menu .logout {
    background: #fef2f2;
    color: #dc2626;
}

/* Show on hover (desktop) */
.settings:hover .settings-menu {
    display: block;
}

/* Mobile */
@media (max-width: 900px) {
    .settings-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        display: none;
    }

    .settings.open .settings-menu {
        display: block;
    }
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 3000;
    justify-content: center;
    align-items: center;
}

.modal-card {
    background: #0f172a;
    color: white;
    padding: 40px;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #2563eb;
}

.form-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.tab-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.tab-btn.active {
    border-bottom: 2px solid #2563eb;
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.auth-form.active {
    display: flex;
}

.auth-form input {
    padding: 12px;
    border-radius: 8px;
    border: none;
}

.submit-btn {
    background: #2563eb;
    border: none;
    padding: 12px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}
.notice-bar {
    background: #2563eb;
    color: white;
    text-align: center;
    padding: 10px 15px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.newspaper-box {
    width: 600px;
}

.newspaper-box .col h3 {
    color: #2563eb;
    margin-bottom: 10px;
}

.newspaper-box .col a {
    display: block;
    padding: 6px 0;
    color: #111;
    font-size: 14px;
    text-decoration: none;
}

.newspaper-box .col a:hover {
    color: #2563eb;
}
.notice-wrapper {
    width: 100%;
    background: #b91c1c; /* Dark red */
    overflow: hidden;
    white-space: nowrap;
}

.notice-ticker {
    display: inline-block;
    padding: 12px 0;
    color: white;
    font-weight: bold;
    font-size: 15px;
    animation: moveNotice 18s linear infinite;
}

@keyframes moveNotice {
    0% {
        transform: translateX(100%);
    }
    50% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
.drive-epaper {
    display: flex;
    justify-content: center;
    margin: 60px 0;
}

.drive-btn {
    background: #dc2626;
    color: white;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    transition: 0.3s;
}

.drive-btn:hover {
    background: #b91c1c;
    transform: scale(1.05);
}































form[name="library-leads"] button:hover {
    background: #1d4ed8;
}
.gallery {
    margin: 80px 0;
    text-align: center;
}

.gallery h2 {
    color: white;
    margin-bottom: 20px;
}

.slider {
    overflow: hidden;
    width: 100%;
}

.slide-track {
    display: flex;
    width: calc(250px * 10);
    animation: scroll 30s linear infinite;
}

.slide-track img {
    width: 250px;
    height: 160px;
    object-fit: cover;
    margin-right: 15px;
    border-radius: 12px;
}

/* Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 5));
    }
}