/* Theme colors */
:root {
  --bv-primary: #0a3d91; /* deep blue like reference */
  --bv-primary-600: #072e6d;
  --bv-accent: #ffc107; /* yellow accent */
  --bv-sky: #e7f6ff; /* light sky bg */
  --bv-bg: #f8f9fb;
}

/* Spacing utilities */
.section-padding { padding: 72px 0; }
.pt-6 { padding-top: 88px; }

/* Navbar */
#mainNav .nav-link { color: rgb(0,20,64); }
#mainNav .nav-link:hover, #mainNav .nav-link:focus { color: var(--bv-primary); }
#mainNav .navbar-brand { color: rgb(0,20,64) !important; }
.brand-logo { height: 36px; width: auto; object-fit: contain; }
.brand-badge { background: var(--bv-accent); color: #1f2937; padding: 6px 10px; border-radius: 8px; font-weight: 800; letter-spacing: .2px; }

/* Buttons */
.btn-primary { background-color: var(--bv-primary); border-color: var(--bv-primary-600); }
.btn-primary:hover { background-color: var(--bv-primary-600); border-color: var(--bv-primary-600); }
.btn-warning { background-color: #EA9423; border-color: #e0aa06; color: #ffffff; }
.btn-warning:hover { background-color: #ffca2c; border-color: #e0aa06; color: #111827; }

/* Button auto bounce animation */
.bv-transition {
  color: #ffffff;
  background: #e99204;
  animation: bounceButton 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

@keyframes bounceButton {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(10, 61, 145, 0.2);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(10, 61, 145, 0.4);
  }
}

.bv-transition:hover {
  animation-play-state: paused;
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(10, 61, 145, 0.5);
}

.bv-transition:active {
  transform: scale(0.95);
  transition: all 0.1s ease;
}

/* Hero */
.hero-section {
  position: relative;
  background: url('../img/banner-1.png') center bottom/cover no-repeat;
  padding-bottom: 0;
  overflow: hidden;
}

/* Cloud Animation */
.cloud-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.cloud {
  position: absolute;
  opacity: 0.8;
  z-index: 1;
}

.cloud-main {
  width: 200px;
  height: 120px;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation: floatCloudMain 60s ease-in-out infinite;
  z-index: 2;
}

@keyframes floatCloudMain {
  0% {
    transform: translateX(-50%) translateY(0);
  }
  25% {
    transform: translateX(-40%) translateY(-5px);
  }
  50% {
    transform: translateX(-50%) translateY(3px);
  }
  75% {
    transform: translateX(-60%) translateY(-2px);
  }
  100% {
    transform: translateX(-50%) translateY(0);
  }
}


/* Hero typography */
.hero-eyebrow { font-size: .9rem; padding: 8px 12px; box-shadow: 0 4px 12px rgba(0,0,0,.08); }
.hero-title { font-size: clamp(1.8rem, 2.6vw + 1rem, 3rem); font-weight: 800; color: #fff; line-height: 1.15; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hero-highlight { color: #ffda57; }
.hero-lead { color: #eef3ff; font-size: clamp(1rem, .6vw + .9rem, 1.2rem); text-shadow: 0 1px 8px rgba(0,0,0,.2); }
.hero-divider { width: 80px; height: 6px; background: linear-gradient(90deg, #ffd54d, #ffffff); border-radius: 999px; }

/* Hero KPI style like sample */
.hero-pill {
  font-size: 30px;
  color: #eaf2ff;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 999px;
  max-width: 560px;
  font-weight: 800;
  letter-spacing: .5px;
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.hero-kpis .kpi-line { font-size: 1rem; letter-spacing: .3px; }
.hero-kpis .kpi-accent { font-size: 1.4rem; }
.text-accent { color: #EA9423}
.hero-card { border-radius: 16px; }
.stat-item { background: #fff; border-radius: 12px; padding: 12px 14px; box-shadow: 0 1px 0 rgba(16,24,40,.04); }

/* Hero image */
.hero-image {
  text-align: center;
  padding: 20px 0;
  position: relative;
  z-index: 3;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  width: 100%;
  max-width: 579px;
}

/* Floating Airplane */
.airplane {
  position: absolute;
  width: 150px;
  height: auto;
  top: 15%;
  left: -200px;
  z-index: 4;
  animation: flyAirplane 8s linear forwards;
}

@keyframes flyAirplane {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(35vw);
  }
}

/* Small Cloud near Airplane */
.small-cloud-container {
  position: absolute;
  top: 15%;
  left: 35vw;
  width: 100px;
  height: 60px;
  z-index: 5;
  pointer-events: none;
}

.small-cloud {
  position: absolute;
  width: 70px;
  height: 45px;
  opacity: 0.8;
  top: 50%;
  left: -50%;
  transform: translate(-50%, -50%);
  animation: floatSmallCloud 6s ease-in-out infinite;
}

@keyframes floatSmallCloud {
  0% {
    transform: translate(-50%, -50%) translateX(0) translateY(0);
  }
  25% {
    transform: translate(-50%, -50%) translateX(8px) translateY(-3px);
  }
  50% {
    transform: translate(-50%, -50%) translateX(0) translateY(2px);
  }
  75% {
    transform: translate(-50%, -50%) translateX(-8px) translateY(-1px);
  }
  100% {
    transform: translate(-50%, -50%) translateX(0) translateY(0);
  }
}

/* Hero aside + smaller form */
.hero-aside { max-width: 520px; margin-left: auto; position: relative; z-index: 3; }
.hero-form { 
  max-width: 520px; 
  margin-left: auto; 
  position: relative; 
  z-index: 3;
  box-shadow: rgba(1, 39, 54, 0.6) 0px 4px 0px 0px !important;
}
.hero-form h2 { font-weight: 700; font-size: 20px; line-height: 32px; color: rgb(0,20,64); }

/* Gift Box Image */
.gift-box-img {
  max-width: 350px;
  height: auto;
  border-radius: 12px;
  animation: gentleSway 4s ease-in-out infinite;
}

@keyframes gentleSway {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(-2deg);
  }
  75% {
    transform: rotate(2deg);
  }
}

/* Facility description */
.facility-description {
  font-size: 1.3rem;
  line-height: 1.3;
  font-weight: 300;
  color: #ffffff !important;
  max-width: 750px !important;
}

/* Intro section styling */
.intro-section {
  background: 
    url('../img/banner-2.png') center top/cover no-repeat,
    linear-gradient(135deg, #e7f6ff 0%, #f0f8ff 100%);
  position: relative;
  margin-top: -51px;
  padding-top: 120px;
}


/* Statistics cards - horizontal layout */
.stat-card-horizontal {
  background: #fff;
  border-radius: 8px;
  padding: 12px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
  border: 1px solid rgba(0,0,0,.05);
  transition: transform .3s ease, box-shadow .3s ease;
  min-height: 70px;
  position: relative;
  z-index: 2;
}

.stat-card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.stat-icon-small {
  width: 40px;
  height: 40px;
  background: var(--bv-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 2px;
}

.stat-text {
  color: rgb(0,20,64);
  font-weight: 600;
  font-size: .75rem;
  line-height: 1.1;
  word-wrap: break-word;
}

/* Facility images with tilt effect */
.facility-image {
  position: relative;
  transform: rotate(-2deg);
  transition: transform .3s ease;
  margin: 15px 0;
}

.facility-image:nth-child(2) {
  transform: rotate(1deg);
}

.facility-image:nth-child(3) {
  transform: rotate(-1deg);
}

.facility-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.facility-image img {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Policy text */
.policy-text {
  color: rgb(0,20,64);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}

/* Policy banners */
.policy-banner {
  background: linear-gradient(90deg, #ffffff 0%, #fff3cd 30%, #EA9423 100%);
  border-radius: 12px;
  padding: 10px 20px;
  margin-bottom: 10px;
  box-shadow: 0 3px 12px rgba(255,193,7,.15);
}

.policy-banner-text {
  color: rgb(0,20,64);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
  line-height: 1.3;
}

/* Training Section Styling */
.training-title {
  color: #001440 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  text-align: center;
  line-height: 1.3;
}

.training-list {
  list-style: none;
  padding-left: 0;
  color: #333333;
  font-size: 1rem;
  line-height: 1.6;
}

.training-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.training-list li:before {
  content: "-";
  position: absolute;
  left: 0;
  color: #333333;
  font-weight: bold;
}

.training-list strong {
  color: #001440;
  font-weight: 700;
}

/* Job Section Styling */
.job-title {
  color: #001440 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  text-align: center;
  line-height: 1.3;
}

.job-list {
  list-style: none;
  padding-left: 0;
  color: #333333;
  font-size: 1rem;
  line-height: 1.6;
}

.job-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.job-list li:before {
  content: "-";
  position: absolute;
  left: 0;
  color: #333333;
  font-weight: bold;
}

/* Facility Section Styling */
.facility-title {
  color: #001440 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  text-align: center;
  line-height: 1.3;
}

.facility-list {
  list-style: none;
  padding-left: 0;
  color: #333333;
  font-size: 1rem;
  line-height: 1.6;
}

.facility-list li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
}

.facility-list li:before {
  content: "-";
  position: absolute;
  left: 0;
  color: #333333;
  font-weight: bold;
}

.facility-list strong {
  color: #001440;
  font-weight: 700;
}

/* Experience Section Styling */
.experience-title {
  color: #001440 !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  text-align: center;
  line-height: 1.3;
}

.experience-text {
  color: #333333;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}

.experience-text strong {
  color: #001440;
  font-weight: 700;
}

/* Responsive for experience section */
@media (max-width: 768px) {
  .experience-title {
    font-size: 1.2rem !important;
  }
  
  .experience-text {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .facility-title {
    font-size: 1.2rem !important;
  }
  
  .facility-list {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .job-title {
    font-size: 1.2rem !important;
  }
  
  .job-list {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .feature-card {
    max-width: 280px;
    margin: 0 auto 65px auto;
    min-height: 300px;
  }
  
  .feature-index {
    width: 32px;
    height: 32px;
    top: -16px;
    right: -16px;
    font-size: 0.9rem;
  }
}
.title-image {
  max-width: 350px;
  height: auto;
  margin: 0 auto;
  display: block;
}

/* Responsive for title image */
@media (max-width: 768px) {
  .title-image {
    max-width: 280px;
  }
}

/* Global Font */
* {
  font-family: 'Montserrat', sans-serif !important;
}

body {
  font-family: 'Montserrat', sans-serif !important;
}

/* Intro Section Background */
.intro-section .row {
  background-image: url('../img/dia-cau-bg.png');
  background-size: 300px auto;
  background-position: left center;
  background-repeat: no-repeat;
  min-height: 300px;
}

/* Responsive Improvements */

/* Mobile Navigation */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }
}

/* Hero Section Responsive */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 4rem !important;
    padding-bottom: 2rem !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-subtitle {
    font-size: 1.1rem !important;
  }
  
  .hero-form {
    margin-top: 2rem;
  }
}

/* Feature Cards Responsive */
@media (max-width: 768px) {
  .feature-card {
    max-width: 100%;
    margin: 0 auto 2rem auto;
  }
  
  .feature-index {
    width: 28px;
    height: 28px;
    top: -14px;
    right: -14px;
    font-size: 0.8rem;
  }
}

/* Contact Buttons Responsive */
@media (max-width: 480px) {
  .contact-buttons {
    right: 10px;
    gap: 10px;
  }
  
  .contact-btn {
    width: 40px;
    height: 40px;
  }
  
  .contact-btn i {
    font-size: 16px;
  }
}

/* Logo Responsive */
@media (max-width: 768px) {
  .brand-logo {
    max-width: 150px;
  }
  
  .footer-logo {
    max-width: 200px;
  }
}

/* Intro Section Background Responsive */
@media (max-width: 768px) {
  .intro-section .row {
    background-size: 200px auto;
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .intro-section .row {
    background-size: 150px auto;
    min-height: 200px;
  }
}

/* Text Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem !important;
  }
  
  .training-title,
  .job-title,
  .facility-title,
  .experience-title {
    font-size: 1.1rem !important;
  }
  
  .training-list,
  .job-list,
  .facility-list,
  .experience-text {
    font-size: 0.9rem;
  }
}

/* Navbar Menu Styling */
.navbar-nav .nav-link {
  color: #001440 !important;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 0.5rem 1.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-item {
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: #e99000 !important;
}

/* Responsive for navbar */
@media (max-width: 991px) {
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
}
.contact-buttons {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  position: relative;
}

.contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.phone-btn {
  background: #e99000;
  border: 2px solid #ffd700;
  color: #001440;
}

.phone-btn:hover {
  background: #d17f00;
  color: #001440;
}

.messenger-btn {
  background: #0084ff;
  color: white;
}

.messenger-btn:hover {
  background: #0066cc;
  color: white;
}

.facebook-btn {
  background: #1877f2;
  color: white;
}

.facebook-btn:hover {
  background: #166fe5;
  color: white;
}

.contact-btn i {
  font-size: 20px;
}

/* Responsive for contact buttons */
@media (max-width: 768px) {
  .contact-buttons {
    right: 15px;
    gap: 12px;
  }
  
  .contact-btn {
    width: 45px;
    height: 45px;
  }
  
  .contact-btn i {
    font-size: 18px;
  }
}
.brand-logo {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

/* Responsive for header logo */
@media (max-width: 768px) {
  .brand-logo {
    max-width: 150px;
    height: auto;
  }
}
.footer-logo {
  max-width: 250px;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Responsive for footer logo */
@media (max-width: 768px) {
  .footer-logo {
    max-width: 200px;
    height: auto;
  }
}
.group-image {
  max-width: 100%;
  height: auto;
  transform: scale(1.1);
}

/* Responsive for group image */
@media (max-width: 768px) {
  .group-image {
    transform: scale(1.05);
  }
}

@media (max-width: 480px) {
  .title-image {
    max-width: 220px;
  }
}
.overlapping-banners {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px auto;
  height: 60px;
  width: 100%;
}

.banner-bottom {
  background: #001440;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  z-index: 1;
  min-width: 220px;
  text-align: center;
}

.banner-top {
  background: #e99000;
  color: white;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  display: inline-block;
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  text-align: center;
}

/* Responsive for overlapping banners */
@media (max-width: 768px) {
  .overlapping-banners {
    height: 50px;
    margin: 20px auto;
  }
  
  .banner-bottom {
    padding: 10px 20px;
    font-size: 1rem;
    min-width: 180px;
  }
  
  .banner-top {
    padding: 8px 16px;
    font-size: 0.9rem;
    min-width: 140px;
    top: -8px;
  }
}

/* Majors title banner */
.majors-title-banner {
  background: #ffffff;
  border: 2px solid var(--bv-primary);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: rgba(1, 38, 54, 0.6) 0px 4px 0px 0px;
  max-width: 700px;
}

.majors-title-icon {
  color: #001440;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
}

.majors-title-text {
  color: #001440;
  font-weight: 700;
  font-size: 1.9rem;
  letter-spacing: 0.5px;
}

/* Cards */
.major-card { border: 1px solid #edf1f7; border-radius: 14px; overflow: hidden; }
.major-card .card-img-top { height: 180px; object-fit: cover; }
.major-card h3 { color: var(--bv-primary) !important; }

/* Filter buttons styling */
#majorFilters .btn-outline-primary {
  background-color: #fff !important;
  border-color: var(--bv-primary) !important;
  color: var(--bv-primary) !important;
}

#majorFilters .btn-outline-primary:hover {
  background-color: var(--bv-primary) !important;
  border-color: var(--bv-primary) !important;
  color: #fff !important;
}

#majorFilters .btn-outline-primary.active {
  background-color: var(--bv-primary) !important;
  border-color: var(--bv-primary) !important;
  color: #fff !important;
}

/* Section variants */
.section-blue {
  /* deep blue with subtle grid pattern */
  background: 
    url('../img/background-bvp.jpg') center center/cover no-repeat,
    linear-gradient(rgba(10,61,145,.8), rgba(10,61,145,.8)),
    repeating-linear-gradient(
      to right,
      rgba(255,255,255,.07) 0 1px,
      transparent 1px 72px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.07) 0 1px,
      transparent 1px 72px
    );
  color: #fff;
}
.section-blue .text-secondary { color: rgba(255,255,255,.8) !important; }
.section-sky { background: var(--bv-sky); }

/* Partners section */
.partners-section {
  background: url('../img/footer.png') center center/cover no-repeat;
}

.partners-section .ribbon-title span {
  background: var(--bv-primary);
  color: #fff;
}

.partners-section p {
  color: rgb(108, 117, 125) !important;
}

.partner-logo { 
  opacity: 1; 
  filter: none;
  max-height: 60px;
}

/* Ribbon title */
.ribbon-title {
  position: relative;
  display: inline-block;
  padding: 0;
  text-align: center;
  width: 100%;
}
.ribbon-title span {
  display: inline-block;
  background: #fff;
  color: var(--bv-primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .5px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
}

/* Wave dividers */
.wave-bottom svg { display: block; width: 100%; height: 80px; }
.wave-invert svg path { transform: scaleY(-1); transform-origin: center; }

/* Feature cards */
.feature-card {
  background: #fff;
  border-radius: 14px;
  padding: 16px;
  box-shadow: rgba(1, 38, 54, 0.6) 0px 4px 0px 0px;
  margin-bottom: 70px;
  position: relative;
  max-width: 320px;
  margin: 0 auto 70px auto;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.feature-index {
  width: 36px; height: 36px; border-radius: 50%;
  background: #e99000;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; margin-bottom: 6px;
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 10;
}
.feature-card h3 {
  color: var(--bv-primary);
  font-weight: 700;
}

/* Facility thumbnails */
.facility-thumb {
  width: 120px;
  height: 80px;
  object-fit: cover;
  transition: transform .3s ease, box-shadow .3s ease;
  cursor: pointer;
}

.facility-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,.2) !important;
}

.facility-thumb.active {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0,0,0,.3) !important;
  border: 3px solid #e99000;
}
.partner-logo { 
  opacity: 1; 
  filter: none;
}

/* Links */
a { color: var(--bv-primary); }
a:hover { color: var(--bv-primary-600); }

/* Footer */
.footer .footer-logo { max-width: 250px; height: auto; object-fit: contain; }
.footer .footer-list span { color: rgb(0,20,64); }

/* Back to top */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

/* Responsive tweaks */
@media (max-width: 991px) {
  /* Mobile hero adjustments */
  .hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
    background-position: center center;
  }
  
  /* Cloud mobile adjustments */
  .cloud-main {
    width: 150px;
    height: 90px;
    top: 15%;
  }

  /* Airplane mobile adjustments */
  .airplane {
    width: 100px;
    top: 10%;
    animation: flyAirplane 6s linear forwards;
  }
  
  @keyframes flyAirplane {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(25vw);
    }
  }
  
  /* Small Cloud mobile adjustments */
  .small-cloud-container {
    top: 10%;
    left: 25vw;
    width: 60px;
    height: 40px;
  }
  
  .small-cloud {
    width: 50px;
    height: 32px;
    animation: floatSmallCloud 5s ease-in-out infinite;
  }
  
  /* Hero image mobile */
  .hero-image img {
    max-width: 300px;
  }
  
  .hero-aside {
    max-width: 100%;
    margin-left: 0;
    margin-bottom: 20px;
  }
  
  .hero-form {
    max-width: 100%;
    margin-left: 0;
  }
  
  .hero-pill {
    font-size: 1.2rem;
    padding: 8px 16px;
  }
  
  .hero-kpis .kpi-line {
    font-size: 0.8rem;
  }
  
  .hero-kpis .kpi-accent {
    font-size: 1.1rem;
  }
  
  /* Intro section mobile */
  .intro-section {
    padding-top: 60px;
    margin-top: -15px;
  }
  
  .stat-card-horizontal {
    margin-bottom: 10px;
  }
  
  .stat-text {
    font-size: 0.7rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  /* Facility images mobile */
  .facility-image {
    transform: none;
    margin: 10px 0;
  }
  
  .facility-image img {
    height: 150px;
  }
  
  /* Policy banners mobile */
  .policy-banner-text {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
  
  /* Facility description mobile */
  .facility-description {
    font-size: 1.2rem;
    line-height: 1.2;
    max-width: 380px;
  }
  
  /* Gift Box mobile */
  .gift-box-img {
    max-width: 250px;
  }
  
  /* Majors section mobile */
  #majorFilters {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  /* Majors title banner mobile */
  .majors-title-banner {
    padding: 10px 16px;
    gap: 12px;
    max-width: 100%;
  }
  
  .majors-title-icon {
    font-size: 1.6rem;
  }
  
  .majors-title-text {
    font-size: 1.2rem;
  }
  
  #majorFilters .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  /* Partners mobile */
  .partner-logo {
    max-height: 40px;
  }
  
  /* Footer mobile */
  .footer-list li {
    font-size: 0.9rem;
  }
  
  /* Button effects mobile */
  .bv-transition {
    animation: bounceButtonMobile 2.5s ease-in-out infinite;
  }
  
  @keyframes bounceButtonMobile {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 2px 10px rgba(10, 61, 145, 0.15);
    }
    50% {
      transform: scale(1.03);
      box-shadow: 0 4px 15px rgba(10, 61, 145, 0.25);
    }
  }
  
  .bv-transition:hover {
    animation-play-state: paused;
    transform: scale(1.05);
  }
  
  .bv-transition:active {
    transform: scale(0.98);
  }
}

@media (min-width: 992px) {
  .hero-section { padding-top: 120px; padding-bottom: 72px; }
}

@media (max-width: 575px) {
  /* Extra small screens */
  .hero-pill {
    font-size: 1rem;
    padding: 6px 12px;
  }
  
  .hero-kpis .kpi-line {
    font-size: 0.7rem;
  }
  
  .hero-kpis .kpi-accent {
    font-size: 1rem;
  }
  
  .stat-card-horizontal {
    padding: 10px 8px;
    min-height: 60px;
  }
  
  .stat-icon-small {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  
  .stat-number {
    font-size: 1rem;
  }
  
  .stat-text {
    font-size: 0.65rem;
  }
  
  .facility-image img {
    height: 120px;
  }
  
  .policy-banner-text {
    font-size: 0.75rem;
  }
  
  .major-card .card-img-top {
    height: 150px;
  }
  
  .facility-thumb {
    width: 80px;
    height: 60px;
  }
  
  .partner-logo {
    max-height: 30px;
  }
  
  /* Register section mobile */
  .section-padding {
    padding: 40px 0;
  }
  
  /* Navbar mobile */
  .navbar-brand {
    font-size: 1rem;
  }
  
  .brand-logo {
    height: 28px;
  }
  
  /* Section titles mobile */
  .section-title {
    font-size: 1.5rem;
  }
  
  .ribbon-title span {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}

/* Tablet specific adjustments */
@media (min-width: 576px) and (max-width: 991px) {
  .hero-section {
    padding-top: 110px;
    padding-bottom: 50px;
  }
  
  /* Hero image tablet */
  .hero-image img {
    max-width: 400px;
  }
  
  .intro-section {
    padding-top: 80px;
  }
  
  .stat-card-horizontal {
    min-height: 80px;
  }
  
  .facility-image img {
    height: 180px;
  }
  
  .major-card .card-img-top {
    height: 200px;
  }
  
  .facility-thumb {
    width: 100px;
    height: 70px;
  }
  
  .partner-logo {
    max-height: 50px;
  }
}


