/* =========================================================
   R2R MISSION - MAIN STYLESHEET
   Light Blue + White Professional Theme
========================================================= */

:root {
    --r2r-blue: #3B82F6;
    --r2r-blue-dark: #2563EB;
    --r2r-blue-soft: #60A5FA;

    --r2r-navy: #1E3A5F;
    --r2r-sky: #EFF6FF;
    --r2r-sky-2: #EAF3FF;
    --r2r-soft: #F8FBFF;

    --r2r-border: #E2EAF5;

    --r2r-text: #334155;
    --r2r-muted: #718096;

    --r2r-white: #FFFFFF;

    --r2r-success: #16A34A;
    --r2r-whatsapp: #25D366;
}


/* =========================================================
   GLOBAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--r2r-text);
    background: #fff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.footer-brand span {
    font-family: 'Manrope', sans-serif;
    color: var(--r2r-navy);
    font-weight: 800;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1030;
    background: #fff;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: #EAF3FF;
    color: #52657D;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #DCEAFF;
}

.top-bar a {
    color: #42617F;
    margin-right: 24px;
    transition: .2s ease;
}

.top-bar a:hover {
    color: var(--r2r-blue-dark);
}

.top-message {
    letter-spacing: .2px;
    color: #60748C;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    background: rgba(255, 255, 255, .98);
    min-height: 78px;

    box-shadow:
        0 4px 22px rgba(59, 130, 246, .07);

    border-bottom: 1px solid #EDF3FA;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
}

.brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.brand-name {
    font-size: 26px;
    letter-spacing: -.6px;
    color: var(--r2r-navy);
}

.navbar .nav-link {
    position: relative;

    color: #52657D !important;

    font-weight: 600;
    font-size: 14px;

    padding: 29px 15px !important;

    transition:
        color .25s ease,
        background .25s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--r2r-blue-dark) !important;
}


/* Active underline */

.navbar .nav-link::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;
    bottom: 18px;

    height: 2px;

    border-radius: 10px;

    background: var(--r2r-blue);

    transform: scaleX(0);

    transition: transform .2s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   DONATE BUTTON
========================================================= */

.nav-donate {
    margin-left: 12px;

    border-radius: 10px !important;

    padding: 11px 20px !important;

    background: var(--r2r-blue) !important;
    border-color: var(--r2r-blue) !important;

    color: #fff !important;

    box-shadow:
        0 8px 20px rgba(59, 130, 246, .18);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.nav-donate:hover {
    background: var(--r2r-blue-dark) !important;
    border-color: var(--r2r-blue-dark) !important;

    color: #fff !important;

    transform: translateY(-2px);

    box-shadow:
        0 11px 25px rgba(59, 130, 246, .25);
}

.navbar-toggler {
    border: 1px solid var(--r2r-border);
    padding: 8px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 .15rem rgba(59, 130, 246, .12);
}


/* =========================================================
   BUTTONS
========================================================= */

.btn-primary {
    background: var(--r2r-blue) !important;
    border-color: var(--r2r-blue) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--r2r-blue-dark) !important;
    border-color: var(--r2r-blue-dark) !important;
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--r2r-blue-dark) !important;
    border-color: #8DB8F8 !important;
}

.btn-outline-primary:hover {
    color: #fff !important;
    background: var(--r2r-blue) !important;
    border-color: var(--r2r-blue) !important;
}

.text-primary {
    color: var(--r2r-blue) !important;
}

.bg-primary {
    background-color: var(--r2r-blue) !important;
}

.bg-secondary {
    background-color: var(--r2r-sky) !important;
}


/* =========================================================
   HERO
   DESKTOP DESIGN
   TEXT LEFT + IMAGE RIGHT
========================================================= */

.hero-r2r {
    position: relative;

    min-height: 540px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            110deg,
            #DCEBFF 0%,
            #C8DEFC 52%,
            #A9CBFA 100%
        );
}

.hero-r2r::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 75% 35%,
            rgba(255, 255, 255, .65),
            transparent 28%
        ),

        linear-gradient(
            90deg,
            rgba(255, 255, 255, .30) 0%,
            rgba(255, 255, 255, .08) 55%,
            rgba(255, 255, 255, 0) 100%
        );

    pointer-events: none;
}

.hero-r2r .container {
    position: relative;
    z-index: 5;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    width: 58%;
    max-width: 760px;

    padding: 85px 0 75px;

    position: relative;
    z-index: 5;
}

.hero-eyebrow {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: var(--r2r-blue-dark);

    border: 1px solid rgba(37, 99, 235, .15);

    background: rgba(255, 255, 255, .72);

    border-radius: 999px;

    padding: 8px 14px;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 20px;

    box-shadow:
        0 5px 18px rgba(59, 130, 246, .08);
}

.hero-r2r h1 {
    color: #173B67;

    font-size: clamp(40px, 5vw, 68px);

    line-height: 1.03;

    letter-spacing: -2px;

    margin-bottom: 22px;
}

.hero-r2r h1 span {
    color: var(--r2r-blue-dark);
}

.hero-r2r p {
    color: #52657D;

    font-size: 18px;

    line-height: 1.75;

    max-width: 670px;

    margin-bottom: 0;
}

.hero-actions {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;

    margin-top: 28px;
}

.hero-actions .btn {
    padding: 13px 22px;

    border-radius: 11px;

    font-weight: 700;
}

.hero-actions .btn-light {
    color: var(--r2r-navy);

    background: #fff;

    border-color: #fff;
}

.hero-actions .btn-light:hover {
    background: #F7FAFF;
}


/* =========================================================
   HERO IMAGE / CAROUSEL
========================================================= */

.hero-visual {
    position: absolute;

    right: 0;
    top: 0;

    width: 47%;
    height: 100%;

    z-index: 2;

    overflow: hidden;

    clip-path:
        polygon(
            14% 0,
            100% 0,
            100% 100%,
            0 100%
        );
}


/* Bootstrap carousel */

.hero-visual .carousel,
.hero-visual .carousel-inner,
.hero-visual .carousel-item {
    width: 105%;
    height: 95%;
}

.hero-visual .carousel-item {
    transition: opacity 1.2s ease-in-out;
}


/* IMAGE */

.hero-visual img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    object-position: center;

    display: block;
}
.hero-visual .carousel, .hero-visual .carousel-inner, .hero-visual .carousel-item {
    width: 100%;
    height: 96%;
    margin-top: 18px;
}

/* Image soft blend */

.hero-visual::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #C8DEFC 0%,
            rgba(200, 222, 252, .25) 20%,
            rgba(200, 222, 252, .05) 55%,
            rgba(200, 222, 252, 0) 100%
        );

    pointer-events: none;
}


/* =========================================================
   SECTION LABELS
========================================================= */

.section-label {
    display: inline-block;

    color: var(--r2r-blue-dark);

    background: var(--r2r-sky);

    border-radius: 999px;

    padding: 7px 13px;

    font-size: 12px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .8px;
}

.section-title {
    font-size: clamp(28px, 3.2vw, 43px);

    line-height: 1.18;

    letter-spacing: -1.1px;
}

.section-copy {
    color: var(--r2r-muted);

    line-height: 1.8;
}


/* =========================================================
   HOME INTRO
========================================================= */

.home-intro {
    padding: 85px 0;
}

.intro-card {
    border: 1px solid var(--r2r-border);

    background: #fff;

    border-radius: 24px;

    padding: 30px;

    box-shadow:
        0 18px 50px rgba(59, 130, 246, .06);

    height: 100%;

    transition: .25s ease;
}

.intro-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 22px 55px rgba(59, 130, 246, .10);
}

.intro-card .icon {
    width: 48px;
    height: 48px;

    border-radius: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: var(--r2r-blue);

    background: var(--r2r-sky);

    font-size: 21px;

    margin-bottom: 18px;
}


/* =========================================================
   FOCUS SECTION
========================================================= */

.focus-section {
    background: var(--r2r-soft);

    padding: 82px 0;

    border-top: 1px solid #F0F5FB;
    border-bottom: 1px solid #F0F5FB;
}

.focus-card {
    height: 100%;

    padding: 30px;

    border: 1px solid var(--r2r-border);

    background: #fff;

    border-radius: 20px;

    transition: .25s ease;
}

.focus-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 38px rgba(59, 130, 246, .09);
}

.focus-number {
    color: #A7C5F4;

    font-size: 13px;

    font-weight: 800;
}

.focus-card h4 {
    font-size: 20px;

    margin: 12px 0 9px;
}

.focus-card p {
    color: var(--r2r-muted);

    line-height: 1.7;

    margin: 0;

    font-size: 14px;
}


/* =========================================================
   STORY SECTION
========================================================= */

.story-section {
    padding: 85px 0;
}

.story-image {
    width: 100%;

    height: 480px;

    object-fit: cover;

    border-radius: 26px;

    box-shadow:
        0 20px 50px rgba(59, 130, 246, .10);
}

.quote-box {
    margin-top: 24px;

    border-left: 4px solid var(--r2r-blue);

    background: var(--r2r-sky);

    padding: 20px 22px;

    border-radius: 0 15px 15px 0;

    color: var(--r2r-navy);

    font-weight: 700;
}


/* =========================================================
   CTA SECTION
========================================================= */

.cta-section {
    padding: 75px 0;
}

.cta-box {
    border-radius: 28px;

    padding: 55px;

    background:
        linear-gradient(
            120deg,
            #60A5FA,
            #3B82F6
        );

    position: relative;

    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(59, 130, 246, .16);
}

.cta-box::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    right: -100px;
    top: -120px;

    background:
        rgba(255, 255, 255, .13);
}

.cta-box > * {
    position: relative;

    z-index: 1;
}

.cta-box h2 {
    color: #fff;

    font-size: clamp(28px, 3vw, 42px);
}

.cta-box p {
    color: rgba(255, 255, 255, .88);

    max-width: 720px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    padding: 85px 0 60px !important;

    margin-bottom: 0 !important;

    background:
        linear-gradient(
            115deg,
            #DCEBFF,
            #7FB1F5
        ) !important;
}

.page-header h1 {
    color: #173B67;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: #52657D !important;
}

.breadcrumb-item.active {
    color: #2563EB !important;
}


/* =========================================================
   DONATION
========================================================= */

.donation-card {
    border: 1px solid var(--r2r-border);

    border-radius: 22px;

    box-shadow:
        0 18px 50px rgba(59, 130, 246, .07);

    background: #fff;
}

.donation-qr {
    max-width: 240px;

    width: 100%;

    border-radius: 18px;

    padding: 12px;

    background: #fff;

    border: 1px solid var(--r2r-border);

    box-shadow:
        0 10px 30px rgba(59, 130, 246, .06);
}

.payment-detail {
    background: var(--r2r-soft);

    border: 1px solid var(--r2r-border);

    border-radius: 15px;
}

.form-control,
.form-select {
    border-color: #D5E0EF;

    min-height: 48px;

    border-radius: 10px;
}

.form-control:focus,
.form-select:focus {
    border-color: #8CB2F5;

    box-shadow:
        0 0 0 .2rem rgba(59, 130, 246, .10);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #C5D9EF;

    color: #40566F;

    margin-top: 0;

    border-top: 1px solid #AEC8E4;
}

.footer h5 {
    color: #173B67;

    font-size: 16px;

    margin-bottom: 18px;
}

.footer-brand {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #173B67;

    margin-bottom: 18px;
}

.footer-brand img {
    width: 52px;

    height: 52px;

    object-fit: contain;
}

.footer-brand span {
    color: #173B67;

    font-size: 22px;
}

.footer-lead {
    max-width: 450px;

    line-height: 1.8;

    color: #4E637B;
}

.footer a:not(.footer-brand) {
    color: #40566F;

    display: block;

    margin-bottom: 11px;

    font-size: 14px;
}

.footer a:hover {
    color: #2563EB;
}

.footer-socials {
    display: flex;

    gap: 9px;

    margin-top: 20px;
}

.footer-socials a {
    width: 40px;
    height: 40px;

    border-radius: 11px;

    display: flex !important;

    align-items: center;
    justify-content: center;

    border: 1px solid #A9C3DF;

    margin: 0 !important;

    background: rgba(255,255,255,.65);

    color: #365875;
}

.footer-socials a:hover {
    background: #3B82F6;

    border-color: #3B82F6;

    color: #fff !important;
}

.focus-pills {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.focus-pills span {
    padding: 7px 10px;

    border: 1px solid #AFC7E0;

    border-radius: 999px;

    font-size: 12px;

    color: #405B75;

    background: rgba(255,255,255,.45);
}

.copyright {
    border-top: 1px solid #AFC7E0;

    padding: 17px 0;

    color: #526A82;

    font-size: 12px;
}

.copyright a {
    margin: 0 !important;

    color: #365875 !important;
}

.copyright a:hover {
    color: #2563EB !important;
}


/* =========================================================
   FLOATING CONTACT
========================================================= */

.floating-contact {
    position: fixed;

    right: 20px;
    bottom: 22px;

    z-index: 1080;

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.float-btn {
    width: 50px;
    height: 50px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #fff !important;

    box-shadow:
        0 10px 28px rgba(30, 58, 95, .18);

    font-size: 19px;

    position: relative;

    transition: transform .2s ease;
}

.float-btn:hover {
    transform: translateY(-3px);
}

.float-btn span {
    position: absolute;

    right: 58px;

    white-space: nowrap;

    background: #fff;

    color: var(--r2r-navy);

    padding: 7px 10px;

    border-radius: 8px;

    box-shadow:
        0 6px 20px rgba(30, 58, 95, .12);

    font-size: 12px;

    font-weight: 700;

    opacity: 0;

    transform: translateX(6px);

    transition: .2s;

    pointer-events: none;
}

.float-btn:hover span {
    opacity: 1;

    transform: none;
}

.float-call {
    background: var(--r2r-blue);
}

.float-whatsapp {
    background: var(--r2r-whatsapp);
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;

    display: none;

    right: 20px;
    bottom: 145px;

    width: 44px;
    height: 44px;

    border-radius: 12px;

    z-index: 1000;

    background: #fff;

    color: var(--r2r-blue);

    box-shadow:
        0 8px 24px rgba(30, 58, 95, .12);

    align-items: center;

    justify-content: center;

    border: 1px solid #E1EAF5;
}


/* =========================================================
   ADMIN
========================================================= */

.admin-card {
    border: 0;

    border-radius: 18px;

    box-shadow:
        0 14px 40px rgba(59, 130, 246, .08);
}

.admin-top {
    background: #EFF6FF !important;

    color: var(--r2r-navy) !important;
}


/* =========================================================
   RESPONSIVE - TABLET
   SAME HERO DESIGN
   TEXT LEFT + IMAGE RIGHT
========================================================= */

@media (max-width: 991.98px) {

    .top-bar {
        display: none;
    }

    .navbar {
        min-height: 70px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .brand-name {
        font-size: 20px;
    }

    .navbar .navbar-nav {
        padding: 10px 0 16px;

        border-top: 1px solid var(--r2r-border);
    }

    .navbar .nav-link {
        padding: 11px 4px !important;
    }

    .navbar .nav-link::after {
        left: 4px;
        right: auto;

        bottom: 5px;

        width: 30px;
    }

    .nav-donate {
        display: inline-block;

        margin: 9px 0 0;

        text-align: center;
    }


    /* HERO */

    .hero-r2r {
        min-height: 540px;

        height: 540px;

        display: flex;

        align-items: center;
    }

    .hero-content {
        width: 57%;

        max-width: 57%;

        padding: 55px 0;
    }

    .hero-eyebrow {
        font-size: 10px;

        padding: 7px 10px;

        margin-bottom: 14px;
    }

    .hero-r2r h1 {
        font-size: clamp(36px, 5vw, 48px);

        line-height: 1.05;

        letter-spacing: -1.4px;

        margin-bottom: 16px;
    }

    .hero-r2r p {
        font-size: 14px;

        line-height: 1.6;

        max-width: 95%;
    }

    .hero-actions {
        margin-top: 20px;

        justify-content: flex-start;
    }

    .hero-actions .btn {
        width: auto;

        padding: 10px 15px;

        font-size: 12px;
    }


    /* IMAGE */

    .hero-visual {
        position: absolute;

        right: 0;

        top: 0;

        width: 48%;

        height: 100%;

        transform: none;

        opacity: 1;

        clip-path:
            polygon(
                15% 0,
                100% 0,
                100% 100%,
                0 100%
            );
    }

    .hero-visual .carousel,
    .hero-visual .carousel-inner,
    .hero-visual .carousel-item {
        width: 100%;

        height: 100%;
    }

    .hero-visual img {
        width: 100%;

        height: 100%;

        object-fit: contain;

        object-position: center;
    }


    .story-image {
        height: 360px;
    }

    .cta-box {
        padding: 35px 25px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
   EXACT SAME DESIGN
   TEXT LEFT + IMAGE RIGHT
========================================================= */

@media (max-width: 767.98px) {

    .hero-r2r {
        min-height: 470px;

        height: 470px;

        display: flex;

        align-items: center;

        overflow: hidden;
    }

    .hero-r2r .container {
        width: 100%;

        max-width: 100%;

        padding-left: 14px;

        padding-right: 14px;
    }


    /* LEFT TEXT */

    .hero-content {
        width: 58%;

        max-width: 58%;

        padding: 35px 0;

        margin: 0;

        text-align: left;
    }

    .hero-eyebrow {
        display: inline-flex;

        font-size: 8px;

        line-height: 1.2;

        padding: 5px 7px;

        margin-bottom: 11px;

        gap: 5px;

        white-space: nowrap;
    }

    .hero-r2r h1 {
        font-size: 28px;

        line-height: 1.04;

        letter-spacing: -.8px;

        margin-bottom: 13px;
    }

    .hero-r2r p {
        font-size: 10.5px;

        line-height: 1.5;

        max-width: 100%;

        margin-bottom: 0;
    }


    /* BUTTONS */

    .hero-actions {
        display: flex;

        flex-direction: column;

        align-items: flex-start;

        justify-content: flex-start;

        gap: 6px;

        margin-top: 15px;

        width: auto;
    }

    .hero-actions .btn {
        width: auto;

        min-height: 34px;

        padding: 7px 10px;

        font-size: 9px;

        line-height: 1.2;

        border-radius: 7px;

        white-space: nowrap;
    }


    /* RIGHT IMAGE */

    .hero-visual {
        position: absolute;

        right: 0;

        top: 0;

        bottom: 0;

        width: 46%;

        height: 100%;

        margin: 0;

        transform: none;

        opacity: 1;

        clip-path:
            polygon(
                18% 0,
                100% 0,
                100% 100%,
                0 100%
            );

        overflow: hidden;

        border-radius: 0;

        box-shadow: none;
    }

    .hero-visual .carousel,
    .hero-visual .carousel-inner,
    .hero-visual .carousel-item {
        width: 100%;

        height: 100%;
    }

    .hero-visual img {
        width: 100%;

        height: 100%;

        object-fit: contain;

        object-position: center;

        display: block;
    }

    .hero-visual::after {
        background:
            linear-gradient(
                90deg,
                #C8DEFC 0%,
                rgba(200, 222, 252, .25) 20%,
                rgba(200, 222, 252, .05) 55%,
                rgba(200, 222, 252, 0) 100%
            );
    }


    /* OTHER SECTIONS */

    .home-intro,
    .story-section,
    .focus-section,
    .cta-section {
        padding: 60px 0;
    }

    .floating-contact {
        right: 13px;

        bottom: 15px;
    }

    .float-btn {
        width: 46px;

        height: 46px;
    }

    .float-btn span {
        display: none;
    }

    .back-to-top {
        right: 13px;

        bottom: 128px;
    }

    .section-title {
        font-size: 29px;
    }

    .intro-card,
    .focus-card {
        padding: 24px;
    }

    .story-image {
        height: 280px;

        border-radius: 20px;
    }

    .cta-box {
        border-radius: 22px;

        padding: 30px 22px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .hero-r2r {
        min-height: 300px;

        height: 300px;
    }

    .hero-r2r .container {
        padding-left: 11px;

        padding-right: 11px;
    }

    .hero-content {
        width: 50%;

        max-width: 50%;
    }

    .hero-eyebrow {
        font-size: 7px;

        padding: 4px 6px;

        gap: 4px;
    }

    .hero-r2r h1 {
        font-size: 25px;

        line-height: 1.04;

        letter-spacing: -.7px;
    }

    .hero-r2r p {
        font-size: 9.5px;

        line-height: 1.48;
    }

    .hero-actions .btn {
        font-size: 8.5px;

        padding: 6px 9px;
    }

    .hero-visual {
        width: 45%;

        clip-path:
            polygon(
                20% 0,
                100% 0,
                100% 100%,
                0 100%
            );
    }

    .floating-contact {
        right: 12px;

        bottom: 12px;
    }

    .float-btn {
        width: 44px;

        height: 44px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .hero-r2r {
        min-height: 405px;

        height: 405px;
    }

    .hero-content {
        width: 60%;

        max-width: 60%;
    }

    .hero-r2r h1 {
        font-size: 22px;
    }

    .hero-r2r p {
        font-size: 8.5px;

        line-height: 1.45;
    }

    .hero-actions {
        gap: 5px;

        margin-top: 12px;
    }

    .hero-actions .btn {
        font-size: 8px;

        padding: 5px 8px;
    }

    .hero-visual {
        width: 43%;
    }
}


/* =========================================================
   SMALL SCREEN HEADER
========================================================= */

@media (max-width: 400px) {

    .brand-logo {
        width: 44px;

        height: 44px;
    }

    .brand-name {
        font-size: 18px;
    }

    .navbar-toggler {
        padding: 6px 8px;
    }
}

/* =========================================================
   TOP BAR - MOBILE FIX
   Keep thin stripe visible on mobile
========================================================= */

@media (max-width: 991.98px) {

    .top-bar {
        display: block !important;
        padding: 6px 0 !important;
    }

    .top-bar .container {
        min-height: 28px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    /* Hide phone/email on mobile */
    .top-contact {
        display: none !important;
    }

    /* Hide slogan on mobile */
    .top-message {
        display: none !important;
    }

    /* Keep Login visible */
    .admin-login-link {
        display: inline-flex !important;

        align-items: center !important;
        justify-content: center !important;

        margin-left: auto !important;

        padding: 4px 10px !important;

        font-size: 10px !important;

        line-height: 1 !important;

        border-radius: 20px !important;

        color: #fff !important;

        border: 1px solid rgba(255,255,255,.40) !important;

        background: rgba(255,255,255,.10) !important;
    }

    .admin-login-link i {
        font-size: 10px !important;
    }

    .admin-login-link span {
        display: inline !important;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .top-bar {
        padding: 5px 0 !important;
    }

    .top-bar .container {
        min-height: 26px !important;
    }

    .admin-login-link {
        padding: 4px 9px !important;

        font-size: 9px !important;
    }

    .admin-login-link i {
        font-size: 9px !important;
    }
}

/* =========================================================
   MOBILE MENU - SAME COLOR AS DESKTOP
========================================================= */

@media (max-width: 991.98px) {

    .navbar-nav .nav-link {
        color: #344563 !important;
        font-size: 14px !important;
        font-weight: 600 !important;

        padding: 11px 8px !important;

        background: transparent !important;
    }

    /* Hover */
    .navbar-nav .nav-link:hover {
        color: #155eef !important;
        background: transparent !important;
    }

    /* Active page */
    .navbar-nav .nav-link.active {
        color: #155eef !important;
        background: transparent !important;
    }

    /* Active underline */
    .navbar-nav .nav-link::after {
        left: 8px !important;
        right: auto !important;
        bottom: 5px !important;

        width: 30px !important;
        height: 2px !important;

        background: #155eef !important;

        transform: scaleX(0);
    }

    .navbar-nav .nav-link:hover::after,
    .navbar-nav .nav-link.active::after {
        transform: scaleX(1) !important;
    }

    /* Menu area */
    .navbar-collapse {
        background: #ffffff !important;

        border-top: 1px solid #edf2f7 !important;

        margin-top: 10px !important;

        padding-top: 8px !important;
    }

    /* Donate button */
    .navbar-nav .nav-donate {
        color: #ffffff !important;

        background: linear-gradient(
            135deg,
            #155eef,
            #0b3f82
        ) !important;

        border: 0 !important;

        margin: 8px 0 5px !important;
    }
}

@media (max-width: 991.98px) {

    .top-contact {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .top-contact a {
        display: inline-flex !important;
        align-items: center !important;
        color: #ffffff !important;
        font-size: 10px !important;
        text-decoration: none !important;
    }

    .top-contact a:first-child {
        display: inline-flex !important;
    }

    .top-message {
        display: none !important;
    }

    .admin-login-link {
        display: inline-flex !important;
    }

    .top-bar .container {
        justify-content: space-between !important;
    }
}

@media (max-width: 767.98px) {
    .hero-visual {
        position: absolute;
        right: 0;
        top: -34px;
        bottom: 0;
        width: 46%;
        height: 100%;
        margin: 0;
        transform: none;
        opacity: 1;
        clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
        overflow: hidden;
        border-radius: 0;
        box-shadow: none;
    }
}