/* Panel Section Styles */
.bg-hero-section-opacity {
  background-color: rgba(255, 255, 255, 0.95);
 
 
}

.solutions-panels {
  padding: 80px 0;
  overflow: hidden;
}

.panels-container {
  display: flex;
  width: 100%;
  height: 550px;
  margin: 0 auto;
  max-width: 1400px;
  gap: 15px;
}

/* Individual Panel Styling */
.panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.43, 0.195, 0.02, 1);
  border-radius: 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

/* Default State - All panels equal width */
.panel {
  flex: 1;
}

/* Active/Expanded State */
.panel.active {
  flex: 2.5;
}

/* Panel Image */
.panel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.43, 0.195, 0.02, 1);
}

/* Panel Overlay Content */
.panel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  max-width: 300px;
  padding: 40px 30px;
  background-color: #ffdb3ccc; /* Yellow background with opacity */
  color: #000;
  transition: all 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0; /* Hidden by default */
  transform: translateX(-20px); /* Slight offset when hidden */
  pointer-events: none; /* Prevents interaction with hidden overlay */
  overflow: hidden; /* Ensures content doesn't spill out during animation */
  margin: 10PX;
    border-radius: 5px;
}

.panel-overlay h3 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #0066b2; /* Blue color for heading */
  text-transform: uppercase;
  line-height: 1.1;
  transform: translateY(15px); /* Start slightly down */
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000); /* Improved easing */
  opacity: 0; /* Start fully transparent */
      font-family: "Agdasima", Sans-serif;
}

.panel-overlay p {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  opacity: 0;
  transform: translateY(20px); /* Start further down */
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000); /* Improved easing */
  max-width: 90%;
  display: none;
}

.panel-btn {
  display: inline-block;
  margin-top: auto; /* Push to bottom */
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  width: fit-content;
  opacity: 0;
  transform: translateY(30px) scale(0.9); /* Start further down and slightly smaller */
  transition: all 0.6s ease; /* No delay initially */
  display: none;
  color: #111111;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.panel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.panel-btn:after {
  content: "→";
  margin-left: 8px;
  font-size: 18px;
}

/* Active Panel Content Styling */
.panel.active .panel-overlay {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto; /* Re-enables interaction */
}

/* Staggered animation for active panel content */
.panel.active .panel-overlay h3 {
  transform: translateY(0);
  opacity: 1; /* Full opacity when active */
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.2s; /* Delay of 0.2s with improved easing */
}

.panel.active .panel-overlay p {
  opacity: 1;
  transform: translateY(0);
  display: block;
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.4s; /* Delay of 0.4s with improved easing */
}

.panel.active .panel-btn {
  opacity: 1;
  transform: translateY(0) scale(1);
  display: block;
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.6s; /* Delay of 0.6s with improved easing */
}

/* Hover Effects */
.panel:hover:not(.active) {
  flex: 1.5;
}

.panel:hover .panel-overlay {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto; /* Re-enables interaction when hovered */
}

/* Staggered animation for hover state (faster than active) */
.panel:hover:not(.active) .panel-overlay h3 {
  transform: translateY(0);
  opacity: 0.9; /* Almost full opacity on hover */
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.3s; /* Slight delay with improved easing */
}

.panel:hover:not(.active) .panel-overlay p {
  opacity: 0.9;
  transform: translateY(0);
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.3s; /* Slightly longer delay with improved easing */
}

.panel:hover:not(.active) .panel-overlay .panel-btn {
  opacity: 0.9;
  transform: translateY(0) scale(1);
  transition: all 1s cubic-bezier(0.215, 0.610, 0.355, 1.000) 0.3s; /* Even longer delay with improved easing */
}

/* Responsive Design */
@media (max-width: 992px) {
  .panel-overlay {
    width: 100%;
    background-color: #ffdb3ccc;
  }
  
  .panel.active .panel-overlay {
    padding-bottom: 80px;
  }
  
  /* Ensure overlay is still visible on mobile even when not active */
  .panel:not(.active) .panel-overlay {
    opacity: 0; /* Keep it hidden until hovered/active */
  }
}

@media (max-width: 768px) {
  .panels-container {
    flex-direction: column;
    height: auto;
    gap: 20px;
  }
  
  .panel {
    height: 200px;
  }
  
  .panel.active {
    height: 450px;
  }
  
  .panel-overlay {
    width: 100%;
    height: 100%;
    transform: translateY(-10px); /* Change direction for mobile */
  }
  
  .panel:hover .panel-overlay,
  .panel.active .panel-overlay {
    transform: translateY(0); /* Reset transform on hover/active */
  }
  
  .panel-overlay h3 {
    font-size: 28px;
  }
  
  .panel-overlay p {
    max-width: 100%;
    font-size: 14px;
  }
  
  /* Make active panel's overlay prominent */
  .panel.active .panel-overlay {
    opacity: 1;
  }
}




/* new by akash */

.slider-point{
  width: 19px;
    height: 19px;
    border-radius: 50%;
    background-color: rgba(0, 91, 145, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-point-inner{
  width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(0, 91, 145, 0.3);
}







@media (min-width: 993px) and (max-width: 1199px) {
    #impact .impact-title {
        font-size: 5rem !important;
        
      }


            #impact .impact-number {
              font-size: 2rem !important;
            }
 
}

@media (max-width: 992px){

#impact .impact-title {
    font-size: 2.8125rem !important;

  }

     #impact .impact-number {
       font-size: 2rem !important;
     }

}


@media (max-width: 992px){
  .slider-point {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background-color: rgba(0, 91, 145, 0.3);
      display: flex;
      justify-content: center;
      align-items: center;
    }
  
    .slider-point-inner {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background-color: rgba(0, 91, 145, 0.3);
    }
}

@media (max-width: 420px){
      #cutoutText {
          font-size: 3rem !important;
          line-height: 12.5rem !important;
        }
}







/* page to there */



/* Custom slider card styles */
.custom-slider-section .slider-card .solution-title {
  font-size: 35px !important;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.custom-slider-section .slider-card .solution-description {
  font-size: 16px !important;
  padding-right: 28px !important;
  padding-left: 0 !important;
  margin-bottom: 1rem;
}

.custom-slider-section .slider-card .glass-button.with-arrow {
  font-size: 0.95rem !important;
  padding: 0.3rem 1.1rem !important;
  min-width: 0 !important;
  height: 2.1rem !important;
  border-radius: 6px !important;
}

@media (min-width: 768px) {
  .custom-slider-section {
    display: none !important;
  }
}

/*.impact-description-top {*/
/*  font-size: 1rem !important;*/
/*}*/

@font-face {
  font-family: 'Wadhwani';
  src: url('assets/fonts/wadhwani.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.container {
  max-width: 1440px;
}


 /* Responsive styles for hero section (tablet and mobile only) */
 @media (max-width: 991px) {

   /* Reduce bottom gap in the news cards row on mobile */
   .latest-section .row.m-5[style*="position: relative"] {
     padding-bottom: 1.5rem !important;
     height: auto !important;
   }

   /* Set font size of stat-text under the number to 10px */
   .featured-solutions .stat-text {
     font-size: 0.625rem !important;

     /* 10px */
     /* Ensure .solution-title is visible on mobile */
     .featured-solutions .solution-title {
       display: block !important;
       font-size: 1.5rem !important;
       color: #222 !important;
       margin-bottom: 0.5rem !important;
       visibility: visible !important;
       opacity: 1 !important;
     }
   }

   /* Center the number text in solution stats */
   .featured-solutions .stat-number {
     text-align: left !important;
     display: block !important;
     width: 100% !important;
     margin-left: 0 !important;
     margin-right: 0 !important;
   }

   /* Make solution stats display in a single horizontal row */
   .featured-solutions .solution-stats .row {
     flex-wrap: nowrap !important;
     display: flex !important;
     flex-direction: row !important;
     justify-content: space-between !important;
     align-items: flex-start !important;
     gap: 0.5rem !important;
     margin-left: 0 !important;
     margin-right: 0 !important;
   }

   .featured-solutions .solution-stats .row>[class^="col-"],
   .featured-solutions .solution-stats .row>[class*=" col-"] {
     flex: 1 1 0 !important;
     max-width: 100% !important;
     width: 100% !important;
     margin-bottom: 0 !important;
     text-align: center !important;
   }

   /* Featured Solutions Card Content Heading/Text Responsive Styles */
   .featured-solutions .solution-title {
     font-size: 2.1875rem !important;
     /* 35px */
     line-height: 1.1 !important;
     margin-bottom: 0.4rem !important;
     margin-top: 0.8rem !important;
     text-align: left !important;
   }

   .featured-solutions .solution-description {
     font-size: 1rem !important;
     /* 16px */
     margin-bottom: 0.7rem !important;
     margin-top: 0 !important;
     line-height: 1.4 !important;
   }

   /* Reduce gap between heading and card, and below text */
   .featured-solutions .solution-content .row {
     margin-bottom: 0.5rem !important;
   }

   .featured-solutions .solution-content .solution-stats {
     margin-top: 1.2rem !important;
   }

   /* Blue heading (top right) */
   .hero-content>div[style*='top: 35%'][style*='right: 30%'] {
     font-size: 1rem !important;
   }

   /* Middle heading (cutout text) */
   #cutoutText {
     font-size: 4rem !important;
     line-height: 12.5rem !important;

   }

   /* Left text after yellow line */
   .hero-content>div[style*='top: 75%'][style*='left: 15%'] h2 {
     font-size: 1rem !important;
   }

   /* Right text after yellow line */
   .hero-content>div[style*='top: 74%'][style*='right: 14%'] h3 {
     font-size: 0.75rem !important;
   }
 }

 @media (max-width: 767px) {
   .hero-content>div[style*='top: 35%'][style*='right: 30%'] {
     font-size: 1rem !important;
   }

   /* #cutoutText {
                    font-size: 2.5rem !important;
                    line-height: 4rem !important;
                } */

   .hero-content>div[style*='top: 75%'][style*='left: 15%'] h2 {
     font-size: 1rem !important;
   }

   .hero-content>div[style*='top: 74%'][style*='right: 14%'] h3 {
     font-size: 0.75rem !important;
   }
 }







