/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #006a4e;
    --primary-dark: #004d38;
    --primary-light: #00875f;
    --secondary: #f42a41;
    --accent: #ffd700;
    --text-dark: #2c3e50;
    --text-light: #555;
    --bg-light: #f5f7fa;
    --bg-white: #ffffff;
    --border: #e1e8ed;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--primary-dark);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left span,
.top-bar-right span {
    margin-right: 20px;
}

.top-bar-left i,
.top-bar-right i {
    margin-right: 5px;
    color: var(--accent);
}

.admin-link {
    background: var(--secondary);
    padding: 4px 12px;
    border-radius: 3px;
    color: white !important;
}

.admin-link:hover {
    background: #d61f35;
}

/* ===== Main Header ===== */
.main-header {
    background: white;
    padding: 20px 0;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.logo-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    box-shadow: var(--shadow);
}

.logo-text h1 {
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 3px;
}

.logo-text p {
    color: var(--text-light);
    font-size: 14px;
}

.header-search {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border-radius: 30px;
    overflow: hidden;
    padding: 5px;
}

.header-search input {
    border: none;
    background: transparent;
    padding: 8px 15px;
    outline: none;
    width: 250px;
    font-family: inherit;
}

.header-search button {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.header-search button:hover {
    background: var(--primary-dark);
}

/* ===== Navigation ===== */
.main-nav {
    background: var(--primary);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-menu li a {
    color: white;
    padding: 15px 20px;
    display: block;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: var(--primary-dark);
    color: var(--accent);
}

.nav-menu li a i {
    margin-right: 6px;
}

.mobile-menu-toggle {
    display: none;
    background: var(--primary-dark);
    color: white;
    border: none;
    padding: 12px 20px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

/* ===== Hero Slider ===== */
.hero-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    padding: 0 20px;
    max-width: 800px;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.3s backwards;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.slider-btn:hover {
    background: white;
    color: var(--primary);
}

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

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

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

.slider-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

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

/* ===== Quick Links ===== */
.quick-links {
    padding: 60px 0;
    background: white;
}

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

.quick-link-card {
    background: white;
    padding: 35px 25px;
    text-align: center;
    border-radius: 12px;
    border: 2px solid var(--border);
    transition: var(--transition);
}

.quick-link-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-hover);
}

.quick-link-card i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 15px;
}

.quick-link-card h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 20px;
}

.quick-link-card p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Section Headers ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
}

.section-header.center {
    flex-direction: column;
    text-align: center;
    border-bottom: none;
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary);
    font-size: 26px;
}

.section-header h2 i {
    margin-right: 8px;
}

.section-header.center h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.section-header.center p {
    color: var(--text-light);
    font-size: 16px;
}

.view-all {
    color: var(--primary);
    font-weight: 500;
}

.view-all:hover {
    color: var(--primary-dark);
}

/* ===== Notice Section ===== */
.notice-section {
    padding: 60px 0;
}

.section-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.news-list,
.notice-board {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.news-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.news-item:last-child {
    border-bottom: none;
}

.news-item-img {
    width: 120px;
    height: 90px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-item-content h4 {
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 17px;
}

.news-item-content h4 a:hover {
    color: var(--primary);
}

.news-item-meta {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}

.news-item-meta i {
    margin-right: 4px;
}

.news-item-content p {
    color: var(--text-light);
    font-size: 14px;
}

.notice-item {
    padding: 12px;
    margin-bottom: 10px;
    background: var(--bg-light);
    border-left: 4px solid var(--secondary);
    border-radius: 4px;
}

.notice-item.urgent {
    border-left-color: var(--secondary);
    background: #fff5f5;
}

.notice-item h4 {
    font-size: 15px;
    margin-bottom: 5px;
}

.notice-item .date {
    color: var(--text-light);
    font-size: 12px;
}

/* ===== Sports Section ===== */
.sports-section {
    padding: 60px 0;
    background: white;
}

.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.sport-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.sport-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.sport-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.sport-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.sport-card-badge.cricket {
    background: #2196f3;
}

.sport-card-badge.football {
    background: #4caf50;
}

.sport-card-content {
    padding: 20px;
}

.sport-card-content h3 {
    margin-bottom: 8px;
    font-size: 19px;
    color: var(--text-dark);
}

.sport-card-content .meta {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 10px;
}

.sport-card-content p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Events Section ===== */
.events-section {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.event-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.event-date {
    background: var(--primary);
    color: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
    height: fit-content;
}

.event-date .day {
    font-size: 32px;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 13px;
    margin-top: 4px;
}

.event-info h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 18px;
}

.event-info .meta {
    color: var(--text-light);
    font-size: 13px;
    margin-bottom: 8px;
}

.event-info .meta i {
    margin-right: 4px;
    color: var(--primary);
}

.event-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* ===== Stats Section ===== */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 50px;
    color: var(--accent);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    opacity: 0.9;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-size: 15px;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

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

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.text-center {
    text-align: center;
    margin-top: 30px;
}

/* ===== Footer ===== */
.main-footer {
    background: #1a1a1a;
    color: #ccc;
    padding: 60px 0 0;
}

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

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-col p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.8;
}

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

.footer-col ul li a {
    color: #ccc;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-col i {
    color: var(--accent);
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.social-links a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

/* ===== Page Hero (Inner Pages) ===== */
.page-hero {
    background: linear-gradient(rgba(0, 80, 40, 0.85), rgba(0, 80, 40, 0.85)), url('https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1600');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 18px;
    opacity: 0.9;
}

.breadcrumb {
    background: white;
    padding: 12px 0;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.breadcrumb ul {
    display: flex;
    gap: 10px;
    font-size: 14px;
}

.breadcrumb ul li::after {
    content: '/';
    margin-left: 10px;
    color: var(--text-light);
}

.breadcrumb ul li:last-child::after {
    display: none;
}

.breadcrumb a {
    color: var(--primary);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .section-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-content h2 {
        font-size: 36px;
    }
    
    .header-search input {
        width: 180px;
    }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        background: var(--primary);
    }
    
    .nav-menu.show {
        display: flex;
    }
    
    .nav-menu li a {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .slide-content h2 {
        font-size: 28px;
    }
    
    .slide-content p {
        font-size: 16px;
    }
    
    .hero-slider {
        height: 350px;
    }
    
    .page-hero h1 {
        font-size: 30px;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item-img {
        width: 100%;
        height: 180px;
    }
    
    .event-card {
        flex-direction: column;
    }
    
    .logo-text h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .stat-item h3 {
        font-size: 32px;
    }
    
    .quick-link-card {
        padding: 25px 15px;
    }
    
    .quick-link-card i {
        font-size: 40px;
    }
}
