/* ============================================================
   AGOR PLATFORM — Core Design System
   Brand: Deep Navy | Gold | Orange | White
   Dev: TechByKelly
   ============================================================ */

/* ── IMPORTS ─────────────────────────────────────────────── */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@400;500;600;700&display=swap");

/* ── CSS VARIABLES ───────────────────────────────────────── */
:root {
  /* Brand Colors */
  --navy: #0a1940;
  --navy-light: #0d2156;
  --navy-deep: #060f28;
  --gold: #f5c518;
  --gold-light: #fdd835;
  --orange: #e87722;
  --orange-light: #f59236;
  --burgundy: #7b1c2e;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Typography */
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Sizing */
  --container: 1280px;
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:
    0 1px 3px rgba(10, 25, 64, 0.08), 0 1px 2px rgba(10, 25, 64, 0.06);
  --shadow: 0 4px 16px rgba(10, 25, 64, 0.12);
  --shadow-md: 0 8px 32px rgba(10, 25, 64, 0.16);
  --shadow-lg: 0 16px 48px rgba(10, 25, 64, 0.2);
  --shadow-gold: 0 4px 24px rgba(245, 197, 24, 0.25);

  /* Transitions */
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  /* Nav height */
  --nav-height: 84px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}
input,
textarea,
select {
  font-family: inherit;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section-sm {
  padding: 64px 0;
}
.section-lg {
  padding: 120px 0;
}

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h3 {
  font-weight: 600;
}

.display-1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.05;
}
.display-2 {
  font-size: clamp(2.4rem, 4.5vw, 4rem);
}
.display-3 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
}
h4 {
  font-size: 1.3rem;
}
h5 {
  font-size: 1.1rem;
}

.text-lead {
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--gray-600);
}
.text-sm {
  font-size: 0.875rem;
}
.text-xs {
  font-size: 0.75rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}

.text-white {
  color: var(--white);
}
.text-gold {
  color: var(--gold);
}
.text-orange {
  color: var(--orange);
}
.text-navy {
  color: var(--navy);
}
.text-muted {
  color: var(--gray-500);
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-bold {
  font-weight: 700;
}
.font-black {
  font-weight: 900;
}
.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ── SECTION LABELS ──────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-header {
  margin-bottom: 56px;
}
.section-header h2 {
  margin-bottom: 16px;
}
.section-header p {
  max-width: 600px;
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn:hover::after {
  opacity: 1;
}
.btn:active {
  transform: scale(0.98);
}
.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(245, 197, 24, 0.3);
}
.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 197, 24, 0.08);
}

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

.btn-orange {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 119, 34, 0.3);
}
.btn-orange:hover {
  background: var(--orange-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}
.btn-lg {
  padding: 17px 36px;
  font-size: 1rem;
}
.btn-xl {
  padding: 20px 44px;
  font-size: 1.05rem;
}
.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius);
}
.btn-icon-sm {
  width: 34px;
  height: 34px;
}

/* ── CARDS ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

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

.card-body {
  padding: 28px;
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.card-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.card-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.card-text {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── FORMS ───────────────────────────────────────────────── */
.form-group {
  margin-bottom: 22px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-label .required {
  color: var(--danger);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--gray-800);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(10, 25, 64, 0.1);
}
.form-control::placeholder {
  color: var(--gray-400);
}
.form-control.error {
  border-color: var(--danger);
}
.form-control.success {
  border-color: var(--success);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 5px;
}
.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  margin-top: 5px;
  display: none;
}
.form-error.show {
  display: block;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.form-check-input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--navy);
  margin-top: 2px;
  cursor: pointer;
}

/* Input group */
.input-group {
  position: relative;
}
.input-group .form-control {
  padding-right: 48px;
}
.input-group-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  cursor: pointer;
  transition: color var(--transition);
}
.input-group-icon:hover {
  color: var(--navy);
}

/* ── NAVBAR ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition:
    background var(--transition-slow),
    box-shadow var(--transition-slow),
    backdrop-filter var(--transition-slow);
}

.navbar.scrolled {
  background: rgba(10, 25, 64, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(10, 25, 64, 0.3);
}

.navbar.solid {
  background: var(--navy);
  box-shadow: 0 2px 24px rgba(10, 25, 64, 0.2);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 0 8px rgba(245, 197, 24, 0.3));
  transition: transform var(--transition);
}
.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  gap: 2px;
}
.nav-logo-text .brand {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  font-family: var(--font-body);
}
.nav-logo-text .tagline {
  font-size: 0.62rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 12px;
  border-radius: var(--radius);
  transition:
    color var(--transition),
    background var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--gold);
  transition: transform var(--transition);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}
.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.nav-link.active {
  color: var(--gold);
}
.nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-btn-become {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-btn-become:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.nav-btn-login {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all var(--transition);
}
.nav-btn-login:hover {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
.nav-mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(6, 15, 40, 0.98);
  backdrop-filter: blur(16px);
  padding: 16px 24px 24px;
  transform: translateY(-110%);
  transition: transform var(--transition-slow);
  z-index: 999;
  border-bottom: 1px solid rgba(245, 197, 24, 0.2);
  /* Show all links + buttons without scrolling */
  max-height: calc(100vh - var(--nav-height));
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.nav-mobile.open {
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: rgba(255, 255, 255, 0.85);
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  letter-spacing: 0.04em;
  transition:
    color var(--transition),
    padding-left var(--transition);
}
.mobile-nav-link:hover {
  color: var(--gold);
  padding-left: 8px;
}
.mobile-nav-actions {
  margin-top: 16px;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Always visible — doesn't scroll away */
  flex-shrink: 0;
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

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

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0.28;
  filter: blur(0px) grayscale(10%);
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 15, 40, 0.92) 0%,
    rgba(10, 25, 64, 0.8) 35%,
    rgba(10, 25, 64, 0.65) 65%,
    rgba(6, 15, 40, 0.94) 100%
  );
}

/* Globe network lines canvas */
.hero-globe-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 72px;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  padding: 8px 16px;
  border: 1px solid rgba(245, 197, 24, 0.3);
  border-radius: var(--radius-full);
  background: rgba(245, 197, 24, 0.08);
}

.hero-label span {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: -0.02em;
  font-family: var(--font-heading);
}

.hero-title .accent {
  color: transparent;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  display: block;
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 32px;
}

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

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-scroll 2.5s infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
}

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

/* ── BADGES & PILLS ──────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(245, 197, 24, 0.15);
  color: #c49a0a;
}
.badge-navy {
  background: rgba(10, 25, 64, 0.08);
  color: var(--navy);
}
.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
}
.badge-danger {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}
.badge-orange {
  background: rgba(232, 119, 34, 0.12);
  color: var(--orange);
}
.badge-gray {
  background: var(--gray-100);
  color: var(--gray-600);
}

/* ── STAT CARDS ──────────────────────────────────────────── */
.stat-card {
  text-align: center;
  padding: 40px 28px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* ── PROGRAM CARDS ───────────────────────────────────────── */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border-bottom: 3px solid transparent;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.program-card:hover::before {
  transform: scaleX(1);
}
.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(10, 25, 64, 0.08),
    rgba(10, 25, 64, 0.04)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  color: var(--navy);
  transition: all var(--transition);
}

.program-card:hover .program-icon {
  background: var(--navy);
  color: var(--gold);
  transform: scale(1.1) rotate(5deg);
}

/* ── EVENT CARDS ─────────────────────────────────────────── */
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

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

.event-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--gray-100);
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.event-card:hover .event-card-img img {
  transform: scale(1.06);
}

.event-date-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 8px 12px;
  text-align: center;
  font-weight: 800;
  line-height: 1.1;
}
.event-date-badge .day {
  font-size: 1.4rem;
  display: block;
  color: var(--gold);
}
.event-date-badge .month {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.event-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-card-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.event-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.event-meta-item i {
  font-size: 0.75rem;
  color: var(--gold);
}
.event-card-title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.event-card-desc {
  font-size: 0.88rem;
  color: var(--gray-600);
  flex: 1;
  margin-bottom: 20px;
  line-height: 1.6;
}
.event-card-foot {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ── GRID HELPERS ────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ── IMPACT SECTION ──────────────────────────────────────── */
.impact-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.impact-globe-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Rotating globe rings */
.impact-globe-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(245, 197, 24, 0.12);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.impact-globe-ring:nth-child(1) {
  width: 700px;
  height: 700px;
  animation: rotateGlobe 30s linear infinite;
}
.impact-globe-ring:nth-child(2) {
  width: 520px;
  height: 520px;
  animation: rotateGlobe 22s linear infinite reverse;
  border-color: rgba(245, 197, 24, 0.08);
}
.impact-globe-ring:nth-child(3) {
  width: 340px;
  height: 340px;
  animation: rotateGlobe 15s linear infinite;
  border-color: rgba(245, 197, 24, 0.06);
}
.impact-globe-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.7;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes rotateGlobe {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Impact headline */
.impact-headline {
  text-align: center;
  color: var(--white);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}
.impact-headline .accent {
  color: var(--gold);
}

/* ── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 72px 0 0;
}

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

.footer-brand-logo {
  height: 52px;
  margin-bottom: 20px;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links li + li {
  margin-top: 10px;
}
.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  transition:
    color var(--transition),
    padding-left var(--transition);
  display: inline-block;
}
.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
}
.footer-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer-bottom a:hover {
  color: var(--gold);
}
.techbykelly-credit {
  color: var(--gold);
  opacity: 0.7;
  font-weight: 600;
}

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  background: var(--navy);
  padding: 120px 0 72px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400'%3E%3Ccircle cx='600' cy='200' r='350' fill='none' stroke='%23f5c518' stroke-width='0.5' opacity='0.1'/%3E%3Ccircle cx='600' cy='200' r='250' fill='none' stroke='%23f5c518' stroke-width='0.5' opacity='0.08'/%3E%3C/svg%3E")
    center/cover;
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
}
.page-header p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 12px;
  font-size: 1.1rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--gold);
}
.breadcrumb span {
  color: var(--gold);
}

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 64, 0.75);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.08);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay i {
  font-size: 2rem;
  color: var(--white);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 15, 40, 0.96);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open {
  display: flex;
}
.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ── ALERTS ──────────────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
}
.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #991b1b;
}
.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #92400e;
}
.alert-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #1e40af;
}

/* ── LOADER ──────────────────────────────────────────────── */
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
.spinner-navy {
  border-color: rgba(10, 25, 64, 0.2);
  border-top-color: var(--navy);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── MODAL ───────────────────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 15, 40, 0.7);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(4px);
}
.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modal-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes modal-in {
  from {
    transform: scale(0.9) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-title {
  font-size: 1.2rem;
  color: var(--navy);
}
.modal-body {
  padding: 28px;
}
.modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  /* Wrap buttons on small screens */
  flex-wrap: wrap;
  align-items: center;
}
.modal-close-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  transition: all var(--transition);
}
.modal-close-btn:hover {
  background: var(--gray-100);
  color: var(--gray-800);
}

/* ── PAGINATION ──────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.page-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}
.page-btn:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.page-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.page-btn:disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ── ANIMATIONS (scroll reveal) ──────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ── RESOURCE CARDS ──────────────────────────────────────── */
.resource-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.resource-card-thumb {
  height: 180px;
  background: var(--gray-100);
  position: relative;
  overflow: hidden;
}
.resource-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resource-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}
.resource-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.resource-card-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 6px;
}
.resource-card-title {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}
.resource-card-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: auto;
  margin-bottom: 14px;
}
.resource-card-actions {
  display: flex;
  gap: 8px;
}

/* ── ARTICLE CARDS ───────────────────────────────────────── */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.article-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.article-card:hover img {
  transform: scale(1.05);
}
.article-card-body {
  padding: 22px;
}
.article-cat {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.article-title {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}
.article-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.article-excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--gray-500);
}
.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}
.empty-state h3 {
  font-size: 1.2rem;
  color: var(--gray-600);
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-weight: 600;
}
.empty-state p {
  font-size: 0.9rem;
}

/* ── TOAST ───────────────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 360px;
  pointer-events: all;
  animation: toast-in 0.3s ease;
  border-left: 3px solid var(--gold);
}
.toast.success {
  border-left-color: var(--success);
}
.toast.error {
  border-left-color: var(--danger);
}
.toast.warning {
  border-left-color: var(--warning);
}
@keyframes toast-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

/* ── UTILITY ─────────────────────────────────────────────── */
.d-none {
  display: none !important;
}
.d-flex {
  display: flex;
}
.d-grid {
  display: grid;
}
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.gap-1 {
  gap: 6px;
}
.gap-2 {
  gap: 12px;
}
.gap-3 {
  gap: 20px;
}
.gap-4 {
  gap: 28px;
}
.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 8px;
}
.mb-2 {
  margin-bottom: 16px;
}
.mb-3 {
  margin-bottom: 16px;
}
.mb-4 {
  margin-bottom: 32px;
}
.mb-5 {
  margin-bottom: 48px;
}
.mt-auto {
  margin-top: auto;
}
.p-0 {
  padding: 0;
}
.rounded {
  border-radius: var(--radius);
}
.overflow-hidden {
  overflow: hidden;
}
.w-full {
  width: 100%;
}
.relative {
  position: relative;
}
.bg-white {
  background: var(--white);
}
.bg-navy {
  background: var(--navy);
}
.bg-light {
  background: var(--gray-50);
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--orange));
  border-radius: 2px;
  margin: 16px 0;
}
.divider-center {
  margin: 16px auto;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */

/* ── Tablet (≤1024px) ─────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* ── Mobile (≤768px) ──────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --nav-height: 68px;
  }

  .section {
    padding: 64px 0;
  }
  .section-lg {
    padding: 80px 0;
  }

  /* All multi-column grids collapse to single column */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Hero — content-driven height on mobile, no forced full-viewport */
  .hero {
    min-height: unset;
    max-height: none;
    align-items: flex-start;
  }
  .hero-content {
    padding-top: calc(var(--nav-height) + 28px);
    padding-bottom: 52px;
    width: 100%;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-label {
    font-size: 0.68rem;
    padding: 6px 12px;
  }
  .hero-scroll {
    display: none;
  }

  /* Nav logo — smaller on mobile */
  .nav-logo img {
    height: 40px;
  }
  .nav-logo-text .brand {
    font-size: 0.95rem;
  }
  .nav-logo-text .tagline {
    font-size: 0.55rem;
  }

  /* Nav CTA hidden on small screens */
  .nav-cta {
    display: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Stats */
  .stat-number {
    font-size: 2.8rem;
  }
  .stat-card {
    padding: 28px 20px;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 40px;
  }
  .section-header p {
    font-size: 1rem;
  }

  /* Page header */
  .page-header {
    padding: 88px 0 44px;
  }

  /* Gallery — 2 columns on mobile, odd last item stays left */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gallery-grid .gallery-item:last-child:nth-child(odd) {
    grid-column: 1;
  }

  /* Cards */
  .card-body {
    padding: 20px;
  }

  /* Impact headline */
  .impact-headline {
    font-size: clamp(1.4rem, 6vw, 2rem);
    margin-bottom: 48px;
  }

  /* Modal full-screen on mobile */
  .modal-backdrop {
    padding: 12px;
    align-items: flex-end;
  }
  .modal {
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    margin: 0;
  }
}

/* ── Small Mobile (≤480px) ────────────────────────────── */
@media (max-width: 480px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 52px 0;
  }

  .container {
    padding: 0 14px;
  }

  /* Hero */
  .hero {
    min-height: unset;
    align-items: flex-start;
  }
  .hero-content {
    padding-top: calc(var(--nav-height) + 20px);
    padding-bottom: 40px;
    width: 100%;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-label {
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }

  /* Buttons */
  .btn-xl {
    padding: 15px 24px;
    font-size: 0.9rem;
  }
  .btn {
    font-size: 0.82rem;
    padding: 12px 20px;
  }

  /* Gallery stays 2 columns but smaller gap, odd last stays left */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .gallery-grid .gallery-item:last-child:nth-child(odd) {
    grid-column: 1;
  }

  /* Agents list page — 2 cols */
  .agents-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }

  /* Grid-2 stays 2 on very small only if items are small */
  .grid-2-keep {
    grid-template-columns: 1fr 1fr;
  }

  /* Forms */
  .form-control {
    padding: 11px 13px;
    font-size: 0.9rem;
  }

  /* Modal */
  .modal {
    border-radius: var(--radius) var(--radius) 0 0;
    margin: 0;
    max-height: 95vh;
  }
  .modal-backdrop {
    padding: 0;
    align-items: flex-end;
  }

  /* Nav logo text hidden on very small screens */
  .nav-logo-text {
    display: none;
  }

  /* Page header tighter on small screens */
  .page-header {
    padding: 76px 0 36px;
  }
}

/* ── Extra small (≤360px) ─────────────────────────────── */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .agents-grid {
    grid-template-columns: 1fr !important;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
