 
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Inter', sans-serif;
      background-color: #f8fafd;
      color: #1e293b;
      line-height: 1.5;
    }

    .container {
      width: 90%;
      max-width: 1280px;
      margin: 0 auto;
    }

    /* color palette */
    :root {
      --primary: #0f3b5e;
      --primary-light: #1e4f73;
      --accent: #f5a623;
      --accent-light: #ffb84d;
      --gray-bg: #f1f5f9;
      --white: #ffffff;
      --text-dark: #0b2a41;
      --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.1);
      --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    }

    /* top bar */
    .top-bar {
      background-color: var(--primary);
      color: rgba(255,255,255,0.9);
      font-size: 0.9rem;
      padding: 8px 0;
      border-bottom: 2px solid var(--accent);
    }

    .top-bar .container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: center;
    }

    .top-contact a {
      color: white;
      text-decoration: none;
      margin-right: 24px;
    }

    .top-contact i {
      margin-right: 6px;
      color: var(--accent);
    }

    .social-links a {
      color: white;
      margin-left: 16px;
      transition: color 0.2s;
    }

    .social-links a:hover {
      color: var(--accent);
    }

    /* main header */
    .main-header {
      background: var(--white);
      padding: 16px 0;
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 0;
      z-index: 50;
    }

    .header-grid {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 20px;
    }

    .logo-wrapper {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .logo-icon {
      width: 56px;
      height: 56px;
      background: linear-gradient(145deg, var(--primary), #1c4b70);
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 28px;
      font-weight: 700;
      box-shadow: 0 8px 14px rgba(15,59,94,0.25);
    }

    .school-title h1 {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }

    .school-title .subhead {
      font-size: 0.95rem;
      font-weight: 500;
      color: #54728c;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .udise-chip {
      background: linear-gradient(135deg, #eef2f6, #e0e9f2);
      padding: 10px 22px;
      border-radius: 40px;
      font-weight: 600;
      font-size: 1rem;
      color: var(--primary);
      border: 1px solid rgba(15,59,94,0.15);
      box-shadow: var(--shadow-sm);
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .udise-chip i {
      color: var(--accent);
    }



/* Navigation */
.nav-bar {
  background-color: #f5a623;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
  position: relative;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  transition: all 0.3s ease;
}

.nav-links li a {
  display: inline-block;
  padding: 16px 20px;
  text-decoration: none;
  font-weight: 500;
  color: #1e293b;
  transition: 0.2s;
  border-bottom: 3px solid transparent;
}

.nav-links li a:hover {
  color: var(--primary);
  border-bottom-color: var(--accent);
  background-color: #f8fafc;
}

/* Dropdown styles */
.nav-links .dropdown {
  position: relative;
}

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 180px;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 100;
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  color: #1e293b;
  font-weight: 500;
  text-decoration: none;
}

.nav-links .dropdown-menu li a:hover {
  background: #f8fafc;
  color: var(--primary);
}

/* Desktop hover dropdown */
.nav-links .dropdown:hover > .dropdown-menu {
  display: block;
}

/* Mobile responsive */
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 24px;
  padding: 12px;
}

.nav-links.show {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: white;
  flex-direction: column;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  animation: slideDown 0.3s ease forwards;
}

.nav-links.show li {
  width: 100%;
}

.nav-links .dropdown.active > .dropdown-menu {
  display: block;
  position: relative;
  top: 0;
  box-shadow: none;
  border: none;
}

/* Portal button desktop only */
.desktop-only {
  display: inline-block;
}

/* Animations */
@keyframes slideDown {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media screen and (max-width: 800px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }

  .hamburger {
    display: block;
  }

  .nav-links li a {
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
  }

  .desktop-only {
    display: none;
  }

  .nav-links .dropdown-menu li a {
    padding-left: 30px;
  }
}
    /* hero slider */
    .hero-slider {
      position: relative;
      width: 100%;
      height: 460px;
      overflow: hidden;
    }

    .slides {
      display: flex;
      width: 100%;
      height: 100%;
      transition: transform 0.5s ease-in-out;
    }

    .slide {
      flex: 0 0 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .slide::before {
      content: '';
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0,0,0,0.3);
      z-index: 1;
    }

    .slide-content {
      position: relative;
      z-index: 2;
      color: white;
      text-align: center;
      max-width: 700px;
      padding: 20px;
    }

    .slide-content h2 {
      font-size: 3rem;
      font-weight: 700;
      margin-bottom: 16px;
      text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    }

    .slide-content p {
      font-size: 1.3rem;
      margin-bottom: 24px;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    .slide-content .btn-slider {
      background: var(--accent);
      color: var(--primary);
      font-weight: 700;
      padding: 12px 36px;
      border-radius: 50px;
      text-decoration: none;
      display: inline-block;
      box-shadow: 0 8px 18px rgba(245,166,35,0.4);
    }

    .slider-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      background: rgba(255,255,255,0.3);
      backdrop-filter: blur(4px);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.8rem;
      cursor: pointer;
      z-index: 10;
      transition: 0.2s;
    }

    .slider-arrow:hover {
      background: var(--accent);
      color: var(--primary);
    }

    .prev { left: 20px; }
    .next { right: 20px; }

    .slider-dots {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 12px;
      z-index: 10;
    }

    .dot {
      width: 14px;
      height: 14px;
      background: rgba(255,255,255,0.6);
      border-radius: 50%;
      cursor: pointer;
      transition: 0.2s;
    }

    .dot.active {
      background: var(--accent);
      transform: scale(1.3);
    }

    /* stats bar */
    .stats-bar {
      background: white;
      padding: 30px 0;
      box-shadow: var(--shadow-sm);
      margin-bottom: 40px;
    }

    .stats-grid {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-around;
      gap: 20px;
    }

    .stat-item {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .stat-item i {
      font-size: 2.2rem;
      color: var(--accent);
      background: #fef4e5;
      width: 60px;
      height: 60px;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .stat-item h3 {
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--primary);
      line-height: 1.2;
    }

    .stat-item span {
      color: #4b6584;
      font-weight: 500;
    }

    /* featured cards */
    .featured-section {
      padding: 20px 0 60px;
    }

    .section-title {
      font-size: 2.2rem;
      font-weight: 700;
      color: var(--primary);
      margin-bottom: 16px;
      text-align: center;
    }

    .section-sub {
      text-align: center;
      color: #4b6584;
      max-width: 700px;
      margin: 0 auto 48px;
      font-size: 1.1rem;
    }

    .card-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 30px;
    }

    .info-card {
      background: white;
      border-radius: 28px;
      padding: 32px 24px;
      box-shadow: var(--shadow-sm);
      transition: 0.25s ease;
      border: 1px solid #edf2f7;
    }

    .info-card:hover {
      transform: translateY(-8px);
      box-shadow: var(--shadow-md);
      border-color: var(--accent);
    }

    .info-card i {
      font-size: 2.5rem;
      color: var(--primary);
      background: #e9f2fa;
      width: 70px;
      height: 70px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 24px;
    }

    .info-card h3 {
      font-size: 1.5rem;
      margin-bottom: 12px;
      color: var(--primary);
    }

    .info-card p {
      color: #475569;
    }
    

    /* foundation banner */
    .foundation-banner {
      background: linear-gradient(120deg, #f5f9ff, #e9f0fa);
      border-radius: 48px;
      padding: 56px 48px;
      margin: 40px 0;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
    }

    .foundation-text h3 {
      font-size: 2rem;
      color: var(--primary);
      margin-bottom: 8px;
    }

    .foundation-text p {
      font-size: 1.2rem;
      color: #2d4a6e;
    }

    .foundation-badge {
      background: var(--primary);
      color: white;
      padding: 16px 32px;
      border-radius: 100px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: var(--shadow-md);
    }

.gallery-section {
  padding: 60px 0;
  text-align: center;
}

.gallery-section .gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-section .gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-section .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-section .gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-section .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  font-weight: 500;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-section .gallery-item:hover .overlay {
  opacity: 1;
}


/* Faculty Section */
.faculty-section {
  background: #f9f9f9;
}

.faculty-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.faculty-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.faculty-card:hover img {
  transform: scale(1.05);
}

.faculty-info {
  padding: 20px;
}

.faculty-info h5 {
  font-size: 1.2rem;
  color: #1e3a5f;
  font-weight: 600;
  margin-bottom: 5px;
}

.faculty-info p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.faculty-social a {
  color: #1e3a5f;
  margin: 0 5px;
  font-size: 1rem;
  transition: color 0.3s;
}

.faculty-social a:hover {
  color: #3a5f8f;
}

/* Swiper overrides */
.swiper {
  padding: 20px 0;
}
.swiper-button-next, .swiper-button-prev {
  color: #1e3a5f;
}

    /* contact & map */
    .contact-section {
      background: var(--gray-bg);
      padding: 70px 0;
    }

    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .contact-details {
      background: white;
      border-radius: 32px;
      padding: 40px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 20px;
      margin-bottom: 30px;
    }

    .contact-item .icon {
      background: var(--primary);
      color: white;
      width: 56px;
      height: 56px;
      border-radius: 18px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
    }

    .contact-item h4 {
      font-size: 1.2rem;
      margin-bottom: 4px;
      color: var(--primary);
    }

    .contact-item p, .contact-item a {
      color: #334e68;
      text-decoration: none;
    }

    .map-placeholder {
      background: #d1ddeb;
      border-radius: 32px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background-image: radial-gradient(circle at 20px 20px, #a0bbd4 2px, transparent 2px);
      background-size: 40px 40px;
      border: 3px dashed var(--primary);
      color: var(--primary);
      min-height: 320px;
    }

    .map-placeholder i {
      font-size: 4rem;
      background: white;
      padding: 20px;
      border-radius: 50%;
      box-shadow: var(--shadow-md);
      margin-bottom: 20px;
    }

    .footer {
      background: #0b2a41;
      color: #bdd3e8;
      padding: 48px 0 24px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer h5 {
      color: white;
      font-size: 1.2rem;
      margin-bottom: 20px;
    }

    .footer a {
      color: #bdd3e8;
      text-decoration: none;
      display: block;
      margin-bottom: 10px;
    }

    .footer a:hover {
      color: var(--accent);
    }

    .copyright {
      text-align: center;
      border-top: 1px solid #1e4b6e;
      padding-top: 24px;
      font-size: 0.9rem;
    }

    @media (max-width: 800px) {
      .hero-slider { height: 350px; }
      .slide-content h2 { font-size: 2rem; }
      .slide-content p { font-size: 1rem; }
      .contact-grid { grid-template-columns: 1fr; }
      .foundation-banner { flex-direction: column; text-align: center; gap: 25px; }
      .stats-grid { justify-content: center; }
      .top-bar .container { flex-direction: column; gap: 5px; }
    }
  