/* ===================== GLOBAL ===================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  color: #1f2937;
}

/* ===================== NAVBAR ===================== */
header {
  background: rgba(30, 58, 138, 0.95); /* semi-transparent navy */
  backdrop-filter: blur(10px);
  transition: background 0.3s ease-in-out;
}

nav a {
  position: relative;
  transition: color 0.3s ease;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #facc15; /* yellow underline */
  transition: width 0.3s ease;
}
nav a:hover::after {
  width: 100%;
}

/* Mobile menu animation */
#mobile-menu {
  transition: max-height 0.4s ease, opacity 0.3s ease;
  overflow: hidden;
}
#mobile-menu.show {
  display: block;
  max-height: 500px;
  opacity: 1;
}

/* ===================== HERO SECTION ===================== */
section.relative {
  background-attachment: fixed;
}
section.relative .absolute {
  backdrop-filter: brightness(0.6);
}

/* ===================== PROGRAM CARDS ===================== */
section .grid a {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
section .grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

/* ===================== TESTIMONIALS ===================== */
.swiper-slide {
  transition: transform 0.3s ease;
}
.swiper-slide:hover {
  transform: scale(1.05);
}

/* ===================== CONTACT FORM ===================== */
form input, form textarea {
  transition: border 0.3s ease, box-shadow 0.3s ease;
}
form input:focus, form textarea:focus {
  border-color: #1e3a8a;
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.3);
}

/* ===================== FOOTER SOCIAL ICONS ===================== */
.social-icon {
  position: relative;
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}
.social-icon:hover {
  color: #facc15;
  transform: scale(1.2);
}
.social-icon .tooltip {
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: #1f2937;
  color: #fff;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.social-icon:hover .tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

/* ===================== WHATSAPP BUTTON ===================== */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 999;
}
.whatsapp-btn i {
  font-size: 20px;
}
.whatsapp-btn:hover {
  background: #20b955;
  transform: scale(1.1);
}
