:root {
    --primary: #004d40;
    --primary-dark: #00332c;
    --accent: #ffb300;
    --bg: #f8fafc;
    --white: #ffffff;
    --text: #1e293b;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Hind Siliguri', sans-serif;
}
body {
    background: var(--bg);
    color: var(--text);
    scroll-behavior: smooth;
    overflow-x: hidden;
}
nav {
    background: var(--primary);
    padding: 0.8rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}
.logo-area {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
}
.nav-links a:hover {
    background: rgba(255,255,255,0.1);
    color: var(--accent);
}
.menu-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--primary);
        padding: 20px;
        gap: 10px;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem !important;
    }
}
.community-strip {
    background: var(--accent);
    color: var(--primary);
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 0.85rem;
}
.community-strip a {
    color: #000;
    text-decoration: underline;
    margin-left: 5px;
}
.hero {
    height: 65vh;
    background: linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.75)), url('https://i.postimg.cc/HxNBCBhQ/Mobarakpur-High-School.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 300;
}
.btn-p {
    background: var(--accent);
    color: var(--primary);
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    display: inline-block;
}
.btn-p:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,179,0,0.4);
}
section {
    padding: 80px 20px;
}
.container {
    max-width: 1100px;
    margin: auto;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
.section-title h2::after {
    content: '';
    width: 60%;
    height: 4px;
    background: var(--accent);
    position: absolute;
    bottom: 0;
    left: 20%;
    border-radius: 2px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: 0.3s;
    text-align: center;
    border: 1px solid #edf2f7;
}
.card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}
.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}
.table-wrapper {
    background: white;
    border-radius: 15px;
    overflow-x: auto;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
}
table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}
th {
    background: var(--primary);
    color: white;
    padding: 15px;
    font-size: 0.9rem;
}
td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: center;
    font-size: 0.9rem;
}
.wall-input-box {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 700px;
    margin: 0 auto 40px;
}
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}
@media (max-width: 600px) {
    .input-row {
        grid-template-columns: 1fr;
    }
}
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
}
.post-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 8px solid var(--accent);
    box-shadow: var(--shadow);
}
.post-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 15px;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
    gap: 10px;
    flex-wrap: wrap;
}
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.pg-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.25s ease;
}
.pg-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}
.pg-btn.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 77, 64, 0.18);
}
.pg-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}
.fun-box {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 40px;
}
.quiz-option {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 12px 25px;
    margin: 10px;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid white;
}
.quiz-option:hover {
    background: var(--accent);
    color: var(--primary);
    font-weight: bold;
}
.fact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 10px solid var(--accent);
    text-align: left;
}
.fact-card h3 {
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gratitude-card {
    background: linear-gradient(135deg, #ffffff, #fffaf0);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 10px solid var(--primary);
    text-align: left;
    margin-top: 30px;
    border: 1px solid #edf2f7;
}
.gratitude-card h3 {
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gratitude-card p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
}
.timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.timeline-wrapper::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: translateX(-50%);
    border-radius: 10px;
}
.timeline-item {
    width: 50%;
    padding: 20px 30px;
    position: relative;
}
.timeline-item.left {
    left: 0;
}
.timeline-item.right {
    left: 50%;
}
.timeline-content {
    background: white;
    padding: 25px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    border: 1px solid #edf2f7;
    position: relative;
}
.timeline-content h3 {
    color: var(--primary);
    margin-bottom: 8px;
}
.timeline-year {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.timeline-item::after {
    content: '';
    position: absolute;
    top: 32px;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border: 4px solid var(--accent);
    border-radius: 50%;
    z-index: 2;
}
.timeline-item.left::after {
    right: -9px;
}
.timeline-item.right::after {
    left: -9px;
}
@media (max-width: 768px) {
    .timeline-wrapper::before {
        left: 20px;
    }
    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 55px;
        padding-right: 0;
        margin-bottom: 25px;
    }
    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 11px;
        right: auto;
    }
}
.countdown-box {
    background: var(--primary);
    color: white;
    padding: 40px 25px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    text-align: center;
    margin-bottom: 50px;
}
.countdown-title {
    font-size: 1.8rem;
    margin-bottom: 10px;
}
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.count-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 25px 15px;
}
.count-card h3 {
    font-size: 2.4rem;
    color: var(--accent);
}
.count-card p {
    margin-top: 8px;
    font-size: 1rem;
}
.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}
.filter-btn {
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.gallery-item {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
    border: 1px solid #edf2f7;
}
.gallery-item:hover {
    transform: translateY(-8px);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.gallery-info {
    padding: 18px;
}
.gallery-info h4 {
    color: var(--primary);
    margin-bottom: 6px;
}
.gallery-tag {
    display: inline-block;
    background: #fff8e1;
    color: #8a5a00;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 8px;
}
.alumni-tools {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}
@media (max-width: 768px) {
    .alumni-tools {
        grid-template-columns: 1fr;
    }
}
.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.alumni-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: 25px;
    border: 1px solid #edf2f7;
    transition: 0.3s;
}
.alumni-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
}
.alumni-top {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}
.alumni-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
}
.alumni-top h3 {
    color: var(--primary);
    margin-bottom: 4px;
    font-size: 1.1rem;
}
.alumni-meta {
    color: #64748b;
    font-size: 0.9rem;
}
.alumni-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.alumni-card ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}
.alumni-card ul li i {
    color: var(--accent);
    width: 22px;
}
.empty-state {
    text-align: center;
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    color: #64748b;
}
.alumni-action-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}
.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ecfdf5;
    color: #047857;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid #a7f3d0;
}
.refresh-btn {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.refresh-btn:hover {
    background: var(--primary);
    color: white;
}
footer {
    background: var(--primary);
    color: white;
    padding: 60px 20px 20px;
}
.footer-main {
    max-width: 1200px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.footer-col {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 22px 18px;
    height: 100%;
}
.footer-col h3 {
    color: var(--accent);
    margin-bottom: 12px;
}
.footer-col p {
    color: rgba(255,255,255,0.9);
    line-height: 1.7;
    font-size: 0.95rem;
}
.footer-brand h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}
.share-buttons,
.contact-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    cursor: pointer;
    transition: 0.3s;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.share-btn:hover,
.contact-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}
.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
    font-size: 0.9rem;
}
.copyright a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}
@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .share-buttons,
    .contact-actions {
        justify-content: center;
    }
}
.share-section {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.share-title {
    font-size: 1.05rem;
    margin-bottom: 15px;
    font-weight: 600;
}
.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: 0.3s;
    cursor: pointer;
    font-weight: 600;
    min-width: 52px;
}
.share-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}
.contact-contribution {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-contribution h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--accent);
}
.contact-contribution p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
    margin-bottom: 15px;
}
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: white;
    transition: 0.3s;
}
.contact-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}
.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
}
