
    html {
  scroll-behavior: smooth;
}

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Open Sans', sans-serif;
    }
html, body {
  overflow-x: hidden;
}

    img {
      max-width: 100%;
      height: auto;
    }

    .topbar {
      background-color: #007bff;
      color: white;
      font-size: 14px;
      padding: 5px 0;
    }

    .topbar .container {
      max-width: 1200px;
      display: flex;
      justify-content: flex-start;
      margin: 0 auto;
      padding: 0 20px;
      gap: 20px;
      flex-wrap: wrap;
    }

    .navbar {
      background-color: white;
      padding: 5px 0;
      position: relative;
      z-index: 10;
    }

    .navbar .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .logo img {
      height: 120px;
      width: 120px;
    }

    .nav-links {
      display: flex;
      list-style: none;
      gap: 15px;
      flex-wrap: wrap;
      justify-content: center;
    }

    .nav-links li a {
      color: black;
      text-decoration: none;
      padding: 8px 10px;
      font-size: 16px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      display: block;
    }

    .nav-links li a:hover {
      color: #007bff;
    }

    .hero-section {
      height: 100vh;
      background-image: url("background3.jpg");
      background-size: cover;
      background-position: center;
      position: relative;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      padding: 40px;
    }

    .hero-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: transparent;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      gap: 20px;
      flex: 1;
    }

    .hero-logo {
      height: 150px;
      width: auto;
    }

    .desktop-logo {
      display: block;
    }

    .mobile-logo {
      display: none;
    }

    .hero-text {
      display: flex;
      flex-direction: column;
    }

    .hero-text h1 {
      font-size: 4rem;
      font-family: 'Cinzel', serif;
      font-weight: 400;
      color: rgba(0, 0, 255, 0.829);
      -webkit-text-stroke: 2px rgba(0, 0, 255, 0.829);
      letter-spacing: 2px;
      transform: scaleY(1.1);
    }

    .sub-title {
      font-size: 2.3rem;
      margin-top: -20px;
      margin-left: 50px;
      color: rgb(246, 119, 52);
      font-weight: 600;
    }

    .hindi-text {
      font-size: 1.8rem;
      color: green;
      font-weight: 400;
      margin-top: 10px;
      margin-left: 100px;
      font-family: 'Noto Sans Devanagari', sans-serif;
    }

    .hero-right-image {
      position: absolute;
      right: 0px;
      bottom: 0;
      height: 100%;
      z-index: 2;
      pointer-events: none;
    }
    .about-section{
       margin-top: -20px;
    }

    .about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 40px; /* ✅ Add top padding */
  padding-bottom: 40px;
  background-color: rgb(245, 252, 255);
  flex-direction: column;
  height: auto; /* ✅ Change from 100vh to auto */
}


    .about-content h1 {
      font-weight: 700;
      font-size: 3rem;
      margin-top: 0px; /* Adjust as needed */
      margin-bottom: 20px;
  text-align: center;
    }
    .about-content p{
      font-size:1.4rem;
     font-family: 'Roboto', sans-serif;
    max-width: 1200px;
  text-align: left; /* ✅ Important: Align text to the left */
  align-self: flex-start; /* ✅ Important: Align <p> itself to the left of container */
    margin-left: 50px;
    line-height: 1.8;
    
    }

    .about-content .highlight {
      color: #007bff;
    }

    .gallery-section {
      padding: 60px 20px;
      background-color: #f5faff;
      text-align: center;
    }

    .gallery-title {
      font-size: 2rem;
      color: #007bff;
      margin-bottom: 30px;
      font-weight: 600;
      font-family: 'Cinzel', serif;
    }

    .slideshow-container {
      max-width: 900px;
      margin: auto;
      padding: 60px 40px;
      background-color: #ffffff;
      border-radius: 50px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
      position: relative;
      overflow: hidden;
    }

    .mySlides {
      display: none;
      animation: fadeSlide 1s ease-in-out forwards;
      transition: transform 0.6s ease;
    }

    @keyframes fadeSlide {
      0% {
        opacity: 0;
        transform: translateX(50px) scale(0.95);
      }
      100% {
        opacity: 1;
        transform: translateX(0) scale(1);
      }
    }

    .profile-img {
      width: 300px;
      height: 320px;
      border-radius: 50%;
      object-fit: cover;
      border: 1px solid black;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
      margin-bottom: 20px;
    }

    .profile-name {
      font-size: 1.4rem;
      font-weight: 600;
      color: #333;
      margin-bottom: 5px;
      font-family: 'Cinzel', serif;
    }

    .profile-designation {
      font-size: 1.05rem;
      color: #555;
      margin-bottom: 10px;
    }

    .prev, .next {
      cursor: pointer;
      position: absolute;
      top: 50%;
      width: auto;
      padding: 16px;
      color: #007bff;
      font-weight: bold;
      font-size: 18px;
      background-color: rgba(255,255,255,0.8);
      transition: 0.3s;
      border-radius: 3px;
      user-select: none;
      transform: translateY(-50%);
    }

    .prev {
      left: 10px;
    }

    .next {
      right: 10px;
    }

    .prev:hover, .next:hover {
      background-color: rgba(0,123,255,0.2);
    }

    .dot-container {
      text-align: center;
      padding-top: 20px;
    }

    .dot {
      cursor: pointer;
      height: 15px;
      width: 15px;
      margin: 0 5px;
      background-color: #bbb;
      border-radius: 50%;
      display: inline-block;
      transition: background-color 0.3s ease;
    }

    .active, .dot:hover {
      background-color: #007bff;
    }
    .about-list {
  list-style: none;
  padding-left: 0;
  margin: 20px auto;
  max-width: 900px;
}

.about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
  color:#333;
}
.courses-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.5rem;
  line-height: 1.6;
  color:black;
  font-weight: 580;
}



.about-list li::before {
  content: "➤"; /* You can also try "→" or "›" */
  position: absolute;
  left: 0;
  top: 0;
  color: #007BFF; /* blue arrow */
  font-weight: bold;
  font-size: 1.2rem;
}
.courses-list li::before {
  content: "➤"; /* You can also try "→" or "›" */
  position: absolute;
  left: 0;
  top: 0;
  color: #007BFF; /* blue arrow */
  font-weight: 800;
  font-size: 1.2rem;
}
.faculty-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin-top: 20px;
      
    }

    .faculty-card {
      background: color #e8f0fe ;
      border: 1px solid #ddd;
      border-radius: 10px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      width: 380px;
      padding: 20px;
      transition: transform 0.2s ease;
    }

    .faculty-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
    }

    .faculty-card h3 {
      margin: 0;
      color: #34495e;
    }

    .faculty-card p {
      margin: 5px 0;
      color: #555;
    }
.nav-link {
  text-decoration: none;
  color: black;
}

.nav-link.active {
  text-decoration: underline;
}
.quote{
  margin-left:0px;
  background-color:#f5fcff;
  text-align: center;}

  #contacts{
  background-color: white;
  padding: 40px 20px;
  text-align:left;
  max-width: 1200px;

}
#contacts h1 {
 font-size: 2rem;
      font-family: 'roboto', serif;
      font-weight: 600;
      color:Black ;
      transform: scaleY(1.1);
      letter-spacing: 2px;
      
}

.directors-container {
  display: flex;
  
  flex-wrap:wrap;
  justify-content: center;
   
  gap: 20px;
  max-width: 1200px;
}

.director-card {
  text-align: center;
  
  margin: 0 auto 20px auto;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 20px;
  max-width: 400px;
  
  border: 1px solid #ddd;
}



  


    @media (max-width: 768px) {
      .navbar .container {
        flex-direction: column;
        align-items: center;
        gap: 5px; /* smaller gap between items */
  padding: 0 10px; /* reduce horizontal padding */
      }

      .logo {
        display: none;
      }

      .nav-links {
        justify-content: center;
        gap: 10px;
        flex-wrap: wrap;
      }

      .nav-links li a {
        font-size: 14px;
        padding: 2px 6px;
        font-weight: 600;
      }

      .hero-section {
        flex-direction: column;
        align-items: center;
        padding: 20px;
        height: auto;
      }

      .hero-content {
        flex-direction: column;
        text-align: center;
      }

      .hero-text h1 {
        font-size: 3rem;
        -webkit-text-stroke: 1px rgba(0, 0, 255, 0.829);
      }

      .hero-right-image {
        position: static;
        width: 80%;
        height: auto;
        max-height: 500px;
        margin-top: 20px;
        z-index: 1;
        pointer-events: none;
      }

      .desktop-logo {
        display: none;
      }

      .mobile-logo {
        display: block;
      }

      .hindi-text {
        font-size: 1.4rem;
        margin-left: 0;
        text-align: center;
      }

      .sub-title {
        margin-left: 0;
        text-align: center;
      }
       .about-content {
    
    margin: 0 auto;
  
    
  padding: 20px 10px;
  
  width: 100vw;
  max-width: 100vw;
  box-sizing: border-box;
}

  
      .about-content h1 {
  font-size: 1.8rem;
  margin-top: 0px;
  margin-bottom: 8px;
  text-align: center;
}
.about-content p {
  font-size: 1.1rem;
  max-width:100%;
  margin-left:0px;
  margin-top:5px;
  text-align:start;
  
  
    
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
    word-break: break-word;
  
}

.slideshow-container {
        padding: 40px 20px;
      }

      .profile-img {
        width: 180px;
        height: 180px;
      }

      .profile-name {
        font-size: 1.1rem;
      }

      .profile-designation {
        font-size: 0.95rem;
      }
      .quote{
        margin-left:0px;
      text-align: center;
    font-size: medium;
  font-weight:600;}

    }
    .about-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.3rem;
  line-height: 1.6;
  color:#333;
}
.faculty-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
      margin-top: 20px;
    
      
    }
    .directors-container {
    flex-direction: column;
    justify-content: center;
    
}
  