/* =========================================================
   BLOOD NETWORK PAKISTAN
   BLOOD CAMPS PAGE
========================================================= */

:root {
    --camp-red: #e52030;
    --camp-red-dark: #9f0c1e;
    --camp-green: #2f8f5b;
    --camp-green-dark: #1d6840;
    --camp-dark: #171b22;
    --camp-text: #252b34;
    --camp-muted: #6d7580;
    --camp-soft: #f5f7fa;
    --camp-border: #e4e8ed;
    --camp-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body.modal-open {
    overflow: hidden;
}

button,
input,
select {
    font-family: inherit;
}

button,
button:focus,
input:focus,
select:focus,
a:focus {
    outline: none;
}

/* =========================================================
   HERO
========================================================= */

.bnp-camp-hero {
    position: relative;
    overflow: hidden;
    padding: 95px 0 105px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(47, 143, 91, 0.2),
            transparent 28%
        ),
        radial-gradient(
            circle at 8% 85%,
            rgba(229, 32, 48, 0.16),
            transparent 28%
        ),
        linear-gradient(
            125deg,
            #151920 0%,
            #2f111a 50%,
            #143828 100%
        );
}

.bnp-camp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.15;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px
        );
    background-size: 56px 56px;
}

.bnp-camp-hero .container {
    position: relative;
    z-index: 2;
}

.bnp-camp-hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(360px, 0.92fr);
    align-items: center;
    gap: 64px;
}

.bnp-page-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 9px 15px;
    border: 1px solid rgba(102, 211, 145, 0.25);
    border-radius: 30px;
    color: #cef5dd;
    background: rgba(47, 143, 91, 0.13);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bnp-camp-content h1 {
    max-width: 720px;
    margin: 0;
    color: #ffffff;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -1.2px;
}

.bnp-camp-content h1 span {
    display: block;
    margin-top: 7px;
    color: #65d08e;
}

.bnp-camp-content > p {
    max-width: 650px;
    margin: 22px 0 28px;
    color: rgba(255, 255, 255, 0.67);
    font-size: 15px;
    line-height: 1.8;
}

.bnp-camp-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.bnp-camp-buttons a {
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 21px;
    border-radius: 11px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-red),
            var(--camp-red-dark)
        );
    box-shadow: 0 14px 30px rgba(229, 32, 48, 0.28);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition:
        transform 0.28s ease,
        color 0.28s ease,
        background 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.bnp-camp-buttons a:hover {
    transform: translateY(-4px);
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(229, 32, 48, 0.4);
}

.bnp-camp-buttons a.outline {
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: none;
}

.bnp-camp-buttons a.outline i {
    color: #67d18f;
}

.bnp-camp-buttons a.outline:hover {
    border-color: rgba(102, 211, 145, 0.35);
    background: rgba(47, 143, 91, 0.14);
}

/* =========================================================
   FEATURED EVENT
========================================================= */

.bnp-camp-highlight {
    position: relative;
    padding: 29px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.11),
            rgba(255, 255, 255, 0.045)
        );
    box-shadow:
        0 34px 80px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
}

.bnp-camp-highlight::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(47, 143, 91, 0.1);
}

.bnp-camp-highlight .top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 25px;
}

.bnp-camp-highlight .top small {
    color: #6bd393;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bnp-camp-highlight .top span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 20px;
    color: #ffffff;
    background: rgba(229, 32, 48, 0.16);
    font-size: 12px;
    font-weight: 800;
}

.bnp-camp-highlight h2 {
    position: relative;
    z-index: 2;
    margin: 0 0 21px;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
}

.bnp-camp-highlight ul {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 11px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.bnp-camp-highlight li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 13px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.67);
    background: rgba(255, 255, 255, 0.045);
    font-size: 13px;
}

.bnp-camp-highlight li i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(47, 143, 91, 0.75);
}

.bnp-camp-highlight > a {
    position: relative;
    z-index: 2;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-green),
            var(--camp-green-dark)
        );
    box-shadow: 0 12px 25px rgba(47, 143, 91, 0.24);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.bnp-camp-highlight > a:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 17px 32px rgba(47, 143, 91, 0.35);
}

/* =========================================================
   SEARCH
========================================================= */

.bnp-camp-search {
    position: relative;
    z-index: 10;
    margin-top: -34px;
}

.bnp-search-box {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 17px;
    background: #ffffff;
    box-shadow:
        0 20px 45px rgba(15, 23, 42, 0.12),
        0 5px 15px rgba(15, 23, 42, 0.03);
}

.bnp-search-box > div {
    position: relative;
}

.bnp-search-box > div > i {
    position: absolute;
    top: 50%;
    left: 15px;
    color: var(--camp-green);
    font-size: 16px;
    transform: translateY(-50%);
}

.bnp-search-box input,
.bnp-search-box select {
    width: 100%;
    height: 50px;
    border: 1px solid var(--camp-border);
    border-radius: 10px;
    color: var(--camp-text);
    background: #fafbfc;
    font-size: 14px;
    font-weight: 600;
}

.bnp-search-box input {
    padding: 0 15px 0 43px;
}

.bnp-search-box select {
    padding: 0 14px;
    cursor: pointer;
}

.bnp-search-box input:focus,
.bnp-search-box select:focus {
    border-color: rgba(47, 143, 91, 0.5);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.08);
}

/* =========================================================
   CAMPS GRID
========================================================= */

.bnp-camps-section {
    min-height: 430px;
    padding: 75px 0 90px;
    background: var(--camp-soft);
}

.camp-item {
    margin-bottom: 28px;
}

.camp-item[hidden] {
    display: none !important;
}

.bnp-camp-card {
    position: relative;
    min-height: 100%;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid var(--camp-border);
    border-radius: 19px;
    background: #ffffff;
    box-shadow:
        0 17px 40px rgba(15, 23, 42, 0.07),
        0 5px 14px rgba(15, 23, 42, 0.025);
    transition:
        transform 0.32s ease,
        border-color 0.32s ease,
        box-shadow 0.32s ease;
}

.bnp-camp-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background:
        linear-gradient(
            90deg,
            var(--camp-red),
            var(--camp-green)
        );
}

.bnp-camp-card:hover {
    transform: translateY(-8px);
    border-color: rgba(47, 143, 91, 0.2);
    box-shadow:
        0 28px 58px rgba(15, 23, 42, 0.12),
        0 8px 20px rgba(47, 143, 91, 0.04);
}

.bnp-camp-card .date {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #ffffff;
    background:
        linear-gradient(
            160deg,
            var(--camp-red),
            var(--camp-red-dark)
        );
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bnp-camp-card .date span {
    display: block;
    margin-bottom: 3px;
    font-size: 31px;
    font-weight: 800;
    line-height: 1;
}

.bnp-camp-card .body {
    padding: 23px 20px;
}

.bnp-camp-card .body > small {
    display: block;
    margin-bottom: 6px;
    color: var(--camp-green);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.bnp-camp-card h3 {
    margin: 0 0 16px;
    color: var(--camp-text);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.35;
}

.bnp-camp-card ul {
    display: grid;
    gap: 9px;
    margin: 0 0 19px;
    padding: 0;
    list-style: none;
}

.bnp-camp-card li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--camp-muted);
    font-size: 13px;
}

.bnp-camp-card li i {
    width: 26px;
    color: var(--camp-green);
    text-align: center;
}

.bnp-camp-card .actions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

.bnp-camp-card .actions a {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-green),
            var(--camp-green-dark)
        );
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}

.bnp-camp-card .actions a:last-child {
    border: 1px solid var(--camp-border);
    color: var(--camp-text);
    background: #f7f8fa;
}

.bnp-camp-card .actions a:hover {
    transform: translateY(-3px);
    color: #ffffff;
}

.bnp-camp-card .actions a:last-child:hover {
    border-color: var(--camp-red);
    color: #ffffff;
    background: var(--camp-red);
}

/* Empty Search State */

.bnp-camp-empty-state {
    width: 100%;
    padding: 45px 20px;
    text-align: center;
}

.bnp-camp-empty-state i {
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 20px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-green),
            var(--camp-green-dark)
        );
    font-size: 25px;
}

.bnp-camp-empty-state h3 {
    margin: 0 0 8px;
    color: var(--camp-text);
    font-size: 22px;
    font-weight: 800;
}

.bnp-camp-empty-state p {
    margin: 0;
    color: var(--camp-muted);
    font-size: 14px;
}

/* =========================================================
   REGISTRATION
========================================================= */

.bnp-camp-register {
    padding: 90px 0;
    background: #ffffff;
}

.bnp-register-box {
    position: relative;
    display: grid;
    grid-template-columns: 0.4fr minmax(0, 1fr);
    align-items: center;
    gap: 45px;
    padding: 37px;
    overflow: hidden;
    border-radius: 24px;
    color: #ffffff;
    background:
        linear-gradient(
            125deg,
            #171b22,
            #35101a 50%,
            #173d2c
        );
    box-shadow: 0 28px 68px rgba(15, 23, 42, 0.18);
}

.bnp-register-box::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -80px;
    width: 260px;
    height: 260px;
    border: 38px solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
}

.bnp-register-box > * {
    position: relative;
    z-index: 2;
}

.bnp-register-box .heading small {
    display: block;
    margin-bottom: 7px;
    color: #69d393;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bnp-register-box .heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
}

.bnp-register-box form .row {
    margin-right: -7px;
    margin-left: -7px;
}

.bnp-register-box form [class*="col-"] {
    padding-right: 7px;
    padding-left: 7px;
}

.bnp-register-box input,
.bnp-register-box select {
    width: 100%;
    height: 51px;
    margin-bottom: 14px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    font-size: 14px;
    font-weight: 600;
}

.bnp-register-box input::placeholder {
    color: rgba(255, 255, 255, 0.47);
}

.bnp-register-box select {
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
}

.bnp-register-box select option {
    color: var(--camp-text);
    background: #ffffff;
}

.bnp-register-box input:focus,
.bnp-register-box select:focus {
    border-color: rgba(102, 211, 145, 0.55);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 4px rgba(47, 143, 91, 0.1);
}

.bnp-register-box input.is-invalid,
.bnp-register-box select.is-invalid {
    border-color: rgba(255, 102, 116, 0.85);
    box-shadow: 0 0 0 4px rgba(229, 32, 48, 0.1);
}

.bnp-register-box form > button {
    width: 100%;
    min-height: 51px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-green),
            var(--camp-green-dark)
        );
    box-shadow: 0 13px 27px rgba(47, 143, 91, 0.24);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.25s ease;
}

.bnp-register-box form > button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 34px rgba(47, 143, 91, 0.35);
}

.bnp-register-box form > button:disabled {
    cursor: not-allowed;
    opacity: 0.65;
    transform: none;
}

/* =========================================================
   HOST CAMP CTA
========================================================= */

.bnp-host-camp {
    padding: 0 0 85px;
    background: #ffffff;
}

.host-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 30px 33px;
    border: 1px solid rgba(47, 143, 91, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            #ffffff,
            #f2faf5
        );
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

.host-box small {
    display: block;
    margin-bottom: 6px;
    color: var(--camp-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.host-box h2 {
    margin: 0 0 7px;
    color: var(--camp-text);
    font-size: 27px;
    font-weight: 800;
}

.host-box p {
    max-width: 700px;
    margin: 0;
    color: var(--camp-muted);
    font-size: 14px;
    line-height: 1.65;
}

.host-box > a {
    min-width: 175px;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-red),
            var(--camp-red-dark)
        );
    box-shadow: 0 13px 27px rgba(229, 32, 48, 0.23);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    transition:
        transform 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.host-box > a:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(229, 32, 48, 0.35);
}

/* =========================================================
   SUCCESS MODAL
========================================================= */

.bnp-camp-modal {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition:
        visibility 0.3s ease,
        opacity 0.3s ease;
}

.bnp-camp-modal.active {
    visibility: visible;
    opacity: 1;
}

.bnp-camp-modal .overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 11, 15, 0.83);
    backdrop-filter: blur(7px);
}

.bnp-camp-modal .dialog {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 470px;
    padding: 35px;
    border-radius: 23px;
    background: #ffffff;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.38);
    text-align: center;
    transform: translateY(25px) scale(0.96);
    transition: transform 0.3s ease;
}

.bnp-camp-modal.active .dialog {
    transform: translateY(0) scale(1);
}

.bnp-camp-modal .dialog > span {
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border: 8px solid #edf9f2;
    border-radius: 50%;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-green),
            var(--camp-green-dark)
        );
    font-size: 26px;
}

.bnp-camp-modal h2 {
    margin: 0 0 10px;
    color: var(--camp-text);
    font-size: 27px;
    font-weight: 800;
}

.bnp-camp-modal p {
    margin: 0;
    color: var(--camp-muted);
    font-size: 14px;
    line-height: 1.7;
}

.bnp-camp-modal strong {
    display: block;
    margin: 20px 0;
    padding: 14px;
    border: 1px solid rgba(47, 143, 91, 0.14);
    border-radius: 11px;
    color: var(--camp-green-dark);
    background: #f3faf6;
    font-size: 16px;
    font-weight: 800;
}

.bnp-camp-modal button {
    width: 100%;
    min-height: 47px;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--camp-red),
            var(--camp-red-dark)
        );
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1199px) {

    .bnp-camp-hero-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 0.85fr);
        gap: 40px;
    }

    .bnp-camp-content h1 {
        font-size: 50px;
    }

    .bnp-register-box {
        grid-template-columns: 0.45fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 991px) {

    .bnp-camp-hero {
        padding: 70px 0 85px;
    }

    .bnp-camp-hero-grid {
        grid-template-columns: 1fr;
    }

    .bnp-camp-highlight {
        max-width: 720px;
    }

    .bnp-register-box {
        grid-template-columns: 1fr;
    }

    .host-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767px) {

    .bnp-camp-hero {
        padding: 55px 0 72px;
    }

    .bnp-camp-content h1 {
        font-size: 38px;
    }

    .bnp-camp-content > p {
        font-size: 14px;
    }

    .bnp-camp-buttons {
        align-items: stretch;
        flex-direction: column;
    }

    .bnp-camp-buttons a {
        width: 100%;
    }

    .bnp-search-box {
        grid-template-columns: 1fr;
    }

    .bnp-camps-section,
    .bnp-camp-register {
        padding: 60px 0;
    }

    .bnp-register-box {
        padding: 27px 22px;
    }

    .bnp-register-box .heading h2 {
        font-size: 29px;
    }

    .host-box > a {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .bnp-camp-content h1 {
        font-size: 32px;
    }

    .bnp-page-tag {
        font-size: 9px;
    }

    .bnp-camp-highlight {
        padding: 22px;
    }

    .bnp-camp-highlight h2 {
        font-size: 23px;
    }

    .bnp-camp-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }

    .bnp-camp-card .date span {
        font-size: 26px;
    }

    .bnp-camp-card .body {
        padding: 20px 15px;
    }

    .bnp-camp-card .actions {
        grid-template-columns: 1fr;
    }

    .host-box {
        padding: 25px 21px;
    }

    .host-box h2 {
        font-size: 23px;
    }

    .bnp-camp-modal {
        padding: 10px;
    }

    .bnp-camp-modal .dialog {
        padding: 29px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}