* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  
}

.hero-section {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: fill;
}

/* Overlay Wrapper */
.overlay-wrapper {
  margin-top: -60px;
  width: 100%;
  overflow: hidden;
}

.hero-overlay {
  width: 100%;
  background: #f8941a;
  padding: 80px 60px;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  color: white;
  text-align: right;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  text-align: right;
  margin-bottom: 30px;
}

.buttons-wrapper {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: white;
  background: linear-gradient(90deg, #f8941a, #216d9e);
  border: 1px solid white;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: linear-gradient(90deg, #216d9e, #f8941a);
}
.btn a {
  text-decoration: none;
  color: white;
}
.stats-section {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 10px;
  min-width: 300px;
  flex: 1;
  max-width: 250px;
  font-size: larger;
}
.stat-box h4{
  margin-top: 10px;
  margin-bottom: 10px;
}
.icon {
  font-size: 3rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .hero-section {
    height: 60vh;
  }

  .hero-overlay h1 {
    font-size: 1.5rem;
    text-align: center;
  }

  .hero-overlay {
    text-align: center;
    padding: 60px 30px;
    clip-path: polygon(0 2%, 100% 0, 100% 100%, 0 100%);
  }

  .buttons-wrapper {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .stats-section {
    flex-direction: column;
    align-items: center;
  }

  .stat-box {
    width: 90%;
    max-width: 250px;
  }
  .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
  .icon {
    font-size: 2rem;
  }
  
.stat-box {

  padding: 20px;
  min-width: 250px;
  font-size: medium;
}
.stats-section {
  gap: 20px;
  margin-top: 30px;

}
}

.infrastructure-section {
  padding: 2rem 0;
  background-color: #ffffff;
  text-align: center;
  margin-top: 30px;
}

.infrastructure-header {
  margin-bottom: 3rem;
}

.infrastructure-title {
  font-size: 2rem;
  font-weight: bold;
  color: #176b87;
  position: relative;
  text-align: center;
  /* Center the heading */
  display: inline-block;
  /* Needed for positioning */
  margin-bottom: 40px;
}

/* Add underline image as a pseudo-element */
.infrastructure-title::after {
  content: "";
  position: absolute;
  bottom: -25px;
  /* Position the underline slightly below the text */
  left: 50%;

  width: 150px;
  /* Adjust to match your image width */
  height: 20px;
  /* Adjust to match your image height */
  background-image: url("images/underline.svg");
  /* Replace with your image path */
  background-size: contain;
  background-repeat: no-repeat;
}

.infrastructure-subtitle {
  font-size: 1.3rem;
  color: #6b7280;
  margin-bottom: 70px;
}

/* Full-Width Gallery Styling */
.infrastructure-gallery {
  width: 100vw;
  overflow: hidden;
  margin-left: calc(-50vw + 50%);
}

.gallery-row {
  display: flex;
  width: 100%;
  gap: 10px;
  /* Remove gaps to make images flush with the edges */
  margin-bottom: 10px;
}

.gallery-image {
  width: 100%;
  max-width: 25%;
  /* Four images per row */
  height: auto;
}

/* Animation Effects */
.animate-right {
  animation: slideRight 3s ease-in-out infinite alternate;
}

.animate-left {
  animation: slideLeft 3s ease-in-out infinite alternate;
}

@keyframes slideRight {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(10px);
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-10px);
  }
}

/* Responsive Styling */
@media (max-width: 768px) {
  .infrastructure-section {
    margin-right: 30px;
    margin-left: 30px;
  }

  .infrastructure-title {
    font-size: 1.5rem;
   
  }

  .infrastructure-subtitle {
    font-size: 1.1rem;

  }


  .gallery-row {
    display: flex;
    justify-content: space-between;
    /* Ensure even spacing between images */
    gap: 10px;
    /* Add a small gap between images */
    flex-wrap: wrap;
    /* Allow wrapping for small screens */
    margin-bottom: 10px;
    /* Ensure equal spacing between images */
    animation: none;
  }

  .gallery-image {
    max-width: 48%;
    /* Adjust to fit images in one row while maintaining spacing */
    height: auto;
    /* Ensure there’s some space between rows */
  }
}





/*Faculty*/
.faculty-section {
  width: 100%;
  padding: 40px 0;
  background-color: #fde2c3;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 50px;
}
.faculty-container {
  position: relative;
  max-width: 90%;
  margin: auto;
   display: flex;
  align-items: center;
  overflow: hidden;
}
.faculty-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.faculty-card {
  min-width: 27%;
  margin: 10px;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.faculty-card img {
  width: 100%;
  max-height: 270px;
  object-fit:cover;
  border-radius: 10px;
}
.faculty-card h3 {
  margin: 20px 0 5px;
  font-size: 1.5em;
}
.faculty-card .designation {
  font-weight: bold;
  color: #1573FF;
}
.faculty-card .message {
  font-size: 0.9em;
  margin-top: 10px;
}


/*Team Section*/
.team-section {
  position: relative;
  background-color: #e7f1fa;
  padding: 5rem 1rem 1rem;
  text-align: center;
  clip-path: polygon(0 0, 100% 8%, 100% 100%, 0 100%);
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;

}

.team-row {
  display: flex;
  gap: 20px;
  overflow: hidden;
}

.team-card-container {
  flex: 1 1 calc(25% - 20px);
  display: none;
}

.team-card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.team-card img {
  border-radius: 10px 10px 0 0;
  object-fit: cover;
  width: 100%;
}

.team-card-body {
  padding: 1.5rem;
}

.text-area {
  text-align: right;
  padding: 5px 100px;
  margin-top: 7%;
}

.text-area p {
  font-size: 20px;
  font-weight: 600;
  color: #216d9e;
}
.team-name{
  margin: 0%;
  font-size: 20px;
  color: #216d9e;
  font-weight: 600;
}

.team-department{
  color: #f8941a;
  font-weight: 600;
  
}
.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #176b87;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  font-size: 24px;
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

@media (max-width: 1024px) {
  .team-card-container {
      flex: 1 1 calc(33.33% - 20px);
  }
}

@media (max-width: 768px) {
  .team-card-container {
      flex: 1 1 calc(50% - 20px);
  }
  .text-area {
      text-align: center;
      padding: 10px;
  }
  .text-area h2{
    font-size: 25px;
    margin-bottom: 20px;
  }
  .text-area p{
   
    margin-bottom: 10px;
  }
  .prev-btn,
.next-btn {
  width: 35px;
  height: 35px;
  font-size: 10px;
 
}
.team-name{
  font-size: 14px;
  margin-bottom: 8px;
}
.team-role{
  font-size: 12px;
  margin-bottom: 5px ;
}
.team-department{
  font-size: 12px;
}
.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}
.team-section{
  margin-bottom: 30px;
}
}



/*Testimonial*/
.unique-testimonial-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 80px 10%;
}

.unique-left-content {
  max-width: 500px;
}

.unique-left-content h3 {
  font-size: 40px;
  font-weight: bold;
  color: #f8941a;
  margin-bottom: 10px;
}

.unique-left-content p {
  font-size: 20px;
  color: #216d9e;
  margin-bottom: 15px;
}

.unique-arrow-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.unique-arrow-buttons button {
  background-color: #f8941a;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 18px;
  transition: 0.3s;
}

.unique-arrow-buttons button:hover {
  background-color: #216d9e;
}

/* Image Container */
.unique-testimonial-container {
  position: relative;
  width: 400px;
  height: 400px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
  border-radius: 10px;
}

.testimonial-image.active {
  display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .unique-testimonial-section {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 30px;
      padding: 40px 5%;
  }

  .unique-testimonial-container {
      width: 320px;
      height: 320px;
  }
  .unique-arrow-buttons {
    justify-content: center;
    display: flex;
    width: 100%;
}
.unique-left-content h3 {
  font-size: 25px;
}

.unique-left-content p {
  font-size: 18px;
}
.unique-arrow-buttons button {
font-size: 12px;

  
}
}

@media (max-width: 480px) {
  .unique-testimonial-container {
      width: 280px;
      height: 280px;
  }
}






/* Event Section */

.events-section {
  text-align: center;
  padding: 40px 20px;
}

.event-subtitle {
  color: #f08000;
  font-size: 20px;
  font-weight: 600;
}

.event-title {
  color: #216d9e;
  font-size: 30px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 40px;
}

.events-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.event-box {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 600px; 
}

.event-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  border-radius: 10px;
  transition: transform 0.3s ease;
 
}

.event-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-size: 25px;
  font-weight: bold;
}

.event-box:hover img {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .events-container {
      flex-direction: column;
      align-items: center;
  }

  .event-box {
      max-width: 90%;
  }
  .event-title{
    font-size: 25px;
 }
.event-subtitle{
  margin-bottom: 10px;
}
  .event-overlay{
    font-size: 18px;
  }
}

/*Join MMC Box*/
.register-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh;
  padding: 20px;
  background-color: #f8f9fa;
  background-image: repeating-linear-gradient(45deg, rgba(86, 169, 224, 0.05) 0px, rgba(138, 169, 248, 0.05) 10px, transparent 10px, transparent 20px);
}
.register-box {
  max-width: 700px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  text-align: center;
  border: 1px solid #216d9e;
}
.register-box h2 {
  color: #216d9e;
  margin-bottom: 15px;
  font-size: 30px;
}
.register-box p {
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.register-button {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  color: white;
  background: linear-gradient(to right, #64b5f6, #216d9e);
  border: none;
  border-radius: 25px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.register-button:hover {
  background: linear-gradient(to right, #216d9e, #64b5f6);
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .register-box {
      width: 90%;
      padding: 30px;

  }
  .register-box h2 {
  font-size: 25px;
  }
  .register-box p{
    font-size: 15px;
  }
}