*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}

body{
  background:#f5f7fb;
}

.container{
  width:90%;
  margin:auto;
}

/* NAVBAR */
.header {
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  border-bottom: 2px solid #e3ecff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Container */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

/* Logo */
.logo img {
  height: 65px;
}

/* Navigation Links */
nav a {
  position: relative;
  color: #1d3c6a; /* blue tone from logo */
  margin: 0 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

/* Hover */
nav a:hover {
  color: #e53935; /* red tone from logo */
}

/* Underline Animation */
nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: linear-gradient(90deg, #ffb300, #e53935); /* yellow + red */
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* Active Link */
nav a.active {
  color: #e53935;
  font-weight: 600;
}

/* Button */
.btn.apply {
  background: linear-gradient(135deg, #ffb300, #ff7043);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(255, 112, 67, 0.3);
}

.btn.apply:hover {
  transform: translateY(-2px);
}

/* HERO */
.hero{
  padding:60px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:20px;
}

.hero img{
  width:100%;
  border-radius:10px;
}

/* STATS */
.stats-box{
  display:flex;
  justify-content:space-around;
  background:white;
  padding:20px;
  border-radius:10px;
  margin-top:20px;
}

/* ABOUT */
.about{
  display:flex;
  gap:20px;
  padding:40px 0;
}

.about img{
  width:100%;
  border-radius:10px;
}

/* WHY */
.why{
  padding:40px 0;
  text-align:center;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.card{
  background:white;
  padding:20px;
  border-radius:10px;
}

/* CONTACT */
.contact{
  padding:40px 0;
}

.contact input,
.contact textarea{
  width:100%;
  margin:10px 0;
  padding:10px;
}

/* FOOTER */
footer{
  background:#11111;
  color:white;
  text-align:center;
  padding:20px;
}

/* RESPONSIVE */

/* Tablet */
@media(max-width:992px){
  .hero-grid,
  .about{
    grid-template-columns:1fr;
    display:block;
  }

  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* Mobile */
@media(max-width:768px){

  nav{
    display:none;
    flex-direction:column;
    background:#11111;
    position:absolute;
    top:60px;
    right:0;
    width:200px;
  }

  nav a{
    padding:10px;
    display:block;
  }

  nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .why-grid{
    grid-template-columns:1fr;
  }

  .stats-box{
    flex-direction:column;
    gap:10px;
  }
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins', sans-serif;
}

body{
  background:#f5f7fb;
}

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

/* NAVBAR */
header{
  background:#11111;
  color:white;
  position:sticky;
  top:0;
  z-index:1000;
}

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

nav{
  display:flex;
}

nav a {
  position: relative;
  color: #1a2a4f;
  margin: 0 12px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

/* Hover Effect */
nav a:hover {
  color: #ff3d00;
}

/* Underline Animation */
nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background: linear-gradient(90deg, #ff9800, #ff3d00);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

/* Active Link */
nav a.active {
  color: #ff3d00;
  font-weight: 600;
}

.menu-toggle{
  display:none;
  font-size:26px;
  cursor:pointer;
}

.btn{
  padding:8px 18px;
  border:none;
  border-radius:20px;
  cursor:pointer;
}

.apply{background:#ff9800;color:white;}
.green{background:#28a745;color:white;}
.yellow{background:#ff9800;color:white;}

/* HERO */
.hero{
  padding:60px 0;
}

.hero-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
  align-items:center;
}

.hero h1{
  font-size:42px;
  color:#000;
}

.hero p{
  margin:15px 0;
}

.hero img{
  width:100%;
  border-radius:10px;
}

/* STATS */
.stats-box{
  display:flex;
  justify-content:space-between;
  background:white;
  padding:20px;
  border-radius:10px;
  margin-top:20px;
  box-shadow:0 5px 10px rgba(0,0,0,0.1);
}

.stats-box div{
  text-align:center;
}

/* ABOUT */
.about{
  display:flex;
  gap:30px;
  padding:50px 0;
  align-items:center;
}

.about img{
  width:100%;
  max-width:450px;
  border-radius:10px;
}

/* WHY */
.why{
  padding:50px 0;
  text-align:center;
}

.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
  margin-top:20px;
}

.card{
  background:white;
  padding:20px;
  border-radius:10px;
  transition:0.3s;
}

.card:hover{
  transform:translateY(-8px);
  box-shadow:0 10px 20px rgba(0,0,0,0.15);
}

/* CONTACT */
.contact{
  padding:50px 0;
}

.contact input,
.contact textarea{
  width:100%;
  margin:10px 0;
  padding:12px;
  border:1px solid #ccc;
  border-radius:5px;
}

/* FOOTER */
footer{
  background:#11111;
  color:white;
  text-align:center;
  padding:20px;
}

/* ================= RESPONSIVE ================= */

/* Tablet */
@media(max-width:992px){

  .hero-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .about{
    flex-direction:column;
    text-align:center;
  }

  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .stats-box{
    flex-wrap:wrap;
    gap:15px;
  }
}

/* Mobile */
@media(max-width:768px){

  nav{
    position:absolute;
    top:60px;
    right:0;
    background:#11111;
    flex-direction:column;
    width:200px;
    display:none;
  }

  nav a{
    padding:10px;
    border-bottom:1px solid rgba(255,255,255,0.2);
  }

  nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .why-grid{
    grid-template-columns:1fr;
  }

  .stats-box{
    flex-direction:column;
    gap:10px;
  }

  .hero h1{
    font-size:30px;
  }
}

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

.logo img {
  height: 40px;
  width: auto;
}

.hero {

  padding: 80px 0;
  color: #fff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  animation: slideInLeft 1s ease;
}

.highlight {
  color: #4c025f;
}

.hero-content p {
  margin: 20px 0;
  font-size: 18px;
  opacity: 0.9;
  color: #000
  ;
  animation: fadeIn 2s ease;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.green {
  background: #22c55e;
  color: #fff;
}

.yellow {
  background: #facc15;
  color: #000;
}

.btn:hover {
  transform: scale(1.1);
}

/* Image Animation */
.hero-img img {
  width: 100%;
  border-radius: 20px;
  animation: float 4s ease-in-out infinite;
}

/* Animations */
@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes float {
  0%,100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Responsive */
@media(max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-buttons {
    justify-content: center;
  }
}


.about {
  background: #f8fafc;
}

/* Image Styling */
.about-img img {
  width: 100%;
  border-radius: 20px;
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  animation: zoomIn 1.5s ease;
}

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

/* Content */
.about-content h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  animation: slideRight 1s ease;
}

.tagline {
  color: #4c025f;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-content p {
  color: #334155;
  margin: 10px 0;
  line-height: 1.6;
}

/* Features */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0;
  gap: 10px;
}

.about-features div {
  background: #e2e8f0;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
}

.about-features div:hover {
  background: #4c025f;
  color: #fff;
  transform: translateX(5px);
}

/* Button */
.about-btn {
  background: #0f172a;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  transition: 0.3s;
}

.about-btn:hover {
  background: #4c025f;
}

/* Animations */
@keyframes slideRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Responsive */
@media(max-width: 768px) {
  .about-content h2 {
    font-size: 28px;
  }
}

/* Default Desktop */
nav {
  display: flex;
  gap: 25px;
}

/* Mobile */
.menu-toggle {
  display: none;
}

/* Responsive */
@media(max-width: 768px) {

  .menu-toggle {
    display: block;
    font-size: 26px;
    color: #fff;
    cursor: pointer;
  }

  nav {
    position: absolute;
    top: 70px;
    right: -100%;
    width: 220px;
    background: #0f172a;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
    transition: 0.4s ease;
  }

  nav a {
    padding: 10px 0;
  }

  /* Show Menu */
  nav.active {
    right: 20px;
  }

  .apply {
    display: none;
  }
}

.why {
  background: #f1f5f9;
}

.subtitle {
  color: #64748b;
}

/* Image */
.why-img img {
  width: 100%;
  border-radius: 20px;
  transition: 0.4s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

/* Grid */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Cards */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  transition: 0.3s;
  border-left: 4px solid #4c025f;
}

.card h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.card p {
  font-size: 14px;
  color: #555;
}

/* Hover effect */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  background: #4c025f;
  color: #fff;
}

.card:hover p {
  color: #fff;
}

/* Responsive */
@media(max-width: 768px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

.cta {
  background: url('https://images.unsplash.com/photo-1596495577886-d920f1fb7238') center/cover no-repeat;
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
}

/* Dark overlay */
.cta-overlay {
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Content */
.cta-content {
  color: #fff;
  animation: fadeUp 1.5s ease;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
}

.cta-content p {
  margin: 15px 0;
  font-size: 16px;
}

/* Button */
.cta-btn {
  background: #4c025f;
  color: #fff;
  padding: 10px 25px;
  border-radius: 25px;
  border: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #0ea5e9;
  transform: scale(1.1);
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile */
@media(max-width: 768px) {
  .cta {
    height: 250px;
  }

  .cta-content h2 {
    font-size: 24px;
  }
}

.footer {
  background: #f8fafc;
  padding: 60px 0;
  border-top: 5px solid #1e3a8a;
}

/* Logo */
.footer-logo {
  height: 60px;
  margin-bottom: 15px;
}

/* Text */
.footer p {
  color: #334155;
  font-size: 14px;
}

/* Headings */
.footer h4 {
  color: #1e3a8a;
  margin-bottom: 15px;
}

/* Links */
.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul li a {
  text-decoration: none;
  color: #334155;
  transition: 0.3s;
}

.footer ul li a:hover {
  color: #1e3a8a;
  padding-left: 5px;
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  background: #1e3a8a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 5px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #4c025f;
}

/* Form */
.footer form {
  display: flex;
  flex-direction: column;
}

.footer input {
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 25px;
  border: 1px solid #ccc;
  outline: none;
}

.footer button {
  background: linear-gradient(45deg, #facc15, #f59e0b);
  border: none;
  padding: 10px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.footer button:hover {
  transform: scale(1.05);
}

/* Responsive */
@media(max-width: 768px) {
  .footer {
    text-align: center;
  }

  .social-icons {
    margin-top: 10px;
  }
}


.gallery {
  background: #f1f5f9;
}

/* Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* Item */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
}

/* Overlay */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  color: #fff;
  padding: 10px;
  text-align: center;
  transform: translateY(100%);
  transition: 0.4s;
}

/* Hover Effects */
.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .overlay {
  transform: translateY(0);
}

/* Responsive */
@media(max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.notice {
  background: #f1f5f9;
}

/* Grid */
.notice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card */
.notice-card {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: 0.3s;
  overflow: hidden;
}

.notice-card:hover {
  transform: translateY(-10px);
}

/* Badge */
.badge {
  position: absolute;
  top: 15px;
  right: -40px;
  transform: rotate(45deg);
  padding: 5px 40px;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}

/* Badge Colors */
.badge.new {
  background: #22c55e;
}

.badge.event {
  background: #3b82f6;
}

.badge.important {
  background: #ef4444;
}

.badge.update {
  background: #f59e0b;
}

/* Text */
.notice-card h4 {
  margin-top: 20px;
  font-size: 18px;
  color: #0f172a;
}

.notice-card p {
  font-size: 14px;
  color: #475569;
  margin: 10px 0;
}

.date {
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media(max-width: 992px) {
  .notice-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 576px) {
  .notice-grid {
    grid-template-columns: 1fr;
  }
}


body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Container */
.container {
  width: 90%;
  margin: auto;
}

/* Flex layout */
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 60px;
}

/* Menu */
.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #1d3c6a;
  font-weight: 500;
  transition: 0.3s;
}

/* Active menu */
.nav-menu a.active {
  color: red;
}

/* Hover */
.nav-menu a:hover {
  color: red;
}

/* Button */
.nav-btn a {
  background: linear-gradient(135deg, #ffd54f, #ffb300);
  padding: 12px 25px;
  border-radius: 30px;
  color: #6a1b9a;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.nav-btn a:hover {
  transform: translateY(-2px);
}


/* slider start */
.school-carousel {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.carousel-container {
  position: relative;
  height: 500px; /* FIX */
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

/* Overlay */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 60px;
  color: #fff;
}

.overlay h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 18px;
  margin-bottom: 20px;
}

.overlay button {
  width: 150px;
  padding: 10px;
  background: #ffcc00;
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
}

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

/* Dots */
.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.dots span {
  height: 10px;
  width: 10px;
  background: white;
  margin: 5px;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
}

.dots .active {
  opacity: 1;
  background: #ffcc00;
}

/* end slider */


/* leaders */
.leaders {
  padding: 60px 20px;
  background: #f9f9f9;
}

.leaders-container {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.leader-slide {
  display: none;
  align-items: center;
  gap: 40px;
}

.leader-slide.active {
  display: flex;
}

/* Image */
.leader-img img {
  width: 350px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Content */
.leader-content {
  max-width: 500px;
}

.leader-content h2 {
  color: #0a3d62;
  margin-bottom: 10px;
}

.leader-content h3 {
  color: #ff9800;
  margin-bottom: 15px;
}

.leader-content p {
  line-height: 1.6;
}

/* Animation */
.leader-slide {
  opacity: 0;
  transform: translateX(50px);
  transition: 0.6s ease;
}

.leader-slide.active {
  opacity: 1;
  transform: translateX(0);
}

/* end leaders */

/* Hero Section */
.about-hero {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}

.about-hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(70%);
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: #fff;
}

.hero-overlay h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 20px;
}

/* Mission Section */
.about-mission {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.about-mission h2 {
  color: #0a3d62;
  margin-bottom: 20px;
}

.about-mission p {
  line-height: 1.6;
  color: #333;
  margin-bottom: 15px;
}

/* Leaders Section (same as previous) */
.leaders {
  padding: 60px 20px;
  background: #f9f9f9;
}

.leaders-container {
  position: relative;
  max-width: 1100px;
  margin: auto;
  overflow: hidden;
}

.leader-slide {
  display: none;
  align-items: center;
  gap: 40px;
  transition: 0.6s ease;
}

.leader-slide.active {
  display: flex;
}

.leader-img img {
  width: 350px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.leader-content h2 { color: #0a3d62; margin-bottom: 10px; }
.leader-content h3 { color: #ff9800; margin-bottom: 15px; }
.leader-content p { line-height: 1.6; }


/* academic  */
/* Hero */
.academic-hero {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}
.academic-hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(70%);
}
.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: #fff;
}
.hero-overlay h1 { font-size: 42px; margin-bottom: 10px; }
.hero-overlay p { font-size: 20px; }

/* Departments Grid */
.academic-departments .departments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.department {
  flex: 1 1 300px;
  text-align: center;
}
.department img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.department h3 { color: #0a3d62; margin: 10px 0; }

/* Labs Grid */
.labs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.lab {
  flex: 1 1 300px;
  text-align: center;
}
.lab img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.lab h3 { color: #0a3d62; margin: 10px 0; }

/* Activities Grid */
.activities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}
.activity {
  flex: 1 1 300px;
  text-align: center;
}
.activity img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}
.activity h3 { color: #0a3d62; margin: 10px 0; }

/* Responsive */
@media screen and (max-width: 768px) {
  .departments-grid, .labs-grid, .activities-grid {
    flex-direction: column;
    align-items: center;
  }
}

/* end academic */

/* Hero Section */
.admission-hero {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}
.admission-hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(70%);
}
.admission-hero .hero-overlay {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: #fff;
}
.admission-hero h1 { font-size: 42px; margin-bottom: 10px; }
.admission-hero p { font-size: 20px; }

/* Admission Info */
.admission-info {
  padding: 50px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}
.admission-info h2 { color: #0a3d62; margin-bottom: 20px; }
.admission-info ul { list-style: disc; padding-left: 20px; color: #333; }
.admission-info li { margin-bottom: 10px; }

/* Admission Form */
.admission-form-section {
  padding: 60px 20px;
  background: #f9f9f9;
}
.admission-form-section h2 { text-align: center; color: #0a3d62; margin-bottom: 30px; }

.admission-form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.admission-form .form-group {
  display: flex;
  flex-direction: column;
}
.admission-form label { margin-bottom: 5px; font-weight: bold; }
.admission-form input, 
.admission-form select, 
.admission-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.apply-btn {
  padding: 12px 20px;
  border: none;
  background: #0a3d62;
  color: #fff;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.apply-btn:hover { background: #ff9800; color: #000; }

/* Responsive */
@media screen and (max-width: 768px) {
  .admission-hero .hero-overlay { left: 20px; }
}


/* contact pafe css */
/* Hero Section */
.contact-hero {
  position: relative;
  max-height: 500px;
  overflow: hidden;
}
.contact-hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(70%);
}
.contact-hero .hero-overlay {
  position: absolute;
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
  color: #fff;
}
.contact-hero h1 { font-size: 42px; margin-bottom: 10px; }
.contact-hero p { font-size: 20px; }

/* Contact Info */
.contact-info {
  padding: 60px 20px;
  text-align: center;
}
.contact-info h2 { color: #0a3d62; margin-bottom: 30px; }
.info-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.info-box {
  flex: 1 1 250px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.info-box h3 { color: #ff9800; margin-bottom: 10px; }
.info-box p { color: #333; }

/* Contact Form */
.contact-form-section {
  padding: 60px 20px;
  background: #f1f1f1;
  max-width: 700px;
  margin: auto;
}
.contact-form-section h2 { text-align: center; color: #0a3d62; margin-bottom: 30px; }
.contact-form .form-group { display: flex; flex-direction: column; margin-bottom: 15px; }
.contact-form label { margin-bottom: 5px; font-weight: bold; }
.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}
.submit-btn {
  padding: 12px 20px;
  border: none;
  background: #0a3d62;
  color: #fff;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.submit-btn:hover { background: #ff9800; color: #000; }

/* Map Section */
.contact-map iframe { width: 100%; border-radius: 12px; margin-top: 30px; }

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-hero .hero-overlay { left: 20px; }
  .info-grid { flex-direction: column; align-items: center; }
}

/* end contact */


/* Navbar Layout */
#menu {
  display: flex;
  gap: 20px;
  align-items: center;
}

#menu a {
  text-decoration: none;
  color: #333;
  padding: 10px;
  font-weight: 500;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown > a {
  cursor: pointer;
}

/* Dropdown Box */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  z-index: 999;
}

/* Dropdown Links */
.dropdown-content a {
  display: block;
  padding: 12px 15px;
  color: #333;
  font-size: 14px;
  transition: 0.3s;
}

.dropdown-content a:hover {
  background: #f5f5f5;
  padding-left: 20px;
}

/* Show on Hover (Desktop) */
.dropdown:hover .dropdown-content {
  display: block;
}

/* Active Link */
#menu a.active {
  color: green;
  border-bottom: 2px solid green;
}

/* ================= MOBILE ================= */

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Mobile View */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  #menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px;
  }

  #menu.active {
    display: flex;
  }

  /* Dropdown mobile */
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.active .dropdown-content {
    display: block;
  }
}