/* Silicon City International School - Master Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-purple: #492784;
  --primary-purple-dark: #371b68;
  --primary-purple-light: #5d35a3;
  --golden-yellow: #EACC28;
  --golden-yellow-dark: #d4b61c;
  --golden-yellow-light: #f5de5b;
  --amber-button: #E0992B;
  --amber-button-hover: #c9841f;
  --amber-submit: #E0992B;
  --crest-blue: #003C9E;
  
  --text-dark: #1E1E2F;
  --text-body: #3E3E4F;
  --text-muted: #6B6B7F;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --border-light: #EEEEEE;
  --border-gray: #E0E0E0;
  
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 30px rgba(73, 39, 132, 0.12);
  --shadow-badge: 0 8px 24px rgba(234, 204, 40, 0.35);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   DUAL HEADER SYSTEM
   ========================================================================== */

/* 1. HOMEPAGE HEADER (Solid Purple #492784 Bar) */
.header-home {
  background-color: var(--primary-purple);
  height: 110px;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-md);
}

.header-home-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  position: relative;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  z-index: 10;
}

/* BIGGER, PROMINENT LOGO */
.brand-logo-img {
  height: 98px;
  width: auto;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.2s ease;
  display: block;
}
.brand-logo-img:hover {
  transform: scale(1.02);
}

/* Home Navbar Links - SLEEK COMPACT SINGLE-LINE */
.nav-container-home {
  display: flex;
  align-items: center;
  margin-right: 145px; /* Space for the top-right yellow badge */
  flex-shrink: 1;
}

.nav-menu-home {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap; /* STRICTLY SINGLE-LINE - NEVER BREAKS */
}

.nav-link-home {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 3px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap; /* NEVER BREAK INTO 2 LINES */
  display: inline-flex;
  align-items: center;
}

.nav-link-home:hover,
.nav-link-home.active {
  color: var(--golden-yellow);
}

.nav-link-home.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--golden-yellow);
  border-radius: 2px;
}

.nav-caret {
  font-size: 0.72rem;
  margin-left: 4px;
  display: inline-block;
}
.nav-caret.dark {
  color: #492784;
}

/* Yellow Quarter Circle Badge (Homepage Top-Right) */
.badge-register-home {
  position: absolute;
  top: 0;
  right: 0;
  width: 145px;
  height: 145px;
  background-color: var(--golden-yellow);
  border-bottom-left-radius: 145px;
  box-shadow: -3px 4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 20px;
  padding-bottom: 20px;
  z-index: 110;
  transition: transform 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.badge-register-home:hover {
  background-color: #ffd835;
  transform: scale(1.02);
}

.badge-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 2px;
}

.badge-register-home .badge-text {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 900;
  color: var(--crest-blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.1;
}

/* 2. INNER PAGE HEADER (Seamless Golden Yellow #EACC28) */
.header-inner {
  background-color: var(--golden-yellow);
  height: 110px;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
}

.header-inner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
}

.nav-container-inner {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.nav-menu-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap; /* STRICTLY SINGLE-LINE - NEVER BREAKS */
}

.nav-link-inner {
  color: #111111;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 3px;
  position: relative;
  transition: color 0.2s ease;
  white-space: nowrap; /* NEVER BREAK INTO 2 LINES */
  display: inline-flex;
  align-items: center;
}

.nav-link-inner:hover {
  color: var(--primary-purple);
}

.nav-link-inner.active {
  color: #111111;
}

.nav-link-inner.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3.5px;
  background-color: var(--primary-purple);
  border-radius: 2px;
}

/* Purple Pill Button (Inner Header Top-Right) */
.btn-register-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-purple);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 14px rgba(73, 39, 132, 0.3);
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
  flex-shrink: 0;
}

.btn-register-pill:hover {
  background-color: var(--primary-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(73, 39, 132, 0.4);
}

.pill-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* ==========================================================================
   MANDATORY DISCLOSURE DROPDOWN
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #FFFFFF;
  min-width: 330px;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 200;
  border: 1px solid var(--border-gray);
  overflow: hidden;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  border-bottom: 1px solid #EEEEEE;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  line-height: 1.3;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-link:hover {
  background-color: #F8F9FA;
  color: var(--primary-purple);
  padding-left: 20px;
}

.dropdown-link .pdf-badge {
  font-size: 0.65rem;
  background-color: #ffe6e6;
  color: #d32f2f;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
}

/* ==========================================================================
   INNER PAGE HERO BANNER
/* ==========================================================================
   INNER PAGE HERO BANNER
   ========================================================================== */
.inner-hero {
  background-color: var(--golden-yellow);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 340px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: -1px;
}

.inner-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(234, 204, 40, 0.98) 0%, rgba(234, 204, 40, 0.88) 55%, rgba(234, 204, 40, 0.40) 100%);
  z-index: 2;
  pointer-events: none;
}

.inner-hero-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 24px 65px;
  position: relative;
  z-index: 5;
}

.inner-banner-content {
  max-width: 620px;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-title-box {
  border-left: 8px solid var(--primary-purple);
  padding-left: 18px;
}

.hero-page-title {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: #111111;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-breadcrumbs {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333333;
}

.hero-breadcrumbs a {
  color: #111111;
}
.hero-breadcrumbs a:hover {
  color: var(--primary-purple);
}

/* ==========================================================================
/* ==========================================================================
   HOMEPAGE SPECIFIC COMPONENTS
   ========================================================================== */

/* Hero Carousel & 2-Slide System */
.hero-carousel {
  position: relative;
  width: 100%;
  background-color: #FFFFFF;
  overflow: hidden;
  border-bottom: 2px solid #EAE6F4;
}

.hero-slides-wrapper {
  position: relative;
  width: 100%;
}

.hero-slide {
  display: none;
  width: 100%;
}

.hero-slide.active {
  display: block;
  animation: heroSlideFadeIn 0.5s ease-in-out forwards;
}

@keyframes heroSlideFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-container {
  padding-top: 20px;
  padding-bottom: 0 !important;
}

.home-quote-grid {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  position: relative;
  width: 100%;
  min-height: 500px;
}

.quote-content-col {
  flex: 1 1 54%;
  min-width: 0;
  text-align: center;
  align-self: center;
  padding: 40px 0 60px;
  z-index: 2;
}

.quote-heading-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 8px;
}

.triangle-wedge {
  width: 44px;
  height: auto;
}
.triangle-wedge.right {
  transform: scaleX(-1);
}

.quote-main-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--golden-yellow);
  letter-spacing: 2px;
  line-height: 1;
}

.hero-teaching-text {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 900;
  color: var(--primary-purple);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.quote-subtitle {
  font-family: var(--font-heading);
  font-size: 1.40rem;
  font-weight: 700;
  color: #B59300;
  line-height: 1.35;
  margin-bottom: 24px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.quote-meta-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.cbse-pill {
  display: inline-block;
  background-color: #F0F0F7;
  color: var(--primary-purple);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.92rem;
  border: 1px solid #E0E0EC;
}

.btn-brochure {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-purple);
  color: #FFFFFF;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(73, 39, 132, 0.25);
}
.btn-brochure:hover {
  background-color: var(--primary-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(73, 39, 132, 0.35);
}

/* Boy Cutout - Docked Flush to the Bottom Edge of Section */
.quote-visual-col {
  flex: 1 1 46%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  align-self: flex-end;
  position: relative;
  z-index: 1;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
  line-height: 0;
}

.boy-cutout-img {
  max-width: 100%;
  width: auto;
  max-height: 530px;
  object-fit: contain;
  display: block;
  margin-bottom: 0 !important;
  vertical-align: bottom;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

/* Hero Carousel Controls: Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(73, 39, 132, 0.88);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.hero-arrow:hover {
  background: var(--primary-purple);
  color: var(--golden-yellow);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(73, 39, 132, 0.4);
}

.hero-arrow-prev {
  left: 20px;
}

.hero-arrow-next {
  right: 20px;
}

/* Hero Carousel Controls: Dots */
.hero-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(73, 39, 132, 0.12);
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #C8C5D8;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0;
}

.hero-dot.active {
  background: var(--golden-yellow);
  box-shadow: 0 0 0 3px var(--primary-purple);
  width: 26px;
  border-radius: 8px;
}

/* ==========================================================================
   CAMPUS VIDEO WALKTHROUGH COMPONENT
   ========================================================================== */
.video-section {
  padding: 85px 0 95px;
  background: linear-gradient(135deg, #371B69 0%, #492784 50%, #2A1253 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(234, 204, 40, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.video-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 2;
}

.video-player-wrapper {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  border: 4px solid rgba(234, 204, 40, 0.45);
  background: #000000;
  z-index: 2;
}

.video-element {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #000000;
}

/* Custom Play Overlay */
.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.38);
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-play-overlay.playing {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-play-btn-circle {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--golden-yellow);
  color: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(234, 204, 40, 0.35), 0 12px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin-bottom: 16px;
}

.video-play-btn-circle svg {
  margin-left: 5px;
}

.video-play-overlay:hover .video-play-btn-circle {
  transform: scale(1.12);
  background: #FFE033;
  box-shadow: 0 0 0 16px rgba(234, 204, 40, 0.45), 0 16px 40px rgba(0, 0, 0, 0.6);
}

.video-play-caption {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 4px;
}

.video-play-meta {
  font-size: 0.90rem;
  color: #E0DAF5;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* Feature badges below player */
.video-features-bar {
  max-width: 960px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  z-index: 2;
}

.video-feature-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.video-feature-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* Counters Section */
.counter-section {
  background-color: #F8F7FC;
  padding: 55px 0;
  border-top: 1px solid #EEEEEE;
  border-bottom: 1px solid #EEEEEE;
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.counter-card {
  background-color: #FFFFFF;
  padding: 28px 18px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--golden-yellow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.counter-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--primary-purple);
}

.counter-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--primary-purple);
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Section Headings */
.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary-purple);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background-color: #F0EAF8;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 12px auto 0;
}

/* Feature Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
}

.feature-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-purple);
}

.feature-card-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  max-height: 240px;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
  display: block;
  background-color: #F4F2F9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card-img {
  transform: scale(1.04);
}

.feature-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.feature-card-text {
  font-size: 0.94rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

/* Leadership Portrait Cards */
.leader-card {
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E5E5E5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: center;
  padding: 28px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(73, 39, 132, 0.12);
  border-color: var(--primary-purple);
}

.leader-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid var(--golden-yellow);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.leader-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  margin-bottom: 4px;
}

.leader-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-purple);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.leader-bio {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

/* 5 C's Card with Authentic Icons */
.c-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #E5E5E5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s ease;
}
.c-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-purple);
}
.c-icon-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 14px;
}
.c-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 8px;
}
.c-text {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

/* Student Life Icon Cards */
.life-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 26px 22px;
  border: 1px solid #E5E5E5;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: transform 0.25s ease;
}
.life-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-purple);
}
.life-icon-img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
}
.life-card-content {
  flex: 1;
}
.life-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-purple);
  margin-bottom: 6px;
}
.life-text {
  font-size: 0.93rem;
  color: #444;
  line-height: 1.6;
}

/* Amber Form Button */
.btn-amber-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--amber-button);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 13px 40px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(224, 153, 43, 0.35);
  transition: all 0.25s ease;
}

.btn-amber-submit:hover {
  background-color: var(--amber-button-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224, 153, 43, 0.45);
}

/* ==========================================================================
   RESPONSIVE FORM & CONTACT COMPONENTS
   ========================================================================== */
.contact-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: flex-start;
  width: 100%;
}

.home-welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}

.responsive-2col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  width: 100%;
}

.responsive-2col-grid img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  display: block;
}

.form-card-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: 36px 30px;
  box-sizing: border-box;
  background-color: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #EAEAEA;
  border-top: 6px solid var(--amber-submit);
}

.form-group {
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.90rem;
  font-weight: 700;
  color: #222222;
  display: block;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid #D2D2D2;
  border-radius: 8px;
  font-size: 0.96rem;
  font-family: var(--font-body);
  background: #FAFAFA;
  color: #111111;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-purple);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(73, 39, 132, 0.15);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  box-sizing: border-box;
}

.btn-form-submit {
  width: 100%;
  padding: 14px 20px;
  background-color: var(--amber-submit);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(224, 153, 43, 0.35);
  transition: all 0.25s ease;
  margin-top: 8px;
  display: block;
  text-align: center;
}

.btn-form-submit:hover {
  background-color: #cb8419;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(224, 153, 43, 0.45);
}

/* ==========================================================================
   FOOTER COMPONENT
   ========================================================================== */
.footer-main {
  background-color: var(--primary-purple);
  color: #FFFFFF;
  padding: 55px 0 20px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 1.4fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* NOTICEABLY BIGGER FOOTER LOGO */
.footer-logo-img {
  height: 135px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}
.footer-logo-img:hover {
  transform: scale(1.03);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #FFFFFF;
  margin-bottom: 20px;
  position: relative;
}

.quicklinks-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  list-style: none;
}

.quicklink-item a {
  color: #D8D2E7;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.quicklink-item a:hover {
  color: var(--golden-yellow);
  padding-left: 6px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon-svg {
  color: var(--golden-yellow);
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-text-wrap {
  font-size: 0.92rem;
  color: #E2DEED;
  line-height: 1.5;
}

.contact-text-wrap a {
  color: #E2DEED;
}
.contact-text-wrap a:hover {
  color: var(--golden-yellow);
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.copyright-text {
  font-size: 0.86rem;
  color: #D8D2E7;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.social-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon-btn:hover {
  color: var(--golden-yellow);
  transform: scale(1.15);
}

/* Floating Scroll-To-Top Pencil Button */
.btn-scroll-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 50px;
  height: 50px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 999;
  padding: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  opacity: 0.95;
}

.btn-scroll-top:hover {
  transform: translateY(-4px) scale(1.08);
  opacity: 1;
}

.pencil-scroll-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  display: block;
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER & FULL-SCREEN OVERLAY (FLAWLESS & RESPONSIVE)
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 120;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  height: 100dvh;
  background-color: #351a63;
  color: #FFFFFF;
  z-index: 99999;
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background-color: #26124a;
  border-bottom: 2px solid var(--golden-yellow);
  flex-shrink: 0;
}

.mobile-drawer-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.mobile-drawer-close {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 8px;
  color: #FFFFFF;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px 18px 36px;
  display: flex;
  flex-direction: column;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.mobile-nav-list > li > a:not(.mobile-reg-link) {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  display: block;
  padding: 11px 14px;
  border-radius: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.mobile-nav-list > li > a:not(.mobile-reg-link):hover {
  background-color: rgba(234, 204, 40, 0.15);
  color: var(--golden-yellow);
  padding-left: 18px;
}

/* Accordion for Mandatory Disclosures */
.mobile-has-submenu {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 4px;
}

.mobile-submenu-trigger-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-disclosure-main {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  padding: 11px 14px;
  flex: 1;
  text-decoration: none;
}

.mobile-disclosure-main:hover {
  color: var(--golden-yellow);
}

.mobile-submenu-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  border-radius: 6px;
  color: #FFFFFF;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.mobile-submenu-btn:hover {
  background: rgba(255, 255, 255, 0.22);
}

.submenu-caret {
  display: inline-block;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.mobile-sub-menu {
  display: none;
  list-style: none;
  margin: 6px 0 10px 8px;
  padding: 6px 0 6px 12px;
  border-left: 2px solid var(--golden-yellow);
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 8px 8px 0;
}

.mobile-sub-menu.open {
  display: block;
}

.mobile-sub-item {
  margin: 2px 0;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #E2DDF0;
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-sub-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--golden-yellow);
}

.mobile-sub-link .pdf-badge {
  font-size: 0.65rem;
  background-color: #ffe6e6;
  color: #d32f2f;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  flex-shrink: 0;
}

.mobile-reg-link {
  background-color: var(--golden-yellow) !important;
  color: var(--crest-blue) !important;
  font-family: var(--font-heading);
  text-align: center;
  padding: 14px 16px !important;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 900 !important;
  letter-spacing: 0.5px;
  display: block;
  box-shadow: 0 4px 15px rgba(234, 204, 40, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-reg-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 204, 40, 0.5);
}

.mobile-drawer-contact {
  margin-top: 28px;
  padding: 18px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border-left: 3px solid var(--golden-yellow);
}

.mobile-contact-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--golden-yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.mobile-contact-numbers {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.mobile-contact-numbers a {
  color: #FFFFFF;
}

.mobile-contact-email {
  font-size: 0.88rem;
  color: #DDD;
  margin-bottom: 6px;
}

.mobile-contact-email a {
  color: var(--golden-yellow);
}

.mobile-contact-loc {
  font-size: 0.80rem;
  color: #BBB;
  line-height: 1.4;
}

body.menu-open {
  overflow: hidden !important;
  touch-action: none;
}

/* Lightbox Modal */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 100000;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.gallery-modal.active {
  display: flex;
}
.modal-content-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}
.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #fff;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* Form Success Banner */
.form-success-banner {
  margin-top: 16px;
  padding: 14px 20px;
  background-color: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius-sm);
  border: 1px solid #c8e6c9;
  font-size: 0.95rem;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS (MOBILE & TABLET AUDITED)
   ========================================================================== */
@media (max-width: 1260px) {
  .nav-menu-home, .nav-menu-inner {
    gap: 8px;
  }
  .nav-link-home, .nav-link-inner {
    font-size: 0.72rem;
    padding: 5px 2px;
  }
}

/* Switch to mobile hamburger at 1150px so desktop never wraps */
@media (max-width: 1150px) {
  .nav-container-home, .nav-container-inner {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  .header-inner .mobile-nav-toggle {
    background: rgba(73, 39, 132, 0.12);
  }
  .header-home-container {
    padding-right: 125px; /* Ample space for top-right yellow badge */
  }
  .badge-register-home {
    width: 105px;
    height: 105px;
    border-bottom-left-radius: 105px;
    padding-left: 14px;
    padding-bottom: 14px;
  }
  .badge-icon-img {
    width: 26px;
    height: 26px;
  }
  .badge-register-home .badge-text {
    font-size: 0.68rem;
    line-height: 1.05;
  }
}

@media (max-width: 900px) {
  .home-quote-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    min-height: auto;
  }
  .quote-content-col {
    flex: 1 1 100%;
    width: 100%;
    padding: 30px 10px 10px;
  }
  .quote-visual-col {
    flex: 1 1 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    align-self: flex-end;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    line-height: 0;
  }
  .boy-cutout-img {
    max-height: 360px;
    margin: 0 auto !important;
    margin-bottom: 0 !important;
    display: block;
    vertical-align: bottom;
    object-fit: contain;
  }
  .hero-arrow {
    width: 40px;
    height: 40px;
  }
  .hero-arrow-prev {
    left: 8px;
  }
  .hero-arrow-next {
    right: 8px;
  }
  .video-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .home-welcome-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-grid-2col {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .responsive-2col-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-brand {
    align-items: center;
    text-align: center;
  }
  .footer-logo-img {
    height: 125px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .inner-hero {
    min-height: 260px;
    background-position: center right;
  }
  .inner-hero-overlay {
    background: linear-gradient(180deg, rgba(234, 204, 40, 0.96) 0%, rgba(234, 204, 40, 0.90) 70%, rgba(234, 204, 40, 0.75) 100%);
  }
  .inner-hero-container {
    padding: 35px 20px 40px;
  }
  .hero-tagline {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 14px;
  }
  .hero-page-title {
    font-size: 1.65rem;
  }
  .form-card-container {
    padding: 24px 16px;
    border-radius: 12px;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .feature-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: 220px;
    object-fit: cover;
  }
}

@media (max-width: 650px) {
  .header-home, .header-inner {
    height: 94px;
  }
  .brand-logo-img {
    height: 84px;
    max-height: 86px;
    width: auto;
    object-fit: contain;
  }
  .header-home-container {
    padding: 0 12px;
    padding-right: 90px;
  }
  .badge-register-home {
    width: 82px;
    height: 82px;
    border-bottom-left-radius: 82px;
    padding-left: 10px;
    padding-bottom: 10px;
  }
  .badge-icon-img {
    width: 20px;
    height: 20px;
  }
  .badge-register-home .badge-text {
    font-size: 0.58rem;
    line-height: 1.05;
  }
  .header-inner .btn-register-pill {
    display: none; /* Keep inner header on small mobile ultra-clean with just Logo & Hamburger */
  }
  .header-inner-container {
    padding: 0 16px;
  }
  .hero-tagline {
    font-size: 1.45rem;
  }
  .hero-page-title {
    font-size: 1.5rem;
  }
  .quote-main-title {
    font-size: 2.6rem;
  }
  .quote-subtitle {
    font-size: 1.2rem;
  }
  .boy-cutout-img {
    max-height: 250px;
  }
  .feature-card-img {
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
    max-height: 200px;
    object-fit: cover;
  }
  .counter-grid {
    grid-template-columns: 1fr;
  }
  .leader-avatar {
    width: 110px;
    height: 110px;
  }
  .footer-logo-img {
    height: 115px;
  }
  .quicklinks-two-cols {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ==============================================================================
   PHOTO TOUR GALLERY STYLES
   ============================================================================== */
.photo-tour-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.photo-tour-filter-btn {
  padding: 10px 22px;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  border: 2px solid #CBD5E1;
  background: #FFFFFF;
  color: #334155;
  cursor: pointer;
  transition: all 0.22s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.photo-tour-filter-btn:hover {
  border-color: var(--primary-purple);
  color: var(--primary-purple);
  transform: translateY(-1px);
}

.photo-tour-filter-btn.active {
  background: var(--primary-purple) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-purple) !important;
  box-shadow: 0 4px 14px rgba(73, 39, 132, 0.25);
}

.photo-tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 28px;
}

.photo-tour-card {
  border-radius: 14px;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(73, 39, 132, 0.14);
}

.photo-tour-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #F1F5F9;
}

.photo-tour-card .photo-tour-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.photo-tour-card:hover .photo-tour-img {
  transform: scale(1.06);
}

.photo-tour-zoom-hint {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(73, 39, 132, 0.85);
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.22s ease;
  pointer-events: none;
}

.photo-tour-card:hover .photo-tour-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.photo-tour-card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #FFFFFF;
}

.photo-tour-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--primary-purple);
  background: #F3EFF9;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 8px;
}

.photo-tour-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #1E293B;
  line-height: 1.35;
  margin: 0 0 8px 0;
}

.photo-tour-desc {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 640px) {
  .photo-tour-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .photo-tour-filter-btn {
    padding: 8px 16px;
    font-size: 0.82rem;
  }
}

/* ==============================================================================
   SITE PRELOADER COMPONENT
   ============================================================================== */
.site-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #FFFFFF;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, visibility;
  pointer-events: all;
}

.site-preloader.loaded {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  max-width: 90vw;
}

.preloader-logo-wrap {
  position: relative;
  width: 124px;
  height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

/* Dual-Accent Rotating Spinner Ring */
.preloader-spinner-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3.5px solid rgba(73, 39, 132, 0.08);
  border-top-color: var(--primary-purple);
  border-right-color: var(--golden-yellow);
  animation: preloaderSpin 1.1s cubic-bezier(0.55, 0.15, 0.45, 0.85) infinite;
  box-sizing: border-box;
}

/* Secondary Outer Soft Orbit */
.preloader-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px dashed rgba(234, 204, 40, 0.5);
  animation: preloaderSpinReverse 16s linear infinite;
}

/* Center Circular Logo Badge */
.preloader-logo-badge {
  width: 98px;
  height: 98px;
  border-radius: 50%;
  background: var(--primary-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(73, 39, 132, 0.25), 0 0 0 3px #FFFFFF;
  animation: preloaderPulse 2.4s ease-in-out infinite;
  z-index: 2;
}

.preloader-logo-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
}

.preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 20px;
}

.preloader-name-primary {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--primary-purple);
  letter-spacing: 1.8px;
  line-height: 1.1;
}

.preloader-name-secondary {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 800;
  color: #B8860B;
  letter-spacing: 2.2px;
  line-height: 1.2;
}

.preloader-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 1.2px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Animated Smooth Progress Track */
.preloader-progress-track {
  width: 170px;
  height: 3.5px;
  background: #E2E8F0;
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.preloader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, #492784 0%, #EACC28 50%, #492784 100%);
  border-radius: 999px;
  animation: preloaderBar 1.4s ease-in-out infinite;
}

@keyframes preloaderSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinReverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes preloaderBar {
  0% {
    left: -45%;
    width: 35%;
  }
  50% {
    left: 30%;
    width: 60%;
  }
  100% {
    left: 100%;
    width: 35%;
  }
}

/* Mobile Responsiveness across all viewports */
@media (max-width: 480px) {
  .preloader-logo-wrap {
    width: 105px;
    height: 105px;
    margin-bottom: 16px;
  }
  .preloader-logo-badge {
    width: 84px;
    height: 84px;
  }
  .preloader-logo-img {
    width: 66px;
    height: 66px;
  }
  .preloader-name-primary {
    font-size: 1.12rem;
    letter-spacing: 1.2px;
  }
  .preloader-name-secondary {
    font-size: 0.74rem;
    letter-spacing: 1.6px;
  }
  .preloader-tagline {
    font-size: 0.62rem;
    letter-spacing: 0.8px;
  }
  .preloader-progress-track {
    width: 140px;
    height: 3px;
  }
}



