@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');
/* Global Styles */
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
body {
    font-family: 'poppins', sans-serif;
    color: #333;
    line-height: 1.6;
}

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

.bg{
  /* background-image: url(../assets/images/back.jpg); */
    background-size: cover; 
}
.main-header {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  height: 4.5em;
  position: fixed;
  top: 0;
  z-index: 100;
  box-shadow: 0 1em 2em rgba(80, 91, 160, 0.3);
  width: 100vw;
}
/* Logo Container */
.logo-container img {
  height: 3em;
}
.logo-container a {
  display: flex;
  align-items: center;
}
/* Navigation Links */
.navigation {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.navigation-links {
  list-style: none;
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
}
@media (min-width:1025px) {
  .navigation-links{
    gap: 60px;
    justify-content: center;
  }
  
}
.silver-jublee{
  animation: alternate;
  -webkit-animation: alternate;
  animation-duration: 10s;
}

.navigation-links a {
  color: #122023;
  text-decoration: none;
}

.navigation-links a:hover {
  border-bottom: 2px solid #5d4ce6;
  color: #5d4ce6;
}

/* Action Buttons */
.action-buttons {
  text-decoration: none;
  display: flex;
  gap: 1em;
}

.button {
  text-decoration: none;
  padding: 0.5em 0.7em;
  border: 2px solid #5d4ce6;
  cursor: pointer;
  background-color: white;
  color: #5d4ce6;
  font-size: 1em;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #5d4ce6;
  color: white;
}
.notification-button{
  display:none;
}
.donate-button{
  /* display:none; */
}
/* Default styles */
.hamburger-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
.box{
  text-align: center;
  gap: 4;
  height: 500px;
  overflow: auto; 
}

/* Close button for the mobile menu */
.close-menu {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-header {
    height: 3.5em;
  }
  .navigation {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    background-color: white;
    width: 50%;
    height: auto;
    padding: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

  /* Slide-in effect when menu is active */
  .navigation.active {
    display: flex;
    transform: translateX(0);
  }

  .close-menu {
    display: block;
  }

  .navigation-links {
    flex-direction: column;
    width: 100%;
    align-items: center;
  }

  .action-buttons {
    flex-direction: column;
    margin-top: 50px;
  }

  .hamburger-menu {
    display: block;
  }
}

/* Hide overflow when the menu is active */
body.no-scroll {
  overflow: hidden;
}

.slideshow {
  height: fit-content;
    width: 100vw;
    /* margin: 3.5em auto 0 auto; */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-top: 4.5em;
    margin-bottom: 1.5em;
  }
  
  .slide {
    min-width: 100%;
    height: 100%;
    transition: transform 1s ease;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    max-height: 100vh;
    object-fit: cover;
    object-position: top;
  }
  
  /* Styling for Prev and Next buttons */
  button.prev,
  button.next {
    position: absolute;
    top: 50%;
    border:none;
    transform: translateY(-50%);
    color: black;
    background:transparent;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
  }
  
  /* Position the Prev button on the left */
  button.prev {
    left: 10px;
  }
  
  /* Position the Next button on the right */
  button.next {
    right: 10px;
  }  

/* Footer Styles */
.container {
  display: flex;
  margin: auto;
  width: 98%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}


.footer {
  background-color: #ffffff;
  padding: 2em 0;
}

.footer-col {
  flex: 1 1 calc(25% - 1em);
  padding: 0 1em;
}

.footer-col h4 {
  font-size: 18px;
  color: #000000;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 600;
  position: relative;
}

.footer-col h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.5em;
  background-color: #5d4ce6;
  height: 2px;
  width: 3em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 1em;
  text-transform: capitalize;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  color: #000000;
  padding-left: 0.5em;
}

.footer-logo {
  max-width: 12.5em;
  margin-bottom: 15px;
}

.social-links{
  margin-top: 1em;
}
.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.phone,
.email {
  display: flex;
  align-items: center; /* Ensures content is vertically aligned */
}

.phone i,
.email i,
.location i {
  color: #5d4ce6;
  font-size: 1.2em;
}

.footer-col .social-links a{
  display: inline-block;
  height: 40px;
  width: 40px;
  background-color: #e9eaf5;
  margin:0 10px 10px 0;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: #5d4ce6;
  transition: all 0.5s ease;
  }
  .footer-col .social-links a:hover{
  color: #ffffff;
  background-color: #5d4ce6;
  }
  

/* Responsive Design */
@media (max-width: 768px) {
  .footer-col {
    flex: 1 1 calc(50% - 1em);
  }
}

@media (max-width: 480px) {
  .footer-col {
    flex: 1 1 100%;
  }
}

.copyright {
  text-align: center;
  margin-top: 1em;
}

/* Scroll to Top Button */
.scroll-to-top-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000; /* Ensure the button is above other content */
}

.scroll-to-top-btn {
  display: none; /* Initially hidden */
  background-color: #5d4ce6; /* Button background color */
  color: white; /* Icon color */
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5em;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}


.scroll-to-top-btn:hover {
  background-color: #5d4ce6; /* Hover effect */
}







.donation-page{
  max-width: 920px;
  margin: 28px auto 60px;
  padding: 0 16px;
  color: #1f2a44;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.don-hero{
  text-align: center;
  margin: 10px 0 18px;
}
.don-hero h1{
  margin-top: 40px;
  margin: 0 0 8px;
  font-size: clamp(26px, 3.2vw, 38px);
  color: #4B53E4;
}
.don-hero p{
  margin: 0 auto;
  max-width: 720px;
  font-size: 15.5px;
  line-height: 1.55;
  color: #2f3442;
}

.don-card{
  background: #dfe3ff;
  border: 1px solid #0f22471f;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(30, 60, 160, .10);
}

.section-head{
  text-align: center;
  padding: 10px 10px 6px;
}
.section-head h2{
  margin: 0;
  font-size: 24px;
  color: #4B53E4;
}
.section-head p{
  margin: 6px 0 0;
  color: #5a6275;
  font-size: 13.5px;
}

.divider{
  height: 1px;
  background: rgba(30, 55, 120, .25);
  margin: 14px 0 16px;
}

.block{ margin: 14px 0; }

.block-label{
  display: inline-block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 8px;
}

.pill-row{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pill{
  border: 1px solid rgba(30, 55, 120, .25);
  background: rgba(63, 82, 217, .25);
  color: #ffffff;
  padding: 12px 16px;
  min-width: 120px;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, 
  /* background .12s ease, box-shadow .12s ease; */
}
.pill:hover{ transform: translateY(-1px); }
.pill.is-active{
  background:#4B53E4;
  box-shadow: 0 10px 18px rgba(63,82,217,.22);
}

.custom-wrap{
  margin-top: 12px;
  display: none;
}
.custom-wrap.is-open{ display: block; }

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  align-items: start;
}

.subhead{
  background: #cbd3ff;
  border-radius: 14px;
  padding: 14px;
  margin: 16px 0 10px;
  text-align: center;
  border: 1px solid rgba(30, 55, 120, .12);
}
.subhead h3{
  margin: 0;
  color: #4B53E4;
  font-size: 22px;
}
.subhead p{
  margin: 6px 0 0;
  color: #5a6275;
  font-size: 13.5px;
}

.input-group label{
  display: inline-block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 3px;
  padding: 10px 12px;
  font-size: 14px;
  transition: 0.3s ease;
  outline: none;
}

/* required */
.req {
  color: #ff3b3b;
  font-weight: 700;
  margin-left: 3px;
  font-size: 0.95em;
  vertical-align: middle;
}

/* When field is invalid (empty + required) */
.input-group input:invalid {
  border: 1px solid #e63946; /* red stroke */
  box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.15);
}

/* When field becomes valid */
.input-group input:valid {
  border: 1px solid #2a9d8f; /* optional green */
}

/* Focus */
.input-group input:focus {
  border: 1px solid #1741da;
  box-shadow: 0 0 0 3px rgba(23, 65, 218, 0.1);
}


.input-group input,
textarea,
select{
  width: 100%;
  border: 1px solid rgba(30, 55, 120, .20);
  background: #fff;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  outline: none;
}

textarea{
  min-height: 140px;
  resize: vertical;
}

.select{ position: relative; }
.select select{
  appearance: none;
  padding-right: 40px;
}
.select::after{
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 0;
  height: 0;
  transform: translateY(-30%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 7px solid rgba(35, 48, 92, .85);
  pointer-events: none;
}

.input-prefix{
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 8px;
  align-items: center;
}
.prefix{
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(63,82,217,.12);
  border: 1px solid rgba(30, 55, 120, .18);
  font-weight: 900;
  color: #2b3260;
}
.hint{
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: rgba(45, 52, 80, .75);
}

/* Checkbox panels */
/* Card */
.panel-check{
  margin: 14px 0;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(23, 65, 218, 0.14);
  background: rgba(203, 211, 255, 0.55);
  backdrop-filter: blur(6px);
}

/* Layout */
.check{
  display: grid;
  grid-template-columns: 48px 1fr; /* switch width */
  gap: 12px;
  align-items: start;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding: 8px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.check:hover{
  background: rgba(23, 65, 218, 0.06);
}

/* Hide native checkbox (accessible) */
.check input{
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

/* Toggle track */
.check-ui{
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: rgba(31, 37, 64, 0.18);
  border: 1px solid rgba(31, 37, 64, 0.18);
  margin-top: 2px;
  position: relative;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

/* Toggle knob */
.check-ui::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-50%);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: left 0.22s ease, transform 0.22s ease;
}

/* Focus ring */
.check input:focus-visible + .check-ui{
  box-shadow: 0 0 0 4px rgba(23, 65, 218, 0.18);
}

/* ON state */
.check input:checked + .check-ui{
  background: #1741da;
  border-color: rgba(23, 65, 218, 0.55);
}

.check input:checked + .check-ui::after{
  left: 23px; /* knob moves right */
}

/* Press feedback */
.check:active .check-ui::after{
  transform: translateY(-50%) scale(0.97);
}

/* Text */
.check-text strong{
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1f2540;
  line-height: 1.2;
}

.check-text small{
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(31, 37, 64, 0.72);
  line-height: 1.35;
}

/* Optional disabled state */
.check input:disabled + .check-ui{
  opacity: 0.55;
  cursor: not-allowed;
}
.check input:disabled ~ .check-text{
  opacity: 0.7;
}

/* CTA */
/* CTA wrapper */
.cta{
  text-align: center;
  padding: 16px 0 6px;
}

/* Main button */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: linear-gradient(135deg, #3f52d9, #5b6ef0);
  color: #ffffff;

  border: none;
  border-radius: 14px;
  padding: 15px 26px;

  font-weight: 800;
  font-size: 18px;
  min-width: 280px;

  cursor: pointer;
  position: relative;
  overflow: hidden;

  box-shadow: 0 14px 30px rgba(63, 82, 217, 0.35);
  transition: 
    transform 0.18s ease,
    box-shadow 0.18s ease,
}

/* Arrow icon */
.btn-icon{
  font-size: 18px;
  transition: transform 0.2s ease;
}

/* Hover */
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(63, 82, 217, 0.45);
}

/* Active (click feedback) */
.btn:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(63, 82, 217, 0.35);
}

/* Summary text */
.meta{
  margin-top: 10px;
  font-size: 13px;
  color: rgba(35, 45, 75, 0.75);
}

.meta strong{
  color: #2a2f4d;
}

/* Mobile */
@media (max-width: 600px){
  .btn{
    min-width: 100%;
    font-size: 16px;
    padding: 14px 18px;
  }
}


/* responsive */
/* =========================
   ✅ MOBILE (0px - 600px)
   ========================= */
@media (max-width: 600px){

  /* Page spacing */
  .donation-page{
    margin: 18px auto 40px;
    padding: 0 12px;
  }

  /* Hero */
  .don-hero h1{
    margin-top: 40px;
    font-size: 24px;
    line-height: 1.2;
  }
  .don-hero p{
    font-size: 14px;
  }

  /* Card padding */
  .don-card{
    padding: 14px;
    border-radius: 16px;
  }

  /* 2 column -> 1 column */
  .grid-2{
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Amount buttons */
  .pill-row{
    gap: 10px;
  }
  .pill{
    min-width: calc(50% - 5px);
    padding: 12px 12px;
    font-size: 14px;
  }

  /* Button full width */
  .btn{
    width: 100%;
    min-width: 100%;
    font-size: 16px;
    padding: 14px 16px;
  }

  /* Textarea */
  textarea{
    min-height: 120px;
  }

  /* Checkbox panels */
  .panel-check{
    padding: 12px;
  }
}


/* =========================
   ✅ TABLET (601px - 1024px)
   ========================= */
@media (min-width: 601px) and (max-width: 1024px){

  /* Page width & spacing */
  .donation-page{
    max-width: 900px;
    margin: 24px auto 50px;
    padding: 0 16px;
  }

  /* Hero */
  .don-hero h1{
    margin-top: 40px;
    font-size: 30px;
  }
  .don-hero p{
    font-size: 15px;
  }

  /* 2 columns but smaller gap */
  .grid-2{
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
  }

  /* Amount buttons */
  .pill{
    min-width: 140px;
    font-size: 15px;
  }

  /* Button */
  .btn{
    min-width: 320px;
    font-size: 17px;
  }
}


/* =========================
   ✅ DESKTOP (1025px and up)
   ========================= */
@media (min-width: 1025px){

  /* Page width & spacing */
  .donation-page{
    max-width: 980px;
    margin: 32px auto 70px;
    padding: 0 18px;
  }

  /* Hero */
  .don-hero h1{
    margin-top: 40px;
    font-size: 38px;
  }
  .don-hero p{
    font-size: 16px;
  }

  /* Card padding */
  .don-card{
    padding: 22px;
  }

  /* Better spacing on desktop */
  .grid-2{
    gap: 16px 22px;
  }

  /* Amount buttons */
  .pill{
    min-width: 150px;
    padding: 12px 18px;
    font-size: 15px;
  }

  /* CTA button */
  .btn{
    min-width: 340px;
    font-size: 18px;
  }

  /* Textarea */
  textarea{
    min-height: 150px;
  }
}
  .navigation-links a:hover{
    background: rgba(0,0,0,0.07);
  }

  /* Action buttons stack */
  .action-buttons{
    display: grid;
    gap: 10px;
    margin-top: 10px;
  }

  /* When menu open */
  body.nav-open .navigation{
    transform: translateX(0);
  }
  body.nav-open .nav-overlay{
    opacity: 1;
    visibility: visible;
  }

  /* prevent background scroll when open */
  body.nav-open{
    overflow: hidden;
    touch-action: none;
  }


/* Tablet a bit wider */
@media (min-width: 601px) and (max-width: 1024px){
  .navigation{
    width: min(380px, 75vw);
  }
}
