/* Landing Page Styles */

.landing-nav {
    position: fixed; top: 0; left: 0; right: 0;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 24px;
    z-index: 1000;
    transition: background .3s, box-shadow .3s;
    background: transparent;
}
.landing-nav.scrolled {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.landing-nav.scrolled .nav-logo-text,
.landing-nav.scrolled .nav-link { color: var(--gray-800); }

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}
.nav-logo-icon {
    width: 40px; height: 40px;
    background: var(--gold);
    color: var(--green-deep);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-bn); font-weight: 700; font-size: 18px;
    overflow: hidden;
}
.nav-logo-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.nav-logo-text {
    font-family: var(--font-bn); font-weight: 700; font-size: 16px;
    color: var(--white);
    transition: color .3s;
}
.nav-links {
    display: flex; align-items: center; gap: 20px;
    list-style: none;
}
.nav-link {
    color: rgba(255,255,255,.85);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color .3s;
    cursor: pointer;
    background: none; border: none; font-family: inherit;
}
.nav-link:hover { color: var(--gold); }
.nav-login-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    font-family: inherit;
    border: 2px solid var(--gold);
    color: var(--gold);
    background: transparent;
    cursor: pointer;
}
.nav-login-btn:hover {
    background: var(--gold);
    color: var(--green-deep);
}

/* Hero */
.landing-hero {
    min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.landing-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-mid) 50%, var(--green-light) 100%);
    z-index: -2;
}
.landing-hero::after {
    content: '';
    position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.03"><text x="50" y="80" font-size="90" text-anchor="middle" font-family="serif" fill="white">ই</text></svg>') center/50% no-repeat;
    z-index: -1;
}
.hero-content { max-width: 700px; padding: 0 20px; }
.hero-school-icon {
    font-size: 60px; color: var(--gold); margin-bottom: 16px;
    display: inline-block;
}
.hero-title {
    font-family: var(--font-bn);
    font-size: 48px;
    font-weight: 700;
    color: var(--white);
    margin: 0 0 8px;
    line-height: 1.2;
}
.hero-title-en {
    font-size: 16px;
    color: rgba(255,255,255,.6);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero-tagline {
    font-family: var(--font-bn);
    font-size: 24px;
    color: var(--gold);
    margin: 12px 0 24px;
    font-weight: 600;
}
.hero-desc {
    font-size: 15px;
    color: rgba(255,255,255,.8);
    margin-bottom: 32px;
    line-height: 1.7;
}
.btn-hero {
    display: inline-block;
    padding: 14px 36px;
    background: var(--gold);
    color: var(--green-deep);
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    font-family: inherit;
    border: none; cursor: pointer;
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,168,76,.4); }
.btn-hero-outline {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
    font-family: inherit;
    background: transparent; cursor: pointer;
    margin-left: 12px;
}
.btn-hero-outline:hover { background: rgba(201,168,76,.15); }

/* Scroll indicator */
.scroll-indicator {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}
.scroll-indicator span {
    display: block;
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 12px;
    position: relative;
}
.scroll-indicator span::after {
    content: '';
    position: absolute; top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}
@keyframes scrollDot {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Sections */
.landing-section {
    padding: 80px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.landing-section-alt { background: var(--gray-50); }
.section-header {
    text-align: center; margin-bottom: 48px;
}
.section-title {
    font-family: var(--font-bn);
    font-size: 32px;
    font-weight: 700;
    color: var(--green-deep);
    margin: 0 0 8px;
}
.section-title::after {
    content: '';
    display: block; width: 60px; height: 3px;
    background: var(--gold); margin: 12px auto 0;
    border-radius: 2px;
}
.section-subtitle {
    font-size: 14px;
    color: var(--gray-400);
    margin-top: 12px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 16px;
}
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.stat-card-landing {
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform .2s;
}
.stat-card-landing:hover { transform: translateY(-3px); }
.stat-card-landing .num {
    font-size: 32px;
    font-weight: 700;
    color: var(--green-deep);
}
.stat-card-landing .label {
    font-size: 13px;
    color: var(--gray-400);
    margin-top: 4px;
}

/* Notices */
.notice-list { max-width: 800px; margin: 0 auto; }
.notice-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--gold);
    transition: transform .2s;
}
.notice-item:hover { transform: translateX(4px); }
.notice-date {
    font-size: 12px;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.notice-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 6px;
}
.notice-content {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}
.notice-empty {
    text-align: center;
    padding: 40px;
    color: var(--gray-400);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    background: var(--gray-100);
}
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: white;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transition: opacity .3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-empty {
    text-align: center;
    padding: 60px;
    color: var(--gray-400);
    grid-column: 1 / -1;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.9);
    z-index: 9999;
    align-items: center; justify-content: center;
    padding: 40px;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
}
.lightbox-close {
    position: absolute; top: 20px; right: 28px;
    color: white; font-size: 36px;
    cursor: pointer; background: none; border: none;
    font-family: inherit;
    transition: opacity .2s;
    opacity: .7;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-title {
    position: absolute; bottom: 20px; left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    max-width: 80%;
    text-shadow: 0 2px 4px rgba(0,0,0,.5);
}

/* Footer */
.landing-footer {
    background: var(--green-deep);
    color: rgba(255,255,255,.8);
    padding: 48px 24px 24px;
}
.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.footer-col h3 {
    font-family: var(--font-bn);
    color: var(--gold);
    font-size: 18px;
    margin: 0 0 16px;
}
.footer-col p, .footer-col a {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255,255,255,.7);
    text-decoration: none;
    display: block;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    max-width: 1100px;
    margin: 32px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.1);
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,.5);
}

/* Hamburger + Overlay */
.landing-hamburger{display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.1);color:var(--white);border-radius:8px;font-size:22px;cursor:pointer;align-items:center;justify-content:center;}
.landing-nav.scrolled .landing-hamburger{border-color:var(--gray-200);color:var(--gray-800);background:var(--gray-100);}
.landing-overlay{display:none;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:999;}
.landing-overlay.active{display:block;}

/* Responsive */
@media (max-width: 768px) {
    .landing-hamburger{display:flex;}
    .nav-links{position:fixed;top:64px;right:0;width:280px;max-width:85vw;height:calc(100vh - 64px);background:var(--white);flex-direction:column;align-items:flex-start;padding:20px;gap:0;transform:translateX(100%);transition:transform .25s;box-shadow:-4px 0 12px rgba(0,0,0,.1);z-index:1000;overflow-y:auto;}
    .nav-links.open{transform:translateX(0);}
    .nav-links li{width:100%;}
    .nav-link,.nav-login-btn{display:block;width:100%;text-align:left;padding:12px 0;border-bottom:1px solid var(--gray-100);color:var(--gray-800) !important;min-height:44px;}
    .nav-login-btn{margin-top:12px;text-align:center;border:2px solid var(--gold) !important;color:var(--gold) !important;border-radius:8px;}
    .hero-title { font-size: 32px; }
    .hero-tagline { font-size: 18px; }
    .about-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .landing-section { padding: 48px 16px; }
    .section-title { font-size: 26px; }
}
@media (max-width: 480px) {
    .nav-logo-text { display: none; }
    .hero-title { font-size: 26px; }
    .btn-hero, .btn-hero-outline { display: block; margin: 8px 0; text-align: center; }
    .btn-hero-outline { margin-left: 0; }
}
