/* ==========================================================================
   JAMUNA UPAZILA DEMAND MOVEMENT - STYLESHEET
   Aesthetic Direction: "River Jamuna Palette" (Deep midnight blues, soft sands, 
   river teals, and high-demand coral highlights). 
   Zero generic templates. Meticulous craftsmanship.
   ========================================================================== */

/* --- Custom Variables & Theme --- */
:root {
    --bg-dark: #071220;           /* Tinted deep night river blue */
    --bg-light: #f8fafc;          /* Soft, pristine river sand */
    --bg-surface: #ffffff;        /* Pure white for components */
    --text-dark: #0f172a;         /* High-contrast slate for dark text */
    --text-light: #f1f5f9;        /* Warm off-white for light text */
    --text-muted: #64748b;        /* Elegant slate-gray for captions */
    
    --primary: #0284c7;           /* Sky/River Blue */
    --primary-hover: #0369a1;     /* Darker sky blue */
    --primary-glow: rgba(2, 132, 199, 0.35);
    
    --accent: #f43f5e;            /* Coral/Rose for urgent demand and high-contrast highlights */
    --accent-hover: #e11d48;
    --accent-glow: rgba(244, 63, 94, 0.3);
    
    --secondary: #0d9488;         /* River teal for geographic & ecological connection */
    --border-color: #e2e8f0;      /* Subtle border */
    
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-bengali: 'Hind Siliguri', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-elastic: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Apply Bengali font weights and styles globally when class is active */
body.lang-bn,
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3, body.lang-bn h4, body.lang-bn h5, body.lang-bn h6,
body.lang-bn p, body.lang-bn a, body.lang-bn span, body.lang-bn button, body.lang-bn input, body.lang-bn textarea {
    font-family: var(--font-bengali), var(--font-primary);
    letter-spacing: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

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

a:hover {
    color: var(--primary-hover);
}

ul {
    list-style: none;
}

img, svg {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

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

.small-container {
    max-width: 800px;
}

/* --- Utility Classes --- */
.hidden {
    display: none !important;
}

.opacity-80 {
    opacity: 0.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-elastic);
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-light);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: var(--text-light);
}

.btn-primary:active {
    transform: translateY(0) scale(1);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-muted);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: rgba(15, 23, 42, 0.05);
    border-color: var(--text-dark);
    transform: translateY(-4px);
}

.btn-full {
    width: 100%;
}

.btn-icon {
    flex-shrink: 0;
}

.btn-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
}

.btn-text-container small {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
}

.btn-text-container strong {
    font-size: 1.1rem;
    font-weight: 700;
}

/* --- Announcement Bar --- */
.announcement-bar {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 10px 24px;
    font-size: 0.9rem;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding-right: 24px; /* Space for close button */
}

.announcement-badge {
    background-color: var(--accent);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.announcement-text {
    font-weight: 500;
    text-align: center;
}

.announcement-link {
    color: var(--primary);
    font-weight: 700;
    margin-left: 6px;
    display: inline-block;
}

.announcement-link:hover {
    text-decoration: underline;
    color: var(--text-light);
}

.announcement-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.announcement-close:hover {
    opacity: 1;
}

/* --- Navigation Header --- */
.main-header {
    background-color: rgba(248, 250, 252, 0.85); /* Matches --bg-light */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
}

.logo-svg {
    color: var(--primary);
    transition: var(--transition-elastic);
}

.logo:hover .logo-svg {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 30px;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
    background-color: rgba(2, 132, 199, 0.08);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle-btn {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: var(--transition-smooth);
}

.lang-toggle-btn:hover {
    border-color: var(--primary);
    background-color: rgba(2, 132, 199, 0.04);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
}

.mobile-menu-btn .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-dark);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    padding: 80px 0 100px 0;
    background-color: var(--bg-light);
    overflow: hidden;
}

.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.floating-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background-color: var(--primary);
    top: -100px;
    right: -50px;
    animation: floatBlob 12s ease-in-out infinite alternate;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background-color: var(--secondary);
    bottom: -50px;
    left: -100px;
    animation: floatBlob 15s ease-in-out infinite alternate-reverse;
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.movement-badge {
    background-color: rgba(244, 63, 94, 0.08);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    border: 1px solid rgba(244, 63, 94, 0.15);
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 4px;
    width: 100%;
    height: 8px;
    background-color: rgba(2, 132, 199, 0.15);
    z-index: -1;
    border-radius: 4px;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    width: 100%;
    max-width: 580px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 4px;
}

.stat-border {
    width: 1px;
    height: 40px;
    background-color: var(--border-color);
}

/* --- Hero Phone Mockup --- */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-container {
    position: relative;
    width: 320px;
    perspective: 1000px;
}

.phone-frame {
    background-color: #0f172a;
    padding: 14px;
    border-radius: 46px;
    box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.35);
    border: 3px solid #334155;
    position: relative;
    z-index: 2;
    transform: rotateX(8deg) rotateY(-8deg) rotateZ(3deg);
    transition: var(--transition-elastic);
    transform-style: preserve-3d;
}

.phone-frame:hover {
    transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale(1.03) translateY(-8px);
}

.phone-screen {
    background-color: var(--bg-dark);
    border-radius: 36px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    display: flex;
    flex-direction: column;
    border: 1px solid #1e293b;
    color: var(--text-light);
}

.phone-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 0.7rem;
    font-weight: 600;
    background-color: rgba(7, 18, 32, 0.8);
    backdrop-filter: blur(4px);
    z-index: 10;
}

.phone-camera {
    width: 45px;
    height: 16px;
    background-color: #000;
    border-radius: 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

.app-ui {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 16px;
    overflow-y: auto;
    font-size: 0.8rem;
    background-color: #050d1a;
}

/* Hide scrollbars on simulated app UI */
.app-ui::-webkit-scrollbar {
    display: none;
}

.app-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 14px;
}

.app-logo {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
}

.app-menu-icon {
    font-size: 1rem;
    cursor: pointer;
}

.app-banner {
    background: linear-gradient(135deg, #0284c7 0%, #0d9488 100%);
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 14px;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.2);
}

.app-banner-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.app-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.app-progress-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px;
    border-radius: 16px;
    margin-bottom: 14px;
}

.app-progress-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.accent-text {
    color: var(--accent);
}

.app-progress-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.app-progress-fill {
    height: 100%;
    background-color: var(--accent);
    border-radius: 3px;
    transition: width 1.5s ease-in-out;
}

.app-progress-sub {
    font-size: 0.65rem;
    color: rgba(241, 245, 249, 0.7);
    line-height: 1.3;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

.app-grid-item {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.app-grid-item:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.grid-icon {
    font-size: 1.2rem;
}

.grid-text {
    font-size: 0.7rem;
    font-weight: 600;
}

.app-quote-card {
    background-color: rgba(13, 148, 136, 0.08);
    border-left: 3px solid var(--secondary);
    padding: 10px 12px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 14px;
}

.quote-text {
    font-size: 0.7rem;
    font-style: italic;
    color: rgba(241, 245, 249, 0.85);
    line-height: 1.4;
}

.app-cta-btn {
    background-color: var(--accent);
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    font-weight: 700;
    text-align: center;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
    cursor: pointer;
}

.mockup-shadow {
    position: absolute;
    bottom: -30px;
    left: 10%;
    width: 80%;
    height: 30px;
    background: radial-gradient(ellipse at center, rgba(15, 23, 42, 0.25) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* --- Section Formatting --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background-color: rgba(2, 132, 199, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 16px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 0 auto 24px auto;
    border-radius: 2px;
}

.accent-line.bg-white {
    background-color: var(--text-light);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* --- Geographics / About Section --- */
.about-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.about-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 36px 30px;
    border-radius: 24px;
    transition: var(--transition-elastic);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.05);
    background-color: var(--bg-surface);
}

.about-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    background-color: var(--bg-surface);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    border: 1px solid var(--border-color);
}

.about-card:hover .about-icon {
    background-color: rgba(2, 132, 199, 0.08);
    border-color: rgba(2, 132, 199, 0.2);
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.about-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Efforts Section --- */
.efforts-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.efforts-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.effort-item {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 32px;
    display: grid;
    grid-template-columns: 80px 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    transition: var(--transition-smooth);
}

.effort-item:hover {
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
    border-color: rgba(2, 132, 199, 0.15);
}

.effort-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(2, 132, 199, 0.15);
    line-height: 1;
}

.effort-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.effort-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    background-color: rgba(13, 148, 136, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.effort-title {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.effort-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.effort-visual-box {
    display: flex;
    justify-content: flex-end;
}

.decor-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 220px;
    text-align: center;
    transition: var(--transition-elastic);
}

.effort-item:hover .decor-box {
    transform: scale(1.05) translateY(-4px);
    background-color: var(--bg-surface);
}

.decor-box span {
    font-size: 2.2rem;
}

.decor-box small {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Reversed layouts */
.effort-item.reversed {
    grid-template-columns: 80px 1.2fr 0.8fr;
}

.effort-item.reversed .effort-content {
    order: 1;
}

.effort-item.reversed .effort-visual-box {
    order: 2;
    justify-content: flex-start;
}

/* --- History Section --- */
.history-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.history-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.section-header.white-text .section-title {
    color: var(--text-light);
}

.section-header.white-text .section-subtitle {
    color: rgba(241, 245, 249, 0.8);
}

.timeline-container {
    max-width: 800px;
    margin: 40px auto 0 auto;
    position: relative;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateX(-50%);
}

.timeline-event {
    position: relative;
    width: 50%;
    padding: 0 40px;
    margin-bottom: 40px;
}

/* Alternate Left and Right */
.timeline-event:nth-child(even) {
    left: 0;
    text-align: right;
}

.timeline-event:nth-child(odd) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 3px solid var(--bg-dark);
    top: 6px;
    z-index: 2;
    box-shadow: 0 0 12px var(--accent);
    transition: var(--transition-elastic);
}

.timeline-event:nth-child(even) .timeline-dot {
    right: -8px;
}

.timeline-event:nth-child(odd) .timeline-dot {
    left: -8px;
}

.timeline-event:hover .timeline-dot {
    transform: scale(1.4);
    background-color: var(--text-light);
}

.timeline-date {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.timeline-content-box {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px;
    border-radius: 18px;
    transition: var(--transition-smooth);
}

.timeline-event:hover .timeline-content-box {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.timeline-content-box h4 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.timeline-content-box p {
    font-size: 0.9rem;
    color: rgba(241, 245, 249, 0.75);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.faq-accordion-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover, .faq-item.active {
    border-color: var(--primary);
    background-color: var(--bg-surface);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-icon-arrow {
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: var(--transition-elastic);
    flex-shrink: 0;
}

.faq-item.active .faq-icon-arrow {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- App CTA Section --- */
.app-cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #070b14 100%);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.app-cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(to right, rgba(13, 148, 136, 0.15), rgba(2, 132, 199, 0.15));
    pointer-events: none;
}

.app-cta-container {
    position: relative;
    z-index: 1;
}

.app-cta-content {
    max-width: 750px;
    margin: 0 auto;
}

.app-cta-content h2 {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    margin-bottom: 20px;
    color: var(--text-light);
}

.app-cta-content p {
    font-size: 1.1rem;
    color: rgba(241, 245, 249, 0.8);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-info-panel h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info-panel p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 36px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.contact-method-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 20px 24px;
    border-radius: 16px;
    transition: var(--transition-smooth);
}

.contact-method-item:hover {
    border-color: var(--primary);
    transform: translateX(6px);
}

.method-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    background-color: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.03);
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-details strong {
    font-size: 0.95rem;
    color: var(--text-dark);
}

.method-details a, .method-details span {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Contact Form */
.contact-form-panel {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 28px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.03);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-dark);
}

.form-group input, .form-group textarea {
    font-family: var(--font-primary);
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

body.lang-bn .form-group input, 
body.lang-bn .form-group textarea {
    font-family: var(--font-bengali), var(--font-primary);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.feedback-msg {
    margin-top: 16px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: fadeIn 0.4s ease-out;
}

.feedback-icon {
    font-size: 1.1rem;
    font-weight: 800;
}

.success-msg {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.error-msg {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Spinner Icon */
.spinner {
    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;
    display: inline-block;
}

/* --- Privacy Page specific --- */
.page-banner {
    padding: 60px 0;
    background-color: var(--bg-dark);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}

.page-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: 12px;
    color: var(--text-light);
}

.page-subtitle {
    font-size: 1.05rem;
    color: rgba(241, 245, 249, 0.8);
}

.privacy-content-section {
    padding: 60px 0 100px 0;
}

.privacy-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.last-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 14px;
    margin-bottom: 30px;
}

.privacy-block {
    margin-bottom: 36px;
}

.privacy-block h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.privacy-block p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 14px;
}

.privacy-block ul {
    list-style-type: disc;
    padding-left: 24px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.privacy-block li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.contact-details-box {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-dark) !important;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand .logo {
    color: var(--text-light);
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links h4, .footer-app-link h4 {
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(241, 245, 249, 0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-app-link p {
    color: rgba(241, 245, 249, 0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.footer-play-btn {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.footer-play-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.5);
}

.dev-by a {
    color: rgba(241, 245, 249, 0.7);
    font-weight: 600;
}

.dev-by a:hover {
    color: var(--primary);
}

/* --- Floating Utilities --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

/* --- Animations --- */
@keyframes floatBlob {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

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

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    .hero-container {
        gap: 40px;
    }
    
    .footer-container {
        gap: 40px;
    }
}

@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
        padding-top: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .effort-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .effort-item.reversed {
        grid-template-columns: 1fr;
    }
    
    .effort-item.reversed .effort-content {
        order: unset;
    }
    
    .effort-item.reversed .effort-visual-box {
        order: unset;
        justify-content: center;
    }
    
    .effort-visual-box {
        justify-content: center;
    }
    
    .decor-box {
        max-width: 280px;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-event {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left !important;
    }
    
    .timeline-event:nth-child(odd) {
        left: 0;
    }
    
    .timeline-event:nth-child(even) .timeline-dot,
    .timeline-event:nth-child(odd) .timeline-dot {
        left: 12px;
        right: auto;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 12px 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--bg-surface);
        z-index: 1001;
        padding: 80px 30px;
        box-shadow: -10px 0 30px rgba(15, 23, 42, 0.1);
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 16px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        display: block;
        padding: 12px 20px;
    }
    
    .mobile-menu-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .mobile-menu-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-desc {
        max-width: 100%;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    
    .stat-border {
        width: 60px;
        height: 1px;
    }
    
    .contact-form-panel {
        padding: 24px;
    }
}
