/* =============================================
   assets/css/style.css - Main Stylesheet
   ============================================= */

:root {
    --primary: #1a237e;
    --primary-light: #3949ab;
    --secondary: #ff6f00;
    --accent: #00bcd4;
    --success: #2e7d32;
    --danger: #c62828;
    --text: #1a1a2e;
    --text-light: #555;
    --bg: #f5f6fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(26,35,126,0.1);
    --radius: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- TOP BAR ---- */
.top-bar {
    background: var(--primary);
    color: #fff;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left span { margin-right: 20px; }
.top-bar-left i, .top-bar-right i { margin-right: 5px; }
.top-bar-right.social-icons a {
    color: #fff;
    margin-left: 12px;
    font-size: 14px;
    transition: color 0.3s;
}
.top-bar-right.social-icons a:hover { color: var(--secondary); }

/* ---- HEADER ---- */
.main-header {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #1565c0 100%);
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}
.main-header::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo-icon {
    width: 65px; height: 65px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    border: 3px solid rgba(255,255,255,0.3);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255,255,255,0); }
}
.logo-text { color: #fff; }
.animated-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #ffcc80, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
}
@keyframes shine {
    to { background-position: 200% center; }
}
.tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    letter-spacing: 1px;
}
.mobile-menu-btn {
    display: none;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

/* ---- NAVIGATION ---- */
.main-nav {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-list > li > a {
    display: block;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    transition: all 0.3s;
    position: relative;
}
.nav-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s;
}
.nav-list > li:hover > a::after,
.nav-list > li.active > a::after {
    left: 0; right: 0;
}
.nav-list > li:hover > a,
.nav-list > li.active > a {
    color: var(--primary);
}
.nav-list > li.active > a { color: var(--secondary); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 3px solid var(--secondary);
    list-style: none;
    z-index: 999;
}
.dropdown li a {
    display: block;
    padding: 12px 20px;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s;
}
.dropdown li a:hover {
    background: var(--bg);
    color: var(--primary);
    padding-left: 28px;
}
.has-dropdown:hover .dropdown { display: block; }
.arrow { font-size: 10px; margin-left: 4px; }

/* ---- HERO SECTION ---- */
.hero {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,111,0,0.15), transparent 60%),
                radial-gradient(circle at 70% 50%, rgba(0,188,212,0.1), transparent 60%);
}
.hero-content { position: relative; z-index: 1; }
.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}
.hero p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
    animation: fadeInUp 1s ease;
}
.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: fadeInUp 1.2s ease;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-block;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}
.btn-primary {
    background: var(--secondary);
    color: #fff;
}
.btn-primary:hover {
    background: #e65100;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,111,0,0.4);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}
.btn-blue {
    background: var(--primary);
    color: #fff;
}
.btn-blue:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,35,126,0.3);
}

/* ---- STATS ---- */
.stats-section {
    background: var(--white);
    padding: 40px 0;
    box-shadow: var(--shadow);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item { padding: 20px; }
.stat-number {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}
.stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 5px;
}
.stat-icon {
    font-size: 30px;
    color: var(--secondary);
    margin-bottom: 10px;
}

/* ---- SECTION COMMON ---- */
.section { padding: 70px 0; }
.section-alt { background: var(--white); }
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}
.section-title p { color: var(--text-light); font-size: 16px; }
.section-title .divider {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 15px auto;
    border-radius: 2px;
}

/* ---- COURSE CARDS ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    border-top: 4px solid var(--primary);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(26,35,126,0.15);
    border-top-color: var(--secondary);
}
.card-icon {
    font-size: 40px;
    margin-bottom: 15px;
}
.card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
}
.card p { font-size: 14px; color: var(--text-light); }
.card .card-meta {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--text-light);
}
.card .card-meta span { display: flex; align-items: center; gap: 4px; }
.card .card-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}
.badge-distance { background: #e3f2fd; color: #1565c0; }
.badge-online { background: #e8f5e9; color: #2e7d32; }
.badge-regular { background: #fff3e0; color: #e65100; }
.badge-other { background: #f3e5f5; color: #6a1b9a; }

/* ---- COURSE FILTER ---- */
.filter-section {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}
.filter-section h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 20px;
}
.filter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 15px;
    align-items: end;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}
.form-control {
    padding: 11px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
    background: var(--white);
    color: var(--text);
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

/* ---- ADMISSION FORM ---- */
.form-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.form-section h2 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-row.full { grid-template-columns: 1fr; }
.upload-area {
    border: 2px dashed #c5cae9;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #fafbff;
}
.upload-area:hover { border-color: var(--primary); background: #f0f2ff; }
.upload-area i { font-size: 36px; color: var(--primary); margin-bottom: 10px; }
.upload-area p { font-size: 13px; color: var(--text-light); }
.upload-area .upload-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 5px;
}
.upload-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}
.section-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    padding: 10px 0 5px;
    margin: 20px 0 15px;
    border-bottom: 2px solid #e8eaf6;
    display: flex;
    align-items: center;
    gap: 8px;
}
.required { color: var(--danger); }

/* ---- SUCCESS BOX ---- */
.success-box {
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: #fff;
    padding: 50px 40px;
    border-radius: var(--radius);
    text-align: center;
}
.success-box .app-no {
    font-size: 48px;
    font-weight: 800;
    color: #ffcc80;
    letter-spacing: 3px;
    display: block;
    margin: 20px 0;
}
.success-box p { opacity: 0.9; font-size: 16px; }

/* ---- GALLERY ---- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(26,35,126,0.8), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex; align-items: flex-end;
    padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay p { color: #fff; font-weight: 600; }

/* ---- ABOUT PAGE ---- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: linear-gradient(135deg, #e3f2fd, #e8eaf6);
    height: 400px;
    display: flex; align-items: center; justify-content: center;
    font-size: 120px;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.team-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}
.team-card:hover { transform: translateY(-5px); }
.team-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    margin: 0 auto 15px;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px;
    color: #fff;
}
.team-card h4 { font-size: 16px; color: var(--primary); margin-bottom: 5px; }
.team-card p { font-size: 13px; color: var(--text-light); }

/* ---- CONTACT ---- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    border-radius: var(--radius);
    padding: 40px;
}
.contact-info-card h3 { font-size: 24px; margin-bottom: 30px; }
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}
.info-icon {
    width: 45px; height: 45px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.info-item p { opacity: 0.9; font-size: 14px; }
.info-item strong { display: block; font-size: 16px; margin-bottom: 3px; }
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 24px; color: var(--primary); margin-bottom: 30px; }

/* ---- FOOTER ---- */
.main-footer { background: #0d1340; color: #ccc; margin-top: 0; }
.footer-top { padding: 60px 0 30px; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.footer-col h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255,111,0,0.5);
}
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a {
    font-size: 13px;
    color: #aaa;
    transition: all 0.3s;
}
.footer-links li a:hover { color: var(--secondary); padding-left: 5px; }
.footer-contact { list-style: none; }
.footer-contact li {
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.footer-contact li i { color: var(--secondary); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a { color: #aaa; }
.footer-contact li a:hover { color: var(--secondary); }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    color: #fff;
    transition: all 0.3s;
}
.social-btn:hover { transform: translateY(-3px); }
.social-btn.fb { background: #1877f2; }
.social-btn.tw { background: #1da1f2; }
.social-btn.ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.yt { background: #ff0000; }
.social-btn.wa { background: #25d366; }
.footer-bottom {
    background: #0a0e2e;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 60px; height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px;
    color: #fff;
    box-shadow: 0 5px 20px rgba(37,211,102,0.4);
    z-index: 9999;
    animation: bounce 2s infinite;
    transition: all 0.3s;
}
.whatsapp-float:hover { background: #128c7e; transform: scale(1.1); }
@keyframes bounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ---- ALERTS ---- */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #e8f5e9; color: var(--success); border: 1px solid #a5d6a7; }
.alert-danger { background: #ffebee; color: var(--danger); border: 1px solid #ef9a9a; }
.alert-info { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }

/* ---- TABLES ---- */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th {
    background: var(--primary);
    color: #fff;
    padding: 12px 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
}
td {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
}
tr:hover td { background: #f8f9ff; }

/* ---- PAGE BANNER ---- */
.page-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 50px 0;
    text-align: center;
}
.page-banner h1 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 10px;
}
.breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}
.breadcrumb a { color: #ffcc80; }

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .cards-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: repeat(2,1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2,1fr); }
    .gallery-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {

    /* ── Header: allow button to stay on top ── */
    .main-header { overflow: visible; }

    /* ── Hamburger button: always above overlay ── */
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 999999;
        width: 42px; height: 42px;
        padding: 0;
        border-radius: 10px;
        background: rgba(255,255,255,0.18);
        border: 1.5px solid rgba(255,255,255,0.35);
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        transition: background 0.2s;
    }
    .mobile-menu-btn:active { background: rgba(255,255,255,0.32); }

    /* ── Dark semi-transparent backdrop ── */
    .main-nav .nav-list {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0; left: 0;
        width: 82vw;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(160deg, #1a237e 0%, #283593 60%, #1565c0 100%);
        z-index: 99998;
        overflow-y: auto;
        padding: 0 0 30px 0;
        transform: translateX(-100%);
        transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
        box-shadow: 4px 0 32px rgba(0,0,0,0.35);
    }
    .main-nav .nav-list.open {
        display: flex;
        transform: translateX(0);
    }

    /* ── Slide-in overlay backdrop ── */
    .mobile-nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 99997;
        backdrop-filter: blur(2px);
    }
    .mobile-nav-backdrop.open { display: block; }

    /* ── Menu header inside the drawer ── */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 22px 20px 18px;
        border-bottom: 1px solid rgba(255,255,255,0.12);
        margin-bottom: 8px;
        flex-shrink: 0;
    }
    .mobile-nav-header .mnav-brand {
        display: flex; align-items: center; gap: 10px;
    }
    .mobile-nav-header .mnav-brand span {
        font-size: 14px; font-weight: 700;
        color: #fff; letter-spacing: 0.3px;
        line-height: 1.3;
    }
    .mobile-nav-header .mnav-brand small {
        display: block; font-size: 10px;
        color: rgba(255,255,255,0.6); font-weight: 400;
    }
    .mobile-nav-close {
        width: 34px; height: 34px;
        border-radius: 8px;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.2);
        color: #fff; font-size: 16px;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer; flex-shrink: 0;
        transition: background 0.2s;
    }
    .mobile-nav-close:active { background: rgba(255,255,255,0.28); }

    /* ── Nav items ── */
    .nav-list > li {
        width: 100%;
    }
    .nav-list > li > a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 22px;
        font-size: 14.5px;
        font-weight: 500;
        color: rgba(255,255,255,0.88);
        border-bottom: 1px solid rgba(255,255,255,0.07);
        transition: background 0.18s, color 0.18s, padding-left 0.18s;
        text-decoration: none;
    }
    .nav-list > li > a i:first-child {
        width: 32px; height: 32px;
        border-radius: 8px;
        background: rgba(255,255,255,0.1);
        display: flex; align-items: center; justify-content: center;
        font-size: 14px; flex-shrink: 0;
        transition: background 0.18s;
    }
    .nav-list > li > a:hover,
    .nav-list > li.active > a {
        background: rgba(255,255,255,0.1);
        color: #fff;
        padding-left: 28px;
    }
    .nav-list > li.active > a {
        background: rgba(255,111,0,0.2);
        border-left: 4px solid #ff6f00;
        color: #ffb74d;
    }
    .nav-list > li.active > a i:first-child {
        background: rgba(255,111,0,0.3);
        color: #ff6f00;
    }
    .nav-list > li > a:hover i:first-child {
        background: rgba(255,255,255,0.2);
    }

    /* ── Chevron arrow ── */
    .arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        width: 24px; height: 24px;
        border-radius: 50%;
        background: rgba(255,255,255,0.08);
        font-size: 10px;
        color: rgba(255,255,255,0.6);
        transition: transform 0.25s, background 0.2s;
        flex-shrink: 0;
    }
    .has-dropdown.dropdown-open > a .arrow {
        transform: rotate(180deg);
        background: rgba(255,111,0,0.3);
        color: #ff6f00;
    }

    /* ── Dropdown sub-items ── */
    .dropdown {
        display: none !important;
        position: static !important;
        box-shadow: none !important;
        border-top: none !important;
        border-left: none !important;
        background: rgba(0,0,0,0.18);
        min-width: 100%;
        border-radius: 0;
        padding: 4px 0;
    }
    .has-dropdown.dropdown-open > .dropdown { display: block !important; }
    .dropdown li a {
        padding: 11px 22px 11px 56px;
        font-size: 13.5px;
        color: rgba(255,255,255,0.72);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: flex; align-items: center; gap: 8px;
        transition: background 0.15s, color 0.15s;
    }
    .dropdown li a::before {
        content: '';
        width: 6px; height: 6px;
        border-radius: 50%;
        background: rgba(255,111,0,0.7);
        flex-shrink: 0;
    }
    .dropdown li a:hover { background: rgba(255,255,255,0.07); color: #fff; }
    .hero h2 { font-size: 30px; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .cards-grid { grid-template-columns: 1fr; }
    .filter-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-row.three { grid-template-columns: 1fr; }
    .upload-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .animated-title { font-size: 20px; }
    .hero-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .top-bar .container { flex-direction: column; gap: 5px; }
}
