/* ================= GLOBAL RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1e293b;
    line-height: 1.5;
}

img, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

:root {
    --primary: #0a4d5c;
    --primary-light: #1a6b7e;
    --secondary: #d4a13e;
    --secondary-light: #e5b45b;
    --dark: #0f172a;
    --gray: #475569;
    --light-gray: #f8fafc;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ================= HEADER ================= */
header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1280px;
    margin: 0 auto;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo:hover {
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    transition: transform 0.3s ease;
}

.logo-icon:hover img {
    transform: scale(1.05);
}

.logo-text h1,
.logo-text h4 {
    font-size: 1.2rem;
    background: linear-gradient(90deg, #174EA6 0%, #2878C8 50%, #36A6B5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.logo-text p {
    font-size: 0.85rem;
    color: var(--gray);
}

/* ================= NAV MENU (DESKTOP) ================= */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    font-size: 15px;
}

body.lang-bn .nav-menu {
    font-size: 14px;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
}

/* ================= DROPDOWN ================= */
.nav-menu .dropdown {
    position: relative;
}

.nav-menu .dropdown > .dropdown-toggle i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.nav-menu .dropdown:hover > .dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-menu .dropdown > .dropdown-toggle.active {
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
}

.nav-menu .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin: 10px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1000;
}

.nav-menu .dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .dropdown-menu li {
    width: 100%;
    border-bottom: 1px solid #f1f1f1;
}

.nav-menu .dropdown-menu li:last-child {
    border-bottom: none;
}

.nav-menu .dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
    white-space: nowrap;
}

.nav-menu .dropdown-menu li a i {
    color: #007bff;
    font-size: 13px;
    width: 16px;
    text-align: center;
}

.nav-menu .dropdown-menu li a:hover,
.nav-menu .dropdown-menu li a.active {
    background: #f1f5ff;
    color: #007bff;
    padding-left: 24px;
}

/* ================= MOBILE MENU BUTTON ================= */
.mobile-menu-btn {
    display: none;
    background: #f1f5f9;
    border: none;
    font-size: 1.6rem;
    color: var(--primary);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.mobile-menu-btn:active {
    transform: scale(0.96);
}

/* ================= LANGUAGE SWITCHER ================= */
.language-switcher {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    font-family: 'Segoe UI', sans-serif;
    flex-shrink: 0;
}

.lang-btn {
    padding: 6px 14px;
    text-decoration: none;
    color: #555;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.lang-btn:hover {
    background: #e9ecef;
    color: #000;
}

.lang-btn.active {
    background: linear-gradient(135deg, #007bff, #00c6ff);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ================= NOTICE TICKER ================= */
.notice-container {
    background: #1a1a1a;
    color: #fff;
    overflow: hidden;
    height: 50px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid var(--secondary);
    position: relative;
}

#ticker-wrap {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}

.ticker-item {
    padding: 0 40px;
    font-size: 16px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-item i {
    color: var(--secondary);
    margin-right: 10px;
}

/* ================= SLIDER ================= */
.slider-full {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    background: #0a2d2d;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    position: relative;
    opacity: 1;
}

.slide-img {
    display: block;
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.slide-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.35) 100%
    );
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.slide-text {
    position: absolute;
    bottom: 20%;
    left: 5%;
    max-width: 600px;
    color: #fff;
    z-index: 2;
}

.slide-text h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.3rem;
    z-index: 10;
    transition: background 0.2s;
}

.slider-btn:hover {
    background: var(--secondary);
}

.btn-prev { left: 20px; }
.btn-next { right: 20px; }

.dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* ================= SECTIONS ================= */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.section-header h2 span {
    color: var(--secondary);
}

.section-header p {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ================= ABOUT ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-image {
    position: relative;
    border: 4px solid var(--secondary);
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s ease, box-shadow 0.2s;
}

.about-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
    transition: transform 0.4s ease;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--gray);
    font-size: 0.9rem;
}

.mv-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 3rem 0;
}

.mv-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
}

.mv-card h4 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* ================= ACHIEVEMENTS ================= */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.achievement-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-img {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.achievement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.achievement-card:hover .achievement-img img {
    transform: scale(1.05);
}

.achievement-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.achievement-content {
    padding: 1.5rem;
    text-align: center;
}

.achievement-content h3 a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.5rem;
    transition: color 0.2s;
}

.achievement-content h3 a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ================= TEAM ================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.team-card {
    background: #fff;
    border-radius: 20px 20px 10px 10px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

.team-img-wrapper {
    width: 180px;
    height: 180px;
    margin: 20px auto 0 auto;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 4px solid #f3f3f3;
    position: relative;
}

.team-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.3s ease;
}

.team-card:hover .team-img-wrapper img {
    transform: scale(1.05);
}

.team-social-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
    display: flex;
    justify-content: center;
    gap: 16px;
    padding: 16px 0 14px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.team-card:hover .team-social-overlay {
    transform: translateY(0);
}

.team-social-overlay a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 1.2rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.team-social-overlay a:hover {
    transform: translateY(-3px);
    filter: brightness(0.95);
}

.team-info-block {
    background: #f0f4fc;
    border-top: 2px solid #e8edf5;
    width: 100%;
    margin-top: auto;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0 20px;
}

.team-info-inner {
    text-align: center;
}

.team-name {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e6d;
}

.team-card h4 {
    margin-top: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
}

/* ================= GALLERY ================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #000000cc, transparent);
    padding: 24px 16px 16px;
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(2px);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* ================= NOTICE & EVENT ================= */
.notice-event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.notice-board,
.event-list {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.notice-board h3,
.event-list h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    border-left: 5px solid var(--secondary);
    padding-left: 1rem;
}

.notice-item,
.event-item {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.notice-date {
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
    width: 100px;
}

.notice-item a,
.event-item a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.notice-item a:hover,
.event-item a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ================= CONTACT ================= */
.contact-map {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-info-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* ================= FOOTER ================= */
footer {
    background: var(--dark);
    color: #fff;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: #cbd5e1;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.footer-contact i {
    color: var(--secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s, transform 0.2s;
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 1rem;
}

/* ================= BACK TO TOP ================= */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 20px;
    bottom: 80px;
    z-index: 995;
    background: #106eea;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    color: #fff;
    font-size: 20px;
}

.back-to-top:hover {
    background: #0052ff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

/* ================= FLOATING BUTTONS ================= */
.floating-buttons {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-button {
    display: flex;
    align-items: center;
    padding: 12px 18px 12px 15px;
    border-radius: 40px 0 0 40px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(70%);
    border: none;
    backdrop-filter: blur(4px);
}

.float-button:hover {
    transform: translateX(0);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.float-button i {
    font-size: 24px;
    margin-right: 10px;
}

.float-button:hover i {
    transform: scale(1.1);
}

.whatsapp {
    background-color: #25d366;
}

.whatsapp:hover {
    background-color: #128c7e;
}

.messenger {
    background-color: #0078ff;
}

.messenger:hover {
    background-color: #0063d1;
}

/* ================= RESPONSIVE: TABLET ================= */
@media (max-width: 1200px) {
    .header-container {
        padding: 1rem 1.5rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .about-grid {
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h2 {
        font-size: 2.2rem;
    }
}

/* ================= RESPONSIVE: MOBILE DRAWER ================= */
@media (max-width: 991px) {
    .mobile-menu-btn {
        display: flex;
    }

    .header-container {
        padding: 0.8rem 1rem;
    }

    .logo-icon {
        width: 48px;
        height: 48px;
    }

    .logo-text h1,
    .logo-text h4 {
        font-size: 1.15rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }

    .language-switcher {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100vh;
        max-height: 100vh;
        overflow-y: auto;
        background: linear-gradient(145deg, #ffffff 0%, #fefcf5 100%);
        box-shadow: 12px 8px 30px rgba(0, 0, 0, 0.25);
        z-index: 1100;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        padding: 0;
        margin: 0;
        transition: left 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        border-radius: 0 24px 24px 0;
        border-right: 3px solid var(--secondary);
    }

    body.menu-open .nav-menu {
        left: 0;
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(10, 77, 92, 0.08);
    }

    .nav-menu > li > a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--dark);
        width: 100%;
        border-bottom: none !important;
    }

    .nav-menu > li > a:hover,
    .nav-menu > li > a.active {
        background: rgba(10, 77, 92, 0.06);
        color: var(--primary);
        padding-left: 1.8rem;
        border-bottom: none;
    }

    .nav-menu .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0 0 0 15px;
        margin: 0;
        display: none;
        background: transparent;
        width: 100%;
    }

    .nav-menu .dropdown.open > .dropdown-menu {
        display: block;
    }

    .nav-menu .dropdown-menu li {
        border-bottom: none;
    }

    .nav-menu .dropdown-menu li a {
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }

    .nav-menu .dropdown-menu li a:hover,
    .nav-menu .dropdown-menu li a.active {
        padding-left: 1rem;
        background: rgba(10, 77, 92, 0.06);
    }

    .nav-menu .dropdown:hover > .dropdown-toggle i {
        transform: none;
    }

    .nav-menu .dropdown.open > .dropdown-toggle i {
        transform: rotate(180deg);
    }

    .nav-menu .dropdown > .dropdown-toggle.active {
        border-bottom: none;
        background: rgba(10, 77, 92, 0.06);
    }

    .drawer-close-btn {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding: 0.8rem 1rem;
        background: transparent;
        border-bottom: 1px solid rgba(10, 77, 92, 0.15);
        width: 100%;
    }

    .drawer-close-btn button {
        background: #f1f5f9;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 30px;
        font-size: 1.2rem;
        color: var(--primary);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .drawer-brand {
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(10, 77, 92, 0.1);
        font-size: 0.7rem;
        color: var(--gray);
        text-align: left;
        width: 100%;
    }

    .about-grid,
    .mv-row,
    .notice-event-grid,
    .contact-details-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        gap: 2rem;
    }

    .slider-container {
        height: 400px;
    }

    .slide-img {
        height: 400px;
    }

    .slide-text h2 {
        font-size: 1.8rem;
    }

    .container {
        padding: 0 1.5rem;
    }

    .slider-container,
    .container,
    .about-grid,
    .team-grid,
    .gallery-grid {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* ================= RESPONSIVE: SMALL MOBILE ================= */
@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        text-align: center;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .slider-container {
        height: 300px;
    }

    .slide-img {
        height: 300px;
    }

    .slide-text {
        bottom: 15%;
        left: 6%;
        right: 6%;
        max-width: 100%;
    }

    .slide-text h2 {
        font-size: 1.4rem;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .btn-prev { left: 8px; }
    .btn-next { right: 8px; }

    .logo-text h1,
    .logo-text h4 {
        font-size: 1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .team-img-wrapper {
        width: 140px;
        height: 140px;
    }

    .team-img-wrapper img {
        height: 100%;
    }

    .notice-board,
    .event-list,
    .contact-info-card,
    .contact-form {
        padding: 1.5rem;
    }

    .notice-date {
        display: block;
        width: auto;
        margin-bottom: 4px;
    }

    .back-to-top {
        bottom: 20px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .float-button {
        padding: 10px 15px 10px 12px;
        font-size: 14px;
    }

    .float-button i {
        font-size: 20px;
    }
}

@media (max-width: 380px) {
    .header-container {
        padding: 0.6rem 0.8rem;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
    }

    .logo-text h1,
    .logo-text h4 {
        font-size: 0.9rem;
    }

    .logo-text p {
        display: none;
    }

    .slide-text h2 {
        font-size: 1.2rem;
    }
}
/* ================= LIVE SERVER FIXES ================= */

/* Force dropdown hidden by default (in case of override) */
.nav-menu .dropdown > .dropdown-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(12px) !important;
    pointer-events: none;
}

.nav-menu .dropdown:hover > .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto;
}

/* Ensure nav-menu stays horizontal on desktop */
@media (min-width: 992px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border: none !important;
    }
}
