@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Manrope:wght@200..800&display=swap');

/* font-family: "Manrope", sans-serif; */
/* font-family: "Inter", sans-serif; */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* primary color #261fb3 */

html,
body {
    width: 100%;
    height: 100%;
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
}

#maincontainer {
    width: 100%;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
}

a,
p,
span, small, ul, ul li {
    font-family: "Inter", sans-serif;
    color: #222;
}

a {
    text-decoration: none;
    color: #222;
}

::-webkit-scrollbar {
    display: none;
}


#donationSection, .DonationDetails{
    width: 100%;
    height: auto;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#donateContainer{
    width: 100%;
    max-width: 1400px;
    height: 100%;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 25px;
    /* padding: 10px; */
    background-image: url(./donate\ hero\ bg.jpg);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    margin-top: 30px;
    margin-bottom: 30px;
}

.overlayContainer{
    width: auto;
    height: auto;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    background-color: #ffffff60;
    backdrop-filter: blur(10px);
    max-width: 800px;
    text-align: center;
    /* border: 1px solid; */
    border-radius: 15px;
}

.overlayContainer h1{
    font-size: 2.5rem;
    line-height: 3rem;
    color: #111;
    text-transform: capitalize;
    margin-bottom: 15px;
}

.overlayContainer p{
    color: #333;
    margin-bottom: 30px;
    max-width: 800px;
}

.overlayContainer a{
    padding: 10px 25px;
    border: none;
    background: linear-gradient(125deg, #1e37af, #25228d);
    color: #fff;
    font-weight: 600;
    border-radius: 15px;
    /* margin-top: 30px; */
}

.donation-DetailContainer{
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    min-height: 90vh;
    background-image: url(./donation\ page\ left\ bg.png);
    background-position: bottom center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 25px;
    padding: 20px;
    min-height: 1050px;
}

.detailContainer-Left, .detailContainer-Right{
    width: 50%;
    height: auto;
    min-height: 1050px;
}

.detailContainer-Left{
    /* padding: 10px; */
    padding: 15px;
    /* background: #ffffff60;
    backdrop-filter: blur(10px);
    border-radius: 15px; */
}

.detailContainer-Left h4{
    font-size: 1rem;
    text-decoration: underline;
    color: #1e37af;
}

.detailContainer-Left h1{
    font-size: 2.5rem;
    line-height: 3rem;
    margin-bottom: 20px;
    color: #111;
}

.detailContainer-Left >p{
    font-size: 1rem;
    color: #333;
    margin-bottom: 30px;
    max-width: 80%;
}

.detailContainer-Left ul li{
    margin-left: 15px;
    margin-bottom: 5px;
}

.detailContainer-Left ul{
    margin-bottom: 30px;
}

/* .detailContainer-Left{
    background-image: url(./donation\ page\ left\ bg.png);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 25px;
    padding: 20px;
} */

.bankDetails{
    width: auto;
    max-width: 60%;
    height: auto;
    padding: 15px;
    background: #ffffff60;
    backdrop-filter: blur(10px);
    /* border: 1px solid ; */
    border-radius: 15px;
    margin-bottom: 20px;
}

.detailContainer-Left h5{
    position: relative;
    color: #25228d !important;
    text-decoration: underline;
}

.payupi{
    font-size: 1.2rem;
    font-weight: 650;
    color: #25228d;
    transition: all .3s ease-in-out;
}

.payupi:hover{
    transform: translateX(5px);
}

.detailContainer-Right{
    width: 50%;
    height: 100%;
    padding: 20px;
    background: #ffffff60;
    /* background-color: #1e37af50; */
    backdrop-filter: blur(10px);
    border-radius: 15px;
}
/* Style for the popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}
.popup-content img{
    height: 500px;
    width: auto;
}
.upi-qr {
    max-width: 100%;
    height: auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    color: #000;
    cursor: pointer;
}

.close-btn:hover {
    color: #f00;
}

/* ---------- Modern Donation Form ---------- */

.detailContainer-Right form {
    /* background: rgba(255, 255, 255, 0.6); */
    /* backdrop-filter: blur(12px); */
    /* -webkit-backdrop-filter: blur(12px); */
    border-radius: 1.25rem;
    /* padding: 2rem; */
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    /* border: 1px solid rgba(255, 255, 255, 0.3); */

}
/* 
.detailContainer-Right form h2{
    font-size: 1.5rem !important;
    font-weight: 700 !important;
} */
  
  /* Form field wrapper */
  .form-group {
    position: relative;
    display: flex;
    flex-direction: column;
  }
  
  /* Input and Textarea */
  .detailContainer-Right input,
  .detailContainer-Right textarea,
  .detailContainer-Right select {
    width: 100%;
    /* padding: 0.85rem 1rem 0.85rem 3rem; */
    padding: 10px 12px;
    font-size: 1rem;
    border-radius: 0.75rem;
    border: 1px solid #d0d0d0;
    background: #ffffffb8;
    color: #333;
    outline: none;
    transition: 0.3s ease;
  }
  
  /* Textarea */
  .detailContainer-Right textarea {
    min-height: 120px;
    resize: vertical;
  }

  .form-group label{
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  /* Focus effect */
  .detailContainer-Right input:focus,
  .detailContainer-Right textarea:focus,
  .detailContainer-Right select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  }
  
  /* Icon inside field */
  .form-group i {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
  }
  
  /* Submit Button */
  .detailContainer-Right button[type="submit"] {
    background: linear-gradient(135deg, #4a90e2, #007aff);
    color: white;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: 0.3s ease;
  }
  
  .detailContainer-Right button[type="submit"]:hover {
    background: linear-gradient(135deg, #3a78c2, #005ec2);
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .donation-DetailContainer {
      flex-direction: column;
      gap: 2rem;
    }
  
    .detailContainer-Right form {
      padding: 1.5rem;
    }
  
    .detailContainer-Left {
      padding-bottom: 1rem;
    }
  }
  

  @media only screen and (max-width: 768px) {
        /* #donationSection, .DonationDetails{
            width: 100%;
            height: auto;
            padding: 10px;
        } */

        #donationSection{
            padding: 0 10px;
            /* min-height: 500px !important; */

            #donateContainer{
                min-height: 500px;
                margin: 20px 0;
                padding: 10px;

                .overlayContainer{
                    min-height: 490px;
                }
            }
        }

        #donateContainer, .bankDetails{
            width: 100%;
            max-width: auto;
            min-width: auto;
            height: auto;
        }
        .bankDetails{
            width: 100%;
            min-width: 100%;
            max-width: 100%;
        }
         .overlayContainer h1{
            font-size: 2.5rem;
            line-height: 3rem;
            font-weight: 700;
         }

         .donation-DetailContainer{
            width: 100%;
            height: auto;
            min-height: auto;
            min-height: auto;
            max-width: auto;
            flex-wrap: wrap;
            border-radius: 8px;
         }

         .detailContainer-Left, .detailContainer-Right{
            width: 100%;
            height: auto;
            min-height: auto;
            padding: 5px;
         }

         .detailContainer-Left h1{
            font-size: 2rem;
            line-height: 2.5rem;
            margin-top: 5px;
         }

  }