body {
  font-family: "Poppins", sans-serif !important;

}

p {
  text-align: justify;
  font-size: 15px !important;
}

a {
  text-decoration: none;
}

.head-logo {
  height: 90px;
  max-width: 100%;
  width: auto;
}

.main-header-section,
.container {
    overflow: visible !important;
}



/* Brand section single-line */
.header-brand {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.header-brand>* {
  flex-shrink: 0;
}

/* Allow center text to shrink */
/* .brand-text {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
} */

/* Scale text below 992px */
@media (max-width: 991.98px) {
  .brand-text h4 {
    font-size: 16px;
  }

  .brand-text p {
    font-size: 11px;
  }
}

/* Logo safety */
.brand-logo img {
  max-height: 52px;
  width: auto;
}


/* Tablet view (MD) */
@media (max-width: 991.98px) {
  .head-logo {
    height: 70px;
  }
}

.index-heading {
  font-weight: bold;
  text-align: center;
  color: var(--bs-primary);
  margin-top: 40px;
  margin-bottom: 30px;
}

@media (max-width:767px) {
  .index-heading {
    font-weight: bold;
    text-align: center;
    color: var(--bs-primary);
    font-size: 24px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .heading-font {
    font-size: 24px;
  }

  .head-logo {
    height: 50px !important;
  }

  .logo-text-1 {
    font-size: 45px;
    font-weight: bold;
    line-height: 0.8;
    color: #01356f;
    text-align: start;

  }

  .logo-text-2 {
    font-size: 10px;
    font-weight: bold;
    line-height: 0.8;
    color: #01356f;
    text-align: start;
    text-wrap: nowrap;
  }

  .main-header-section {
    display: flex;
    justify-content: space-around !important;
    align-items: center;
  }
}

/* Prevent wrapping in header brand */
.header-brand {
  flex-wrap: nowrap;
  /* 🔴 key fix */
  white-space: nowrap;
}

/* Prevent text from breaking into multiple lines */
.brand-text h4,
.brand-text p {
  white-space: nowrap;
}

/* Allow slight scaling instead of wrapping */
@media (max-width: 1199.98px) {
  .brand-text h4 {
    font-size: 19px;
    text-align: left;
    font-weight: bold;
  }

  .brand-text p {
    font-size: 12px;
    line-height: 1.3;
  }
}

/* Logos should not shrink weirdly */
.brand-logo img {
  max-height: 55px;
  width: auto;
  flex-shrink: 0;
}


.offcanvas-body {
  scrollbar-width: none;

  /* IE / Edge */
  -ms-overflow-style: none;
}

/* Chrome / Safari / Opera */
.offcanvas-body::-webkit-scrollbar {
  display: none;
}

/* Offcanvas container */
.offcanvas {
  background-color: #ffffff;
}

/* Offcanvas header */
.offcanvas-header {
  color: #003b36;
}

.offcanvas-header .btn-close {
  filter: brightness(0);
}

/* Main menu list */
.offcanvas-body ul li a {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 6px;
  color: #003b36;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Hover effect */
.offcanvas-body ul li a:hover {
  color: #003b36;
}

/* Active page highlight */
.offcanvas-body ul li a.fw-bold {

  color: #003b36;
}

/* Dropdown toggle row */
.offcanvas-body a[data-bs-toggle="collapse"] {
  cursor: pointer;
}

/* Dropdown container */
.offcanvas-body .collapse {
  margin-top: 6px;
}

/* Dropdown links */
.offcanvas-body .collapse a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: #004c45;
}

/* Dropdown hover */
.offcanvas-body .collapse a:hover {
  background-color: rgba(157, 204, 194, 0.6);
}

/* Active dropdown item */
.offcanvas-body .collapse a.fw-bold {
  background-color: #9dccc2;
  color: #003b36;
}

/* Rotate chevron when open */
.offcanvas-body a[aria-expanded="true"] i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.offcanvas-body i.bi-chevron-down {
  transition: transform 0.3s ease;
}

/* Contact section */
.offcanvas-body p {
  color: #003b36;
  font-size: 14px;
}

/* Social icons */
.offcanvas-body .bi {
  color: #003b36;
  transition: color 0.3s ease;
}

.offcanvas-body .bi:hover {
  color: #9dccc2;
}

.offcanvas-body hr {
  border-color: rgba(0, 0, 0, 0.1);
}

/* login start  */
/* Modal Overlay */
.auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.auth-modal-overlay.show {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

/* Modal Content */
.auth-popup-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 420px;
  width: 90%;
  max-height: 90vh;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  position: relative;
}

.auth-modal-overlay.show .auth-popup-container {
  transform: scale(1);
}

/* Close Button */
.auth-close-button {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  z-index: 10;
  padding: 5px;
  transition: color 0.3s ease;
}

.auth-close-button:hover {
  color: white;
}

/* Header Section */
.auth-header-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px 30px 30px;
  text-align: center;
}

.auth-title-primary {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.auth-subtitle-text {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0;
}

/* Form Content */
.auth-form-content {
  padding: 35px 30px;
}

.auth-input-group {
  margin-bottom: 20px;
  position: relative;
}

.auth-input-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #333;
  font-size: 0.85rem;
}

.auth-input-field {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid #e1e8ed;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.auth-input-field:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.auth-input-icon {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #999;
  pointer-events: none;
}

.auth-password-wrapper {
  position: relative;
}

.auth-password-toggle {
  position: absolute;
  right: 15px;
  top: 15px;
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
}

.auth-password-toggle:hover {
  color: #667eea;
}

.auth-remember-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 0.85rem;
}

.auth-checkbox-wrapper {
  display: flex;
  align-items: center;
}

.auth-checkbox-input {
  margin-right: 6px;
}

.auth-checkbox-label {
  color: #666;
  margin-bottom: 0;
}

.auth-forgot-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.auth-forgot-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.auth-submit-button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.auth-submit-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.auth-divider-section {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.auth-divider-line {
  height: 1px;
  background: #e1e8ed;
  margin: 0;
}

.auth-divider-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 0 15px;
  color: #999;
  font-size: 0.8rem;
}

.auth-signup-section {
  text-align: center;
  font-size: 0.85rem;
}

.auth-signup-text {
  color: #666;
}

.auth-signup-link {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.auth-signup-link:hover {
  color: #764ba2;
  text-decoration: underline;
}

.auth-error-message {
  background: #fee;
  border: 1px solid #fcc;
  color: #c33;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-bottom: 15px;
  display: none;
}

.auth-success-message {
  background: #efe;
  border: 1px solid #cfc;
  color: #363;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  margin-bottom: 15px;
  display: none;
}

@media (max-width: 480px) {
  .auth-popup-container {
    width: 95%;
    margin: 10px;
  }

  .auth-header-section {
    padding: 30px 25px 25px;
  }

  .auth-form-content {
    padding: 25px 25px;
  }

  .auth-title-primary {
    font-size: 1.6rem;
  }
}

/* login end  */
.top-bar {
  background: linear-gradient(to right, #003366, #0055a5);
  color: white;
  font-size: 14px;
  padding: 6px 0;
}

.top-bar a {
  color: white;
  text-decoration: none;
}

.navbar .logo-img {
  height: 50px;
}

.navbar .badge-img {
  height: 40px;
}

.register-btn {
  font-size: 12px;
  padding: 4px 10px;
}


.menu-icon {
  font-size: 24px;
  cursor: pointer;
  color: #003366;
}

.offcanvas-start {
  width: 260px;
}

.offcanvas-body a {
  color: #0055a5;
  text-decoration: none;
  font-weight: 500;
  display: block;
  padding: 6px 0;
}

.offcanvas-body a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .register-btn {
    display: none !important;
  }

  .social-icons {
    justify-content: center !important;
  }

  .navbar .badge-img {
    height: 30px;
  }

  .navbar .logo-img {
    height: 40px;
  }
}

.register-btn {
  background: linear-gradient(to right, #001e47, #004aad);
  border: none;
  color: white;
  font-size: 12px;
  padding: 6px 16px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.register-btn:hover {
  opacity: 0.9;
}



.gradient-text {
  background: linear-gradient(to right, #001e47, #004aad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
}

.hero-section {
  background-color: var(--light-bg);
  padding: 2rem 0;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 0.8;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  height: 40px;
  width: 40px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-indicators {
  bottom: -40px;
}

.carousel-indicators button {
  background-color: var(--primary-color);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.stats-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  background-color: var(--light-bg);
}

.stats-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-color);
}


@media (max-width: 768px) {
  .partner-logo {
    height: 30px;
    margin: 5px;
  }

  .hero-section {
    padding: 1rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* placement sliding */
.logo-slider-wrapper {
  /* overflow: hidden; */
  position: relative;
  width: 100%;
}

.logo-slider {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.logo-track {
  display: flex;
  animation: scroll-left 10s linear infinite;
}

.logo-set {
  display: flex;
  gap: 3rem;
  padding-right: 3rem;
}

.logo {
  height: 50px;
  max-width: 150px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: brightness(0) saturate(100%) invert(18%) sepia(84%) saturate(2246%) hue-rotate(202deg) brightness(96%) contrast(101%);
}

.logo:hover {
  transform: scale(1.1);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Achivements and Events */
/* .news-container-header {
  padding-bottom: 30px;
  background-color: #0d3b96;
  border-radius: 6px 6px 0 0;
}

.section-title {
  font-weight: 600;
  color: white !important;
  text-align: center;
  padding-bottom: 10px;
  position: relative;
  margin-bottom: 0px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #ffffff;
}

.tag {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-arts {
  background-color: #4cd4bfb6;
  color: #000;
}

.tag-school {
  background-color: #bc6bd9ad;
  color: #fff;
}

.tag-medical {
  background-color: #f9c64faf;
  color: black;
}

.news-container {
  border: 7px solid #0d3b96;
  margin: 0 auto;
  background-color: white;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  padding: 16px 20px;
  margin-bottom: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-content {
  width: 100%;
}

.news-title {
  margin: 8px 0;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.view-btn {
  display: inline-block;
  background-color: #0d3b96ad;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.2s ease;
  margin-top: 8px;
}

.view-btn:hover {
  background-color: #0a2e7a;
}

.scroll-box {
  height: 400px;
  overflow-y: auto;
  position: relative;
  background-color: #d0d5dc;
  padding: 0 10px;
  scrollbar-width: none;

  -ms-overflow-style: none;
}

.scroll-box::-webkit-scrollbar {
  display: none;
}


.infinite-scroll-container {
  display: flex;
  flex-direction: column;
  animation: scroll-up 25s linear infinite;
}


.scroll-box:hover .infinite-scroll-container {
  animation-play-state: paused;
}

@keyframes scroll-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}


@media (max-width: 768px) {
  .news-title {
    font-size: 0.9rem;
  }

  .news-card {
    padding: 14px 16px;
  }

  .news-container {
    padding: 0px;
  }

  .scroll-box {
    height: 350px;
  }
}


.video-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.thumbnail-container {
  position: relative;
  width: 100%;
  cursor: pointer;
}

.thumbnail-container:hover {
  transform: scale(1.02);
}

.bg-image {
  width: 100%;
  height: auto;
  display: block;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.play-button:hover {
  background-color: rgba(255, 255, 255, 0.95);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 18px 0 18px 30px;
  border-color: transparent transparent transparent #ff5722;
  margin-left: 7px;
}

.video-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px;
  font-size: 1.4rem;
  font-weight: bold;
}

.video-duration {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.video-element {
  display: none;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.video-wrapper {
  position: relative;
  display: none;
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.close-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.close-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.close-icon:before,
.close-icon:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 3px;
  background-color: white;
  top: 8px;
}

.close-icon:before {
  transform: rotate(45deg);
}

.close-icon:after {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .video-container {
    margin: 1rem auto;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

  .play-icon {
    border-width: 14px 0 14px 24px;
    margin-left: 5px;
  }

  .video-title {
    padding: 15px;
    font-size: 1.2rem;
  }

  .close-button {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
  }

  .close-icon {
    width: 16px;
    height: 16px;
  }

  .close-icon:before,
  .close-icon:after {
    width: 16px;
    height: 2px;
    top: 7px;
  }
} */


.facility-card {
  border-radius: 15px;
  overflow: hidden;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
  height: 300px;
  position: relative;
}

.facility-overlay {
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 15px;
}

.facility-title {
  font-weight: bold;
  font-size: 1.25rem;
}

.facility-text {
  font-size: 0.9rem;
}



/* ==============================
   COLLEGE FOOTER – JAYA GROUP
   ============================== */

.college-footer {
  background: #0d3b66;
  color: #e6ecf5;
}

/* -------- Headings -------- */
.footer-heading,
.college-name {
  font-weight: 800;
  color: #ffd166;
  margin-bottom: 15px;
}

/* -------- Brand Center -------- */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-logo {
  width: 80px;
  height: auto;
}

.footer-brand {
  font-size: 48px;
  letter-spacing: -5px;
  color: #ffffff;
  font-weight: 700;
  margin: 0;
}

.footer-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #ffd166;
  margin-bottom: 0 !important;
}

/* -------- Divider -------- */
.footer-divider {
  width: 120px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  margin: 10px auto 20px;
}

/* -------- Footer Text -------- */
.footer-text,
.footer p {
  font-size: 14px;
  color: #c7d2e2;
  line-height: 1.6;
}

.footer-text a {
  color: #ffd166;
  text-decoration: none;
}

.footer-text a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* -------- Footer Lists -------- */
.footer-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 15px;
  color: #e6ecf5;
}

.footer-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c5d200;
  font-size: 22px;
  line-height: 1;
}

/* -------- Footer Links -------- */
.footer-links li {
  margin-bottom: 8px;
}

.footer-links li a {
  text-decoration: none;
  color: #ffd166;
}

.footer-links li a:hover {
  color: #ffffff;
}

/* -------- Social Icons -------- */
.social-icons1 a {
  color: #ffd166;
  font-size: 18px;
  margin-right: 10px;
  transition: color 0.3s ease;
}

.social-icons1 a:hover {
  color: #ffffff;
}

/* -------- Visitor Counter -------- */
.visitor-label {
  font-size: 14px;
  color: #9fb3cc;
  letter-spacing: 1px;
}

.visitor-number {
  font-size: 21px;
  font-weight: 800;
  color: #ffd166;
}

/* -------- Footer Bottom -------- */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 10px;
  padding-top: 10px;
  color: #9fb3cc;
  font-size: 13px;
}

.footer-bottom a {
  color: #ffd166;
  margin-left: 15px;
  text-decoration: none;
}

.footer-bottom-txt{
  font-size: 13.5px !important;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* -------- Responsive -------- */
@media (max-width: 767px) {
  .footer-brand {
    font-size: 36px;
    letter-spacing: -3px;
  }

  .footer-subtitle {
    font-size: 14px;
  }

  .footer-list li {
    font-size: 14px;
  }
}



/* testmonial */

.testimonial-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  flex-wrap: wrap;
}

.left-text {
  flex: 1;
  max-width: 40%;
}

.testimonial-slider {
  flex: 1;
  max-width: 55%;
  background: url("your-right-side-bg.jpg") no-repeat right center / cover;
  border-radius: 20px;
  padding: 20px;
  margin-right: 0;
}

.testimonial-box .desc {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
}

.swiper-button-prev,
.swiper-button-next {
  color: #0047ab;
}

@media screen and (max-width: 768px) {
  .testimonial-section {
    flex-direction: column;
    background-position: center bottom;
    background-size: cover;
  }

  .left-text,
  .testimonial-slider {
    max-width: 100%;
  }
}

/* marquee and top bar */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  display: inline-block;
  animation: marquee 15s linear infinite;
}

/* about  */

.banner-section {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.banner-section {
  position: relative;
  width: 100%;
  height: 320px;
  /* adjust */
  overflow: hidden;
}

/* Image */
.banner-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay */
.banner-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* overlay color */
  z-index: 1;
}

/* Text */
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  z-index: 2;
  /* above overlay */
  text-align: center;
}


.section-title {
  color: #0d3b66;
  font-weight: 800;
}

.section-subtitle {
  color: #0d3b66;
  font-weight: 700;
  font-size: 1.25rem;
}

.custom-border-wrapper {
  position: relative;
  padding: 20px;
}

.custom-border-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  border-top: 4px solid #0d3b66;
  border-left: 4px solid #0d3b66;
  width: 70%;
  height: 70%;
  box-sizing: border-box;
  z-index: -1;
}

.custom-border-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  border-bottom: 4px solid #0d3b66;
  border-right: 4px solid #0d3b66;
  width: 70%;
  height: 70%;
  box-sizing: border-box;
  z-index: -1;
}

.about-list li {
  margin-bottom: 8px;
}

.dashed-box {
  border: 2px dashed #0d6efd;
  padding: 30px;
  border-radius: 10px;
  height: 100%;
}

.vision-icon,
.mission-icon {
  width: 40px;
  height: auto;
  margin-right: 10px;
}

.rocket-img {
  max-height: 250px;
}

.icon-heading {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: bold;
  color: #0d3b66;
}

.icon-heading h5 {
  margin: 0;
}

/* Vision and Mission icons (small icons next to headings) */
.vision-icon,
.mission-icon {
  width: 80px;
  height: 80px;
  margin-left: 10px;
  object-fit: contain;
}

/* Rocket image (center image) */
.rocket-img {
  height: auto;
  width: auto;
  margin: 0 auto;
  display: block;
}

/* contact us  */
.contact-card {
  animation: fadeIn 0.3s ease-in-out;
}

.list-group-item.active {
  background-color: #0056d2;
  border-color: #0056d2;
  color: #fff;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Chairman Message  */

.chairman-card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  
}

.chairman-name {
  color: #0066cc;
  font-weight: 700;
  font-size: 1.5rem;
}

.chairman-role {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.quote {
  font-style: italic;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.quote-author {
  font-weight: 600;
  margin-top: 5px;
  display: block;
}

.message p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.profile-img {
  border: 4px solid #0066cc;
  border-radius: 12px;
}

/* Institutions */
.category-title {
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem;
  color: #0056b3;
  margin: 40px 0 20px;
  text-transform: uppercase;
}

.institution-card {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
  padding: 15px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.institution-logo {
  max-width: 100%;
  max-height: 80px;
}

.institution-info p {
  font-weight: 700;
  font-size: larger;
  margin-bottom: 5px;
  color: #0a4b9b;
}

.know-more {
  color: #b31c1c;
  font-size: 0.9rem;
  text-decoration: none;
}

.know-more:hover {
  text-decoration: underline;
}

/* Academics & Research Excellence */
.swiper-button-prev-custom,
.swiper-button-next-custom {
  z-index: 10;
}

.swiper-slide img {
  width: 100%;
  height: 300px;
  object-fit: fill;
}



.swiper-slide b {
  display: block;
}

@media (max-width: 768px) {

  .swiper-button-prev-custom,
  .swiper-button-next-custom {
    display: none;
  }
}

/* .swiper-button-prev-custom,
  .swiper-button-next-custom {
    z-index: 10;
  }

  @media (max-width: 768px) {

    .swiper-button-prev-custom,
    .swiper-button-next-custom {
      display: none;
    }
  }

  .swiper-slide .card {
    width: 100%;
    max-width: 330px;
    height: 371px;
    margin: auto;
  } */

.testimonial-section {
  padding: 20px 0;
  position: relative;
  overflow: hidden;
}

.testimonial-heading {
  color: #0d47a1;
  font-weight: 700;
  margin-bottom: 40px;
}

.testimonial-label {
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.testimonial-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 20px;
  margin: 0px 10px;
}

.testimonial-profile {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.testimonial-img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-info h4 {
  color: #0d47a1;
  margin-bottom: 5px;
  font-weight: 600;
}

.testimonial-info p {
  color: #555;
  margin: 0;
}

.testimonial-text {
  color: #333;
  line-height: 1.6;
}

.custom-nav-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #0d47a1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 5px;
  border: 1px solid #e0e0e0;
}

.custom-nav-btn:hover {
  background-color: #0d47a1;
  color: #fff;
}

.blue-circle {
  position: absolute;
  right: -150px;
  top: 0;
  bottom: 0;
  width: 500px;
  height: 500px;
  background-color: #0d47a1;
  border-radius: 50%;
  z-index: -1;
}

.light-blue-circle {
  position: absolute;
  right: -100px;
  top: 100px;
  width: 400px;
  height: 400px;
  background-color: #0d47a1;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.7;
}

@media (max-width: 768px) {

  .blue-circle,
  .light-blue-circle {
    width: 200px;
    height: 200px;
    right: -150px;
  }

  .testimonial-card {
    padding: 20px;
  }
}

/* courses  */
.hovleftbox table td,
.hovleftbox th {
  text-align: center;
}

.hovleftbox .boxx {
  border-radius: 10px;
  padding: 10px;
  background-color: rgb(255, 255, 255);
  border-left: 2px solid rgb(6, 30, 63);
  transition: 0.25s;
  box-shadow: rgba(10, 10, 10, 0.2) 0px 0.5em 1em -0.125em,
    rgba(10, 10, 10, 0.02) 0px 0px 0px 1px;
  text-align: center;
  margin-left: 2px;
  cursor: pointer;
  margin-bottom: 20px;
}

.hovleftbox .boxx a {
  text-decoration: none;
}

.hovleftbox .boxx:hover {
  text-decoration: none;
  color: rgb(6, 30, 63);
  border-left: 6px solid rgb(233, 168, 33);
  box-shadow: rgba(10, 10, 10, 0.2) 0px 0.5em 1em -0.125em,
    rgb(233, 168, 33) 0px 0px 0px 1px;
}

.hovleftbox .boxx:hover h6 {
  color: #eb8934;
}

.hovleftbox h6 {
  text-align: left;
  margin-left: 10px;
  opacity: 0.8;
}

.hovleftbox .custom-card {
  margin-bottom: 10px;
}

/* button  */
.sticky-buttons {
  position: fixed;
  bottom: 15%;
  /* Position 20% from bottom instead of from top */
  right: 15px;
  /* Gap between edge of screen and button panel */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 15px;
  background-color: #0d6efd;
  /* Blue background color like in the image */
  padding: 15px 10px;
  border-radius: 5px;
  width: 45px;
  /* Fixed width to match image */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  /* Optional shadow for better visibility */
}

.sticky-buttons a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 20px;
  padding: 5px 0;
}

/* Optional hover effect */
.sticky-buttons a:hover {
  transform: scale(1.1);
  transition: transform 0.2s;
}

/* gallery */

.gallery-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  padding: 40px;
  margin: 20px auto;
  max-width: 1200px;
}

.gallery-header {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.gallery-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 400;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 30px;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 20px 15px 15px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Color coding for different groups */
.gallery-item[data-group="group1"] {
  border-top: 4px solid #e74c3c;
}

.gallery-item[data-group="group2"] {
  border-top: 4px solid #3498db;
}

.gallery-item[data-group="group3"] {
  border-top: 4px solid #2ecc71;
}

.gallery-item[data-group="group4"] {
  border-top: 4px solid #f39c12;
}

.group-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: white;
  z-index: 2;
}

.group-badge.group1 {
  background: #e74c3c;
}

.group-badge.group2 {
  background: #3498db;
}

.group-badge.group3 {
  background: #2ecc71;
}

.group-badge.group4 {
  background: #f39c12;
}

/* Enhanced Modal Styling */
.modal-content {
  border-radius: 20px;
  border: none;
  width: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.modal-header {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 20px 20px 0 0;
  padding: 20px 30px;
  border-bottom: none;
}

.modal-title {
  font-weight: 700;
  font-size: 1.5rem;
}

.btn-close {

  opacity: 0.8;
}

.btn-close:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
  position: relative;
}

#modal-image {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  object-fit: contain;
}

#modal-caption {
  font-size: 1.2rem;
  font-weight: 600;
  color: #495057;
  margin-top: 20px;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #764ba2, #667eea);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

#prevBtn {
  left: -25px;
}

#nextBtn {
  right: -25px;
}

.image-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-container {
    padding: 20px;
    margin: 10px;
  }

  .gallery-title {
    font-size: 2rem;
  }

  .gallery-item img {
    height: 180px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  #prevBtn {
    left: 10px;
  }

  #nextBtn {
    right: 10px;
  }
}

/* Loading Animation */
.loading-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
}

.spinner-border {
  color: #667eea;
}

/* Filter Buttons */
.filter-container {
  text-align: center;
  margin-bottom: 30px;
}

.filter-btn {
  background: white;
  border: 2px solid #dee2e6;
  color: #495057;
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-color: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* go to top  */
/* Go to Top Button Styling - IMPROVED */
#goToTopBtn {
  visibility: hidden;
  opacity: 0;
  position: fixed;
  bottom: 70px;
  right: 15px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #4285f4;
  /* Google blue */
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 50%;
  font-size: 24px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease-in-out;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#goToTopBtn:hover {
  background-color: #3367d6;
  /* Darker blue on hover */
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

#goToTopBtn.show {
  visibility: visible;
  opacity: 1;
}

#goToTopBtn svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* Add pulse animation for better visibility */
@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

#goToTopBtn.pulse {
  animation: pulse 2s infinite;
}

/* Progress indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background-color: #4285f4;
  width: 0%;
  z-index: 9999;
  transition: width 0.2s ease;
}

/* Popup Overlay */
.app-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
  animation: appFadeIn 0.3s ease-out;
}

.app-popup-overlay.app-popup-show {
  display: flex;
}

@keyframes appFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes appSlideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Popup Container */
.app-popup-container {
  background: white;
  width: 100%;
  max-width: 800px;
  max-height: 100vh;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: appSlideUp 0.4s ease-out;
  display: flex;
  flex-direction: column;
}

/* Popup Header */
.app-popup-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  border-radius: 20px 20px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.app-popup-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.app-close-btn {
  position: absolute;
  right: 0;
  top: 0;
}

/* Popup Body */
.app-popup-body {
  padding: 0px;
  text-align: center;
}



/* Responsive Design */
@media (max-width: 576px) {
  .app-popup-container {
    margin: 10px;

    max-width: 95vw;
  }

  .app-popup-header {
    padding: 12px 15px;
    border-radius: 15px 15px 0 0;
  }

  .app-popup-title {
    font-size: 1.1rem;
  }
}

/* Updated popup styling with new class names */
#admissionFormModal {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
}

.modal-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal-header {
  position: relative;
  background: #0d6efd;
  padding: 15px 20px;
  border-radius: 8px 8px 0 0;
  color: white;
}

.modal-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.modal-content {
  padding: 20px;
}

.field-required {
  color: #dc3545;
}

/* Button styling */
.register-btn {
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#admissionFormModal .form-label {
  float: left;
}

/* sticky popup  */

.sticky-nav-buttons {
  position: fixed;
  right: 20px;
  bottom: 20%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 999;
}

.sticky-nav-button-item {
  width: 45px;
  height: 45px;
  background-color: #0d6efd;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, background-color 0.3s;
}

.sticky-nav-button-item:hover {
  transform: scale(1.1);
  background-color: #0b5ed7;
  color: white;
}

/* === Overlay (Premium Glass) === */
.custom-form-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.75));
  z-index: 1055;

  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
}

/* === Main Card === */
.custom-popup-container {
  width: 100%;
  max-width: 560px;

  background: #ffffff;
  border-radius: 16px;
  overflow-y: scroll;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.35),
    0 10px 20px rgba(0, 0, 0, 0.12);
  animation: premiumEntrance 0.45s ease;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE & Edge (legacy) */
}

.custom-popup-container::-webkit-scrollbar {
  width: 0;
  height: 0;
}

/* === Header (Institution Look) === */
.custom-popup-header {
  padding: 1px 15px;
  background: linear-gradient(135deg, #002b5b, #004a99);
  color: #ffffff;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.custom-popup-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #ffc107, #fd7e14);
}

/* === Close Button === */
.custom-close-btn {
  color: #ffffff;
  font-size: 28px;
  opacity: 0.85;
  transition: 0.25s;
}

.custom-close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* === Body === */
.custom-popup-body {
  padding: 15px;
  background: #f8f9fc;
}

/* === Inner Form Card === */
.custom-popup-body form {
  background: #ffffff;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* === Section Title === */
.custom-popup-body h6 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #004a99;
  margin-bottom: 18px;
  padding-bottom: 6px;
  border-bottom: 2px dashed #dce3f1;
}

/* === Labels === */
.custom-popup-body .form-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #1f2937;
}

/* === Inputs === */
.custom-form-control,
.custom-form-select {
  height: 40px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #d1d9e6;
  font-size: 14px;
  padding: 10px 14px;
  background-color: #fbfdff;
  transition: all 0.25s ease;
}

.custom-form-control:focus,
.custom-form-select:focus {
  border-color: #004a99;
  background-color: #ffffff;
  box-shadow:
    0 0 0 4px rgba(0, 74, 153, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.08);
}

/* === Required Star === */
.custom-required-field {
  color: #dc3545;
  font-weight: 700;
}



/* === CTA Button (Admission Grade) === */
.custom-btn-primary {
  background: linear-gradient(135deg, #ffc107, #fd7e14);
  color: #1f2937;
  border-radius: 50px;
  padding: 14px 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.8px;
  border: none;
  transition: all 0.35s ease;
  box-shadow: 0 12px 25px rgba(253, 126, 20, 0.4);
}

/* .custom-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(253, 126, 20, 0.55);
} */

/* === Success State === */
.custom-btn-primary.success {
  background: linear-gradient(135deg, #198754, #157347) !important;
  color: #ffffff !important;
}

/* === Entrance Animation === */
@keyframes premiumEntrance {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* === Mobile === */
@media (max-width: 576px) {
  .custom-popup-body {
    padding: 24px 18px;
  }

  .custom-popup-body form {
    padding: 22px 18px;
  }

  .custom-btn-primary {
    width: 100%;
  }
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Rotate when the dropdown is open */
.nav-link-icon[aria-expanded="true"] .bi.bi-chevron-down {
  transform: rotateX(180deg);
}

.a-text {
  text-align: start;
}

.institution-card {
  background-color: #fff;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.institution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.h-card {
  height: 120px;
  /* Default height for desktop */
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .h-card {
    height: auto;
  }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
  .h-card {
    height: auto;
  }
}

/* Custom unique styles */
.ksu-academics-section {
  background-color: #f8f9fa;

  position: relative;
}

.ksu-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 1rem;
  position: relative;
}

.ksu-section-title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 4px;
  background-color: #0d6efd;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.ksu-section-description {

  font-size: 1.1rem;
  color: #495057;
}

.ksu-academics-card {
  border-radius: 12px;
  overflow: hidden;

  transition: all 0.3s ease;
  height: 100%;
  background-color: white;
}

.ksu-academics-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.ksu-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ksu-academics-card:hover .ksu-card-image {
  transform: scale(1.02);
}

.ksu-card-body {
  padding: 1.5rem;
  text-align: center;
}

.ksu-card-title {
  font-weight: 700;
  color: #0d6efd;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.ksu-card-divider {
  width: 40px;
  height: 3px;
  background-color: #0d6efd;
  margin: 0 auto 1rem;
}

.ksu-explore-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background-color: transparent;
  color: #0d6efd;
  border: 2px solid #0d6efd;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ksu-explore-btn:hover {
  background-color: #0d6efd;
  color: white;
  transform: translateY(-3px);
}

.ksu-swiper-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #0d6efd;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.ksu-swiper-nav-btn:hover {
  background-color: #0b5ed7;
  transform: translateY(-50%) scale(1.1);
}

.ksu-swiper-prev {
  left: -25px;
}

.ksu-swiper-next {
  right: -25px;
}

.ksu-swiper-pagination {
  margin-top: 2rem;
}



@media (max-width: 768px) {
  .ksu-section-title {
    font-size: 2rem;
  }

  .ksu-swiper-nav-btn {
    width: 40px;
    height: 40px;
  }

  .ksu-swiper-prev {
    left: 0;
  }

  .ksu-swiper-next {
    right: 0;
  }
}

/* Academics & Research Excellence */

.jaya-colleges-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #1f2937;
  position: relative;
  padding-bottom: 1rem;
}

.jaya-college-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.jaya-college-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.jaya-college-img-container {
  position: relative;
  overflow: hidden;
  height: 200px;
  background: #f8fafc;
}

.jaya-college-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.jaya-college-card:hover .jaya-college-img {
  transform: scale(1.05);
}

.jaya-college-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg,
      rgba(37, 99, 235, 0.8),
      rgba(245, 158, 11, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.jaya-college-card:hover .jaya-college-img-overlay {
  opacity: 1;
}

.jaya-view-details-btn {
  background: white;
  color: #2563eb;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.jaya-view-details-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  color: #2563eb;
}

.jaya-college-content {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.jaya-college-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.jaya-college-location {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
}

.jaya-location-icon {
  color: #f59e0b;
  flex-shrink: 0;
}

.jaya-college-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.jaya-btn-primary-custom {
  background: linear-gradient(135deg, #2563eb, #1e40af);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.jaya-btn-primary-custom:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  color: white;
}

.jaya-btn-outline-custom {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  flex: 1;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.jaya-btn-outline-custom:hover {
  background: #2563eb;
  color: white;
  transform: translateY(-1px);
}

.jaya-college-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(245, 158, 11, 0.9);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.jaya-stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-top: 1px solid #e5e7eb;
  font-size: 0.8rem;
  color: #6b7280;
}

.jaya-stat-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (max-width: 768px) {
  .jaya-colleges-main-section {
    margin: 0;
    padding: 0;
    border-radius: 16px;
  }

  .jaya-colleges-section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .jaya-college-img-container {
    height: 160px;
  }

  .jaya-college-actions {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .jaya-colleges-section-title {
    font-size: 1.75rem;
  }

  .jaya-college-name {
    font-size: 1.1rem;
  }
}

.jaya-loading-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: jaya-loading 1.5s infinite;
}

@keyframes jaya-loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.jaya-fade-in {
  animation: jaya-fadeIn 0.6s ease-out;
}

@keyframes jaya-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* announcement */

.edu-announcement-wrapper-2024 {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #5a6cbb 0%, #190f6e 100%);
  overflow: hidden;
  box-shadow: 0 -8px 32px rgba(102, 126, 234, 0.2);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.edu-announcement-main-bar {
  display: flex;
  align-items: center;
  min-height: 60px;
  position: relative;
  overflow: hidden;
}

.edu-announcement-badge-label {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  font-weight: 700;
  font-size: 14px;
  padding: 20px 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 100%, 0 100%);
  min-width: 140px;
  text-align: center;
}

.edu-announcement-text-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  padding: 0 20px;
}

.edu-announcement-scroll-text {
  display: inline-block;
  animation: edu-announcement-scroll-left 25s linear infinite;
  white-space: nowrap;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.edu-announcement-scroll-text:hover {
  animation-play-state: paused;
}

.edu-admission-cta-link {
  color: #ffd700;
  text-decoration: none;
  font-weight: 700;
  margin-left: 15px;
  padding: 8px 16px;
  background: rgba(255, 215, 0, 0.2);
  border-radius: 20px;
  border: 2px solid #ffd700;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.edu-admission-cta-link:hover {
  background: #ffd700;
  color: #333;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  text-decoration: none;
}

.edu-admission-cta-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.edu-admission-cta-link:hover::after {
  transform: translateX(4px);
}

.edu-announcement-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  z-index: 3;
}

.edu-announcement-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.edu-announcement-pulse-dot {
  width: 8px;
  height: 8px;
  background: #ffd700;
  border-radius: 50%;
  display: inline-block;
  margin: 0 15px;
  animation: edu-announcement-pulse 2s infinite;
}

@keyframes edu-announcement-scroll-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes edu-announcement-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .edu-announcement-badge-label {
    font-size: 12px;
    padding: 15px 16px;
    min-width: 120px;
  }

  .edu-announcement-scroll-text {
    font-size: 14px;
  }

  .edu-admission-cta-link {
    font-size: 14px;
    padding: 6px 12px;
    margin-left: 10px;
  }

  .edu-announcement-text-container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .edu-announcement-badge-label {
    font-size: 11px;
    padding: 12px 12px;
    min-width: 50px;
  }

  .edu-announcement-scroll-text {
    font-size: 13px;
  }

  .edu-admission-cta-link {
    font-size: 12px;
    padding: 4px 8px;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .edu-announcement-scroll-text {
    animation: none;
  }

  .edu-announcement-pulse-dot {
    animation: none;
  }
}

/* Focus states for accessibility */
.edu-admission-cta-link:focus {
  outline: 3px solid #ffd700;
  outline-offset: 2px;
}

.edu-announcement-close-btn:focus {
  outline: 2px solid white;
  outline-offset: 2px;
}



/* Active nav item style */
.nav-link.active,
.offcanvas-body a.active,
.dropdown-item.active {
  font-weight: 700 !important;
  color: #0d6efd !important;
  /* Bootstrap primary blue */
}

/* Top-level active menu bold */
.offcanvas-body a.active {
  border-left: 3px solid #0d6efd;
  padding-left: 8px;
}

/* Active dropdown submenu */
.dropdown-item.active {
  background-color: rgba(13, 110, 253, 0.1) !important;
  border-radius: 5px;
}


/* Card styling for the partners section */
.recPartners {

  /* background: linear-gradient(to bottom, #f8f9fa, #eaecef); */
  overflow: hidden;
}

.recPartners .text-primary {
  position: relative;

}




.partners-marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.marquee-card-container {
  width: 100%;
  overflow: hidden;
}

.partners-marquee {
  display: flex;
  animation: scrollX 60s linear infinite;
  width: max-content;
  padding: 10px 0;
}

.partners-marquee:hover {
  animation-play-state: paused;
}

.partners-marquee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  margin: 0 18px;
  padding: 20px;
  min-width: 200px;
  height: 130px;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.partners-marquee-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #3498db, #2ecc71);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.partners-marquee-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.partners-marquee-item:hover::before {
  transform: translateY(0);
}

.partners-marquee-item img {
  max-width: 100%;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.partners-marquee-item:hover img {
  filter: grayscale(0%);
}

.partner-info {
  text-align: center;
  width: 100%;
}

.partner-name {
  font-weight: 600;
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-industry {
  font-size: 0.8rem;
  color: #7f8c8d;
  background-color: #f1f5f9;
  padding: 3px 8px;
  border-radius: 12px;
  display: inline-block;
}

/* Marquee animation */
@keyframes scrollX {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* Responsive adjustments */
@media (max-width: 768px) {
  .partners-marquee-item {
    min-width: 160px;
    height: 120px;
    margin: 0 12px;
    padding: 15px;
  }

  .partners-marquee-item img {
    height: 50px;
  }

  .partner-name {
    font-size: 0.9rem;
  }

  .partner-industry {
    font-size: 0.7rem;
  }

}


.btn-group {
  display: flex;
  flex-wrap: wrap;
}

.contact-wrapper {
  background: linear-gradient(135deg, #f9fafb, #edf2ff);
}

.contact-scroll::-webkit-scrollbar {
  width: 6px;
}

.contact-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.contact-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

.contact-card {
  padding: 1.5rem;
  margin: 0;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;

}

.contact-card+.contact-card {
  margin-top: 1.5rem;
}

.contact-card h5 {
  letter-spacing: 0.03em;
}

.contact-card p {
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.contact-card .btn.btn-primary {
  border-radius: 999px;
  padding-inline: 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
}

#collegeTabsSelect {
  border-radius: 999px;
  border-color: rgba(148, 163, 184, 0.6);
  font-size: 0.9rem;
}

#collegeTabsSelect:focus {
  box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.35);
  border-color: #3b82f6;
}

/* Desktop tabs styling */
.contact-nav-tabs .nav-tabs {
  border-bottom: 2px solid #f0f0e2ff;
  background-color: #032751ff;
  padding-bottom: 10px;
}

.contact-nav-tabs .nav-tabs .nav-link {
  border: none;
  color: #ffffffff;
  font-weight: 500;
  padding: 0.75rem 1.25rem;

  border-radius: 0;
}

.contact-nav-tabs .nav-tabs .nav-link:hover {
  color: #1da5c4ff;
  border-bottom-color: #93c5fd;
}

.contact-nav-tabs .nav-tabs .nav-link.active {
  color: #ffffffff !important;
  background: #1da5c4ff;

}

@media (max-width: 767.98px) {
  .contact-card {
    padding: 1.1rem;
  }
}

.contact-details h5 {
  text-align: center;
  border-bottom: 2px solid #e7e1dc;
  padding-top: 15px;
  padding-bottom: 15px;
}

.contact-details p {
  padding: 10px 5px;
}

.contact-details .text-muted {
  font-weight: 600;
}




/* ===============================
   Institute Card Wrapper
================================= */
.institute-card-wrapper {
  width: 100%;
  height: 100%;
}

/* ===============================
   Course Card
================================= */
.univ-course-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.univ-course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ===============================
   Card Image
================================= */
.univ-card-img {
  height: 220px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Dark overlay for readability */
.univ-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.45));
}

/* ===============================
   Card Content
================================= */
.univ-course-content {
  padding: 20px 18px;
  text-align: left;
  flex-grow: 1;
}

.univ-course-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 8px;
  text-align: center;
}

.univ-course-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
}

/* ===============================
   Anchor Reset
================================= */
.institute-card-wrapper a {
  color: inherit;
  display: block;
  height: 100%;
}

/* ===============================
   Swiper Fixes
================================= */
.swiper-slide {
  height: auto;
}

/* ===============================
   Responsive
================================= */
@media (max-width: 768px) {
  .univ-card-img {
    height: 180px;
  }

  .univ-course-title {
    font-size: 1rem;
  }

  .univ-course-content p {
    font-size: 0.9rem;
  }
}

.breadcrumb .breadcrumb-item a {
  text-decoration: none;
}

.breadcrumb {
  padding: 8px 20px;
  font-size: 14px;
}

.bannertop {
  position: relative;
  z-index: 1;
}

.bannertop::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  /* adjust darkness */
  z-index: -1;
}

.bannertop {
  background-image: url("../image/about/about.png");
  background-position: center center;
  background-size: cover;
  height: 250px;
  margin-top: -35px;
}

@media (max-width: 991px) {
  .bannertop {
    background-image: url("../image/about/about.png");
    background-position: center center;
    background-size: cover;
    height: 150px;
    margin-top: 5px;
  }
}

.bg-glass {
  background: rgba(255, 255, 255, 0.18);
  /* transparent white */
  backdrop-filter: blur(10px);
  /* the actual glass effect */
  -webkit-backdrop-filter: blur(10px);
  /* safari support */
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.breadcrumb-item a {
  color: #fff !important;
}

.breadcrumb-item {
  color: #fff !important;
}

.breadcrumb-item.active {
  color: #f4f4f4 !important;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: #fff !important;
}

.header-brand {
  gap: 15px;
}

.brand-logo img {
  max-height: 70px;
  width: auto;
}

.brand-text h4 {
  margin: 0;
  font-weight: 700;
  color: #0d3b66;
  /* purple tone */
  letter-spacing: 1px;
  text-align: left;
}

.brand-text p {
  margin: 0;
  font-size: 13px;
  color: #0d3b66;
  line-height: 1.4;
}

.brand-text span {
  color: #0d3b66;
  font-weight: 500;
}

.top-action-bar {
  gap: 10px;
}

/* Admission section */
.admission-text {
  font-size: 14px;
  font-weight: 500;
  color: #0d3b66;
}

.apply-btn1 {
  background: #2e6fac !important;
  color: #fff !important;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  
}

.apply-btn1:hover {
  background: #0a2f51 !important;
  color: #fff !important;
}

/* Divider */
.divider {
  width: 1px;
  height: 38px;
  background: #d1d5db;
}

/* Social section */
.social-title {
  font-size: 14px;
  font-weight: 600;
  color: #0d3b66;
}

.social-icons a {
  color: #111827;
  font-size: 18px;
  margin-right: 12px;
  transition: 0.2s;
}

.social-icons a:hover {
  color: #2e5b85;
}

.about-legacy-section {
  background: white;
  border-radius: 24px;
  margin: 40px auto;
  border: 1px solid rgba(135, 127, 127, 0.45);

  /* Subtle glass shine */
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.7),
    0 8px 24px rgba(0, 0, 0, 0.05);
}

/* Pills */
/* Pills – Blue Theme */
.section-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #9fb3cc;          /* soft blue */
  position: relative;
  padding-bottom: 8px;
  display: inline-block;
}

.section-pill::after {
  content: "";
  width: 30px;
  height: 2px;
  background: #6fa3d8;     /* accent blue */
  display: block;
  margin: 6px auto 0;
}


/* Headings */
.section-title1 {
  font-weight: 700;
  color: #1f1b4f;
}

.about-title {
  font-weight: 700;
  color: #1f1b4f;
  margin: 10px 0 20px;
}

/* Glassmorphism Cards */
.legacy-card {
  border-radius: 18px;
  padding: 18px;
  height: 100%;
  background: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(10px);          
  -webkit-backdrop-filter: blur(10px);  
  
  /* Border & Shadow */
  border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle edge highlight */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 
              inset 0 0 15px rgba(255, 255, 255, 0.05); 
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legacy-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.2);
}

.legacy-card h6 {
  color: #6b7280;
  font-weight: 600;
}

.legacy-card h5, .legacy-card h4 {
  color: #1f1b4f;
  font-weight: 800;
  margin: 12px 0;
}


/* Image */
.about-image-box {
  border-radius: 24px;
  overflow: hidden;
}


/* Button – Blue Theme */
.know-more-btn {
  background: #0d3b66;        /* primary blue */
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.know-more-btn:hover {
  background: #0b2f52;        /* darker blue on hover */
  color: #ffffff;
}


.legacy-wrapper {
  background: #ffffff;
  /* PURE WHITE OUTSIDE */
  padding: 18px;
  /* GAP */
  border-radius: 36px;
  margin: 60px auto;
  border: 4px solid #fbfbfb;
  /* SILVER BORDER */
  box-shadow: #d1d5db;
}

.legacy-inner {
  background:
    radial-gradient(circle at top left,
      rgba(111, 163, 216, 0.22),   /* soft blue glow */
      transparent 55%),
    radial-gradient(circle at bottom right,
      rgba(13, 59, 102, 0.18),    /* deep blue glow */
      transparent 55%),
    #ffffff;
  border-radius: 28px;
}


.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;
  display: flex;
}

/* SECTION TITLE */
.section-title {
  font-weight: 700;
  color: #0d3b66;          /* primary blue */
}

/* Thin outline – blue themed */
.legacy-wrapper {
  border: 4px solid rgba(13, 59, 102, 0.15);
}


/* CARD */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid rgb(179, 172, 172);
}

/* IMAGE */
.news-img {
  position: relative;
  height: 220px;
}

.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* DATE BADGE */
.event-date {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* LOCATION BADGE – BLUE THEME */
.event-location {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #0d3b66;          /* primary blue */
  color: #ffffff;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}


.event-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #c8f76b; /* light green */
  color: #000102;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 3;
}
  
/* CONTENT */
.news-content {
  padding: 16px;
}

.news-content h5 {
  font-weight: 600;
  color: #1f1b4f;
  margin-bottom: 8px;
  font-size: 16px;
}

.news-content p {
  font-size: 13.3px !important;
  color: #6b7280;
}

/* BUTTON */
.news-btn {
  padding: 0 16px 16px 16px;
}

.news-btn .btn {
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid #0d3b66;   /* primary blue */
  color: #0d3b66;
  background: transparent;
  transition: all 0.3s ease;
}

.news-btn .btn:hover {
  background: #0d3b66;
  color: #ffffff;
}


.news-heading {
  max-width: 790px;
  margin: 0 auto;
}

/* TOP PILL – Blue Theme */
.news-pill {
  font-weight: 600;
  letter-spacing: 1px;
  color: #0d3b66;          /* primary blue */
  display: inline-block;
  margin-bottom: 12px;
  position: relative;
}

/* SMALL LINE BEFORE TEXT */
.news-pill::before {
  content: "";
  width: 24px;
  height: 2px;
  background: #6fa3d8;     /* accent blue */
  display: inline-block;
  margin-right: 8px;
  vertical-align: middle;
}


/* TITLE */
.news-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

/* SUBTITLE */
.news-subtitle {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

/* ================================
   BASE CARD
================================ */
.inst-card {
  position: relative;
  height: 400px;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  color: #fff;

  /* default color (purple) */
  --card-color: 124, 58, 237;
}

/* ================================
   CARD COLOR VARIANTS
================================ */
.inst-card.purple {
  --card-color: 124, 58, 237;
}

.inst-card.green {
  --card-color: 22, 163, 74;
}

.inst-card.orange {
  --card-color: 234, 88, 12;
}

.inst-card.blue {
  --card-color: 37, 99, 235;
}

.inst-card.teal {
  --card-color: 13, 148, 136;
}

.inst-card.pink {
  --card-color: 219, 39, 119;
}

/* ================================
   BACKGROUND IMAGE
================================ */
.inst-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* ================================
   IMAGE COLOR TINT (ALWAYS VISIBLE)
================================ */
.inst-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background:
    linear-gradient(to top,
      rgba(0, 0, 0, 0.45),
      rgba(0, 0, 0, 0.15)),
    rgba(var(--card-color), 0.32);

  transition: background 0.35s ease;
}

/* ================================
   FRONT (DEFAULT VIEW)
================================ */
.inst-front {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 20px;

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  transition: opacity 0.3s ease;
}

.inst-front h3 {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
  text-transform: uppercase;
}

.inst-front p {
  font-size: 18px;
  margin-top: 6px;
  opacity: 0.95;
}

.inst-eye {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 18px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.45);
  padding: 5px 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.inst-eye {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}


/* Hover effect */
.inst-eye:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: scale(1.1);
}

/* ================================
   BACK (HOVER / CLICK VIEW)
================================ */
.inst-back {
  position: absolute;
  inset: 0;
  z-index: 4;

  background: rgba(var(--card-color), 0.32);
  backdrop-filter: blur(6px);

  padding: 10px 0 !important;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.35s ease;

  overflow-y: auto;
}

/* ================================
   SHOW BACK PANEL
================================ */
.inst-card:hover .inst-back,
.inst-card.active .inst-back {
  opacity: 1;
  transform: translateY(0);
}

.inst-card:hover .inst-front,
.inst-card.active .inst-front {
  opacity: 0;
}

/* ================================
   LIST ROWS (MATCH IMAGE)
================================ */
.inst-back h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  padding: 14px  14px !important;
  color: #fff;
}

.inst-back p {
  font-size: 13px;
  margin: 0;
  padding: 0 24px 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* ================================
   DIVIDER LINES
================================ */
.inst-back h4:not(:first-child) {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* ================================
   KNOW MORE LINK
================================ */
.inst-back a {
  display: inline-block;
  margin: 0 0px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.inst-back a:hover {
  text-decoration: underline;
}

/* ================================
   SCROLLBAR (CLEAN)
================================ */
.inst-back::-webkit-scrollbar {
  width: 6px;
}

.inst-back::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 10px;
}

.inst-back::-webkit-scrollbar-track {
  background: transparent;
}

/* ================================
   SWIPER HEIGHT FIX (IMPORTANT)
================================ */
.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  display: flex;
}

.inst-card {
  width: 100%;
}


.vision-section {
  background: #f8fcfb;
}

.section-pill {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #6366f1;
}

.vision-title {
  font-size: 32px;
  font-weight: 700;
  margin: 12px 0;
  color: #0f172a;
}

.vision-desc {
  font-size: 14px;
  color: #475569;
}

/* CHAIRMAN CARD */
.chairman-card {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  border: 1px solid #e5e7eb;
}

.chairman-card h6 {
  color: #2563eb;
  font-weight: 600;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.profile1 {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  align-items: center;
}

.profile1 img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile1 span {
  font-size: 13px;
  color: #64748b;
}

/* VIEWPORT */
.testimonial-marquee {
  height: 430px;
  /* visible area */
  overflow: hidden;
  position: relative;
}


/* ============================
   TRACK (DESKTOP DEFAULT)
============================ */
.testimonial-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: scrollUp 20s linear infinite;
}

/* ============================
   CARD
============================ */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  min-width: 260px;
  /* important for mobile */
}

.testimonial-card p {
  font-size: 14px;
  color: #475569;
}

.testimonial-card strong {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: #0f172a;
}

.testimonial-card span {
  font-size: 13px;
  color: #64748b;
}

/* ============================
   DESKTOP ANIMATION
============================ */
@keyframes scrollUp {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

/* ============================
   MOBILE VERSION
============================ */
@media (max-width: 992px) {

  .testimonial-marquee {
    height: auto;
    overflow: hidden;
    max-width: 95% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .testimonial-track {
    flex-direction: row;
    animation: scrollLeft 14s linear infinite;
    width: max-content;
  }

  .testimonial-card {
    flex: 0 0 auto;
    /* prevents shrinking */
    width: 80vw;
    /* one card visible */
    margin-right: 16px;
    max-width: 220px;
  }

  @keyframes scrollLeft {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }
}


/* educational service */
.partner-schools-section {
  padding: 20px 0 30px 0;
  background: #ffffff;
  overflow: hidden;
}

.partner-title {
  font-weight: 600;
  color: #1A237E;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

.partner-title .signature {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18px;
  width: 120px;
  height: 20px;
  background: url("../../Assets/Images/signature.png") no-repeat center;
  background-size: contain;
}

.partner-slider {
  width: 100%;
  overflow: hidden;
}

.partner-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollPartners 30s linear infinite;
}

.partner-card {
  min-width: 260px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 8px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

.partner-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.partner-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.partner-slider:hover .partner-track {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .partner-title {
    font-size: 1.6rem;
  }

  .partner-card {
    min-width: 220px;
    padding: 18px;
  }

  .partner-card h4 {
    font-size: 0.85rem;
  }
}

/* DESKTOP: normal grid */
@media (min-width: 768px) {
  .legacySwiper .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .legacySwiper .swiper-slide {
    width: 100% !important;
  }
}

/* MOBILE: slider */
@media (max-width: 767px) {
  .legacySwiper {
    overflow: hidden;
  }

  .legacySwiper .swiper-slide {
    display: flex;
    justify-content: center;
  }

}

/* ==============================
   LEGACY CARDS VISIBILITY FIX
============================== */

/* Default: desktop layout visible */
.legacy-desktop {
  display: block;
}

.legacy-mobile {
  display: none;
}

/* Mobile ONLY */
@media (max-width: 767.98px) {
  .legacy-desktop {
    display: none !important;
  }

  .legacy-mobile {
    display: block !important;
  }
}

.campus-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover !important;
  border: 2px solid silver;
}


/* Make middle image fill height */
@media (min-width: 992px) {
  .campus-img.h-100 {
    height: 100%;
  }
}


/* CHATBOT */

.chatbot-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 360px;
  height: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
  display: none;
  flex-direction: column;
  font-family: "Segoe UI", sans-serif;
  z-index: 9999;
}

.chatbot-header {
  background: #0d3b66;
  color: #fff;
  padding: 14px 16px;
  font-size: large;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header small {
  display: block;
  font-size: 12px;
  opacity: .9;
}

.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.chatbot-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f4f7fb;
  overscroll-behavior: contain;
}

.bot-message,
.user-message {
  max-width: 80%;
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.5;
}

.bot-message {
  background: #fff;
  align-self: flex-start;
}

.user-message {
  background: #0d3b66;
  color: #fff;
  align-self: flex-end;
}

.choice-btn {
  display: inline-flex;
  width: auto;
  margin-right: 5px;
  padding: 5px;
  margin-top: 8px;
  border: 1px solid #0d3b66;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
}

.choice-btn:hover {
  background: #0d3b66;
  color: #fff;
}

.chatbot-footer {
  padding: 10px;
  display: flex;
  gap: 8px;
  border-top: 1px solid #ddd;
}

.chatbot-footer input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.chatbot-footer button {
  padding: 10px 14px;
  background: #0d3b66;
  border: none;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 767px) {
  .chatbot-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 90%;
    height: 80%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .2);
    display: none;
    flex-direction: column;
    font-family: "Segoe UI", sans-serif;
    z-index: 9999;
  }
}

.contact-info-section .contact-info {
  text-decoration: none;
  padding: 6px 12px;
  background-color: #18438b;
  color: #fff;
  font-size: 14px;
}

.inst-back a {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.inst-back a:hover {
  text-decoration: underline;
}

.inst-back-center {
  display: flex;
  flex-direction: column;
  /* ⬅ stack texts vertically */
  justify-content: center;
  /* vertical (Y-axis) center */

}