/*
 * Central Library: Vidyasagar University
 * Main Stylesheet
 * Version: 1.0
 * Author: Vidyasagar University IT Cell
 */

/* ===================================
   CSS Variables
   =================================== */
:root {
    --primary-color: #0c4a6e;
    --secondary-color: #0891b2;
    --accent-color: #f59e0b;
    --dark-bg: #1e293b;
    --light-bg: #f1f5f9;
    --gradient-1: linear-gradient(135deg, #0c4a6e 0%, #0891b2 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

/* ===================================
   Global Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #334155;
    background: #ffffff;
}

/* ===================================
   Top Bar
   =================================== */
.top-bar {
    background: var(--gradient-1);
    color: white;
    padding: 12px 0;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    transition: all 0.3s;
    font-weight: 500;
}

.top-bar a:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
}

.top-bar i {
    margin-right: 5px;
}

/* ===================================
   Header
   =================================== */
.main-header {
    background: linear-gradient(to right, #ffffff 0%, #f8fafc 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px 0;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: url('https://web.viduerp.in/Content/images/vu_statue.png') no-repeat right center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.logo-img {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 8px;
    transition: transform 0.3s;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 30px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.logo-text .bengali-text {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text .tagline {
    font-size: 14px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

/* ===================================
   Main Navigation
   =================================== */
.main-nav {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid var(--accent-color);
}

.main-nav .navbar-nav {
    width: 100%;
}

.main-nav .nav-item {
    position: relative;
}

.main-nav .nav-link {
    color: #475569 !important;
    padding: 18px 20px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-2);
    transition: width 0.3s;
}

.main-nav .nav-link:hover,
.main-nav .nav-link.active {
    color: var(--primary-color) !important;
    background: linear-gradient(to bottom, transparent 0%, #f8fafc 100%);
}

.main-nav .nav-link:hover::after {
    width: 80%;
}

.main-nav .nav-link i.fa-chevron-down {
    font-size: 10px;
    margin-left: 5px;
    transition: transform 0.3s;
}

.nav-item.dropdown:hover .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
}

/* ===================================
   Mega Menu
   =================================== */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 600px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 35px;
    display: none;
    z-index: 1000;
    border-top: 4px solid var(--accent-color);
    border-radius: 0 0 12px 12px;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-item.dropdown:hover .mega-menu {
    display: block;
}

.nav-item:last-of-type .mega-menu,
.nav-item:nth-last-of-type(2) .mega-menu,
.nav-item:nth-last-of-type(3) .mega-menu,
.nav-item:nth-last-of-type(4) .mega-menu {
    min-width: 450px;
}

.mega-menu-column h6 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 10px;
    display: inline-block;
}

.mega-menu-column ul {
    list-style: none;
    padding: 0;
}

.mega-menu-column ul li {
    margin-bottom: 10px;
}

.mega-menu-column ul li a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
}

.mega-menu-column ul li a:hover {
    color: var(--primary-color);
    background: var(--light-bg);
    padding-left: 20px;
    transform: translateX(5px);
}

.mega-menu-column ul li a i {
    margin-right: 10px;
    color: var(--secondary-color);
    font-size: 12px;
}

/* ===================================
   News Ticker Container
   =================================== */
.news-ticker-container {
    background: linear-gradient(to right, #fef3c7, #fde68a);
    border-bottom: 2px solid var(--accent-color);
}

.news-ticker-container iframe {
    display: block;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.95), rgba(8, 145, 178, 0.95)), 
                url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    opacity: 0.4;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.2), transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(8, 145, 178, 0.2), transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -1px;
}

.hero-content .bengali-hero {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 22px;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 600;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-content .btn {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-content .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-light {
    background: white;
    color: var(--primary-color);
}

.btn-outline-light {
    border: 2px solid white;
    background: transparent;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* ===================================
   Quick Links
   =================================== */
.quick-links {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    padding: 20px;
}

.quick-link-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    background: linear-gradient(to bottom, #ffffff, #f8fafc);
    border: 2px solid transparent;
}

.quick-link-item:hover {
    background: var(--gradient-1);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(12, 74, 110, 0.3);
    border-color: var(--accent-color);
}

.quick-link-item:hover i {
    color: white;
    transform: scale(1.2);
}

.quick-link-item:hover h5 {
    color: white;
}

.quick-link-item i {
    font-size: 42px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    transition: all 0.3s;
}

.quick-link-item h5 {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    transition: all 0.3s;
}

/* ===================================
   Content Sections
   =================================== */
.content-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 5px;
    background: var(--gradient-2);
    border-radius: 3px;
}

/* ===================================
   Info Cards
   =================================== */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    transition: all 0.3s;
    border: 1px solid rgba(203, 213, 225, 0.3);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-2);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.info-card h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-card h4 i {
    color: var(--secondary-color);
    font-size: 24px;
}

.info-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 15px;
}

/* ===================================
   Library Updates Scroll
   =================================== */
.updates-scroll-container {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: var(--light-bg);
    border-radius: 12px;
    padding: 20px;
}

.updates-scroll-content {
    animation: scrollUp 25s linear infinite;
}

.updates-scroll-content:hover {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}

.update-item {
    padding: 18px;
    margin-bottom: 15px;
    background: white;
    border-left: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.update-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left-color: var(--accent-color);
}

.update-date {
    display: block;
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.update-date i {
    margin-right: 6px;
}

.update-item p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
}

/* ===================================
   Search Resources Section
   =================================== */
.search-box {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.search-box .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 15px;
    transition: all 0.3s;
}

.search-box .form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
}

.search-box .btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
}

.search-box .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(12, 74, 110, 0.3);
}

.resource-buttons .btn {
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    background: white;
}

.resource-buttons .btn:hover {
    background: var(--gradient-1);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(8, 145, 178, 0.3);
}

.resource-buttons .btn i {
    margin-right: 8px;
}

/* ===================================
   Library Hours Card
   =================================== */
.hours-card {
    background: var(--gradient-1);
    color: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(12, 74, 110, 0.3);
}

.hours-card h4 {
    color: white;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.hours-card p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 15px;
    font-weight: 500;
}

.hours-card strong {
    color: var(--accent-color);
}

/* ===================================
   Important Links
   =================================== */
.links-list {
    list-style: none;
    padding: 0;
}

.links-list li {
    margin-bottom: 12px;
}

.links-list li a {
    color: #64748b;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    background: var(--light-bg);
}

.links-list li a:hover {
    color: white;
    background: var(--gradient-1);
    padding-left: 25px;
    box-shadow: 0 4px 12px rgba(12, 74, 110, 0.2);
}

.links-list li a i {
    margin-right: 12px;
    color: var(--secondary-color);
    font-size: 16px;
    transition: all 0.3s;
}

.links-list li a:hover i {
    color: var(--accent-color);
}

/* ===================================
   Footer
   =================================== */
.main-footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: white;
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-2);
}

.footer-section h5 {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 18px;
    position: relative;
    padding-bottom: 12px;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 14px;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 8px;
}

.footer-section ul li a i {
    margin-right: 10px;
    color: var(--secondary-color);
    transition: all 0.3s;
}

.footer-section ul li a:hover i {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 14px;
}

/* ===================================
   Mobile Menu Toggle
   =================================== */
.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 10px 15px;
    border-radius: 8px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(12, 74, 110, 0.2);
}

.navbar-toggler i {
    color: var(--primary-color);
    font-size: 20px;
}

/* ===================================
   Responsive Media Queries
   =================================== */
@media (max-width: 991px) {
    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: none;
        padding: 20px;
        background: var(--light-bg);
        border-radius: 8px;
        margin-top: 10px;
    }

    .logo-text h1 {
        font-size: 22px;
    }

    .logo-text .bengali-text {
        font-size: 18px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .quick-links {
        margin-top: -30px;
        padding: 25px;
    }

    .hero-content .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .content-section {
        padding: 50px 0;
    }
}

@media (max-width: 767px) {
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo-text h1 {
        font-size: 20px;
    }

    .logo-text .bengali-text {
        font-size: 16px;
    }

    .hero-content h2 {
        font-size: 26px;
    }

    .hero-content .bengali-hero {
        font-size: 18px;
    }

    .quick-link-item {
        padding: 20px 15px;
    }

    .quick-link-item i {
        font-size: 32px;
    }

    .quick-link-item h5 {
        font-size: 14px;
    }
}
/* ===================================
   Additional Styles for About Library Page
   Add these to your existing styles.css file
   =================================== */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, rgba(12, 74, 110, 0.95), rgba(8, 145, 178, 0.95)), 
                url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(245, 158, 11, 0.15), transparent 60%);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-hero-content .bengali-hero {
    font-family: 'Noto Sans Bengali', sans-serif;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    opacity: 0.95;
}

/* Breadcrumb Styling */
.breadcrumb {
    background: rgba(255,255,255,0.1);
    padding: 12px 20px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    display: inline-flex;
}

.breadcrumb-item {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
}

.breadcrumb-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

/* Content Heading */
.content-heading {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
}

.content-heading i {
    color: var(--secondary-color);
    font-size: 32px;
}

/* Stats Cards */
.stats-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(12, 74, 110, 0.15);
    border-color: var(--accent-color);
}

.stats-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stats-icon i {
    font-size: 32px;
    color: white;
}

.stats-info h4 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.stats-info p {
    color: #64748b;
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-2);
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    box-shadow: 0 5px 15px rgba(12, 74, 110, 0.3);
    z-index: 1;
}

.timeline-content {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.timeline-content h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.feature-list li {
    padding: 12px 0;
    color: #475569;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.feature-list li i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-top: 2px;
}

/* Membership Cards */
.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.membership-item {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.membership-item:hover {
    background: white;
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.membership-item i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.membership-item h5 {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.membership-item p {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

/* Sidebar Cards */
.sidebar-card {
    position: sticky;
    top: 100px;
}

.sidebar-card h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Quick Facts */
.quick-facts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s;
}

.fact-item:hover {
    background: white;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.fact-item strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

.fact-item span {
    color: #64748b;
    font-weight: 600;
    font-size: 14px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .page-hero-content h2 {
        font-size: 36px;
    }
    
    .page-hero-content .bengali-hero {
        font-size: 20px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 90px;
    }
    
    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 16px;
    }
    
    .sidebar-card {
        position: static;
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 60px 0 40px;
    }
    
    .page-hero-content h2 {
        font-size: 28px;
    }
    
    .page-hero-content .bengali-hero {
        font-size: 18px;
    }
    
    .content-heading {
        font-size: 22px;
    }
    
    .stats-card {
        flex-direction: column;
        text-align: center;
    }
    
    .stats-icon {
        width: 60px;
        height: 60px;
    }
    
    .stats-icon i {
        font-size: 28px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 14px;
    }
    
    .membership-cards {
        grid-template-columns: 1fr;
    }
}