@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
}
p{
   font-family: "Montserrat", sans-serif; 
}

/*-------------------- top header ----------------------------*/
.top_header button {
  --color: #003366;
  font-family: inherit;
  display: inline-block;
  width: 10em;
  height: 2.6em;
  line-height: 2.5em;
  margin: 20px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid var(--color);
  transition: color 0.5s;
  z-index: 1;
  font-size: 17px;
  border-radius: 6px;
  font-weight: 700;
  color: var(--color);
}

.top_header button:before {
  content: "";
  position: absolute;
  z-index: -1;
  background: var(--color);
  height: 150px;
  width: 250px;
  border-radius: 50%;
}

.top_header button:hover {
  color: #fff;
}

.top_header button:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

.top_header button:hover:before {
  top: -30px;
  left: -30px;
}

.top_header button:active:before {
  background: #0252a3;
  transition: background 0s;
}

/*---------------- admission enquiry -----------*/
.admission_enquiry .left_contact{
    background: #083f66;
    background: linear-gradient(90deg, rgba(8, 63, 102, 1) 0%, rgba(8, 60, 99, 1) 50%);
}
.admission_enquiry .main-container {
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.admission_enquiry .form-section {
  padding: 30px;
}
.admission_enquiry .form-title {
  font-weight: 600;
  margin-bottom: 25px;
  color: #343a40;
}
.admission_enquiry .form-control:focus {
  box-shadow: none;
  outline: none;
  border: 1px solid #003366!important;
}

/*------------------- top notice scroll -----------------------*/
.notice-bar {
  display: flex;
  align-items: center;
  background-color: #d0e8ff;
  color: #003366;
  padding: 10px 0;
  overflow: hidden;
  position: relative;
}

.badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background-color: #003366;
  color: #d0e8ff;
  font-weight: bold;
  padding: 6px 12px;
  margin-left: 15px;
  border-radius: 20px;
  font-size: 14px;
  animation: blink 1s infinite;
  z-index: 2;
}

.badge-icon {
  margin-right: 6px;
  font-size: 16px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }
}

marquee {
  flex: 1;
  margin-left: 20px;
  font-size: 15px;
}

marquee a {
  color: #003366;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 500;
  font-weight: bold;
}

marquee a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .badge {
    font-size: 12px;
    padding: 4px 10px;
  }

  marquee {
    font-size: 13px;
  }
}

/*---------------------- navbar ----------------------*/


nav {
  background-color: #003366;
  color: white;
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.nav-container ul {
  margin-bottom: 0 !important;
}

.logo {
  font-size: 22px;
  font-weight: bold;
  display: none;
}

.menu {
  list-style: none;
  display: flex;
  gap: 5px;
}

.menu li {
  position: relative;
  list-style: none;
}

.menu a {
  color: white;
  text-decoration: none;
  padding: 5px;
  display: block;
  font-size: 15px;
  white-space: nowrap;
}

.menu li:hover>ul {
  display: block;
}

.submenu {
  display: none;
  position: absolute;
  top: 33px;
  left: 0;
  background-color: #004080;
  min-width: 200px;
  z-index: 1000;
}

.submenu li {
  position: relative;
}

.submenu .submenu {
  left: 100%;
  top: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}
/*--------------- section heading -------------*/
.section-heading {
  text-align: center;
  margin: 10px 0;
  position: relative;
}

.section-heading h4 {
  display: inline-block;
  font-size: 28px;
  font-weight: 600;
  color: #333;
  position: relative;
  padding: 0 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-heading h4::before,
.section-heading h4::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 2px;
  background: #3498db;
}

.section-heading h4::before {
  left: -70px;
}

.section-heading h4::after {
  right: -70px;
}

/*--------------- about style -----------------*/
.aboutus img{
  border-radius: 20px;
}
.aboutus h4{
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
}
.aboutus p{
  text-align: justify;
}
.aboutus li{
  line-height: 2em;
}
.aboutus .card{
  border-radius: 10px;
}
.aboutus li{
  font-family: "Montserrat", sans-serif;
}

/*---------------------- notice section --------------------*/
.card-container {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  border: 2px solid #ffcc00;
}

.nav-tabs {
  display: flex;
  justify-content: space-around;
  background-color: #003366;
  overflow-x: auto;
}

.nav-tabs button {
  flex: 1;
  background: none;
  border: none;
  color: #fff;
  padding: 15px;
  font-size: clamp(14px, 2vw, 16px);
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.nav-tabs button.active {
  background-color: #004080;
  border-bottom: 4px solid #ffcc00;
  font-weight: bold;
}

.tab-content-wrapper {
  padding: 25px;
  position: relative;
  height: 500px;
  overflow-y: auto;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.section-title {
  color: #003366;
  font-size: 22px;
  margin-bottom: 15px;
}

/* Notices & Events Styles */
.notice,
.event {
  border-bottom: 1px solid #ddd;
  padding: 15px 0;
}

.notice:last-child,
.event:last-child {
  border-bottom: none;
}

.notice-title,
.event-title {
  font-size: 18px;
  font-weight: bold;
  color: #003366;
}

.notice-title a,
.event-title a {
  color: #003366;
  text-decoration: none;
}

.notice-title a:hover,
.event-title a:hover {
  text-decoration: underline;
}

.notice-date,
.event-date {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}

.notice-desc,
.event-desc {
  color: #444;
}

.nav-tabs::-webkit-scrollbar {
  height: 6px;
}

.nav-tabs::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.nav-tabs::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.tab-content-wrapper::-webkit-scrollbar {
  width: 6px;
}

.tab-content-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

/*------------------------- hiring partner -----------------*/
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/*---------------------------- department ------------------------------*/
.department li{
  font-family: "Montserrat", sans-serif;
  line-height: 2em;
  text-align: justify; 
}


.department .card {
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.department .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

.department .card-img-top {
  height: 220px;
  width: 220px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  box-shadow: 0 4px 12px rgb(2 128 144 / 0.2);
}


.department .faculty-name {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
  color: #0ea5e9;
}

.department .faculty-designation {
  font-weight: 500;
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.department .faculty-department {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 15px;
}

.department .faculty-experience {
  font-size: 0.95rem;
  color: #475569;
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .department .card-img-top {
    height: 180px;
  }
}


/*------------------- mobile responsive ----------------*/
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background-color: #003366;
    padding-top: 60px;
    transition: left 0.3s ease-in-out;
  }
  .nav-container {
    justify-content: space-between;
  }

  .menu.show {
    left: 0;
  }

  .submenu {
    position: relative;
    top: 0;
    left: 0;
  }

  .submenu .submenu {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .logo {
    display: block;
    font-size: 20px;
  }

  .notice_card nav{  
    font-size: 10px;
  }
  .notice_card .nav-link{
    margin: 0!important;
    gap: 0;
  }
  .admission_enquiry .image-section {
    display: none;
  }
}