/* Reset & General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SolaimanLipi', 'Kalpurush', 'Segoe UI', Roboto, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

/* Header Section */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    position: relative;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.site-title h1 {
    font-size: 1.2rem;
    color: #0d6efd;
    line-height: 1.2;
}

.site-title p {
    font-size: 0.85rem;
    color: #6c757d;
}

.nav-menu {
    display: flex;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #0d6efd;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
}

/* Fully Responsive Banner without Cropping */
.banner-section {
    width: 100%;
    height: auto;
    background-color: #1a252f;
    overflow: hidden;
    line-height: 0; /* ছবিতে অতিরিক্ত গ্যাপ রোধ করার জন্য */
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain; /* পুরো ব্যানারটি অক্ষত অবস্থায় দেখাবে */
}

/* Welcome Box Styling */
.welcome-box {
    background-color: #ffffff;
    border-left: 5px solid #0d6efd;
    padding: 20px 15px;
    margin: 25px 0 10px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.welcome-box h2 {
    color: #0d6efd;
    font-size: clamp(1.3rem, 3.5vw, 1.8rem);
    margin-bottom: 5px;
}

.welcome-box p {
    color: #555;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
}

/* Section Headings */
.section-heading {
    margin: 30px 0 20px;
}

.section-heading h2 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: #1a252f;
}

.divider {
    width: 70px;
    height: 4px;
    background-color: #0d6efd;
    margin: 8px auto 0;
    border-radius: 2px;
}

/* About Section */
.about-text {
    font-size: 1.05rem;
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: center;
    color: #555;
    padding: 0 10px;
}

/* Committee Section */
.committee-section {
    background-color: #ffffff;
    padding: 20px 0 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    justify-content: center;
}

.team-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eef2f5;
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card-img-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #e9ecef;
}

.card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.team-card:hover .card-img-box img {
    transform: scale(1.05);
}

.card-info {
    padding: 18px 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-info h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 4px;
}

.card-info .full-name {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 6px;
}

.card-info .designation {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d6efd;
    margin-bottom: 4px;
}

.card-info .organization {
    font-size: 0.85rem;
    color: #6c757d;
}

.card-info .phone {
    font-size: 0.95rem;
    color: #198754;
    font-weight: 600;
    margin-top: 6px;
    display: inline-block;
}

/* Contact & Social Section */
.social-section {
    padding: 40px 15px 50px;
}

.social-section p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #555;
}

.facebook-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1877f2;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.25);
}

.facebook-btn:hover {
    background-color: #115cbe;
    transform: translateY(-2px);
}

/* Footer Section */
.main-footer {
    background-color: #1a252f;
    color: #ffffff;
    padding: 20px 0;
    font-size: 0.85rem;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 576px) {
    .header-container {
        padding: 10px 15px;
    }

    .logo {
        width: 42px;
        height: 42px;
    }

    .site-title h1 {
        font-size: 1rem;
    }

    .site-title p {
        font-size: 0.75rem;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
    }

    .nav-menu.active {
        max-height: 250px;
    }

    .nav-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid #f1f1f1;
        display: block;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* =========================================================
   NEWS TICKER - FINAL FIXED DESIGN
   ========================================================= */

.news-ticker {
    position: relative;
    width: 100%;
    height: 42px;
    margin: 0;
    padding: 0;
    background: #10B981;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    z-index: 10;
}

.ticker-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ticker-title {
    flex: 0 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 15px;
    background: #059669;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    z-index: 2;
}

.ticker-title i {
    font-size: 15px;
    color: #ffffff;
}

.ticker-content {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #10B981;
}

.ticker-content marquee {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 42px;
    white-space: nowrap;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {

    .news-ticker {
        height: 42px;
    }

    .ticker-title {
        padding: 0 14px;
        font-size: 15px;
    }

    .ticker-title i {
        font-size: 14px;
    }

    .ticker-content marquee {
        font-size: 15px;
        line-height: 42px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .news-ticker {
        height: 40px;
    }

    .ticker-title {
        padding: 0 11px;
        gap: 6px;
        font-size: 14px;
    }

    .ticker-title i {
        font-size: 13px;
    }

    .ticker-content marquee {
        font-size: 14px;
        line-height: 40px;
    }
}


/* =========================================================
   SMALL PHONE
   ========================================================= */

@media (max-width: 380px) {

    .news-ticker {
        height: 38px;
    }

    .ticker-title {
        padding: 0 9px;
        gap: 5px;
        font-size: 13px;
    }

    .ticker-title i {
        font-size: 12px;
    }

    .ticker-content marquee {
        font-size: 13px;
        line-height: 38px;
    }
}
