/* ============================================================
   ENTEBBE BUVII SCHOOLS — Shared Stylesheet
   All pages import this one file
   ============================================================ */

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

:root {
  --navy: #042c53;
  --blue: #185fa5;
  --blue-mid: #378add;
  --blue-light: #b5d4f4;
  --blue-pale: #e6f1fb;
  --white: #ffffff;
  --off-white: #f4f8fd;
  --gray: #5f5e5a;
  --text: #1a2a3a;
  --ffont: "Roboto Condensed", sans-serif;
  --ffont_2: "Playfair Display", serif;
}

body {
  font-family: var(--ffont);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--ffont_2);
}

/* ---- GOOGLE FONTS (loaded per page via <link>) ---- */

/* ================================================================
   NAVIGATION
   ================================================================ */
nav {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(4, 44, 83, 0.18);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
}

/* Brand */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2.5px solid var(--blue-mid);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ffont);
  /* font-family: 'Playfair Display', serif; */
  font-size: 15px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.nav-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.nav-badge .badge-upload-hint {
  display: none;
  position: absolute;
  inset: 0;
  background: rgba(4, 44, 83, 0.75);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  font-family: var(--ffont);
}
.nav-badge:hover .badge-upload-hint {
  display: flex;
}
#badge-file-input {
  display: none;
}

.nav-name {
  color: var(--white);
}
.nav-name strong {
  display: block;
  font-family: var(--ffont);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
}
.nav-name span {
  display: block;
  font-size: 10px;
  color: var(--blue-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 300;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links li {
  position: relative;
}
.nav-links a,
.nav-links button {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 8px 16px;
  border-radius: 6px;
  border: none;
  background: none;
  cursor: pointer;
  transition: all 0.18s;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links button:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}
.nav-links a.active {
  background: var(--blue);
  color: var(--white);
}
.arrow {
  font-size: 10px;
  transition: transform 0.2s;
}
.nav-links li:hover .arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: 10px;
  border: 1px solid var(--blue-light);
  box-shadow: 0 8px 32px rgba(4, 44, 83, 0.15);
  min-width: 220px;
  overflow: hidden;
}
.nav-links li:hover .dropdown {
  display: block;
}
.dropdown-header {
  background: var(--blue-pale);
  padding: 10px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
}
.dropdown a {
  color: var(--text);
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 0;
  border-bottom: 1px solid var(--blue-pale);
}
.dropdown a:last-child {
  border-bottom: none;
}
.dropdown a:hover {
  background: var(--blue-pale);
  color: var(--blue);
}
.dropdown .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-mid);
  flex-shrink: 0;
}

/* Mobile nav */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* ================================================================
   HERO SLIDER
   ================================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  background: linear-gradient(
    135deg,
    var(--navy) 0%,
    var(--blue) 60%,
    var(--blue-mid) 100%
  );
}
.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1'%3E%3Crect x='10' y='10' width='60' height='60'/%3E%3Ccircle cx='40' cy='40' r='30'/%3E%3C/g%3E%3C/svg%3E")
    repeat;
}

/* Slide items */
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(4, 44, 83, 0.82) 0%,
    rgba(24, 95, 165, 0.55) 100%
  );
}
.slide-content {
  position: relative;
  z-index: 3;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  width: 100%;
}

/* Upload zone inside slide */
.slide-upload-zone {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 44, 83, 0.6);
  backdrop-filter: blur(2px);
  border: 3px dashed rgba(255, 255, 255, 0.5);
  cursor: pointer;
}
.slide-upload-zone span {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  background: rgba(4, 44, 83, 0.7);
  padding: 12px 28px;
  border-radius: 8px;
  pointer-events: none;
}
.slider-edit-mode .slide-upload-zone {
  display: flex;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.slider-dot.active {
  background: var(--white);
  width: 28px;
  border-radius: 5px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s;
}
.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}
.slider-arrow.prev {
  left: 20px;
}
.slider-arrow.next {
  right: 20px;
}

/* Manage slides button */
.manage-slides-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  font-family: "Source Sans 3", sans-serif;
}
.manage-slides-btn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.manage-slides-btn.editing {
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
}

/* Hidden file input for slides */
.slide-file-input {
  display: none;
}

/* ================================================================
   HERO TEXT ELEMENTS (reused across pages)
   ================================================================ */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 2rem;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-pill span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5dcaa5;
  display: inline-block;
}
.hero-slider h1 {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-slider h1 em {
  color: var(--blue-light);
  font-style: normal;
}
.hero-slider p.hero-sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Page hero (non-slider) */
.page-hero {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}
.page-hero .inner {
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 1rem;
}
.page-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 600px;
  line-height: 1.7;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn-primary {
  background: var(--white);
  color: var(--navy);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover {
  background: var(--blue-light);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.18s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* ================================================================
   SECTION UTILITIES
   ================================================================ */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.section-label.light {
  color: var(--blue-light);
}
.section-title {
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}

/* ================================================================
   HOME — BRANCH CARDS
   ================================================================ */
.branches-strip {
  padding: 5rem 2rem;
}
.branches-strip .inner {
  max-width: 1200px;
  margin: 0 auto;
}
.branch-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.branch-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--blue-light);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.branch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(4, 44, 83, 0.12);
}
.branch-card-head {
  padding: 2.5rem 2rem 1.5rem;
}
.branch-card.primary .branch-card-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
}
.branch-card.secondary .branch-card-head {
  background: linear-gradient(135deg, #0c447c 0%, var(--blue-mid) 100%);
}
.branch-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}
.branch-card-head h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}
.branch-card-head p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}
.branch-card-body {
  background: var(--off-white);
  padding: 1.5rem 2rem;
}
.branch-stat {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--blue-pale);
  font-size: 0.9rem;
}
.branch-stat:last-child {
  border-bottom: none;
}
.branch-stat strong {
  color: var(--navy);
  font-weight: 700;
}

/* ================================================================
   HOME — STATS BAR
   ================================================================ */
.stats-bar {
  background: var(--navy);
  padding: 3.5rem 2rem;
}
.stats-bar .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  color: var(--white);
  line-height: 1;
}
.stat-item span {
  display: block;
  font-size: 0.88rem;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ================================================================
   ABOUT — CONTENT
   ================================================================ */
.about-section {
  padding: 5rem 2rem;
}
.about-section .inner {
  max-width: 1200px;
  margin: 0 auto;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text h2 {
  color: var(--navy);
  font-size: 1.9rem;
  margin-bottom: 1rem;
}
.about-text p {
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 0.97rem;
}
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.value-card {
  background: var(--blue-pale);
  border-radius: 12px;
  padding: 1.2rem;
  border-left: 4px solid var(--blue);
}
.value-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
}
.value-card p {
  color: var(--gray);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Branch tabs */
.branch-detail-section {
  padding: 4rem 2rem;
  background: var(--off-white);
}
.branch-detail-section .inner {
  max-width: 1200px;
  margin: 0 auto;
}
.branch-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.branch-tab {
  padding: 10px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  border: 2px solid var(--blue-light);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.18s;
}
.branch-tab.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.branch-panel {
  display: none;
}
.branch-panel.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.info-card {
  background: var(--white);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--blue-light);
}
.info-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 20px;
  color: var(--blue);
}
.info-card h4 {
  color: var(--navy);
  font-size: 1rem;
  margin-bottom: 0.4rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 700;
}
.info-card p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ================================================================
   GALLERY PAGE
   ================================================================ */
.gallery-section {
  padding: 4rem 2rem;
}
.gallery-section .inner {
  max-width: 1200px;
  margin: 0 auto;
}
.gallery-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  border: 2px solid var(--blue-light);
  background: var(--white);
  color: var(--gray);
  cursor: pointer;
  transition: all 0.18s;
}
.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.gallery-grid {
  columns: 3 280px;
  gap: 1.2rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.2rem;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--blue-light);
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.gallery-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 28px rgba(4, 44, 83, 0.15);
}
.gallery-item img {
  width: 100%;
  display: block;
}
.gallery-placeholder {
  width: 100%;
  background: var(--blue-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  min-height: 180px;
  cursor: pointer;
  border-radius: 12px;
  border: 2px dashed var(--blue-light);
  transition: background 0.2s;
}
.gallery-placeholder:hover {
  background: var(--blue-light);
}
.gallery-placeholder .ph-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}
.gallery-placeholder p {
  color: var(--blue);
  font-size: 0.88rem;
  font-weight: 600;
}
.gallery-item .item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 44, 83, 0.55);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-item:hover .item-overlay {
  opacity: 1;
}
.item-caption {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
}
.gallery-add-btn {
  width: 100%;
  padding: 14px;
  border-radius: 10px;
  border: 2px dashed var(--blue-light);
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: background 0.18s;
  font-family: "Source Sans 3", sans-serif;
}
.gallery-add-btn:hover {
  background: var(--blue-light);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 44, 83, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 10px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  color: var(--white);
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 300;
}
.lightbox-arrow.prev {
  left: 24px;
}
.lightbox-arrow.next {
  right: 24px;
}

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-section {
  padding: 5rem 2rem;
}
.contact-section .inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h2 {
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}
.contact-block {
  margin-bottom: 1.5rem;
}
.contact-block h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
  font-family: "Source Sans 3", sans-serif;
}
.contact-block p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--blue-light);
  box-shadow: 0 4px 24px rgba(4, 44, 83, 0.07);
}
.contact-form-wrap h3 {
  color: var(--navy);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--blue-light);
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--off-white);
  transition: border-color 0.18s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.submit-btn {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s;
  font-family: "Source Sans 3", sans-serif;
}
.submit-btn:hover {
  background: var(--blue);
}
.success-msg {
  display: none;
  text-align: center;
  padding: 1.5rem;
  background: #eaf3de;
  border-radius: 8px;
  color: #27500a;
  font-weight: 600;
  margin-top: 1rem;
}

/* Map */
.map-section {
  padding: 0 2rem 5rem;
}
.map-section .inner {
  max-width: 1200px;
  margin: 0 auto;
}
.map-section h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}
.map-embed {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--blue-light);
  box-shadow: 0 4px 20px rgba(4, 44, 83, 0.1);
}
.map-embed iframe {
  width: 100%;
  height: 360px;
  border: none;
  display: block;
}

/* ================================================================
   FOOTER
   ================================================================ */
footer {
  background: var(--navy);
  color: var(--white);
}
.footer-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 3rem;
}
.footer-brand h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-top: 0.6rem;
}
.footer-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2.5px solid var(--blue-mid);
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 17px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 1rem;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 1rem;
  font-family: "Source Sans 3", sans-serif;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.18s;
}
.footer-col ul li a:hover {
  color: var(--white);
}
.footer-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-map iframe {
  width: 100%;
  height: 160px;
  border: none;
  display: block;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-bottom .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom .tagline {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  font-size: 0.85rem;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-section .inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-grid {
    columns: 2 200px;
  }
}
@media (max-width: 560px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    columns: 1;
  }
}
@media (max-width: 760px) {
   .dropdown a {
    color: var(--white);
  }
  .menu-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
  }
  .nav-menu.open {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    align-items: stretch;
    padding: 0 1rem;
    gap: 2px;
  }
  .nav-links li {
    position: static;
  }
  .dropdown {
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    margin-top: 4px;
  }
  nav {
    position: relative;
  }
}
