/* Custom Styles for Fivers TVTI inspired by KIU */

:root {
  --fivers-blue: #232C65;
  --fivers-blue-light: #4B568F;
  --fivers-blue-verylight: #e6e9f5;
  --fivers-gold: #E89223;
  --fivers-black: #000;
  --fivers-white: #fff;
  --footer-blue: #232C65;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: var(--fivers-white);
  color: var(--fivers-black);
}

.navbar {
  background: var(--fivers-blue) !important;
  border-bottom: 3px solid var(--fivers-gold);
}

.navbar-brand img {
  background: var(--fivers-white);
  border-radius: 4px;
  padding: 2px 4px;
}

.navbar-nav .nav-link {
  color: var(--fivers-white) !important;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover {
  color: var(--fivers-gold) !important;
}

.hero-section {
  position: relative;
  min-height: 400px;
  background: var(--fivers-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 31, 63, 0.7);
  z-index: 1;
}
.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  border-radius: 2.5rem;
  box-shadow: 0 0 0 12px rgba(35,44,101,0.08) inset, 0 0 80px 40px rgba(35,44,101,0.18) inset;
  background: radial-gradient(ellipse at center, rgba(35,44,101,0.13) 0%, rgba(35,44,101,0.22) 100%);
  mix-blend-mode: multiply;
  opacity: 0.85;
  transition: opacity 0.3s;
}
@media (max-width: 767px) {
  .hero-section::after {
    border-radius: 1.2rem;
    box-shadow: 0 0 0 4px rgba(35,44,101,0.10) inset, 0 0 40px 20px rgba(35,44,101,0.18) inset;
  }
}

.card {
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 2px solid var(--fivers-blue);
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), box-shadow 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.card:hover, .card:focus-within, .card.in-view {
  transform: scale(1.045) translateY(-6px);
  box-shadow: 0 8px 32px rgba(0,31,63,0.15), 0 1.5px 8px var(--fivers-gold);
  border-color: var(--fivers-gold);
  z-index: 3;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom, var(--fivers-gold), var(--fivers-blue));
  border-radius: 0.5rem 0 0 0.5rem;
  opacity: 0.85;
}

.card.in-view::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; width: 6px;
  background: linear-gradient(to bottom, var(--fivers-blue), var(--fivers-gold));
  border-radius: 0 0.5rem 0.5rem 0;
  opacity: 0.85;
}

.card-title {
  color: var(--fivers-blue);
  font-weight: 600;
}

.btn-primary, .btn-outline-primary {
  background: var(--fivers-gold);
  border-color: var(--fivers-gold);
  color: var(--fivers-blue);
}
.btn-primary:hover, .btn-outline-primary:hover {
  background: var(--fivers-blue);
  border-color: var(--fivers-blue);
  color: var(--fivers-white);
}

.btn-light {
  background: var(--fivers-gold);
  color: var(--fivers-blue);
  border: none;
}
.btn-light:hover {
  background: var(--fivers-blue);
  color: var(--fivers-white);
}

footer {
  background: var(--footer-blue) !important;
  color: var(--fivers-white);
}
footer h5, footer h6, footer a {
  color: var(--fivers-white) !important;
}
footer a:hover {
  color: var(--fivers-gold) !important;
  text-decoration: underline;
}

section h2, section h5, section h6 {
  color: var(--fivers-blue);
}

.bg-light {
  background: #f9f9f9 !important;
}

@keyframes pop-move {
  0% { transform: scale(1) translateX(0); }
  20% { transform: scale(1.12) translateX(6px); }
  40% { transform: scale(1.08) translateX(-6px); }
  60% { transform: scale(1.15) translateX(4px); }
  80% { transform: scale(1.05) translateX(-4px); }
  100% { transform: scale(1) translateX(0); }
}

.navbar-brand .brand-animated {
  animation: pop-move 5s cubic-bezier(.4,2,.6,1) infinite;
  display: inline-block;
}

/* Glassmorphism card effect */
.card.glass {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 8px 32px 0 rgba(0,31,63,0.15);
  backdrop-filter: blur(8px);
  border-radius: 1.25rem;
  border: 1.5px solid rgba(0,31,63,0.18);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}
.card.glass:hover {
  transform: scale(1.035);
  box-shadow: 0 12px 36px 0 rgba(0,31,63,0.25);
  border-color: #FFA500;
  z-index: 2;
}
.card .fivers-logo {
  position: absolute;
  top: 18px;
  right: 18px;
  height: 38px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,31,63,0.12);
  border: 2px solid #001f3f;
  background: #fff;
}
.card .badge-onsite {
  background: #001f3f;
  color: #fff;
  font-weight: 600;
}
.card .badge-online {
  background: #FFA500;
  color: #fff;
  font-weight: 600;
}
.card .icon {
  color: #001f3f;
  margin-right: 6px;
  font-size: 1.1em;
}
.card .icon-fee {
  color: #FFA500;
}
.card .icon-duration {
  color: #001f3f;
}
.card .icon-req {
  color: #222;
}
.btn-apply {
  background: linear-gradient(90deg, #FFA500 60%, #001f3f 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 2rem;
  box-shadow: 0 2px 8px rgba(0,31,63,0.10);
  transition: background 0.2s, transform 0.2s;
}
.btn-apply:hover {
  background: linear-gradient(90deg, #001f3f 60%, #FFA500 100%);
  transform: scale(1.05);
  color: #fff;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #001f3f;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}
.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #FFA500 60%, #001f3f 100%);
  border-radius: 2px;
  margin-top: 6px;
}
.bg-pattern {
  background: linear-gradient(120deg, var(--fivers-blue-light) 0%, var(--fivers-blue-verylight) 100%);
  position: relative;
  overflow: hidden;
}
.bg-pattern .animated-bg-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.10;
  z-index: 0;
  animation: float-circles 18s linear infinite alternate;
}
.bg-pattern .animated-bg-circle.gold {
  background: radial-gradient(circle, var(--fivers-gold) 0%, #E8922344 80%, transparent 100%);
  opacity: 0.13;
}
.bg-pattern .animated-bg-circle.navy {
  background: radial-gradient(circle, var(--fivers-blue-light) 0%, #4B568F44 80%, transparent 100%);
  opacity: 0.10;
}
.bg-pattern .circle1 { width: 180px; height: 180px; top: 10%; left: 8%; animation-delay: 0s; }
.bg-pattern .circle2 { width: 120px; height: 120px; top: 60%; left: 80%; animation-delay: 4s; }
.bg-pattern .circle3 { width: 90px; height: 90px; top: 40%; left: 50%; animation-delay: 8s; }
.bg-pattern .circle4 { width: 140px; height: 140px; top: 75%; left: 20%; animation-delay: 12s; }
.bg-pattern .circle5 { width: 70px; height: 70px; top: 20%; left: 70%; animation-delay: 2s; }
@keyframes float-circles {
  0% { transform: translateY(0) scale(1); opacity: 0.18; }
  50% { transform: translateY(-40px) scale(1.08); opacity: 0.28; }
  100% { transform: translateY(30px) scale(0.95); opacity: 0.13; }
}
.bg-pattern::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle at 30% 30%, #E8922322 0%, #232C6500 80%);
  filter: blur(32px);
  opacity: 0.18;
  z-index: 0;
}
.bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.82); /* more subtle white overlay for contrast */
  z-index: 1;
  pointer-events: none;
}
.bg-pattern > .container {
  position: relative;
  z-index: 2;
}
.section-title, .bg-pattern .display-4 {
  color: #001f3f !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.10), 0 1px 0 #fff;
}
.bg-pattern .lead {
  color: #1a2233 !important;
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
@media (max-width: 767px) {
  .section-title { font-size: 1.4rem; }
  .card .fivers-logo { height: 28px; top: 10px; right: 10px; }
}

.navbar-dark.bg-primary {
  background-color: var(--fivers-blue) !important;
}

.programmes-hero-bg {
  display: none;
}
.programmes-hero-bg .section-title,
.programmes-hero-bg .lead {
  color: inherit;
  text-shadow: none;
}

/* Classy Hero Section Upgrades */
.classy-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at center, rgba(35,44,101,0.22) 0%, rgba(35,44,101,0.08) 60%, transparent 100%),
    linear-gradient(120deg, rgba(232,146,35,0.08) 0%, rgba(35,44,101,0.18) 100%);
  z-index: 1;
  pointer-events: none;
}
.classy-glass {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.13);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(35,44,101,0.10);
  padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(4px);
  border: 1.5px solid rgba(35,44,101,0.10);
}
.classy-glass .section-title,
.classy-glass .lead {
  color: #fff !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.13);
}

/* Homepage International Sections Styling */
.stats-section {
  background: #fff;
  border-bottom: 1px solid #e6e9f5;
}
.stat-icon {
  font-size: 2.2rem;
  color: var(--fivers-blue-light);
}
.stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--fivers-blue);
}
.stat-label {
  font-size: 1rem;
  color: #555;
}

.partners-section {
  background: #f8fafc;
}
.partners-section img {
  filter: grayscale(0.2) contrast(1.1);
  transition: filter 0.2s;
}
.partners-section img:hover {
  filter: none;
}

.why-section {
  background: #fff;
}
.why-card {
  background: #f8fafc;
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px rgba(35,44,101,0.06);
  border: 1.5px solid #e6e9f5;
  transition: box-shadow 0.2s, transform 0.2s;
}
.why-card:hover {
  box-shadow: 0 8px 32px rgba(35,44,101,0.13);
  transform: translateY(-4px) scale(1.03);
}
.why-icon {
  font-size: 2.1rem;
  color: var(--fivers-gold);
}

.featured-section {
  background: #f8fafc;
}
.featured-section .card {
  border: none;
  box-shadow: 0 2px 12px rgba(35,44,101,0.07);
  border-radius: 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.featured-section .card:hover {
  box-shadow: 0 8px 32px rgba(35,44,101,0.13);
  transform: translateY(-4px) scale(1.03);
}

.testimonials-section {
  background: #fff;
}
.testimonial-card {
  background: #f8fafc;
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px rgba(35,44,101,0.06);
  border: 1.5px solid #e6e9f5;
  font-size: 1.08rem;
}
.testimonial-icon {
  font-size: 2.1rem;
  color: var(--fivers-blue-light);
}

.cta-section {
  background: var(--fivers-blue);
  color: #fff;
  border-radius: 0 0 2rem 2rem;
  box-shadow: 0 8px 32px rgba(35,44,101,0.10);
  position: relative;
  overflow: hidden;
}
.cta-animated-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.cta-animated-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  animation: cta-float 12s ease-in-out infinite alternate;
}
.cta-animated-circle.gold {
  background: radial-gradient(circle, var(--fivers-gold) 0%, #E8922344 80%, transparent 100%);
}
.cta-animated-circle.blue {
  background: radial-gradient(circle, var(--fivers-blue-light) 0%, #4B568F44 80%, transparent 100%);
}
.cta-animated-circle.c1 { width: 90px; height: 90px; top: 18%; left: 8%; animation-delay: 0s; }
.cta-animated-circle.c2 { width: 60px; height: 60px; top: 60%; left: 80%; animation-delay: 2s; }
.cta-animated-circle.c3 { width: 40px; height: 40px; top: 40%; left: 50%; animation-delay: 4s; }
.cta-animated-circle.c4 { width: 70px; height: 70px; top: 75%; left: 20%; animation-delay: 6s; }
.cta-animated-circle.c5 { width: 50px; height: 50px; top: 20%; left: 70%; animation-delay: 1s; }
@keyframes cta-float {
  0% { transform: translateY(0) scale(1); opacity: 0.18; }
  50% { transform: translateY(-24px) scale(1.08); opacity: 0.28; }
  100% { transform: translateY(18px) scale(0.95); opacity: 0.13; }
}
.cta-section .container {
  position: relative;
  z-index: 2;
}
.cta-section .btn-light {
  background: var(--fivers-gold);
  color: var(--fivers-blue);
  border: none;
  font-weight: 600;
  border-radius: 2rem;
  margin-right: 0.5rem;
}
.cta-section .btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  border-radius: 2rem;
}
.cta-section .btn-outline-light:hover {
  background: #fff;
  color: var(--fivers-blue);
}

@media (max-width: 767px) {
  .stats-section .stat-value { font-size: 1.2rem; }
  .why-card, .testimonial-card { padding: 1.2rem !important; }
  .cta-section { border-radius: 0; }
}

.featured-icon {
  font-size: 2.3rem;
  color: var(--fivers-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.7rem auto;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e6e9f5 60%, #fff 100%);
  border-radius: 50%;
  border: 2.5px solid var(--fivers-gold);
  box-shadow: 0 2px 12px rgba(35,44,101,0.10);
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
}
.featured-section .card:hover .featured-icon {
  box-shadow: 0 6px 24px rgba(232,146,35,0.18);
  background: linear-gradient(135deg, #fff 60%, #e6e9f5 100%);
  color: var(--fivers-gold);
  transform: scale(1.08) rotate(-6deg);
}

.cta-animated-icon {
  position: absolute;
  font-size: 2.2rem;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  opacity: 0.18;
  background: linear-gradient(135deg, #fff 60%, #e6e9f5 100%);
  box-shadow: 0 2px 12px rgba(35,44,101,0.10);
  animation: cta-float 12s ease-in-out infinite alternate;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.cta-animated-icon.gold {
  color: var(--fivers-gold);
  border: 2.5px solid var(--fivers-gold);
}
.cta-animated-icon.blue {
  color: var(--fivers-blue-light);
  border: 2.5px solid var(--fivers-blue-light);
}
.cta-animated-icon.c1 { top: 18%; left: 8%; animation-delay: 0s; }
.cta-animated-icon.c2 { top: 60%; left: 80%; animation-delay: 2s; }
.cta-animated-icon.c3 { top: 40%; left: 50%; animation-delay: 4s; }
.cta-animated-icon.c4 { top: 75%; left: 20%; animation-delay: 6s; }
.cta-animated-icon.c5 { top: 20%; left: 70%; animation-delay: 1s; }
@keyframes cta-float {
  0% { transform: translateY(0) scale(1); opacity: 0.18; }
  50% { transform: translateY(-24px) scale(1.08); opacity: 0.28; }
  100% { transform: translateY(18px) scale(0.95); opacity: 0.13; }
}

/* Animated Hero Icons */
.hero-animated-icon {
  position: absolute !important;
  font-size: 2.2rem !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  opacity: 0.22 !important;
  background: linear-gradient(135deg, #fff 60%, #e6e9f5 100%) !important;
  box-shadow: 0 2px 12px rgba(35,44,101,0.10) !important;
  border: 2.5px solid var(--fivers-gold) !important;
  z-index: 2 !important;
  pointer-events: none !important;
  filter: none !important;
  animation: hero-float 12s ease-in-out infinite !important;
  transition: opacity 0.3s, background 0.2s, color 0.2s, box-shadow 0.2s !important;
}
.hero-animated-icon i {
  color: var(--fivers-gold) !important;
  text-shadow: none !important;
  font-size: 2rem !important;
}
.hero-animated-icon.icon1 { top: 12%; left: 10%; animation-delay: 0s; }
.hero-animated-icon.icon2 { top: 60%; left: 80%; animation-delay: 2.5s; }
.hero-animated-icon.icon3 { top: 35%; left: 55%; animation-delay: 5s; }
.hero-animated-icon.icon4 { top: 75%; left: 22%; animation-delay: 7.5s; }
.hero-animated-icon.icon5 { top: 18%; left: 70%; animation-delay: 10s; }
@keyframes hero-float {
  0% { transform: translateY(0) scale(1); opacity: 0.13; }
  20% { transform: translateY(-18px) scale(1.08); opacity: 0.18; }
  40% { transform: translateY(12px) scale(1.04); opacity: 0.15; }
  60% { transform: translateY(-10px) scale(1.10); opacity: 0.19; }
  80% { transform: translateY(8px) scale(1.06); opacity: 0.16; }
  100% { transform: translateY(0) scale(1); opacity: 0.13; }
}
@media (max-width: 767px) {
  .hero-animated-icon { font-size: 1.5rem; }
  .hero-animated-icon.icon1 { top: 8%; left: 6%; }
  .hero-animated-icon.icon2 { top: 70%; left: 80%; }
  .hero-animated-icon.icon3 { top: 45%; left: 60%; }
  .hero-animated-icon.icon4 { top: 80%; left: 18%; }
  .hero-animated-icon.icon5 { top: 22%; left: 60%; }
}

@keyframes cta-pop-glow {
  0% { transform: scale(1); box-shadow: 0 2px 12px rgba(20,30,60,0.18); }
  10% { transform: scale(1.08); box-shadow: 0 4px 24px #E89223, 0 2px 12px rgba(20,30,60,0.18); }
  20% { transform: scale(0.98); box-shadow: 0 2px 12px #E89223, 0 2px 12px rgba(20,30,60,0.18); }
  30% { transform: scale(1.04); box-shadow: 0 6px 32px #E89223, 0 2px 12px rgba(20,30,60,0.18); }
  40% { transform: scale(1); box-shadow: 0 2px 12px #E89223, 0 2px 12px rgba(20,30,60,0.18); }
  100% { transform: scale(1); box-shadow: 0 2px 12px rgba(20,30,60,0.18); }
}
.cta-pop-glow {
  animation: cta-pop-glow 2.2s cubic-bezier(.4,2,.6,1) infinite;
}

.navbar-toggler {
  border: 2.5px solid var(--fivers-gold) !important;
  border-radius: 8px !important;
  background: var(--fivers-blue-light) !important;
  padding: 7px 12px !important;
  transition: box-shadow 0.2s, background 0.2s, border-color 0.2s;
  box-shadow: 0 2px 12px rgba(35,44,101,0.10);
  outline: none !important;
}
.navbar-toggler:focus, .navbar-toggler:hover {
  background: var(--fivers-gold) !important;
  border-color: var(--fivers-blue) !important;
  box-shadow: 0 4px 18px #E89223, 0 2px 12px rgba(35,44,101,0.18);
}
.navbar-toggler .navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  width: 28px;
  height: 22px;
  display: inline-block;
}
.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after,
.navbar-toggler .navbar-toggler-icon div {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 2px;
  background: var(--fivers-gold);
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
}
.navbar-toggler .navbar-toggler-icon:before {
  top: 0;
}
.navbar-toggler .navbar-toggler-icon div {
  top: 9px;
}
.navbar-toggler .navbar-toggler-icon:after {
  top: 18px;
}
@media (max-width: 991px) {
  .navbar-nav {
    background: var(--fivers-blue-light);
    border-radius: 0 0 1.2rem 1.2rem;
    box-shadow: 0 8px 32px rgba(35,44,101,0.13);
    padding: 1.2rem 0.5rem 1.5rem 0.5rem;
  }
  .navbar-nav .nav-link {
    color: #fff !important;
    font-size: 1.15rem;
    margin: 0.5rem 0;
    border-radius: 0.5rem;
    transition: background 0.2s, color 0.2s;
  }
  .navbar-nav .nav-link.active, .navbar-nav .nav-link:focus, .navbar-nav .nav-link:hover {
    background: var(--fivers-gold);
    color: var(--fivers-blue) !important;
  }
} 

/* --- Stylish Team Section Enhancements --- */
.team-section {
  background: linear-gradient(135deg, #f8fafc 60%, #e9f0fb 100%);
}
.team-card {
  transition: transform 0.2s, box-shadow 0.2s;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px rgba(20,30,60,0.08);
  position: relative;
  overflow: hidden;
}
.team-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(20,30,60,0.18);
}
.team-img-wrapper {
  background: linear-gradient(135deg, #0a3a6a 60%, #E89223 100%);
  padding: 6px;
  border-radius: 50%;
  display: inline-block;
}
.team-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
  border: 3px solid #fff;
}
.team-name {
  font-size: 1.1rem;
  color: #0a3a6a;
  margin-top: 0.5em;
}
.team-title {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.5em;
}
.team-social a {
  font-size: 1.2rem;
  margin: 0 0.2em;
  color: #0a3a6a;
  transition: color 0.2s;
}
.team-social a:hover {
  color: #E89223;
} 

/* --- Clean, Professional Hero Section (Full Height, Left-Aligned, More Visible Background) --- */
.serious-hero {
  min-height: 100vh;
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: stretch;
}
.hero-overlay-serious {
  background: rgba(10, 30, 60, 0.18) !important;
  min-height: 100vh;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0 0 1.5em 1.5em;
  padding-left: 3vw;
  padding-right: 3vw;
}
.serious-hero-title {
  text-shadow: 0 4px 24px rgba(0,0,0,0.32);
  font-size: 3.2rem;
  letter-spacing: 1px;
}
.serious-hero-subtitle {
  font-size: 1.4rem;
  color: #e0e0e0 !important;
}
.btn-warning {
  font-weight: 600;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(20,30,60,0.10);
}
.btn-outline-light {
  font-weight: 600;
  border-radius: 2em;
  border-width: 2px;
}
.btn-lg {
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}
@media (max-width: 992px) {
  .serious-hero-title { font-size: 2rem; }
  .hero-overlay-serious { border-radius: 0; padding-left: 1vw; padding-right: 1vw; }
}
@media (max-width: 768px) {
  .serious-hero { min-height: 60vh; height: 60vh; }
  .hero-overlay-serious { min-height: 60vh; height: 60vh; }
  .serious-hero-title { font-size: 1.3rem; }
} 

/* --- About Us Page Enhancements --- */
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #0a3a6a;
  margin-bottom: 1.2em;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
}
.section-title:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #E89223 60%, #0a3a6a 100%);
  border-radius: 2px;
  margin: 0.5em auto 0 auto;
}
.why-card {
  background: #fff;
  border-radius: 1.1em;
  box-shadow: 0 2px 12px rgba(20,30,60,0.08);
  transition: transform 0.18s, box-shadow 0.18s;
  border: none;
}
.why-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 24px rgba(20,30,60,0.16);
}
.why-icon {
  font-size: 2.2rem;
  color: #E89223;
  margin-bottom: 0.5em;
  display: block;
}
.testimonial-card {
  background: #fff;
  border-radius: 1.1em;
  box-shadow: 0 2px 12px rgba(20,30,60,0.08);
  border: none;
}
.bg-light {
  background-color: #f8fafc !important;
}
.bg-white {
  background-color: #fff !important;
}
blockquote {
  font-size: 1.1rem;
  color: #232C65;
  font-style: italic;
}
.blockquote-footer {
  color: #888;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .section-title { font-size: 1.3rem; }
  .why-icon { font-size: 1.5rem; }
} 

/* --- Creative About Us Enhancements --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.fade-in-section.visible {
  opacity: 1;
  transform: none;
}
.bg-gradient {
  background: linear-gradient(135deg, #f8fafc 60%, #e9f0fb 100%);
}
.why-gradient-border {
  border: 2.5px solid;
  border-image: linear-gradient(135deg, #E89223 60%, #0a3a6a 100%) 1;
}
.timeline-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  position: relative;
  margin: 2em 0 1.5em 0;
  padding: 0 1em;
}
.timeline-bar:before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 4px;
  background: linear-gradient(90deg, #E89223 60%, #0a3a6a 100%);
  z-index: 0;
}
.timeline-milestone {
  position: relative;
  background: #fff;
  border-radius: 1em;
  box-shadow: 0 2px 8px rgba(20,30,60,0.10);
  padding: 0.7em 1.2em;
  z-index: 1;
  min-width: 110px;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 1.2em;
}
.timeline-milestone span {
  display: block;
  font-weight: 700;
  color: #E89223;
  font-size: 1.1em;
}
.cta-banner-section {
  background: linear-gradient(90deg, #0a3a6a 60%, #E89223 100%);
  color: #fff;
  border-radius: 1.2em;
  box-shadow: 0 2px 12px rgba(20,30,60,0.10);
  margin-bottom: 2em;
}
.cta-banner-section .btn-warning {
  font-weight: 600;
  border-radius: 2em;
  box-shadow: 0 2px 8px rgba(20,30,60,0.10);
}
.cta-banner-section .btn-outline-light {
  font-weight: 600;
  border-radius: 2em;
  border-width: 2px;
}
.carousel .testimonial-card {
  border: 2px solid #E89223;
  background: #fff;
}
.section-title i {
  vertical-align: middle;
  font-size: 1.3em;
}
@media (max-width: 768px) {
  .timeline-bar { flex-direction: column; align-items: center; }
  .timeline-bar:before { top: auto; bottom: 0; width: 4px; height: 100%; left: 50%; right: auto; background: linear-gradient(180deg, #E89223 60%, #0a3a6a 100%); }
  .timeline-milestone { margin-bottom: 2em; min-width: 80px; }
} 

/* Animated Number Counter */
.counter {
  font-size: 2.1rem;
  font-weight: 700;
  color: #E89223;
  transition: color 0.3s;
}

/* Parallax Background */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}

/* SVG Wave Divider */
.wave-divider {
  position: relative;
  width: 100%;
  margin-top: -2px;
  z-index: 2;
  line-height: 0;
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Button Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(232,146,35,0.25);
  transform: scale(0);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
  width: 120px;
  height: 120px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0);
}
@keyframes ripple-anim {
  to {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* Card Hover Reveal */
.reveal-card {
  position: relative;
  overflow: hidden;
}
.card-reveal {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: rgba(10,30,60,0.92);
  color: #fff;
  padding: 1.1em 1em 0.8em 1em;
  font-size: 1.05rem;
  border-radius: 0 0 1.1em 1.1em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  min-height: 60px;
  z-index: 2;
}
.reveal-card:hover .card-reveal {
  opacity: 1;
  pointer-events: auto;
}

/* Floating Action Button */
.fab-apply-now {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  background: var(--fivers-gold);
  color: var(--fivers-blue);
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 32px 0 rgba(35,44,101,0.18);
  border: 3px solid var(--fivers-blue-light);
  transition: box-shadow 0.3s, background 0.3s, color 0.3s, transform 0.2s;
  opacity: 0;
  pointer-events: none;
}
.fab-apply-now.show {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.08);
}
.fab-apply-now:hover {
  background: var(--fivers-blue);
  color: var(--fivers-gold);
  box-shadow: 0 12px 36px 0 rgba(35,44,101,0.28);
  transform: scale(1.13);
}
.fab-apply-now i {
  pointer-events: none;
}

/* Testimonial Avatars */
.testimonial-avatar {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #E89223;
  background: #fff;
  margin-bottom: 0.5em;
}

/* Sticky Navbar Shadow */
.navbar-shadow {
  box-shadow: 0 4px 24px rgba(20,30,60,0.18) !important;
  transition: box-shadow 0.2s;
} 

.pt-navbar {
  padding-top: 80px; /* Adjust if your navbar is taller/shorter */
}
@media (max-width: 991.98px) {
  .pt-navbar {
    padding-top: 100px; /* More space for mobile if needed */
  }
} 

/* Animated fade-in for hero elements */
.animated-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.1s cubic-bezier(.4,2,.6,1) 0.2s forwards;
}

.animated-slide-in {
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 1.2s cubic-bezier(.4,2,.6,1) 0.1s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: none;
  }
}

.animated-icon {
  display: inline-block;
  animation: iconPop 1.2s cubic-bezier(.4,2,.6,1) 0.3s both;
}
@keyframes iconPop {
  0% { transform: scale(0.7) rotate(-20deg); opacity: 0; }
  60% { transform: scale(1.2) rotate(8deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
} 

/* Our Story Section Styles */
.our-story-section {
  position: relative;
  background: linear-gradient(120deg, #f8fafc 60%, #e6e9f5 100%);
  overflow: hidden;
}
.our-story-section .section-title {
  color: #232C65;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.our-story-section .timeline {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border-left: 4px solid #E89223;
  padding-left: 1.5rem;
  position: relative;
}
.our-story-section .timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s cubic-bezier(.4,2,.6,1) forwards;
}
.our-story-section .timeline-item:nth-child(1) { animation-delay: 0.2s; }
.our-story-section .timeline-item:nth-child(2) { animation-delay: 0.4s; }
.our-story-section .timeline-item:nth-child(3) { animation-delay: 0.6s; }
.our-story-section .timeline-item:nth-child(4) { animation-delay: 0.8s; }
.our-story-section .timeline-icon {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(35,44,101,0.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 1rem;
  border: 2px solid #E89223;
  z-index: 2;
}
.our-story-section .timeline-year {
  font-weight: 700;
  color: #E89223;
  margin-right: 0.7rem;
  font-size: 1.1rem;
}
.our-story-section .timeline-desc {
  color: #232C65;
  font-size: 1rem;
  font-weight: 500;
}
.our-story-section .blockquote {
  border-left: 4px solid #E89223;
  padding-left: 1.2rem;
  font-style: italic;
  color: #232C65;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(35,44,101,0.06);
}
.our-story-bg-svg {
  z-index: 1;
}
@media (max-width: 991px) {
  .our-story-section .timeline {
    border-left: 3px solid #E89223;
    padding-left: 1rem;
  }
  .our-story-section .timeline-item {
    font-size: 0.98rem;
  }
}
@media (max-width: 767px) {
  .our-story-section .section-title {
    font-size: 1.3rem;
  }
  .our-story-section .timeline {
    padding-left: 0.5rem;
  }
  .our-story-section .timeline-icon {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
} 

.about-hero-logo-glass {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  box-shadow: 0 8px 32px 0 rgba(35,44,101,0.18), 0 0 0 8px rgba(232,146,35,0.08);
  backdrop-filter: blur(8px);
  border: 2.5px solid rgba(35,44,101,0.13);
  padding: 1.2em;
  max-width: 200px;
  margin-right: 1.5em;
  animation: popInLogo 1.2s cubic-bezier(.4,2,.6,1) 0.3s both;
}
.about-hero-logo-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 16px 0 rgba(35,44,101,0.13), 0 0 0 6px #E8922333;
  border: 3px solid #fff;
  background: #fff;
}
@media (max-width: 991px) {
  .about-hero-logo-glass {
    max-width: 140px;
    padding: 0.7em;
    margin-right: 0.5em;
  }
  .about-hero-logo-img {
    width: 70px;
    height: 70px;
  }
}
@keyframes popInLogo {
  0% { transform: scale(0.7) rotate(-10deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(8deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
} 

/* --- Creative Our Story Logo Styles --- */
.creative-logo-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.22);
  border-radius: 50%;
  box-shadow: 0 8px 32px 0 rgba(35,44,101,0.18), 0 0 0 12px rgba(232,146,35,0.10);
  backdrop-filter: blur(10px);
  border: 3px solid rgba(35,44,101,0.13);
  padding: 1.5em;
  max-width: 220px;
  margin: 0 auto 1.2em auto;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.creative-logo-wrapper:hover {
  box-shadow: 0 12px 36px 0 rgba(35,44,101,0.28), 0 0 0 18px rgba(232,146,35,0.18);
  border-color: #E89223;
}
.creative-logo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 170px;
  height: 170px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(from 0deg, #E89223, #232C65, #E89223 100%);
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
  animation: spinRing 6s linear infinite;
}
@keyframes spinRing {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}
.our-story-logo-img {
  position: relative;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 16px 0 rgba(35,44,101,0.13), 0 0 0 6px #E8922333;
  border: 3px solid #fff;
  background: #fff;
  z-index: 2;
}
.founder-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: linear-gradient(90deg, #E89223 60%, #232C65 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.25em 0.8em 0.25em 0.6em;
  border-radius: 1.2em;
  box-shadow: 0 2px 8px rgba(35,44,101,0.13);
  display: flex;
  align-items: center;
  gap: 0.4em;
  z-index: 3;
  border: 2px solid #fff;
}
.founder-badge i {
  font-size: 1.1em;
  margin-right: 0.2em;
}
@media (max-width: 991px) {
  .creative-logo-wrapper {
    max-width: 120px;
    padding: 0.7em;
  }
  .creative-logo-ring {
    width: 80px;
    height: 80px;
  }
  .our-story-logo-img {
    width: 60px;
    height: 60px;
  }
  .founder-badge {
    font-size: 0.8rem;
    padding: 0.18em 0.6em 0.18em 0.5em;
    bottom: 4px;
    right: 4px;
  }
} 

/* --- News Page Creative Styles --- */
.featured-news-section {
  background: linear-gradient(120deg, #f8fafc 60%, #e6e9f5 100%);
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(35,44,101,0.10);
  padding: 2.5rem 2rem 2rem 2rem;
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.featured-news-img-wrapper {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(35,44,101,0.13);
}
.featured-news-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 1.25rem;
  transition: transform 0.3s;
}
.featured-news-img-wrapper:hover .featured-news-img {
  transform: scale(1.04) rotate(-1deg);
}
.news-carousel-section {
  margin-bottom: 2.5rem;
}
.news-card {
  border-radius: 1.25rem;
  box-shadow: 0 2px 12px rgba(35,44,101,0.07);
  border: none;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  background: rgba(255,255,255,0.97);
  position: relative;
}
.news-card:hover {
  box-shadow: 0 8px 32px rgba(35,44,101,0.13);
  transform: translateY(-4px) scale(1.03);
  z-index: 2;
}
.news-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  transition: filter 0.2s;
}
.news-card:hover .news-card-img {
  filter: brightness(0.95) blur(0.5px);
}
.news-card .badge {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 1em;
  padding: 0.35em 1em;
  box-shadow: 0 2px 8px rgba(232,146,35,0.08);
}
.news-card .card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #232C65;
  margin-bottom: 0.5rem;
}
.news-card .card-text {
  color: #444;
  font-size: 1.01rem;
}
.news-card .card-footer {
  background: transparent;
  border: none;
  font-size: 0.97rem;
}
.news-card .card-footer i {
  color: #E89223;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #232C65;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(35,44,101,0.13);
}
.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}
@media (max-width: 991px) {
  .featured-news-img {
    height: 180px;
  }
  .news-card-img {
    height: 120px;
  }
  .featured-news-section {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
} 

/* --- Programmes Page Enhancements --- */
@keyframes cardFadeInUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  60% { opacity: 1; transform: translateY(-8px) scale(1.03); }
  100% { opacity: 1; transform: none; }
}
.programmes-animated-card {
  opacity: 0;
  animation: cardFadeInUp 1.1s cubic-bezier(.4,2,.6,1) forwards;
  animation-delay: var(--delay, 0s);
}
@media (max-width: 767px) {
  .programmes-animated-card {
    animation-delay: 0s !important;
  }
}
@keyframes floatIcon {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px) scale(1.08); }
  100% { transform: translateY(0); }
}
.programmes-floating-icon {
  animation: floatIcon 2.8s ease-in-out infinite;
  display: inline-block;
}
.programmes-section-title {
  position: relative;
  display: inline-block;
  animation: pop-move 2.5s cubic-bezier(.4,2,.6,1) 0.2s both;
}
.programmes-section-title:after {
  content: '';
  display: block;
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, #FFA500 60%, #232C65 100%);
  border-radius: 2px;
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
}
.programmes-glow-card {
  box-shadow: 0 0 0 0 rgba(232,146,35,0.18), 0 8px 32px rgba(35,44,101,0.10);
  border: 2.5px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s;
  position: relative;
}
.programmes-glow-card:hover, .programmes-glow-card:focus-within {
  box-shadow: 0 0 24px 6px #FFA50055, 0 12px 36px rgba(35,44,101,0.18);
  border-color: #FFA500;
  z-index: 3;
} 

/* --- FAQ Section Styles --- */
.faq-section .accordion-button {
  background: #f8fafc;
  color: var(--fivers-blue);
  font-weight: 500;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(35,44,101,0.06);
  margin-bottom: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.faq-section .accordion-button:not(.collapsed) {
  background: var(--fivers-gold);
  color: var(--fivers-blue);
}
.faq-section .accordion-body {
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(35,44,101,0.04);
  margin-bottom: 0.5rem;
  font-size: 1.08rem;
}
.faq-section .accordion-item {
  border: none;
}
.faq-section .section-title {
  color: var(--fivers-blue);
  font-weight: 700;
} 
.back-to-top.visible {
  opacity: 1 !important;
  pointer-events: auto !important;
}
body#index .fab-apply-now {
  opacity: 1 !important;
  pointer-events: auto !important;
} 