/* =====================================================
   NMTC Korle Bu - Main Stylesheet
   Modern Healthcare & Academic Theme
   ===================================================== */

:root {
  --color-primary: #0B5D3B;       /* Dark Green */
  --color-primary-light: #14894F;
  --color-primary-dark: #073D27;
  --color-gold: #D4AF37;
  --color-gold-light: #E8CB6E;
  --color-white: #FFFFFF;
  --color-off-white: #F7F9F8;
  --color-text: #1C2B24;
  --color-text-muted: #5C6E66;
  --color-border: #E2E8E5;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-soft: 0 8px 30px rgba(11, 93, 59, 0.08);
  --shadow-card: 0 4px 20px rgba(11, 93, 59, 0.06);
  --shadow-elevated: 0 20px 60px rgba(11, 93, 59, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode variables */
[data-theme="dark"] {
  --color-white: #11211A;
  --color-off-white: #0B1612;
  --color-text: #EAF3EE;
  --color-text-muted: #A6BDB3;
  --color-border: #1F352B;
  --color-primary-light: #2DBE7E;
  --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-off-white);
  line-height: 1.65;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.25;
}

a { color: var(--color-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--color-gold); }

img { max-width: 100%; height: auto; }

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 2000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.7rem 1.6rem;
  transition: var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.02em;
}

.btn-primary-custom {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary-custom:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-gold-custom {
  background-color: var(--color-gold);
  color: var(--color-primary-dark);
  border-color: var(--color-gold);
}
.btn-gold-custom:hover {
  background-color: var(--color-gold-light);
  border-color: var(--color-gold-light);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-custom {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.btn-outline-custom:hover {
  background: #fff;
  color: var(--color-primary);
  border-color: #fff;
}

.btn-ghost-custom {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-ghost-custom:hover {
  background: var(--color-primary);
  color: #fff;
}

/* =====================================================
   Top Utility Bar
   ===================================================== */
.topbar {
  background: var(--color-primary-dark);
  color: #d9e8e0;
  font-size: 0.85rem;
  padding: 0.4rem 0;
}
.topbar a { color: #d9e8e0; }
.topbar a:hover { color: var(--color-gold); }
.topbar .topbar-accred { color: var(--color-gold-light); font-weight: 500; }

/* =====================================================
   Navbar
   ===================================================== */
.navbar-custom {
  background-color: var(--color-white);
  box-shadow: var(--shadow-card);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  transition: var(--transition);
}

.navbar-brand-custom {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.navbar-brand-custom img {
  height: 48px;
  width: 48px;
  object-fit: contain;
}
.navbar-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.navbar-brand-text .brand-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--color-primary);
}
.navbar-brand-text .brand-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.navbar-custom .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-text);
  padding: 0.6rem 0.9rem;
  position: relative;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--color-primary);
}
.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0.9rem;
  right: 0.9rem;
  height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}

.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-elevated);
  border-radius: var(--radius-md);
  padding: 0.6rem;
}
.dropdown-item {
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  padding: 0.55rem 0.9rem;
}
.dropdown-item:hover, .dropdown-item:focus {
  background-color: rgba(11,93,59,0.08);
  color: var(--color-primary);
}

.theme-toggle-btn {
  border: 2px solid var(--color-border);
  border-radius: 50px;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--color-primary);
  transition: var(--transition);
}
.theme-toggle-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.nav-apply-btn {
  background: var(--color-gold);
  color: var(--color-primary-dark) !important;
  border-radius: var(--radius-sm);
  font-weight: 700 !important;
  padding: 0.55rem 1.3rem !important;
}
.nav-apply-btn:hover {
  background: var(--color-primary);
  color: #fff !important;
}

/* =====================================================
   Hero Section
   ===================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
}
.hero .carousel,
.hero .carousel-inner,
.hero .carousel-item {
  height: 100%;
  min-height: 92vh;
}
.hero .carousel-item {
  display: flex;
  align-items: center;
  position: relative;
}
.hero .carousel-indicators {
  z-index: 5;
  margin-bottom: 0.75rem;
}
.hero .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255,255,255,0.5);
  opacity: 1;
}
.hero .carousel-indicators .active {
  background-color: var(--color-gold-light);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-image: url('../images/hero-nursing.jpg');
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 20% 80%, rgba(212,175,55,0.12) 0%, transparent 45%),
    linear-gradient(100deg, rgba(7,61,39,0.72) 0%, rgba(7,61,39,0.5) 35%, rgba(7,61,39,0.18) 65%, rgba(7,61,39,0.05) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 0;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  color: var(--color-gold-light);
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.hero h1 span { color: var(--color-gold-light); }

.hero p.lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255,255,255,0.92);
  max-width: 620px;
  margin-bottom: 2.2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  color: rgba(255,255,255,0.8);
  font-size: 1.6rem;
  animation: bounceDown 2.2s infinite;
}
@keyframes bounceDown {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

/* =====================================================
   Stats Section
   ===================================================== */
.stats-section {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-off-white) 100%);
  padding: 4rem 0;
  position: relative;
}
.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
}
.stat-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(11,93,59,0.08);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1rem;
  transition: var(--transition);
}
.stat-card:hover .stat-icon {
  background: var(--color-primary);
  color: #fff;
}
.stat-number {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
[data-theme="dark"] .stat-number { color: var(--color-gold-light); }
.stat-label {
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* =====================================================
   Section Heading Utility
   ===================================================== */
.section-pad { padding: 5rem 0; }
.section-eyebrow {
  display: inline-block;
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 1rem;
}
.section-title .accent { color: var(--color-primary); }
.section-desc {
  color: var(--color-text-muted);
  max-width: 680px;
}
.section-divider {
  width: 70px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}
.bg-alt { background-color: var(--color-white); }

/* =====================================================
   News Cards
   ===================================================== */
.news-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--color-border);
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-elevated);
}
.news-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.news-card:hover .news-card-img img {
  transform: scale(1.08);
}
.news-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-gold);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
}
.news-card-body { padding: 1.4rem; }
.news-card-date {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.news-card-title {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}
.news-card-title a { color: var(--color-text); }
.news-card-title a:hover { color: var(--color-primary); }
.news-card-excerpt {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.read-more-link {
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
}

/* =====================================================
   Events
   ===================================================== */
.event-card {
  display: flex;
  gap: 1.2rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  margin-bottom: 1rem;
}
.event-card:hover {
  border-color: var(--color-gold);
  transform: translateX(6px);
}
.event-date-box {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}
.event-date-box .day { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.event-date-box .month { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; }
.event-info h3 { font-size: 1.02rem; margin-bottom: 0.3rem; }
.event-meta { font-size: 0.85rem; color: var(--color-text-muted); }
.event-meta i { color: var(--color-gold); margin-right: 0.3rem; }

/* =====================================================
   Principal Welcome
   ===================================================== */
.principal-section {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.principal-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  background: rgba(212,175,55,0.15);
  border-radius: 50%;
}
.principal-photo {
  width: 100%;
  border-radius: var(--radius-md);
  border: 4px solid rgba(255,255,255,0.2);
  box-shadow: var(--shadow-elevated);
}
.principal-quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.principal-quote::before { content: '\201C'; color: var(--color-gold); font-size: 2rem; }
.principal-name { font-weight: 800; font-size: 1.15rem; }
.principal-title { color: var(--color-gold-light); font-size: 0.9rem; }

/* =====================================================
   Why Choose Us
   ===================================================== */
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  height: 100%;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
}
.feature-card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-6px);
  border-color: var(--color-gold);
}
.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 0.6rem; }
.feature-card p { color: var(--color-text-muted); font-size: 0.92rem; margin-bottom: 0; }

/* =====================================================
   Testimonials
   ===================================================== */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  height: 100%;
}
.testimonial-stars { color: var(--color-gold); margin-bottom: 0.8rem; }
.testimonial-quote {
  font-size: 0.98rem;
  color: var(--color-text);
  margin-bottom: 1.4rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 0.9rem; }
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
  overflow: hidden;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { font-size: 0.82rem; color: var(--color-text-muted); }

/* =====================================================
   Partners Carousel
   ===================================================== */
.partners-strip {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
  overflow: hidden;
}
.partners-track {
  display: flex;
  gap: 4rem;
  align-items: center;
  animation: scrollLeft 35s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partners-track img {
  height: 50px;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--transition);
}
.partners-track img:hover {
  filter: grayscale(0%) opacity(1);
}
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =====================================================
   CTA Band
   ===================================================== */
.cta-band {
  background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: rgba(212,175,55,0.12);
  border-radius: 50%;
  top: -100px; left: -100px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); }

/* =====================================================
   Page Header (inner pages)
   ===================================================== */
.page-header {
  background: linear-gradient(135deg, rgba(7,61,39,0.93), rgba(11,93,59,0.85)), url('../images/page-header-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 4.5rem 0 3.5rem;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 0.5rem; }
.breadcrumb-custom {
  display: inline-flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.breadcrumb-custom a { color: var(--color-gold-light); }

/* =====================================================
   Glassmorphism utility
   ===================================================== */
.glass-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-md);
}

/* =====================================================
   Carousel enhancements (hero, virtual tour, etc.)
   ===================================================== */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(11, 93, 59, 0.55);
  border-radius: 50%;
  padding: 1.4rem;
  background-size: 50%, 50%;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--color-primary);
}
.carousel-caption {
  background: linear-gradient(to top, rgba(7,61,39,0.75), rgba(7,61,39,0));
  border-radius: 0 0 1rem 1rem;
  padding-top: 2.5rem;
}

/* =====================================================
   Photo Gallery (Swiper.js)
   ===================================================== */
.gallery-swiper {
  padding-bottom: 2.75rem;
}
.gallery-swiper .swiper-slide {
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: var(--color-off-white);
}
.gallery-swiper .swiper-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem 1rem 0.6rem;
  background: linear-gradient(to top, rgba(7,61,39,0.85), rgba(7,61,39,0));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
}
.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  --swiper-navigation-size: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  background-color: rgba(11, 93, 59, 0.55);
  border-radius: 50%;
  color: #fff;
  transition: background-color 0.2s ease;
}
.gallery-swiper .swiper-button-prev:hover,
.gallery-swiper .swiper-button-next:hover {
  background-color: var(--color-primary);
}
.gallery-swiper .swiper-pagination-bullet {
  background-color: var(--color-primary);
  opacity: 0.3;
}
.gallery-swiper .swiper-pagination-bullet-active {
  background-color: var(--color-gold);
  opacity: 1;
}

/* =====================================================
   Virtual Tour featured carousel (Swiper.js)
   ===================================================== */
.vt-swiper-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  background: #000;
}
.vt-swiper .swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d0d0d;
}
.vt-slide-media {
  display: block;
  width: 100%;
  max-height: 70vh;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.vt-slide-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.vt-slide-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.vt-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem 1.25rem 0.9rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0));
  color: #fff;
  font-weight: 500;
}
.vt-slide-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 93, 59, 0.85);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.vt-swiper .swiper-button-prev,
.vt-swiper .swiper-button-next {
  --swiper-navigation-size: 1.2rem;
  width: 2.4rem;
  height: 2.4rem;
  background-color: rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
}
.vt-swiper .swiper-button-prev:hover,
.vt-swiper .swiper-button-next:hover {
  background-color: var(--color-gold);
  color: var(--color-primary-dark);
}
.vt-swiper .swiper-pagination-bullet {
  background-color: #fff;
  opacity: 0.5;
}
.vt-swiper .swiper-pagination-bullet-active {
  background-color: var(--color-gold);
  opacity: 1;
}
.vt-grid-badge {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 93, 59, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* =====================================================
   Cards generic (content pages)
   ===================================================== */
.content-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  height: 100%;
}

/* =====================================================
   Virtual Tour landing cards
   ===================================================== */
.vt-card-link { display: block; }
.vt-card {
  padding: 0;
  transition: var(--transition);
}
.vt-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated);
}
.vt-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
}
.vt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.vt-card:hover .vt-card-media img {
  transform: scale(1.06);
}
.vt-card-icon-placeholder,
.vt-card-video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: rgba(255,255,255,0.85);
}
.vt-card-overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 93, 59, 0.85);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.vt-card-media img ~ .vt-card-overlay {
  background: rgba(7, 61, 39, 0.6);
  backdrop-filter: blur(2px);
}
.vt-card-count {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}
.vt-card-cta {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-primary);
}
.vt-card:hover .vt-card-cta {
  color: var(--color-gold);
}

.programme-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  height: 100%;
}
.programme-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-elevated); }
.programme-card-head {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  padding: 1.4rem;
}
.programme-card-head h3 { color: #fff; font-size: 1.1rem; margin: 0; }
.programme-card-body { padding: 1.4rem; }
.programme-card-body ul { padding-left: 1.2rem; font-size: 0.92rem; color: var(--color-text-muted); }

/* =====================================================
   Forms
   ===================================================== */
.form-control-custom, .form-select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  padding: 0.7rem 1rem;
  background-color: var(--color-white);
  color: var(--color-text);
}
.form-control-custom:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(11,93,59,0.12);
}
label.form-label-custom {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

/* =====================================================
   Footer
   ===================================================== */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 4rem;
}
.site-footer h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 36px; height: 3px;
  background: var(--color-gold);
  border-radius: 2px;
}
.site-footer a { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.site-footer a:hover { color: var(--color-gold-light); }
.site-footer .footer-logo {
  height: 56px;
  margin-bottom: 1rem;
}
.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.75);
}
.footer-contact-item i { color: var(--color-gold); margin-top: 3px; }
.social-icons { display: flex; gap: 0.7rem; margin-top: 1rem; }
.social-icons a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: var(--transition);
}
.social-icons a:hover { background: var(--color-gold); color: var(--color-primary-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 3rem;
  padding: 1.4rem 0;
  font-size: 0.85rem;
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.footer-newsletter input {
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}
.footer-newsletter button {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* =====================================================
   Back to top
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
  border: none;
  font-size: 1.2rem;
}
.back-to-top.show {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.back-to-top:hover { background: var(--color-gold); color: var(--color-primary-dark); }

/* =====================================================
   Animations
   ===================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* =====================================================
   Responsive Adjustments
   ===================================================== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--color-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-top: 0.6rem;
    box-shadow: var(--shadow-card);
  }
  .principal-section { padding: 2rem; text-align: center; }
  .principal-photo { max-width: 220px; margin: 0 auto 1.5rem; }
  .cta-band { padding: 2.2rem 1.5rem; }
}

@media (max-width: 575.98px) {
  .hero { min-height: 100vh; }
  .section-pad { padding: 3rem 0; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* Print */
@media print {
  .navbar-custom, .site-footer, .back-to-top, .topbar { display: none !important; }
}
/* Advisory Board CSS - append to assets/css/style.css */

/* =====================================================
   Advisory Board cards (about/governance.php)
   ===================================================== */
.advisory-card {
  transition: var(--transition);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.advisory-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}
.advisory-photo-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  padding: 2rem 2rem 1rem;
  display: flex;
  justify-content: center;
}
.advisory-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.3);
  display: block;
}
.advisory-photo-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 3px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.6);
}
.advisory-role-badge {
  position: absolute;
  bottom: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
