* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f9ff, #e3efff);
  color: #304bc0;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

header {
  width: 100%;
  background: linear-gradient(135deg, #ffffff, #dce4f5);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar {
  max-width: 1300px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 58px;
  height: 58px;
  
  color: #fff;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: bold;
 
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.college-title h1 {
  font-size: 24px;
  color: #04016b;
  line-height: 1.2;
}

.college-title p {
  font-size: 13px;
  color: #555;
  margin-top: 4px;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #2402a0;
  background: none;
  border: none;
}

nav {
  margin-left: auto;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar > li {
  position: relative;
}

.navbar > li > a,
.navbar > li > button {
  display: block;
  padding: 12px 16px;
  border: none;
  background: none;
  font-size: 15px;
  color: #222;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.navbar > li > a:hover,
.navbar > li > button:hover {
  background: #2402a0;
  color: #fff;
}

.dropdown-menu,
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
  display: none;
  padding: 8px 0;
}

.dropdown-menu li,
.submenu li {
  position: relative;
}

.dropdown-menu li a,
.submenu li a,
.dropdown-menu li button {
  width: 100%;
  text-align: left;
  padding: 12px 18px;
  display: block;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: 0.3s;
}

.dropdown-menu li a:hover,
.submenu li a:hover,
.dropdown-menu li button:hover {
  background: #c5dcf2;
  color: #2402a0;
}

.has-submenu .submenu {
  top: 0;
  left: 100%;
}

.navbar li:hover > .dropdown-menu,
.dropdown-menu li:hover > .submenu {
  display: block;
}

.carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 75vh;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  padding: 38px;
  max-width: 600px;
  border-radius: 14px;
}

.slide-content h2 {
  font-size: 38px;
  margin-bottom: 12px;
}

.slide-content p {
  font-size: 16px;
  line-height: 1.6;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.75);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  z-index: 10;
  transition: 0.3s;
}

.carousel-btn:hover {
  background: #2402a0;
  color: #fff;
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.dots {
  position: absolute;
  bottom: 18px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #2402a0;
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .slide {
    height: 60vh;
  }

  .slide-content h2 {
    font-size: 30px;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    width: 100%;
  }

  .navbar {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #fff;
    padding-top: 10px;
  }

  .navbar.active {
    display: flex;
  }

  .navbar > li {
    width: 100%;
  }

  .navbar > li > a,
  .navbar > li > button {
    width: 100%;
    text-align: left;
    border-radius: 0;
  }

  .dropdown-menu,
  .submenu {
    position: static;
    display: none;
    box-shadow: none;
    border-radius: 0;
    padding-left: 16px;
    background: #f7fff8;
  }

  .navbar li.open > .dropdown-menu,
  .dropdown-menu li.open > .submenu {
    display: block;
  }

  .has-submenu .submenu {
    left: 0;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 12px 15px;
  }

  .college-title h1 {
    font-size: 20px;
  }

  .college-title p {
    font-size: 12px;
  }
.slide {
    height: 48vh;
  }

  
  .slide-content h2 {
    font-size: 16px; /* smaller heading */
    margin-bottom: 6px;
  }

   .slide-content p {
    font-size: 12px; /* smaller paragraph */
    line-height: 1.4;
  }
  

  .slide-content {
    left: 5%;
    right: 5%;
    max-width: 70%;
    padding: 12px;
    margin-top: 80px;
    background: rgba(0, 0, 0, 0.35); /* lighter overlay */
  }

  
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .college-title h1 {
    font-size: 17px;
  }

  .slide {
    height: 38vh;
  }

  .slide-content {
    padding: 12px;
    background: rgba(0, 0, 0, 0.35); /* lighter overlay */
  }

  .slide-content h2 {
    font-size: 16px; /* smaller heading */
    margin-bottom: 6px;
  }

   .slide-content p {
    font-size: 12px; /* smaller paragraph */
    line-height: 1.4;
  }
}

/* Welcome Section */
.welcome {
  padding: 70px 20px;
    background: linear-gradient(135deg, #f5f9ff, #e3efff);

}

.welcome-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.welcome-text {
  flex: 1;
}

.welcome-badge {
  display: inline-block;
  background: #2402a0;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 15px;
}

.welcome h2 {
  font-size: 34px;
  color: #2402a0;
  margin-bottom: 15px;
}

.welcome .lead {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  margin-bottom: 15px;
}

.welcome p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 20px;
}

.welcome-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.btn.primary {
  background: #2402a0;
  color: #fff;
}

.btn.primary:hover {
  background: #2402a0;
}

.btn.secondary {
  border: 2px solid #2402a0;
  color: #2402a0;
}

.btn.secondary:hover {
  background: #2402a0;
  color: #fff;
}

/* Image */
.welcome-image {
  flex: 1;
  text-align: center;
}

.welcome-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .welcome-container {
    flex-direction: column;
    text-align: center;
  }

  .welcome h2 {
    font-size: 26px;
  }

  .welcome .lead {
    font-size: 16px;
  }

  .welcome-buttons {
    justify-content: center;
  }
}

/* vision and mission */

.vision-mission {
  padding: 80px 20px;
   background: #ffffff;
}

.vm-container {
  max-width: 1200px;
  margin: auto;
}

.vm-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

.vm-badge {
  display: inline-block;
  background: #011b90;
  color: #efebff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.vm-heading h2 {
  font-size: 36px;
  color: #2402a0;
  margin-bottom: 14px;
}

.vm-heading p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.vm-card {
  background: #fff;
  padding: 35px 28px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.3s ease;
  border-top: 4px solid #2402a0;
}

.vm-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.vm-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #bdd6f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.vm-card h3 {
  font-size: 24px;
  color: #2402a0;
  margin-bottom: 12px;
}

.vm-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 992px) {
  .vm-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .vision-mission {
    padding: 60px 20px;
  }

  .vm-heading h2 {
    font-size: 28px;
  }

  .vm-heading p {
    font-size: 15px;
  }

  .vm-grid {
    grid-template-columns: 1fr;
  }

  .vm-card {
    padding: 28px 22px;
  }
}

/* Faculty Section */
.faculty {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f9ff, #e3efff);
}

.faculty-container {
  max-width: 1200px;
  margin: auto;
}

.faculty-heading {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
}

.faculty-badge {
  display: inline-block;
  background: #2402a0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.faculty-heading h2 {
  font-size: 36px;
  color: #2402a0;
  margin-bottom: 14px;
}

.faculty-heading p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.faculty-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
}

.faculty-slider {
  overflow: hidden;
  width: 100%;
}

.faculty-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

.faculty-card {
  min-width: calc(100% / 3 - 20px);
  margin: 0 10px;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
}

.faculty-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 18px;
}

.faculty-card h3 {
  font-size: 22px;
  color: #2402a0;
  margin-bottom: 8px;
}

.faculty-role {
  font-size: 14px;
  color: #666;
  font-weight: 600;
  margin-bottom: 12px;
}

.faculty-card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 18px;
}

.faculty-view-btn {
  display: inline-block;
  background: #2402a0;
  color: #fff;
  padding: 11px 20px;
  border-radius: 8px;
  transition: 0.3s;
}

.faculty-view-btn:hover {
  background: #13006b;
}

.faculty-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: 0.3s;
  flex-shrink: 0;
}

.faculty-btn:hover {
  background: #2402a0;
  color: #fff;
}

@media (max-width: 992px) {
  .faculty-card {
    min-width: calc(100% / 2 - 20px);
  }
}

@media (max-width: 768px) {
  .faculty {
    padding: 60px 20px;
  }

  .faculty-heading h2 {
    font-size: 28px;
  }

  .faculty-heading p {
    font-size: 15px;
  }

  .faculty-card {
    min-width: calc(100% - 20px);
  }

  .faculty-card img {
    height: 240px;
  }

  .faculty-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.faculty-action {
  text-align: center;
  margin-top: 40px;
}

.faculty-main-btn {
  display: inline-block;
  background: #2402a0;
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

.faculty-main-btn:hover {
  background: #13006b;
  transform: translateY(-2px);
}

/* Testimonials */
.testimonials {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f5f9ff, #e3efff);
}

.testimonials-container {
  max-width: 1200px;
  margin: auto;
}

.testimonials-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.testimonials-badge {
  display: inline-block;
  background: #2402a0;
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}

.testimonials-heading h2 {
  font-size: 36px;
  color: #2402a0;
  margin-bottom: 14px;
}

.testimonials-heading p {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  padding: 30px 24px;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
}

.testimonial-text {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 22px;
  font-style: italic;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-profile img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-profile h3 {
  font-size: 18px;
  color: #2402a0;
  margin-bottom: 4px;
}

.testimonial-profile span {
  font-size: 14px;
  color: #666;
}




@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 60px 20px;
  }

  .testimonials-heading h2 {
    font-size: 28px;
  }

  .testimonials-heading p {
    font-size: 15px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.footer {
  background: #0a0a2a;
  color: #fff;
  padding: 50px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-col p {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  transition: 0.3s;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #fff;
  background: #2402a0;
  padding: 10px;
  border-radius: 50%;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #fff;
  color: #2402a0;
}

/* Map */
.footer-col.map iframe {
  width: 100%;
  height: 150px;
  border: 0;
  border-radius: 10px;
}

/* Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #444;
  font-size: 14px;
  color: #aaa;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-logo h3 {
  font-size: 16px;
  margin: 0;
  color: #fff;
}

.footer-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;

  /* Make dark logo visible on dark background */
  filter: brightness(0) invert(1);
}