.heading{
  text-align: center;
  font-size: 28px;
  color: #d32f2f; /* Red color */
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.img-slider {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.carousel-inner img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.heading {
  position: absolute;
  top: 110px; /* Adjust the vertical positioning */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  padding: 10px 20px;
  color: #fff;
  border-radius: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .heading {
    font-size: 20px;
    padding: 8px 15px;
  }

  .carousel-inner img {
    border-radius: 5px;
  }
}


.carousel-inner {
    position: relative;
    width: 100%;
    height: auto; /* Allow height to adjust dynamically */
    overflow: hidden;
  }
  
  /* Aspect Ratio Handling for Images */
  .carousel-item img,
  .img-slider .slide img {
    width: 100%;
    aspect-ratio: 20/9; /* Maintain 16:9 aspect ratio */
    object-fit: cover;  /* Ensures image fills the container while maintaining aspect ratio */
    height: auto; /* Height auto to adjust based on width */
  }
  
  /* Flexbox Setup for Sliding */
  .img-slider .slide {
    flex: 1 0 100vw; /* Full viewport width for each slide */
  }
  
  .carousel-control-prev:hover {
    background-image: linear-gradient(to right, #000000cb, transparent); /* Standard syntax */
    
    /* Optional vendor prefixes for older browser support */
    background-image: -webkit-linear-gradient(to right, #000000cb, transparent); /* Safari/Chrome */
    background-image: -o-linear-gradient(to right, #000000cb, transparent); /* Opera */
    background-image: -moz-linear-gradient(to right, #000000cb, transparent); /* Firefox (older versions) */
  }
  
  .carousel-control-next:hover{
    background-image: linear-gradient(to left, #000000cb, transparent); /* Standard syntax */
    
    /* Optional vendor prefixes for older browser support */
    background-image: -webkit-linear-gradient(to left, #000000cb, transparent); /* Safari/Chrome */
    background-image: -o-linear-gradient(to left, #000000cb, transparent); /* Opera */
    background-image: -moz-linear-gradient(to left, #000000cb, transparent); /* Firefox (older versions) */
  
  }


  /* HOD  */

  .top-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f3f4f7, #dfe9f3);
  }
  
  /* Message Container */
  .message-container {
    padding: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .message-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  }
  
  /* Heading Styles */
  .message-container h2 {
    font-size: 32px;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 3px solid #d32f2f;
    display: inline-block;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  /* Message Content */
  .message-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
  }
  
  /* Text Section */
  .text-section {
    flex: 2;
  }
  
  .text-section h3 {
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
  }
  
  .text-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
  }
  
  /* Image Section */
  .image-section {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .image-section img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .image-section img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .message-content {
      flex-direction: column;
      gap: 20px;
    }
  
    .text-section {
      text-align: center;
    }
  
    .image-section {
      margin-top: 20px;
    }
  }
  
  @media (max-width: 576px) {
    .message-container h2 {
      font-size: 28px;
    }
  
    .text-section h3 {
      font-size: 20px;
    }
  
    .text-section p {
      font-size: 14px;
    }
  }

/* overview */
.container-one {
  max-width: 1200px;
  margin: 10px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header h1 {
  font-size: 28px;
  color: red;
  border-bottom: 3px solid #d32f2f;
  display: inline-block;
  padding-bottom: 8px;
  text-transform: uppercase;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 30px;
}

.text-section-one {
  flex: 1;
  margin-right: 20px;
}

.text-section-one span {
  color: blue;
}

.text-section-one h2 {
  font-size: 18px;
  color: #444;
  margin-bottom: 10px;

}

.text-section-one p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 10px;
  margin-left: 15px;
}

.text-section-one ul {
  padding-left: 20px;
  margin: 0;
}

.text-section-one ul li {
  margin-bottom: 8px;
  list-style: disc;
  font-size: 16px;
}

.image-section {
  flex: 1;
  text-align: center;
}

.image-section img {
    margin-top: 30px;
    max-width: 86%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* Responsive Design */
@media screen and (max-width: 768px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .text-section-one {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .image-section img {
    max-width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .header h1 {
    font-size: 24px;
  }

  .text-section-one h2 {
    font-size: 16px;
  }

  .text-section-one p,
  .text-section-one ul li {
    font-size: 14px;
  }
}


