/* ============================================
   LODGE OF FRATERNITY No. 1418
   Color Palette:
     Navy:     #1B2A4A
     Gold:     #C8A961
     Burgundy: #6B2D3E
     Off-white:#F8F6F1
     Charcoal: #1A1A1A
     Text:     #2C2C2C
     Muted:    #6B6B6B
   ============================================ */

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #2C2C2C;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #FFFFFF;
}

.text-light {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1B2A4A;
}

h2 { font-size: 2.4rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: #4A4A4A;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.85;
  color: #2C2C2C;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #C8A961;
  color: #1B2A4A;
}

.btn-primary:hover {
  background-color: #b8993f;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 169, 97, 0.35);
}

/* ---- Section Defaults ---- */
.section {
  padding: 100px 0;
}

.section-light {
  background-color: #FFFFFF;
}

.section-cream {
  background-color: #F8F6F1;
}

.section-navy {
  background-color: #1B2A4A;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C8A961;
  margin-bottom: 12px;
}

.section-label-light {
  color: #C8A961;
}

.section-title {
  margin-bottom: 16px;
}

.title-accent {
  width: 60px;
  height: 3px;
  background-color: #C8A961;
  margin: 0 auto;
  border-radius: 2px;
}

.title-accent-gold {
  background-color: #C8A961;
}

.section-intro {
  max-width: 750px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 1.05rem;
  color: #6B6B6B;
  line-height: 1.8;
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s ease;
  background-color: transparent;
}

.navbar.scrolled {
  background-color: #FFFFFF;
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  z-index: 1001;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.logo-dark {
  display: none;
}

.logo-light {
  display: block;
}

.navbar.scrolled .logo-dark {
  display: block;
}

.navbar.scrolled .logo-light {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #C8A961;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar.scrolled .nav-link {
  color: #1B2A4A;
}

.nav-link:hover {
  color: #C8A961;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: 4px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
  border-radius: 1px;
}

.navbar.scrolled .nav-toggle span {
  background-color: #1B2A4A;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: #1B2A4A;
  overflow: hidden;
}

/* Slider background */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity, transform;
  animation: kenBurns 20s ease-in-out infinite alternate;
}

.hero-slide.active {
  opacity: 1;
}

/* Ken Burns — subtle slow zoom */
@keyframes kenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.08); }
}

/* Stagger zoom directions per slide */
.hero-slide:nth-child(2) {
  animation-name: kenBurns2;
}

.hero-slide:nth-child(3) {
  animation-name: kenBurns3;
}

.hero-slide:nth-child(4) {
  animation-name: kenBurns4;
}

@keyframes kenBurns2 {
  0%   { transform: scale(1.05) translateX(-1%); }
  100% { transform: scale(1) translateX(1%); }
}

@keyframes kenBurns3 {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06) translateY(-1%); }
}

@keyframes kenBurns4 {
  0%   { transform: scale(1.04) translateX(1%); }
  100% { transform: scale(1) translateX(-1%); }
}

/* Dark overlay for text readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 42, 74, 0.88) 0%,
    rgba(27, 42, 74, 0.7) 50%,
    rgba(27, 42, 74, 0.5) 100%
  );
  z-index: 1;
}

/* Centred text overlay */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px;
  padding-bottom: 40px;
  min-height: 100vh;
}

.hero-text {
  max-width: 650px;
}

.hero-preheading {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C8A961;
  margin-bottom: 20px;
}

.hero-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.8rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subheading {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

/* Hero Buttons Row */
.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hero-outline:hover {
  background: #FFFFFF;
  color: #1B2A4A;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-hero-outline i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.btn-hero-outline:hover i {
  transform: translateX(4px);
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  right: 40px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero-scroll-indicator span {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #C8A961, transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; height: 40px; }
  50% { opacity: 0.4; height: 25px; }
}

/* Slider Dots */
.hero-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 12px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot:hover {
  border-color: #C8A961;
}

.hero-dot.active {
  background-color: #C8A961;
  border-color: #C8A961;
  transform: scale(1.15);
}

/* ---- WELCOME / INTRODUCTION ---- */
.intro-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro-content .lead-text {
  margin-bottom: 1.2rem;
}

/* Stats Row */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 50px;
  padding-top: 50px;
  border-top: 1px solid #e8e5de;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 20px 30px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1B2A4A, #2a3f6a);
  color: #C8A961;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(27, 42, 74, 0.2);
}

.stat-number {
  display: inline;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #1B2A4A;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #C8A961;
}

.stat-label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #6B6B6B;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---- CORE VALUES ---- */

/* Subtle architectural linework background */
#values {
  position: relative;
  overflow: hidden;
}

#values::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 35%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 97, 0.08);
  pointer-events: none;
  z-index: 0;
}

#values::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 97, 0.08);
  pointer-events: none;
  z-index: 0;
}

#values > .container {
  position: relative;
  z-index: 1;
}

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

.quality-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(200, 169, 97, 0.2);
  border-radius: 6px;
  padding: 36px 24px;
  text-align: center;
  transition: all 0.4s ease;
}

.quality-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(200, 169, 97, 0.5);
  transform: translateY(-6px);
}

.quality-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 169, 97, 0.12);
  color: #C8A961;
  font-size: 1.6rem;
}

.quality-card h3 {
  color: #FFFFFF;
  margin-bottom: 14px;
  font-size: 1.3rem;
}

.quality-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- ABOUT ---- */
.about-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 80px;
}

.about-image {
  position: relative;
  position: sticky;
  top: 100px;
  align-self: start;
}

.about-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid #C8A961;
  border-radius: 6px;
  z-index: -1;
  opacity: 0.3;
}

.about-text .section-label {
  text-align: left;
}

.about-text .section-title {
  text-align: left;
}

.about-text .title-accent {
  margin: 0 0 30px 0;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.8;
}

.about-vision-mission {
  margin-top: 30px;
  display: grid;
  gap: 20px;
}

.vm-item {
  padding: 24px;
  background: #F8F6F1;
  border-radius: 6px;
  border-left: 4px solid #C8A961;
}

.vm-item h4 {
  color: #1B2A4A;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.vm-item h4 i {
  color: #C8A961;
  font-size: 1rem;
}

.vm-item p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: #6B6B6B;
}

/* What We Offer / Core Values */
.values-grid {
  text-align: center;
}

.values-heading {
  font-size: 1.6rem;
  margin-bottom: 36px;
  color: #1B2A4A;
}

.values-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  padding: 30px 24px;
  background: #F8F6F1;
  border-radius: 6px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.value-card:hover {
  border-color: #C8A961;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.value-card i {
  font-size: 1.8rem;
  color: #C8A961;
  margin-bottom: 16px;
}

.value-card h4 {
  color: #1B2A4A;
  margin-bottom: 8px;
}

.value-card p {
  color: #6B6B6B;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---- DISCOVER FREEMASONRY (Leadership layout) ---- */
.leadership-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.leadership-text .section-label {
  text-align: left;
}

.leadership-text .section-title {
  text-align: left;
}

.leadership-text .title-accent {
  margin: 0 0 30px 0;
}

.leadership-text p {
  line-height: 1.8;
}

.leadership-qualities {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.leadership-qualities li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #2C2C2C;
  font-weight: 500;
}

.leadership-qualities li i {
  color: #C8A961;
  font-size: 0.8rem;
}

.leadership-image {
  position: relative;
}

.leadership-image img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.leadership-image::before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 100%;
  height: 100%;
  border: 3px solid #C8A961;
  border-radius: 6px;
  z-index: -1;
  opacity: 0.3;
}

/* ---- UNIVERSITIES SCHEME (Redesigned) ---- */
.uni-section {
  position: relative;
  padding: 100px 0;
  background-color: #1B2A4A;
  overflow: hidden;
}

/* Square & Compass tiling pattern */
.uni-bg-pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.uni-section > .container {
  position: relative;
  z-index: 1;
}

.uni-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.uni-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
  margin-bottom: 16px;
}

.uni-text {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

/* Highlight pills */
.uni-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.uni-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(200, 169, 97, 0.1);
  border: 1px solid rgba(200, 169, 97, 0.2);
  border-radius: 30px;
  color: #C8A961;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
}

.uni-highlight:hover {
  background: rgba(200, 169, 97, 0.18);
  border-color: rgba(200, 169, 97, 0.4);
  transform: translateY(-2px);
}

.uni-highlight i {
  font-size: 0.85rem;
}

/* Join button — subtle inline style */
.uni-join-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 0;
  color: #C8A961;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  background: none;
  transition: all 0.3s ease;
  position: relative;
}

.uni-join-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #C8A961;
  transition: width 0.3s ease;
}

.uni-join-btn:hover::after {
  width: 100%;
}

.uni-join-btn:hover {
  color: #FFFFFF;
}

.uni-join-btn i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.uni-join-btn:hover i {
  transform: translateX(5px);
}

/* Image block — modern angled rectangle */
.uni-image-block {
  position: relative;
}

.uni-image-wrapper {
  position: relative;
  border-radius: 12px 12px 60px 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(200, 169, 97, 0.25);
}

.uni-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27, 42, 74, 0.4) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
}

.uni-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.6s ease;
}

.uni-image-block:hover .uni-image-wrapper img {
  transform: scale(1.04);
}

/* Video embed — 16:9 responsive */
.uni-video-wrapper {
  position: relative;
  border-radius: 12px 12px 60px 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(200, 169, 97, 0.25);
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}

.uni-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Decorative gold corner bracket */
.uni-video-wrapper::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-top: 3px solid #C8A961;
  border-right: 3px solid #C8A961;
  border-radius: 0 8px 0 0;
  z-index: 2;
  pointer-events: none;
}

/* Small tag below image */
.uni-image-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 8px 16px;
  background: rgba(200, 169, 97, 0.08);
  border: 1px solid rgba(200, 169, 97, 0.15);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-style: italic;
  letter-spacing: 0.3px;
}

.uni-image-tag i {
  color: #C8A961;
  font-size: 0.7rem;
}

/* Decorative background glow */
.uni-image-block::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 45, 62, 0.15), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ---- BECOMING A FREEMASON (Impact) ---- */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.impact-card {
  padding: 36px 28px;
  background: #F8F6F1;
  border-radius: 6px;
  border-top: 3px solid #C8A961;
  transition: all 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

/* Featured first card — navy accent */
.impact-card:first-child {
  background: #1B2A4A;
  border-top-color: #C8A961;
}

.impact-card:first-child .impact-number {
  color: rgba(200, 169, 97, 0.5);
}

.impact-card:first-child h3 {
  color: #FFFFFF;
}

.impact-card:first-child p {
  color: rgba(255, 255, 255, 0.75);
}

.impact-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(200, 169, 97, 0.3);
  display: block;
  margin-bottom: 12px;
}

.impact-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1B2A4A;
}

.impact-card p {
  font-size: 0.95rem;
  color: #6B6B6B;
  margin-bottom: 0;
}

.impact-closing {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 44px;
  background: linear-gradient(135deg, #1B2A4A 0%, #243557 100%);
  border-radius: 8px;
  border-left: 5px solid #C8A961;
  box-shadow: 0 10px 40px rgba(27, 42, 74, 0.2);
  position: relative;
  overflow: hidden;
}

.impact-closing::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 100%;
  background: linear-gradient(135deg, transparent, rgba(107, 45, 62, 0.15));
  pointer-events: none;
}

.impact-image-accent {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #C8A961;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.impact-image-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.impact-closing p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin-bottom: 0;
}

/* ---- CTA BANNER ---- */
.cta-banner {
  position: relative;
  padding: 90px 0;
  background: linear-gradient(135deg, #6B2D3E 0%, #1B2A4A 60%, #1B2A4A 100%);
  overflow: hidden;
  text-align: center;
}

.cta-banner-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(200, 169, 97, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(107, 45, 62, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
}

.cta-badge {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 169, 97, 0.15);
  border: 2px solid rgba(200, 169, 97, 0.3);
  color: #C8A961;
  font-size: 1.5rem;
}

.cta-banner h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 550px;
  margin: 0 auto 32px;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-cta-primary {
  display: inline-block;
  padding: 16px 42px;
  background: #C8A961;
  color: #1B2A4A;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background: #FFFFFF;
  color: #1B2A4A;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 169, 97, 0.3);
}

.btn-cta-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.cta-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-stats span {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.5px;
}

.cta-stats span strong {
  color: #C8A961;
  font-size: 1rem;
  font-weight: 700;
}

.cta-stats-divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(200, 169, 97, 0.4);
}

/* ---- SECTION ACCENTS & DECORATIONS ---- */

/* Burgundy top accent on cream sections */
.section-cream {
  position: relative;
}

.section-cream::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #6B2D3E;
  border-radius: 2px;
}

/* Gold corner accent on About image */
.about-image::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 50px;
  height: 50px;
  border-top: 3px solid #C8A961;
  border-left: 3px solid #C8A961;
  z-index: 1;
  border-radius: 2px 0 0 0;
}

/* Enhanced leadership image with burgundy accent */
.leadership-image::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6B2D3E, transparent);
  border-radius: 4px;
  z-index: -1;
  opacity: 0.4;
}

/* ---- BLOG PREVIEW ---- */
.blog-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-date {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: #C8A961;
  color: #1B2A4A;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 3px;
}

.blog-card-body {
  padding: 24px;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: #1B2A4A;
}

.blog-card-body p {
  font-size: 0.9rem;
  color: #6B6B6B;
  margin-bottom: 0;
  line-height: 1.7;
}

/* ---- CLOSING STATEMENT ---- */
#closing {
  position: relative;
  overflow: hidden;
}

#closing::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(200, 169, 97, 0.08);
  pointer-events: none;
}

#closing::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(107, 45, 62, 0.12);
  pointer-events: none;
}

.closing-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
  position: relative;
  z-index: 1;
}

.closing-text {
  font-size: 1.1rem;
  line-height: 1.9;
}

.closing-tagline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #C8A961;
  font-style: italic;
  margin-top: 10px;
  margin-bottom: 0;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-card {
  text-align: center;
  padding: 40px 24px;
  background: #F8F6F1;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #1B2A4A;
  color: #C8A961;
  font-size: 1.2rem;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #1B2A4A;
}

.contact-card p {
  font-size: 0.95rem;
  color: #6B6B6B;
  margin-bottom: 0;
}

.contact-card a {
  color: #C8A961;
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: #6B2D3E;
}

/* Contact section top accent */
#contact {
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #C8A961, #6B2D3E, #1B2A4A);
}

/* ---- FOOTER ---- */
.footer {
  background-color: #1A1A1A;
  padding: 60px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 360px;
}

.footer-links h4,
.footer-social h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #C8A961;
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #C8A961;
  padding-left: 6px;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icons a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #C8A961;
  color: #1A1A1A;
  transform: translateY(-3px);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-credit {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #C8A961;
}

.footer-tagline {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: #C8A961;
  font-style: italic;
  margin-bottom: 0;
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background-color: #1B2A4A;
  color: #C8A961;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #C8A961;
  color: #1B2A4A;
}

/* ---- ANIMATIONS ---- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate="fade-right"] {
  transform: translateX(-40px);
}

[data-animate="fade-left"] {
  transform: translateX(40px);
}

[data-animate="fade-up"] {
  transform: translateY(30px);
}

[data-animate].animated {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---- RESPONSIVE ---- */

/* Tablet */
@media (max-width: 992px) {
  h2 { font-size: 2rem; }
  .hero-heading { font-size: 2.8rem; }
  .section { padding: 80px 0; }

  .hero-overlay {
    background: rgba(27, 42, 74, 0.78);
  }

  .qualities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout,
  .leadership-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image::after,
  .about-image::before {
    display: none;
  }

  .leadership-image::before,
  .leadership-image::after {
    display: none;
  }

  .about-text .section-label,
  .about-text .section-title,
  .leadership-text .section-label,
  .leadership-text .section-title {
    text-align: center;
  }

  .about-text .title-accent,
  .leadership-text .title-accent {
    margin: 0 auto 30px;
  }

  .uni-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .uni-title {
    font-size: 1.9rem;
  }

  .uni-content {
    text-align: center;
  }

  .uni-content .section-label {
    text-align: center;
  }

  .uni-content .title-accent {
    margin: 0 auto 28px !important;
  }

  .uni-highlights {
    justify-content: center;
  }

  .uni-join-btn {
    justify-content: center;
  }

  .uni-join-btn::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .uni-video-wrapper {
    border-radius: 10px 10px 40px 10px;
  }

  .uni-image-tag {
    text-align: center;
    display: block;
  }

  .values-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .impact-closing {
    flex-direction: column;
    text-align: center;
  }

  .stats-row {
    gap: 30px;
  }

  .stat-item {
    padding: 15px 20px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  h2 { font-size: 1.75rem; }
  .hero-heading { font-size: 2rem; }
  .hero-preheading { font-size: 0.72rem; letter-spacing: 2px; }
  .hero-subheading { font-size: 1rem; }
  .section { padding: 60px 0; }
  .section-intro { font-size: 0.95rem; margin-bottom: 36px; }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    height: 100dvh;
    background-color: #1B2A4A;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 60px 40px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
  }

  /* Prevent body scroll when menu is open */
  body.menu-open {
    overflow: hidden;
  }

  .about-image {
    position: static;
  }

  .about-image::before,
  .about-image::after {
    display: none;
  }

  .qualities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .quality-card {
    padding: 28px 20px;
  }

  .leadership-qualities {
    grid-template-columns: 1fr;
  }

  .values-cards {
    grid-template-columns: 1fr;
  }

  .value-card {
    padding: 24px 20px;
  }

  .hero-content {
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-text {
    text-align: center;
    max-width: 100%;
  }

  .hero-subheading {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-overlay {
    background: rgba(27, 42, 74, 0.82);
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-hero-outline {
    padding: 12px 28px;
    font-size: 0.82rem;
  }

  .btn-primary {
    padding: 12px 28px;
    font-size: 0.85rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-dots {
    bottom: 24px;
  }

  /* Stats */
  .stats-row {
    flex-direction: column;
    gap: 12px;
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #F8F6F1;
    border-radius: 8px;
    text-align: left;
  }

  .stat-icon {
    margin: 0;
    width: 44px;
    height: 44px;
    font-size: 1rem;
    flex-shrink: 0;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-suffix {
    font-size: 1.8rem;
  }

  .stat-label {
    margin-top: 2px;
    font-size: 0.72rem;
  }

  /* Impact / Join section */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .impact-card {
    padding: 28px 22px;
  }

  .impact-closing {
    padding: 24px 20px;
    gap: 20px;
  }

  .impact-image-accent {
    width: 120px;
    height: 120px;
  }

  .impact-closing p {
    font-size: 0.95rem;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

  .blog-card-image {
    height: 180px;
  }

  .blog-card-body {
    padding: 18px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .contact-card p {
    font-size: 0.88rem;
    word-break: break-word;
  }

  /* Footer */
  .footer {
    padding: 40px 0 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: span 1;
    text-align: center;
  }

  .footer-brand p {
    max-width: 100%;
  }

  .footer-logo {
    margin: 0 auto 12px;
  }

  .footer-links h4,
  .footer-social h4 {
    font-size: 0.75rem;
  }

  .social-icons {
    flex-wrap: wrap;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .footer-tagline {
    font-size: 0.9rem;
  }

  .footer-credit {
    font-size: 0.72rem;
  }

  .footer-copyright {
    font-size: 0.72rem;
  }

  /* Universities Scheme */
  .uni-section {
    padding: 60px 0;
  }

  .uni-title {
    font-size: 1.5rem;
  }

  .uni-text {
    font-size: 0.92rem;
  }

  .uni-video-wrapper {
    border-radius: 8px 8px 30px 8px;
  }

  .uni-video-wrapper::after {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
  }

  .uni-highlights {
    gap: 8px;
  }

  .uni-highlight {
    font-size: 0.76rem;
    padding: 6px 14px;
  }

  .uni-image-tag {
    font-size: 0.72rem;
    text-align: center;
    display: block;
  }

  /* Closing */
  .closing-text {
    font-size: 0.95rem;
  }

  .closing-tagline {
    font-size: 1.15rem;
  }

  /* Section decorations - hide on mobile to prevent overflow */
  .section-cream::before {
    display: none;
  }

  #contact::before {
    height: 3px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  /* Intro content */
  .intro-content .lead-text {
    font-size: 1rem;
  }

  /* VM items */
  .vm-item {
    padding: 18px;
  }

  .vm-item p {
    font-size: 0.88rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-heading { font-size: 1.65rem; }
  .hero-preheading { font-size: 0.65rem; letter-spacing: 1.5px; margin-bottom: 14px; }
  .container { padding: 0 16px; }
  .hero { min-height: 100vh; min-height: 100dvh; }

  .hero-dots {
    bottom: 16px;
  }

  .hero-dot {
    width: 10px;
    height: 10px;
  }

  .hero-buttons {
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-hero-outline {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 20px;
  }

  .section-header {
    margin-bottom: 30px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .section-intro {
    font-size: 0.9rem;
    margin-bottom: 28px;
  }

  .impact-number {
    font-size: 1.6rem;
  }

  .impact-card h3 {
    font-size: 1.05rem;
  }

  .quality-card h3 {
    font-size: 1.1rem;
  }

  .quality-card p {
    font-size: 0.88rem;
  }

  .about-text p {
    font-size: 0.92rem;
  }

  .leadership-text .lead-text {
    font-size: 1rem;
  }

  .leadership-text p {
    font-size: 0.92rem;
  }

  .leadership-qualities li {
    font-size: 0.88rem;
  }

  .uni-title {
    font-size: 1.35rem;
  }

  .blog-card-body h3 {
    font-size: 1rem;
  }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    transition: opacity 0.5s ease;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Touch devices — disable hover transforms to prevent sticky states */
@media (hover: none) {
  .quality-card:hover,
  .value-card:hover,
  .impact-card:hover,
  .contact-card:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: none;
  }

  .blog-card:hover .blog-card-image img {
    transform: none;
  }
}
