:root {
    --bg: #f4f7f5;
    --surface: #ffffff;
    --primary: #11543b;
    --primary-soft: #e9f4ef;
    --text: #1d2b24;
    --muted: #4c5a53;
    --border: #d6e4dc;
    --shadow: 0 10px 30px rgba(17, 84, 59, 0.12);
}

@font-face {
    font-family: "SolaimanLipi";
    src: url("../asset/fonts/SolaimanLipi.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

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

body {
    font-family: "SolaimanLipi", "Hind Siliguri", "Noto Sans Bengali", serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 8%, #dcefe6 0%, transparent 40%),
        radial-gradient(circle at 92% 15%, #e8f1ed 0%, transparent 35%),
        var(--bg);
    line-height: 1.65;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
    position: relative;
}

.hero {
    padding: 40px 0 32px;
    text-align: center;
    background: linear-gradient(135deg, #0f4632 0%, #1f6a4b 100%);
    color: #f5fffb;
}

.hero-top {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.logo {
    width: 86px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
}

h1 {
    margin-top: 8px;
    font-size: clamp(28px, 4.2vw, 42px);
    line-height: 1.25;
}

.header-title {
    margin: 0;
    text-align: center;
    font-size: clamp(24px, 3.2vw, 38px);
}

.header-tagline {
    margin: 4px 0 0;
    text-align: center;
    font-size: clamp(14px, 1.8vw, 18px);
    color: rgba(245, 255, 251, 0.85);
}

.hero-text {
    margin: 14px auto 0;
    max-width: 760px;
    font-size: clamp(16px, 2.1vw, 20px);
    color: rgba(245, 255, 251, 0.9);
}

/* News Ticker */
.news-ticker {
    display: flex;
    align-items: center;
    background: #1a3a2a;
    overflow: hidden;
    font-size: clamp(14px, 1.8vw, 17px);
    color: rgba(245, 255, 251, 0.95);
    border-bottom: 2px solid rgba(255,255,255,0.1);
}
.ticker-label {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 14px;
    font-weight: bold;
    white-space: nowrap;
}
.ticker-wrapper {
    flex: 1;
    overflow: hidden;
    padding: 8px 0;
}
.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 18s linear infinite;
    padding-left: 100%;
}
@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.hero .header-title,
.hero .hero-text {
    text-align: center;
}

.portal-btn {
    text-decoration: none;
    background: #ffffff;
    color: var(--primary);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    font-family: "SolaimanLipi", "Hind Siliguri", "Noto Sans Bengali", serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

main {
    padding: 34px 80px 0px 80px;
}

section {
    margin-bottom: 26px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px 14px;
    text-align: center;
}

.stat-card h3 {
    font-size: 26px;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

.stat-card p {
    color: var(--muted);
    font-size: 15px;
}

.stat-card.highlight {
    background: linear-gradient(145deg, #0f5a3e, #126a4a);
    border-color: #126a4a;
}

.stat-card.highlight h3,
.stat-card.highlight p {
    color: #f4fff9;
}

.two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.content-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow);
}

.content-card h2 {
    color: var(--primary);
    font-size: clamp(24px, 3vw, 30px);
    margin-bottom: 12px;
}

.content-card p {
    color: var(--muted);
}

.content-card ul {
    list-style: none;
}

.content-card ul li {
    margin: 8px 0;
    padding-left: 18px;
    position: relative;
}

.content-card ul li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2a8d64;
    position: absolute;
    left: 0;
    top: 11px;
}

.full-width {
    width: 100%;
}

.investment-carousel {
    position: relative;
    margin: 10px 0 14px;
    border-radius: 16px;
    overflow: hidden;
    background: #0f3d2e;
}

.carousel-track {
    min-height: 340px;
}

.carousel-slide {
    display: none;
    margin: 0;
    position: relative;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    min-height: 340px;
    max-height: 430px;
    object-fit: cover;
    display: block;
}

.carousel-slide figcaption {
    padding: 12px 14px 14px;
    font-size: 24px;
    color: var(--primary);
    background: #f6fffa;
    text-align: center;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #104532;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.carousel-btn.prev {
    left: 12px;
}

.carousel-btn.next {
    right: 12px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 10px 0 14px;
}

.dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.dot.active {
    background: #ffffff;
}

.note {
    font-size: 15px;
    color: var(--muted);
}

.pdf-card-section .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pdf-card {
    background: linear-gradient(135deg, #f9fffc, #ecf8f1);
    border: 1px solid #c7e2d4;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    white-space: nowrap;
}

.btn:hover {
    background: #0f4632;
}

.quote-section blockquote {
    background: #103f2f;
    color: #effaf4;
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    font-size: clamp(18px, 2.2vw, 24px);
    box-shadow: var(--shadow);
}

/* ── Footer ── */
.site-footer {
    background: linear-gradient(160deg, #0c3526 0%, #11543b 100%);
    color: #c8e6d8;
    padding: 56px 0 0;
    margin-top: 0px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand column */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-logo {
    height: 52px;
    width: 52px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    padding: 4px;
    mix-blend-mode: normal;
    flex-shrink: 0;
}

.footer-org-name {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.4;
}

.footer-tagline {
    font-size: 13px;
    color: #8ecfb0;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #a8d4bc;
    max-width: 320px;
}

/* Columns */
.footer-heading {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #5ecf94;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    text-decoration: none;
    color: #a8d4bc;
    font-size: 14px;
    transition: color 0.2s, padding-left 0.2s;
    display: inline-block;
}

.footer-links a:hover {
    color: #5ecf94;
    padding-left: 6px;
}

/* Contact list */
.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #a8d4bc;
    line-height: 1.6;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 3px;
    color: #5ecf94;
}

/* Bottom bar */
.footer-bottom {
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #7ab89a;
}

.footer-credit {
    font-style: italic;
    color: #5ecf94;
}

/* Footer responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 24px;
    }

    .hero-top {
        grid-template-columns: auto 1fr auto;
        gap: 10px;
    }

    .portal-btn {
        display: inline-block;
        padding: 8px 12px;
        font-size: 15px;
    }

    .logo {
        width: 64px;
    }

    .header-title {
        font-size: clamp(18px, 4vw, 24px);
    }

    .two-col,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .pdf-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .carousel-slide img {
        min-height: 250px;
    }

    .carousel-slide figcaption {
        font-size: 20px;
    }
}
