:root {
    --red: #d93632;
    --red-dark: #a91f2c;
    --red-light: #fee2e2;

    --blue: #0369a1;
    --blue-light: #e0f2fe;

    --text: #172033;
    --muted: #64748b;
    --white: #ffffff;
    --border: #e2e8f0;

    --shadow: 0 14px 35px rgba(30, 41, 59, 0.12);
}

/* =====================================================
   RESET AND GLOBAL
===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;

    color: var(--text);
    background:
        linear-gradient(
            135deg,
            #fff8df,
            #ffffff 48%,
            #ffe7df
        );

    font-family: "SolaimanLipi", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
}

button,
input,
textarea,
select {
    font-family: inherit;
}

.container {
    width: min(1220px, calc(100% - 24px));
    margin-right: auto;
    margin-left: auto;
}

.site-main {
    flex: 1;
    width: 100%;
}

/* =====================================================
   HEADER
===================================================== */

.site-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;
    height: auto;
    overflow: visible;
    visibility: visible;
    opacity: 1;
    isolation: isolate;
}

/* =====================================================
   TOP BANNER
===================================================== */

.top-banner {
    display: block;
    position: relative;

    width: 100%;
    height: auto;
    overflow: visible;

    color: var(--white);
    background:
        linear-gradient(
            120deg,
            var(--red-dark),
            var(--red) 55%,
            #f26a45
        );
}

.banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 105px;
    gap: 20px;
    padding: 11px 6px;
}

.banner-content {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
}

.eyebrow {
    display: inline-block;

    margin: 0;
    padding: 2px 9px;

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;

    color: var(--white);
    background: rgba(255, 255, 255, 0.16);

    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
}

.banner-inner h1 {
    display: block;

    margin: 4px 0 1px;

    color: var(--white);
    font-size: clamp(23px, 3vw, 33px);
    font-weight: 700;
    line-height: 1.18;
}

.banner-inner p {
    display: block;

    max-width: 720px;
    margin: 0;

    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.5;
}

.banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    color: var(--white);
    font-size: 54px;
    line-height: 1;
    opacity: 0.9;
}

/* =====================================================
   NAVIGATION
===================================================== */

.nav-wrap {
    display: block;
    position: relative;
    z-index: 1001;

    width: 100%;

    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.11);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    min-height: 45px;
    padding: 4px 0;
}

.main-menu {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: flex-start;

    gap: 1px;
    margin: 0;
    padding: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}

.main-menu::-webkit-scrollbar {
    display: none;
}

.main-menu a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;

    gap: 4px;
    padding: 7px;

    border-radius: 8px;

    color: #334155;
    text-decoration: none;
    white-space: nowrap;

    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.35;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.main-menu a i {
    flex: 0 0 auto;
    font-size: 11px;
}

.main-menu a:hover,
.main-menu a.active {
    color: var(--blue);
    background: var(--blue-light);
}

.main-menu a:focus-visible {
    outline: 3px solid rgba(3, 105, 161, 0.2);
    outline-offset: 1px;
}

/* =====================================================
   MOBILE MENU BUTTON
===================================================== */

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;
    width: 42px;
    height: 38px;
    padding: 0;

    border: 0;
    border-radius: 8px;

    color: var(--red-dark);
    background: var(--red-light);

    font-size: 18px;
    cursor: pointer;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.menu-toggle:hover {
    color: var(--white);
    background: var(--red);
}

.menu-toggle:focus-visible {
    outline: 3px solid rgba(217, 54, 50, 0.25);
    outline-offset: 2px;
}

/* =====================================================
   FOOTER
===================================================== */

.site-footer {
    width: 100%;
    margin-top: 34px;

    color: #dbe4f0;
    background: #172033;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;

    gap: 20px;
    padding: 22px 0;
}

.footer-column h3 {
    margin: 0 0 5px;

    color: var(--white);
    font-size: 16px;
    line-height: 1.35;
}

.footer-column p {
    margin: 2px 0;

    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.55;
}

.footer-column i {
    width: 17px;
    margin-right: 3px;
}

.footer-column a {
    color: var(--white);
    text-decoration: none;
}

.footer-column a:hover {
    color: #7dd3fc;
}

.copyright {
    padding: 8px 12px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    color: #cbd5e1;
    text-align: center;
    font-size: 12px;
}

/* =====================================================
   TABLET AND MOBILE NAVIGATION
===================================================== */

@media (max-width: 1000px) {
    .nav-inner {
        justify-content: flex-end;
        min-height: 48px;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-menu {
        display: none;
        position: absolute;

        top: calc(100% + 6px);
        right: 0;
        left: 0;
        z-index: 1200;

        flex-direction: column;
        align-items: stretch;

        max-height: 72vh;
        gap: 2px;
        padding: 9px;

        overflow-x: hidden;
        overflow-y: auto;

        border: 1px solid var(--border);
        border-radius: 13px;

        background: var(--white);
        box-shadow: var(--shadow);
    }

    .main-menu.show {
        display: flex;
    }

    .main-menu a {
        justify-content: flex-start;

        width: 100%;
        padding: 9px 11px;

        font-size: 13px;
    }

    .main-menu a i {
        width: 19px;
        font-size: 13px;
        text-align: center;
    }

    .banner-icon {
        font-size: 46px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* =====================================================
   MOBILE HEADER FIX
===================================================== */

@media (max-width: 700px) {
    /*
       মোবাইলে সম্পূর্ণ হেডার sticky রাখা হয়নি।
       এতে উপরের লাল ব্যানারটি কেটে যাওয়া বা লুকিয়ে যাওয়ার
       সমস্যা থাকবে না।
    */

    .site-header {
        display: block !important;
        position: relative !important;
        top: auto !important;
        z-index: 1000 !important;

        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;

        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .top-banner {
        display: block !important;
        position: relative !important;

        width: 100% !important;
        height: auto !important;
        min-height: 108px !important;
        max-height: none !important;

        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;

        background:
            linear-gradient(
                120deg,
                var(--red-dark),
                var(--red) 55%,
                #f26a45
            ) !important;
    }

    .banner-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;

        width: 100% !important;
        min-height: 108px !important;
        height: auto !important;

        gap: 11px !important;
        padding: 13px 2px !important;

        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .banner-content {
        display: block !important;
        flex: 1 1 auto !important;

        min-width: 0 !important;
        width: auto !important;

        overflow: visible !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .eyebrow {
        display: inline-block !important;

        margin: 0 0 2px !important;
        padding: 2px 7px !important;

        color: var(--white) !important;

        font-size: 10.5px !important;
        line-height: 1.4 !important;

        visibility: visible !important;
        opacity: 1 !important;
    }

    .banner-inner h1 {
        display: block !important;

        margin: 3px 0 2px !important;

        color: var(--white) !important;
        font-size: 22px !important;
        line-height: 1.22 !important;

        visibility: visible !important;
        opacity: 1 !important;
    }

    .banner-inner p {
        display: block !important;

        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;

        color: rgba(255, 255, 255, 0.92) !important;
        font-size: 12.5px !important;
        line-height: 1.4 !important;

        visibility: visible !important;
        opacity: 1 !important;
    }

    .banner-icon {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 48px !important;
        width: 48px !important;
        height: 48px !important;

        color: var(--white) !important;
        font-size: 35px !important;
        line-height: 1 !important;

        visibility: visible !important;
        opacity: 0.9 !important;
    }

    .nav-wrap {
        display: block !important;
        position: relative !important;
        z-index: 1100 !important;

        width: 100% !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .nav-inner {
        min-height: 46px;
        padding: 4px 0;
    }

    .main-menu {
        top: calc(100% + 5px);
        max-height: calc(100vh - 65px);
    }

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 14px;
        padding: 19px 0;

        text-align: center;
    }

    .footer-column h3 {
        font-size: 15px;
    }

    .footer-column p {
        font-size: 12.5px;
    }
}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
    .container {
        width: calc(100% - 20px);
    }

    .top-banner {
        min-height: 100px !important;
    }

    .banner-inner {
        align-items: center !important;

        min-height: 100px !important;
        gap: 8px !important;
        padding: 11px 0 !important;
    }

    .eyebrow {
        padding: 1px 6px !important;
        font-size: 9.5px !important;
    }

    .banner-inner h1 {
        font-size: 19px !important;
        line-height: 1.25 !important;
    }

    .banner-inner p {
        font-size: 11.5px !important;
        line-height: 1.35 !important;
    }

    .banner-icon {
        flex-basis: 40px !important;
        width: 40px !important;
        height: 40px !important;

        font-size: 29px !important;
    }

    .menu-toggle {
        width: 40px;
        height: 36px;

        font-size: 17px;
    }

    .main-menu {
        max-height: calc(100vh - 60px);
        padding: 7px;
    }

    .main-menu a {
        padding: 8px 10px;
        font-size: 12.5px;
    }
}