/* ============================================
   BENINA MILITARY HOSPITAL — Design System
   السرية الطبية — القيادة العامة للقوات المسلحة
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Kufi+Arabic:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --burgundy: #6B1D2A;
  --burgundy-dark: #4A1019;
  --burgundy-light: #8B2E3D;
  --gold: #C5A44E;
  --gold-light: #D4BB73;
  --gold-dark: #A88B3A;

  /* Neutrals */
  --charcoal: #1A1A1A;
  --dark-gray: #2D2D2D;
  --medium-gray: #6B7280;
  --light-gray: #9CA3AF;
  --off-white: #F8F6F3;
  --warm-white: #FDFCFA;
  --pure-white: #FFFFFF;

  /* Functional */
  --success: #059669;
  --info: #2563EB;
  --warning: #D97706;

  /* Typography */
  --font-primary: 'Inter', 'Noto Kufi Arabic', system-ui, sans-serif;
  --font-arabic: 'Noto Kufi Arabic', 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(197, 164, 78, 0.3);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--charcoal);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ── Utility Classes ── */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  background: var(--off-white);
}

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

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

/* ── Section Heading ── */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading .overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-heading .overline::before,
.section-heading .overline::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-heading p {
  font-size: 1.05rem;
  color: var(--medium-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition-base);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: var(--pure-white);
  box-shadow: 0 4px 20px rgba(107, 29, 42, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(107, 29, 42, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(197, 164, 78, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 2px solid var(--burgundy);
}

.btn-outline:hover {
  background: var(--burgundy);
  color: var(--pure-white);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-logo img {
  height: 48px;
  width: auto;
  transition: var(--transition-base);
}

.navbar.scrolled .navbar-logo img {
  height: 40px;
}

.navbar-logo-text {
  display: flex;
  flex-direction: column;
}

.navbar-logo-text .title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--pure-white);
  line-height: 1.2;
  transition: var(--transition-base);
}

.navbar-logo-text .subtitle {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  transition: var(--transition-base);
}

.navbar.scrolled .navbar-logo-text .title {
  color: var(--charcoal);
}

.navbar.scrolled .navbar-logo-text .subtitle {
  color: var(--medium-gray);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  padding: 4px 0;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-base);
}

.navbar-links a:hover::after,
.navbar-links a.active::after {
  width: 100%;
}

.navbar-links a:hover {
  color: var(--gold-light);
}

.navbar.scrolled .navbar-links a {
  color: var(--charcoal);
}

.navbar.scrolled .navbar-links a:hover {
  color: var(--burgundy);
}

.navbar-cta {
  padding: 10px 24px !important;
  font-size: 0.85rem !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark)) !important;
  color: var(--charcoal) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
}

.navbar-cta::after {
  display: none;
}

.navbar-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--pure-white);
  transition: var(--transition-base);
  display: block;
}

.navbar.scrolled .mobile-toggle span {
  background: var(--charcoal);
}

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

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

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

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--burgundy-dark), var(--burgundy));
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  transition: var(--transition-smooth);
}

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

.mobile-menu a {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pure-white);
  padding: 12px 24px;
  transition: var(--transition-base);
}

.mobile-menu a:hover {
  color: var(--gold);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(107, 29, 42, 0.7) 50%,
    rgba(26, 26, 26, 0.6) 100%
  );
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease forwards;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(197, 164, 78, 0.15);
  border: 1px solid rgba(197, 164, 78, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--pure-white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s ease infinite;
}

.hero-scroll .mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.hero-scroll .mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 2s ease infinite;
}

/* ── Stats Section ── */
.stats-section {
  padding: 80px 0;
  background: var(--charcoal);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.stat-card {
  text-align: center;
  padding: 24px;
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-card:last-child::after {
  display: none;
}

.stat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(197, 164, 78, 0.1);
  border-radius: var(--radius-md);
  color: var(--gold);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--pure-white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number .unit {
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 600;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--light-gray);
  font-weight: 400;
}

/* ── About Preview ── */
.about-preview {
  padding: var(--section-padding);
}

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

.about-image-wrapper {
  position: relative;
}

.about-image-wrapper img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  right: 12px;
  bottom: 12px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}

.about-image-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: var(--pure-white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-image-badge .number {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  color: var(--gold);
}

.about-image-badge .label {
  font-size: 0.8rem;
  font-weight: 500;
}

.about-content .overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.about-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--medium-gray);
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── Services Section ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--burgundy), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(107, 29, 42, 0.08), rgba(197, 164, 78, 0.08));
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  color: var(--burgundy);
  transition: var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: var(--pure-white);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* ── Facilities Section ── */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.facility-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
  group: facility;
}

.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.facility-card:hover img {
  transform: scale(1.08);
}

.facility-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.9) 0%,
    rgba(26, 26, 26, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition-base);
}

.facility-card:hover .facility-card-overlay {
  background: linear-gradient(
    to top,
    rgba(107, 29, 42, 0.9) 0%,
    rgba(107, 29, 42, 0.4) 50%,
    rgba(107, 29, 42, 0.1) 100%
  );
}

.facility-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 8px;
}

.facility-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  transform: translateY(10px);
  opacity: 0;
  transition: var(--transition-base);
}

.facility-card:hover p {
  transform: translateY(0);
  opacity: 1;
}

/* ── Technology Section ── */
.tech-section {
  background: linear-gradient(135deg, var(--charcoal), var(--dark-gray));
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

.tech-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(197, 164, 78, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.tech-section .section-heading h2 {
  color: var(--pure-white);
}

.tech-section .section-heading p {
  color: var(--light-gray);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(197, 164, 78, 0.3);
  transform: translateY(-4px);
}

.tech-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(197, 164, 78, 0.15), rgba(197, 164, 78, 0.05));
  border-radius: var(--radius-lg);
  color: var(--gold);
}

.tech-card-icon svg {
  width: 32px;
  height: 32px;
}

.tech-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 10px;
}

.tech-card p {
  font-size: 0.88rem;
  color: var(--light-gray);
  line-height: 1.7;
}

/* ── Quality / CTA Section ── */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

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

.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--pure-white);
  margin-bottom: 16px;
}

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

/* ── Footer ── */
.footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 56px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--charcoal);
}

.footer h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pure-white);
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  padding: 6px 0;
  transition: var(--transition-base);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  align-items: flex-start;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Page Header (sub-pages) ── */
.page-header {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, var(--charcoal), var(--burgundy-dark));
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(197, 164, 78, 0.08), transparent 70%);
  border-radius: 50%;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumb a {
  color: var(--gold-light);
}

.page-header .breadcrumb a:hover {
  color: var(--gold);
}

.page-header .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.3);
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--pure-white);
  margin-bottom: 16px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  line-height: 1.8;
}

/* ── Staff Cards ── */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.staff-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-base);
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 164, 78, 0.3);
}

.staff-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(107, 29, 42, 0.08), rgba(197, 164, 78, 0.08));
  border-radius: 50%;
  color: var(--burgundy);
}

.staff-avatar svg {
  width: 36px;
  height: 36px;
}

.staff-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.staff-card .role {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 10px;
}

.staff-card p {
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ── Contact Form ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-card {
  background: var(--pure-white);
  padding: 28px 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-base);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 164, 78, 0.3);
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
  margin-bottom: 12px;
}

.contact-info-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.contact-info-card p {
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

.contact-form {
  background: var(--pure-white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-base);
  background: var(--warm-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(197, 164, 78, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ── Profile Page ── */
.profile-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.profile-stat {
  background: var(--off-white);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.profile-stat .value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--burgundy);
  display: block;
}

.profile-stat .label {
  font-size: 0.82rem;
  color: var(--medium-gray);
  margin-top: 4px;
}

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

.opportunity-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-base);
}

.opportunity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.opportunity-card .number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.opportunity-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.opportunity-card p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* ── Advantages Grid ── */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--pure-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition-base);
}

.advantage-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(197, 164, 78, 0.3);
}

.advantage-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(107, 29, 42, 0.08), rgba(197, 164, 78, 0.08));
  border-radius: var(--radius-sm);
  color: var(--burgundy);
  flex-shrink: 0;
}

.advantage-icon svg {
  width: 22px;
  height: 22px;
}

.advantage-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.advantage-card p {
  font-size: 0.85rem;
  color: var(--medium-gray);
  line-height: 1.6;
}

/* ── Referral Cards ── */
.referral-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.referral-card {
  background: var(--pure-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: var(--transition-base);
}

.referral-card:hover {
  box-shadow: var(--shadow-md);
}

.referral-card svg {
  width: 48px;
  height: 48px;
  color: var(--burgundy);
  margin-bottom: 16px;
}

.referral-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.referral-card p {
  font-size: 0.9rem;
  color: var(--medium-gray);
  line-height: 1.7;
}

/* ── Map ── */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 40px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Scroll to Top ── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-base);
  z-index: 900;
  cursor: pointer;
}

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

.scroll-top:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--charcoal);
  transform: translateY(-3px);
}

/* ── Animations ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scrollDot {
  0% { top: 6px; opacity: 1; }
  100% { top: 20px; opacity: 0; }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .profile-overview {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .navbar-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: 600px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .stat-card::after {
    display: none;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

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

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

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

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

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

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .page-header {
    padding: 120px 0 60px;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

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

  .about-image-badge {
    right: 10px;
    bottom: -10px;
  }
}

/* ── Loading Screen ── */
.loader {
  position: fixed;
  inset: 0;
  background: var(--charcoal);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-content img {
  width: 80px;
  margin: 0 auto 20px;
  animation: pulse 1.5s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--gold);
  animation: loading 1.2s ease infinite;
}

@keyframes loading {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}
