@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap");

:root {
  --bs-purple: #4e3284;
  --bs-purple-light: #4e3483;
}

.section-header {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 18px;
}

.section-title {
  font-family: "Poppins", sans-serif;
  font-size: 3rem;
  font-weight: 600;
  color: white;
  margin: 0;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 60%;
  height: 4px;
  background: linear-gradient(90deg, white, #f9e86a, white);
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}
.services-section {
  padding: 20px 0;
  background-color: var(--bs-purple);
  color: black;
}

.service-item {
  display: flex;
  margin: 20px 0;
  gap: 10px;
}

.service-item.reverse {
  flex-direction: row-reverse;
}

.service-image {
  flex: 1;
}

.service-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-content {
  flex: 1;
  padding: 0 10px !important;
  background-color: white;
  color: black;
  padding: 8px;
  border-radius: 4px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.text-justify {
  text-align: justify;
}

.service-content p {
  font-size: large;
}

.service-content ul {
  font-size: large;
}

@media (max-width: 768px) {
  .service-item,
  .service-item.reverse {
    flex-direction: column;
  }

  .service-image,
  .service-content {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }
}

.slide {
  position: relative;
}

.slider-overlay {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.image-slider {
  position: relative;
  max-width: 100%;
  margin: auto;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  min-height: 100%;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
}

.img-desk {
  width: 100%;
  display: none;
  min-height: 100%;
}

.img-mob {
  width: 100%;
  display: none;
  height: 100%;
}

/* Display desktop image on large screens */
@media (min-width: 768px) {
  .img-desk {
    display: block;
  }

  .image-slider {
    height: 100vh;
  }

  .large-flex-row-reverse {
    flex-direction: row-reverse;
  }

  .large-justify-end {
    display: flex;
    justify-content: flex-end !important;
  }
}

/* Display mobile image on small screens */
@media (max-width: 767px) {
  .img-mob {
    display: block;
  }

  .image-slider {
    height: 90vh;
  }

  .slides {
    height: 100%;
  }

  .contentImg {
    display: flex !important;
    margin-bottom: 4px !important;
    justify-content: center !important;
  }
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 10;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.gallery_container {
  margin-top: 4px;
}

.gallery_gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}

.gallery_gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery_gallery-item:hover > .gallery_img-overlay {
  opacity: 1;
  background-color: #00000069;
  pointer-events: auto;
}

.gallery_gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

.gallery_gallery-item:hover img {
  transform: scale(1.05);
  transition: transform 300ms ease-in;
}

.gallery_img-overlay {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all 300ms ease-in;
}

.gallery_img-overlay i {
  color: white;
  font-size: 42px;
}

/* modal */
.gallery_modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.gallery_modal-content {
  background-color: #fff;
  position: relative;
  width: 95%;
  max-width: 600px;
  border-radius: 10px;
}

/* Carousel styles */
.gallery_carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  max-height: 400px;
  position: relative;
}

.gallery_carousel img {
  width: 100%;
  height: auto;
}

.gallery_carousel-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.gallery_carousel-images > img {
  min-width: 100%;
}

.gallery_prev,
.gallery_next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
}

.gallery_prev {
  left: 0;
}

.gallery_next {
  right: 0;
}

.reach_container {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.reach_title {
  font-size: 2.5rem;
  font-weight: bold;
  color: #333;
  margin-bottom: 20px;
}

.reach_description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
  text-align: justify;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.reach_stats_container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.reach_stat_item {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.reach_stat_item:hover {
  transform: translateY(-5px);
}

.reach_stat_number {
  font-size: 2.8rem;
  font-weight: bold;
  color: #2c5282;
  margin: 0 0 10px 0;
}

.reach_stat_label {
  font-size: 1.2rem;
  color: #4a5568;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .reach_container {
    padding: 40px 15px;
  }

  .reach_title {
    font-size: 2rem;
  }

  .reach_description {
    font-size: 1rem;
    padding: 0 15px;
  }

  .reach_stat_item {
    min-width: 150px;
  }

  .reach_stat_number {
    font-size: 2.2rem;
  }

  .reach_stat_label {
    font-size: 1rem;
  }
}

/* Main link style */
.citizen_dropdown__link {
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  color: #333;
}

/* Hide the dropdown menu by default */
.citizen_dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f1f1f1;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  min-width: 160px;
}

/* Dropdown item styling */
.citizen_dropdown__menu-item {
  text-decoration: none;
  color: #333;
  padding: 10px 20px;
  display: block;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

/* Show the dropdown menu on hover */
.citizen_dropdown:hover .citizen_dropdown__menu {
  display: block;
}

/* General dropdown container */
.citizen_dropdown {
  position: relative;
  display: block;
}

/* Main link style */
.citizen_dropdown__link {
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  color: #333;
  cursor: pointer;
}

/* Hide the dropdown menu by default */
.citizen_dropdown__menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #f1f1f1;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 1000;
  min-width: 200px;
}

/* Dropdown item styling */
.citizen_dropdown__menu-item {
  padding: 10px 20px;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

/* Link styling within dropdown */
.citizen_dropdown__menu-link {
  text-decoration: none;
  color: #333;
  display: block;
  width: 100%;
}

/* Hover state for dropdown items */
.citizen_dropdown__menu-item:hover {
  background-color: #ddd;
}

/* Show the dropdown menu on hover */
.citizen_dropdown:hover .citizen_dropdown__menu {
  display: block;
}

/* Header Styles */
.life_line_header {
  background-color: #333;
  padding: 20px;
}

.life_line_nav {
  display: flex;
  justify-content: space-around;
}

.life_line_nav_list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.life_line_nav_link {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  transition: background-color 0.3s ease;
}

.life_line_nav_link:hover {
  background-color: #555;
}

/* Main Section */
.life_line_main {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.life_line_section {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
}

/* Titles and Headings */
.life_line_title {
  font-size: 2em;
  margin-bottom: 20px;
  color: var(--bs-purple-light);
  text-align: center;
}

.life_line_subtitle {
  font-size: 1.5em;
  margin-top: 20px;
  color: #333;
}

.life_line_heading {
  font-size: 1.2em;
  margin-top: 15px;
  color: #555;
}

/* Lists */
.life_line_list {
  list-style-type: disc;
  margin: 10px 0 20px 20px;
}

.life_line_list li {
  margin-bottom: 10px;
}

/* Footer */
.life_line_footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 10px;
  position: relative;
  bottom: 0;
  width: 100%;
}

.faq_container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.faq_title {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.faq_item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq_item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.faq_question {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: #34495e;
  cursor: pointer;
  font-weight: 600;
}

.faq_icon {
  color: var(--bs-purple-light);
  font-size: 1.25rem;
}

.faq_answer {
  margin-top: 1rem;
  margin-left: 2.25rem;
  color: #7f8c8d;
  line-height: 1.6;
  display: none;
}

.faq_item.active .faq_answer {
  display: block;
}

.faq_item.active .faq_icon.fa-chevron-down {
  transform: rotate(180deg);
}

.gallery-button {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;

  .close {
    position: absolute;
    z-index: 4;
    right: 1rem;
    top: 1rem;
  }

  i {
    font-size: 2rem;
    cursor: pointer;
    color: white;
  }
}
