@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Elms+Sans:ital,wght@0,100..900;1,100..900&family=Gasoek+One&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Elms Sans", sans-serif;
}

html,
body{
    overflow-x:hidden;
}

.nav {
    width: 100%;
    min-height: 80vh;
    position: relative;
}

.bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: fadeSlide 15s infinite;
}

.bg1 {
    background-image: url("../images/ban2.png");
    animation-delay: 0s;
}

.bg2 {
    background-image: url("../images/ban3.png");
    animation-delay: 5s;
}

.bg3 {
    background-image: url("../images/ban4.png");
    animation-delay: 10s;
}

.nav::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, .55), rgba(0, 0, 0, .3), transparent);
    z-index: 1;
}

.navwrap,
.hero {
    position: relative;
    z-index: 2;
}


.navwrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(12px);
    z-index: 9999;
}

.main-nav {
    width: min(1400px, 92%);
    height: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo{
    flex-shrink: 0;
}

.logo img{
    display: block;
    width: 120px;
    height: 70px;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 992px){

    .logo img{
        width: 60px;
        height: 60px;
    }

}

/* Mobile */
@media (max-width: 768px){

    .logo img{
        width: 52px;
        height: 52px;
    }

}

/* Small phones */
@media (max-width: 480px){

    .logo img{
        width: 45px;
        height: 45px;
    }

}

.sections {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pages {
    height: 80px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .35s;
}

/* Hover effect for all navbar items except Donation */

.pages:not(.donation):hover {
    background: #d83529;
}

.pages:not(.donation):hover span {
    color: #fff;
}

.pages span {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.pages.active {
    background: #d83529;
}

.pages.active span {
    color: #fff;
}

.donation button {
    border: none;
    background: #e53935;
    color: #fff;
    padding: 12px 22px;
    border-radius: 8px;
    cursor: pointer;
    transition: .35s;
}

.donation button:hover {
    background: #ff5a4f;
    transform: translateY(-2px);
}

.hero {
    display: flex;
    align-items: center;
    min-height: 80vh;
    padding: 2vh 0;
}

.herowrap {
    width: 92%;
    max-width: 1200px;
    margin: auto;
    color: #fff;
    padding-top: 80px;
}

.herowrap h3 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    opacity: 0;
    word-break: break-word;
    transform: translateY(40px);
    animation: fadeUp .8s forwards;
}

.herowrap .sub {

    opacity: 0;

    transform: translateY(40px);

    animation: fadeUp .8s forwards;

    animation-delay: 1.7s;

}


.hero-fullform {

    margin: 22px 0 28px;

    width: 100%;
    max-width: 650px;

    border-left: 4px solid #f44336;

    padding-left: 18px;

    /* Animation */
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp .8s forwards;
    animation-delay: 1.35s;

}

.hero-fullform span {

    display: block;

    color: #f44336;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 4px;

    margin-bottom: 8px;

    text-transform: uppercase;

}

.hero-fullform p {

    color: #f5f5f5;

    font-size: 18px;

    line-height: 1.8;

    font-weight: 300;

    word-break: break-word;

}

.hero-fullform strong {

    color: #ff6b57;

    font-weight: 700;

}

@media(max-width:768px) {

    .hero-fullform {

        margin: 18px 0 22px;

        padding-left: 14px;

    }

    .hero-fullform span {

        font-size: 12px;

        letter-spacing: 3px;

    }

    .hero-fullform p {

        font-size: 15px;

        line-height: 1.7;

    }

}

.sub {
    margin-top: 25px;
}

.sub p {
    width: min(550px, 100%);
    padding: 22px;
    border-radius: 18px;
    background: rgba(30, 30, 30, .35);
    backdrop-filter: blur(12px);
    border-left: 4px solid #8dd8ff;
    color: #fff;
    line-height: 1.8;
    font-size: clamp(15px, 2vw, 17px);
}

.herowrap h3:nth-child(1) {
    animation-delay: .2s;
}

.herowrap h3:nth-child(2) {
    animation-delay: .5s;
}

.herowrap h3:nth-child(3) {
    animation-delay: .8s;
}

.herowrap h3:nth-child(4) {
    animation-delay: 1.1s;
}

.herowrap .sub {
    opacity: 0;
    animation: fadeUp .8s forwards;
    animation-delay: 1.4s;
}

.menu-btn {
    display: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

@media(max-width:992px) {

    .menu-btn {
        display: block;
    }

    .sections {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 80px);
        background: #111;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transition: .4s;
        padding-top: 20px;
    }

    .sections.active {
        right: 0;
    }

    .pages {
        height: 60px;
        justify-content: flex-start;
        padding-left: 30px;
    }

    .donation {
        padding: 20px 30px;
    }

    .donation button {
        width: 100%;
    }

}

@media(max-width:768px) {

    .nav {
        min-height: 70vh;
    }

    .navwrap {
        height: 70px;
    }

    .hero {
        min-height: 70vh;
    }

    .herowrap {
        text-align: center;
        padding-top: 70px;
    }

    .sub p {
        margin: auto;
        text-align: center;
    }

}

@media(max-width:480px) {

    .sections {
        width: 100%;
    }

    .logo {
        width: 140px;
    }

    .herowrap h3 {
        line-height: 1.1;
    }

    .sub p {
        padding: 18px;
    }

}

@keyframes fadeSlide {

    0%,
    100% {
        opacity: 0;
    }

    6%,
    33% {
        opacity: 1;
    }

    40% {
        opacity: 0;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Chrome, Edge, Safari */
::-webkit-scrollbar{
    width:12px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:#e53935;
    border-radius:10px;
}

::-webkit-scrollbar-thumb:hover{
    background:#ff5a4f;
}










/* donation */

/*=========================================
            DONATION SECTION
=========================================*/

.donation-section {

    width: 100%;

    min-height: 100vh;

    padding-top: 50px ;
    padding-bottom: 50px;

    background:
        radial-gradient(circle at top left, #fff4ec 0%, #fff8f4 35%, #fffdfb 100%);

    overflow: hidden;

}

.donation-container {

    width: min(1350px, 92%);

    margin: auto;

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 50px;

}

/*=========================================
            GLASS CARD
=========================================*/

.donation-card {

    flex: 1;

    /* background: rgba(255, 255, 255, .55); */

    /* backdrop-filter: blur(22px); */

    /* -webkit-backdrop-filter: blur(22px); */

    border: 1px solid rgba(255, 255, 255, .75);

    border-radius: 28px;

    padding: 50px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, .08);

    transition: .35s;

    position: relative;

}


.donation-details{
    background-color: white;
}

/*=========================================
            HEADING
=========================================*/

.section-tag {

    display: inline-block;

    color: #b91c1c;

    font-size: 14px;

    letter-spacing: 4px;

    font-weight: 700;

    margin-bottom: 18px;

    text-transform: uppercase;

}

.donation-card h2 {

    font-size: 42px;

    color: #2d2d2d;

    margin-bottom: 18px;

}

.donation-text {

    color: #666;

    line-height: 1.9;

    margin-bottom: 35px;

    font-size: 17px;

}

/*=========================================
        BANK DETAILS
=========================================*/

.detail-row {

    display: flex;

    justify-content: space-between;

    align-items: flex-start;

    gap: 30px;

    padding: 18px 0;

    border-bottom: 1px solid rgba(0, 0, 0, .08);

}

.detail-row:last-child {

    border-bottom: none;

}

.label {

    font-weight: 700;

    color: #444;

    font-size: 16px;

}

.value {

    color: #111;

    text-align: right;

    font-weight: 600;

    font-size: 16px;

    word-break: break-word;

}

/*=========================================
            QR CARD
=========================================*/

.qr-card {


    text-align: center;
    background-color: none;
    box-shadow: none;

}
/* .qr-card:hover{
    
    transform: translateY(-8px);


} */

/*=========================================
            QR WRAPPER
=========================================*/

.qr-wrapper {

    width: 340px;

    height: 340px;

    margin: 35px auto;

    position: relative;

    border-radius: 25px;

    overflow: hidden;

    background: white;

    /* border: 1px solid rgba(0, 0, 0, .08); */

    /* box-shadow:
        0 20px 45px rgba(0, 0, 0, .08); */
        
    border: 2px solid black;

}

.qr-image {

    width: 100%;

    height: 100%;

    object-fit: cover;

    filter: blur(8px);

    transition: .5s;


}

/*=========================================
            OVERLAY
=========================================*/

.qr-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    justify-content: center;

    align-items: center;

    background: rgba(255, 255, 255, 0.071);

    backdrop-filter: blur(1px);

}

.qr-overlay button {

    border: none;

    outline: none;

    padding: 15px 34px;

    background: #fcfcfc;

    color: rgb(10, 10, 10);

    border: 2px solid black;

    font-size: 16px;

    font-weight: 600;

    border-radius: 50px;

    cursor: pointer;

    transition: .35s;

}

.qr-overlay button:hover {

    background: #bab8b877;

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(65, 64, 64, 0.28);

}

/*=========================================
            NOTE
=========================================*/

.qr-note {

    color: #555555;

    font-size: 15px;

    line-height: 1.8;

    max-width: 360px;

    margin: auto;

}

.warning{
    width: 100%;
    padding: 2vh 0;
}
.warning p{
    text-align: center;
    width: 100%;
    margin: auto;
    color: red;
    font-weight: bolder;
    padding: 0 4vh;
}

/*=========================================
            RESPONSIVE
=========================================*/

@media(max-width:992px) {

    .donation-container {

        flex-direction: column;

    }

    .qr-wrapper {

        width: 300px;
        height: 300px;

    }

    .donation-card {

        padding: 40px;

    }
    .qr-card{
        width: 100%;
    }

}

@media(max-width:576px) {

    .donation-section {

        padding: 70px 0;

    }

    .donation-card {

        padding: 28px;

    }

    .donation-card h2 {

        font-size: 32px;

    }

    .detail-row {

        flex-direction: column;

        gap: 8px;

    }

    .value {

        text-align: left;

    }

    .qr-wrapper {

        width: 260px;
        height: 260px;

    }

    .qr-overlay button {

        padding: 13px 28px;

        font-size: 15px;

    }
    .qr-card{
        width: 100%;
    }

}


/* donation */

.donation button.active{

    background:transparent;

    color:#fff;

    border:1px solid rgb(255, 255, 255);

    box-shadow:none;

    /* text-decoration: underline; */

}