/* ==========================================================================
   CVESW Global Custom Stylesheet
   Pure CSS (Desktop-First with max-width media queries)
   ========================================================================== */

/* Reset & Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: #f9f9ff;
  color: #121c2c;
  font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

.flex-grow {
  flex-grow: 1;
}

/* Global Container */
.container-max {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.padding {
  padding: 24px;
}

@media (max-width: 767px) {
  .container-max {
    padding-left: 20px;
    padding-right: 20px;
  }

  .padding {
    padding: 16px;
  }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Animations */
@keyframes blink-badge {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.15;
  }
}

.animate-blink {
  animation: blink-badge 1s infinite ease-in-out;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

/* Vertical Ticker Animation */
@keyframes vertical-ticker {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.ticker-track {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: vertical-ticker 30s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

/* Top Bar Header */
.top-header-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.top-bar {
  background-color: #111827;
  width: 100%;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.translate-container {
  display: flex;
  align-items: center;
}

/* Custom Language Selector Styling */
.custom-language-selector {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.custom-language-selector:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
}

.custom-language-selector i {
  color: #60a5fa;
  font-size: 0.875rem;
}

.custom-language-selector select {
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 0.8125rem;
  font-weight: 600;
  outline: none;
  cursor: pointer;
  font-family: inherit;
}

.custom-language-selector select option {
  background-color: #111827;
  color: #ffffff;
}

/* Hide Google Translate top banner frame & prevent body shift */
body {
  top: 0px !important;
  position: static !important;
}

.goog-te-banner-frame,
iframe.goog-te-banner-frame,
.skiptranslate>iframe {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  opacity: 0 !important;
}

#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffffff;
}

.social-links a {
  color: #ffffff;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}



/* Main Header */
.main-header {
  display: block;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 1023px) {
  .main-header {
    display: none;
  }
}

.main-header-inner {
  /*padding-top: 1rem;*/
  /*padding-bottom: 1rem;*/
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  /*gap: 80px;*/
}

@media (max-width: 1023px) {
  .main-header-inner {
    flex-direction: column;
  }
}

.logo-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: -1.5rem;
}

@media (max-width: 1023px) {
  .logo-container {
    margin-left: -0.5rem;
  }
}

@media (max-width: 767px) {
  .logo-container {
    height: 90px;
  }
}

.logo-container img {
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: left;
}

.header-action-buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

@media (max-width: 639px) {
  .header-action-buttons {
    flex-direction: column;
  }
}

.btn-helpline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1.5px solid #1b75d9;
  color: #1b75d9;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  transition: background-color 0.2s ease;
}

.btn-helpline:hover {
  background-color: #eff6ff;
}

.btn-admission {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0b5c92;
  color: #ffffff;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: background-color 0.2s ease;
}

.btn-admission:hover {
  background-color: #084872;
}

/* Sticky Header & Nav */
.sticky-site-header {
  width: 100%;
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Make Main Header + Navigation sticky together */
.sticky-header-group {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: #fff;
}

/* Prevent unwanted overlap */
.main-header {
  position: relative;
  z-index: 2;
}

.sticky-site-header {
  position: relative;
  z-index: 3;
  width: 100%;
}

.mobile-header-bar {
  display: none;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  /*padding-top: 0.75rem;*/
  /*padding-bottom: 0.75rem;*/
}

@media (max-width: 1023px) {
  .mobile-header-bar {
    display: block;
  }
}

.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo {
  height: 110px;
  display: flex;
  align-items: center;
}

@media (max-width: 767px) {
  .mobile-logo {
    height: 85px;
  }
}

.mobile-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.mobile-menu-toggle {
  color: #59667a;
  padding: 0.375rem;
  font-size: 1.75rem;
  transition: color 0.2s ease;
}

.mobile-menu-toggle:hover {
  color: #1b75d9;
}

.desktop-nav-wrapper {
  background-color: #ffffff;
  border-bottom: 1px solid #f3f4f6;
  display: block;
}

@media (max-width: 1023px) {
  .desktop-nav-wrapper {
    display: none;
  }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  justify-content: center;
}

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #59667a;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-link-item:hover {
  color: #1b75d9;
  transform: translateY(-2px);
}

.nav-link-item.active {
  color: #1b75d9;
  font-weight: 700;
}

.nav-link-item .nav-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.nav-link-item:hover .nav-icon {
  transform: scale(1.1);
}

.active-indicator {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #1b75d9;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.hover-indicator {
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #1b75d9;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  opacity: 0;
  transition: all 0.3s ease;
}

.nav-link-item:hover .hover-indicator {
  width: 100%;
  left: 0;
  opacity: 1;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #59667a;
  font-weight: 600;
  font-size: 0.875rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-btn {
  color: #1b75d9;
  transform: translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.25rem;
  display: none;
  background-color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid #f3f4f6;
  border-radius: 0.375rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  width: 12rem;
  z-index: 50;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block !important;
}

.nav-dropdown-item {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #59667a;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item:hover {
  color: #1b75d9;
  background-color: #f8fafc;
}

/* Mobile Dropdown Menu */
.mobile-menu {
  display: none !important;
  flex-direction: column;
  background-color: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 20px;
  gap: 0.5rem;
}

@media (max-width: 1023px) {
  .mobile-menu {
    display: none !important;
  }

  .mobile-menu.active {
    display: flex !important;
  }
}

.mobile-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e5e7eb;
}

@media (max-width: 639px) {
  .mobile-actions {
    flex-direction: column;
  }
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #59667a;
  font-weight: 600;
  font-size: 0.875rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(243, 244, 246, 0.5);
}

.mobile-nav-link.active {
  color: #1b75d9;
  font-weight: 700;
}

.mobile-nav-link:hover {
  color: #1b75d9;
}

.mobile-accreditation-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: #59667a;
  font-weight: 600;
  font-size: 0.875rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.mobile-sub-menu {
  display: none;
  flex-direction: column;
  padding-left: 1.75rem;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}

.mobile-sub-menu.active {
  display: flex;
}

.mobile-sub-link {
  color: #59667a;
  font-size: 0.875rem;
  font-weight: 500;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.mobile-sub-link:hover {
  color: #1b75d9;
}

/* Hero Section Carousel */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #ffffff;
  border-bottom: 1px solid #c4c6cf;
  width: 100%;
  height: 550px;
  z-index: 10;
}

@media (max-width: 1023px) {
  .hero-section {
    height: 450px;
  }
}

@media (max-width: 767px) {
  .hero-section {
    height: 300px;
  }
}

.carousel-slide {
  position: absolute;
  inset: 0;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 0;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 10;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.75rem;
  transition: background-color 0.2s ease;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px) {
  .carousel-control {
    padding: 0.5rem;
  }
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.carousel-control.prev {
  left: 1rem;
}

.carousel-control.next {
  right: 1rem;
}

.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}

.carousel-indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-indicator.active {
  background-color: #ffffff;
}

/* Welcome Section */
.welcome-section {
  background-color: #f0f3ff;
  padding-top: 50px;
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

@media (max-width: 1023px) {
  .welcome-grid {
    grid-template-columns: 1fr;
  }
}

.welcome-images-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.welcome-img-tall {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 1.5rem;
  border: 2px solid #a3d0ff;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(27, 117, 217, 0.15);
}

.welcome-img-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-right-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.welcome-badge-card {
  background: linear-gradient(135deg, #46b3ff 0%, #1b75d9 100%);
  border-radius: 1.25rem;
  padding: 1.75rem 1.25rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 20px -3px rgba(27, 117, 217, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.welcome-badge-card .badge-number {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.welcome-badge-card .badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.5rem;
  opacity: 0.95;
}

.welcome-img-short {
  width: 100%;
  flex: 1;
  border-radius: 1.5rem;
  border: 2px solid #a3d0ff;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(27, 117, 217, 0.15);
}

.welcome-img-short img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.welcome-content {
  display: flex;
  flex-direction: column;
}


.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #0b5c92;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
  width: fit-content;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-read-more:hover {
  background-color: #084872;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.btn-read-more i {
  font-size: 0.875rem;
  transition: transform 0.2s ease;
}

.btn-read-more:hover i {
  transform: translate(2px, -2px);
}

/* Why Choose Us Section */
.why-choose-section {

  background-color: #f9f9ff;
}

.section-title {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.5rem;
  color: #121c2c;
  margin-bottom: 0.5rem;
}

.section-desc {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #43474e;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 767px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
}

.why-card {
  background-color: #ffffff;
  border: 1px solid #d1d5db;
  padding: 2rem;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.why-card:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
}

.why-card .card-icon {
  font-size: 42px;
  color: white;
  transition: transform 0.3s ease;
}

.why-card:hover .card-icon {
  transform: scale(1.1);
}

.why-card h3 {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: white;
  text-transform: uppercase;
}

.why-card p {
  font-size: 14px;
  color: white;
  line-height: 1.625;
  max-width: 260px;
}

/* Highlighted Why Card */
.why-card-highlighted {
  background-color: #002045;
  border: 1px solid #002045;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.why-card-highlighted:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px -5px rgba(0, 32, 69, 0.3);
}

.why-card-highlighted .card-icon {
  font-size: 42px;
  color: #ffffff;
}

.why-card-highlighted h3 {
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}

.why-card-highlighted p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.625;
  max-width: 260px;
}

/* Alternate cards: Light → Dark Blue → Light → Dark Blue */
.why-choose-grid> :nth-child(odd) {
  background-color: #0b5c92;
  border-color: #d1d5db;
}

.why-choose-grid> :nth-child(even) {
  background-color: #002045;
  border-color: #002045;
}

/* White text and icons on dark blue cards */
.why-choose-grid> :nth-child(even) h3,
.why-choose-grid> :nth-child(even) .card-icon {
  color: #ffffff;
}

.why-choose-grid> :nth-child(even) p {
  color: rgba(255, 255, 255, 0.85);
}

.stats-strip {
  background-color: #273141;
  background-image: url('../images/students_discussion.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 24px;
  padding-bottom: 24px;
  border-top: 1px solid #4b5563;
  border-bottom: 1px solid #4b5563;
  position: relative;
  overflow: hidden;
}

/* Dark Overlay */
.stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(39, 49, 65, 0.85);
  z-index: 0;
}

/* Keep content above overlay */
.stats-strip>* {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: transform 0.3s ease;
  cursor: default;
  position: relative;
  padding: 0 12px;
}

.stat-item:not(:first-child) {
  border-left: 1px solid rgba(107, 114, 128, 0.5);
}

@media (max-width: 767px) {
  .stat-item:not(:first-child) {
    border-left: none;
  }
}

.stat-item:hover {
  transform: translateY(-8px);
}

/* Teardrop Logo Container */
.teardrop-container {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.teardrop-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1.5px dashed rgba(255, 255, 255, 0.6);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg) scale(1.1);
  transition: transform 0.7s ease-in-out;
}

.stat-item:hover .teardrop-back {
  transform: rotate(180deg) scale(1.1);
}

.teardrop-front {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #59a5d8 0%, #1b75d9 100%);
  border-radius: 50% 50% 50% 0;
  transform: rotate(45deg);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: transform 0.7s ease-in-out;
}

.stat-item:hover .teardrop-front {
  transform: rotate(-90deg);
}

.teardrop-icon {
  position: relative;
  z-index: 10;
  color: #ffffff;
  font-size: 32px;
  transition: transform 0.5s ease;
}

.stat-item:hover .teardrop-icon {
  transform: scale(1.25) translateY(-4px);
}

.stat-number {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #adc7f7;
  transition: all 0.3s ease;
  z-index: 10;
}

.stat-item:hover .stat-number {
  transform: scale(1.1);
  color: #ffffff;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
  z-index: 10;
}

/* Courses Section */
.courses-section {

  background-color: #f0f3ff;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 767px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }
}

.course-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #c4c6cf;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  gap: 1rem;
  transition: all 0.3s ease;
}

.course-card:hover {
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
  transform: translateY(-8px);
}

.course-img-wrapper {
  width: 100%;
  height: 208px;
  overflow: hidden;
  border-radius: 0.5rem;
  position: relative;
}

.course-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.course-title {
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  color: #002045;
}

.btn-explore-more {
  background-color: #002045;
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.btn-explore-more:hover {
  background-color: #1b75d9;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-explore-more i {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.btn-explore-more:hover i {
  transform: translateX(4px);
}

/* Admission Section */
.admission-section {
  position: relative;
  overflow: hidden;
  background-color: #001730;
}

.admission-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  user-select: none;
}

.admission-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.admission-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 23, 48, 0.75);
}

.admission-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

@media (max-width: 767px) {
  .admission-grid {
    grid-template-columns: 1fr;
  }
}

.admission-card {
  background-color: #ffffff;
  border-radius: 0.875rem;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.admission-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.admission-header {
  background: linear-gradient(135deg, #001730 0%, #002c5c 100%);
  padding: 1.125rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 3px solid #ffb703;
}

@media (max-width: 767px) {
  .admission-header {
    padding: 0.875rem 1.125rem;
  }
}

.admission-header-icon {
  width: 2.625rem;
  height: 2.625rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  background: linear-gradient(135deg, #ffb703 0%, #d97706 100%);
  box-shadow: 0 3px 10px rgba(255, 183, 3, 0.3);
  font-size: 20px;
}

.admission-header h2 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.125rem;
}

@media (max-width: 767px) {
  .admission-header h2 {
    font-size: 1.05rem;
  }
}

.admission-header p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  line-height: 1.45;
  margin-top: 2px;
}

.admission-body {
  padding: 1.125rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .admission-body {
    padding: 1rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (max-width: 767px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
}

.input-field-wrap {
  position: relative;
  width: 100%;
}

.input-field-wrap i.input-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0b5c92;
  font-size: 0.9375rem;
  pointer-events: none;
}

.input-field-wrap i.select-arrow {
  position: absolute;
  right: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: #0b5c92;
  font-size: 0.875rem;
  pointer-events: none;
}

.form-input {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  height: 2.5rem;
  padding: 0 0.875rem 0 2.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  background-color: #f8fafc;
  outline: none;
  transition: all 0.2s ease;
}

.form-input::placeholder {
  color: #64748b;
  font-weight: 400;
}

.form-input:focus {
  border-color: #0b5c92;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 92, 146, 0.12);
}

.form-select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  padding-right: 2.25rem !important;
  cursor: pointer;
}

.form-textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  padding: 0.5rem 0.875rem 0.5rem 2.4rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  background-color: #f8fafc;
  height: 3.25rem;
  outline: none;
  transition: all 0.2s ease;
  resize: none;
  font-family: inherit;
}

.form-textarea::placeholder {
  color: #64748b;
  font-weight: 400;
}

.form-textarea:focus {
  border-color: #0b5c92;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 92, 146, 0.12);
}

.captcha-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.625rem;
  padding: 0.5rem 0.875rem;
  background-color: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
}

.captcha-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #002045;
  border-radius: 0.25rem;
  padding: 0.35rem 0.625rem;
  border: 1px solid #08376e;
}

.captcha-badge i {
  color: #ffb703 !important;
  font-size: 0.9375rem !important;
}

.captcha-code {
  color: #ffb703;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: 0.08em;
  font-family: 'Courier New', Courier, monospace;
}

.captcha-input {
  width: 7.25rem !important;
  height: 2.375rem !important;
  padding-left: 0.625rem !important;
  font-size: 0.875rem !important;
}

.btn-enroll {
  width: 100%;
  background: linear-gradient(135deg, #0b5c92 0%, #084872 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  height: 2.625rem;
  border-radius: 0.375rem;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(11, 92, 146, 0.3);
}

.btn-enroll:hover {
  background: linear-gradient(135deg, #084872 0%, #002045 100%);
  box-shadow: 0 6px 16px rgba(11, 92, 146, 0.4);
  transform: translateY(-1px);
}

.btn-enroll i {
  font-size: 0.9375rem;
  transition: transform 0.2s ease;
}

.btn-enroll:hover i {
  transform: translateX(3px);
}

/* Notifications Ticker Container */
.notifications-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  color: #ffffff;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}

@media (max-width: 767px) {
  .notifications-wrapper {
    padding: 1rem;
  }
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notifications-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notifications-bell-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f87171;
  flex-shrink: 0;
}

.notifications-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
}

@media (max-width: 767px) {
  .notifications-header h2 {
    font-size: 1.25rem;
  }
}

.view-all-link {
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.view-all-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.ticker-container {
  position: relative;
  overflow: hidden;
  height: 360px;
  width: 100%;
  padding-right: 0.5rem;
}

.ticker-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  border-radius: 0.5rem;
  transition: background-color 0.2s ease;
}

.ticker-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.badge-new-small {
  background-color: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  margin-top: 0.25rem;
  flex-shrink: 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.ticker-icon-wrap {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  font-size: 16px;
}

.ticker-text {
  color: #ffffff;
  font-size: 0.875rem;
  line-height: 1.625;
  font-weight: 500;
}

/* Gallery Section */
.gallery-section {

  background-color: #f0f3ff;
  border-top: 1px solid rgba(196, 198, 207, 0.3);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1023px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.gallery-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  background-color: #e7eeff;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  position: absolute;
  inset: 0;
  background-color: rgba(0, 32, 69, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 1rem;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  font-size: 1.875rem;
  margin-bottom: 0.25rem;
}

.gallery-overlay span {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
}

/* Lightbox Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.gallery-modal.active {
  display: flex;
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 2.25rem;
  transition: all 0.2s ease;
  padding: 0.5rem;
  border-radius: 9999px;
}

.modal-close-btn:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: scale(1.15);
}

.modal-content-wrap {
  max-width: 56rem;
  max-height: 85vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Video Section */
.video-section {
  background-image: url(../images/students_discussion.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #002045;
  position: relative;
}

.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 23, 48, 0.9);
  z-index: 0;
}

/* Keep all content above the overlay */
.video-section .container-max {
  position: relative;
  z-index: 1;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 767px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-player-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background-color: #e7eeff;
}

.video-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.video-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.video-info h3 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .video-info h3 {
    font-size: 1.5rem;
  }
}

.video-info p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.625;
}

/* Marquee Carousel Section */
.marquee-section {

  background-color: #f0f3ff;
  border-top: 1px solid rgba(196, 198, 207, 0.3);
}

.marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  user-select: none;
}

.logo-box {
  background-color: #ffffff;
  padding: 10px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 6rem;
  width: 11rem;
  border: 1px solid rgba(196, 198, 207, 0.3);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: border-color 0.2s ease;
}

.logo-box:hover {
  border-color: #002045;
}

.logo-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Footer Section */
.footer-info-section {
  background-color: #273141;
  background-image: url(../images/students_discussion.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid rgba(196, 198, 207, 0.3);
  position: relative;
  overflow: hidden;
}

/* Dark Overlay */
.footer-info-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 23, 48, 0.9);
  z-index: 0;
}

/* Keep footer content above overlay */
.footer-info-section .footer-info-container {
  position: relative;
  z-index: 1;
}

.footer-info-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 32, 69, 0.2);
  border: 1px solid rgba(0, 32, 69, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  width: max-content;
}

.footer-badge span {
  font-size: 0.875rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.footer-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #d9e3f9;
}

.footer-links-wrap a {
  transition: color 0.2s ease;
}

.footer-links-wrap a:hover {
  color: #7d5700;
}

.footer-links-wrap .separator {
  opacity: 0.3;
}

.badge-new {
  background-color: #dc2626;
  color: #ffffff;
  font-size: 10px;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  margin-left: 0.25rem;
}

/* Main Site Footer */
.site-footer {
  width: 100%;
  background-color: #111827;
  border-top: 1px solid rgba(196, 198, 207, 0.1);
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 767px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand {
  font-family: 'IBM Plex Serif', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.025em;
}

.footer-desc {
  font-size: 0.875rem;
  color: #d9e3f9;
  max-width: 24rem;
}

.footer-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (max-width: 767px) {
  .footer-sub-grid {
    grid-template-columns: 1fr;
  }
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: #d9e3f9;
  transition: color 0.2s ease;
}

.footer-nav-col a:hover {
  color: #ffffff;
}

.copyright-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
}

.copyright-text {
  font-size: 0.875rem;
  color: #d9e3f9;
}

/* Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background-color: #0b5c92;
  color: #ffffff;
  border-radius: 9999px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 24px;
}

.back-to-top-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top-btn:hover {
  background-color: #084872;
  transform: scale(1.1);
}

.back-to-top-btn:active {
  transform: scale(0.95);
}

/* Up and Down Animations */
@keyframes moveUpDown {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.animate-up-down {
  animation: moveUpDown 5s ease-in-out infinite;
}

@keyframes moveUpDownBg {

  0%,
  100% {
    background-position-y: 0%;
  }

  50% {
    background-position-y: 15%;
  }
}

.bg-animate-up-down {
  animation: moveUpDownBg 5s ease-in-out infinite;
}