/* Global Styles */
:root {
    --primary-color: #1CAF64;
    --primary-dark: #0D723B;
    --primary-light: #0F956D;
    --secondary-color: #6c757d;
    --success-color: #1CAF64;
    --warning-color: #F6EE26;
    --danger-color: #EC2C2C;
    --gold-color: #F19E1F;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    font-size: 0.75rem;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden !important;
}

/* Navigation */
.navbar {
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    /* margin-top: 80px; */
    position: relative;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    z-index: 20;
    width: 5%;
    opacity: 0.8;
    transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-indicators {
    z-index: 20;
    bottom: 120px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.carousel-indicators button.active,
.carousel-indicators button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(to top, rgba(13, 114, 59, 0.9), rgba(13, 114, 59, 0.7), transparent);
    padding: 0 !important;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.hero-content {
    text-align: center;
    color: white;
    padding: 1.5rem 2rem;
    background: rgba(13, 114, 59, 0.8);
    border-radius: 15px 15px 0 0;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(28, 175, 100, 0.3);
    border-bottom: none;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

/* Hero Heading */
.hero-content h1,
.hero-content .display-4,
.hero-content h1.display-4 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--warning-color) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Force warning color for hero heading */
.hero-content h1.display-4.fw-bold,
.hero-content .display-4.fw-bold {
    color: #F6EE26 !important;
    color: var(--warning-color) !important;
}

/* Most specific rule to override any Bootstrap or other CSS */
.hero-content-overlay .hero-content h1.display-4.fw-bold {
    color: var(--warning-color) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Lead text */
.hero-content .lead, .lead {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    min-width: 120px;
    font-size: 0.95rem;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 175, 100, 0.4);
}

/* Statistics */
.stat-item {
    padding: 0.5rem 0.25rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.stat-icon {
    width: 64px;
    height: 64px;
    background: #f4f8f6;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.stat-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item .counter {
    font-size: 1.75rem;
    font-weight: 700;
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    margin-top: 0;
    letter-spacing: 0.5px;
}

.stat-item p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0;
    margin-top: 0.25rem;
}

/* Events */
.event-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 10px;
    transition: var(--transition);
}

.event-item:hover {
    background-color: rgba(28, 175, 100, 0.1);
    transform: translateX(5px);
}

.event-date {
    min-width: 60px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
}

.event-details h6 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-title {
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    color: #222;
}
.event-desc {
    margin-bottom: 0.1rem;
    font-size: 0.75rem;
}
.event-location {
    margin-bottom: 0;
    color: #888 !important;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
}
.event-location i {
    font-size: 1em;
    margin-right: 0.25em;
}

/* Cards */
.card {
    transition: var(--transition);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(28, 175, 100, 0.1);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border-color: var(--primary-color);
}

.card-body {
    padding: 2rem;
}

/* Member Benefits */
.member-benefit {
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition);
    border: 2.5px solid rgba(28, 175, 100, 0.2);
}

.member-benefit:hover {
    background-color: rgba(28, 175, 100, 0.1);
    border-color: var(--warning-color);
    border-width: 2.5px;
    box-shadow: 0 0 0 4px rgba(241, 158, 31, 0.15);
}

/* Awards */
.award-card {
    padding: 1rem;
    transition: var(--transition);
}

.award-card:hover {
    transform: translateY(-5px);
}

.award-card img {
    transition: var(--transition);
}

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

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 114, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Video Gallery */
.video-item {
    transition: var(--transition);
}

.video-item:hover {
    transform: translateY(-5px);
}

/* Badges */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.badge.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success-color), var(--primary-light)) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), var(--gold-color)) !important;
    color: var(--text-dark) !important;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
}

.footer-section h5 {
    color: var(--warning-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--warning-color);
    margin-top: 0.25rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: var(--transition);
    margin-right: 0.5rem;
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--warning-color), var(--gold-color));
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Modals */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1.5rem;
}

/* Forms */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.75rem;
    transition: var(--transition);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(28, 175, 100, 0.25);
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 175, 100, 0.4);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-light {
    border: 2px solid var(--warning-color);
    color: var(--warning-color);
}

.btn-outline-light:hover {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Enhanced Color Scheme */
.bg-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
}

.bg-success {
    background: linear-gradient(135deg, var(--success-color), var(--primary-light)) !important;
}

.bg-warning {
    background: linear-gradient(135deg, var(--warning-color), var(--gold-color)) !important;
    color: var(--text-dark) !important;
}

.bg-danger {
    background: linear-gradient(135deg, var(--danger-color), #ff6b6b) !important;
}

.text-primary { color: var(--primary-color) !important; }
.text-success { color: var(--success-color) !important; }
.text-warning { color: var(--warning-color) !important; }
.text-danger { color: var(--danger-color) !important; }
.text-gold { color: var(--gold-color) !important; }

/* Section Headings */
h2, h3 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h4, .card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Subheadings */
h5, h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Lead text */
.hero-content .lead, .lead {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Button text */
.btn, .hero-buttons .btn {
    font-size: 1rem;
    font-weight: 600;
}

/* Small text */
.small, small {
    font-size: 0.875rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .carousel-indicators {
        bottom: 100px;
    }
    
    .hero-content-overlay {
        padding: 1.5rem 0 0.5rem 0;
    }
    
    .hero-content {
        padding: 1rem 1.5rem;
        margin: 0 1rem;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content .lead {
        font-size: 0.95rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 200px;
        padding: 0.5rem 1rem;
    }
    
    .stat-item .counter {
        font-size: 2rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .contact-item {
        justify-content: center;
    }

    /* Responsive adjustments */
    .hero-content h1,
    .hero-content .display-4,
    .hero-content h1.display-4 {
        font-size: 1.5rem;
    }
    .h2, .h3 {
        font-size: 1.25rem;
    }
    .lead, .hero-content .lead {
        font-size: 1rem;
    }
    .btn, .hero-buttons .btn {
        font-size: 0.95rem;
    }
    .stat-icon {
        width: 48px;
        height: 48px;
    }
    .stat-icon i {
        font-size: 1.3rem;
    }
    .stat-item .counter {
        font-size: 1.2rem;
    }
    .stat-item p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .carousel-item {
        height: 50vh;
        min-height: 300px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .carousel-indicators {
        bottom: 80px;
    }
    
    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 3px;
    }
    
    .hero-content-overlay {
        padding: 1rem 0 0.5rem 0;
    }
    
    .hero-content {
        padding: 0.75rem 1rem;
        margin: 0 0.5rem;
        border-radius: 10px 10px 0 0;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-content .lead {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .h2 {
        font-size: 2rem;
    }
    
    .h3 {
        font-size: 1.5rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    /* Responsive adjustments */
    .hero-content h1,
    .hero-content .display-4,
    .hero-content h1.display-4 {
        font-size: 1.1rem;
    }
    .h2, .h3 {
        font-size: 1rem;
    }
    .lead, .hero-content .lead {
        font-size: 0.95rem;
    }
    .btn, .hero-buttons .btn {
        font-size: 0.9rem;
    }
    .hero-section {
        margin-top: 64px;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(28, 175, 100, 0.25);
}

/* Print Styles */
@media print {
    .navbar,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators,
    .btn,
    .modal {
        display: none !important;
    }
    
    .hero-section {
        margin-top: 0;
    }
    
    .carousel-item {
        height: auto;
    }
} 

.at-a-glance-row {
    align-items: center;
}
.at-a-glance-row img {
    max-width: 120px;
    margin: 0 auto;
    display: block;
}
.at-a-glance-desc {
    font-size: 1rem;
    color: #333;
}
@media (max-width: 768px) {
    .at-a-glance-row {
        flex-direction: column;
        text-align: center;
    }
    .at-a-glance-row .col-md-3,
    .at-a-glance-row .col-md-9 {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .at-a-glance-desc {
        text-align: center;
    }
} 

/* Remove text-shadow from all text */
.hero-content h1,
.hero-content .display-4,
.hero-content h1.display-4,
h2, h3, h4, h5, h6,
.hero-content .lead, .lead,
.card-title,
.stat-item .counter,
.at-a-glance-desc,
p, span, div, a, li, label, small, .btn {
    text-shadow: none !important;
}

@media (max-width: 768px) {
    .hero-content h1,
    .hero-content .display-4,
    .hero-content h1.display-4,
    h2, h3, h4, h5, h6,
    .hero-content .lead, .lead,
    .card-title,
    .stat-item .counter,
    .at-a-glance-desc,
    p, span, div, a, li, label, small, .btn {
        text-shadow: none !important;
    }
}

@media (max-width: 576px) {
    .hero-content h1,
    .hero-content .display-4,
    .hero-content h1.display-4,
    h2, h3, h4, h5, h6,
    .hero-content .lead, .lead,
    .card-title,
    .stat-item .counter,
    .at-a-glance-desc,
    p, span, div, a, li, label, small, .btn {
        text-shadow: none !important;
    }
} 

.featured-logo-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 12px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70px;
    min-width: 100px;
}
.featured-logo-box img {
    max-width: 100%;
    max-height: 48px;
    object-fit: contain;
} 

.nav-pills#galleryTab .nav-link {
    color: var(--primary-color);
    background: #fff;
    border-radius: 8px;
    font-weight: 500;
    margin: 0 0.25rem;
    border: 2px solid transparent;
    transition: var(--transition);
}

.nav-pills#galleryTab .nav-link.active,
.nav-pills#galleryTab .show > .nav-link {
    color: #fff !important;
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

.nav-pills#galleryTab .nav-link:not(.active):hover,
.nav-pills#galleryTab .nav-link:not(.active):focus {
    border-color: var(--primary-color);
    background: #f8f9fa;
    color: var(--primary-color);
} 

.org-header {
    background: linear-gradient(90deg, #f8f9fa 60%, #e6f5ee 100%);
    border-bottom: 1px solid #e0e0e0;
}
.org-logo img {
    box-shadow: 0 2px 12px rgba(28,175,100,0.08);
    border: 3px solid #fff;
}
.org-title-bn {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.1;
}
.org-title-en {
    font-size: 1.5rem;
    color: #222;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
}
.org-tagline {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.main-navbar {
    background: #23272b !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    z-index: 100;
    min-height: 40px;
    margin-bottom: 0;
    border: none;
    padding-top: 4px;
    padding-bottom: 4px;
}
.main-navbar .navbar-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
}
@media (max-width: 991.98px) {
    .main-navbar .navbar-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 1200px) {
  .main-navbar .nav-link {
    font-size: 0.9rem;
    padding: 0.375rem 0.7rem;
  }
}
@media (max-width: 992px) {
  .main-navbar .nav-link {
    font-size: 0.85rem;
    padding: 0.375rem 0.5rem;
  }
}
@media (max-width: 768px) {
  .main-navbar .nav-link {
    font-size: 0.8rem;
    padding: 0.375rem 0.3rem;
  }
}
.main-navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.375rem 1.25rem;
    position: relative;
    transition: color 0.2s;
    text-transform: none;
    background: none !important;
}
/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
  .main-navbar .dropdown:hover > .dropdown-menu,
  .main-navbar .dropdown:focus-within > .dropdown-menu {
    display: block;
    top: 100%;
    left: 0;
    margin-top: 0;
    pointer-events: auto;
  }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link:focus {
    color: var(--primary-color) !important;
    background: none !important;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link.show {
    color: var(--primary-color) !important;
    background: none !important;
}
.main-navbar .nav-link::after {
    content: '';
    display: block;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    transition: width 0.2s;
}
.main-navbar .nav-link:hover::after,
.main-navbar .nav-link.active::after,
.main-navbar .nav-link.show::after {
    width: 60%;
}
.main-navbar .dropdown-menu {
    background: #fff;
    border-radius: 12 !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    min-width: 180px;
    padding: 0.5rem 0;
    border: none;
}
.main-navbar .dropdown-item {
    color: #222;
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 0 !important;
    transition: background 0.15s, color 0.15s;
    background: none !important;
    font-size: 0.75rem;
}
.main-navbar .dropdown-item:hover,
.main-navbar .dropdown-item:focus {
    background: var(--primary-color) !important;
    color: #fff !important;
}
@media (max-width: 991.98px) {
    .main-navbar .navbar-nav {
        background: rgba(30,30,30,0.98) !important;
        border-radius: 0 0 12px 12px;
        padding: 0.5rem 0;
    }
    .main-navbar .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    .main-navbar .navbar-collapse {
        background: #23272b !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1000;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    }
}
@media (max-width: 991.98px) {
  .main-navbar .dropdown-menu {
    display: none;
  }
  .main-navbar .dropdown.show .dropdown-menu {
    display: block !important;
  }
}
@media (max-width: 768px) {
    .org-title-bn {
        font-size: 1.2rem;
    }
    .org-title-en {
        font-size: 1rem;
    }
    .org-header {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }
    .org-header .container {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .org-logo {
        margin-right: 1rem !important;
    }
    .org-logo img {
        width: 80px !important;
        height: 80px !important;
    }
    .org-title {
        text-align: left !important;
    }
    .hero-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
} 

.main-navbar .dropdown-toggle::after {
    display: none !important;
} 

.no-gradient-heading {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    color: var(--warning-color) !important;
} 

.awards-carousel-item {
    height: auto !important;
    min-height: 0 !important;
    padding-bottom: 0 !important;
} 

.btn-cta {
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    min-width: 120px;
    font-size: 0.95rem;
}

.btn-cta:hover, .btn-cta:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(28, 175, 100, 0.4);
} 

.language-switcher .dropdown-toggle {
    background: #23272b;
    color: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 0.25rem 1.1rem 0.25rem 0.8rem;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: none;
    transition: border-color 0.2s, color 0.2s;
}
.language-switcher .dropdown-toggle:focus,
.language-switcher .dropdown-toggle:hover {
    border-color: var(--warning-color);
    color: var(--warning-color);
    background: #23272b;
}
.language-switcher .dropdown-menu {
    min-width: 120px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    font-size: 1rem;
}
.language-switcher .dropdown-item.active,
.language-switcher .dropdown-item:active {
    background: var(--primary-color);
    color: #fff;
}
.language-switcher .dropdown-item {
    font-weight: 500;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    color: #222;
}
.language-switcher .dropdown-item:hover {
    background: var(--primary-light);
    color: #fff;
} 

.language-switcher.position-absolute {
    z-index: 1050;
}
@media (max-width: 991.98px) {
    .language-switcher.position-absolute {
        position: static !important;
        transform: none !important;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
} 

.language-switcher .dropdown-item.active,
.language-switcher .dropdown-item.active:focus,
.language-switcher .dropdown-item.active:hover {
    background: var(--primary-color) !important;
    color: #fff !important;
} 

/* Prevent floating animation on language switcher button hover */
.language-switcher .dropdown-toggle:hover,
.language-switcher .dropdown-toggle:focus {
    transform: none !important;
    box-shadow: none !important;
}

@media (max-width: 576px) {
    .org-title-bn {
        font-size: 0.95rem !important;
        line-height: 1.1 !important;
        color: var(--primary-color) !important;
    }
    .org-title-en {
        font-size: 0.8rem !important;
        line-height: 1.1 !important;
        color: #222 !important;
    }
    .org-tagline {
        font-size: 0.7rem !important;
        line-height: 1.2 !important;
    }
}
@media (max-width: 991.98px) {
    .main-navbar .nav-link,
    .main-navbar .dropdown-item {
        color: #fff !important;
    }
} 

/* Force white hamburger icon for dark navbar */
.navbar-toggler {
    border: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0.5rem 0.75rem !important;
}
.navbar-toggler .navbar-toggler-icon,
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2.5' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
    background-size: 2rem 2rem !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    background-color: transparent !important;
    border-radius: 0.5rem !important;
    display: inline-block !important;
} 

@media (max-width: 991.98px) {
  .main-navbar .dropdown-arrow i {
    color: #fff !important;
    font-size: 1.1em;
    margin-left: 0.25em;
    vertical-align: middle;
  }
} 

.main-navbar .dropdown-arrow {
  display: inline !important;
  margin-left: 0.25em;
  color: inherit !important;
  font-weight: inherit !important;
  font-size: 1.2em !important;
  line-height: 1 !important;
  vertical-align: middle !important;
  position: relative;
  top: -1px;
  letter-spacing: 0;
} 

.main-navbar .dropdown-arrow i.fas.fa-caret-down {
  display: inline !important;
  color: inherit !important;
  font-size: 1.2em !important;
  font-weight: inherit !important;
  vertical-align: middle !important;
  position: relative;
  top: 0;
  margin-left: 0.25em;
  width: auto !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .main-navbar .dropdown-menu.show {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .main-navbar .dropdown-menu {
    background: #23272b !important;
    color: #fff !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .main-navbar .dropdown-item {
    color: #fff !important;
    background: none !important;
  }
  .main-navbar .dropdown-item:hover,
  .main-navbar .dropdown-item:focus {
    background: var(--primary-color) !important;
    color: #fff !important;
  }
}

/* Modern Important Links Section - THEME REFINED */
.modern-important-links-section {
  padding: 2.5rem 0 1.5rem 0;
  background: #f8f9fb;
}
.modern-link-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 2px 16px rgba(40, 60, 90, 0.08);
  padding: 1.5rem 1rem 1rem 1rem;
  transition: box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.modern-link-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}
.modern-link-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  margin-right: 0.7rem;
  color: #fff;
  flex-shrink: 0;
}
.bg-org { background: #c62828; } /* Red */
.bg-sites { background: #ffd600; color: #23272b; } /* Gold/Yellow, dark text for contrast */
.bg-media { background: #388e3c; } /* Green */
.modern-link-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  color: #1a7f37; /* Website green */
  letter-spacing: -0.5px;
}
.modern-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1 1 auto;
}
.modern-link-list li {
  margin-bottom: 0.35rem;
}
.modern-link-list li:last-child {
  margin-bottom: 0;
}
.modern-link-list a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 0.4rem;
  color: #23272b;
  font-size: 0.75rem;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.modern-link-list a:hover, .modern-link-list a:focus {
  background: #e6f4ea;
  color: #1a7f37;
  text-decoration: underline;
}
.org-card .modern-link-list a:hover, .org-card .modern-link-list a:focus {
  background: #fdeaea;
  color: #c62828;
}
.sites-card .modern-link-list a:hover, .sites-card .modern-link-list a:focus {
  background: #fffbe6;
  color: #bfa100;
}
.media-card .modern-link-list a:hover, .media-card .modern-link-list a:focus {
  background: #e6f4ea;
  color: #388e3c;
}
/* Two-column layout for any .modern-link-list.columns-2 */
.modern-link-list.columns-2 {
  column-count: 2;
  column-gap: 1.2rem;
}
.modern-link-list.columns-2 li {
  break-inside: avoid;
}
@media (max-width: 991.98px) {
  .modern-link-list.columns-2 {
    column-count: 1;
  }
}
@media (max-width: 767.98px) {
  .modern-important-links-section {
    padding: 1.2rem 0 0.5rem 0;
  }
  .modern-link-card {
    padding: 1rem 0.5rem 0.5rem 0.5rem;
  }
  .modern-link-title {
    font-size: 0.98rem;
  }
  .modern-link-icon {
    width: 28px;
    height: 28px;
    font-size: 1rem;
    margin-right: 0.5rem;
  }
  .modern-link-list a {
    font-size: 0.75rem;
  }
}