:root {
  --primary: #8b3a3a;
  --primary-dark: #5e2626;
  --primary-light: #a84c4c;
  --gold: #c9a227;
  --gold-light: #e8c04a;
  --gold-pale: #fef3cd;
  --cream: #faf7f0;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --radius: 16px;
  --radius-lg: 28px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'DM Sans', sans-serif;
  background: #fff;
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ── SCROLL PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(139,58,58,0.35);
  display: flex; align-items: center; justify-content: center;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { transform: translateY(-3px); background: var(--gold); }

/* ── NAVBAR ── */
.navbar {
  background: rgba(255,255,255,0.97) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
  padding: 0.6rem 0;
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.1); }
.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary) !important;
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.navbar-brand span { color: var(--gold); }
.logo-img { height: 42px; width: auto; object-fit: contain; }
.logo-fallback {
  width: 42px; height: 42px;
  background: var(--primary);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.3rem;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #444 !important;
  padding: 0.45rem 0.75rem !important;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary) !important;
  background: rgba(139,58,58,0.07);
}
.nav-link.active { font-weight: 700; color: var(--primary) !important; }
.navbar-enroll-btn {
  background: var(--primary);
  color: white !important;
  border-radius: 50px;
  padding: 0.45rem 1.2rem !important;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.navbar-enroll-btn:hover {
  background: var(--gold) !important;
  color: var(--primary) !important;
  transform: translateY(-1px);
}
.navbar-toggler { border: none; padding: 4px; }
.navbar-toggler:focus { box-shadow: none; }
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; }
.hamburger-icon span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }

/* ── HERO ── */
.hero {
  position: relative;
  height: 90vh; min-height: 580px;
  overflow: hidden;
  background: var(--primary-dark);
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide:nth-child(1) { background-image: url('https://images.pexels.com/photos/5212345/pexels-photo-5212345.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.hero-slide:nth-child(2) { background-image: url('https://images.pexels.com/photos/8613089/pexels-photo-8613089.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.hero-slide:nth-child(3) { background-image: url('https://images.pexels.com/photos/5428007/pexels-photo-5428007.jpeg?auto=compress&cs=tinysrgb&w=1600'); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(94,38,38,0.82) 0%, rgba(139,58,58,0.6) 60%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; align-items: center;
}
.hero-text { max-width: 680px; color: white; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,162,39,0.2);
  border: 1px solid rgba(201,162,39,0.5);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  animation: fadeUp 0.8s ease forwards;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 8vw, 2.80rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title .accent { color: var(--gold-light); }
.hero-subtitle {
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 1.8rem;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s 0.45s ease both;
}
.hero-badge {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: fadeUp 0.8s 0.6s ease both; }
.btn-hero-primary {
  background: var(--gold);
  color: var(--primary-dark) !important;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 50px;
  border: none;
  font-size: 0.95rem;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 8px 24px rgba(201,162,39,0.35);
}
.btn-hero-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201,162,39,0.45); }
.btn-hero-outline {
  background: transparent;
  color: white !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 0.95rem;
  transition: all 0.25s;
  text-decoration: none;
}
.btn-hero-outline:hover { border-color: white; background: rgba(255,255,255,0.12); }

.hero-dots {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active { background: var(--gold-light); width: 24px; border-radius: 4px; }

.hero-stats-strip {
  background: white;
  padding: 1.5rem 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.07);
  position: relative; z-index: 5;
}
.stat-item { text-align: center; padding: 0 1rem; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900;
  color: var(--primary);
  display: block;
}
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 50px; background: #e0e0e0; }

.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-cream { background: var(--cream); }
.section-dark { background: var(--primary-dark); color: white; }
.section-primary { background: var(--primary); color: white; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--gold);
  display: inline-block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title.light { color: white; }
.section-subtitle { font-size: 1rem; color: var(--text-muted); line-height: 1.7; max-width: 600px; }
.section-subtitle.light { color: rgba(255,255,255,0.75); }
.gold-underline {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ── PRINCIPAL WELCOME CARD (NEW SECTION) ── */
.principal-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}
.principal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 40px -12px rgba(139, 58, 58, 0.2);
}
.principal-img {
  width: 100%;
  object-fit: cover;
  height: 320px;
  object-position: top center;
  border-bottom: 4px solid var(--gold);
  background: #f5f0e6;
  transition: transform 0.5s ease;
}
.principal-card:hover .principal-img {
  transform: scale(1.02);
}
.principal-message {
  padding: 1.8rem;
}
.principal-name {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--primary-dark);
  margin-bottom: 0.25rem;
}
.principal-title {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.message-text {
  font-size: 1rem;
  line-height: 1.55;
  color: #2d3e4e;
  margin-top: 0.5rem;
  font-style: normal;
}
.message-text i.fa-quote-left {
  color: var(--gold);
  opacity: 0.6;
  margin-right: 6px;
}
.signature {
  margin-top: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-dark);
  border-top: 1px solid #eee;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.signature i {
  color: var(--gold);
  font-size: 0.9rem;
}
/* Principal message extra badge or chat bubble */
.principal-chat-note {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0.8rem 1.2rem;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border-left: 3px solid var(--gold);
}
.principal-chat-note i {
  font-size: 1.3rem;
  color: var(--gold);
}

/* ── FEATURE GRID ── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

.feature-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.35s, box-shadow 0.35s;
}
.feature-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 24px 50px rgba(0,0,0,0.25); }
.feature-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.5s ease;
}
.feature-card:hover .feature-card-img { transform: scale(1.06); }
.feature-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(94,38,38,0.95) 0%, rgba(139,58,58,0.6) 55%, transparent 100%);
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 20px 16px;
  color: white;
  text-align: center;
}
.feature-card-icon {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}
.feature-card h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 5px; line-height: 1.3; }
.feature-card p { font-size: 0.7rem; opacity: 0.85; margin: 0; line-height: 1.4; }

/* NEWS CARDS (used alongside principal section) */
.news-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #eee;
  transition: all 0.3s;
  height: 100%;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.1); }
.news-card-body { padding: 1.2rem; flex: 1; }
.news-date { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.news-card h5 { font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); margin: 6px 0 8px; line-height: 1.4; }
.news-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.tag-event { background: #e3f2fd; color: #1565c0; }
.tag-sports { background: #e8f5e9; color: #2e7d32; }
.tag-academic { background: var(--gold-pale); color: #7a5c00; }
.tag-notice { background: #fce4ec; color: #c62828; }

/* ── REMAINING STYLES (PROGRAMS, SPORTS, STAFF, GALLERY, ADMISSIONS, ETC.) ── */
.program-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  height: 100%;
  border: 1px solid #eee;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
}
.program-card:hover {
  box-shadow: 0 20px 50px rgba(139,58,58,0.12);
  transform: translateY(-6px);
}
.program-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(139,58,58,0.1), rgba(139,58,58,0.05));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}
.program-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
}
.program-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: #7a5c00;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.sport-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem 1rem;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s;
}
.sport-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(139,58,58,0.1);
  transform: translateY(-4px);
}
.sport-icon-wrap {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: white;
  transition: transform 0.3s;
}
.sport-card:hover .sport-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.sport-card h5 { font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); margin: 0; }

.staff-section-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
}
.staff-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.2rem;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.35s;
  height: 100%;
}
.staff-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(139,58,58,0.12);
  border-color: rgba(139,58,58,0.15);
}
.staff-img-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}
.staff-img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  display: block;
}
.staff-img-wrap .role-badge {
  position: absolute;
  bottom: 4px; right: -4px;
  background: var(--primary);
  color: var(--gold-light);
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  border: 2px solid white;
}
.staff-card h4 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 4px; }
.staff-role { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.staff-meta { font-size: 0.75rem; color: #777; }
.staff-meta i { color: var(--gold); margin-right: 4px; }

.group-header {
  background: linear-gradient(135deg, #f9ecec 0%, #f0dddd 100%);
  border-left: 5px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 1.5rem;
}
.group-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin: 0;
}
.group-header i { color: var(--gold); margin-right: 10px; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item-overlay {
  position: absolute; inset: 0;
  background: rgba(94,38,38,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { color: white; font-size: 1.8rem; }

.admissions-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.admissions-hero::after {
  content: '';
  position: absolute;
  bottom: -40px; left: 0; right: 0;
  height: 80px;
  background: white;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.download-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #eee;
  transition: all 0.3s;
  height: 100%;
}
.download-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(139,58,58,0.1); }
.download-icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, rgba(139,58,58,0.1), rgba(139,58,58,0.05));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  margin: 0 auto 1rem;
}
.download-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.5rem; }
.download-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.2rem; }

.contact-info-card {
  background: var(--primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  color: var(--gold-light);
  flex-shrink: 0;
}
.contact-info-item strong { display: block; font-size: 0.78rem; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-info-item span { font-size: 0.95rem; }

.contact-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.07);
  border: 1px solid #eee;
}
.form-control {
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139,58,58,0.1);
  outline: none;
}
.form-label { font-size: 0.85rem; font-weight: 600; color: #555; margin-bottom: 6px; }

.btn-primary-brand {
  background: var(--primary);
  color: white !important;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-primary-brand:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139,58,58,0.25); }
.btn-gold {
  background: var(--gold);
  color: var(--primary-dark) !important;
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 0.92rem;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,162,39,0.35); }
.btn-outline-brand {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 11px 28px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}
.btn-outline-brand:hover { background: var(--primary); color: white !important; transform: translateY(-2px); }

.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid #eee;
  transition: all 0.3s;
  text-align: center;
}
.value-card:hover { box-shadow: 0 12px 30px rgba(139,58,58,0.1); transform: translateY(-5px); }
.value-icon { font-size: 2rem; color: var(--primary); margin-bottom: 0.8rem; }
.value-card h5 { font-size: 1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.5rem; }
.value-card p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: white;
  padding: 4rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 0; right: 0;
  height: 80px;
  background: white;
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; margin-bottom: 0.5rem; }
.page-hero p { color: var(--gold-light); font-size: 1rem; max-width: 520px; margin: 0 auto; }
.page-hero-space { padding-top: 2rem; }

footer {
  background: var(--primary-dark);
  color: white;
}
.footer-top { padding: 4rem 0 2rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: white; margin-bottom: 0.8rem; }
.footer-logo span { color: var(--gold-light); }
.footer-desc { font-size: 0.88rem; opacity: 0.7; line-height: 1.7; max-width: 280px; }
.footer-heading { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold-light); margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 0.75rem; font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-contact-item i { color: var(--gold); margin-top: 2px; flex-shrink: 0; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom { padding: 1.2rem 0; font-size: 0.8rem; color: rgba(255,255,255,0.4); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.social-link:hover { background: var(--gold); color: var(--primary-dark); }

.custom-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid #e0e0e0;
  background: white;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
}
.tab-btn.active, .tab-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.breadcrumb-bar {
  background: var(--cream);
  padding: 0.6rem 0;
  border-bottom: 1px solid #e8e0d0;
}
.breadcrumb { margin: 0; }
.breadcrumb-item + .breadcrumb-item::before { color: #bbb; }
.breadcrumb-item a { color: var(--primary); text-decoration: none; font-size: 0.82rem; }
.breadcrumb-item.active { font-size: 0.82rem; color: var(--text-muted); }

.process-step { display: flex; gap: 1.2rem; align-items: flex-start; margin-bottom: 1.5rem; }
.step-num {
  width: 40px; height: 40px; min-width: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.step-content h6 { font-weight: 700; color: var(--primary-dark); margin-bottom: 3px; }
.step-content p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

.video-wrap iframe {
  width: 100%; height: 340px;
  border-radius: var(--radius-lg);
  border: none;
}

.mv-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid #eee;
  height: 100%;
}
.mv-card .mv-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.mv-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-dark);
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  color: white;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-banner h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 0.5rem; }
.cta-banner p { opacity: 0.85; margin-bottom: 1.5rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

@media (max-width: 768px) {
  .hero { height: 75vh; min-height: 520px; }
  .video-wrap iframe { height: 220px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 2rem 1.5rem; }
  .principal-img { height: 280px; }
  .principal-message { padding: 1.2rem; }
  .principal-name { font-size: 1.4rem; }
  .message-text { font-size: 0.92rem; }
}