/* Global CSS for Bangladesh Family Community Platform */

/* CSS Variables - White Primary, Black Text/Buttons */
:root {
    --primary-color: #ffffff;
    --secondary-color: #f8f9fa;
    --accent-color: #000000;
    --dark-color: #000000;
    --light-color: #ffffff;
    --white-color: #ffffff;
    --text-dark: #000000;
    --text-light: #6b7280;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, #ffffff, #f8f9fa);
    --gradient-secondary: linear-gradient(135deg, #111111, #000000);
    --sky-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    --soft-sky: #f8f9fa;
    --warm-sky: #f3f4f6;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.display-3 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-dark) !important;
}

/* Section Headers */
section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

section .text-muted {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

section.bg-light {
    background: var(--soft-sky) !important;
}

/* Navigation */
.navbar {
    background: var(--white-color) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    width: 100%;
}

/* Add padding to body to account for fixed navbar */
body {
    padding-top: 80px;
}

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

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-dark) !important;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    color: #111111 !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #111111 !important;
    font-weight: 600;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #111111;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.navbar-toggler {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    min-height: 80vh;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.0);
    z-index: 1;
}

.hero-section .container { position: relative; z-index: 2; }

.hero-section h1 { text-shadow: none; margin-bottom: 2rem; color: var(--text-dark); }
.hero-section .lead { text-shadow: none; margin-bottom: 3rem; color: var(--text-dark); }

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #000000;
    border-color: #000000;
    box-shadow: var(--shadow);
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #111111;
    border-color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: #ffffff !important;
}

.btn-primary:active { transform: translateY(0); box-shadow: var(--shadow); }

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
    min-width: 200px;
}

/* Features Section Enhancement */
/* Feature Cards - ensure visibility with !important */
.feature-card {
    border: none !important;
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: var(--transition) !important;
    overflow: hidden !important;
    background: var(--white-color) !important;
    height: 100% !important;
    border-top: 4px solid #000000 !important;
}

.feature-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.feature-card .card-body {
    padding: 2.5rem 2rem !important;
}

.feature-icon {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto 1.5rem !important;
    transition: var(--transition) !important;
    border: 2px solid #000000 !important;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) !important;
}

.feature-card i {
    color: #000000 !important;
    margin-bottom: 0 !important;
    font-size: 2.5rem !important;
}

.feature-card h4 {
    color: #000000 !important;
    margin-bottom: 1rem !important;
    font-weight: 600 !important;
    font-size: 1.25rem !important;
}

.feature-card p {
    color: #6b7280 !important;
    line-height: 1.8 !important;
    margin-bottom: 1.5rem !important;
    font-size: 0.95rem !important;
}

.feature-card ul li {
    margin-bottom: 0.5rem !important;
    color: #6b7280 !important;
    font-size: 0.9rem !important;
}

.feature-card ul li i {
    color: #28a745 !important;
    margin-right: 0.5rem !important;
    font-size: 0.8rem !important;
}

/* Services Section - Professional Service Cards */
.service-card {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    overflow: hidden !important;
    background: var(--white-color) !important;
    height: 100% !important;
    position: relative !important;
    border-top: 3px solid #000000 !important;
}

.service-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, #000000, #333333, #000000) !important;
    transform: scaleX(0) !important;
    transition: transform 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    transform-origin: left !important;
}

.service-card:hover::before {
    transform: scaleX(1) !important;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

.service-icon-wrapper {
    position: relative !important;
    margin-bottom: 1.5rem !important;
}

.service-icon-bg {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    border: 2px solid #000000 !important;
    position: relative !important;
    overflow: hidden !important;
}

.service-icon-bg::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1)) !important;
    opacity: 0 !important;
    transition: opacity 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
}

.service-card:hover .service-icon-bg {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.service-card:hover .service-icon-bg::after {
    opacity: 1 !important;
}

.service-icon {
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1) !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1)) !important;
}

.service-card:hover .service-icon {
    transform: scale(1.05) !important;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15)) !important;
}

.service-card h4 {
    color: #000000 !important;
    margin-bottom: 1rem !important;
    font-weight: 700 !important;
    font-size: 1.3rem !important;
    transition: color 0.3s ease !important;
}

.service-card:hover h4 {
    color: #000000 !important;
}

.service-card p {
    color: #6b7280 !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
    font-size: 0.95rem !important;
    transition: color 0.3s ease !important;
}

.service-features {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.service-features .badge {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0.75rem !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
    border: 1px solid transparent !important;
}

.service-features .badge:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Service card responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1rem !important;
    }
    
    .service-icon-bg {
        width: 70px !important;
        height: 70px !important;
    }
    
    .service-card h4 {
        font-size: 1.2rem !important;
    }
    
    .service-features .badge {
        font-size: 0.7rem !important;
        padding: 0.4rem 0.6rem !important;
    }
}

@media (max-width: 576px) {
    .service-card {
        padding: 1.5rem !important;
    }
    
    .service-icon-bg {
        width: 60px !important;
        height: 60px !important;
    }
    
    .service-card h4 {
        font-size: 1.1rem !important;
    }
}

/* Community Leadership Section Styling */
.leadership-content h3 {
    color: #000000 !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-bottom: 2rem !important;
}

.benefit-item {
    transition: all 0.3s ease !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
}

.benefit-item:hover {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.benefit-icon {
    flex-shrink: 0 !important;
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.benefit-item h5 {
    color: #000000 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.benefit-item p {
    color: #6b7280 !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
}

/* Leadership CTA Box */
.leadership-cta {
    border-left: 4px solid #000000 !important;
    transition: all 0.3s ease !important;
}

.leadership-cta:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

.leadership-cta h4 {
    color: #000000 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

.leadership-cta p {
    color: #6b7280 !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

.leadership-cta ul li {
    color: #6b7280 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
}

.leadership-cta ul li i {
    color: #28a745 !important;
    margin-right: 0.75rem !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
}

/* Requirements Box */
.requirements-box {
    background: #f8f9fa !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.requirements-box h6 {
    color: #000000 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

.requirements-box ul li {
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
}

.requirements-box ul li i {
    color: #000000 !important;
    margin-right: 0.5rem !important;
    font-size: 0.9rem !important;
    flex-shrink: 0 !important;
}

.requirements-box ul li:last-child {
    margin-bottom: 0 !important;
}

/* Leadership Section Responsive */
@media (max-width: 992px) {
    .leadership-content h3 {
        font-size: 1.8rem !important;
        text-align: center !important;
    }
    
    .benefit-item {
        text-align: center !important;
        flex-direction: column !important;
    }
    
    .benefit-icon {
        margin: 0 auto 1rem !important;
    }
}

@media (max-width: 768px) {
    .leadership-content h3 {
        font-size: 1.6rem !important;
    }
    
    .benefit-item {
        padding: 0.75rem !important;
    }
    
    .benefit-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .benefit-item h5 {
        font-size: 1rem !important;
    }
    
    .benefit-item p {
        font-size: 0.9rem !important;
    }
    
    .leadership-cta {
        padding: 2rem !important;
    }
    
    .leadership-cta h4 {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 576px) {
    .leadership-content h3 {
        font-size: 1.4rem !important;
    }
    
    .benefit-item {
        padding: 0.5rem !important;
    }
    
    .benefit-icon {
        width: 45px !important;
        height: 45px !important;
    }
    
    .benefit-item h5 {
        font-size: 0.95rem !important;
    }
    
    .benefit-item p {
        font-size: 0.85rem !important;
    }
    
    .leadership-cta {
        padding: 1.5rem !important;
    }
    
    .leadership-cta h4 {
        font-size: 1.2rem !important;
    }
    
    .requirements-box {
        padding: 1rem !important;
    }
}

/* Development Partners & Associations Section Styling */
.partners-category h3 {
    color: #000000 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 0.5rem !important;
}

.partner-item {
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.partner-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.partner-logo-img {
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    padding: 8px !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.partner-item:hover .partner-logo-img {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
}

.partner-info h5 {
    color: #000000 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.25rem !important;
}

.partner-info p {
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
}

.partner-info .badge {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    padding: 0.25rem 0.5rem !important;
}

/* Partnership Benefits */
.partnership-benefits {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.partnership-benefits:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

.partnership-benefits h4 {
    color: #000000 !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
}

.benefit-card {
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
}

.benefit-card:hover {
    transform: translateY(-3px) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.benefit-card i {
    transition: all 0.3s ease !important;
}

.benefit-card:hover i {
    transform: scale(1.1) !important;
}

.benefit-card h6 {
    color: #000000 !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
}

.benefit-card p {
    color: #6b7280 !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
}

/* Partners Section Responsive */
@media (max-width: 992px) {
    .partners-category h3 {
        font-size: 1.3rem !important;
        text-align: center !important;
    }
    
    .partner-item {
        text-align: center !important;
        flex-direction: column !important;
    }
    
    .partner-logo {
        margin: 0 auto 1rem !important;
    }
    
    .partner-info {
        text-align: center !important;
    }
}

@media (max-width: 768px) {
    .partners-category h3 {
        font-size: 1.2rem !important;
    }
    
    .partner-item {
        padding: 1rem !important;
    }
    
    .partner-logo-img {
        width: 50px !important;
        height: 50px !important;
    }
    
    .partner-info h5 {
        font-size: 1rem !important;
    }
    
    .partner-info p {
        font-size: 0.85rem !important;
    }
    
    .partnership-benefits {
        padding: 2rem !important;
    }
    
    .partnership-benefits h4 {
        font-size: 1.2rem !important;
    }
    
    .benefit-card {
        padding: 1rem !important;
    }
}

@media (max-width: 576px) {
    .partners-category h3 {
        font-size: 1.1rem !important;
    }
    
    .partner-item {
        padding: 0.75rem !important;
    }
    
    .partner-logo-img {
        width: 45px !important;
        height: 45px !important;
    }
    
    .partner-info h5 {
        font-size: 0.95rem !important;
    }
    
    .partner-info p {
        font-size: 0.8rem !important;
    }
    
    .partnership-benefits {
        padding: 1.5rem !important;
    }
    
    .partnership-benefits h4 {
        font-size: 1.1rem !important;
    }
    
    .benefit-card {
        padding: 0.75rem !important;
    }
    
    .benefit-card h6 {
        font-size: 0.9rem !important;
    }
    
    .benefit-card p {
        font-size: 0.8rem !important;
    }
}

/* Section Headers - ensure visibility with !important */
section h2 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin-bottom: 1rem !important;
    text-align: center !important;
}

section .text-muted {
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    color: #6b7280 !important;
    text-align: center !important;
}

/* App Screenshots Section - ensure visibility */
.screenshot-carousel {
    background: var(--white-color) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
}

.screenshot-item {
    text-align: center !important;
    padding: 0 20px !important;
}

.screenshot-carousel img {
    border-radius: 15px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    max-width: 280px !important;
    height: auto !important;
    margin: 0 auto !important;
    display: block !important;
    border: 6px solid #1a1a1a !important;
}

.screenshot-carousel img:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

.screenshot-caption {
    margin-top: 1rem !important;
    padding: 1rem !important;
    background: var(--light-color) !important;
    border-radius: 8px !important;
    border-left: 4px solid #000000 !important;
}

.screenshot-caption h5 {
    color: #000000 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    font-weight: 600 !important;
}

.screenshot-caption p {
    color: #6b7280 !important;
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
    line-height: 1.4 !important;
}

/* App Screenshots Section Header - ensure visibility */
#app-screenshots h2,
#app-screenshots .display-5,
#app-screenshots .fw-bold {
    color: #000000 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

#app-screenshots .text-muted {
    color: #6b7280 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Force visibility for App Screenshots section */
.bg-light h2,
.bg-light .display-5,
.bg-light .fw-bold {
    color: #000000 !important;
}

.bg-light .text-muted {
    color: #6b7280 !important;
}

.bg-light .lead {
    color: #6b7280 !important;
}

/* Minimal Navigation */
.owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
}

.owl-nav button {
    background: #000000 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.2rem !important;
    transition: all 0.3s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--sky-shadow);
}

.owl-nav button.owl-prev {
    left: -20px;
}

.owl-nav button.owl-next {
    right: -20px;
}

.owl-nav button:hover {
    background: #111111 !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Dots */
.owl-dots {
    margin-top: 1.5rem;
    text-align: center;
}

.owl-dots button {
    background: #e5e7eb !important;
    border-radius: 50% !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px !important;
    transition: all 0.3s ease;
}

.owl-dots button.active {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Footer - white background, black text */
footer {
    background: var(--white-color) !important;
    color: var(--text-dark);
    border-top: 1px solid #e5e7eb;
}

footer h5 { 
    color: var(--text-dark) !important; 
    -webkit-text-fill-color: initial; 
    background: none; 
    font-weight: 600;
    margin-bottom: 1rem;
}

footer h6 { 
    color: var(--text-dark) !important; 
}

footer a { 
    color: var(--text-dark) !important; 
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

footer a:hover { 
    color: #111111 !important; 
    text-decoration: underline; 
    background: none; 
    -webkit-text-fill-color: initial; 
}

footer hr { 
    border-color: rgba(0, 0, 0, 0.1); 
}

footer .text-center p { 
    color: rgba(0, 0, 0, 0.8); 
    font-size: 0.9rem;
    font-weight: 400;
}

footer .form-select {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: var(--text-dark);
}

footer .form-select:focus { 
    border-color: #111111; 
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1); 
}

footer .form-select option { 
    background: #ffffff; 
    color: var(--text-dark); 
}

/* Footer Language Selector */
footer .form-select {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--white-color);
    color: var(--white-color);
    border-radius: 6px;
    font-weight: 500;
    transition: var(--transition);
}

footer .form-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
    outline: none;
}

footer .form-select option {
    background: var(--dark-color);
    color: var(--white-color);
}

/* Footer Language Header */
footer h6 {
    color: var(--white-color) !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Language Toggle Switcher */
.language-toggle {
    display: inline-flex;
    background: var(--soft-sky);
    border-radius: 25px;
    padding: 4px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 120px;
    margin: 0 auto;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    min-width: 50px;
}

.lang-btn.active { background: #000000; color: #ffffff !important; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.lang-btn:hover:not(.active) { background: rgba(0,0,0,0.06); color: #000000 !important; }

.lang-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.3);
}

/* Responsive adjustments for language toggle */
@media (max-width: 768px) {
    .language-toggle {
        max-width: 100px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 40px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .language-selector {
        top: 10px;
        right: 10px;
    }
    
    .feature-card .card-body {
        padding: 1.5rem;
    }
    
    .screenshot-carousel {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1200px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .hero-section .lead {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero-section h1 {
        font-size: 2.8rem;
    }
    
    .hero-section .lead {
        font-size: 1.15rem;
    }
    
    section h2 {
        font-size: 2.2rem;
    }
    
    .feature-card .card-body {
        padding: 2rem 1.5rem;
    }
    
    .screenshot-carousel {
        padding: 1.5rem;
    }
    
    .screenshot-carousel img {
        max-width: 250px;
    }
    
    .review-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .btn-lg {
        padding: 12px 20px;
        font-size: 0.95rem;
        min-width: 180px;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    section h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    section .text-muted {
        font-size: 1rem;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .feature-card .card-body {
        padding: 1.5rem;
    }
    
    .feature-card i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .screenshot-carousel {
        padding: 1rem;
        margin: 0 -10px;
    }
    
    .screenshot-carousel img {
        max-width: 220px;
        border-width: 4px;
    }
    
    .screenshot-caption {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
    
    .screenshot-caption h5 {
        font-size: 1rem;
    }
    
    .screenshot-caption p {
        font-size: 0.85rem;
    }
    
    .review-card {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .review-header {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
    
    .reviewer-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    .reviewer-details h5 {
        font-size: 0.95rem;
    }
    
    .reviewer-location {
        font-size: 0.8rem;
    }
    
    .review-content p {
        font-size: 0.9rem;
    }
    
    .review-footer {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .form-control, .form-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .language-toggle {
        max-width: 100px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        min-width: 40px;
    }
    
    footer {
        text-align: center;
    }
    
    footer .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    footer .text-md-end {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-lg {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-width: 160px;
        width: 100%;
        max-width: 250px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    section .text-muted {
        font-size: 0.95rem;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .feature-card .card-body {
        padding: 1.25rem;
    }
    
    .feature-card i {
        font-size: 2rem;
    }
    
    .feature-card h4 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.9rem;
    }
    
    .screenshot-carousel {
        padding: 0.75rem;
        margin: 0 -5px;
    }
    
    .screenshot-carousel img {
        max-width: 200px;
        border-width: 3px;
    }
    
    .screenshot-caption {
        margin-top: 0.5rem;
        padding: 0.5rem;
    }
    
    .screenshot-caption h5 {
        font-size: 0.9rem;
    }
    
    .screenshot-caption p {
        font-size: 0.8rem;
    }
    
    .review-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .reviewer-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .reviewer-details h5 {
        font-size: 0.9rem;
    }
    
    .reviewer-location {
        font-size: 0.75rem;
    }
    
    .review-content p {
        font-size: 0.85rem;
    }
    
    .review-rating i {
        font-size: 0.8rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .lead {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .form-control, .form-select {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn {
        font-size: 0.85rem;
        padding: 0.45rem 0.9rem;
    }
    
    .btn-lg {
        padding: 0.6rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .language-toggle {
        max-width: 90px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        min-width: 35px;
    }
    
    footer {
        padding: 2rem 0;
    }
    
    footer h5 {
        font-size: 1.1rem;
    }
    
    footer p {
        font-size: 0.9rem;
    }
    
    footer a {
        font-size: 0.9rem;
        margin: 0 0.5rem;
    }
    
    .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .owl-nav button.owl-prev {
        left: -15px;
    }
    
    .owl-nav button.owl-next {
        right: -15px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.6rem;
    }
    
    .hero-section .lead {
        font-size: 0.95rem;
    }
    
    .btn-lg {
        padding: 8px 14px;
        font-size: 0.85rem;
        min-width: 140px;
    }
    
    section h2 {
        font-size: 1.6rem;
    }
    
    .feature-card .card-body {
        padding: 1rem;
    }
    
    .screenshot-carousel img {
        max-width: 180px;
    }
    
    .review-card {
        padding: 0.75rem;
    }
    
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .language-toggle {
        max-width: 80px;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
        min-width: 30px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 40vh;
        padding: 1rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-size: 200% 200%;
    }
    
    .feature-card i {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Print styles */
@media print {
    .scroll-to-top,
    .language-toggle,
    .navbar-toggler,
    .btn {
        display: none !important;
    }
    
    .hero-section {
        background: #0ea5e9 !important;
        color: #000 !important;
    }
    
    .page-header {
        background: #0ea5e9 !important;
        color: #000 !important;
    }
    
    footer {
        background: #f8f9fa !important;
        color: #000 !important;
    }
}

/* Utility Classes override for white primary */
.text-primary { color: var(--text-dark) !important; }
.bg-primary { background-color: var(--white-color) !important; }
.border-primary { border-color: #e5e7eb !important; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Focus States for Accessibility */
.btn:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 106, 78, 0.25);
    outline: none;
} 

/* Page Headers */
.page-header {
    background: var(--gradient-primary) !important;
    position: relative;
    overflow: hidden;
}

.page-header::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 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 700;
}

.page-header .lead {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    font-weight: 400;
}

/* Enhanced Card Styling */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: var(--transition);
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.card-body {
    padding: 2rem;
}

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

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 106, 78, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Alert Styling */
.alert {
    border: none;
    border-radius: 10px;
    border-left: 4px solid;
}

.alert-info {
    background: rgba(13, 202, 240, 0.1);
    border-left-color: #0dcaf0;
    color: #055160;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
    color: #664d03;
}

/* Social Media Buttons */
.btn-outline-primary {
    border: 2px solid #000000;
    color: #000000 !important;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: #000000;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
} 

/* Responsive Carousel Navigation */
@media (max-width: 768px) {
    .owl-nav button {
        width: 45px !important;
        height: 45px !important;
        font-size: 1.3rem !important;
    }
    
    .owl-nav button.owl-prev {
        left: -20px;
    }
    
    .owl-nav button.owl-next {
        right: -20px;
    }
}

@media (max-width: 576px) {
    .owl-nav button {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.1rem !important;
    }
    
    .owl-nav button.owl-prev {
        left: -15px;
    }
    
    .owl-nav button.owl-next {
        right: -15px;
    }
    
    .screenshot-carousel {
        padding: 1.5rem;
    }
} 

/* Enhanced Mobile Carousel Controls */
@media (max-width: 480px) {
    .owl-nav button {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
    }
    
    .owl-nav button.owl-prev {
        left: -10px;
    }
    
    .owl-nav button.owl-next {
        right: -10px;
    }
    
    .owl-dots {
        margin-top: 1rem;
    }
    
    .owl-dots button {
        width: 8px !important;
        height: 8px !important;
        margin: 0 3px !important;
    }
}

/* Touch-friendly carousel controls for mobile */
@media (hover: none) and (pointer: coarse) {
    .owl-nav button {
        min-width: 44px;
        min-height: 44px;
    }
    
    .owl-nav button:hover {
        transform: none;
    }
    
    .owl-nav button:active {
        transform: scale(0.95);
    }
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn, .form-control, .form-select {
        min-height: 44px;
    }
    
    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better spacing for mobile */
    .row.g-4 > [class*="col-"] {
        margin-bottom: 1.5rem;
    }
    
    .row.g-4 > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    
    /* Improve mobile navigation */
    .navbar-collapse {
        /* Remove conflicting styles that interfere with toggle */
        background: transparent;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
    }
    
    /* Ensure navbar is properly hidden by default on mobile */
    .navbar-collapse:not(.show) {
        display: none !important;
    }
    
    /* Style for when navbar is expanded on mobile */
    .navbar-collapse.show {
        display: block !important;
        background: var(--white-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    /* Better mobile form layout */
    .form-row .col-md-6 {
        margin-bottom: 1rem;
    }
    
    /* Improve mobile card spacing */
    .card {
        margin-bottom: 1.5rem;
    }
    
    /* Better mobile button groups */
    .btn-group .btn {
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn:last-child {
        margin-bottom: 0;
    }
}

/* Mobile-first improvements for very small screens */
@media (max-width: 375px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .hero-section .lead {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 120px;
    }
    
    section h2 {
        font-size: 1.5rem;
    }
    
    .feature-card .card-body {
        padding: 0.75rem;
    }
    
    .screenshot-carousel img {
        max-width: 160px;
    }
    
    .review-card {
        padding: 0.5rem;
    }
    
    .language-toggle {
        max-width: 70px;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 0.65rem;
        min-width: 25px;
    }
}

/* Improve mobile performance */
@media (max-width: 768px) {
    /* Reduce animations on mobile for better performance */
    .feature-card:hover {
        transform: translateY(-5px);
    }
    
    .review-card:hover {
        transform: translateY(-3px);
    }
    
    /* Optimize shadows for mobile */
    .card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }
    
    .feature-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .review-card:hover {
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
}

/* Mobile accessibility improvements */
@media (max-width: 768px) {
    /* Ensure sufficient contrast on mobile */
    .text-muted {
        color: #6c757d !important;
    }
    
    /* Improve focus states for mobile */
    .btn:focus,
    .form-control:focus,
    .form-select:focus {
        box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
    }
    
    /* Better mobile navigation focus */
    .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 4px;
    }
}

/* User Reviews Section - ensure visibility */
.review-card {
    background: var(--white-color) !important;
    border-radius: 15px !important;
    padding: 1.5rem !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    height: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

.review-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 4px !important;
    background: linear-gradient(135deg, #ffffff, #f8f9fa) !important;
}

.review-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(0, 0, 0, 0.3) !important;
}

.review-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    margin-bottom: 1rem !important;
}

.reviewer-info {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.reviewer-avatar {
    width: 50px !important;
    height: 50px !important;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #000000 !important;
    font-size: 1.5rem !important;
    border: 2px solid #000000 !important;
}

.reviewer-details h5 {
    margin: 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #000000 !important;
}

.reviewer-location {
    margin: 0 !important;
    font-size: 0.85rem !important;
    color: #6b7280 !important;
}

.review-rating {
    display: flex !important;
    gap: 2px !important;
}

.review-rating i {
    color: #fbbf24 !important;
    font-size: 0.9rem !important;
}

.review-content {
    margin-bottom: 1rem !important;
}

.review-content p {
    color: #000000 !important;
    line-height: 1.6 !important;
    font-style: italic !important;
    margin: 0 !important;
    font-size: 0.95rem !important;
}

.review-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 1rem !important;
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.review-category {
    background: #f8f9fa !important;
    color: #000000 !important;
    padding: 0.25rem 0.75rem !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
}

.review-date {
    color: #6b7280 !important;
    font-size: 0.8rem !important;
}

/* Reviews Section Header - ensure visibility */
#reviews h2,
#reviews .display-5,
#reviews .fw-bold {
    color: #000000 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

#reviews .text-muted {
    color: #6b7280 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

/* Force visibility for Reviews section */
.review-card h5,
.review-card .fw-bold {
    color: #000000 !important;
}

.review-card p {
    color: #000000 !important;
}

.review-card .reviewer-location {
    color: #6b7280 !important;
}

.review-card .review-date {
    color: #6b7280 !important;
}

/* View All Reviews Button - ensure visibility */
.btn-outline-primary {
    border: 2px solid #000000 !important;
    color: #000000 !important;
    transition: var(--transition) !important;
}

.btn-outline-primary:hover {
    background: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000000;
    border: none;
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #111111;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.scroll-to-top:active {
    transform: translateY(0);
}

.scroll-to-top:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.25);
}

/* Responsive adjustments for scroll to top button */
@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
} 

/* Statistics Section */
.stat-item {
    padding: 2rem 1rem;
    transition: var(--transition);
}

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

.stat-item i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #000000 !important;
}

.stat-item p {
    color: #6b7280 !important;
    font-size: 1rem;
    font-weight: 500;
}

/* Call to Action Section - dark background for contrast */
.bg-primary { 
    background: #000000 !important; 
    color: #ffffff !important;
}

.bg-primary .btn-light {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
    font-weight: 600;
}

.bg-primary .btn-light:hover {
    background: #f8f9fa !important;
    border-color: #f8f9fa !important;
    color: #000000 !important;
}

.bg-primary .btn-outline-light {
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
}

.bg-primary .btn-outline-light:hover {
    background: #ffffff !important;
    color: #000000 !important;
}

/* Enhanced Footer */
.footer-brand img {
    transition: var(--transition);
}

.footer-brand:hover img {
    transform: scale(1.05);
}

.social-links a {
    transition: var(--transition);
    opacity: 0.8;
}

.social-links a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-brand h5 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    line-height: 1.6;
}

.newsletter .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white-color);
}

.newsletter .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 233, 0.25);
}

.newsletter .btn {
    background: #000000;
    border-color: #000000;
    color: #ffffff !important;
    font-weight: 600;
}

.newsletter .btn:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff !important;
}

/* Enhanced Language Toggle */
.language-toggle {
    display: inline-flex;
    background: var(--soft-sky);
    border-radius: 25px;
    padding: 4px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 140px;
    margin: 0 auto;
}

.lang-btn {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    min-width: 60px;
}

.lang-btn.active { background: #000000; color: #ffffff !important; box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.lang-btn:hover:not(.active) { background: rgba(0,0,0,0.06); color: #000000 !important; }

.lang-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.3);
} 

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--white-color);
    border-radius: 8px;
    box-shadow: var(--sky-shadow);
    padding: 5px;
}

.language-selector .form-select {
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    font-weight: 500;
}

/* Newsletter Button */
.newsletter .btn {
    background: #000000;
    border-color: #000000;
    color: #ffffff !important;
    font-weight: 600;
}

.newsletter .btn:hover {
    background: #111111;
    border-color: #111111;
    color: #ffffff !important;
} 

/* Additional Feature Section visibility fixes */
#features h2,
#features .display-5,
#features .fw-bold {
    color: #000000 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

#features .text-muted {
    color: #6b7280 !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
}

#features .feature-card * {
    color: inherit !important;
}

#features .feature-card h4,
#features .feature-card .fw-bold {
    color: #000000 !important;
}

#features .feature-card p {
    color: #6b7280 !important;
}

#features .feature-card ul li {
    color: #6b7280 !important;
}

#features .feature-card ul li i.fa-check {
    color: #28a745 !important;
}

/* Force visibility for all text elements */
.text-dark {
    color: #000000 !important;
}

.text-muted {
    color: #6b7280 !important;
}

/* Override any conflicting Bootstrap classes */
.bg-white .text-primary,
.bg-white .text-muted,
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white h5,
.bg-white h6 {
    color: #000000 !important;
}

.bg-white p,
.bg-white .lead {
    color: #6b7280 !important;
} 

/* Facebook Community Groups Section Styling */
.division-card {
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.division-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-2px) !important;
}

.division-header {
    background: #f8f9fa !important;
    padding: 1.5rem !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.division-header:hover {
    background: #e9ecef !important;
}

.division-header h3 {
    color: #000000 !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
}

.division-header i.fa-map-marker-alt {
    font-size: 1.2rem !important;
}

.collapse-icon {
    color: #6b7280 !important;
    font-size: 1.1rem !important;
    transition: transform 0.3s ease !important;
}

.division-header[aria-expanded="true"] .collapse-icon {
    transform: rotate(180deg) !important;
    color: #000000 !important;
}

.division-content {
    padding: 1.5rem !important;
    background: #ffffff !important;
}

.district-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 0.75rem !important;
}

.district-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    background: #f8f9fa !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 8px !important;
    color: #000000 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 500 !important;
}

.district-item:hover {
    background: #e9ecef !important;
    border-color: rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    color: #000000 !important;
    text-decoration: none !important;
}

.district-item i.fab.fa-facebook {
    font-size: 1.1rem !important;
    margin-right: 0.5rem !important;
    color: #1877f2 !important;
}

/* Division-specific colors */
.division-card:nth-child(1) .division-header i.fa-map-marker-alt {
    color: #3b82f6 !important; /* Blue for Barishal */
}

.division-card:nth-child(2) .division-header i.fa-map-marker-alt {
    color: #10b981 !important; /* Green for Chattogram */
}

.division-card:nth-child(3) .division-header i.fa-map-marker-alt {
    color: #f59e0b !important; /* Amber for Dhaka */
}

.division-card:nth-child(4) .division-header i.fa-map-marker-alt {
    color: #06b6d4 !important; /* Cyan for Khulna */
}

.division-card:nth-child(5) .division-header i.fa-map-marker-alt {
    color: #6b7280 !important; /* Gray for Mymensingh */
}

.division-card:nth-child(6) .division-header i.fa-map-marker-alt {
    color: #ef4444 !important; /* Red for Rajshahi */
}

.division-card:nth-child(7) .division-header i.fa-map-marker-alt {
    color: #000000 !important; /* Black for Rangpur */
}

.division-card:nth-child(8) .division-header i.fa-map-marker-alt {
    color: #10b981 !important; /* Green for Sylhet */
}

/* Community Groups Section Responsive */
@media (max-width: 992px) {
    .division-header h3 {
        font-size: 1.2rem !important;
    }
    
    .district-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
        gap: 0.5rem !important;
    }
    
    .district-item {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 768px) {
    .division-header {
        padding: 1.25rem !important;
    }
    
    .division-header h3 {
        font-size: 1.1rem !important;
    }
    
    .division-content {
        padding: 1.25rem !important;
    }
    
    .district-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    
    .district-item {
        padding: 0.75rem 1rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 576px) {
    .division-header {
        padding: 1rem !important;
    }
    
    .division-header h3 {
        font-size: 1rem !important;
    }
    
    .division-content {
        padding: 1rem !important;
    }
    
    .district-item {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .collapse-icon {
        font-size: 1rem !important;
    }
}

/* Section Headers - ensure visibility with !important */

/* Mobile navbar toggler styles */
@media (max-width: 991px) {
    .navbar-toggler {
        display: block !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 0.25rem 0.5rem;
        background: transparent;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    /* Completely override Bootstrap's navbar collapse behavior on mobile */
    .navbar-collapse,
    .navbar-collapse.collapse,
    .navbar-collapse.collapsing {
        display: none !important;
        height: auto !important;
        overflow: visible !important;
        transition: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }
    
    /* Custom mobile navbar class */
    .navbar-collapse-mobile {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white-color);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 1rem;
        z-index: 1000;
        width: 100%;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Show mobile navbar when toggled */
    .navbar-collapse-mobile.show {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    /* Ensure proper spacing for mobile nav items */
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .navbar-nav .nav-item:last-child {
        margin-bottom: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 6px;
        transition: all 0.3s ease;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(0, 0, 0, 0.05);
    }
    
    /* Ensure navbar container is properly positioned */
    .navbar .container {
        position: relative;
    }
    
    /* Force navbar to be hidden by default on mobile */
    .navbar-collapse:not(.show):not(.navbar-collapse-mobile) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
    
    /* Ensure navbar is always visible on desktop */
    .navbar-collapse {
        display: flex !important;
        position: static;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        margin-top: 0;
        padding: 0;
        width: auto;
    }
    
    /* Ensure navbar brand is properly positioned on desktop */
    .navbar-brand {
        margin-right: 0;
    }
    
    /* Ensure nav items are properly aligned on desktop */
    .navbar-nav {
        flex-direction: row;
        align-items: center;
    }
    
    /* Hide mobile navbar class on desktop */
    .navbar-collapse-mobile {
        display: none !important;
    }
}