
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


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

body {
  background-color: #f8f8f8;
  color: #333;
  line-height: 1.6;
}
header {
  /* background-color: white; */
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
  position: relative;
  display: block;
  height: auto;
  overflow: visible;
}

.top-bar {

  font-size: 14px;
  background-color: #a80406;
  color: white;
  height: 50px;
  
}

.eamcet-code{
  font-weight: 500;
}

.admissions-header{
  background-color: white;
  color: #a80406;
  padding: 5px 15px;
  border-radius: 50px;
}

.admissions-header a{
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  color: #a80406;
}

.admissions-header:hover{
  background-color: #a80406;
  color: white;
  border: 2px solid white;
  cursor: pointer;
}

.admissions-header:hover a{
  color: white;
}
.top-bar-content{
  height: 100%;
  display: flex;
  justify-content: space-evenly;
  color: white;
  align-items: center;
}
.top-links ul {
  display: flex;
  justify-content: space-between;
  list-style: none;
}

.top-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding-right: 30px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.main-header {
  display: flex;
  align-items: center;
  width: 100%;
  height: 70px;
  /* background-color: rgba(255,255,255,0.95); */
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: all 0.3s ease;
  position: sticky;
  top: 0;
  z-index: 2000;
  backdrop-filter: saturate(120%) blur(6px);
}

.logo-container {
height: 100%;
display: flex;
align-items: center;
padding: 0 40px;
}

.main-logo {
  width: 300px;
}

.naac-logo{
  width: 190px;
  padding-right: 20px;

}
.search-container {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 0px;
}

.search-container input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  outline: none;
  width: 180px;
}

.search-container button {
  background: none;
  border: none;
  margin-left: -20px;
  cursor: pointer;
  color: #a80406;
}

.nav-container {
  /* background-color: white; */
  width: 100%;
  position: relative;
  /* padding: 0 15px; */
}

.nav-links {
  display: flex;
  /* justify-content: center; */
  list-style: none;
  /* max-width: 1200px; */
  margin: 0 auto;
  padding: 0 15px;
}

.nav-links > li > a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 15px 20px;
  display: block;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-links > li > a:hover { 
  color: #a80406;
  border-radius: 5px;
  transform: scale(1.1);
}

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

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 250px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  z-index: 1;
  border-radius: 5px;
  top: 100%;
  left: 0;
}

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

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.dropdown-content a:hover {
  background-color: #f8f9fa;
  color: #a80406;
}

/* Sports Submenu - Desktop */
.sports-submenu {
  position: relative;
}

.sports-items {
  display: none;
  position: absolute;
  left: 35%;
  top: 0;
  background: white;
   /* max-width: 120px; */
  /* min-width: 200px; */
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  z-index: 1000;
  border: 1px solid #ddd;
}

.sports-submenu:hover .sports-items {
  display: block;
}

.sports-trigger {
  position: relative;
}

.sports-trigger i {
  margin-left: 5px;
  font-size: 12px;
  transition: transform 0.3s;
}

.sports-submenu:hover .sports-trigger i {
  transform: rotate(90deg);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px;
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1100; /* keep above overlay */
}

/* Each hamburger line */
.mobile-menu-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px auto;
  background-color: white; /* 🔴 maroon */
  border-radius: 3px;
  transition: transform 0.3s ease, opacity 0.25s ease, background-color 0.3s;
}

/* When active (menu open) → transform bars into an X */
.mobile-menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* (Optional) Subtle hover effect */
.mobile-menu-toggle:hover .bar {
  background-color: white; /* slightly darker maroon on hover */
}


/* Mobile Navigation */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100%;
  background-color: #a80406;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.mobile-nav.active {
  right: 0;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav ul {
  list-style: none;
  padding: 60px 20px 20px;
  margin: 0;
}

.mobile-nav ul li {
  margin-bottom: 10px;
}

.mobile-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* Mobile Dropdowns */
.mobile-dropdown-content {
  display: none;
  padding-left: 15px;
}

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

/* Mobile Sports Submenu */
.mobile-sports-items {
  display: none;
  padding-left: 20px;
}

.mobile-sports-items a {
  padding: 8px 0 !important;
  font-size: 14px !important;
}

.mobile-sports-trigger.active + .mobile-sports-items {
  display: block;
}

.mobile-sports-trigger i {
  transition: transform 0.3s;
  margin-left: 5px;
}

.mobile-sports-trigger.active i {
  transform: rotate(180deg);
}

.mobile-nav .topbar-link {
  display: none; /* Hidden by default (for desktop/laptop) */
}
/* ==============================
   Accreditation Section
============================== */
.accreditation-section {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.accreditation-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 180px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.accreditation-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accreditation-card img {
  width: 120px;
  height: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.accreditation-card p {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin-top: 10px;
}

.accreditation-card:hover {
  transform: translateY(-5px);
}

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

@media (max-width: 768px) {

}


@media (max-width: 1200px) {

  .naac-logo{
    display: none;
  }   

  .main-logo{
    width: 250px;
  }

  .nav-links li a {
    padding: 12px 10px;
  }
  
  .nav-container{
    width: 100%;
    display: flex;
  }

  .main-nav{
    width: 100%;
  }

}


@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: block;
  }

  .mobile-nav .topbar-link {
    display: block;
  }

  .top-bar{
    display: none;
  }
  .main-nav {
    display: none;
  }

  .header-content {
    padding-right: 60px;
  }

  .search-container {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .search-container {
    display: none;
  }

  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo-container {
    flex: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

    .slider-content h1 {
    font-size: 2.2rem;
  }

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

    .welcome-section,
  .life-section {
    flex-direction: column;
  }

  .welcome-image,
  .life-image {
    order: -1;
    margin-bottom: 30px;
    width: 100%;
  }

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

    .stats-container {
    flex-wrap: wrap;
  }

  .stat-card {
    min-width: 150px;
  }

  .founder-section {
    flex-direction: column-reverse;
  }
}

@media (max-width: 768px) {
  body{
    width: 100%;
  }
  .top-links ul {
    font-size: 12px;
    gap: 8px;
    display: none;
  }

  .naac-logo{
    display: none;
  }

    .top-links ul {
    font-size: 12px;
    gap: 5px;
  }

  .header-content {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .logo-container {
    position: static;
    transform: none;
  }

    .top-bar {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }

  .logo-container {
    position: static;
    transform: none;
    order: -1;
    /* margin-bottom: 10px; */
  }

  .top-links ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .search-container {
    margin: 10px auto 0;
  }


  .slider-content h1 {
    font-size: 1.8rem;
  }

  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .admissions-btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .content-container {
    /* margin: 30px auto; */
  }

  .welcome-section h2 {
    font-size: 1.8rem;
  }

  .mission-section h3 {
    font-size: 1.5rem;
  }

    .welcome-section h2,
  .mission-section h3,
  .studying-section h3,
  .life-section h3 {
    font-size: 1.6rem;
  }

  .mission-grid,
  .department-grid {
    grid-template-columns: 1fr;
  }

  .mission-card,
  .department-card {
    padding: 20px;
  }

    .stats-container {
    gap: 15px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }

    nav ul {
    flex-direction: column;
    align-items: center;
  }

  .search-container {
    flex-direction: column;
    gap: 10px;
  }

  .search-container input {
    width: 100%;
  }

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

    .footer-content {
    flex-direction: column;
  }

  .footer-about,
  .footer-links,
  .footer-connect {
    margin-bottom: 30px;
  }

    .accreditation-container {
    flex-direction: column;
    gap: 40px;
  }

  .accreditation-card img {
    width: 100px;
  }

  .accreditation-card p {
    font-size: 16px;
  }

}


@media (max-width: 480px) {
  .slider-content h1 {
    font-size: 1.5rem;
  }

  .main-logo{
    width: 200px;
  }
  .mission-grid {
    grid-template-columns: 1fr;
  }

  .nav-links li a {
    font-size: 14px;
    padding: 5px 10px;
  }

  .welcome-section h2 {
    font-size: 1.5rem;
  }

  .welcome-section p {
    font-size: 1rem;
  }

  .welcome-section h2,
  .mission-section h3,
  .studying-section h3,
  .life-section h3 {
    font-size: 1.4rem;
  }

  .mission-icon {
    width: 60px;
    height: 60px;
  }

  .mission-icon img {
    width: 35px;
    height: 35px;
  }

  .department-card h4 {
    font-size: 1rem;
    padding: 15px;
  }

  .stats-container {
    gap: 10px;
  }

  .stat-card {
    min-width: 120px;
    padding: 15px 10px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
  }

}


.no-scroll {
  overflow: hidden;
}

/* IQAC Banner */
.iqac-banner {
  background-color: #f8f9fa;
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.iqac-banner h1 {
  color: #a80406;
  font-size: 24px;
  margin-bottom: 5px;
}




/* Image Slider */
.image-slider {
  position: relative;
  width: 100%;
  /* height: 165vh; */
  height: 107vh;
  overflow: hidden;
  margin-top: -70px;
}

.image-slider img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease-in-out, transform 10s linear;
}

.image-slider img.active {
  opacity: 1;
  transform: scale(1);
}

.slider-content {
  
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: white;
  width: 100%;
  padding: 0 20px;
}

.slider-content h1 {
  font-size: 2.4rem;
  font-family: "Montserrat", sans-serif;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 12px;
  text-transform: uppercase;
  line-height: 1.3;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); */
}

.slider-content h1 span {
  color: #a80406;
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
  letter-spacing: 4px;
}

.admissions-btn {
  background-color: #a80406;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.admissions-btn a{
  color: white;
  font-weight: bold;
}

.admissions-btn:hover {
  background-color: transparent;
  color: #a80406;
  border: 2px solid #a80406;
}

.admissions-btn:hover a{
  color: #a80406;
}
/* Content Sections */
.content-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 0 20px;
}

.welcome-section {
  margin-bottom: 50px;
  text-align: center;
}

.welcome-section h2 {
  font-size: 2.2rem;
  color: #a80406;
  margin-bottom: 20px;
  line-height: 1.3;
}

.welcome-section p {
  font-size: 1.1rem;
  color: #555;
  max-width: 900px;
  margin: 0 auto;
}

.mission-section {
  margin-top: 50px;
}

.mission-section h3 {
  font-size: 1.8rem;
  color: #a80406;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.mission-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #a80406;
}

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

.mission-card {
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.mission-card:hover {
  transform: translateY(-5px);
}

.mission-card h4 {
  color: #a80406;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.mission-card p {
  color: #666;
  font-size: 1rem;
}



/* Welcome Section */
.welcome-section {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.welcome-content {
  flex: 1;
}

.welcome-image {
  flex: 1;
}

.welcome-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-section h2 {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 25px;
  line-height: 1.3;
  text-align: left;
}

.welcome-section h2 span {
  color: #a80406;
  font-weight: 700;
}

.welcome-text p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
  text-align: justify;
}

.read-more-btn {
  background-color: #a80406;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
  margin-top: 15px;
}

.read-more-btn:hover {
  background-color: #a80406;
}

/* Mission Section */
.mission-section {
  margin-top: 70px;
}

.mission-section h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.mission-section h3 span {
  color: #a80406;
}

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

.mission-card {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

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

.mission-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: #f9f0f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.mission-card h4 {
  color: #a80406;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.mission-list {
  list-style: none;
  text-align: left;
  margin-top: 15px;
}

.mission-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  color: #666;
}

.mission-list li:last-child {
  border-bottom: none;
}

/* Studying Section */
.studying-section {
  margin: 80px 0;
}

.studying-section h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.studying-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background-color: #a80406;
}

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

.department-card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.department-card:hover {
  transform: translateY(-5px);
}

.department-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.department-card h4 {
  padding: 20px;
  color: #333;
  font-size: 1.1rem;
}

/* Life Section */
.life-section {
  display: flex;
  gap: 40px;
  margin: 80px 0;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("drk.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 200px 20px 20px;
  position: relative;
}

.life-content {
  flex: 1;
}

.life-image {
  flex: 1;
}

.life-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.life-section h3 {
  font-size: 3rem;
  color: white;
  margin-top: 25px;
  line-height: 1.3;
}

.life-section p {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 20px;
}

.life-btn {
  background-color: #a80406;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
}

.life-btn:hover {
  background-color: #a80406;
}

/* Stats Section */
.stats-section {
  /* background-color: #a80406; */
  padding: 40px 0;
  margin: 50px 0;
}

.stats-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
  text-align: center;
  color: white;
  padding: 20px;
  flex: 1;
  max-width: 200px;
}

.stat-number {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
}

/* Numbers Section */
.numbers-section {
  padding: 60px 0;
  background-color: #f5f5f5;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.number-card {
  background-color: white;
  padding: 30px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #a80406;
  margin-bottom: 10px;
}

.label {
  font-size: 1.1rem;
  color: #555;
}

/* Founder Section */
.founder-section {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 60px auto;
  align-items: center;
}

.founder-content {
  flex: 2;
}

.founder-image {
  flex: 1;
}

.founder-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.founder-section h3 {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 10px;
}

.founder-section h4 {
  font-size: 1.4rem;
  color: #a80406;
  margin-bottom: 20px;
}

.founder-section p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
}

.founder-section strong {
  color: #a80406;
}

/* Institution Section */
.institution-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.institution-section h3 {
  font-size: 1.8rem;
  color: #a80406;
  margin-bottom: 20px;
}

.institution-section p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* News Section */
.news-section {
  background-color: #f5f5f5;
  padding: 60px 0;
}

.news-section h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 40px;
}

.news-content {
  max-width: 1200px;
  margin: 0 auto;
}

.academic-calendar {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.academic-calendar h4 {
  font-size: 1.4rem;
  color: #a80406;
  margin-bottom: 20px;
}

/* Footer */
.footer {
  background-color: #222;
  color: white;
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer h4 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: #a80406;
}

.footer ul {
  list-style: none;
}

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

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

.footer ul li a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #aaa;
}

/* Footer */
.footer {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("campus.jpg") no-repeat center center;
  background-size: cover;
  color: white;
  padding: 60px 0 20px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-about,
.footer-links,
.footer-connect {
  flex: 1;
  min-width: 200px;
  /* padding: 0 15px; */
  margin-bottom: 20px;
}

.footer h4 {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #a80406;
}

.footer h4::after {
  left: 50%;
  transform: translateX(-50%);
}

.footer ul {
  list-style: none;
}

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

.footer ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: white;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.social-icons a {
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: white;
}


.footer-logo-container {
  text-align: center;
  margin-bottom: 30px;
}

.footer-logo {
  max-width: 350px;
  width: 100%;
  height: auto;
  padding: 7px;
}

/* ==== Footer ==== */
footer {
  background-color: #a30c2d;
  color: white;
  text-align: center;
  padding: 15px 10px;
  margin-top: 50px;
}

/* Top Bar Dropdown Fix */
.top-bar {
    position: relative;
    z-index: 2001;
}

.top-links .dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    z-index: 2002;
    top: 100%;
    left: 0;
    border-radius: 5px;
    margin-top: 5px;
}

.top-links .dropdown:hover .dropdown-content {
    display: block;
}

.top-links .dropdown-content a {
    color: #333;
    padding: 12px 16px;
    display: block;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.top-links .dropdown-content a:hover {
    background: #f8f9fa;
    color: #a80406;
}

       .naac-logo {
  top:30px;
  right: 30px;
  z-index: 1000;
  width: 100px; 
  height: 42px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
