@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --primary: #6c757d;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --text-dark: #212529;
  --buttons: #ffc107;
  --radius: 12px;
}

/*** Spinner Start ***/

#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.8s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

.wow,
.animated {
  animation-duration: 2s !important;
}

/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 99;
}

.back-to-top:hover {
  background: var(--bs-dark);
  color: var(--bs-primary);
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  font-weight: 700 !important;
  font-family: "Open", sans-serif !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
  font-weight: 600 !important;
  font-family: "Open", sans-serif !important;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

/*** Button Start ***/

.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-md-square {
  width: 46px;
  height: 46px;
}

.btn-lg-square {
  width: 58px;
  height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

.btn.btn-primary:hover {
  color: var(--bs-primary) !important;
  background: var(--bs-dark) !important;
  border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
  color: var(--bs-dark) !important;
  background: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

/*** Button End ***/

/*** Topbar Start ***/
.topbar .topbar-inner {
  height: 45px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.5);
}

.topbar a,
.topbar a i {
  transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
  color: var(--bs-primary) !important;
}

/*** Topbar End ***/

/*** Navbar Start ***/
.fixed-top {
  transition: 0.5s;
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar .container-fluid {
  padding: 0px 30px;
}

.navbar .navbar-nav .nav-link {
  padding: 12px;
  color: var(--bs-dark);
  font-size: 17px;
  font-weight: 600;
  transition: 0.5s;
}

/*** Navbar End ***/

/*** Hero Header ***/

/* General container settings */
.container-fluid.hero {
  width: 100%;
  display: flex;
  align-items: center;
  /* Center content vertically */
  justify-content: center;
  /* Center content horizontally */
}

/* Left side styles */
.hero-leftside,
.hero-rightside {
  display: flex;
  height: 33.4em; /* Ensure it stretches fully */
  transform: scale(1.2); /* Slightly shrink the content */
  transform-origin: top left; /* Set scaling origin */
  pointer-events: none; /* Optional: makes it non-interactive */
}

.hero-leftside img {
  display: flex;
  max-width: 100%;
  /* Make image responsive */
  border-radius: 40px;
  /* Example of rounded corners */
  outline: thick solid var(--bg-white);
  outline-width: 1em;
  outline-offset: -0.8em;
}

.hero-rightside iframe {
  display: flex;
  width: 400px;
  /* Make iframe responsive */
  border-radius: 40px;
  /* Example of rounded corners */
  outline: thick solid var(--bg-white);
  outline-width: 1em;
  outline-offset: -0.8em;
}

#donate-button-mobile {
  display: none;
  background-color: var(--buttons); /* Red */
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  margin: 10px auto;
  animation: bounce 2s infinite;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}
#donate-button-mobile i {
  margin-right: 8px;
}

#donate-button-mobile:hover {
  background-color: var(--buttons);
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Only show on mobile */
@media (max-width: 991px) {
  #donate-button-mobile {
    display: block;
  }
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .row.no-gutters {
    display: flex;
    flex-direction: column-reverse;
    /* Stack elements vertically */
  }

  .hero-leftside img,
  .hero-rightside iframe {
    width: 90%;
    /* Ensure full width on small screens */
  }

  .hero-rightside iframe {
    aspect-ratio: calc(16 / 9);
    /* Maintain aspect ratio */
  }
}

/*** Hero Header ***/

/*** About Start ***/
.about a.btn.btn-light:hover {
  background: var(--bs-dark) !important;
  color: var(--bs-primary) !important;
  border: 0;
}

/*** About End ***/

/*** Activities Start ***/
.activities .activities-item {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 45px rgba(12, 18, 20, 0.08);
  transition: 0.5s;
}

.activities .activities-item:hover {
  background: var(--bs-primary) !important;
  color: var(--bs-dark) !important;
}

.activities .activities-item:hover a {
  background: var(--bs-light) !important;
  color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
  background: var(--bs-dark) !important;
  color: var(--bs-primary) !important;
}

/*** Activities End ***/

/*** Events Start ***/
.event-item img {
  transition: 0.5s;
}

.event .event-item a {
  transition: 0.5s;
}

.event-item:hover img {
  transition: 0.5s;
  transform: scale(1.2);
}

.event-item a:hover {
  background: var(--bs-dark);
  color: var(--bs-primary);
  opacity: 0.5s;
}

/*** Events End ***/

/*** Sermon Start ***/
.sermon .sermon-item {
  height: 100%;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.sermon-item img {
  transition: 0.5s;
}

.sermon-item:hover img {
  transform: scale(1.2);
}

.sermon-item .sermon-meta a,
.sermon-item .sermon-meta a i {
  transition: 0.5s;
}

.sermon-item .sermon-meta a:hover,
.sermon-item .sermon-meta a i:hover {
  color: var(--bs-primary) !important;
}

/*** Sermon End ***/

/*** Blog Start ***/
.blog-item {
  height: 100%;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.blog-item img {
  transition: 0.5s;
}

.blog-item:hover img {
  transform: scale(1.2);
}

.blog-item .blog-meta a,
.blog-item .blog-meta a i {
  transition: 0.5s;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
  color: var(--bs-primary) !important;
}

/*** Blog End ***/

/*** Team Start ***/
.team .team-img {
  height: 100%;
  padding: 25px;
  background: var(--bs-white);
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.team .team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team .team-item {
  position: relative;
  overflow: hidden;
}

.team .team-item img {
  transition: 0.5s;
}

.team .team-item:hover img {
  transform: scale(1.2);
}

.team .team-item .team-content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  padding: 15px;
  transform: translateX(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.5s;
}

.team .team-item:hover .team-content {
  opacity: 1;
  background: rgba(241, 193, 82, 0.7);
}

/*** Team End ***/

/*** testimonial Start ***/
.testimonial-item {
  background: var(--bs-light);
  padding: 40px;
}

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel {
  position: relative;
  padding-left: 60px;
  padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  width: 60px;
  height: 40px;
  background: var(--bs-primary);
  color: var(--bs-dark);
  font-size: 22px;
  top: 50%;
  left: 0px;
  transform: translateY(-50%);
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
  background: var(--bs-dark) !important;
  color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-nav .owl-next {
  left: auto;
  right: 0px;
}

.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--bs-dark) !important;
  color: var(--bs-primary) !important;
}

/*** testimonial End ***/

/*** Donations Start ***/
/* Ensure Donation Boxes Have Equal Heights */
.tabs-group {
  display: flex;
  background-color: #f1edec;
  border-radius: 32px;
  padding: 5px;
  gap: 10px;
}

.tab-button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 16px;
  background-color: transparent;
  font-family: Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  color: #001435;
  transition: background-color 0.3s;
}

.tab-button.active {
  background-color: var(--buttons);
}

.donation-box {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  margin-right: 25px;
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  align-items: center;
  height: 100%; /* Make all boxes the same height */
  box-sizing: border-box;
  overflow: hidden; /* Ensure the image stays within the circle */
  display: none;
}

.donation-box.visible {
  display: block; /* Show only the visible cards */
}

/* Circle Border - Equal Size for All */
.circle-border {
  border: 3px solid var(--buttons);
  border-radius: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden; /* Ensure the image stays within the circle */
  margin-bottom: 20px;
}

/* Image Styling - Fully Contained */
.donation-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures the image is contained inside the circle */
  border-radius: 20%; /* Ensure the image matches the circle shape */
}

/* Button Styles */
.donation-btn {
  background-color: #1799e1;
  color: white;
  border-radius: 50px;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-bottom: 10px;
}

.donation-btn:hover {
  background-color: #127bb0;
}

/* Pop-up Modal Styles */
.popup {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Dim background */
  justify-content: center;
  align-items: center;
  z-index: 1000; /* Ensure it appears above other elements */
}

.popup-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  width: 80%;
  max-width: 400px;
  position: relative;
  text-align: left; /* Align text to the left */
  /* For close button positioning */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}

.close-btn:hover {
  color: red;
}

.popup .donation-btn {
  margin-top: 15px;
  display: block; /* Ensures it behaves like a block element */
  margin: 0 auto; /* Centers it horizontally */
  text-align: center; /* Aligns content inside */
}

/* Responsive Adjustments - Align Cards Vertically */
@media (max-width: 768px) {
  .row {
    display: flex;
    flex-direction: column;
    /* Stack cards vertically */
    align-items: center;
  }
}

/*** Donations End ***/

/*** Marrige Start ***/

/* Hide the default file input field */
#documentUpload {
  display: none;
}

/* Modern button styling */
#uploadButton {
  background-color: #28a745;
  /* Green color */
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

#uploadButton:hover {
  background-color: #218838;
  /* Darker green on hover */
}

.border-box {
  border: 2px solid black; /* Adds a black border around the container */
  padding: 5px; /* Creates space inside the box */
  border-radius: 5px; /* Optional: Slightly rounded corners */
}

/*** Marrige End ***/
/* school 2*/


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

body {
  font-family: "Inter", sans-serif;
}

.formbold-main-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.formbold-form-wrapper {
  margin: 0 auto;
  max-width: 550px;
  width: 100%;
  background: white;
}

.formbold-steps {
  padding-bottom: 18px;
  margin-bottom: 35px;
  border-bottom: 1px solid #dde3ec;
}

.formbold-steps ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  gap: 40px;
}

.formbold-steps li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #536387;
}

.formbold-steps li span {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dde3ec;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  color: #536387;
}

.formbold-steps li.active {
  color: #07074d;
}

.formbold-steps li.active span {
  background: #6a64f1;
  color: #ffffff;
}

.formbold-input-flex {
  display: flex;
  gap: 20px;
  margin-bottom: 22px;
}

.formbold-input-flex > div {
  width: 50%;
}

.formbold-form-input {
  width: 100%;
  padding: 13px 22px;
  border-radius: 5px;
  border: 1px solid #dde3ec;
  background: #ffffff;
  font-weight: 500;
  font-size: 16px;
  color: #536387;
  outline: none;
  resize: none;
}

.formbold-form-input:invalid {
  border-top: 3px solid red;
}

.formbold-form-input:focus {
  border-color: #6a64f1;
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-form-label {
  color: #07074d;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  display: block;
  margin-bottom: 10px;
}

.formbold-form-confirm {
  border-bottom: 1px solid #dde3ec;
  padding-bottom: 35px;
}

.formbold-form-confirm p {
  font-size: 16px;
  line-height: 24px;
  color: #536387;
  margin-bottom: 22px;
  width: 75%;
}

.formbold-form-confirm > div {
  display: flex;
  gap: 15px;
}

.formbold-confirm-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 0.5px solid #dde3ec;
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
  color: #536387;
  cursor: pointer;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

.formbold-confirm-btn {
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.12);
}

.formbold-confirm-btn.active {
  background: #6a64f1;
  color: #ffffff;
}

.formbold-form-step-1,
.formbold-form-step-2,
.formbold-form-step-3 {
  display: none;
}

.formbold-form-step-1.active,
.formbold-form-step-2.active,
.formbold-form-step-3.active {
  display: block;
}

.formbold-form-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  margin-top: 25px;
}

.formbold-back-btn {
  cursor: pointer;
  background: #ffffff;
  border: none;
  color: #07074d;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  display: none;
}

.formbold-back-btn.active {
  display: block;
}

.formbold-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  border-radius: 5px;
  padding: 10px 25px;
  border: none;
  font-weight: 500;
  background-color: #6a64f1;
  color: white;
  cursor: pointer;
}

.formbold-btn:hover {
  box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.05);
}

.formbold-add-button {
  background-color: #4caf50;
  /* green */
  color: white;
  padding: 8px 16px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.formbold-add-button:hover {
  background-color: #45a049;
}

.formbold-remove-button {
  background-color: #e53935 !important;
  /* red */
}

.formbold-remove-button:hover {
  background-color: #c62828 !important;
}

/* school 2 END*/

/*** School-success Start ***/
.success-page {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
}

.success-page h1,
.success-page p {
  text-align: center;
}

.success-page #info {
  max-width: 600px;
  margin: 40px auto;
  padding: 30px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.success-page #loading {
  text-align: center;
  margin-top: 100px;
  font-size: 1.2rem;
  color: #555;
}
/*** School-success End ***/

/*** Students Start ***/
.students {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--bg-light);
  margin: 0;
  padding: 0;
}

.students .container {
  max-width: 600px;
  margin: 5vh auto;
  padding: 2rem;
  background-color: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.students h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.students input {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.students button {
  width: 100%;
  padding: 12px;
  background-color: var(--primary);
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 10px;
}

.students button:hover {
  background-color: var(--buttons);
}

.students .result {
  margin-top: 2rem;
  padding: 1rem;
  background-color: var(--bg-white);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.5s ease-in-out;
}

.students .result p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
}

.students .error {
  color: red;
  font-weight: 500;
  text-align: center;
}

.students .home-btn {
  background-color: #6c757d;
}

.students .home-btn:hover {
  background-color: var(--buttons);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*** Students End ***/

/*** Footer Start ***/
.footer {
  margin-top: 6rem;
  background: var(--bs-dark);
}

.footer .footer-item p {
  font-size: 16px;
  line-height: 35px;
}

.footer .border-top,
.footer .border-bottom {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer button {
  border: 0;
  transition: 0.5s;
}

.footer button:hover {
  background: var(--bs-dark);
  color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
  background: var(--bs-primary);
  color: var(--bs-dark) !important;
  border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
  transition: 0.5s;
}

.footer-item a:hover,
.footer-item a i:hover {
  color: var(--bs-primary) !important;
}

/*** Footer End ***/
