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

a {
    text-decoration: none;
    padding: 0;
    margin: 0;
}
ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 1. HEADER TOP */
.header-top {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 0;
}

.header-top-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.header-top-left {
    display: flex;
    gap: 25px;
    align-items: center;
    font-size: 14px;
}

.header-top-right {
    display: flex;
    gap: 15px;
}

.header-top-right a {
    color: white;
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    font-size: 13px;
}

.header-top-right a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.header-main {
    background: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 20px 0;
}

.header-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    font-weight: bold;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.school-info h1 {
    font-size: 30px;
    color: #1e3c72;
    margin-bottom: 5px;
    font-weight: 700;
}

.school-info p {
    color: #666;
    font-size: 15px;
}

.header-contact {
    text-align: right;
    font-size: 14px;
}

.header-contact div {
    margin-bottom: 5px;
    color: #666;
}

.header-contact strong {
    color: #1e3c72;
}

/* 2. NAVIGATION */
nav {
    background: #2d3748;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.nav-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

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

.nav-menu>li>a {
    display: block;
    padding: 14px 15px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
}

.nav-menu>li>a:hover,
.nav-menu>li>a.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 8px 8px;
    z-index: 100;
}

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

.dropdown li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

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

.dropdown li a:hover {
    background: #f8f9fa;
    padding-left: 30px;
    color: #667eea;
}

.mobile-toggle {
    display: none;
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px auto;
}

/* 3. SLIDER */
.slider {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.85) 0%, rgba(42, 82, 152, 0.85) 100%);
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
}

.slide-content h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 25px;
}

.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* MAIN CONTENT */
.main-content {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* 4. NOTICEBOARD */
.noticeboard {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 18px 20px;
    font-size: 22px;
    font-weight: 600;
}

.notice-list {
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.notice-item {
    padding: 16px;
    border-left: 4px solid #667eea;
    background: #f8f9fa;
    margin-bottom: 12px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s;
    cursor: pointer;
}

.notice-item:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.notice-date {
    color: #667eea;
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 8px;
}

.notice-item h4 {
    color: #333;
    margin-bottom: 6px;
    font-size: 15px;
}

.notice-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.view-all-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.view-all-btn:hover {
    background: #667eea;
    color: white;
}

/* SIDEBAR */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 5. IMPORTANT LINKS */
.important-links {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.links-list {
    padding: 20px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f8f9fa;
    margin-bottom: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    font-size: 14px;
}

.link-item:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateX(5px);
}

.link-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.link-item:hover .link-icon {
    background: white;
    color: #667eea;
}

/* 10. VISITOR COUNT */
.visitor-count {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.visitor-content {
    padding: 20px;
    text-align: center;
}

.count-display {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 15px 0;
}

.count-digit {
    width: 45px;
    height: 55px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(102, 126, 234, 0.3);
}

.visitor-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 15px;
}

.visitor-stat {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.visitor-stat strong {
    display: block;
    font-size: 18px;
    color: #667eea;
    margin-bottom: 3px;
}

.visitor-stat span {
    font-size: 12px;
    color: #666;
}

/* 6. ICONS SECTION */
.icons-section {
    padding: 50px 20px;
    background: #f8f9fa;
}

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

.section-title {
    text-align: center;
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.icon-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.icon-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.icon-card h3 {
    font-size: 18px;
    color: #1e3c72;
    margin-bottom: 8px;
}

.icon-card p {
    color: #666;
    font-size: 13px;
}

/* 7. ABOUT US */
.about-us {
    padding: 50px 20px;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image {
    width: 100%;
    /*height: 350px;*/
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
    .about-image img {
       
        height: 350px;
       
    }

.about-text h2 {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.about-text p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
    text-align: justify;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.stat-box {
    background: #f8f9fa;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.stat-box h3 {
    font-size: 28px;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-box p {
    color: #666;
    font-size: 13px;
}

/* 8 & 9. SPEECHES */
.speeches-section {
    padding: 50px 20px;
    background: #f8f9fa;
}

.speeches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.speech-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.speech-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    text-align: center;
}

.speech-photo {
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.speech-header h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.speech-header p {
    font-size: 15px;
    opacity: 0.9;
}

.speech-content {
    padding: 25px;
}

.speech-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
}

.speech-signature {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
    text-align: right;
    color: #1e3c72;
    font-weight: 600;
    font-size: 14px;
}

/* FOOTER */
footer {
    background: #1a1a1a;
    color: white;
    padding: 50px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #667eea;
    font-size: 18px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 14px;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .header-main-content {
        flex-direction: column;
        text-align: center;
    }

    .header-contact {
        text-align: center;
    }

    .school-info h1 {
        font-size: 22px;
    }

    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu>li {
        width: 100%;
    }

    .dropdown {
        position: static;
        box-shadow: none;
    }

    .slider {
        height: 300px;
    }

    .slide-content h2 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .main-content,
    .about-content,
    .speeches-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-top-content {
        flex-direction: column;
        text-align: center;
    }

    .header-top-left {
        flex-direction: column;
        gap: 8px;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background: white;
}

.gallery-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    height: 280px;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s;
}

.gallery-card:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 25px;
    color: white;
    transform: translateY(100%);
    transition: all 0.4s;
}

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



/* default */
.header-mobile { display: none; }

/* desktop */
@media (min-width: 769px) {
    .header-desktop { display: block; }
}

/* mobile */
@media (max-width: 768px) {
    .header-desktop { display: none; }
    .header-mobile { display: block; }

    .header-mobile .top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .header-mobile .header-contact {
        text-align: right;
        font-size: 14px;
    }

    .header-mobile .school-info {
        text-align: center;
        margin-top: 12px;
    }
}

