/* Custom styles to complement Bootstrap */

/* Navbar Styles */
.site-header {
    --header-red: #e21d36;
    min-height: 82px;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(35, 13, 17, .08);
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 30px rgba(43, 8, 14, .08);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
    backdrop-filter: blur(16px);
    transition: box-shadow .25s ease, background-color .25s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 10px 35px rgba(43, 8, 14, .13);
}

.site-header .site-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    min-width: 205px;
    margin-right: 1.25rem;
    padding: 0;
    color: #2e1116;
    text-transform: none;
    letter-spacing: 0;
}

.brand-logo-wrap {
    display: grid;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(145deg, #fff 30%, #fff1f3);
    box-shadow: inset 0 0 0 1px rgba(226,29,54,.1), 0 7px 18px rgba(89,12,24,.08);
}

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

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-copy strong {
    color: #2d1015;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -.02em;
}

.brand-copy small {
    margin-top: .27rem;
    color: #9b5360;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-header .navbar-nav {
    align-items: center;
    gap: .15rem;
}

.site-header .nav-link {
    position: relative;
    padding: .72rem .68rem !important;
    color: #644149;
    font-size: .88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    right: .68rem;
    bottom: .4rem;
    left: .68rem;
    height: 2px;
    border-radius: 999px;
    background: var(--header-red);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--header-red);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-left: 1rem;
}

.header-help {
    display: flex;
    align-items: center;
    gap: .55rem;
    color: #3a1a20;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none;
}

.header-help i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    background: #fff0f2;
    color: var(--header-red);
}

.header-help small {
    display: block;
    margin-bottom: .15rem;
    color: #a16a74;
    font-size: .61rem;
    font-weight: 600;
    text-transform: uppercase;
}

.site-header .header-donate-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 44px;
    padding: .7rem 1rem;
    border: 1px solid var(--header-red);
    border-radius: 12px;
    background: var(--header-red);
    color: #fff;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 10px 22px rgba(226,29,54,.2);
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.site-header .header-donate-btn:hover {
    border-color: #bd1228;
    background: #bd1228;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(226,29,54,.28);
}

.site-header .navbar-toggler {
    padding: .5rem;
    border: 1px solid #efdce0;
    border-radius: 10px;
    box-shadow: none;
}

@media (max-width: 1199.98px) {
    .header-help { display: none; }
    .site-header .nav-link { padding-right: .52rem !important; padding-left: .52rem !important; font-size: .82rem; }
}

@media (max-width: 991.98px) {
    .site-header { min-height: 74px; padding: .42rem 0; }
    .brand-logo-wrap { width: 54px; height: 54px; flex-basis: 54px; }
    .brand-logo { width: 49px; height: 49px; }
    .site-header .navbar-collapse {
        margin-top: .6rem;
        padding: .8rem;
        border: 1px solid #f0dfe2;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(54,11,18,.1);
    }
    .site-header .navbar-nav { align-items: stretch; }
    .site-header .nav-link { padding: .7rem .85rem !important; border-radius: 9px; text-align: left; }
    .site-header .nav-link::after { display: none; }
    .site-header .nav-link:hover, .site-header .nav-link.active { background: #fff1f3; }
    .header-actions { margin: .7rem 0 0; }
    .site-header .header-donate-btn { width: 100%; justify-content: center; }
}

@media (max-width: 575.98px) {
    .brand-copy strong { font-size: .94rem; }
    .brand-copy small { font-size: .59rem; }
    .site-header .site-brand { min-width: 0; margin-right: .5rem; }
    .brand-logo-wrap { width: 50px; height: 50px; flex-basis: 50px; border-radius: 13px; }
    .brand-logo { width: 46px; height: 46px; }
}

/* Hero Section */
.hero-section {
    --hero-red: #ef233c;
    background: linear-gradient(125deg, #180509 0%, #4b0711 52%, #8f0d20 100%);
    position: relative;
    isolation: isolate;
    min-height: min(820px, calc(100vh - 76px));
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    overflow: hidden;
    color: #fff;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .17;
    background-image: radial-gradient(rgba(255,255,255,.7) .7px, transparent .7px);
    background-size: 22px 22px;
    mask-image: linear-gradient(to right, #000, transparent 65%);
}

.hero-glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.hero-glow-one {
    width: 420px;
    height: 420px;
    top: -230px;
    left: -130px;
    background: rgba(239, 35, 60, .25);
}

.hero-glow-two {
    width: 360px;
    height: 360px;
    right: -170px;
    bottom: -190px;
    background: rgba(255, 113, 132, .25);
}

.hero-copy {
    max-width: 620px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .6rem 1rem;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.hero-eyebrow i { color: #ff6b7d; }

.hero-section h1 {
    max-width: 660px;
    margin: 1.45rem 0 1.2rem;
    font-size: clamp(2.8rem, 5vw, 4.65rem);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.hero-section h1 span {
    position: relative;
    color: #ff8998;
}

.hero-section h1 span::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -.08em;
    left: 0;
    height: .08em;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #ff8998 15%, #ff8998 85%, transparent);
    opacity: .7;
}

.hero-description {
    max-width: 565px;
    margin-bottom: 1.8rem;
    color: rgba(255,255,255,.8);
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    min-height: 52px;
    padding: .75rem 1.35rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
}

.hero-actions .btn-danger {
    border-color: var(--hero-red);
    background: var(--hero-red);
    box-shadow: 0 14px 30px rgba(239, 35, 60, .25);
}

.hero-actions .btn-danger:hover {
    border-color: #ff4258;
    background: #ff4258;
    transform: translateY(-2px);
}

.hero-actions .btn-outline-light {
    border-color: rgba(255,255,255,.35);
    background: rgba(255,255,255,.06);
}

.hero-actions .btn-outline-light:hover {
    border-color: #fff;
    background: #fff;
    color: #540914;
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
    color: rgba(255,255,255,.7);
    font-size: .86rem;
}

.hero-trust div {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .8rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.045);
}
.hero-trust i { color: #ff8998; font-size: 1.1rem; }
.hero-trust span { line-height: 1.25; text-align: left; }
.hero-trust strong { display: block; margin-bottom: .12rem; color: #fff; font-size: .8rem; }

.hero-visual {
    position: relative;
    max-width: 540px;
    margin-left: auto;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 32px;
    background: rgba(255,255,255,.07);
    box-shadow: 0 35px 80px rgba(0,0,0,.38);
    transform: rotate(1.5deg);
}

.hero-visual > img {
    display: block;
    width: 100%;
    height: clamp(390px, 46vw, 520px);
    object-fit: cover;
    border-radius: 22px;
}

.hero-image-shade {
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    background: linear-gradient(to top, rgba(34,2,8,.58), transparent 45%);
}

.hero-impact-card {
    position: absolute;
    left: -24px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 16px;
    background: rgba(255,255,255,.94);
    color: #431019;
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
}

.hero-impact-card .impact-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: #ffe5e9;
    color: var(--hero-red);
}

.hero-impact-card strong { display: block; font-size: .94rem; }
.hero-impact-card span:last-child { font-size: .78rem; }

.hero-blood-badge {
    position: absolute;
    top: 38px;
    right: -20px;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 6px solid #fff;
    border-radius: 50% 50% 50% 10%;
    background: var(--hero-red);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0,0,0,.22);
    transform: rotate(45deg);
}

.hero-blood-badge span { transform: rotate(-45deg); }

@media (max-width: 991.98px) {
    .hero-section { min-height: auto; text-align: center; }
    .hero-copy { margin: 0 auto; }
    .hero-description { margin-right: auto; margin-left: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { max-width: 620px; margin: 1rem auto 0; }
    .hero-visual > img { height: 470px; }
}

@media (max-width: 576px) {
    .hero-section { padding: 3.25rem 0 4rem; }
    .hero-section h1 { font-size: clamp(2.45rem, 12vw, 3.2rem); line-height: 1.07; }
    .hero-eyebrow { padding: .55rem .75rem; font-size: .64rem; letter-spacing: .07em; }
    .hero-description { font-size: .98rem; line-height: 1.6; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
    .hero-trust div { flex-direction: column; gap: .35rem; padding: .65rem .35rem; }
    .hero-trust span { text-align: center; font-size: .68rem; }
    .hero-trust strong { font-size: .7rem; }
    .hero-visual { margin-top: .5rem; transform: none; }
    .hero-visual > img { height: 340px; }
    .hero-impact-card { left: 24px; right: 24px; bottom: 28px; }
    .hero-blood-badge { right: 2px; }
}

/* Statistics Section */
.stat-card {
    padding: 50px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef); /* Subtle gradient background */
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1), 0 10px 30px rgba(0, 0, 0, 0.05); /* Soft yet prominent shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
}

/* Hover Effect */
.stat-card:hover {
    transform: translateY(-10px); /* Slight elevation effect */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); /* Deeper shadow on hover */
}

.counter {
    font-size: 2.8rem; /* Larger font size for emphasis */
    font-weight: bold;
    color: #DC3545; /* Green color for a positive, lively look */
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for text */
    transition: color 0.3s ease; /* Smooth color transition */
}



/* Stat Title */
.stat-title {
    font-size: 1.5rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Stat Description */
.stat-description {
    font-size: 1rem;
    color: #777;
    font-weight: normal;
    margin-top: 0.5rem;
}
/* Targeting all icons within the stat-card */
.stat-card i {
    color: #ff0000; /* Blue color for icons */
    font-size: 3rem; /* Adjust icon size */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Hover effect for icons */
.stat-card i:hover {
    color: #ff4500; /* Change icon color to orange on hover */
}

/* Mobile and Small Devices (up to 576px) */
@media (max-width: 576px) {
    #statistics .stat-card {
        padding: 20px;
        text-align: center;
    }

    #statistics .counter {
        font-size: 1.25rem; /* Slightly larger numbers on small screens */
    }

    #statistics i {
        font-size: 2.5rem; /* Increase icon size for better visibility */
    }

    #statistics p {
        font-size: 1rem; /* Adjust the text size */
    }
}

/* Medium Devices (576px - 768px) */
@media (min-width: 576px) and (max-width: 768px) {
    #statistics .stat-card {
        padding: 20px;
        text-align: center;
    }

    #statistics .counter {
        font-size: 1.5rem; /* Larger font size for better visibility */
    }

    #statistics i {
        font-size: 3rem; /* Larger icons */
    }

    #statistics p {
        font-size: 1.1rem; /* Adjust text size */
    }
}

/* Large Devices (768px and above) */
@media (min-width: 768px) {
    #statistics .stat-card {
        padding: 30px;
        text-align: center;
    }

    #statistics .counter {
        font-size: 1.75rem; /* Larger font for large screens */
    }

    #statistics i {
        font-size: 3.5rem; /* Increase icon size */
    }

    #statistics p {
        font-size: 1.2rem; /* Adjust text size */
    }
}


/* Redesigned impact statistics */
#statistics.impact-stats-section {
    position: relative;
    isolation: isolate;
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    overflow: hidden;
    background: linear-gradient(128deg, #27070d 0%, #540a17 55%, #7c1023 100%);
    color: #fff;
}

#statistics .impact-orb {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

#statistics .impact-orb-one {
    top: -220px;
    right: -140px;
    width: 480px;
    height: 480px;
    border: 75px solid rgba(255, 255, 255, .035);
}

#statistics .impact-orb-two {
    bottom: -210px;
    left: -160px;
    width: 390px;
    height: 390px;
    background: rgba(232, 35, 62, .12);
    filter: blur(8px);
}

#statistics .impact-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

#statistics .impact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    color: #ff8c9c;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

#statistics .impact-heading h2 {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-wrap: balance;
}

#statistics .impact-heading > p {
    max-width: 460px;
    margin: 0;
    color: rgba(255, 255, 255, .66);
    font-size: .96rem;
    line-height: 1.65;
}

#statistics .stat-card {
    position: relative;
    height: 100%;
    min-height: 245px;
    padding: 1.55rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 20px;
    background: rgba(255, 255, 255, .065);
    box-shadow: none;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}

#statistics .stat-card::after {
    content: "";
    position: absolute;
    right: -35px;
    bottom: -55px;
    width: 120px;
    height: 120px;
    border: 22px solid rgba(255, 255, 255, .035);
    border-radius: 50%;
}

#statistics .stat-card:hover {
    border-color: rgba(255, 140, 156, .38);
    background: rgba(255, 255, 255, .095);
    box-shadow: none;
    transform: translateY(-7px);
}

#statistics .featured-stat-card {
    border-color: rgba(255, 128, 145, .28);
    background: linear-gradient(145deg, rgba(230, 27, 56, .34), rgba(255, 255, 255, .07));
}

#statistics .stat-icon {
    display: grid;
    width: 46px;
    height: 46px;
    margin-bottom: 1.3rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
}

#statistics .stat-card .stat-icon i {
    color: #ff8b9b;
    font-size: 1.25rem;
}

#statistics .stat-card .counter {
    margin: 0 0 .3rem;
    color: #fff;
    font-size: clamp(2rem, 3vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1;
    text-shadow: none;
}

#statistics .counter span { color: #ff8192; }

#statistics .stat-card p {
    margin: 0 0 .35rem;
    color: #fff;
    font-size: .93rem;
    font-weight: 600;
}

#statistics .stat-card small {
    color: rgba(255, 255, 255, .53);
    font-size: .72rem;
}

@media (max-width: 767.98px) {
    #statistics .impact-heading {
        display: block;
        margin-bottom: 2rem;
        text-align: center;
    }

    #statistics .impact-heading > p {
        margin: 1rem auto 0;
        font-size: .9rem;
    }

    #statistics .stat-card {
        min-height: 205px;
        padding: 1.2rem;
    }
}

@media (max-width: 575.98px) {
    #statistics.impact-stats-section {
        padding: 2.5rem 0;
        background: linear-gradient(180deg, #310811 0%, #640d1d 100%);
    }

    #statistics.impact-stats-section .container {
        padding-inline: 1rem;
    }

    #statistics .impact-orb {
        display: none;
    }

    #statistics .row {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }

    #statistics .stat-card {
        min-height: 164px;
        padding: .9rem;
        border-radius: 16px;
        background: rgba(255, 255, 255, .085);
        text-align: left;
    }

    #statistics .featured-stat-card {
        background: linear-gradient(145deg, rgba(230, 27, 56, .36), rgba(255, 255, 255, .08));
    }

    #statistics .stat-card::after {
        right: -42px;
        bottom: -58px;
        width: 110px;
        height: 110px;
        border-width: 18px;
    }

    #statistics .stat-icon {
        width: 38px;
        height: 38px;
        margin-bottom: .8rem;
        border-radius: 12px;
    }

    #statistics .stat-card .stat-icon i {
        font-size: 1.05rem;
    }

    #statistics .stat-card .counter {
        margin-bottom: .25rem;
        font-size: clamp(1.55rem, 8vw, 1.9rem);
        letter-spacing: 0;
    }

    #statistics .stat-card p {
        margin-bottom: .25rem;
        font-size: .76rem;
        line-height: 1.25;
    }

    #statistics .stat-card small {
        display: block;
        font-size: .62rem;
        line-height: 1.35;
    }
}

@media (max-width: 430px) {
    #statistics.impact-stats-section { padding: 2.25rem 0; }
    #statistics .stat-card { min-height: 154px; padding: .8rem; }
    #statistics .stat-icon { width: 36px; height: 36px; margin-bottom: .7rem; }
    #statistics .stat-card .counter { font-size: 1.55rem; }
    #statistics .stat-card p { font-size: .72rem; }
    #statistics .stat-card small { font-size: .58rem; }
}


/* Blood Availability Section */
.blood-availability-section {
    background: linear-gradient(
                    rgba(40, 39, 39, 0.6),
                    rgba(40, 39, 39, 0.6)
                ),
                url('public/img/human-blood-globulins.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    padding: 60px 0; /* Add padding for spacing */
    color: #fff; /* White text color for better contrast */
}

.blood-availability-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Slight gradient overlay for contrast */
    z-index: -1;
}

.blood-availability-heading {
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4); /* Enhance readability with stronger shadow */
    font-size: 2rem;
    font-weight: 700;
}

/* Responsive styles for Blood Availability section */
@media (max-width: 1200px) {
    #availability .blood-availability-heading {
        font-size: 1.8rem;
    }

    #availability .card-body {
        padding: 1.5rem;
    }

    #availability .card-title {
        font-size: 1.4rem;
    }

    #availability .card-text {
        font-size: 1.1rem;
    }

    #availability .badge {
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    #availability .card {
        margin-bottom: 1.5rem;
    }

    #availability .card-title {
        font-size: 1.3rem;
    }

    #availability .card-text {
        font-size: 1rem;
    }

    #availability .badge {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    #availability .blood-availability-heading {
        font-size: 1.6rem;
    }

    #availability .card {
        margin-bottom: 1.2rem;
    }

    #availability .card-title {
        font-size: 1.2rem;
    }

    #availability .card-text {
        font-size: 1rem;
    }

    #availability .badge {
        font-size: 0.75rem;
    }

    #availability .col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    #availability .blood-availability-heading {
        font-size: 1.4rem;
    }

    #availability .card-body {
        padding: 1rem;
    }

    #availability .card-title {
        font-size: 1rem;
    }

    #availability .card-text {
        font-size: 0.9rem;
    }

    #availability .badge {
        font-size: 0.7rem;
    }

    #availability .col-sm-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Redesigned blood availability dashboard */
#availability.blood-availability-section {
    position: relative;
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    background: #f8f5f5;
    color: #32151a;
}

#availability.blood-availability-section::before {
    display: none;
}

#availability .availability-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2.3rem;
}

#availability .availability-heading-copy { max-width: 670px; }

#availability .availability-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #d91c37;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

#availability .availability-header h2 {
    margin: 0 0 .75rem;
    color: #301217;
    font-size: clamp(2.15rem, 4vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
}

#availability .availability-header p {
    max-width: 620px;
    margin: 0;
    color: #806269;
    font-size: .98rem;
    line-height: 1.65;
}

#availability .availability-legend {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1rem;
    padding: .8rem 1rem;
    border: 1px solid #eadfe1;
    border-radius: 13px;
    background: #fff;
    color: #6f5057;
    font-size: .72rem;
    font-weight: 600;
    white-space: nowrap;
}

#availability .availability-legend span { display: inline-flex; align-items: center; gap: .4rem; }
#availability .legend-dot { width: 7px; height: 7px; border-radius: 50%; }
#availability .legend-dot.high { background: #20a465; }
#availability .legend-dot.medium { background: #e9a51a; }
#availability .legend-dot.low { background: #e32640; }

#availability .availability-card {
    --status-color: #20a465;
    position: relative;
    height: 100%;
    min-height: 225px;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid #eadfe1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(65, 18, 26, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#availability .availability-card:hover {
    border-color: color-mix(in srgb, var(--status-color) 35%, #eadfe1);
    box-shadow: 0 20px 42px rgba(65, 18, 26, .1);
    transform: translateY(-6px);
}

#availability .availability-card.status-medium { --status-color: #e9a51a; }
#availability .availability-card.status-low { --status-color: #e32640; }

#availability .blood-type {
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1.25rem;
}

#availability .blood-type i { color: #df1d38; font-size: 1.25rem; }
#availability .blood-type strong { color: #35141a; font-size: 1.2rem; }

#availability .unit-count strong {
    display: block;
    color: #2e1116;
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
}

#availability .unit-count span { color: #94747b; font-size: .72rem; }

#availability .stock-meter {
    height: 6px;
    margin: 1.15rem 0 .75rem;
    overflow: hidden;
    border-radius: 999px;
    background: #f0e9ea;
}

#availability .stock-meter span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--status-color);
}

#availability .availability-card > p {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    color: #76565d;
    font-size: .72rem;
    font-weight: 600;
}

#availability .availability-card > p i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--status-color);
}

#availability .priority-card { border-color: #f2c8ce; }

#availability .priority-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .3rem .5rem;
    border-radius: 7px;
    background: #fff0f2;
    color: #d61934;
    font-size: .61rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

#availability .availability-cta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 1.4rem;
    border: 1px solid #eddadd;
    border-radius: 18px;
    background: linear-gradient(100deg, #fff 0%, #fff5f6 100%);
}

#availability .availability-cta-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 14px;
    background: #ffe2e7;
    color: #db1c37;
    font-size: 1.25rem;
}

#availability .availability-cta strong { display: block; color: #36151b; font-size: .91rem; }
#availability .availability-cta span { color: #87666d; font-size: .76rem; }
#availability .availability-actions { display: flex; align-items: center; gap: 1rem; }

#availability .availability-request-btn {
    padding: .7rem 1rem;
    border-radius: 11px;
    background: #df1d38;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
}

#availability .availability-request-btn:hover { background: #bd122a; color: #fff; }

#availability .availability-donate-link {
    color: #b71930;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    #availability .availability-header { display: block; text-align: center; }
    #availability .availability-legend { width: fit-content; margin: 1.25rem auto 0; }
    #availability .availability-card { min-height: 205px; padding: 1.1rem; }
    #availability .availability-cta { grid-template-columns: auto 1fr; }
    #availability .availability-actions { grid-column: 1 / -1; justify-content: center; margin-top: .25rem; }
}

@media (max-width: 430px) {
    #availability .availability-card { min-height: 190px; padding: .9rem; border-radius: 16px; }
    #availability .blood-type { margin-bottom: 1rem; }
    #availability .blood-type strong { font-size: 1.05rem; }
    #availability .unit-count strong { font-size: 1.85rem; }
    #availability .priority-label { top: .75rem; right: .7rem; font-size: .5rem; }
    #availability .availability-cta { display: block; text-align: center; }
    #availability .availability-cta-icon { margin: 0 auto .75rem; }
    #availability .availability-actions { flex-direction: column; gap: .7rem; margin-top: 1rem; }
    #availability .availability-request-btn { width: 100%; }
}

/* Blood availability — inventory board */
#availability.availability-v2 {
    position: relative;
    padding: clamp(4.75rem, 7vw, 6.75rem) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 5%, rgba(222, 28, 55, .075), transparent 27%),
        #fbf9f9;
    color: #311318;
}

#availability .availability-v2-heading {
    max-width: 720px;
    margin: 0 auto 2.4rem;
}

#availability .availability-v2-heading > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #d91c37;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

#availability .availability-v2-heading h2 {
    margin: 0 0 .75rem;
    color: #301217;
    font-size: clamp(2.2rem, 4.2vw, 3.65rem);
    font-weight: 700;
    letter-spacing: -.048em;
    line-height: 1.07;
}

#availability .availability-v2-heading p {
    max-width: 590px;
    margin: 0 auto;
    color: #85666c;
    font-size: .96rem;
    line-height: 1.65;
}

#availability .availability-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    overflow: hidden;
    border: 1px solid #eadfe1;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(67, 17, 26, .11);
}

#availability .inventory-panel { padding: clamp(1.4rem, 3vw, 2.4rem); }

#availability .inventory-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

#availability .inventory-panel-header > div:first-child { display: flex; flex-direction: column; }
#availability .inventory-panel-header strong { color: #39171d; font-size: 1rem; }
#availability .inventory-panel-header small {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin-top: .2rem;
    color: #98767d;
    font-size: .69rem;
}

#availability .inventory-panel-header small i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25a868;
    box-shadow: 0 0 0 4px rgba(37, 168, 104, .11);
}

#availability .inventory-legend { display: flex; gap: .8rem; }
#availability .inventory-legend span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #816168;
    font-size: .65rem;
    font-weight: 600;
}

#availability .inventory-legend i,
#availability .inventory-tile small i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25a868;
}

#availability .inventory-legend .medium { background: #e8a11a; }
#availability .inventory-legend .low { background: #e0253f; }

#availability .inventory-tile {
    --stock-color: #25a868;
    position: relative;
    min-height: 174px;
    padding: 1rem;
    border: 1px solid #ede4e6;
    border-radius: 17px;
    background: #fdfcfc;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

#availability .inventory-tile::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    border-radius: 17px 17px 0 0;
    background: var(--stock-color);
}

#availability .inventory-tile.stock-medium { --stock-color: #e8a11a; }
#availability .inventory-tile.stock-low { --stock-color: #e0253f; background: #fffafb; }

#availability .inventory-tile:hover {
    border-color: color-mix(in srgb, var(--stock-color) 32%, #ede4e6);
    box-shadow: 0 15px 30px rgba(58, 14, 22, .09);
    transform: translateY(-5px);
}

#availability .blood-mark {
    display: grid;
    width: 44px;
    height: 49px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 50% 50% 50% 12%;
    background: #ffe7ea;
    color: #d91d38;
    font-size: .86rem;
    font-weight: 700;
    transform: rotate(45deg);
}

#availability .blood-mark span { transform: rotate(-45deg); }

#availability .inventory-tile > div:nth-child(2) {
    display: flex;
    align-items: baseline;
    gap: .35rem;
}

#availability .inventory-tile > div:nth-child(2) strong {
    color: #321319;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -.035em;
}

#availability .inventory-tile > div:nth-child(2) span { color: #9a7880; font-size: .65rem; }
#availability .inventory-tile small {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #826168;
    font-size: .64rem;
    font-weight: 600;
}

#availability .inventory-tile small i { background: var(--stock-color); }

#availability .availability-emergency-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.4rem 2rem;
    overflow: hidden;
    background: linear-gradient(145deg, #3d0710, #7d1022 64%, #a01831);
    color: #fff;
}

#availability .availability-emergency-panel::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    border: 45px solid rgba(255, 255, 255, .045);
    border-radius: 50%;
}

#availability .emergency-panel-icon {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 1.35rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 15px;
    background: rgba(255, 255, 255, .1);
    color: #ff8a9a;
    font-size: 1.3rem;
}

#availability .emergency-kicker {
    margin-bottom: .55rem;
    color: #ff9cab;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#availability .availability-emergency-panel h3 {
    margin: 0 0 .9rem;
    color: #fff;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.18;
}

#availability .availability-emergency-panel > p {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, .66);
    font-size: .82rem;
    line-height: 1.6;
}

#availability .availability-emergency-panel ul {
    display: grid;
    gap: .45rem;
    margin: 0 0 1.45rem;
    padding: 0;
    color: rgba(255, 255, 255, .8);
    font-size: .75rem;
    list-style: none;
}

#availability .availability-emergency-panel li { display: flex; align-items: center; gap: .45rem; }
#availability .availability-emergency-panel li i { color: #ff91a0; }

#availability .emergency-request-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    border-radius: 12px;
    background: #fff;
    color: #7d1022;
    font-size: .8rem;
    font-weight: 700;
}

#availability .emergency-request-btn:hover { background: #ffe9ed; color: #680b1a; }

#availability .emergency-call-link {
    margin-top: .9rem;
    color: rgba(255, 255, 255, .75);
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 991.98px) {
    #availability .availability-shell { grid-template-columns: 1fr; }
    #availability .availability-emergency-panel { min-height: 360px; text-align: center; align-items: center; }
    #availability .availability-emergency-panel > p { max-width: 520px; }
    #availability .availability-emergency-panel ul { text-align: left; }
    #availability .emergency-request-btn { min-width: 230px; }
}

@media (max-width: 575.98px) {
    #availability .availability-v2-heading h2 { font-size: 2.4rem; }
    #availability .availability-shell { border-radius: 20px; }
    #availability .inventory-panel { padding: 1rem; }
    #availability .inventory-panel-header { display: block; }
    #availability .inventory-legend { margin-top: .8rem; }
    #availability .inventory-tile { min-height: 160px; padding: .85rem; }
    #availability .availability-emergency-panel { min-height: 390px; padding: 2rem 1.3rem; }
}

/* Blood availability — clean clinical UI */
#availability.availability-v3 {
    padding: clamp(4.5rem, 7vw, 6.5rem) 0;
    background: #f7f7f8;
    color: #261216;
}

#availability .availability-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 2rem;
}

#availability .availability-intro > div:first-child { max-width: 610px; }

#availability .section-label {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
    color: #d51d38;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#availability .availability-intro h2 {
    margin: 0 0 .55rem;
    color: #2c1116;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -.045em;
    line-height: 1.08;
}

#availability .availability-intro p {
    margin: 0;
    color: #80666c;
    font-size: .96rem;
}

#availability .availability-filter {
    width: min(100%, 355px);
    padding: 1rem;
    border: 1px solid #e5dfe1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(49, 16, 22, .055);
}

#availability .availability-filter label {
    display: block;
    margin-bottom: .45rem;
    color: #694b52;
    font-size: .68rem;
    font-weight: 700;
}

#availability .availability-filter-controls { display: grid; grid-template-columns: 1fr auto; gap: .55rem; }

#availability .availability-filter .form-select {
    min-height: 43px;
    border-color: #e2dade;
    border-radius: 10px;
    color: #3b2025;
    font-size: .8rem;
    box-shadow: none;
}

#availability .availability-filter .form-select:focus { border-color: #db7f8d; }

#availability .availability-check-btn {
    min-width: 70px;
    border-radius: 10px;
    background: #d91d38;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
}

#availability .availability-check-btn:hover { background: #b9152d; color: #fff; }

#availability .availability-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: .7rem .9rem;
    border: 1px solid #e8e2e3;
    border-radius: 12px;
    background: #fff;
    color: #755b61;
    font-size: .68rem;
    font-weight: 600;
}

#availability .availability-status-bar > span,
#availability .availability-status-bar > div,
#availability .availability-status-bar > div span {
    display: flex;
    align-items: center;
    gap: .45rem;
}

#availability .availability-status-bar > div { gap: 1rem; }

#availability .live-indicator,
#availability .status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #21a665;
}

#availability .live-indicator { box-shadow: 0 0 0 4px rgba(33, 166, 101, .12); }
#availability .status-dot.limited { background: #e7a01b; }
#availability .status-dot.critical { background: #df253e; }

#availability .blood-stock-card {
    --stock-color: #21a665;
    position: relative;
    height: 100%;
    min-height: 205px;
    padding: 1.25rem;
    border: 1px solid #e5dfe1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(49, 16, 22, .045);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#availability .blood-stock-card.stock-limited { --stock-color: #e7a01b; }
#availability .blood-stock-card.stock-critical { --stock-color: #df253e; }

#availability .blood-stock-card:hover {
    border-color: color-mix(in srgb, var(--stock-color) 32%, #e5dfe1);
    box-shadow: 0 16px 34px rgba(49, 16, 22, .09);
    transform: translateY(-4px);
}

#availability .blood-group-symbol {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 1.15rem;
    place-items: center;
    border-radius: 14px;
    background: #fff0f2;
    color: #d71d37;
    font-size: 1.02rem;
    font-weight: 700;
}

#availability .stock-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: .32rem .5rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--stock-color) 10%, white);
    color: var(--stock-color);
    font-size: .58rem;
    font-weight: 700;
}

#availability .stock-value { display: flex; align-items: baseline; gap: .35rem; }
#availability .stock-value strong {
    color: #2e1318;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1;
}

#availability .stock-value span { color: #987b81; font-size: .68rem; }

#availability .stock-line {
    height: 5px;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 999px;
    background: #f0ebec;
}

#availability .stock-line i { display: block; height: 100%; border-radius: inherit; background: var(--stock-color); }

#availability .availability-cards [hidden] { display: none !important; }

#availability .availability-help-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.2rem 1.3rem;
    border: 1px solid #f0cfd4;
    border-radius: 17px;
    background: #fff4f5;
}

#availability .availability-help-copy,
#availability .availability-help-actions { display: flex; align-items: center; gap: .85rem; }

#availability .help-icon {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    border-radius: 12px;
    background: #d91d38;
    color: #fff;
}

#availability .availability-help-copy strong { display: block; color: #3c1820; font-size: .85rem; }
#availability .availability-help-copy div span { color: #896970; font-size: .72rem; }

#availability .call-support-link {
    color: #7e535b;
    font-size: .74rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

#availability .request-blood-btn {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    gap: .45rem;
    padding: .65rem .9rem;
    border-radius: 10px;
    background: #d91d38;
    color: #fff;
    font-size: .76rem;
    font-weight: 700;
    white-space: nowrap;
}

#availability .request-blood-btn:hover { background: #b9152d; color: #fff; }

@media (max-width: 767.98px) {
    #availability .availability-intro { display: block; text-align: center; }
    #availability .availability-filter { margin: 1.4rem auto 0; text-align: left; }
    #availability .availability-status-bar { display: block; }
    #availability .availability-status-bar > div { margin-top: .65rem; justify-content: center; }
    #availability .availability-status-bar > span { justify-content: center; }
    #availability .availability-help-bar { display: block; text-align: center; }
    #availability .availability-help-copy { justify-content: center; text-align: left; }
    #availability .availability-help-actions { justify-content: center; margin-top: 1rem; }
}

@media (max-width: 575.98px) {
    #availability.availability-v3 {
        padding: 2.75rem 0;
        background: linear-gradient(180deg, #fff 0%, #f8f7f8 100%);
    }

    #availability.availability-v3 .container {
        padding-inline: 1rem;
    }

    #availability .availability-intro {
        text-align: left;
        margin-bottom: 1rem;
    }

    #availability .section-label {
        margin-bottom: .65rem;
        padding: .42rem .62rem;
        border: 1px solid #f1d8dd;
        border-radius: 999px;
        background: #fff;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    #availability .availability-intro h2 {
        font-size: clamp(1.85rem, 9vw, 2.35rem);
        letter-spacing: 0;
        line-height: 1.1;
    }

    #availability .availability-intro p {
        font-size: .84rem;
        line-height: 1.55;
    }

    #availability .availability-filter {
        width: 100%;
        margin-top: 1rem;
        padding: .85rem;
        border-radius: 14px;
    }

    #availability .availability-filter label {
        font-size: .64rem;
    }

    #availability .availability-filter-controls {
        grid-template-columns: 1fr;
        gap: .55rem;
    }

    #availability .availability-filter .form-select,
    #availability .availability-check-btn {
        min-height: 44px;
        border-radius: 11px;
        font-size: .82rem;
    }

    #availability .availability-status-bar {
        display: grid;
        grid-template-columns: 1fr;
        gap: .65rem;
        margin-bottom: .9rem;
        padding: .75rem;
        border-radius: 14px;
        font-size: .66rem;
    }

    #availability .availability-status-bar > span {
        justify-content: flex-start;
    }

    #availability .availability-status-bar > div {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .45rem;
        margin-top: 0;
    }

    #availability .availability-status-bar > div span {
        justify-content: center;
        min-height: 30px;
        padding: .35rem .28rem;
        border-radius: 999px;
        background: #f8f3f4;
        white-space: nowrap;
    }

    #availability .availability-cards {
        --bs-gutter-x: .75rem;
        --bs-gutter-y: .75rem;
    }

    #availability .blood-stock-card {
        min-height: 158px;
        padding: .85rem;
        border-radius: 16px;
        box-shadow: 0 10px 24px rgba(49, 16, 22, .055);
    }

    #availability .blood-group-symbol {
        width: 40px;
        height: 40px;
        margin-bottom: .85rem;
        border-radius: 12px;
        font-size: .88rem;
    }

    #availability .stock-badge {
        top: .8rem;
        right: .7rem;
        padding: .26rem .42rem;
        font-size: .5rem;
    }

    #availability .stock-value strong {
        font-size: 1.55rem;
        letter-spacing: 0;
    }

    #availability .stock-value span {
        font-size: .62rem;
    }

    #availability .stock-line {
        height: 4px;
        margin-top: .75rem;
    }

    #availability .availability-help-bar {
        display: grid;
        grid-template-columns: 1fr;
        gap: .9rem;
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 16px;
        text-align: left;
    }

    #availability .availability-help-copy {
        justify-content: flex-start;
        text-align: left;
    }

    #availability .help-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 11px;
    }

    #availability .availability-help-copy strong {
        font-size: .82rem;
    }

    #availability .availability-help-copy div span {
        font-size: .68rem;
        line-height: 1.4;
    }

    #availability .availability-help-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: .55rem;
        margin-top: 0;
    }

    #availability .call-support-link,
    #availability .request-blood-btn {
        justify-content: center;
        min-height: 44px;
        border-radius: 11px;
        font-size: .72rem;
    }

    #availability .call-support-link {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        padding: .6rem .45rem;
        border: 1px solid #f0cfd4;
        background: #fff;
    }
}

@media (max-width: 430px) {
    #availability .blood-stock-card { min-height: 150px; padding: .75rem; }
    #availability .blood-group-symbol { width: 38px; height: 38px; }
    #availability .stock-badge { top: .75rem; right: .65rem; font-size: .48rem; }
    #availability .stock-value strong { font-size: 1.45rem; }
    #availability .availability-status-bar > div { grid-template-columns: 1fr; }
    #availability .availability-status-bar > div span { justify-content: flex-start; padding-inline: .6rem; }
    #availability .availability-help-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .45rem;
    }

    #availability .call-support-link,
    #availability .request-blood-btn {
        width: 100%;
        gap: .3rem;
        padding-inline: .35rem;
        font-size: .66rem;
        white-space: nowrap;
    }
}

/* General Reset */
body {
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
}

/* Redesigned blood drive campaign */
#red-letter-day.event-campaign {
    position: relative;
    isolation: isolate;
    padding: clamp(4.75rem, 7vw, 7rem) 0;
    overflow: hidden;
    background: #fff;
    color: #2d1217;
}

#red-letter-day .event-campaign-glow {
    position: absolute;
    z-index: -1;
    top: -220px;
    left: -190px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(220, 29, 55, .07);
    filter: blur(4px);
}

#red-letter-day .event-campaign-card {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
    overflow: hidden;
    border: 1px solid #eadfe1;
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 28px 75px rgba(59, 14, 22, .12);
}

#red-letter-day .event-campaign-copy {
    position: relative;
    padding: clamp(2.2rem, 5vw, 4.5rem);
    overflow: hidden;
    background:
        radial-gradient(circle at 95% 15%, rgba(221, 28, 55, .07), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff9f9 100%);
}

#red-letter-day .event-campaign-copy::after {
    content: "RED";
    position: absolute;
    right: -18px;
    bottom: -42px;
    color: rgba(212, 25, 52, .035);
    font-size: clamp(8rem, 17vw, 15rem);
    font-weight: 700;
    letter-spacing: -.08em;
    line-height: 1;
    pointer-events: none;
}

#red-letter-day .event-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1rem;
    color: #d71d37;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#red-letter-day .event-campaign-copy h2 {
    position: relative;
    z-index: 1;
    max-width: 690px;
    margin: 0 0 1rem;
    color: #301217;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: 1;
    text-transform: none;
    text-shadow: none;
}

#red-letter-day .event-campaign-copy h2 span { color: #d91d38; }

#red-letter-day .event-campaign-copy > p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 0 1.5rem;
    color: #7d6067;
    font-size: .98rem;
    line-height: 1.7;
}

#red-letter-day .event-benefits {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: 1.8rem;
}

#red-letter-day .event-benefits span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .48rem .65rem;
    border: 1px solid #eadcdf;
    border-radius: 9px;
    background: rgba(255, 255, 255, .8);
    color: #6f4d54;
    font-size: .7rem;
    font-weight: 600;
}

#red-letter-day .event-benefits i { color: #d91d38; }

#red-letter-day .event-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

#red-letter-day .event-register-btn {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .75rem 1.15rem;
    border-radius: 12px;
    background: #d91d38;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    box-shadow: 0 13px 28px rgba(217, 29, 56, .22);
}

#red-letter-day .event-register-btn:hover {
    background: #b9152d;
    color: #fff;
    transform: translateY(-2px);
}

#red-letter-day .event-actions > span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: #92747b;
    font-size: .7rem;
}

#red-letter-day .event-schedule {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4vw, 3.25rem);
    background: linear-gradient(145deg, #3b070f, #741020 62%, #96172c);
    color: #fff;
}

#red-letter-day .event-schedule::after {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 220px;
    height: 220px;
    border: 38px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
}

#red-letter-day .event-date-card {
    display: grid;
    width: 132px;
    min-height: 142px;
    margin-bottom: 1.8rem;
    padding: .85rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: rgba(255, 255, 255, .09);
    box-shadow: inset 0 1px rgba(255, 255, 255, .1);
}

#red-letter-day .event-date-card span {
    color: #ff9aa8;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

#red-letter-day .event-date-card strong { color: #fff; font-size: 3.2rem; line-height: .95; }
#red-letter-day .event-date-card small { color: rgba(255, 255, 255, .56); font-size: .62rem; }

#red-letter-day .event-schedule-details { display: grid; gap: 1rem; }

#red-letter-day .event-schedule-details > div {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
}

#red-letter-day .event-detail-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    color: #ff97a6;
}

#red-letter-day .event-schedule-details p { margin: 0; }
#red-letter-day .event-schedule-details small { display: block; margin-bottom: .2rem; color: rgba(255, 255, 255, .5); font-size: .62rem; }
#red-letter-day .event-schedule-details strong { display: block; color: #fff; font-size: .76rem; font-weight: 600; line-height: 1.4; }

#red-letter-day .event-open-status {
    margin-top: 1.7rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

#red-letter-day .event-open-status > span {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .25rem;
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
}

#red-letter-day .event-open-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5be08b;
    box-shadow: 0 0 0 4px rgba(91, 224, 139, .12);
}

#red-letter-day .event-open-status small { color: rgba(255, 255, 255, .48); font-size: .62rem; }

@media (max-width: 991.98px) {
    #red-letter-day .event-campaign-card { grid-template-columns: 1fr; }
    #red-letter-day .event-schedule { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1.5rem 2rem; }
    #red-letter-day .event-date-card { margin: 0; }
    #red-letter-day .event-open-status { grid-column: 1 / -1; margin-top: 0; }
}

@media (max-width: 575.98px) {
    #red-letter-day.event-campaign {
        padding: 2.75rem 0;
        background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
    }

    #red-letter-day.event-campaign .container {
        padding-inline: 1rem;
    }

    #red-letter-day .event-campaign-glow,
    #red-letter-day .event-campaign-copy::after,
    #red-letter-day .event-schedule::after {
        display: none;
    }

    #red-letter-day .event-campaign-card {
        border-radius: 18px;
        box-shadow: 0 14px 36px rgba(59, 14, 22, .1);
    }

    #red-letter-day .event-campaign-copy {
        padding: 1.15rem;
        text-align: left;
    }

    #red-letter-day .event-kicker {
        margin-bottom: .7rem;
        padding: .42rem .62rem;
        border: 1px solid #f2d6dc;
        border-radius: 999px;
        background: #fff;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    #red-letter-day .event-campaign-copy h2 {
        margin-bottom: .75rem;
        font-size: clamp(1.85rem, 10vw, 2.45rem);
        letter-spacing: 0;
        line-height: 1.08;
    }

    #red-letter-day .event-campaign-copy > p {
        margin-bottom: 1rem;
        font-size: .84rem;
        line-height: 1.55;
    }

    #red-letter-day .event-benefits {
        display: grid;
        grid-template-columns: 1fr;
        gap: .5rem;
        margin-bottom: 1rem;
    }

    #red-letter-day .event-benefits span {
        min-height: 40px;
        padding: .55rem .65rem;
        border-radius: 11px;
        background: #fff;
        font-size: .76rem;
    }

    #red-letter-day .event-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: .7rem;
        align-items: stretch;
    }

    #red-letter-day .event-register-btn {
        width: 100%;
        min-height: 48px;
        border-radius: 12px;
        font-size: .84rem;
    }

    #red-letter-day .event-actions > span {
        justify-content: center;
        min-height: 38px;
        padding: .5rem .65rem;
        border-radius: 11px;
        background: #fff4f5;
        font-size: .68rem;
        text-align: center;
    }

    #red-letter-day .event-schedule {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.15rem;
        text-align: left;
    }

    #red-letter-day .event-date-card {
        width: 100%;
        min-height: auto;
        margin: 0;
        grid-template-columns: auto 1fr;
        column-gap: .8rem;
        justify-items: start;
        padding: .85rem;
        border-radius: 15px;
    }

    #red-letter-day .event-date-card span,
    #red-letter-day .event-date-card small {
        grid-column: 2;
    }

    #red-letter-day .event-date-card strong {
        grid-row: 1 / 3;
        font-size: 2.65rem;
    }

    #red-letter-day .event-schedule-details {
        width: 100%;
        gap: .65rem;
    }

    #red-letter-day .event-schedule-details > div {
        padding: .75rem;
        border-radius: 13px;
        background: rgba(255, 255, 255, .08);
    }

    #red-letter-day .event-detail-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    #red-letter-day .event-schedule-details strong {
        font-size: .78rem;
    }

    #red-letter-day .event-open-status {
        width: 100%;
        margin-top: 0;
        padding: .8rem;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 13px;
        text-align: left;
    }
}

/* Section Styling with Background Animation */
.event-section {
    padding: 6rem 0;
    position: relative;
    background-color: #fff;
    animation: fadeInBackground 3s ease-out forwards;
    overflow: hidden;
}

/* Event Content */
.event-content {
    background: rgba(241, 221, 221, 0.95);
    border-radius: 20px;
    padding: 4rem 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Event Title */
.event-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #c0392b; /* Red color */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: slideInFromLeft 1.5s ease-out;
}

/* Event Description */
.event-description {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.8;
    animation: fadeIn 1.5s ease-in-out;
    
}

/* Event Details Title */
.event-details-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: #e74c3c;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: slideInFromRight 1.5s ease-out;
}

/* Event Details List */
.event-details-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.1rem;
    animation: fadeIn 1.5s ease-in-out;
}

.event-details-list li {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;  /* Center items horizontally */
    align-items: center;      /* Center items vertically */
    text-align: center;       /* Ensure text is centered */
    position: relative;
}

/* Button Styling */
.btn-red {
    background-color: #e74c3c;
    color: #fff;
    padding: 1.2rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    border: none;
    transition: background 0.3s ease, transform 0.3s ease;
    animation: pulseRed 1.5s ease-in-out infinite;
}

.btn-red:hover {
    background-color: #c0392b;
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(30px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes bloodDrop {
    0% {
        transform: translateY(-20px);
        opacity: 1;
    }
    50% {
        transform: translateY(20px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

@keyframes pulseRed {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.5);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(231, 76, 60, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.5);
    }
}

@keyframes fadeInBackground {
    from {
        background-color: transparent;
    }
    to {
        background-color: #fff; /* White background */
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .event-content {
        padding: 2rem;
    }

    .event-title {
        font-size: 2.5rem;
    }

    .event-description {
        font-size: 1.1rem;
    }

    .event-details-title {
        font-size: 1.4rem;
    }

    .btn-red {
        font-size: 1rem;
        padding: 1rem 3rem;
    }
}

/* For screens smaller than 1024px (Tablets and smaller devices) */
@media (max-width: 1024px) {
    .event-title {
      font-size: 1.875rem; /* 2xl */
    }
  
    .event-description {
      font-size: 1rem; /* base */
    }
  
    .event-details-title {
      font-size: 1.125rem; /* lg */
    }
  
    .btn-red {
      padding: 0.625rem 1.5rem;
      font-size: 1rem; /* base */
    }
  }
  
  /* For screens smaller than 768px (Mobile devices) */
  @media (max-width: 768px) {
    .event-content {
      padding-left: 1rem;
      padding-right: 1rem;
    }
  
    .event-title {
      font-size: 1.5rem; /* 2xl */
      margin-bottom: 0.75rem;
    }
  
    .event-description {
      font-size: 0.875rem; /* sm */
      margin-bottom: 1rem;
    }
  
    .event-details-title {
      font-size: 1rem; /* base */
      margin-bottom: 0.75rem;
    }
  
    .event-details-list {
      font-size: 0.875rem; /* sm */
    }
  
    .btn-red {
      width: 65%;
      padding: 0.75rem;
      font-size: 1rem; /* base */
    }
  }
  
  /* For screens smaller than 480px (Very small screens, e.g., older smartphones) */
  @media (max-width: 480px) {
    .event-title {
      font-size: 1.25rem; /* xl */
      margin-bottom: 0.5rem;
    }
  
    .event-description {
      font-size: 0.75rem; /* xs */
      margin-bottom: 0.75rem;
    }
  
    .event-details-title {
      font-size: 0.875rem; /* sm */
      margin-bottom: 0.5rem;
    }
  
    .event-details-list {
      font-size: 0.75rem; /* xs */
    }
  
    .btn-red {
      font-size: 0.875rem; /* sm */
      padding: 0.75rem;
    }
  }

/* Scoped styles for the Registration Modal */
.registration-modal .modal-header {
    border-bottom: 2px solid #e5e5e5;
    background: linear-gradient(to right, #dc3545, #ff6347);
}

.registration-modal .modal-header .modal-title {
    font-weight: bold;
    font-size: 1.5rem;
}

.registration-modal .modal-body {
    background: #f9f9f9;
    border-radius: 0.5rem;
}

.registration-modal .form-label {
    font-size: 1rem;
    color: #333;
}

.registration-modal .form-control,
.registration-modal .form-select {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.8rem;
    transition: box-shadow 0.3s ease;
}

.registration-modal .form-control:focus,
.registration-modal .form-select:focus {
    border-color: #ff0000;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.registration-modal .btn-primary {
    background: linear-gradient(to right, #dc3545, #ff6347);
    border: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.registration-modal .btn-primary:hover {
    background: #850000;
    transform: scale(1.03);
}

.registration-modal .btn-close {
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 575.98px) {
    .registration-modal .modal-dialog {
        margin: .75rem;
    }

    .registration-modal .modal-content {
        overflow: hidden;
        border: 0;
        border-radius: 18px;
        box-shadow: 0 18px 46px rgba(44, 9, 16, .22);
    }

    .registration-modal .modal-header {
        align-items: center;
        padding: 1rem;
        border-bottom: 0;
        background: linear-gradient(135deg, #8f1122, #dc3545);
    }

    .registration-modal .modal-header .modal-title {
        max-width: calc(100% - 44px);
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .registration-modal .btn-close {
        width: 34px;
        height: 34px;
        margin: 0;
        padding: .45rem;
        flex: 0 0 34px;
        opacity: 1;
    }

    .registration-modal .modal-body {
        max-height: calc(100vh - 104px);
        max-height: calc(100dvh - 104px);
        padding: 1rem !important;
        overflow-y: auto;
        border-radius: 0;
        background: #fbf9f9 !important;
    }

    .registration-modal form .mb-4 {
        margin-bottom: .85rem !important;
    }

    .registration-modal .form-label {
        margin-bottom: .35rem;
        color: #4f2d34;
        font-size: .78rem;
    }

    .registration-modal .form-control,
    .registration-modal .form-select {
        min-height: 46px;
        padding: .7rem .8rem;
        border-color: #eadde0;
        border-radius: 12px;
        background-color: #fff;
        font-size: .86rem;
        box-shadow: none;
    }

    .registration-modal .form-control::placeholder {
        color: #a9949a;
    }

    .registration-modal .form-control:focus,
    .registration-modal .form-select:focus {
        border-color: #d84c61;
        box-shadow: 0 0 0 3px rgba(220, 53, 69, .1);
    }

    .registration-modal .btn-primary {
        min-height: 48px;
        margin-top: .15rem;
        border-radius: 12px !important;
        background: #d91d38;
        font-size: .9rem;
        box-shadow: 0 10px 22px rgba(217, 29, 56, .2) !important;
    }
}



/* Redesigned donor and request process */
#how-it-works.process-section {
    position: relative;
    isolation: isolate;
    height: auto;
    padding: clamp(4.75rem, 7vw, 6.75rem) 0;
    overflow: hidden;
    background: #21060b;
    color: #fff;
}

#how-it-works .process-background-video {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#how-it-works .process-video-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 15% 10%, rgba(232, 29, 59, .24), transparent 30%),
        linear-gradient(115deg, rgba(22, 3, 7, .94), rgba(56, 5, 14, .86) 55%, rgba(22, 3, 7, .93));
    backdrop-filter: blur(1px);
}

#how-it-works .process-heading {
    max-width: 720px;
    margin: 0 auto 2.6rem;
}

#how-it-works .process-heading > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #d71d38;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#how-it-works .process-heading h2 {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: clamp(2.25rem, 4.2vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.07;
}

#how-it-works .process-heading p {
    max-width: 630px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .68);
    font-size: .96rem;
    line-height: 1.65;
}

#how-it-works .process-path-card {
    --path-color: #d91d38;
    position: relative;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background:
        radial-gradient(circle at 100% 0, color-mix(in srgb, var(--path-color) 18%, transparent), transparent 31%),
        rgba(27, 3, 8, .75);
    box-shadow: 0 28px 65px rgba(0, 0, 0, .36);
    backdrop-filter: blur(16px);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

#how-it-works .request-path {
    --path-color: #a94a62;
}

#how-it-works .process-path-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 1.8rem;
    left: 1.8rem;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, transparent, var(--path-color), transparent);
}

#how-it-works .process-path-card:hover {
    border-color: rgba(255, 255, 255, .22);
    box-shadow: 0 34px 80px rgba(0, 0, 0, .44);
    transform: translateY(-6px);
}

#how-it-works .process-path-header {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-bottom: 1.25rem;
    padding: .25rem .15rem 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, .11);
}

#how-it-works .process-path-icon {
    display: grid;
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    place-items: center;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--path-color) 42%, rgba(255,255,255,.12));
    background: color-mix(in srgb, var(--path-color) 18%, rgba(255,255,255,.06));
    color: #ff92a1;
    font-size: 1.25rem;
    box-shadow: inset 0 1px rgba(255,255,255,.12);
}

#how-it-works .process-path-header small {
    display: block;
    margin-bottom: .2rem;
    color: var(--path-color);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#how-it-works .process-path-header h3 {
    margin: 0;
    color: #fff;
    font-size: 1.12rem;
    font-weight: 700;
}

#how-it-works .process-step-count {
    margin-left: auto;
    padding: .35rem .55rem;
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 999px;
    background: rgba(255,255,255,.06);
    color: rgba(255,255,255,.58);
    font-size: .6rem;
    font-weight: 700;
    white-space: nowrap;
}

#how-it-works .process-step-list {
    display: grid;
    gap: .65rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    counter-reset: none;
}

#how-it-works .process-step-list li {
    position: relative;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: .75rem;
    min-height: 98px;
    padding: .9rem;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 15px;
    background: rgba(255,255,255,.035);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

#how-it-works .process-step-list li:hover {
    border-color: color-mix(in srgb, var(--path-color) 35%, rgba(255,255,255,.08));
    background: rgba(255, 255, 255, .07);
    transform: translateX(4px);
}

#how-it-works .process-step-list li:not(:last-child)::after {
    display: none;
}

#how-it-works .process-step-number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid var(--path-color);
    border-radius: 50%;
    background: var(--path-color);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
}

#how-it-works .process-step-list h4 {
    margin: 0 0 .25rem;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
}

#how-it-works .process-step-list p {
    margin: 0;
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
    line-height: 1.45;
}

#how-it-works .process-step-list li > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    background: rgba(255,255,255,.055);
    color: rgba(255, 255, 255, .42);
    font-size: .95rem;
}

#how-it-works .process-path-btn {
    display: flex;
    width: 100%;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border: 1px solid var(--path-color);
    border-radius: 12px;
    background: var(--path-color);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
}

#how-it-works .process-path-btn:hover {
    background: color-mix(in srgb, var(--path-color) 84%, black);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--path-color) 30%, transparent);
}

#how-it-works .process-support-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
    background: rgba(26, 3, 8, .58);
    color: rgba(255, 255, 255, .62);
    font-size: .74rem;
}

#how-it-works .process-support-note > i { color: #d91d38; font-size: 1.05rem; }
#how-it-works .process-support-note strong { color: #fff; }
#how-it-works .process-support-note a { color: #ff94a3; font-weight: 700; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
    #how-it-works .process-background-video { display: none; }
}

@media (max-width: 575.98px) {
    #how-it-works.process-section {
        padding: 2.5rem 0;
        background: linear-gradient(180deg, #21060b 0%, #3b0710 54%, #25070d 100%);
    }

    #how-it-works .process-background-video {
        display: none;
    }

    #how-it-works .process-video-overlay {
        background:
            radial-gradient(circle at 10% 0%, rgba(232, 29, 59, .22), transparent 11rem),
            radial-gradient(circle at 92% 28%, rgba(255, 255, 255, .08), transparent 9rem),
            linear-gradient(180deg, rgba(22, 3, 7, .96), rgba(56, 5, 14, .93));
    }

    #how-it-works.process-section .container {
        padding-inline: 1rem;
    }

    #how-it-works .process-heading {
        margin-bottom: 1.15rem;
        text-align: left !important;
    }

    #how-it-works .process-heading > span {
        margin-bottom: .65rem;
        padding: .4rem .62rem;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 999px;
        background: rgba(255, 255, 255, .07);
        color: #ff9cab;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    #how-it-works .process-heading h2 {
        max-width: 21rem;
        margin-bottom: .7rem;
        font-size: clamp(1.8rem, 8.6vw, 2.3rem);
        letter-spacing: 0;
        line-height: 1.1;
    }

    #how-it-works .process-heading p {
        max-width: none;
        margin: 0;
        font-size: .84rem;
        line-height: 1.55;
    }

    #how-it-works .process-paths {
        --bs-gutter-y: .85rem;
    }

    #how-it-works .process-path-card {
        padding: .9rem;
        border-color: rgba(255, 255, 255, .14);
        border-radius: 16px;
        background: rgba(255, 255, 255, .075);
        box-shadow: 0 16px 34px rgba(0, 0, 0, .26);
        transform: none;
    }

    #how-it-works .process-path-card:hover {
        transform: none;
    }

    #how-it-works .process-path-card::before {
        right: .9rem;
        left: .9rem;
    }

    #how-it-works .process-path-header {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) auto;
        align-items: center;
        gap: .65rem;
        margin-bottom: .85rem;
        padding: 0 0 .85rem;
    }

    #how-it-works .process-path-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        border-radius: 12px;
        font-size: 1rem;
    }

    #how-it-works .process-path-header small {
        font-size: .58rem;
    }

    #how-it-works .process-path-header h3 {
        font-size: .93rem;
        line-height: 1.25;
    }

    #how-it-works .process-step-count {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        padding: .3rem .45rem;
        font-size: .55rem;
    }

    #how-it-works .process-step-list {
        gap: .5rem;
        margin-bottom: .9rem;
    }

    #how-it-works .process-step-list li {
        grid-template-columns: 30px minmax(0, 1fr);
        gap: .6rem;
        min-height: auto;
        padding: .68rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, .055);
    }

    #how-it-works .process-step-list li:hover {
        transform: none;
    }

    #how-it-works .process-step-number {
        width: 30px;
        height: 30px;
        font-size: .58rem;
    }

    #how-it-works .process-step-list h4 {
        margin-bottom: .2rem;
        font-size: .82rem;
    }

    #how-it-works .process-step-list p {
        font-size: .68rem;
        line-height: 1.45;
    }

    #how-it-works .process-step-list li > i {
        display: none;
    }

    #how-it-works .process-path-btn {
        width: 100%;
        min-height: 44px;
        border-radius: 12px;
        font-size: .78rem;
    }

    #how-it-works .process-support-note {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        gap: .6rem;
        align-items: start;
        margin-top: .9rem;
        padding: .75rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, .075);
        text-align: left;
    }

    #how-it-works .process-support-note > i {
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border-radius: 9px;
        background: rgba(255, 255, 255, .08);
    }

    #how-it-works .process-support-note span {
        min-width: 0;
        font-size: .7rem;
        line-height: 1.45;
    }

    #how-it-works .process-support-note a {
        grid-column: 1 / -1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        width: 100%;
        border-radius: 11px;
        background: rgba(255, 255, 255, .08);
    }
}

/* Custom Styles for Blood Bank Section */
.custom-about-bloodbank {
    background: linear-gradient(135deg, #fcf3f3, #e9c1c2); /* Soft gradient for modern appeal */
    padding-top: 5rem;
    padding-bottom: 5rem;
    height: 77vh; /* Set container height to 80% of the viewport height */
    min-height: 100px; /* Ensures the container doesn't shrink below a certain height */
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease-in-out;
    margin-top: 100px;
    margin-bottom: 50px;
}

.custom-about-bloodbank:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #e63946; /* Strong red for urgency */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    text-align: left;
    
}

.about-description {
    font-size: 1.25rem;
    color: #495057; /* Dark gray text for readability */
    line-height: 1.7;
    margin-bottom: 2.5rem;
   
}

.custom-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
    background: linear-gradient(45deg, #e63946, #d92f3a);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.custom-btn:hover {
    transform: translateY(-4px) scale(1.05);
    background: linear-gradient(45deg, #d92f3a, #e63946);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.custom-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 99, 71, 0.6);
}

.custom-btn.secondary {
    background: linear-gradient(45deg, #de5b62, #d53147);
}

.custom-btn.secondary:hover {
    background: linear-gradient(45deg, #d53131, #de5b68);
}

.custom-btn:active {
    animation: pulse 1s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Custom Image Styling */
.img-container {
    position: relative;
    overflow: hidden;
    margin-left: 30px;
    margin-right: 30px;
    height: 100%; /* Ensure the container takes up full height of the parent section */
}

.img-container img {
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    height: 63vh; /* Makes image fill the container's height */
    object-fit: cover; /* Ensures the image maintains aspect ratio without distortion */
}

.img-container img:hover {
    transform: scale(1.1); /* Zoom-in effect */
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
    .custom-about-bloodbank {
        padding-top: 4rem;
        padding-bottom: 4rem;
        height: auto; /* For mobile, height will adjust based on content */
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-description {
        font-size: 1.125rem;
    }

    .custom-btn {
        padding: 0.9rem 2rem;
    }
    .custom-about-bloodbank .img-container img {
        height: 300px;
        object-fit: cover;
      }
}
/* Scoped Media Queries */
@media (max-width: 768px) {
    .custom-about-bloodbank {
      padding: 2rem 1rem;
    }
  
    .custom-about-bloodbank .about-title {
      font-size: 1.5rem;
    }
  
    .custom-about-bloodbank .about-description {
      font-size: 0.9rem;
    }
  
    .custom-about-bloodbank .d-flex {
      flex-direction: column !important;
      gap: 1rem;
    }
  
    .custom-about-bloodbank .custom-btn {
      width: 65%;
      padding: 0.35rem;
    }
    /* Align buttons in one line */
  .custom-about-bloodbank .d-flex {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between;
    gap: 1rem;
  }

  .custom-about-bloodbank .custom-btn {
    padding: 0.75rem;
  }
}


  @media (max-width: 576px) {
    .custom-about-bloodbank .about-title {
      font-size: 1.3rem;
    }

    .custom-about-bloodbank .about-description {
      font-size: 0.85rem;
    }

    .custom-about-bloodbank .custom-btn {
      font-size: 0.9rem;
      padding: 0.6rem;
    }
  }

  @media (min-width: 1200px) {
    .custom-about-bloodbank {
      padding: 5rem 3rem;
    }

    .custom-about-bloodbank .about-title {
      font-size: 2rem;
    }

    .custom-about-bloodbank .about-description {
      font-size: 1.1rem;
    }

    .custom-about-bloodbank .custom-btn {
      font-size: 1.1rem;
    }
  }


/* Redesigned pre-donation preparation section */
#pre-donation.donation-prep {
    position: relative;
    padding: clamp(5rem, 8vw, 7rem) 0;
    overflow: hidden;
    background: #fff;
    color: #301419;
}

#pre-donation.donation-prep::before {
    content: "";
    position: absolute;
    top: -210px;
    right: -180px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background: rgba(217, 29, 56, .055);
    pointer-events: none;
}

#pre-donation .prep-visual {
    position: relative;
    max-width: 590px;
    padding: 0 1.2rem 1.2rem 0;
}

#pre-donation .prep-visual > img {
    display: block;
    width: 100%;
    height: clamp(470px, 48vw, 610px);
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(61, 15, 23, .2);
}

#pre-donation .prep-visual-overlay {
    position: absolute;
    inset: 0 1.2rem 1.2rem 0;
    border-radius: 28px;
    background: linear-gradient(to top, rgba(44, 5, 12, .42), transparent 48%);
}

#pre-donation .prep-visual::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 72%;
    height: 72%;
    border-radius: 28px;
    background: #f3d9dd;
}

#pre-donation .prep-safety-card {
    position: absolute;
    right: -8px;
    bottom: 48px;
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .8rem .9rem;
    border: 1px solid rgba(83, 24, 34, .1);
    border-radius: 15px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 18px 38px rgba(56, 14, 21, .2);
    backdrop-filter: blur(12px);
}

#pre-donation .prep-safety-card > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 11px;
    background: #e8f7ef;
    color: #19935a;
    font-size: 1.15rem;
}

#pre-donation .prep-safety-card strong { display: block; color: #33151a; font-size: .78rem; }
#pre-donation .prep-safety-card small { display: block; margin-top: .15rem; color: #917078; font-size: .61rem; }

#pre-donation .prep-impact-badge {
    position: absolute;
    top: 34px;
    left: -25px;
    display: grid;
    width: 112px;
    min-height: 112px;
    padding: .8rem;
    place-content: center;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #d91d38;
    color: #fff;
    text-align: center;
    box-shadow: 0 16px 35px rgba(84, 12, 24, .24);
}

#pre-donation .prep-impact-badge strong { font-size: 2rem; line-height: 1; }
#pre-donation .prep-impact-badge span { font-size: .58rem; line-height: 1.2; }

#pre-donation .prep-content { max-width: 620px; }

#pre-donation .prep-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .85rem;
    color: #d91d38;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#pre-donation .prep-content h2 {
    max-width: 610px;
    margin: 0 0 1rem;
    color: #301217;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 700;
    letter-spacing: -.052em;
    line-height: 1.04;
}

#pre-donation .prep-lead {
    max-width: 560px;
    margin: 0 0 1.7rem;
    color: #80646a;
    font-size: .98rem;
    line-height: 1.65;
}

#pre-donation .prep-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
    margin-bottom: 1.8rem;
}

#pre-donation .prep-checklist > div {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: .85rem;
    border: 1px solid #ebe2e4;
    border-radius: 13px;
    background: #fcfafa;
    transition: border-color .2s ease, transform .2s ease, background-color .2s ease;
}

#pre-donation .prep-checklist > div:hover {
    border-color: #efcbd1;
    background: #fff6f7;
    transform: translateY(-3px);
}

#pre-donation .prep-checklist > div > span {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 9px;
    background: #ffe8eb;
    color: #d51d37;
}

#pre-donation .prep-checklist p { margin: 0; }
#pre-donation .prep-checklist strong { display: block; margin-bottom: .2rem; color: #3b1a20; font-size: .75rem; }
#pre-donation .prep-checklist small { display: block; color: #92737a; font-size: .64rem; line-height: 1.4; }

#pre-donation .prep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }

#pre-donation .prep-actions .btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .75rem 1rem;
    border-radius: 12px;
    font-size: .78rem;
    font-weight: 700;
}

#pre-donation .prep-primary-btn {
    background: #d91d38;
    color: #fff;
    box-shadow: 0 13px 27px rgba(217, 29, 56, .2);
}

#pre-donation .prep-primary-btn:hover { background: #b9162e; color: #fff; transform: translateY(-2px); }

#pre-donation .prep-video-btn {
    border: 1px solid #e7dce0;
    background: #fff;
    color: #5f4047;
}

#pre-donation .prep-video-btn span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: #ffe7eb;
    color: #d91d38;
    font-size: 1rem;
}

#pre-donation .prep-video-btn:hover { border-color: #efc9d0; background: #fff6f7; color: #471f27; }

#videoModal .modal-dialog {
    max-width: min(900px, calc(100vw - 2rem));
}

#videoModal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: #150407;
    box-shadow: 0 30px 90px rgba(31, 4, 10, .38);
}

#videoModal .modal-header {
    align-items: center;
    gap: 1rem;
    min-height: 64px;
    padding: .8rem 1rem;
    border: 0;
    background:
        radial-gradient(circle at 8% 0%, rgba(255, 112, 134, .24), transparent 14rem),
        linear-gradient(135deg, #310811 0%, #861326 100%);
}

#videoModal .modal-title {
    color: #fff;
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: 0;
}

#videoModal .btn-close {
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, .14);
    background-size: .74rem;
    filter: invert(1);
    opacity: .95;
    transition: background-color .2s ease, transform .2s ease;
}

#videoModal .btn-close:hover {
    background-color: rgba(255, 255, 255, .22);
    transform: scale(1.04);
}

#videoModal .modal-body {
    padding: .7rem;
    background:
        radial-gradient(circle at 50% 0%, rgba(217, 29, 56, .18), transparent 18rem),
        linear-gradient(180deg, #1b0509 0%, #0b0204 100%);
}

#videoModal .ratio {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 8rem);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    background: #000;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .28);
}

#videoModal .ratio::before {
    display: none;
}

#videoModal video {
    position: absolute;
    inset: 0;
    z-index: auto;
    display: block;
    width: 100%;
    height: 100%;
    background: #000;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 575.98px) {
    #videoModal .modal-dialog {
        display: flex;
        min-height: calc(100vh - 1.5rem);
        min-height: calc(100dvh - 1.5rem);
        align-items: center;
        margin: .75rem;
    }

    #videoModal .modal-content {
        overflow: hidden;
        border: 0;
        border-radius: 18px;
        background: #160407;
        box-shadow: 0 22px 58px rgba(35, 5, 11, .38);
    }

    #videoModal .modal-header {
        align-items: center;
        gap: .75rem;
        min-height: 58px;
        padding: .72rem .85rem;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
        background: linear-gradient(135deg, #3f0710, #8b1225);
    }

    #videoModal .modal-title {
        max-width: calc(100% - 44px);
        color: #fff;
        font-size: .95rem;
        font-weight: 800;
        line-height: 1.2;
    }

    #videoModal .btn-close {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        margin: 0;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, .14);
        background-size: .72rem;
        filter: invert(1);
        opacity: 1;
    }

    #videoModal .modal-body {
        padding: .5rem;
        background:
            radial-gradient(circle at 50% 0%, rgba(217, 29, 56, .22), transparent 10rem),
            #160407;
    }

    #videoModal .ratio {
        max-height: calc(100vh - 7.5rem);
        max-height: calc(100dvh - 7.5rem);
        overflow: hidden;
        border-radius: 14px;
        background: #000;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
    }

    #videoModal video {
        width: 100%;
        height: 100%;
        max-height: calc(100vh - 9.5rem);
        max-height: calc(100dvh - 9.5rem);
        border-radius: 14px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 991.98px) {
    #pre-donation .prep-visual { max-width: 680px; margin: 0 auto; }
    #pre-donation .prep-content { max-width: 680px; margin: 0 auto; text-align: center; }
    #pre-donation .prep-lead { margin-right: auto; margin-left: auto; }
    #pre-donation .prep-checklist { text-align: left; }
    #pre-donation .prep-actions { justify-content: center; }
}

@media (max-width: 575.98px) {
    #pre-donation.donation-prep {
        padding: 2.75rem 0;
        background: linear-gradient(180deg, #fff 0%, #fff8f9 100%);
    }

    #pre-donation.donation-prep::before {
        display: none;
    }

    #pre-donation.donation-prep .container {
        padding-inline: 1rem;
    }

    #pre-donation .row {
        --bs-gutter-y: 1.25rem;
    }

    #pre-donation .prep-visual {
        max-width: none;
        padding: 0;
    }

    #pre-donation .prep-visual > img {
        height: 300px;
        border-radius: 18px;
        box-shadow: 0 18px 40px rgba(61, 15, 23, .15);
    }

    #pre-donation .prep-visual-overlay {
        inset: 0;
        border-radius: 18px;
    }

    #pre-donation .prep-visual::after {
        display: none;
    }

    #pre-donation .prep-impact-badge {
        top: .75rem;
        left: .75rem;
        width: 76px;
        min-height: 76px;
        padding: .55rem;
        border-width: 4px;
    }

    #pre-donation .prep-impact-badge strong {
        font-size: 1.55rem;
    }

    #pre-donation .prep-impact-badge span {
        font-size: .5rem;
    }

    #pre-donation .prep-safety-card {
        right: .75rem;
        bottom: .75rem;
        left: .75rem;
        gap: .6rem;
        padding: .65rem;
        border-radius: 13px;
    }

    #pre-donation .prep-safety-card > span {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        font-size: .95rem;
    }

    #pre-donation .prep-safety-card strong {
        font-size: .72rem;
    }

    #pre-donation .prep-safety-card small {
        font-size: .56rem;
    }

    #pre-donation .prep-content {
        max-width: none;
        text-align: left;
    }

    #pre-donation .prep-eyebrow {
        margin-bottom: .7rem;
        padding: .42rem .62rem;
        border: 1px solid #f2d6dc;
        border-radius: 999px;
        background: #fff;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    #pre-donation .prep-content h2 {
        max-width: 22rem;
        margin-bottom: .75rem;
        font-size: clamp(1.85rem, 9vw, 2.35rem);
        letter-spacing: 0;
        line-height: 1.1;
    }

    #pre-donation .prep-lead {
        max-width: none;
        margin: 0 0 1rem;
        font-size: .84rem;
        line-height: 1.55;
    }

    #pre-donation .prep-checklist {
        grid-template-columns: 1fr;
        gap: .6rem;
        margin-bottom: 1rem;
    }

    #pre-donation .prep-checklist > div {
        gap: .6rem;
        padding: .75rem;
        border-radius: 13px;
        background: #fff;
    }

    #pre-donation .prep-checklist > div > span {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 9px;
    }

    #pre-donation .prep-checklist strong {
        font-size: .76rem;
    }

    #pre-donation .prep-checklist small {
        font-size: .63rem;
    }

    #pre-donation .prep-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .55rem;
    }

    #pre-donation .prep-actions .btn {
        width: 100%;
        min-height: 44px;
        padding: .62rem .45rem;
        border-radius: 12px;
        font-size: .68rem;
        white-space: nowrap;
    }

    #pre-donation .prep-video-btn {
        gap: .35rem;
    }

    #pre-donation .prep-video-btn span {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        font-size: .82rem;
    }
}

/* Emergency Section */
.emergency-section {
    background: #f8f9fa;
    padding: 4rem 0;
    
    
}

/* Section Title */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #E63946;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Emergency Card */
.emergency-card {
    
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: -10px;
}

.emergency-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Card Top */
.card-top {
    padding: 1rem;
    background: #d9232d;
    text-align: center;
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

.blood-group {
    font-size: 2.8rem;
    font-weight: bold;
}

.urgent-tag {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    background: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* Card Content */
.card-content {
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.detail {
    margin-bottom: 0.8rem;
    color: #555;
}

/* Card Bottom (Button Section) */
.card-bottom {
    padding: 1rem;
    background: #f7f7f7;
    text-align: center;
}

.card-bottom .btn {
    background: #e63946;
    color: #ffffff;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
}

.card-bottom .btn:hover {
    background: #d9232d;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.5);
    transform: translateY(-3px);
}

.card-bottom .btn:active {
    background: #b71c1c;
    transform: translateY(0);
}

.card-bottom .btn.w-100 {
    width: 100%;
}

/* Focus State */
.card-bottom .btn:focus {
    outline: 2px solid #ff6b6b;
    outline-offset: 3px;
}


/* Redesigned emergency request dashboard */
#emergency.emergency-requests-v2 {
    position: relative;
    padding: clamp(4.75rem, 7vw, 6.75rem) 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 94, 118, .28), transparent 26%),
        radial-gradient(circle at 8% 92%, rgba(119, 0, 21, .7), transparent 34%),
        linear-gradient(135deg, #26050b 0%, #600b19 52%, #92152a 100%);
    color: #fff;
}

#emergency.emergency-requests-v2::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: radial-gradient(rgba(255,255,255,.75) .7px, transparent .7px);
    background-size: 24px 24px;
    pointer-events: none;
}

#emergency.emergency-requests-v2 > .container { position: relative; }

#emergency .emergency-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 2.3rem;
}

#emergency .emergency-heading > div:first-child { max-width: 720px; }

#emergency .emergency-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #ff93a3;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#emergency .emergency-heading h2 {
    margin: 0 0 .7rem;
    color: #fff;
    font-size: clamp(2.3rem, 4.2vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.07;
}

#emergency .emergency-heading p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.66);
    font-size: .94rem;
    line-height: 1.65;
}

#emergency .emergency-live-status {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-width: 170px;
    padding: .75rem .85rem;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    background: rgba(255,255,255,.09);
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    backdrop-filter: blur(12px);
}

#emergency .emergency-live-status > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5ce08b;
    box-shadow: 0 0 0 5px rgba(92,224,139,.13);
    animation: availabilityPulse 2s ease-in-out infinite;
}

#emergency .emergency-live-status strong { display: block; color: #fff; font-size: .7rem; }
#emergency .emergency-live-status span { color: rgba(255,255,255,.55); font-size: .6rem; line-height: 1.3; }

#emergency .request-card {
    position: relative;
    height: 100%;
    padding: 1.35rem;
    overflow: hidden;
    border: 1px solid #e7dfe1;
    border-radius: 21px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(57, 15, 22, .07);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

#emergency .request-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: #df4a5f;
}

#emergency .request-card:hover {
    border-color: #ecc5cb;
    box-shadow: 0 23px 52px rgba(57, 15, 22, .12);
    transform: translateY(-6px);
}

#emergency .critical-request {
    border-color: #edbec6;
    background: linear-gradient(145deg, #fff 0%, #fff7f8 100%);
}

#emergency .critical-request::before { height: 4px; background: #d71935; }

#emergency .critical-ribbon {
    position: absolute;
    top: 0;
    right: 1.2rem;
    padding: .4rem .58rem;
    border-radius: 0 0 8px 8px;
    background: #d71935;
    color: #fff;
    font-size: .55rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

#emergency .request-card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin-bottom: 1.35rem;
    padding-top: .2rem;
}

#emergency .request-id { color: #8c7076; font-size: .62rem; font-weight: 700; }
#emergency .request-time { display: inline-flex; align-items: center; gap: .3rem; color: #a2888e; font-size: .59rem; }
#emergency .critical-request .request-time { margin-right: 4rem; }

#emergency .request-blood-summary {
    display: flex;
    align-items: center;
    gap: .85rem;
    margin-bottom: 1.25rem;
}

#emergency .request-blood-group {
    display: grid;
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    place-items: center;
    border-radius: 18px;
    background: #ffe8eb;
    color: #d91d38;
    font-size: 1.5rem;
    font-weight: 700;
}

#emergency .critical-request .request-blood-group { background: #d91d38; color: #fff; }
#emergency .request-blood-summary strong { display: block; color: #35161c; font-size: .88rem; }
#emergency .request-blood-summary div span { display: flex; align-items: center; gap: .4rem; margin-top: .25rem; color: #d41c37; font-size: .62rem; font-weight: 600; }
#emergency .request-blood-summary div span i { width: 6px; height: 6px; border-radius: 50%; background: #d91d38; }

#emergency .request-patient-details {
    display: grid;
    gap: .65rem;
    margin-bottom: 1.25rem;
    padding: .9rem;
    border-radius: 13px;
    background: #faf7f8;
}

#emergency .request-patient-details > div { display: flex; align-items: center; gap: .65rem; }
#emergency .request-patient-details > div > i { color: #b58f97; font-size: .9rem; }
#emergency .request-patient-details span { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 1rem; }
#emergency .request-patient-details small { color: #9b7c83; font-size: .6rem; }
#emergency .request-patient-details strong { color: #4b2930; font-size: .67rem; font-weight: 600; text-align: right; }

#emergency .request-card-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .65rem;
}

#emergency .request-card-actions > a,
#emergency .response-btn {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    border-radius: 10px;
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
}

#emergency .request-card-actions > a { padding: .65rem .8rem; border: 1px solid #e4dadd; color: #79565e; }
#emergency .response-btn { background: #d91d38; color: #fff; }
#emergency .response-btn:hover { background: #b9152d; color: #fff; }

#emergency .emergency-safety-note {
    display: flex;
    align-items: center;
    gap: .7rem;
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 13px;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.65);
    font-size: .7rem;
}

#emergency .emergency-safety-note > i { color: #259a61; font-size: 1rem; }
#emergency .emergency-safety-note strong { color: #fff; }
#emergency .emergency-safety-note a { margin-left: auto; color: #ff9aaa; font-weight: 700; text-decoration: none; white-space: nowrap; }
#emergency .emergency-pagination { display: none; }

.emergency-response-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 25px 70px rgba(40, 7, 13, .25);
}

.emergency-response-modal .modal-header {
    padding: 1.2rem 1.35rem;
    border: 0;
    background: linear-gradient(120deg, #3f0710, #821226);
    color: #fff;
}

.response-modal-heading { display: flex; align-items: center; gap: .75rem; }
.response-modal-heading > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 11px; background: rgba(255,255,255,.1); color: #ff91a0; }
.response-modal-heading h5 { color: #fff; font-size: .95rem; font-weight: 700; }
.response-modal-heading small { color: rgba(255,255,255,.55); font-size: .61rem; }
.emergency-response-modal .btn-close { filter: invert(1); opacity: .75; }
.emergency-response-modal .modal-body { padding: 1.35rem; background: #fbf9f9; }

.response-request-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .7rem;
    margin-bottom: 1rem;
}

.response-request-summary > div { padding: .7rem .8rem; border: 1px solid #e9e0e2; border-radius: 10px; background: #fff; }
.response-request-summary label { display: block; color: #9a7a82; font-size: .58rem; font-weight: 600; }
.response-request-summary input { width: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #402027; font-size: .72rem; font-weight: 700; }
.emergency-response-modal .response-label { color: #5a3940; font-size: .68rem; font-weight: 700; }
.emergency-response-modal textarea { border-color: #e5dadd; border-radius: 11px; font-size: .75rem; box-shadow: none; }
.emergency-response-modal textarea:focus { border-color: #d7808d; box-shadow: 0 0 0 3px rgba(217,29,56,.08); }
.response-privacy { display: flex; align-items: center; gap: .4rem; color: #93767d; font-size: .59rem; }
.response-privacy i { color: #269861; }
.response-submit-btn { min-height: 47px; border-radius: 11px; background: #d91d38; color: #fff; font-size: .75rem; font-weight: 700; }
.response-submit-btn:hover { background: #b9152d; color: #fff; }

@media (max-width: 767.98px) {
    #emergency .emergency-heading { display: block; text-align: center; }
    #emergency .emergency-live-status { width: fit-content; margin: 1.2rem auto 0; text-align: left; }
    #emergency .emergency-safety-note { flex-wrap: wrap; justify-content: center; text-align: center; }
    #emergency .emergency-safety-note a { width: 100%; margin: .25rem 0 0; }
}

@media (max-width: 575.98px) {
    #emergency.emergency-requests-v2 {
        padding: 2.75rem 0;
        background:
            radial-gradient(circle at 90% 0%, rgba(255, 112, 134, .26), transparent 11rem),
            radial-gradient(circle at 4% 100%, rgba(119, 0, 21, .55), transparent 12rem),
            linear-gradient(180deg, #26050b 0%, #5f0a18 58%, #801225 100%);
    }

    #emergency.emergency-requests-v2::before {
        opacity: .08;
        background-size: 18px 18px;
    }

    #emergency.emergency-requests-v2 > .container {
        padding-inline: 1rem;
    }

    #emergency .emergency-heading {
        margin-bottom: 1.15rem;
        text-align: left;
    }

    #emergency .emergency-eyebrow {
        margin-bottom: .65rem;
        padding: .4rem .62rem;
        border: 1px solid rgba(255, 255, 255, .14);
        border-radius: 999px;
        background: rgba(255, 255, 255, .08);
        font-size: .58rem;
        letter-spacing: .08em;
    }

    #emergency .emergency-heading h2 {
        max-width: 21rem;
        margin-bottom: .7rem;
        font-size: clamp(1.8rem, 8.6vw, 2.3rem);
        letter-spacing: 0;
        line-height: 1.1;
    }

    #emergency .emergency-heading p {
        max-width: none;
        font-size: .84rem;
        line-height: 1.55;
    }

    #emergency .emergency-live-status {
        width: 100%;
        margin: .9rem 0 0;
        padding: .68rem .75rem;
        border-radius: 12px;
        background: rgba(255, 255, 255, .1);
    }

    #emergency .row {
        --bs-gutter-y: .85rem;
    }

    #emergency .emergency-request-slider {
        flex-wrap: nowrap;
        gap: .75rem;
        margin-inline: -1rem;
        padding: .1rem 1rem .35rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 1rem;
        scrollbar-width: none;
        --bs-gutter-x: 0;
    }

    #emergency .emergency-request-slider::-webkit-scrollbar {
        display: none;
    }

    #emergency .emergency-request-slider > [class*="col-"] {
        width: 92%;
        max-width: 92%;
        flex: 0 0 92%;
        padding: 0;
        scroll-snap-align: start;
    }

    #emergency .request-card {
        min-height: 266px;
        padding: .9rem;
        border-radius: 16px;
        box-shadow: 0 16px 34px rgba(40, 6, 13, .2);
        transform: none;
    }

    #emergency .request-card:hover {
        transform: none;
    }

    #emergency .critical-ribbon {
        right: .9rem;
        padding: .36rem .5rem;
        border-radius: 0 0 7px 7px;
        font-size: .5rem;
    }

    #emergency .request-card-topline {
        gap: .5rem;
        min-height: 18px;
        margin-bottom: .95rem;
        padding-top: .05rem;
    }

    #emergency .request-id,
    #emergency .request-time {
        font-size: .56rem;
    }

    #emergency .critical-request .request-time {
        margin-right: 3.45rem;
    }

    #emergency .request-blood-summary {
        gap: .7rem;
        margin-bottom: .9rem;
    }

    #emergency .request-blood-group {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 15px;
        font-size: 1.32rem;
    }

    #emergency .request-blood-summary strong {
        font-size: .82rem;
    }

    #emergency .request-blood-summary div span {
        font-size: .58rem;
    }

    #emergency .request-patient-details {
        gap: .55rem;
        margin-bottom: .9rem;
        padding: .7rem;
        border-radius: 12px;
        background: #fbf7f8;
    }

    #emergency .request-patient-details > div {
        gap: .55rem;
    }

    #emergency .request-patient-details span {
        align-items: flex-start;
        gap: .6rem;
    }

    #emergency .request-patient-details small {
        font-size: .56rem;
    }

    #emergency .request-patient-details strong {
        font-size: .64rem;
    }

    #emergency .request-card-actions {
        grid-template-columns: minmax(82px, .46fr) minmax(0, 1fr);
        gap: .55rem;
    }

    #emergency .request-card-actions > a,
    #emergency .response-btn {
        min-height: 44px;
        border-radius: 12px;
        font-size: .68rem;
        white-space: nowrap;
    }

    #emergency .request-card-actions > a {
        padding: .6rem .65rem;
    }

    #emergency .emergency-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .45rem;
        margin: .8rem 0 .75rem;
    }

    #emergency .emergency-pagination button {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, .34);
        transition: width .2s ease, background .2s ease;
    }

    #emergency .emergency-pagination button.is-active {
        width: 22px;
        background: #fff;
    }

    #emergency .emergency-safety-note {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr);
        gap: .6rem;
        margin-top: 0;
        padding: .8rem;
        border-radius: 14px;
        background: rgba(255, 255, 255, .11);
        text-align: left;
    }

    #emergency .emergency-safety-note > i {
        display: grid;
        width: 32px;
        height: 32px;
        place-items: center;
        border-radius: 9px;
        background: rgba(255, 255, 255, .08);
    }

    #emergency .emergency-safety-note span {
        min-width: 0;
        font-size: .68rem;
        line-height: 1.45;
    }

    #emergency .emergency-safety-note a {
        grid-column: 1 / -1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: .35rem;
        min-height: 42px;
        width: 100%;
        margin: .15rem 0 0;
        border-radius: 12px;
        background: #fff;
        color: #841225;
        font-weight: 800;
    }
}

@media (max-width: 420px) {
    #emergency .request-card { padding: .95rem; }
    #emergency .critical-request .request-time { display: none; }
    .response-request-summary { grid-template-columns: 1fr; }
}

/* Redesigned ways-to-help section */
#make-an-impact.impact-actions-section {
    position: relative;
    padding: clamp(4.75rem, 7vw, 6.75rem) 0;
    overflow: hidden;
    background: #fff;
    color: #301419;
}

#make-an-impact.impact-actions-section::before {
    content: "";
    position: absolute;
    top: -230px;
    left: -190px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(217,29,56,.055);
    pointer-events: none;
}

#make-an-impact .impact-actions-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.4rem;
}

#make-an-impact .impact-actions-heading > div > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #d91d38;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#make-an-impact .impact-actions-heading h2 {
    max-width: 720px;
    margin: 0;
    color: #301217;
    font-size: clamp(2.3rem, 4.2vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.07;
}

#make-an-impact .impact-actions-heading > p {
    max-width: 450px;
    margin: 0;
    color: #82666d;
    font-size: .92rem;
    line-height: 1.65;
}

#make-an-impact .impact-action-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 310px;
    flex-direction: column;
    padding: 1.4rem;
    overflow: hidden;
    border: 1px solid #e8e0e2;
    border-radius: 20px;
    background: #fcfbfb;
    box-shadow: 0 13px 36px rgba(57,15,22,.055);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

#make-an-impact .impact-action-card:hover {
    border-color: #efc7ce;
    box-shadow: 0 22px 48px rgba(57,15,22,.11);
    transform: translateY(-7px);
}

#make-an-impact .featured-action-card {
    border-color: #d91d38;
    background: linear-gradient(145deg, #3b0710, #811126);
    color: #fff;
}

#make-an-impact .action-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

#make-an-impact .action-card-top > span {
    color: #b69ca2;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .08em;
}

#make-an-impact .action-card-top > i {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #ffe8eb;
    color: #d91d38;
    font-size: 1.05rem;
}

#make-an-impact .featured-action-card .action-card-top > span { color: rgba(255,255,255,.5); }
#make-an-impact .featured-action-card .action-card-top > i { background: rgba(255,255,255,.1); color: #ff91a0; }

#make-an-impact .impact-action-card h3 {
    margin: 0 0 .65rem;
    color: #35171c;
    font-size: 1.05rem;
    font-weight: 700;
}

#make-an-impact .impact-action-card p {
    margin: 0 0 1.5rem;
    color: #8b7076;
    font-size: .75rem;
    line-height: 1.55;
}

#make-an-impact .impact-action-card > a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    margin-top: auto;
    color: #c91a33;
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
}

#make-an-impact .featured-action-card h3 { color: #fff; }
#make-an-impact .featured-action-card p { color: rgba(255,255,255,.62); }
#make-an-impact .featured-action-card > a { color: #ff9aa8; }

#make-an-impact .impact-actions-cta {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: .9rem;
    margin-top: 1.6rem;
    padding: 1.15rem 1.3rem;
    border: 1px solid #eddae0;
    border-radius: 16px;
    background: #fff5f6;
}

#make-an-impact .impact-cta-icon {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 12px;
    background: #ffe1e6;
    color: #d91d38;
}

#make-an-impact .impact-actions-cta strong { display: block; color: #3b1920; font-size: .82rem; }
#make-an-impact .impact-actions-cta span { color: #896b72; font-size: .68rem; }

#make-an-impact .impact-cta-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: .45rem;
    padding: .68rem .9rem;
    border-radius: 10px;
    background: #d91d38;
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
}

#make-an-impact .impact-cta-btn:hover { background: #b9152d; color: #fff; }

@media (max-width: 767.98px) {
    #make-an-impact .impact-actions-heading { display: block; text-align: center; }
    #make-an-impact .impact-actions-heading > p { margin: 1rem auto 0; }
    #make-an-impact .impact-action-card { min-height: 270px; }
    #make-an-impact .impact-actions-cta { grid-template-columns: auto 1fr; }
    #make-an-impact .impact-cta-btn { grid-column: 1 / -1; justify-content: center; }
}

@media (max-width: 575.98px) {
    #make-an-impact.impact-actions-section {
        padding: 2.75rem 0;
        background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
    }

    #make-an-impact.impact-actions-section::before {
        top: -180px;
        left: -220px;
        width: 360px;
        height: 360px;
        opacity: .85;
    }

    #make-an-impact.impact-actions-section .container {
        padding-inline: 1rem;
    }

    #make-an-impact .impact-actions-heading {
        margin-bottom: 1.15rem;
        text-align: left !important;
    }

    #make-an-impact .impact-actions-heading > div > span {
        margin-bottom: .65rem;
        padding: .4rem .62rem;
        border: 1px solid #f0d3d8;
        border-radius: 999px;
        background: #fff;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    #make-an-impact .impact-actions-heading h2 {
        max-width: 21rem;
        font-size: clamp(1.8rem, 8.6vw, 2.3rem);
        letter-spacing: 0;
        line-height: 1.1;
    }

    #make-an-impact .impact-actions-heading > p {
        max-width: none;
        margin: .7rem 0 0;
        font-size: .84rem;
        line-height: 1.55;
    }

    #make-an-impact .row {
        --bs-gutter-y: .75rem;
    }

    #make-an-impact .impact-action-card {
        min-height: 0;
        padding: .9rem;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 14px 32px rgba(57, 15, 22, .07);
        transform: none;
    }

    #make-an-impact .impact-action-card:hover {
        transform: none;
    }

    #make-an-impact .featured-action-card {
        background: linear-gradient(145deg, #3b0710, #811126);
        box-shadow: 0 16px 34px rgba(91, 7, 21, .2);
    }

    #make-an-impact .action-card-top {
        margin-bottom: .85rem;
    }

    #make-an-impact .action-card-top > span {
        font-size: .56rem;
    }

    #make-an-impact .action-card-top > i {
        width: 38px;
        height: 38px;
        border-radius: 11px;
        font-size: .96rem;
    }

    #make-an-impact .impact-action-card h3 {
        margin-bottom: .45rem;
        font-size: .92rem;
        line-height: 1.25;
    }

    #make-an-impact .impact-action-card p {
        margin-bottom: .85rem;
        font-size: .68rem;
        line-height: 1.45;
    }

    #make-an-impact .impact-action-card > a {
        min-height: 36px;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: .55rem .65rem;
        border-radius: 10px;
        background: #fff4f6;
        color: #c91a33;
        font-size: .66rem;
    }

    #make-an-impact .featured-action-card > a {
        background: rgba(255, 255, 255, .12);
        color: #fff;
    }

    #make-an-impact .impact-actions-cta {
        grid-template-columns: 38px minmax(0, 1fr);
        gap: .65rem;
        margin-top: 1rem;
        padding: .8rem;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 14px 32px rgba(57, 15, 22, .08);
    }

    #make-an-impact .impact-cta-icon {
        width: 38px;
        height: 38px;
        border-radius: 11px;
    }

    #make-an-impact .impact-actions-cta strong {
        font-size: .76rem;
        line-height: 1.25;
    }

    #make-an-impact .impact-actions-cta span {
        display: block;
        margin-top: .15rem;
        font-size: .62rem;
        line-height: 1.4;
    }

    #make-an-impact .impact-cta-btn {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 44px;
        margin-top: .1rem;
        border-radius: 12px;
        font-size: .72rem;
    }
}

@media (max-width: 430px) {
    #make-an-impact .impact-actions-cta {
        display: grid;
        text-align: left;
    }

    #make-an-impact .impact-cta-icon {
        margin: 0;
    }

    #make-an-impact .impact-cta-btn {
        width: 100%;
        margin-top: .1rem;
    }
}







/* Input Group Styling
.input-group select.form-select {
    padding: 1rem 1.5rem;
    border-radius: 5px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
}

.input-group select.form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.input-group .btn {
    padding: 1rem 2rem;
    background-color: #dc3545;
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.input-group .btn:hover {
    background-color: #c82333;
} */

/* Card Styling
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
} */

/* .card-body {
    background: rgba(255, 255, 255, 0.8); / Lighter background for better readability 
    color: #333;
    padding: 2rem;
    border-radius: 15px;
} */
/* 
.card-title {
    font-size: 1.6rem;
    color: #000000;
    font-weight: bold;
    margin-bottom: 0.8rem;
}

.card-text {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.badge {
    font-size: 1.1rem;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 600;
} */

/* Badge Colors
.badge.bg-success {
    background-color: #28a745;
}

.badge.bg-warning {
    background-color: #ffc107;
}

.badge.bg-danger {
    background-color: #dc3545;
} */




/* .form-control:focus, .form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.btn-danger {
    padding: 0.5rem 2rem;
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.4);
}

section {
    scroll-margin-top: 56px;
} */



/* General Styles */
body {
    
    background-color: #f7f9fb; /* Light gray background for the body */
    color: #333;
    margin: 0;
    padding: 0;
}

/* Blog Section Styling */
#blogs {
    background-color: #f8f9fa; /* Soft background color for a modern feel */
    padding: 6rem 0;
    margin-top: 50px;
    margin-bottom: 20px;
}

#blogs .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

#blogs .section-description {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Blog Card Styling */
.blog-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.blog-card .card-img-top {
    object-fit: cover;
    height: 250px;
    border-bottom: 4px solid #e74c3c;
    transition: transform 0.3s ease;
}

.blog-card .card-img-top:hover {
    transform: scale(1.05);
}

.blog-card .card-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-card .card-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6rem;
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit text to 3 lines */
    -webkit-box-orient: vertical;
    margin-bottom: 1.5rem;
}

.blog-card .btn-red {
    background-color: transparent;
    border: 2px solid #e74c3c;
    color: #e74c3c;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: bold;
}

.blog-card .btn-red:hover {
    background-color: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* Carousel Indicators */
.carousel-indicators button {
    background-color: #e74c3c;
    width: 12px;
    height: 12px;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.carousel-indicators .active {
    background-color: #c0392b;
    opacity: 1;
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    opacity: 1;
    transform: scale(1.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #blogs .section-title {
        font-size: 2.2rem;
    }

    .blog-card .card-title {
        font-size: 1.2rem;
    }

    .blog-card .card-text {
        font-size: 0.95rem;
    }

    .blog-card .card-img-top {
        height: 200px;
    }

    .carousel-inner {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 768px) {
    .carousel-inner {
        padding-left: 30px;
        padding-right: 30px;
    }
    
}
/* Responsive Styles */
@media (max-width: 768px) {
    #blogs .carousel-inner {
        display: flex;
        flex-wrap: nowrap;
    }

    #blogs .carousel-item {
        display: block;
        flex: 0 0 100%;
        transition: transform 0.5s ease-in-out;
    }

    #blogs .carousel-inner .row {
        flex-direction: column;
        align-items: center;
    }

    #blogs .col-lg-4 {
        width: 100%;
    }

    #blogs .blog-card img {
        height: 200px;
    }

    #blogs .btn-red {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    #blogs .blog-card img {
        height: 180px;
    }

    #blogs .section-title {
        font-size: 1.5rem;
    }

    #blogs .section-description {
        font-size: 0.9rem;
        margin-left: 6px;
        margin-right: 6px;
    }

    #blogs .blog-card {
        padding: 10px;
    }

    #blogs .card-title {
        font-size: 1rem;
    }

    #blogs .card-text {
        font-size: 0.85rem;
    }

    #blogs .btn-red {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}



/* Redesigned news and insights */
#blogs.news-section {
    position: relative;
    padding: clamp(4.75rem, 7vw, 6.75rem) 0;
    overflow: hidden;
    background: #f7f6f6;
    color: #301419;
}

#blogs.news-section::after {
    content: "";
    position: absolute;
    top: -220px;
    right: -170px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(217,29,56,.055);
    pointer-events: none;
}

#blogs .news-heading {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.4rem;
}

#blogs .news-heading > div > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #d91d38;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#blogs .news-heading h2 {
    max-width: 680px;
    margin: 0;
    color: #301217;
    font-size: clamp(2.3rem, 4.2vw, 3.7rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.07;
}

#blogs .news-heading > p {
    max-width: 460px;
    margin: 0;
    color: #81666c;
    font-size: .92rem;
    line-height: 1.65;
}

#blogs .news-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.15fr) minmax(380px,.85fr);
    gap: 1.25rem;
}

#blogs .featured-story {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    border-radius: 24px;
    background: #3b0710;
    box-shadow: 0 22px 55px rgba(57,15,22,.17);
}

#blogs .featured-story > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

#blogs .featured-story:hover > img { transform: scale(1.035); }

#blogs .featured-story-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(32,3,8,.96) 0%, rgba(32,3,8,.42) 58%, rgba(32,3,8,.08) 100%);
}

#blogs .featured-story-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    color: #fff;
}

#blogs .story-meta {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
}

#blogs .story-meta > span {
    padding: .32rem .5rem;
    border-radius: 999px;
    background: #d91d38;
    color: #fff;
    font-size: .57rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#blogs .story-meta small { display: inline-flex; align-items: center; gap: .3rem; color: rgba(255,255,255,.58); font-size: .6rem; }

#blogs .featured-story h3 {
    max-width: 650px;
    margin: 0 0 .7rem;
    color: #fff;
    font-size: clamp(1.7rem, 3vw, 2.55rem);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
}

#blogs .featured-story p { max-width: 620px; margin: 0 0 1rem; color: rgba(255,255,255,.67); font-size: .78rem; line-height: 1.55; }

#blogs .featured-story a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #ff96a5;
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
}

#blogs .supporting-stories { display: grid; gap: 1.25rem; }

#blogs .news-story-card {
    display: grid;
    grid-template-columns: 42% 58%;
    min-height: 268px;
    overflow: hidden;
    border: 1px solid #e5dddf;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(57,15,22,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

#blogs .news-story-card:hover { box-shadow: 0 20px 44px rgba(57,15,22,.11); transform: translateY(-5px); }
#blogs .news-story-card > img { width: 100%; height: 100%; object-fit: cover; }
#blogs .news-story-content { position: relative; display: flex; flex-direction: column; padding: 1.3rem; }
#blogs .news-story-content .story-meta { justify-content: space-between; }
#blogs .news-story-content .story-meta small { color: #a0838a; }
#blogs .news-story-content h3 { margin: 0 0 .55rem; color: #36171d; font-size: 1rem; font-weight: 700; line-height: 1.28; }
#blogs .news-story-content > p { margin: 0; color: #8a6e75; font-size: .68rem; line-height: 1.5; }

#blogs .news-story-content > a {
    display: grid;
    width: 34px;
    height: 34px;
    margin-top: auto;
    place-items: center;
    align-self: flex-end;
    border-radius: 10px;
    background: #fff0f2;
    color: #d91d38;
    text-decoration: none;
}

#blogs .news-footer-link {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    padding: .9rem 1rem;
    border: 1px solid #e5dddf;
    border-radius: 13px;
    background: rgba(255,255,255,.74);
    color: #81656c;
    font-size: .7rem;
}

#blogs .news-footer-link span { display: inline-flex; align-items: center; gap: .45rem; }
#blogs .news-footer-link span i { color: #d91d38; }
#blogs .news-footer-link a { color: #c71932; font-weight: 700; text-decoration: none; }

@media (max-width: 991.98px) {
    #blogs .news-layout { grid-template-columns: 1fr; }
    #blogs .featured-story { min-height: 520px; }
    #blogs .supporting-stories { grid-template-columns: repeat(2,minmax(0,1fr)); }
    #blogs .news-story-card { display: flex; min-height: 370px; flex-direction: column; }
    #blogs .news-story-card > img { height: 190px; }
    #blogs .news-story-content { flex: 1; }
}

@media (max-width: 767.98px) {
    #blogs .news-heading { display: block; text-align: center; }
    #blogs .news-heading > p { margin: 1rem auto 0; }
    #blogs .supporting-stories { grid-template-columns: 1fr; }
    #blogs .news-story-card { min-height: 0; }
}

@media (max-width: 430px) {
    #blogs .featured-story { min-height: 500px; border-radius: 20px; }
    #blogs .featured-story-content { padding: 1.25rem; }
    #blogs .news-footer-link { display: block; text-align: center; }
    #blogs .news-footer-link a { display: block; margin-top: .65rem; }
}

/* News and insights — magazine layout */
#blogs.news-section-v2 {
    position: relative;
    padding: clamp(4.75rem, 7vw, 6.75rem) 0;
    overflow: hidden;
    background: #fff;
    color: #301419;
}

#blogs.news-section-v2::before {
    content: "";
    position: absolute;
    top: -230px;
    left: -170px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: rgba(217,29,56,.05);
    pointer-events: none;
}

#blogs .news-v2-heading {
    position: relative;
    z-index: 1;
    max-width: 770px;
    margin: 0 auto 2.5rem;
}

#blogs .news-v2-heading > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #d91d38;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#blogs .news-v2-heading h2 {
    margin: 0 0 .8rem;
    color: #301217;
    font-size: clamp(2.3rem,4.3vw,3.8rem);
    font-weight: 700;
    letter-spacing: -.052em;
    line-height: 1.06;
}

#blogs .news-v2-heading p { max-width: 630px; margin: 0 auto; color: #82676d; font-size: .92rem; line-height: 1.65; }

#blogs .news-v2-featured {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0,1.08fr) minmax(380px,.92fr);
    min-height: 430px;
    overflow: hidden;
    border: 1px solid #e6dddf;
    border-radius: 25px;
    background: #faf8f8;
    box-shadow: 0 22px 55px rgba(57,15,22,.1);
}

#blogs .news-featured-image { position: relative; min-height: 430px; overflow: hidden; }
#blogs .news-featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
#blogs .news-v2-featured:hover .news-featured-image img { transform: scale(1.035); }

#blogs .news-featured-image > span {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    padding: .4rem .6rem;
    border-radius: 999px;
    background: #d91d38;
    color: #fff;
    font-size: .58rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#blogs .news-featured-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.7rem,4vw,3.2rem); }

#blogs .news-article-meta { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
#blogs .news-article-meta > span { color: #d91d38; font-size: .62rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
#blogs .news-article-meta small { display: inline-flex; align-items: center; gap: .35rem; color: #a0838a; font-size: .61rem; }

#blogs .news-featured-copy h3 {
    margin: 0 0 .85rem;
    color: #32151a;
    font-size: clamp(1.8rem,3vw,2.7rem);
    font-weight: 700;
    letter-spacing: -.04em;
    line-height: 1.1;
}

#blogs .news-featured-copy > p { margin: 0 0 1.5rem; color: #856a70; font-size: .8rem; line-height: 1.62; }

#blogs .news-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e8dfe1;
}

#blogs .news-article-footer > span { display: inline-flex; align-items: center; gap: .4rem; color: #8d7077; font-size: .61rem; }
#blogs .news-article-footer > span i { color: #24965e; }
#blogs .news-article-footer a { color: #c71932; font-size: .68rem; font-weight: 700; text-decoration: none; }

#blogs .news-v2-grid { position: relative; z-index: 1; margin-top: .1rem; padding-top: 1.25rem; }

#blogs .news-v2-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #e7dfe1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(57,15,22,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

#blogs .news-v2-card:hover { box-shadow: 0 20px 45px rgba(57,15,22,.11); transform: translateY(-6px); }
#blogs .news-card-image { position: relative; height: 195px; overflow: hidden; }
#blogs .news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
#blogs .news-v2-card:hover .news-card-image img { transform: scale(1.045); }

#blogs .news-card-image span {
    position: absolute;
    left: .9rem;
    bottom: .8rem;
    padding: .33rem .5rem;
    border-radius: 999px;
    background: rgba(43,5,12,.86);
    color: #fff;
    font-size: .54rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

#blogs .news-card-copy { display: flex; min-height: 230px; flex-direction: column; padding: 1.2rem; }
#blogs .news-card-copy > small { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .65rem; color: #a1848a; font-size: .58rem; }
#blogs .news-card-copy h3 { margin: 0 0 .55rem; color: #35171c; font-size: 1rem; font-weight: 700; line-height: 1.3; }
#blogs .news-card-copy p { margin: 0; color: #8a7076; font-size: .68rem; line-height: 1.5; }
#blogs .news-card-copy a { margin-top: auto; color: #c81932; font-size: .66rem; font-weight: 700; text-decoration: none; }

#blogs .news-resource-card {
    position: relative;
    display: flex;
    height: 100%;
    min-height: 425px;
    flex-direction: column;
    padding: 1.6rem;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg,#3c0710,#7d1023 65%,#9d1930);
    color: #fff;
    box-shadow: 0 18px 42px rgba(57,15,22,.2);
}

#blogs .news-resource-card::after { content: "?"; position: absolute; right: -5px; bottom: -65px; color: rgba(255,255,255,.045); font-size: 15rem; font-weight: 700; line-height: 1; }
#blogs .resource-card-icon { display: grid; width: 48px; height: 48px; margin-bottom: 1.6rem; place-items: center; border-radius: 14px; background: rgba(255,255,255,.1); color: #ff91a0; font-size: 1.15rem; }
#blogs .news-resource-card > small { color: #ff96a5; font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
#blogs .news-resource-card h3 { position: relative; z-index: 1; margin: .65rem 0 .75rem; color: #fff; font-size: 1.55rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; }
#blogs .news-resource-card > p { position: relative; z-index: 1; color: rgba(255,255,255,.62); font-size: .72rem; line-height: 1.55; }
#blogs .news-resource-card > .btn { position: relative; z-index: 1; margin-top: auto; padding: .72rem .9rem; border-radius: 10px; background: #fff; color: #741020; font-size: .68rem; font-weight: 700; }
#blogs .resource-card-note { position: relative; z-index: 1; margin-top: .8rem; color: rgba(255,255,255,.5); font-size: .57rem; text-align: center; }

@media (max-width: 991.98px) {
    #blogs .news-v2-featured { grid-template-columns: 1fr; }
    #blogs .news-featured-image { min-height: 360px; }
    #blogs .news-resource-card { min-height: 300px; }
}

@media (max-width: 575.98px) {
    #blogs .news-v2-featured { border-radius: 20px; }
    #blogs .news-featured-image { min-height: 290px; }
    #blogs .news-featured-copy { padding: 1.35rem; }
    #blogs .news-article-footer { align-items: flex-start; flex-direction: column; }
}

/* News and insights — simple card layout */
#blogs.news-section-v3 {
    position: relative;
    padding: clamp(4.75rem,7vw,6.75rem) 0;
    background: #f7f6f6;
    color: #301419;
}

#blogs .news-v3-heading {
    display: grid;
    grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr);
    align-items: end;
    gap: 3rem;
    margin-bottom: 2.3rem;
}

#blogs .news-v3-heading > div > span {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .8rem;
    color: #d91d38;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#blogs .news-v3-heading h2 {
    max-width: 680px;
    margin: 0;
    color: #301217;
    font-size: clamp(2.3rem,4.2vw,3.7rem);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1.07;
}

#blogs .news-v3-heading > p { max-width: 450px; margin: 0; color: #82676d; font-size: .92rem; line-height: 1.65; }

#blogs .news-v3-card {
    display: flex;
    height: 100%;
    min-height: 475px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e5dddf;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 13px 36px rgba(57,15,22,.06);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

#blogs .news-v3-card:hover { border-color: #edcbd1; box-shadow: 0 22px 48px rgba(57,15,22,.12); transform: translateY(-7px); }

#blogs .news-v3-image { position: relative; display: block; height: 230px; overflow: hidden; }
#blogs .news-v3-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
#blogs .news-v3-card:hover .news-v3-image img { transform: scale(1.045); }

#blogs .news-v3-image > span {
    position: absolute;
    bottom: .9rem;
    left: .9rem;
    padding: .36rem .55rem;
    border-radius: 999px;
    background: rgba(52,5,13,.88);
    color: #fff;
    font-size: .56rem;
    font-weight: 700;
    letter-spacing: .04em;
    backdrop-filter: blur(8px);
}

#blogs .news-v3-copy { display: flex; flex: 1; flex-direction: column; padding: 1.3rem; }

#blogs .news-v3-meta { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: .75rem; }
#blogs .news-v3-meta span { display: inline-flex; align-items: center; gap: .35rem; color: #d01b34; font-size: .58rem; font-weight: 700; }
#blogs .news-v3-meta small { color: #a1848b; font-size: .57rem; }

#blogs .news-v3-copy h3 { margin: 0 0 .6rem; color: #35171c; font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
#blogs .news-v3-copy > p { margin: 0 0 1.1rem; color: #896f75; font-size: .7rem; line-height: 1.55; }

#blogs .news-v3-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: .85rem;
    border-top: 1px solid #ece5e7;
    color: #c71932;
    font-size: .68rem;
    font-weight: 700;
    text-decoration: none;
}

#blogs .news-v3-link i { transition: transform .2s ease; }
#blogs .news-v3-link:hover i { transform: translateX(4px); }

#blogs .news-v3-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.3rem;
    padding: .9rem 1rem;
    border: 1px solid #e5dddf;
    border-radius: 13px;
    background: #fff;
    color: #81666c;
    font-size: .68rem;
}

#blogs .news-v3-bottom span { display: inline-flex; align-items: center; gap: .45rem; }
#blogs .news-v3-bottom span i { color: #24965e; }
#blogs .news-v3-bottom a { color: #c71932; font-weight: 700; text-decoration: none; }

#blogs .news-v3-pagination {
    display: none;
}

@media (max-width: 767.98px) {
    #blogs .news-v3-heading { display: block; text-align: center; }
    #blogs .news-v3-heading > p { margin: 1rem auto 0; }
    #blogs .news-v3-card { min-height: 450px; }
}

@media (max-width: 575.98px) {
    #blogs.news-section-v3 {
        padding: 1rem 0 2.75rem;
        background: linear-gradient(180deg, #fff 0%, #fff7f8 100%);
    }

    #blogs.news-section-v3 .container {
        padding-inline: 1rem;
    }

    #blogs .news-v3-heading {
        margin-bottom: 1.25rem;
        text-align: left;
    }

    #blogs .news-v3-heading > div > span {
        margin-bottom: .65rem;
        padding: .42rem .62rem;
        border: 1px solid #f2d6dc;
        border-radius: 999px;
        background: #fff;
        font-size: .58rem;
        letter-spacing: .08em;
    }

    #blogs .news-v3-heading h2 {
        max-width: 22rem;
        font-size: clamp(1.8rem, 9vw, 2.25rem);
        letter-spacing: 0;
        line-height: 1.1;
    }

    #blogs .news-v3-heading > p {
        margin: .8rem 0 0;
        color: #76545b;
        font-size: .84rem;
        line-height: 1.55;
    }

    #blogs .news-v3-grid {
        --bs-gutter-y: 1rem;
        display: flex;
        flex-wrap: nowrap;
        gap: 0;
        margin-inline: -1rem;
        padding: 0 1rem .4rem;
        overflow-x: auto;
        scroll-padding-inline: 1rem;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    #blogs .news-v3-grid::-webkit-scrollbar {
        display: none;
    }

    #blogs .news-v3-grid > [class*="col-"] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
        padding-inline: 0;
        scroll-snap-align: start;
    }

    #blogs .news-v3-grid > [class*="col-"] + [class*="col-"] {
        margin-left: 1rem;
    }

    #blogs .news-v3-card {
        min-height: 0;
        border-radius: 16px;
        box-shadow: 0 12px 28px rgba(57, 15, 22, .08);
    }

    #blogs .news-v3-image {
        height: 185px;
    }

    #blogs .news-v3-image > span {
        bottom: .7rem;
        left: .7rem;
        padding: .34rem .55rem;
        font-size: .55rem;
    }

    #blogs .news-v3-copy {
        padding: 1rem;
    }

    #blogs .news-v3-meta {
        align-items: flex-start;
        gap: .45rem;
        margin-bottom: .65rem;
        flex-direction: column;
    }

    #blogs .news-v3-meta span {
        font-size: .62rem;
    }

    #blogs .news-v3-meta small {
        font-size: .6rem;
    }

    #blogs .news-v3-copy h3 {
        margin-bottom: .5rem;
        font-size: 1rem;
        line-height: 1.28;
    }

    #blogs .news-v3-copy > p {
        margin-bottom: .9rem;
        font-size: .76rem;
        line-height: 1.55;
    }

    #blogs .news-v3-link {
        min-height: 42px;
        padding-top: .75rem;
        font-size: .74rem;
    }

    #blogs .news-v3-pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .45rem;
        margin: .8rem 0 1rem;
    }

    #blogs .news-v3-pagination button {
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #e3c3ca;
        transition: width .2s ease, background-color .2s ease;
    }

    #blogs .news-v3-pagination button.is-active {
        width: 22px;
        background: #d91d38;
    }

    #blogs .news-v3-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: .65rem;
        margin-top: 1rem;
        padding: .85rem;
        border-radius: 14px;
        text-align: left;
        font-size: .72rem;
    }

    #blogs .news-v3-bottom span {
        align-items: flex-start;
        line-height: 1.45;
    }

    #blogs .news-v3-bottom a {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        min-height: 42px;
        padding: .62rem .72rem;
        border-radius: 11px;
        background: #fff1f3;
    }
}

@media (max-width: 430px) {
    #blogs .news-v3-image { height: 175px; }
    #blogs .news-v3-heading h2 { font-size: 1.78rem; }
    #blogs .news-v3-bottom { text-align: left; }
    #blogs .news-v3-bottom a { margin-top: 0; }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #FF6F61, #FFB6C1);
    background-size: 200% 200%;
    animation: gradientAnimation 6s ease infinite;
    color: #fff;
}

/* Gradient Animation */
@keyframes gradientAnimation {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Heading and Paragraph Styling */
.newsletter-section h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
}

.newsletter-section p {
    font-size: 1.1rem;
}

/* Form Styling */
.newsletter-form .form-control {
    border: 2px solid #FF6F61;
    box-shadow: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.newsletter-form .form-control:focus {
    border-color: #FF5733;
    box-shadow: 0 0 8px rgba(255, 87, 51, 0.3);
}

.newsletter-form .btn {
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.newsletter-form .btn:hover {
    background-color: #81625b;
    transform: scale(1.05);
}

/* Card Styling */
.card {
    border-radius: 20px;
}

.card-body {
    padding: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-section h1 {
        font-size: 1.5rem;
    }
    

    .newsletter-section p {
        font-size: 11px;
        
    }
}
