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

body {
  overflow-x: hidden;
  width: 100vw;
}

/*
************** NABAR HEADER THEME ****************
************** NABAR HEADER THEME ****************
*/
.text-primary-new {
  color: #26316c;
  font-weight: bold;
}

.navbar {
  background-color: #26316c;
}
.navbar-brand img {
  height: 50px;
}
.logoName {
  text-align: center;
  color: white;
}

.carousel-image {
  height: 630px;
  object-fit: cover;
}

.jumbotron img {
  object-fit: cover;
  height: 90px;
}

/* MINISTRIES Navigation */
.expandable-container {
  position: absolute; /* Float it above the content */
  left: 10%; /* Start positioning at the center */
  transform: translateX(-50%) translateY(10px); /* Center it horizontally */
  width: 80%; /* Set width to 80% */
  background-color: #f8f9fa; /* Light background */
  padding: 15px; /* Increased padding */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Add a shadow */
  border-radius: 8px; /* Rounded corners */
  display: none;
  opacity: 0;
  transition: all 0.3s ease; /* Smooth transition */
  z-index: 1000; /* Ensure it floats above other content */
}

.expandable-container.show {
  display: block;
  opacity: 1;
  transform: translateX(0) translateY(-50%); /* Animate into position */
}

/* Hover trigger styling */
.nav-item:hover .expandable-container {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Add transition effects to link for hover */
.ministry-nav-link {
  transition: color 0.3s ease;
}

.ministry-nav-link:hover {
  color: #007bff; /* Change link color on hover */
}

.ministry-nav-link::after {
  content: " ▼";
  display: inline-block;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

.ministry-nav-link[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

@media (max-width: 768px) {
  .expandable-container {
    width: auto;
    left: 10px;
    right: 10px;
  }
}

/*
************ WELCOME Section ******************
************ WELCOME Section ******************
*/

/* WELCOME SECTION STYLING */
.welcome_section_body {
  background-color: #f5f5f5;
  border-radius: 60px;
}

.welcome_title h4 {
  padding-top: 40px;
  font-size: 36px;
  font-weight: 600;
  color: #2c3e50; /* Darker color for title */
  text-align: center;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px; /* Adds space between letters */
}

.welcome_section h3 {
  padding-top: 65px;
  color: #26368b;
  font-weight: bold;
}

.welcome_section p {
  padding: 20px;
  margin: auto;
  font-size: 16px;
  color: #2c3e50;
  font-weight: bold;
  line-height: 2;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
  .welcome_title h4 {
    font-size: 28px;
  }

  .welcome_section p {
    font-size: 16px;
  }

  .welcome_image_container {
    border-radius: 40px;
  }

  .welcome_section a.btn {
    width: 100%;
    text-align: center;
  }
}

.image-wrapper {
  border-radius: 40px;
  margin-top: 20px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/*
************ Services Section ******************
************ Services Section ******************
*/

.services_section .card {
  background-color: #26368b;
}

.services_section .header3 {
  padding-top: 40px;
  color: #26368b;
  font-weight: bold;
}

.services_section h3 {
  color: #e70207;
  font-weight: bold;
}

.service_card_purple {
  background-color: #8b2663;
  color: #ffffff;
  border-radius: 22px;
}

.text-purple {
  color: #8b2663;
  font-weight: bold;
}

.service_card_white {
  background-color: #26368b;
  color: white;
  border-radius: 22px;
}

/*
************ Laeders Section ******************
************ Laeders Section ******************
*/

.leaders {
  border: 3px solid #26368b;
  border-radius: 40px;
}

.card-round {
  border-radius: 40px 40px 0 0;
}

.card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
}

.card img {
  object-fit: cover;
  height: 200px;
  border-bottom: 3px solid #ddd;
}

.card-body {
  background-color: #f9f9f9;
  padding: 20px;
}

.card-body h5 {
  font-size: 1.25rem;
  font-weight: bold;
}

.card-body h6 {
  font-size: 1rem;
  color: #6c757d;
}

.card-body p {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.5;
}

/*
************ Scroll To Top ******************
************ Scroll To Top ******************
*/

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
}

/*
************ Contact Us Page ******************
************ Contact Us Page ******************
*/
.contact_us_section {
  background-color: transparent; /* Matches the footer's background */
  color: rgba(255, 255, 255, 0.8); /* Softer text color */
  padding: 15px; /* Reduced padding for a tighter fit */
}

.contact_us_section h2 {
  font-size: 20px; /* Slightly smaller font size */
  color: #ffffff; /* Keep the header white for visibility */
}

.contact_us_section p {
  font-size: 16px; /* Smaller font size for consistency */
}

.contact_us_section a {
  color: #ffffff; /* Keep email link white */
  text-decoration: underline; /* Underline for links */
  transition: color 0.3s ease;
}

.contact_us_section a:hover {
  color: #ddd; /* Lighter color on hover */
}

/* IMAGES */

/* Assuming all gallery sections have a common class `gallery-section` */
.gallery-section img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  object-position: top;
}

/* YOUTUBE IFRAME */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
