<style>
/* Top Bar */
.top-bar {
  background-color: #472a2a;
  color: white;
  padding: 5px 0;
  font-size: 14px;
}
.top-bar {
  background-color: #472a2a;
  color: white;
  padding: 5px 0;
  font-size: 14px;
}
.top-bar .container {
  display: flex;
  justify-content: center;
}
 
/* Header */
.header-container {
  display: flex;
  align-items: center;
  padding: 10px 0;
  justify-content: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.institute-name h1 {
  font-size: 3rem;
  margin: 0;
}

.sub-heading {
  font-size: 14px;
  margin-top: 4px;
  color: #32363b;
}

/* Nav */
nav {
  background-color: #472a2a;
  color: white;
  padding: 10px 30px;
  position: relative; /* Add this */
}


nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
   transition: all 0.3s ease-in-out;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  margin-left: auto;
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    display: none;
    background-color: #472a2a;
    position: absolute;
    right: 0;
    top: 50px;
    width: 200px;
    padding: 10px;
    z-index:11;
  }

  nav ul.show {
    display: flex;
  }

  #menu-toggle {
    display: block;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .institute-name h1 {
    font-size: 18px;
  }

  .sub-heading {
    font-size: 12px;
  }
}

  
.hero-slider {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.slider-container {
  position: relative;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-text {
  position: absolute;
  bottom: 30px;
  left: 30px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 15px 25px;
  border-radius: 5px;
}

.hero-text h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 16px;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 28px;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 2;
}

.nav.prev {
  left: 10px;
}

.nav.next {
  right: 10px;
}

@media (max-width: 768px) {
  .hero-text {
    left: 10px;
    right: 10px;
    bottom: 20px;
    padding: 10px;
  }

  .hero-text h2 {
    font-size: 20px;
  }

  .hero-text p {
    font-size: 14px;
  }
}
</style>