:root {
    --demo-primary: #087a68;
    --demo-primary-dark: #075e52;
    --demo-primary-light: #eaf8f3;

    --demo-heading: #15201d;
    --demo-text: #5d6865;
    --demo-muted: #7f8987;

    --demo-white: #ffffff;
    --demo-border: #dce7e4;
    --demo-danger: #b34438;
    --demo-danger-bg: #fff1ef;
    --demo-success: #0a755f;
    --demo-success-bg: #e7f7f2;

    --demo-shadow:
        0 30px 80px rgba(6, 48, 41, 0.24);
}

/* =========================================
   RESET
========================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-width: 0;
    min-height: 100%;
    margin: 0;

    color: var(--demo-text);
    background: #eef4f2;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}

button,
input {
    font: inherit;
}

/* =========================================
   PAGE BACKGROUND
========================================= */

.demo-page {
    min-height: 100vh;
}

.demo-hero {
    position: relative;

    min-height: 100vh;
    padding: 38px 10px 20px !important ;

    display: flex;
    align-items: center;

    overflow: hidden;

    /*
     * Replace this image with your own background:
     * assets/images/demo-background.jpg
     */
   background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.80) 0%,
            rgba(0, 0, 0, 0.55) 50%,
            rgba(0, 0, 0, 0.35) 100%
        ),
        url("../images/bg-demo-ngo-11.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.demo-overlay {
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(26, 144, 117, 0.16),
            transparent 42%
        ),
        linear-gradient(
            180deg,
            rgba(0, 26, 23, 0.05),
            rgba(0, 26, 23, 0.12)
        );

    pointer-events: none;
}

.demo-container {
    position: relative;
    z-index: 2;

    width: min(1170px, 47%);
    margin: 0 auto;

    display: flex;
    justify-content: center;
}

/* =========================================
   FORM CARD
========================================= */

.demo-form-card {
    position: relative;

    width: min(715px, 86%);
    padding: 68px 46px 34px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(250, 253, 252, 0.96)
        );

    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 26px;

    box-shadow: var(--demo-shadow);

    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
}

.demo-card-icon {
    position: absolute;

    top: -40px;
    left: 50%;

    width: 82px;
    height: 82px;

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

    color: #ffffff;

    background:
        linear-gradient(
            145deg,
            #139675,
            var(--demo-primary-dark)
        );

    border: 7px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;

    transform: translateX(-50%);

    box-shadow:
        0 14px 30px rgba(4, 83, 67, 0.27);
}

.demo-card-icon svg {
    width: 36px;
    height: 36px;
}

.demo-heading {
    max-width: 580px;
    margin: 0 auto 25px;

    text-align: center;
}

.demo-kicker {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--demo-primary);

    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.demo-heading h1 {
    margin: 0;

    color: var(--demo-heading);

    font-size: clamp(30px, 3vw, 43px);
    font-weight: 780;
    line-height: 1.15;
    letter-spacing: -1.1px;
}

.demo-heading p {
    max-width: 520px;

    margin: 12px auto 0;

    color: var(--demo-text);

    font-size: 14px;
    line-height: 1.65;
}

/* =========================================
   ALERTS
========================================= */

.demo-alert {
    margin-bottom: 18px;
    padding: 13px 15px;

    border-radius: 11px;

    font-size: 12px;
    line-height: 1.55;
}

.demo-alert strong {
    display: block;
    margin-bottom: 5px;
}

.demo-alert ul {
    margin: 0;
    padding-left: 18px;
}

.demo-alert-error {
    color: var(--demo-danger);
    background: var(--demo-danger-bg);

    border: 1px solid rgba(179, 68, 56, 0.18);
}

.demo-alert-success {
    display: flex;
    align-items: flex-start;
    gap: 9px;

    color: var(--demo-success);
    background: var(--demo-success-bg);

    border: 1px solid rgba(10, 117, 95, 0.18);
}

.demo-alert-success span {
    width: 24px;
    height: 24px;

    flex: 0 0 24px;

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

    color: #ffffff;
    background: var(--demo-success);

    border-radius: 50%;

    font-weight: 800;
}

.demo-alert-success p {
    margin: 2px 0 0;
}

/* =========================================
   FORM
========================================= */

.demo-form {
    width: 100%;
}

.demo-form-row {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}

.demo-schedule-row {
    margin-top: 14px;
}

.demo-field {
    min-width: 0;
    margin-bottom: 14px;
}

.demo-field label {
    position: absolute;

    width: 1px;
    height: 1px;

    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.demo-input-wrap {
    position: relative;
}

.demo-input-icon {
    position: absolute;

    top: 50%;
    left: 17px;

    width: 22px;
    height: 22px;

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

    color: var(--demo-primary);

    transform: translateY(-50%);

    pointer-events: none;
}

.demo-input-icon svg {
    width: 100%;
    height: 100%;
}

.demo-input-wrap input {
    width: 100%;
    height: 58px;
    padding: 0 16px 0 50px;

    color: var(--demo-heading);
    background: rgba(255, 255, 255, 0.95);

    border: 1px solid var(--demo-border);
    border-radius: 12px;

    outline: none;

    font-size: 13px;

    transition:
        border-color 0.24s ease,
        box-shadow 0.24s ease,
        transform 0.24s ease;
}

.demo-input-wrap input::placeholder {
    color: #8b9492;
}

.demo-input-wrap input:focus {
    border-color: var(--demo-primary);

    box-shadow:
        0 0 0 4px rgba(8, 120, 98, 0.09);

    transform: translateY(-1px);
}

.demo-input-wrap input[type="date"],
.demo-input-wrap input[type="time"] {
    color-scheme: light;
}

.demo-submit {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #0e8d70,
            var(--demo-primary-dark)
        );

    border: 0;
    border-radius: 13px;

    cursor: pointer;

    font-size: 15px;
    font-weight: 750;

    box-shadow:
        0 14px 28px rgba(4, 79, 65, 0.22);

    transition:
        transform 0.24s ease,
        box-shadow 0.24s ease;
}

.demo-submit svg {
    width: 21px;
    height: 21px;
}

.demo-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 18px 34px rgba(4, 79, 65, 0.28);
}

.demo-submit:active {
    transform: translateY(0);
}

.demo-security-note {
    margin-top: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: var(--demo-muted);

    font-size: 11px;
    line-height: 1.5;
    text-align: center;
}

.demo-security-note svg {
    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    color: var(--demo-primary);
}

/* =========================================
   TABLET
========================================= */

@media screen and (max-width: 900px) {
    .demo-hero {
        padding: 64px 18px 40px;
        align-items: flex-start;
    }

    .demo-form-card {
        width: min(680px, 100%);
        padding: 62px 34px 30px;
    }
}

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

@media screen and (max-width: 640px) {
    .demo-hero {
        min-height: 100svh;
        padding: 58px 12px 24px;

        background-position: center;
    }

    .demo-form-card {
        padding: 55px 16px 23px;

        border-radius: 20px;
    }

    .demo-card-icon {
        top: -32px;

        width: 66px;
        height: 66px;

        border-width: 5px;
    }

    .demo-card-icon svg {
        width: 29px;
        height: 29px;
    }

    .demo-heading {
        margin-bottom: 20px;
    }

    .demo-heading h1 {
        font-size: 30px;
    }

    .demo-heading p {
        font-size: 13px;
    }

    .demo-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .demo-schedule-row {
        margin-top: 0;
    }

    .demo-field {
        margin-bottom: 11px;
    }

    .demo-input-wrap input {
        height: 54px;
        padding-left: 47px;

        font-size: 13px;
    }

    .demo-input-icon {
        left: 15px;

        width: 20px;
        height: 20px;
    }

    .demo-submit {
        min-height: 54px;

        font-size: 14px;
    }

    .demo-security-note {
        align-items: flex-start;

        font-size: 10.5px;
    }
}

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

@media screen and (max-width: 380px) {
    .demo-hero {
        padding-left: 7px;
        padding-right: 7px;
    }

    .demo-form-card {
        padding-left: 13px;
        padding-right: 13px;
    }

    .demo-heading h1 {
        font-size: 27px;
    }
}

/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
    .demo-input-wrap input,
    .demo-submit {
        transition: none;
    }
}
.demo-container{
    position: relative;
}

.back-home-btn{
    position: absolute;
    top: 25px;
    /* right: 25px; */
    z-index: 999;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 20px;

    background: rgba(255,255,255,.12);
    backdrop-filter: blur(10px);

    color: #fff;
    text-decoration: none;

    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;

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

    transition: .35s ease;
}

.back-home-btn i{
    font-size:18px;
}

.back-home-btn:hover{
    background:#0a8f74;
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 12px 30px rgba(0,0,0,.25);
}