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

body {
  font-family: "Merriweather", "Open Sans", sans-serif;
}

/* =========================
   HEADER & NAVIGATION
========================= */


.site-header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
}

/* Logo */
.logo img {
  height: 40px;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
  font-family: "Open Sans";
}

.nav-links a:hover {
  color: #f4b400;
  transition: all 0.3s ease;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.mobile-buttons {
  display: none;
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  /* So mobile buttons stack */
  gap: 24px;
  background-color: #3d291e;
  /* Optional overlay for mobile menu */
  position: absolute;
  top: 63px;
  right: 0px;
  padding: 16px;

  width: 100%;
  height: 100vh;
}

.hamburger span {
  width: 36px;
  height: 2px;
  background: rgb(255, 255, 255);
  border-radius: 1rem;
  transition: all 0.3s ease;
  /* smooth animation */
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1100;
  /* above menu */
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: rgb(255, 255, 255);
}

/* When active, transform spans into an X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  /* hide the middle line */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -7.1px);
}

/* Nav buttons */
.nav-buttons {
  display: flex;
  gap: 12px;
}


.btn {
  text-decoration: none !important;
  text-align: center;
}

/* =========================
   HERO
========================= */

.hero {
  height: 70vh;
  background: url("./Pictures/Youth-Mothers-Fathers-Children.png") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 35%;
  height: fit-content;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #d1d1d123;
  background-blend-mode: darken;
  border-radius: 0.5rem;
  padding: 0.5rem 5rem;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  text-align: center;
}

.hero span {
  color: #ffffff;
  width: fit-content;
  display: inline-block;
  background-color: #cdcdcd2c;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  margin: 0.5rem 0;
}

.about-tag {
  font-size: 14px;
  font-family: "Open Sans";
  text-align: center;
}

.hero p {
  margin: 12px 0;
  font-size: 1rem;
  font-family: "Open Sans";
  color: #d1d1d1;
}

.divider {
  width: 100%;
  height: 1px;
  background: #999;
  margin: 12px auto 0;
}

/* =========================
   BUTTON SYSTEM
========================= */

.btn {
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-family: "Open Sans";
  border-radius: 0.25rem;
  color: white;
  background: linear-gradient(90deg, #f4b400, #db4437) border-box;
}

.btn:hover {
  filter: brightness(0.8);
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(90deg, #f4b400, #db4437) border-box;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid white;
  color: white;
}

#donateBtn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid white;
  color: white;
}

/* =========================
   About Section
========================= */
.about {
  height: fit-content;
  padding-top: 80px;
  padding-left: 300px;
  padding-right: 300px;
  background: #fbf6f1;
  align-items: center;
  display: flex;
  justify-content: center;
}

.about-wrapper {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  max-width: 1200px;
}

/* IMAGE LAYOUT */
.about-images {
  height: fit-content;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.image-large {
  width: 100%;
}   
.image-large img {
  width: 100% ;
  height: fit-content;
  object-fit: cover;
}

/* CONTENT */
.about-content {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 12px;
  border-left: #d1d1d1 solid 1.5px;
}

.about-text1 {
  gap: 8px;
}

.about-tag {
  display: inline-block;
  font-size: 12px;
  background: #e7ded6;
  padding: 6px 12px;
  border-radius: 20px;
  width: fit-content;
}

.about-content h2 {
  font-size: 38px;
  line-height: 1.2;
  padding-bottom: 1.5rem;
}

.highlight {
  border-bottom: 6px solid #f4b400;
}

.about-content p {
  color: #050505;
  line-height: 1.6;
  font-family: "Open Sans";
}

.about {
  padding-bottom: 100px;
}




.event-details {
  margin-top: 16px;
  font-family: "Open Sans", sans-serif;
  color: #666;
  line-height: 1.6;
}

.event-details p {
  margin-bottom: 6px;
}

.event-cta {
  margin-top: 20px;
  display: flex;
}



/* BUTTON */
.btn-primary {
  background: #d97706;
  color: white;
  padding: 12px 22px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: fit-content;
}

.btn-primary:hover {
  filter: brightness(0.9);
}

.preacher {
  text-align: left;
  margin-top: 30px;
}

.preacher p {
  font-family: "Open Sans";
  color: #242424;
  margin-bottom: 20px;
  font-size: 14px;
}

.preacher button {
  background: #d97706;
  color: white;
  border: none;
  padding: 12px 22px;
  border-radius: 6px;
  cursor: pointer;
}
.reverse{
  display: flex;
  flex-direction: row;
}




* BUTTONS */

#library-outline-btn {
  background: transparent;
  border: 1px solid #333;
  color: white;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
}

#library-outline-btn:hover {
  border-color: #f4b400;
}

#library-primary-btn {
  background: #d97706;
  border: none;
  color: white;
  padding: 12px 22px;
  border-radius: 6px;
  cursor: pointer;
}

#library-primary-btn:hover {
  filter: brightness(0.8);
  transition: all 0.3s ease;
}

/* FOOTER */

#library-footer {
  text-align: center;
  margin-top: 30px;
}

#library-footer-text {
  font-family: "Open Sans";
  color: #666666;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 25px;
}






/* Footer Section */

.footer {
  background: #0c0c0c;
  color: #dcdcdc;
  padding: 80px 0;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr 1.5fr;
  gap: 60px;
}

/* LOGO */

.footer-logo {
  width: 70px;
  margin-bottom: 16px;
}

.footer-brand p {
  margin-bottom: 6px;
  opacity: 0.8;
  font-family: "Open Sans", sans-serif;
}

/* HEADINGS */

.footer h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 16px;
}

/* LINKS */

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

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

.footer a {
  color: #dcdcdc;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.footer a:hover {
  color: #f4b400;
}

.footer p{
  font-family: "Open Sans", sans-serif  ;
}

.social-text {
  font-family: "Open Sans", sans-serif;
} 

.footer-col p {
  opacity: 0.7;
  font-family: "Open Sans", sans-serif;
} 

/* CONTACT */

.footer-label {
  opacity: 0.7;
  margin-bottom: 6px;
  font-family: "Open Sans", sans-serif;
}


/* NEWSLETTER */
  .form-input-group {
    display: flex;
    gap: 0; /* Keeps them flush like your design */
    margin-top: 15px;
  }

  .form-control {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px 0 0 8px; /* Rounded only on the left */
    color: white;
    padding: 12px 15px;
    flex-grow: 1;
    outline: none;
  }

  .primary-gradient {
    background: linear-gradient(135deg, #38b000 0%, #9ef01a 100%);
    border: none;
    border-radius: 0 8px 8px 0; /* Rounded only on the right */
    color: white;
    font-weight: 700;
    padding: 12px 20px;
    cursor: pointer;
    transition: opacity 0.3s;
  }

  .primary-gradient:hover {
    opacity: 0.9;
  }




/* SOCIAL */

.social-text {
  display: block;
  margin-bottom: 10px;
  opacity: 0.7;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons img {
  height: 25px;
  width: 30px;
}

.social-icons a {
  width: 32px;
  height: 32px;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}


/* MODAL */
.donate-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url('./Pictures/Donate\ image.jpg');
  background-size: cover;
  background-position: center;
  justify-content: center;
  align-items: center;
  font-family: "Open Sans", sans-serif;


}

.currency-tabs {
  display: flex;
  width: 100%;
  border-radius: 4px;
  gap: 10px;
  height: 40px;
}

.currency-tab {
  flex: 1;
  padding: 12px;
  border: none;
  background-color: #ffffff9d;
  color: rgb(0, 0, 0);
  border-radius: 4px;
  height: fit-content;
}

.currency-tab.active {
  background: #FFCC00;
  color: #000;
}

.donate-modal.active {
  display: flex;
}

.amount-options {
  border: none;
  padding-top: 16px;
  padding-bottom: 16px;
}

.customAmount {
  padding: 8px 16px;
  height: 40px;
  border-radius: 4px;
  border: none;
  background-color: #ffffff13;
  border: 1.5px solid rgba(255, 255, 255, 0.367);
  color: white;
  font-size: medium;
  width: 100%;
}

.customAmount::placeholder {
  color: rgba(255, 255, 255, 0.441);
}


/* ANIMATION */
.modal-content {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  width: 90%;
  max-width: 420px;
  transform: translateY(30px);
  opacity: 0;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  color: white;
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overflow-x: hidden;
  margin: 50px auto;
  margin-top: 90px;
  box-sizing: border-box;
}

.donate-modal.active .modal-content {
  transform: translateY(0);
  opacity: 1;
}

#support {
  font-size: 24px;
  font-weight: 500;
  font-family: "Merriweather", "Open Sans", sans-serif;
}

.bank-details {
  padding: 16px 0px;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.367);
}

#copyBtn {
  padding: 8px 12px;
  border-radius: 4px;
  border: none;
  background-color: #FFCC00;
}

/* CLOSE */
.close-btn {
  cursor: pointer;
}

/* TOGGLE */

.toggle-row {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-self: stretch;
  margin-bottom: 16px;
  padding-bottom: 16px;
  padding-top: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  background: #ccc;
  border-radius: 20px;
  inset: 0;
}


/* 2. The Switch Container (The Label) */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 26px;
}


/* The white circle inside the slider */
.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 7px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}


.switch input:checked+.slider {
  background: #4CAF50;
}

.switch input:checked+.slider::before {
  transform: translateX(18px);
}

/* AMOUNT */
.amount-section {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  padding: 16px 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.367);
}

.amount-options {
  display: flex;
  gap: 10px;
}

.amount-btn {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 4px;
  background-color: #ffffff9d;
  color: rgb(0, 0, 0);
}


.amount-btn.active {
  background: #FFCC00;
  color: #000;
}

/* NOTE */
.note {
  display: none;
}

/* SCROLL LOCK */
body.no-scroll {
  overflow: hidden;
}

#donationForm {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}

.user-field {
  width: 100%;
  padding-left: 16px;
  height: 40px;
  border-radius: 4px;
  border: none;
  background-color: #ffffff13;
  border: 1.5px solid rgba(255, 255, 255, 0.367);
  color: white;
  font-size: medium;
}

textarea {
  width: 100%;
  padding-left: 16px;
  height: 70px;
  border-radius: 4px;
  border: none;
  background-color: #ffffff13;
  border: 1.5px solid rgba(255, 255, 255, 0.367);
  color: white;
  font-size: medium;
  font-family: "Merriweather", "Open Sans", sans-serif;
}

.user-field::placeholder {
  color: rgba(255, 255, 255, 0.441);
  font-family: "Open Sans", sans-serif;
}


/* 4. Interaction States */

/* Background turns green when checked */
input:checked+.slider {
  background-color: #4CAF50;
}

/* Move the circle to the right when checked */
input:checked+.slider:before {
  transform: translateX(24px);
}

/* Focus ring for accessibility */
input:focus+.slider {
  box-shadow: 0 0 1px #4CAF50;
}

#checkb {
  display: flex;
  flex-direction: row;
  width: 100%;
  max-width: none;
  justify-content: space-between;
  white-space: nowrap;
  align-items: center;

}

.round {
  border-radius: 100%;
  width: 30px;
  height: 30px
}

.round {
  /* 1. Remove default system styling */
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 4px;
  background-color: #ccc;
  cursor: pointer;
  display: inline-block;
  vertical-align: middle;
  position: relative;
}

/* 4. Add the checkmark back (since appearance: none removes it) */
.round:checked {
  background-color: #28a745;
  border-color: #28a745;
}

.round:checked::after {
  content: '✔';
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
}

#submitBtn {
  height: 40px;
  background-color: #E87711;
  border-radius: 4px;
  border: none;
  color: white;

}

#closeup {
  display: flex;
  justify-content: end;
  width: 100%;
  height: auto;
}



/* external email code*/
#successMessage {
  opacity: 0;
  transition: opacity 0.3s ease;
}

#successMessage.show {
  display: block;
  opacity: 1;
}

.payment-panel {
  display: none;
}

.payment-panel.active {
  display: block;
}





/* LOCATION GRID */

.wipper{
  max-width: 1400px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 2fr);
  gap: 28px;
  max-width: 1400px;
  margin: 0px auto;
}

/* CARD */

.location-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  row-gap: 20px;
  width: 100%;
}

/* LEFT SIDE */

.location-left {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-direction: column;
}

.location-icon {
  width: 48px;
  height: 48px;
  background: #f4f4f4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.location-left h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.location-left p {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* RIGHT SIDE */

.location-right {
  text-align: right;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.location-right span {
  font-size: 13px;
  color: #888;
}

.location-right a {
  font-weight: 600;
  text-decoration: none;
  position: relative;
  color: #000;
}

/* Subtle arrow animation */

.location-right a::after {
  content: " →";
  transition: transform 0.3s ease;
  display: inline-block;
}

.location-right a:hover::after {
  transform: translateX(4px);
}


































@media (max-width: 600px) {
  /* NAVBAR */

  .site-header {
    position: sticky;
    z-index: 1000;
  }

  .navbar {
    padding: 16px 16px;
    background: rgba(255, 255, 255, 0.1);
    /* transparency */
    backdrop-filter: blur(12px);
    /* main blur effect */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */

    border: 1px solid rgba(255, 255, 255, 0.029);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  .mobile-buttons {
    display: flex;
  }

  .mobile-buttons .btn-primary {
    width: 100%;
  }

  .navbar .logo img {
    height: 30px;
  }

  .mobile-buttons {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background-color: #000000;
  }

  /* BUTTONS */

  .nav-buttons {
    display: none;
  }


  /* Hero Section */
  .hero {
    height: 50vh;
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
    padding: 24px;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p {
    text-align: center;
  }

  .hero span {
    font-size: 14px;
    font-weight: 600px;

  }

  .about-tag {
    font-size: 14px;
  }

  /* About Section */

  .about {
    height: fit-content;
    padding: 60px 16px;
    width: 100%;
  }

  .image-large img {
    height: 30vh;
  }

  .about-text1 {
    gap: 8px;
  }

  .upcoming-tag1 {
    font-size: 14px;
    font-weight: 600;
  }

  .about-text1 h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .about-content p {
  color: #050505;
    line-height: 1.6;
  }

  .about-wrapper.reverse {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }
.manofgod img{
height: 500px;
}
  /* FOOTER */
  .footer-container {
    grid-template-columns: 1fr;
    column-gap: 20px;
    padding: 0px 16px;
    height: auto;
    margin: auto;
  }




/* SERVICES */

  .service-grid {
    grid-template-columns: 1fr;
  }

  .location-icon {
    display: none;
  }

  .location-card {
    padding: 16px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 16px;
  }

  .location-right {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .location-break {
    display: inline;
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-left h4 {
    font-size: 16px;
  }

  .location-right a {
    font-weight: 400;
    font-size: 16px;
  }






}


@media (min-width: 601px) and (max-width: 1024px) {

  /* NAVBAR */

  .site-header {
    position: sticky;
    z-index: 1000;
  }

  .navbar {
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.1);
    /* transparency */
    backdrop-filter: blur(12px);
    /* main blur effect */
    -webkit-backdrop-filter: blur(12px);
    /* Safari support */

    border: 1px solid rgba(255, 255, 255, 0.029);

    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  .mobile-buttons {
    display: flex;
  }

  .mobile-buttons .btn-primary {
    width: 100%;
  }

  .navbar .logo img {
    height: 30px;
  }

  .mobile-buttons {
    display: flex;
    flex-direction: column;
    row-gap: 1rem;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hamburger span {
    background-color: #000000;
  }

  .nav-buttons {
    display: none;
  }

  /* Hero Section */
  .hero {
    height: 30vh;
    padding-left: 32px;
    padding-right: 32px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    font-size: 28px;
    line-height: 1.2;
  }

  .hero p {
    text-align: center;
  }

  .hero span {
    font-size: 14px;
    font-weight: 600px;

  }

  .about-tag {
    font-size: 14px;
  }

  /* About Section */

  .about {
    height: fit-content;
    padding: 60px 32px;
    width: 100%;
  }

  .image-large img {
    height: 30vh;
  }

  .about-text1 {
    gap: 8px;
  }

  .upcoming-tag1 {
    font-size: 14px;
    font-weight: 600;
  }

  .about-text1 h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .about-content p {
    color: #050505;
    line-height: 1.6;
  }

  .about-wrapper.reverse {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
  }

.manofgod img{
height: 800px;
}



/* SERVICES */

  .service-grid {
    grid-template-columns: 3fr 2fr;
  }

  .location-icon {
    display: flex;
  }

  .location-card {
    padding: 32px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 16px;
  }

  .location-right {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  
  }

  .location-break {
    display: none;
  }

  .location-grid {
    grid-template-columns: 3fr 2fr;
    margin-left: 30px;
    margin-right: 30px;
  }



  /* FOOTER */

  .footer-container {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    padding: 0px 32px;
    height: auto;
    margin: auto;
  }



}