/* ==========================================================================
   El Safa School (مدرسة الصفا) - Official Website Stylesheet
   Designed with Apple Liquid Glass aesthetics, Thmanyah Sans typography,
   and strict adherence to the official color palette.
   ========================================================================== */

/* --- 1. Typography & @font-face --- */
@font-face {
  font-family: 'Thmanyah Sans';
  src: url('thmanyah typeface/thmanyahsans/woff2/thmanyahsans-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('thmanyah typeface/thmanyahsans/woff2/thmanyahsans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('thmanyah typeface/thmanyahsans/woff2/thmanyahsans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('thmanyah typeface/thmanyahsans/woff2/thmanyahsans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Sans';
  src: url('thmanyah typeface/thmanyahsans/woff2/thmanyahsans-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('thmanyah typeface/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('thmanyah typeface/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('thmanyah typeface/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('thmanyah typeface/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Thmanyah Serif Display';
  src: url('thmanyah typeface/thmanyahserifdisplay/woff2/thmanyahserifdisplay-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* --- 2. Design Tokens & Color Palette --- */
:root {
  /* Official Palette */
  --navy-primary: #1B5FA8;
  --navy-dark: #124175;
  --gold-start: #F7941D;
  --gold-end: #FDB813;
  --red-alert: #E31E24;
  --bg-white: #FFFFFF;
  --bg-light: #F5F7FA;
  --text-main: #263238;
  --text-muted: #546E7A;
  --border-light: rgba(27, 95, 168, 0.12);

  /* Apple Liquid Glass Variables (Light Mode) */
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.88);
  --glass-border-inner: rgba(27, 95, 168, 0.15);
  --glass-shadow: 0 20px 40px -15px rgba(27, 95, 168, 0.12), 0 0 1px 1px rgba(255, 255, 255, 0.9) inset;
  --glass-shadow-hover: 0 30px 60px -12px rgba(27, 95, 168, 0.22), 0 0 1px 1px rgba(255, 255, 255, 1) inset;

  /* Layout & Spacing */
  --header-height: 84px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;
}

/* --- 3. Base Reset & Layout --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Thmanyah Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-white);
  color: var(--text-main);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  position: relative;
}

/* Background Ambient Orbs for Apple Glass Refraction Effect */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  transition: transform 0.5s ease-out;
}

.ambient-orb-1 {
  top: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--gold-start) 0%, transparent 70%);
}

.ambient-orb-2 {
  top: 40%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--navy-primary) 0%, transparent 70%);
  opacity: 0.18;
}

.ambient-orb-3 {
  bottom: -15%;
  right: 20%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--gold-end) 0%, transparent 70%);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* --- 4. Apple Liquid Glass Components --- */
.liquid-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

/* Subtle refraction highlight across top edge */
.liquid-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}

/* Hardware fallback for older devices or reduced motion/no backdrop-filter */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .liquid-glass {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 30px rgba(27, 95, 168, 0.15);
    border: 1px solid rgba(27, 95, 168, 0.2);
  }
}

/* --- 5. Navigation Bar --- */
.navbar-wrapper {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px;
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  max-width: 1240px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(27, 95, 168, 0.12), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.navbar-brand img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--navy-primary);
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  padding: 6px 4px;
  transition: color 0.3s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
  border-radius: 2px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Call to Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #123152;
  box-shadow: 0 8px 24px rgba(247, 148, 29, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(247, 148, 29, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(27, 95, 168, 0.08);
  color: var(--navy-primary);
  border: 1px solid rgba(27, 95, 168, 0.2);
}

.btn-secondary:hover {
  background: var(--navy-primary);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 95, 168, 0.25);
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Mobile Drawer Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-primary);
}

/* --- 6. Hero Section (Professional Editorial Redesign) --- */
.hero-section {
  padding-top: calc(var(--header-height) + clamp(20px, 4vh, 40px));
  padding-bottom: clamp(30px, 5vh, 60px);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-monumental {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

/* Welcome Line */
.hero-welcome-text {
  font-family: 'Thmanyah Serif Display', 'Thmanyah Sans', serif;
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.4;
  padding-bottom: 0.1em;
  margin: 0 0 clamp(10px, 1.8vh, 18px);
  letter-spacing: 0.01em;
}

/* Main School Title with generous line-height and padding so letters like 'ر' and 'س' are NEVER clipped */
.hero-main-heading {
  font-family: 'Thmanyah Serif Display', 'Thmanyah Sans', serif;
  font-size: clamp(3.2rem, min(7.8vw, 11.5vh), 6.5rem);
  font-weight: 900;
  color: var(--navy-primary);
  line-height: 1.35;
  padding-bottom: 0.15em;
  margin: 0 0 clamp(24px, 4vh, 38px);
  width: 100%;
  word-break: break-word;
  text-shadow: 0 12px 32px rgba(27, 95, 168, 0.15);
}

/* Golden Sun Separator with breathing room */
.hero-divider-line {
  width: 130px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-start) 0%, var(--gold-end) 100%);
  border-radius: var(--radius-full);
  margin: 0 auto clamp(28px, 4.5vh, 44px);
  box-shadow: 0 4px 14px rgba(247, 148, 29, 0.45);
}

/* Slogan and Description Block */
.hero-content-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 2vh, 18px);
  max-width: 860px;
  margin: 0 auto clamp(32px, 5vh, 48px);
}

.hero-slogan-text {
  font-family: 'Thmanyah Serif Display', 'Thmanyah Sans', serif;
  font-size: clamp(1.3rem, min(2.3vw, 3.2vh), 1.95rem);
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.48;
  padding-bottom: 0.08em;
  margin: 0;
}

.hero-description-text {
  font-size: clamp(1.05rem, min(1.4vw, 2.2vh), 1.28rem);
  color: var(--text-main);
  line-height: 1.85;
  margin: 0;
  max-width: 780px;
}

/* CTA Buttons Centered Layout */
.hero-actions-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.hero-actions-center .btn {
  min-width: 240px;
  justify-content: center;
  padding: clamp(12px, 2vh, 16px) 32px;
}

@media (max-width: 768px) {
  .hero-main-heading {
    font-size: clamp(2.8rem, 11vw, 4.2rem);
  }
  .hero-actions-center {
    flex-direction: column;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-actions-center .btn {
    width: 100%;
  }
}

/* --- 7. Statistics Section --- */
.stats-section {
  padding: 40px 0;
  margin-bottom: 80px;
}

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

.stat-card {
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(247, 148, 29, 0.15);
  color: var(--gold-start);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--navy-primary);
  line-height: 1.1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* --- 8. Section Headers & Dividers --- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(27, 95, 168, 0.1);
  color: var(--navy-primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--navy-primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
  border-radius: 4px;
  margin: 14px auto 0;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Separator Line with Sun Gradient */
.gradient-divider {
  height: 3px;
  width: 100%;
  max-width: 200px;
  background: linear-gradient(90deg, transparent, var(--gold-start), var(--gold-end), transparent);
  margin: 40px auto;
  border-radius: 3px;
}

/* --- 9. About Us Section --- */
.about-section {
  padding: 80px 0;
  background-color: var(--bg-light);
  position: relative;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.about-content h3 {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy-primary);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.12rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--navy-dark);
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #123152;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.about-visual {
  position: relative;
}

.about-glass-box {
  padding: 44px;
  border-radius: var(--radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  position: relative;
}

.about-quote {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-primary);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-info h4 {
  font-weight: 900;
  color: var(--navy-dark);
}

.author-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- 10. Academic Stages Section --- */
.stages-section {
  padding: 100px 0;
}

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

.stage-card {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.stage-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--glass-shadow-hover);
  border-color: var(--gold-start);
}

.stage-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  background: rgba(27, 95, 168, 0.08);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.stage-card:hover .stage-icon-wrap {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #123152;
  transform: scale(1.1) rotate(5deg);
}

.stage-title {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy-primary);
  margin-bottom: 12px;
}

.stage-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.stage-features {
  list-style: none;
  border-top: 1px solid rgba(27, 95, 168, 0.1);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stage-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-main);
}

.stage-features li::before {
  content: '✓';
  color: var(--gold-start);
  font-weight: 900;
}

/* --- 11. Campus Life & Facilities Section --- */
.campus-section {
  padding: 80px 0 100px;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

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

.facility-card {
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: transform 0.3s ease;
}

.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
}

.facility-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: rgba(247, 148, 29, 0.15);
  color: #D97706;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.facility-info h4 {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy-primary);
  margin-bottom: 8px;
}

.facility-info p {
  font-size: 0.98rem;
  color: var(--text-muted);
}

/* --- 12. Urgent/Alert Banner (Small controlled use of Red) --- */
.urgent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(227, 30, 36, 0.12);
  border: 1px solid rgba(227, 30, 36, 0.3);
  color: var(--red-alert);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* --- 13. Admissions & Registration CTA Section --- */
.cta-section {
  padding: 100px 0;
  position: relative;
}

.cta-box {
  padding: 64px 48px;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--navy-primary), var(--navy-dark));
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 48px rgba(27, 95, 168, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 148, 29, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.cta-box h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--bg-white);
}

.cta-box p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 660px;
  margin: 0 auto 36px;
}

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

.btn-cta-call {
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #123152;
  font-size: 1.2rem;
  padding: 18px 36px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.btn-cta-call:hover {
  transform: scale(1.05);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.35);
}

.btn-cta-map {
  background: rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 1.1rem;
  padding: 16px 32px;
}

.btn-cta-map:hover {
  background: var(--bg-white);
  color: var(--navy-primary);
}

/* --- 14. Footer Section --- */
.footer {
  background-color: var(--navy-dark);
  color: var(--bg-white);
  padding: 70px 0 32px;
  border-top: 4px solid var(--gold-start);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-wrap img {
  height: 56px;
  filter: brightness(0) invert(1);
}

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

.footer-title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--gold-start);
  margin-bottom: 20px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold-start);
  transform: translateX(-6px);
}

.footer-contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--gold-start);
  color: #123152;
  transform: translateY(-4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

/* --- 15. Responsive Design (Mobile First Focus) --- */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Navigation Drawer */
  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid rgba(27, 95, 168, 0.2);
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    display: none;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.08rem;
  }

  .stages-grid,
  .facilities-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo-wrap,
  .footer-contact-info p,
  .social-links {
    justify-content: center;
  }

  .cta-box {
    padding: 44px 24px;
  }

  .cta-box h2 {
    font-size: 2.1rem;
  }
}
