/* Reset and base */
* {
  box-sizing: border-box;
}
body {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  padding: 0;
}


/* Header & Navbar */
header {
  background: #1E73BE;
  padding: 0px 20px;
  color: #fff;
}
.logo img {
  height: 50px; /* ya jitna height chahiye */
  width: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}
.menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}
.menu li a:hover {
  color: #1E73BE;
}
.menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #1E73BE;
  bottom: -4px;
  left: 0;
  transition: width 0.3s ease;
}
.menu li a:hover::after {
  width: 100%;
}
/* Navbar Base */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  position: relative;
}

.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.menu li a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
}

/* Responsive: Mobile */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: #004080;
    width: 100%;
    display: none;
    padding: 15px 0;
    z-index: 999;
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .menu li {
    text-align: center;
    padding: 10px 0;
  }
}


/* Banner Slider */
.banner-slider {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}
.slides-wrapper {
  display: flex;
  width: 300%;
  transition: transform 0.7s ease-in-out;
  position: relative;
  z-index: 1;
}
.slide {
  flex: 1 0 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  padding: 0 20px;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}


.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin-top: 5px;
}

/* Tabs */
.tabs {
  display: flex;
  justify-content: center;
  margin: 30px 10px 10px;
  gap: 10px;
  flex-wrap: wrap;
}
.tab {
  background: #e0e8ff;
  padding: 12px 25px;
  cursor: pointer;
  margin: 0 5px 5px 5px;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
  font-weight: 600;
  user-select: none;
}
.tab a {
  color: inherit;
  text-decoration: none;
  display: block;
}
.tab:hover {
  background: #b0c4ff;
}
.tab.active {
  background: #1E73BE;
  color: #fff;
}

/* Tab Content */
.tab-content {
  display: none;
  padding: 0 15px 30px;
}
.tab-content.active {
  display: block;
}
.university-blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.university-block {
  flex: 1 1 calc(25% - 20px);
  background: #f9faff;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.university-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}
.university-block img {
  max-width: 100%;
  /* max-height: 100px; */
  object-fit: contain;
  margin-bottom: 10px;
}

/* Latest News */
.news-section {
  background: #f0f4ff;
  padding: 20px 10px;
  margin: 20px 10px;
  border-radius: 8px;
  box-shadow: inset 0 0 10px #d1d9ff;
}
.news-section h3 {
  margin-bottom: 10px;
  color: #004080;
  font-weight: 700;
  text-align: center;
}
.news-marquee {
  font-size: 1.2rem;
  color: #1a73e8;
  font-weight: 600;
}

/* Footer */
footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 15px 10px;
  font-size: 1rem;
}

/* Popup */
#popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#popup iframe {
  width: 80%;
  height: 80%;
  border: none;
  border-radius: 10px;
}
#popup .close-btn {
   position: absolute;
  top: 10%;
  right: 10%;
  transform: translate(50%, -50%);
  background: #1E73BE;
  color: white;
  font-weight: bold;
  font-size: 22px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
  line-height: 35px;
  user-select: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
}
#popup .close-btn:hover {
  background: #1a73e8;
  color: white;
}

/* Responsive */
@media (max-width: 992px) {
  .university-block {
    flex: 1 1 calc(50% - 20px);
  }
  .banner-slider {
    height: 220px;
  }
  .slide {
    font-size: 2rem;
  }
}
@media (max-width: 600px) {
  .navbar {
    flex-wrap: wrap;
  }
  .menu {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .menu li {
    flex: 1 1 100%;
    /* text-align: right; */
  }
  .university-block {
    flex: 1 1 100%;
  }
  .banner-slider {
    height: 180px;
  }
  .slide {
    font-size: 1.5rem;
  }
  .tabs {
    flex-direction: column;
    align-items: center;
  }
  .tab {
    width: 90%;
    text-align: center;
  }
  .news-marquee {
    font-size: 1rem;
  }
}





/* University Tables */
.university-tables {
  padding: 20px;
}
.university-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: #f9faff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}
.university-table th, .university-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: center;
}
.university-table th {
  background: #004080;
  color: #fff;
}








.testimonial-slider {
      position: relative;
      max-width: 100%;
      margin: 20px auto;
      padding: 20px;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .testimonial-container {
      display: flex;
      transition: transform 0.5s ease-in-out;
      gap: 15px;
    }

    .testimonial-card {
      min-width: 300px;
      max-width: 350px;
      flex: 0 0 auto;
      background: #e0e8ff;
      padding: 15px;
      border-radius: 10px;
      text-align: center;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
    }

    .testimonial-card img {
      width: 80px;
      height: 80px;
      border-radius: 50%;
      margin-bottom: 10px;
      transition: transform 0.3s;
      object-fit: cover;
      border: 4px solid #fff;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    }

    .testimonial-card p { font-size: 1rem; margin: 10px 0; }
    .testimonial-card .author { font-weight: 700; color: #004080; }

    .slider-controls {
      display: flex;
      justify-content: center;
      margin-top: 10px;
      margin-bottom: 10px;
    }

    .slider-controls button {
      background: #1E73BE;
      color: #fff;
      border: none;
      padding: 8px 12px;
      margin: 0 5px;
      cursor: pointer;
      border-radius: 5px;
      transition: background 0.3s;
    }

    .slider-controls button:hover { background: #1E73BE; }

    @media (max-width: 768px) {
      .testimonial-card { min-width: 80%; }
    }