/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    font-size: 16px; /* Base font size */
  }
  
  body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
    padding: 20px;
  }


  

  /* Navbar code  */
  .unique-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    padding: 10px 20px;
  }
  
  .unique-navbar-logo {
    display: flex;
    align-items: center;
  }
  
  .unique-navbar-logo-img {
    height: 60px;
    width: auto;
  }
  
  .unique-navbar-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  
  .unique-navbar-link {
    color: #044b8b;
    text-decoration: none;
    margin: 50px 6px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
  }
  
  .unique-navbar-link:hover {
    color: #1e90ff;
  }
  
  .unique-navbar-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .unique-navbar-toggle span {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 4px 0;
  }
  
  /* Responsive styles */
  @media (max-width: 768px) {
    .unique-navbar-links {
      display: none;
      flex-direction: column;
      background-color: #333;
      position: absolute;
      top: 60px;
      right: 0;
      width: 200px;
      border-radius: 5px;
    }
  
    .unique-navbar-links.active {
      display: flex;
    }
  
    .unique-navbar-toggle {
      display: flex;
    }
  }
/* 
Navbar code end  */



.slider-container {
    /* width: 100%; */
    /* max-width: 1100px; */
    width: fit-content;
    margin: auto;
    overflow: hidden;
  }
  
  .slider {
    display: flex;
    transition: transform 5s ease;
  }
  
  .slide {
    min-width: 100%;
    transition: opacity 5s ease;
  }
  
  img {
    width: 100%;
    height: 100%;
  }
  
  /* Keyframes to gradually show more images */
  @keyframes slide {
    0% {
      transform: translateX(0);
    }
    25% {
      transform: translateX(-100%);
    }
    50% {
      transform: translateX(-200%);
    }
    75% {
      transform: translateX(-300%);
    }
    100% {
      transform: translateX(0);
    }
  }
  
  /* Slider animation to show different image sets */
  .slider {
    animation: slide 12s infinite;
  }
  
  /* Make the slider responsive */
  @media screen and (max-width: 768px) {
    .slider-container {
      width: 100%;
    }
  }
  
  /* For different viewports: show 1, 2, 3 or 4 images */
  @media screen and (max-width: 1024px) {
    .slider-container {
      max-width: 800px;
    }
  
    .slide {
      min-width: 50%;
    }
  }
  
  @media screen and (max-width: 768px) {
    .slider-container {
      max-width: 100%;
    }
  
    .slide {
      min-width: 33.33%;
    }
  }
  
  @media screen and (max-width: 480px) {
    .slider-container {
      max-width: 100%;
    }
  
    .slide {
      min-width: 100%;
    }
  }
    

  /* Basic layout */
.about-us-section {
    padding: 40px 20px;
  }
  
  .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  
  .about-us-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .about-us-image {
    flex: 1;
    max-width: 45%;
  }
  
  .about-us-image img {
    width: 100%;
    height: auto;
  }
  
  .about-us-text {
    flex: 1;
    max-width: 50%;
    padding-left: 20px;
  }
  
  .about-us-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .about-us-text p {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  /* Collapsible button style */
  .collapsible {
    background-color: #044b8b;
    color: white;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 18px;
    margin-top: 10px;
    border-radius: 5px;
  }
  
  .collapsible:hover {
    background-color: #044b8b;
  }
  
  /* Collapsible content style */
  .content {
    padding: 10px;
    display: none;
    overflow: hidden;
    background-color: #f1f1f1;
    border-radius: 5px;
  }
  
  /* Responsive design */
  @media screen and (max-width: 768px) {
    .about-us-content {
      flex-direction: column;
      align-items: center;
    }
  
    .about-us-image {
      max-width: 100%;
      margin-bottom: 20px;
    }
  
    .about-us-text {
      max-width: 100%;
      padding-left: 0;
    }
  }

  .info-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
  }
  
  .info-block {
    text-align: center;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .info-block i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .info-block h4 {
    font-size: 18px;
    margin: 10px 0;
  }
  
  .info-block p {
    font-size: 14px;
    color: #ffffff;
  }
  
  /* Responsive Design */
  @media (max-width: 992px) {
    .info-section {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 576px) {
    .info-section {
      grid-template-columns: 1fr;
    }
  }




   .student-count {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 20px;
}

.block {
    background-color: #044b8b;
    border-radius: 10px;
    padding: 20px;
    width: 45%;
    text-align: center;
    margin: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.number {
    font-size: 40px;
    font-weight: bold;
    color: #ffffff;
}

.text {
    margin-top: 10px;
    font-size: 16px;
    color: #ffffff;
}

@media (max-width: 768px) {
    .block {
        width: 80%;
    }
}


.newsletter-section {
  background: linear-gradient(135deg, #044b8b, #044b8b);
  color: white;
  padding: 50px 20px;
  text-align: center;
}

.newsletter-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.newsletter-section p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.newsletter-section form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.newsletter-section input[type="email"] {
  padding: 15px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  width: 100%;
  max-width: 400px;
  outline: none;
}

.newsletter-section button {
  background-color: #ffffff;
  color: #044b8b;
  font-size: 1rem;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.newsletter-section button:hover {
  background-color: #ffffff;
  color: #044b8b;
}

@media (min-width: 768px) {
  .newsletter-section {
      padding: 70px 50px;
  }

  .newsletter-section form {
      flex-direction: row;
      gap: 10px;
  }

  .newsletter-section input[type="email"] {
      flex: 1;
      margin: 0;
  }

  .newsletter-section button {
      flex-shrink: 0;
  }
}



.unique-reviews {
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative; /* To allow buttons outside this container */
  z-index: 1;
}

.unique-reviews h1 {
  font-size: 3em;
  color: #ffffff;
  margin-bottom: 10px;
  z-index: 1;
}

.unique-reviews h2 {
  font-size: 1.5em;
  color: #ffffff;
  margin-bottom: 30px;
  z-index: 1;
}


.unique-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 100%;
  display: flex;
  overflow: hidden;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.unique-review-box {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #044b8b;
  padding: 40px; /* Increased padding */
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Larger shadow */
  width: 100%;
  max-width: 900px;
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 0;
  transform: scale(0.9);
  z-index: 1;
}

.unique-review-box.active {
  display: flex;
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.unique-review-image img {
  width: 100px; /* Image size */
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  z-index: 1;
}

.unique-review-text p {
  font-size: 1.2em; /* Increased font size */
  color: #ffffff;
  margin-top: 15px;
  z-index: 1;
}

/* Navigation buttons outside of the section */
.unique-prev-btn,
.unique-next-btn {
  position: absolute;
  top: 50%;
  
  color: rgb(0, 0, 0);
  padding: 20px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background-color 0.3s ease;
  z-index: 10; /* Ensures the buttons are on top */
}

/* Hover effect for buttons */


/* Position buttons outside of the section */
.unique-prev-btn {
  z-index: 1;
  left: -10px; /* Move left button outside of the section */
}

.unique-next-btn {
  z-index: 50;
  right: -10px; /* Move right button outside of the section */
}



.chairman-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 20px;
  gap: 20px;
  background-color: #ffffff;
}

.chairman-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.chairman-info {
  flex: 1;
  max-width: 1000px;
  padding: 20px;
}

.chairman-info h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 15px;
}

.chairman-info p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .chairman-section {
    flex-direction: column;
    text-align: center;
  }

  .chairman-image img {
    max-width: 80%;
  }
}



/* Gallery wrapper styling */
.gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 2 images per row */
  gap: 15px;
  padding: 20px;
}

/* Gallery item styling */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

/* Modal styling */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.gallery-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  border: 5px solid white;
}

.gallery-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.gallery-close:hover {
  color: #ccc;
}

/* Responsive styling for smaller screens */
@media (max-width: 768px) {
  .gallery-wrapper {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Adjust for smaller screens */
  }
}


.certificates-section {
  padding: 20px;
  text-align: center;
}
.certificates-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.certificates-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.certificate-item {
  flex: 1 1 calc(33.333% - 40px); /* Adjust to 3 items per row */
  max-width: calc(33.333% - 40px);
  box-sizing: border-box;
  text-align: center;
}
.certificate-item img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}
.certificate-item h3 {
  margin-top: 10px;
  font-size: 1.2rem;
}

 /* Responsive Design */
 @media (max-width: 768px) {
  .certificate-item {
      flex: 1 1 calc(50% - 20px); /* Adjust to 2 items per row */
      max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .certificate-item {
      flex: 1 1 100%; /* Full-width for smaller screens */
      max-width: 100%;
  }
}

.contact-section {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding: 40px;
}

.contact-box {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  width: 100%;
  max-width: 450px;
  min-height: 500px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-box h3 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.contact-box p {
  font-size: 14px;
  color: #555;
}

.social-icons a {
  margin-right: 10px;
  color: #044b8b;
  font-size: 20px;
  text-decoration: none;
}

.social-icons a:hover {
  color: #044b8b;
}

.map-box {
  width: 100%;
  max-width: 900px;
  
  
}

iframe {
  border-radius: 8px;
  width: 100%;
  height: 200%;
}

@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    align-items: center;
  }

  .contact-box, .map-box {
    max-width: 100%;
    min-height: 400px;
  }
}

.our-teachers-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center-aligns content */
  gap: 20px; /* Adds spacing between boxes */
  padding: 20px;
  background-color: #f9f9f9; /* Optional background color */
}

/* Style for each teacher box */
.teacher-box {
  width: 200px; /* Adjust width as needed */
  text-align: center; /* Center-aligns the text */
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s; /* Adds hover effect */
}

.teacher-box:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

/* Style for the images */
.teacher-box img {
  width: 100%; /* Makes the image fill the box width */
  height: auto; /* Maintains aspect ratio */
  border-radius: 10px; /* Adds rounded corners */
  object-fit: cover; /* Ensures image covers the box */
}

/* Style for the names */
.teacher-box h3 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #333;
}

/* Modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed positioning to cover entire screen */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  justify-content: center; /* Centers content */
  align-items: center;
  z-index: 1000;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background-color: #fff;
  padding: 20px;
  text-align: center;
}

.modal img {
  max-width: 100%;
  max-height: 80vh; /* Limits image height */
  object-fit: contain; /* Ensures full image is shown */
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 50%;
  z-index: 1100; /* Ensures it's above the modal content */
}

.close-btn:hover {
  background-color: #e2e2e2; /* Slight background change on hover */
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.popup button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  border: none;
  color: white;
  cursor: pointer;
}
