body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
  }
  /*first Section*/
  .first-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }
  
  .first-container {
    position: relative;
    display: flex;
    height: 100%;
  }
  
  .first-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .first-item.active {
    opacity: 1;
    z-index: 2;
  }
  
  .background {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  /* Content Styling */
  .content {
    position: absolute;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    will-change: opacity, transform; /* Optimize animations */
  }
  
  .subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    animation: fadeIn 1.5s ease forwards;
  }
  
  .main-title {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.5;
    margin-bottom: 25px;
    animation: fadeIn 2s ease forwards;
  }
  
  .btn {
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    background: transparent;
    transition: all 0.3s ease-in-out;
    animation: fadeIn 2.5s ease forwards;
  }
  
  .btn:hover {
    background: white;
    color: black;
  }
  
  /* Controls Styling */
  .controls {
    position: absolute;
    bottom: 30px;
    width: 100%;
    text-align: center;
    z-index: 3;
  }
  
  .arrows {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
  }
  
  .arrows .prev,
  .arrows .next {
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .arrows .prev:hover,
  .arrows .next:hover {
    background: rgba(0, 0, 0, 0.8);
  }
  
  .progress-bar-container {
    width: 80%;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    margin: 10px auto;
    border-radius: 5px;
  }
  
  .progress-bar {
    width: 0%;
    height: 100%;
    background: white;
    transition: width 5s linear;
    border-radius: 5px;
    will-change: width; /* Optimize width animation */
  }
  
  .dots {
    display: flex;
    justify-content: center;
    gap: 8px;
  }
  
  .dots .dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
  }
  
  .dots .dot.active {
    background: white;
  }
  /* Mobile-Specific Styling */
  @media (max-width: 768px) {
    /* Content Styling */
    .content {
      top: 50%;
      transform: translate(-50%, -50%);
      text-align: left;
      animation: fadeInUp 1s ease-in-out;
    }
  
    .subtitle {
      font-size: 1rem;
      letter-spacing: 2px;
      margin-bottom: 10px;
    }
  
    .main-title {
      font-size: 1.8rem;
      line-height: 1.4;
    }
  
    .btn {
      padding: 10px 20px;
      font-size: 0.9rem;
      border-radius: 25px;
      margin-top: 15px;
      animation: fadeIn 1.5s ease-in-out;
      touch-action: manipulation;
    }
  
    .btn:active {
      background: white;
      color: black;
      transform: scale(0.98);
    }
  
    /* Navigation Arrows */
    .arrows {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 20px;
    }
  
    .arrows .prev,
    .arrows .next {
      width: 35px;
      height: 35px;
      font-size: 16px;
      background: rgba(0, 0, 0, 0.6);
      z-index: 3;
    }
  
    .arrows .prev:hover,
    .arrows .next:hover {
      background: rgba(0, 0, 0, 0.8);
    }
  
    /* Progress Bar */
    .progress-bar-container {
      width: 90%;
      margin: 10px auto;
      position: relative;
      z-index: 2;
    }
  
    .progress-bar {
      background: linear-gradient(90deg, #00bcd4, #fff);
      animation: progressMove 5s linear infinite;
    }
  
    /* Dots */
    .dots {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 15px;
    }
  
    .dots .dot {
      width: 8px;
      height: 8px;
      background: rgba(255, 255, 255, 0.5);
      border-radius: 50%;
    }
  
    .dots .dot.active {
      background: white;
    }
  
    /* Container and Images */
    .first-container {
      height: 100vh;
    }
  
    .first-item {
      height: 100%;
    }
  
    .background {
      object-fit: cover;
      height: 100%;
    }
  
    /* Overlay */
    .overlay {
      background: rgba(0, 0, 0, 0.5);
    }
  }
/*end of the first Section*/
  .actions-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome, Safari, and Opera */
  }
  #our-actions {
    display: flex;
    flex-wrap: nowrap;
    height: 90vh;
    max-width: 100%;
    margin: auto;
    background-color: rgb(255, 255, 255);
    overflow: hidden; /* Avoid scrollbars */
  }
  
  .actions-text {
    flex: 1;
    padding: 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideInLeft 1s ease;
  }

  .actions-text .intro-label {
    font-size: 1.3rem;
    font-weight: bold;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 1px;
  }
  
  .actions-text h2 {
    font-size: 2.5rem;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: #333;
    animation: fadeIn 1.5s ease;
  }
  
  .slider-controls {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
  }
  
  .slider-controls button {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
  }
  
  .slider-controls button:hover {
    transform: scale(1.2);
    border-color: #555;
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  .slider-controls img {
    width: 20px;
    height: 20px;
  }
  
  .actions-slider {
    flex: 3;
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 2rem 0;
   
  }
  
  .slide {
    flex: none;
    width: 50%;
    height: 100%;
    position: relative;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 2rem;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .slide:hover img {
    opacity: 0.9;
    transform: scale(1.1);
    
  }
  
  .slide-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
    color: white;
   
    padding: 1.5rem;
    border-radius: 10px;
    animation: fadeInUp 1s ease;
  }
  
  
  
  .slide-content h3 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .action-listwrap {
    max-height: 0; /* Ensure it's hidden initially */
    overflow: hidden; /* Hide the content */
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0; /* Remove padding when closed */
  }
  
  .action-ctrl.open + .action-listwrap {
    overflow: visible; /* Ensure the content is visible */
    padding: 1rem; /* Add padding when open */
  }
  
  .action-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: white;
    font-size: 1rem;
  }
  
  .action-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    opacity: 0; /* Start hidden */
    transform: translateY(-10px); /* Slightly move up */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth animation */
  }
  
  .action-ctrl.open + .action-listwrap li {
    opacity: 1; /* Fade in */
    transform: translateY(0); /* Reset position */
  }
  
  .action-list li::before {
    content: "—";
    margin-right: 0.5rem;
    color: white;
  }
  
  .action-ctrl {
    margin-top: 1rem;
    cursor: pointer;
    font-size: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .action-ctrl img {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    margin-left: 5vh;
    
  }
  
  .action-ctrl.open img {
    transform: rotate(180deg);
  }
  
  html[dir="rtl"] .action-ctrl img {
    margin-left: 0; /* Remove left margin */
    margin-right: 1rem; /* Add right margin */
    transform: rotate(180deg); /* Flip arrow horizontally */
}
  @media (max-width: 768px) {
    #our-actions {
        flex-direction: column; /* Stack elements vertically */
        height: auto; /* Adjust height dynamically */
    }

    .actions-text {
        border-right: none; /* Remove right border */
        padding: 1.5rem; /* Adjust padding */
    }

    .slide {
        width: 100%; /* Full width for slides */
        height: 100vh; /* Full height for mobile */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align content to the left */
        justify-content: flex-end; /* Push content to the bottom */
        position: relative; /* Position relative for image alignment */
    }

    .slide img {
        width: 100%; /* Ensure the image covers full width */
        height: 100%; /* Ensure the image covers full height */
        object-fit: cover; /* Cover the area without distortion */
        position: absolute; /* Position the image absolutely within the slide */
        top: 0;
        left: 0;
    }

    .slide-content {
        position: relative; /* Make content relative to the slide */
        z-index: 2; /* Ensure content is above the image */
        width: 100%; /* Full width for content */
      margin-bottom: 20vh;
        border-radius: 0; /* Remove border radius for full-width alignment */
        text-align: left; /* Align text to the left */
        color: white; /* Ensure content is visible on dark background */
    }

    .slide-content h3 {
        font-size: 1.8rem; /* Adjust font size for mobile */
        margin-bottom: 0.5rem;
    }
    .actions-text .intro-label {
        font-size: 2rem;
    }
    .actions-text h2{
        font-size: 1.9rem;
    }
    .action-ctrl {
        font-size: 1rem; /* Adjust font size */
        margin-top: 1rem;
        display: flex;
        align-items: center;
    }

    .action-listwrap {
        width: 100%; /* Ensure dropdown matches slide width */
        height: 100%;
    }
    #drop {
        width: 12px; /* Adjust the width */
        height: 12px; /* Adjust the height */
        transition: transform 0.3s ease; /* Smooth transition for effects like rotation */
        display: inline-block; /* Ensure it doesn't stretch */
        margin-left: 8px; /* Optional: Adjust spacing if necessary */
    }
    
}

/* impact Section Styling */
/* Home Impact Section */
.home-impact {
  position: relative;
  text-align: center;
  color: #333;
  overflow: hidden;
  height: 100vh;
}

/* Animated Content */
.impact-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  padding: 20px;
  width: 90%;
  animation: fadeInUp 1.5s ease-out;
  opacity: 0; /* Initially hidden */
  animation-fill-mode: forwards; /* Ensures it stays visible after animation */
  margin-top: 20vh;
  will-change: transform, opacity;
}

/* Title Styling */
.text-container h3.title {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 15px;
  animation: fadeIn 2s ease-out;
  font-family: 'Arial', sans-serif;
}

/* Description Styling */
.text-container .description h2 {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
  color: #feffff;
  animation: slideIn 1.8s ease-out;
  font-family: 'Arial', sans-serif;
}

.text-container .description h2 strong {
  display: block;
  font-weight: bold;
  color: #ffffff;
  margin-top: 10px;
  text-shadow: 2px 2px 4px rgba(168, 28, 28, 0.2);
}


.btn-lined:hover {
  background-color: #0071c2;
  color: #fff;
  transform: scale(1.1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Image Container */
.image-container img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  animation: zoomIn 8s ease-in-out infinite alternate; /* Smooth zoom effect */
  filter: brightness(80%); /* Slight darkening for better text visibility */
  will-change: transform;
}

/* Responsive Design */
@media (min-width: 768px) {
  .impact-content {
      top: 30%;
      width: 60%;
  }

  .text-container h3.title {
      font-size: 2rem;
      margin-bottom: 20px;
  }

  .text-container .description h2 {
      font-size: 2rem;
  }

  .btn-lined {
      font-size: 1.2rem;
      padding: 15px 30px;
  }
}

@media (min-width: 1200px) {
  .impact-content {
      top: 40%;
      width: 50%;
  }

  .text-container h3.title {
      font-size: 2.5rem;
  }

  .text-container .description h2 {
      font-size: 2.2rem;
  }
}
/* Accessibility Improvements */
.impact-content {
  color: #222;
}

.btn-lined:focus {
  outline: 3px dashed #333;
  outline-offset: 3px;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
      transform: translate(-50%, -60%);
      opacity: 0;
  }
  to {
      transform: translate(-50%, -50%);
      opacity: 1;
  }
}
@keyframes zoomIn {
  from {
      transform: scale(1);
  }
  to {
      transform: scale(1.05);
  }
}

.container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

/* Large Background Image */
.background-image {
  position: relative;
  width: 100%;
  height: 100vh;
  background: linear-gradient(180deg, #001f3f 0%, #011627 100%);
  animation: backgroundFade 3s ease-in-out infinite alternate;
}

.background-image picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Text Content */
.text-content {
  position: absolute;
  top: 10%;
  left: 10%;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  font-family: 'Arial', sans-serif;
  z-index: 2;
  width: 80%;
  animation: fadeIn 1.2s ease-in-out forwards, slideInLeft 1s ease-in-out;
  opacity: 0;
}

.text-content h2 {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.text-content h2 strong {
  font-weight: 600;
  color: #00bcd4;
  transition: color 0.3s ease;
}

.text-content p {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.8;
  color: #d1d1d1;
}

.text-content p:last-child {
  margin-bottom: 1.5rem;
}

/* Keyframes for fade-in effect */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Slide-in from left animation */
@keyframes slideInLeft {
  from {
      transform: translateX(-50px);
  }
  to {
      transform: translateX(0);
  }
}

/* Counter Section */
.counter-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  animation: fadeIn 1s ease-in-out forwards;
}

.counter-item {
  text-align: center;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

.counter-item .counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: #1db9f3;
}

.counter-item .description {
  font-size: 2rem;
  margin-top: 0.5rem;
}

/* Smaller Overlapping Image */
.overlap-image {
  position: absolute;
  top: 110%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  z-index: 2;
}

.overlap-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .text-content h2 {
      font-size: 2.8rem;
  }

  .text-content p {
      font-size: 1.2rem;
  }

  .counter-section {
      gap: 1rem;
  }

  .counter-item .counter {
      font-size: 2rem;
  }

  .counter-item .description {
      font-size: 1.5rem;
  }

  .overlap-image {
      width: 70%;
  }
}

@media (max-width: 768px) {
  .text-content {
      top: 5%;
      left: 5%;
      width: 90%;
  }

  .text-content h2 {
      font-size: 2.2rem;
  }

  .text-content p {
      font-size: 1rem;
  }

  .counter-section {
      flex-direction: column;
      align-items: self-start;
      
  }

  .overlap-image {
      width: 80%;
      top: 110%;
  }
}

@media (max-width: 480px) {
  .text-content h2 {
      font-size: 1.8rem;
  }

  .text-content p {
      font-size: 0.9rem;
  }

  .counter-section {
      gap: 0.5rem;
  }

  .counter-item .counter {
      font-size: 1.8rem;
  }

  .counter-item .description {
      font-size: 1.2rem;
  }

  .overlap-image {
      width: 90%;
  }
}


