.about-img-container {
    width: 100%;
    height: 60%; /* Default height for larger screens */
    overflow: hidden; /* Hides the part of the image that overflows the container */
    position: relative;
  }
  
  .about-img {
    width: 200%; /* Make the image twice as wide to ensure that only half is visible */
    height: 100%; /* Make the image fit the height of the container */
    object-fit: cover; /* Ensure the image covers the container area */
    position: absolute;
    left: -20%; /* Shift the image to the left so that the center is visible */
  }

  /* Style for the FESY logo in the footer */
.footer-logo {
    width: 100%; /* Make the logo fit the first quarter */
    max-width: 250px; /* Adjust maximum size if needed */
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* Adjust the padding/margin for the logo container */
  .footer-logo-container {
    text-align: center;
    margin-bottom: 20px; /* Add spacing if necessary */
  }

  .member {
    width: 100%;
    height: 100%; /* Default height for larger screens */
    overflow: hidden; /* Hides the part of the image that overflows the container */
    position: relative;
  }

  .member-img img {
    width: 100vh;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
  }

  .member:hover .member-img img {
    transform: scale(1.1); /* Zooms in the image by 10% */
  }
  
  /* Mobile-specific styles */
  @media (max-width: 768px) { /* Adjust the max-width value as needed */
    .about-img-container {
      height: 50vh; /* Full viewport height on mobile devices */
    }
  
    .about-img {
      width: 200%; 
      height: 100%;
      left: -20%; 
    }
  
    /* Adjust button position for mobile */
    .btn {
      display: inline-block;
      font-size: 16px;
      font-weight: bold;
      text-decoration: none;
      border-radius: 5px;
      color: #fff;
      background-color: #007bff;
      transition: background-color 0.3s, transform 0.3s;
    }


    .desktop-only {
        display: none;
      }
    
      .btn-primary.mobile-only {
        display: inline-block;
      }

      .footer-logo {
        margin-left: auto;
        margin-right: auto;
        max-width: 150px; /* Reduce size on small screens if needed */
      }
  }
  
  /* Ensure the button is displayed and positioned correctly on desktop */
  @media (min-width: 769px) { /* Adjust the min-width value as needed */
    .btn {
      display: inline-block;
      font-size: 16px;
      font-weight: bold;
      text-decoration: none;
      border-radius: 5px;
      color: #fff;
      background-color: #007bff;
      transition: background-color 0.3s, transform 0.3s;
      margin-top: 20px; /* Space between the button and the content above */
    }
  
    .btn:hover {
      background-color: #0056b3;
      transform: translateY(-2px);
    }
  
    .btn:active {
      background-color: #004494;
      transform: translateY(0);
    }

    .btn-primary.mobile-only {
        display: none;
      }
    
      .btn-primary.desktop-only {
        display: inline-block;
      }
  }
  
.publication {
  div {
    margin-bottom: 10px;
    .icon {
      font-size: 40px;
    }

    .icon-doc {
      color: rgba(11, 101, 175, 0.658);
    }

    .icon-pdf {
      color: #e74c3c;
    }
  }
}

.value-content {
  .card-container {
    margin-top: 20px;
  }
  .card {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }
  .card-header {
    background: linear-gradient(45deg, #007bff, #00a6ff);
    color: white !important;
    border-radius: 8px 8px 0 0 !important;
    padding: 1.2rem;
  }
  .card-header span {
    color: white !important;
  }
  .card-body {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
  }
  .core-values-list {
    padding: 0;
    list-style-type: none;
  }
  .core-values-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
  }
  .core-values-list i {
    margin-right: 10px;
    color: #28a745;
  }

  .core-values-columns {
    display: flex;
    flex-wrap: wrap;
  }

  .core-values-columns .col-left {
    flex-basis: 50%;
    min-width: 50%;
    box-sizing: border-box;
  }

  .core-values-columns .col-right {
    flex-basis: 100%;
    box-sizing: border-box;
  }

  @media (max-width: 768px) {
    .core-values-columns .col-left,
    .core-values-columns .col-right {
      flex-basis: 50%;
      min-width: 50%;
    }
  }

  @media (min-width: 992px) {
    .col-lg-6:last-child {
      flex: 1;
    }
  }
}

.close-quote {
  /* Rotate the closing quote 180 degrees */
  transform: rotate(180deg);
  display: inline-block; /* Ensure the rotation is applied correctly */
}

/* Custom styles for carousel controls */
.carousel-control-prev,
.carousel-control-next {
  color: #007bff; /* Blue color for the controls */
  font-size: 16px; /* Font size for text */
  font-weight: bold; /* Bold text */
  transition: color 0.3s ease, background-color 0.3s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #007bff; /* Background color for icons */
  border-radius: 50%; /* Rounded background */
  padding: 10px; /* Padding around icons */
}

/* Visible text on hover */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  color: #ffffff; /* Text color on hover */
  background-color: #007bff; /* Blue background on hover */
}

/* Additional styling for text */
.carousel-control-text {
  display: inline-block;
  margin-left: 0.5rem; /* Space between icon and text */
}

.carousel-control-prev .carousel-control-prev-icon,
.carousel-control-next .carousel-control-next-icon {
  margin-right: 0.5rem; /* Space between icon and text */
}

.carousel-control-prev,
.carousel-control-next {
  display: flex;
  align-items: center; /* Center vertically */
  justify-content: center; /* Center horizontally */
}



/* navigation bar */

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #0032f0;
  color: white;
  width: 100%;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.mobile-menu.active {
  display: block;
}
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-menu ul li {
  border-bottom: 1px solid #ddd;
}
.mobile-menu ul li a {
  display: block;
  padding: 15px;
  color: #fff;
  text-decoration: none;
}
.mobile-menu ul li a:hover {
  background-color: #f1f1f1;
  color: #007bff;
}

/* Show the mobile menu when the toggle is clicked */
.navbar.active ul {
  display: block;
}

/* Hide dropdown menu by default */
.navbar-mobile-dropdown-menu {
  display: none;
}

/* Show dropdown menu when the parent has the 'active' class */
.navbar-mobile-dropdown.active .navbar-mobile-dropdown-menu {
  display: block;
}


/* Only show the toggle button on mobile */
@media (max-width: 768px) {  
  #mobile-nav-toggle {
    margin-right: 20px;
    font-size: 36px;
    color: #0032f0;
  }
  .mobile-nav-toggle {
    display: block;
    cursor: pointer;
  }

  .navbar.active ul {
    display: block;
    position: absolute;
    background-color: #fff;
    width: 100%;
    top: 60px; /* Adjust as needed */
    left: 0;
    z-index: 9999;
  }

  .navbar.active ul li {
    display: block;
    padding: 10px 0;
    text-align: center;
  }
}
/* Geographic Impact Counter */

/* Impacts Section */
.impacts {
  padding: 60px 0;
}

.impact-box {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

.impact-box i {
  font-size: 48px;
  color: #47b2e4;
  margin-bottom: 20px;
}

.impact-box h3 {
  font-size: 32px;
  margin-bottom: 10px;
  color: #333;
}

.impact-box p {
  font-size: 16px;
  color: #666;
}

/* Make all cards equal heights */
.equal-height {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
}

/* Ensure icons are styled properly */
.impact-box i {
  font-size: 40px;
  color: #3498db; /* Change to your preferred color */
  margin-bottom: 20px;
}

/* Adjust the impact box */
.impacts h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.impact-box p {
  font-size: 16px;
  margin-bottom: 0;
}

.portfolio-details-slider {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
}

.slide-content {
    position: relative;
}

.slide-content img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
    color: white;
    padding: 20px;
}

.slide-caption h3 {
    color: white;
    margin-bottom: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: #007bff !important;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.swiper-pagination-bullet-active {
    background: #007bff !important;
}

.section-title {
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #007bff;
}

.section-title p {
    font-size: 1.1rem;
    color: #6c757d;
}

.portfolio-details {
    padding: 60px 0;
    background: #f8f9fa;
}
