/* ==========================================================================
   Global Color Scheme & Design Tokens
   ========================================================================== */
:root {
    --deep-green: #0f2e1e;
    --mid-green: #155a34;
    --light-green: #1b7242;
    --gold: #f2c94c;
    --gold-dark: #d9a520;
    --text-dark: #1f2937;
    --text-muted: #4b5563;
    --bg-card: #ffffff;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-sm: 0 4px 18px rgba(15, 46, 30, 0.06);
    --shadow-lg: 0 10px 30px rgba(15, 46, 30, 0.12);
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --ink: #ffffff;
    --ink-2: #f2c94c; /* Gold theme matching your branding */
    --ink-3: #1b7242; /* Light green accent */
}
/* ==========================================================================
   Tagline Heatmap Animation Effect
   ========================================================================== */

.fx-heatmap {
    font-weight: 700 !important;
    font-size: 1.5rem !important; /* Scaled down for long tagline compatibility */
    line-height: 1.3 !important;
    letter-spacing: .03em !important;
    color: transparent !important;
    display: inline-block !important;
    background: radial-gradient(circle at 20% 50%, #fff26d 0 8%, transparent 24%), radial-gradient(circle at 70% 40%, var(--ink-2) 0 12%, transparent 28%), radial-gradient(circle at 44% 78%, var(--ink-3) 0 14%, transparent 32%), linear-gradient(90deg, #155a34, #f2c94c, #d9a520, #1b7242) !important;
    background-size: 130% 130%, 150% 150%, 140% 140%, 260% 100% !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    animation: fx-heatmap 4s ease-in-out infinite alternate !important;
}

@keyframes fx-heatmap {
    0% {
        background-position: 0 0, 100% 20%, 40% 100%, 100% 0;
        filter: saturate(1);
    }

    100% {
        background-position: 100% 90%, 0 60%, 80% 0, -100% 0;
        filter: saturate(1.4);
    }
}
/* ---------- Section Background Gradients ---------- */
#about {
    /* Upgraded to a clean, modern light blue gradient style sheet path context */
    background: linear-gradient(to bottom, #f0f7ff 0%, #ffffff 100%) !important;
    padding: 70px 0 !important;
}

#timeline.alt {
    /* Rich, deep-green gradient matching your system palette structure */
    background: linear-gradient(135deg, #0f2e1e 0%, #155a34 100%) !important;
    padding: 80px 0 !important;
    color: #ffffff !important;
}

    /* Adjust timeline content text readability automatically when inside the dark gradient section */
    #timeline.alt .section-head h2 {
        color: #f2c94c !important; /* Gold headings */
    }

    #timeline.alt .section-head p {
        color: #faf9f5 !important;
        opacity: 0.9 !important;
    }

    #timeline.alt .tl-item .content h3 {
        color: #f2c94c !important;
    }

    #timeline.alt .tl-item .content p {
        color: #ffffff !important;
        opacity: 0.85 !important;
    }

    #timeline.alt .tl-item .dot {
        border-color: #0f2e1e !important; /* Matches dark background seamlessly */
    }


/* ---------- Global Component Sizing & Containers ---------- */
.wrap {
    width: 100% !important;
    max-width: 1152px !important; /* 6xl proportional break boundary grid */
    margin: 0 auto !important;
    padding: 0 24px !important;
}

.section-head {
    margin-bottom: 40px !important;
    max-width: 768px !important; /* Fixed broken 'max-w' keyword rule syntax syntax error */
}

    .section-head p {
        font-size: 16px !important;
        line-height: 1.7 !important;
        margin-top: 14px !important;
    }


/* ---------- Heading Typography (Kicker & H2) ---------- */
.kicker {
    display: inline-block !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 12px !important;
    padding: 4px 14px !important;
    border-radius: 6px !important;
}

#about .kicker {
    color: #155a34 !important; /* Rich Green color adaptation on light zones */
    background-color: rgba(21, 90, 52, 0.08) !important;
}

#timeline.alt .kicker {
    color: #f2c94c !important; /* Gold accent kicker layout style rule */
    background-color: rgba(242, 201, 76, 0.15) !important;
}

h2 {
    font-family: 'Noto Serif Bengali', serif !important;
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #0f2e1e !important; /* Deep Green core entity tone */
    margin: 0 !important;
}

@media (min-width: 768px) {
    h2 {
        font-size: 38px !important; /* Elegant upscaling step transformation for desktop viewports */
    }
}


/* ---------- About Section Grid & Statistics Layout ---------- */
.about-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    align-items: start !important;
}

    .about-grid p {
        color: #1a2233 !important;
        opacity: 0.85 !important;
        line-height: 1.7 !important;
    }

.stat-list {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
}

.stat {
    border-left: 4px solid #f2c94c !important;
    padding-left: 16px !important;
    background: transparent !important;
}

    .stat .n {
        font-family: 'Noto Serif Bengali', serif !important;
        font-size: 36px !important;
        font-weight: 700 !important;
        color: #0f2e1e !important;
        line-height: 1.2 !important;
    }

    .stat .l {
        font-size: 14px !important;
        color: #1a2233 !important;
        opacity: 0.8 !important;
    }

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1.2fr 0.8fr !important;
        gap: 56px !important;
    }
}


/* ---------- Timeline Component Layout Structure ---------- */
.timeline {
    position: relative !important;
    margin-top: 50px !important;
    padding-left: 30px !important;
}

    .timeline::before {
        content: "" !important;
        position: absolute !important;
        left: 8px !important;
        top: 10px !important;
        bottom: 10px !important;
        width: 2px !important;
        background: rgba(255, 255, 255, 0.2) !important; /* Soft transparent white line trace for dark background grid */
    }

.tl-item {
    position: relative !important;
    padding-bottom: 36px !important;
}

    .tl-item:last-child {
        padding-bottom: 0 !important;
    }

    .tl-item .year {
        font-family: 'Noto Serif Bengali', serif !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #f2c94c !important;
        display: inline-block !important;
        margin-bottom: 6px !important;
    }

    .tl-item .dot {
        position: absolute !important;
        left: -27px !important;
        top: 8px !important;
        width: 12px !important;
        height: 12px !important;
        border-radius: 50% !important;
        background: #f2c94c !important;
        border: 2px solid #0f2e1e !important; /* Matches background container frame seamlessly */
        box-shadow: 0 0 0 2px #f2c94c !important;
        z-index: 10 !important;
    }

    .tl-item .content {
        padding-left: 0 !important;
    }

        .tl-item .content h3 {
            font-size: 19px !important;
            font-weight: 700 !important;
            color: #f2c94c !important;
            margin: 0 0 6px 0 !important;
        }

        .tl-item .content p {
            color: #ffffff !important;
            opacity: 0.85 !important;
            margin: 0 !important;
            font-size: 15px !important;
            line-height: 1.6 !important;
        }

/* Desktop Multi-Column Timeline Calculations Alignment Hook */
@media (min-width: 768px) {
    .timeline {
        padding-left: 0 !important;
    }

        .timeline::before {
            left: 120px !important;
        }

    .tl-item {
        display: grid !important;
        grid-template-columns: 100px 1fr !important;
        gap: 40px !important;
        padding-bottom: 40px !important;
    }

        .tl-item .year {
            text-align: right !important;
            margin-bottom: 0 !important;
            font-size: 22px !important;
        }

        .tl-item .dot {
            left: 115px !important;
            top: 10px !important;
        }

        .tl-item .content {
            padding-left: 20px !important;
        }
}

/* ---------- Schedule (programme list) ---------- */
.programme {
    border-top: 1px solid var(--line);
}

.prog-day {
    border-bottom: 1px solid var(--line);
    padding: 28px 0;
}

    .prog-day h3 {
        color: var(--maroon);
        font-size: 20px;
        margin-bottom: 16px;
    }

.prog-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 20px;
    padding: 10px 0;
    border-top: 1px dashed var(--line);
}

    .prog-row:first-of-type {
        border-top: none;
    }

    .prog-row .time {
        color: var(--green);
        font-weight: 600;
        font-size: 14px;
    }

    .prog-row .what strong {
        display: block;
        font-size: 15px;
    }

    .prog-row .what span {
        font-size: 14px;
        color: var(--ink-soft);
    }
/* ==========================================================================
   Typography & Smooth Rendering
   ========================================================================== */
body {
    color: var(--text-dark);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Bengla/Serif Font Handling */
.font-serifbn {
    font-family: 'SolaimanLipi', 'Kalpurush', system-ui, -apple-system, sans-serif;
    letter-spacing: -0.01em;
}

/* ==========================================================================
   Enhanced Layout Components
   ========================================================================== */

/* Universal Card Design */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 46, 30, 0.05);
    transition: var(--transition-smooth);
}

/* Notice Cards Hover Effect */
section .grid .card {
    will-change: transform, box-shadow;
}

    section .grid .card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
        border-color: rgba(21, 90, 52, 0.15);
    }

/* Hero Glassmorphic Live Panel */
.bg-white\/10 {
    background-color: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Premium Interactive Buttons
   ========================================================================== */
<!--

/* CSS */
.btn-primary {
    padding: 0.6em 2em;
    border: none;
    outline: none;
    color: rgb(255, 255, 255);
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

    .btn-primary:before {
        content: "";
        background: linear-gradient( 45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000 );
        position: absolute;
        top: -2px;
        left: -2px;
        background-size: 400%;
        z-index: -1;
        filter: blur(5px);
        -webkit-filter: blur(5px);
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        animation: glowing-button-85 20s linear infinite;
        transition: opacity 0.3s ease-in-out;
        border-radius: 10px;
    }

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.btn-primary:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}

/* Secondary / Transparent Buttons */
/* From Uiverse.io by zjssun */
.btn-outline {
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 500;
    color: #f3de14;
    text-shadow: none;
    background: #0f2e1e
    cursor: pointer;
    box-shadow: transparent;
    border: 1px solid #ffffff80;
    transition: 0.5s ease;
    user-select: none;
}

.btn-outline:hover,
.btn-outline:focus {
    color: #ffffff;
    background: #008cff;
    border: 1px solid #008cff;
    text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 20px #ffffff;
    box-shadow: 0 0 5px #008cff, 0 0 20px #008cff, 0 0 50px #008cff, 0 0 100px #008cff;
}


    /* White background variant used for "Join Committee" */
    .btn-outline.bg-white {
        border: 2px solid var(--deep-green);
        color: var(--deep-green);
    }

        .btn-outline.bg-white:hover {
            background: var(--deep-green) !important;
            color: var(--gold) !important;
        }

    /* Border white variants used for "Check Status" / "Contact" */
    .btn-outline.border-white {
        border: 2px solid rgba(255, 255, 255, 0.6);
        color: #ffffff;
    }

        .btn-outline.border-white:hover {
            background: rgba(255, 255, 255, 0.15) !important;
            border-color: #ffffff;
            color: #ffffff !important;
        }

/* ==========================================================================
   Dynamic Visual Branding Elements (Enlarged Variant)
   ========================================================================== */

/* High-Priority Enlarged Badge Shield */
.badge-60 {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
    color: #ffffff !important;
    width: 280px !important; /* Explicitly forced larger size */
    height: 270px !important; /* Explicitly forced larger size */
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: column !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 2px 4px rgba(255, 255, 255, 0.4) !important;
    position: relative !important;
    border: 5px solid rgba(255, 255, 255, 0.15) !important;
    transition: var(--transition-smooth) !important;
}

    /* Force image inside to grow nicely */
    .badge-60 img {
        width: 95% !important; /* Scales exactly to the parent size */
        height: auto !important;
        object-fit: contain !important;
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15)) !important;
        transition: var(--transition-smooth) !important;
    }

/* ==========================================================================
   Animated Fluid Statistics Cards (Uiverse Adapted)
   ========================================================================== */
.stats-card {
    position: relative !important;
    width: 100% !important;
    height: 140px !important; /* Scaled down slightly from 160px to look proportional */
    border-radius: 14px !important;
    z-index: 10 !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 10px 30px rgba(15, 46, 30, 0.08) !important;
    background: rgba(15, 46, 30, 0.05) !important;
}


    /* Internal Inner Container Content Layer */
    .stats-card .card-inner {
        position: absolute !important;
        top: 5px !important;
        left: 5px !important;
        right: 5px !important;
        bottom: 5px !important;
        z-index: 3 !important; /* Keeps metrics text on top of the blob */
        background: rgba(255, 255, 255, 0.93) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border-radius: 10px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        outline: 2px solid white !important;
        padding: 1.5rem !important;
    }

    /* The Animated Glowing Blob Vector */
    /* Scaled down blob size for narrower cards */
    .stats-card .card-blob {
        position: absolute !important;
        z-index: 1 !important;
        top: 50% !important;
        left: 50% !important;
        width: 110px !important; /* Trimmed from 140px so it stays inside the borders */
        height: 110px !important;
        border-radius: 50% !important;
        background-color: var(--gold, #f2c94c) !important;
        opacity: 0.65 !important;
        filter: blur(16px) !important;
        animation: blob-bounce 6s infinite ease-in-out !important;
    }
    /* Second card variant blob to give visual distinction */
    .stats-card:nth-child(2) .card-blob {
        background-color: var(--light-green, #ff0000) !important;
        animation-delay: -3s !important; /* Desynchronizes animations */
    }

/* Fluid Animation Keyframes Matrix */
@keyframes blob-bounce {
    0% {
        transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }

    25% {
        transform: translate(-100%, -100%) translate3d(120%, 0, 0);
    }

    50% {
        transform: translate(-100%, -100%) translate3d(120%, 120%, 0);
    }

    75% {
        transform: translate(-100%, -100%) translate3d(0, 120%, 0);
    }

    100% {
        transform: translate(-100%, -100%) translate3d(0, 0, 0);
    }
}




/* ==========================================================================
   Strict Accessible Form Framework
   ========================================================================== */
input, select, textarea {
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    width: 100%;
    font-size: 1rem;
    background: #ffffff;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

    input:focus, select:focus, textarea:focus {
        outline: none;
        border-color: var(--mid-green);
        box-shadow: 0 0 0 4px rgba(21, 90, 52, 0.15);
    }

/* Error Validations */
.field-error {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.35rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   Print Optimization Engine
   ========================================================================== */
@media print {
    header, footer, .no-print, .btn-primary, .btn-outline {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
    }

    .card {
        box-shadow: none !important;
        border: 1px solid #e5e7eb !important;
        page-break-inside: avoid;
    }
}
