@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Lato:wght@300;400;700&display=swap');

/* ===== ROOT COLORS & GLOBAL SETTINGS ===== */
:root {
  --navy: #1E3A46;
  --gold: #E9C46A;
  --beige: #FAF6EF;
  --sage: #8AA899;
  --text: #1A1A1A;

  --radius: 16px;
  --shadow: 0 10px 28px rgba(0,0,0,0.08);
  --shadow-lg: 0 18px 48px rgba(0,0,0,0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  background: var(--beige);
  color: var(--text);
  line-height: 1.6;
}

/* ===== NAVBAR ===== */
header {
  width: 100%;
  background: var(--navy);
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.logo img { height: 50px; width: auto; }

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover { color: var(--gold); }

@media (max-width: 850px) {
  .nav-links {
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0; right: 0;
    background: var(--navy);
    display: none;
    text-align: center;
    padding: 1.5rem 0;
  }
  .nav-links.show { display: flex; }
}

/* ===== HERO SECTION ===== */
.hero.clean-hero {
  position: relative;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero.clean-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30,58,70,0.75);
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero h1.display {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  line-height: 1.3;
  color: var(--gold);
  margin-bottom: 1rem;
}

.hero p.lead {
  font-size: 1.25rem;
  color: #f0e9d2;
  margin-bottom: 2rem;
}

/* ===== HERO BUTTON FIX — Equal Size ===== */
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;         /* 🔹 Ensures both are equal width */
  height: 52px;             /* 🔹 Fixed height */
  padding: 0 30px;          /* 🔹 Even inner spacing */
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--gold);
  color: var(--navy);
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.actions .btn:hover {
  background-color: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}


/* ===== ABOUT SECTION (Alternating Layout) ===== */
.about-section {
  background: linear-gradient(180deg, #FAF6EF 0%, #FFFDF8 100%);
  padding: 7rem 2rem;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 4rem;
  flex-wrap: wrap;
}

/* reverse class flips layout for alternating rhythm */
.about-container.reverse {
  flex-direction: row-reverse;
}

/* Shared Elements */
.about-image {
  flex: 1;
  min-width: 340px;
  text-align: center;
}
.about-image img {
  width: 100%;
  max-width: 540px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.about-content {
  flex: 1;
  min-width: 340px;
  text-align: left;
}

.about-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
  border-left: 5px solid var(--gold);
  padding-left: 1rem;
}

.about-intro,
.about-body {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.highlight {
  color: var(--gold);
  font-weight: 700;
}

.about-values h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.about-values ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-values li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.8rem;
}
.about-values li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* Button */
.btn-gradient {
  display: inline-block;
  background: linear-gradient(90deg, var(--gold), #f3d57c);
  color: var(--navy);
  padding: 1rem 2rem;
  border-radius: 40px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(233,196,106,0.3);
  margin-top: 1rem;
}
.btn-gradient:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

/* Fade animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s ease forwards;
}
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
  .about-container,
  .about-container.reverse {
    flex-direction: column;
    text-align: center;
  }
  .about-title {
    border-left: none;
    border-bottom: 4px solid var(--gold);
    padding-left: 0;
    padding-bottom: 10px;
  }
}

/* ===== DIVISIONS SECTION ===== */
.divisions-section {
  background: linear-gradient(180deg, #FAF6EF 0%, #F1E8D9 100%);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}

/* ===== HEADER ===== */
.section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 4rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.divider-line {
  width: 90px;
  height: 4px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #444;
  margin-top: 1rem;
  line-height: 1.7;
}


/* ===== DIVISIONS SECTION ===== */
.divisions-section {
  background: linear-gradient(180deg, #FAF6EF 0%, #F1E8D9 100%);
  padding: 6rem 2rem 7rem;
  overflow: hidden;
}

/* ===== HEADER ===== */
.section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 3.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.divider-line {
  width: 90px;
  height: 4px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin-top: 1rem;
}

/* ===== DIVISION CARD WRAPPER ===== */
.division-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 1150px;
  margin: 3rem auto;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  height: 420px; /* ✅ Locks all cards to same height */
  min-height: 420px;
}

.division-card.reverse {
  flex-direction: row-reverse;
}

.division-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

/* ===== IMAGE SECTION ===== */
.division-img {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
}

.division-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps images proportionate */
  display: block;
  transition: transform 1s ease;
}

.division-card:hover .division-img img {
  transform: scale(1.07);
}

/* Gradient overlay */
.division-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(30, 58, 70, 0.3), rgba(138, 168, 153, 0.25));
  opacity: 0;
  transition: opacity 0.5s ease;
}
.division-card:hover .division-img::after {
  opacity: 1;
}

/* ===== TEXT SECTION ===== */
.division-text {
  flex: 1 1 50%;
  padding: 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.division-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.division-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* ===== BUTTON ===== */
.btn-gradient {
  background: linear-gradient(90deg, var(--gold), #f7e28b);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 40px;
  transition: all 0.4s ease;
  box-shadow: 0 6px 18px rgba(233, 196, 106, 0.35);
  align-self: flex-start;
}

.btn-gradient:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(30, 58, 70, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .division-card,
  .division-card.reverse {
    flex-direction: column;
    text-align: center;
    height: auto;
    min-height: auto;
    margin: 2rem auto;
  }

  .division-img {
    height: 250px;
  }

  .division-text {
    padding: 2rem 1.5rem 3rem;
    align-items: center;
  }

  .division-text h3 {
    font-size: 1.7rem;
  }

  .division-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .btn-gradient {
    align-self: center;
  }
}

/* ===== SCROLL ANIMATION ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 900px) {
  .division-card,
  .division-card.reverse {
    flex-direction: column;
    text-align: center;
    height: auto;
    min-height: auto;
    gap: 0;
  }

  .division-img {
    height: 260px;
    flex: none;
  }

  .division-text {
    padding: 2rem 1.5rem 3rem;
    align-items: center;
  }

  .division-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .division-text p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
  }

  .btn-gradient {
    align-self: center;
  }
}

/* ===== ENHANCED HEADER STYLE ===== */
.enhanced-header .header-inner {
  text-align: center;
}

.enhanced-header .divider-line {
  width: 90px;
  height: 4px;
  background: var(--gold);
  margin: 1rem auto;
  border-radius: 4px;
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 1s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* ===== PARTNERSHIPS SECTION ===== */
.partnerships-section {
  background: linear-gradient(135deg, #1E3A46 0%, #2A4B58 100%);
  color: #fff;
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.partnerships-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,215,0,0.08), transparent 70%);
  z-index: 0;
}

.partnerships-section .section-header {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.partnerships-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.partnerships-section p {
  font-size: 1.1rem;
  color: #e0e0e0;
}

/* ===== Partner Cards ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto 4rem;
  position: relative;
  z-index: 1;
}

.partner-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,0.3);
  background: #fff;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.partner-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(233,196,106,0.3), rgba(30,58,70,0.6));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 32px rgba(233,196,106,0.3);
}

.partner-card:hover::after {
  opacity: 1;
}

.partner-card:hover img {
  transform: scale(1.08);
  opacity: 0.9;
}

/* ===== Partnership Text ===== */
.partnership-text {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.partnership-text h3 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 1rem;
}

.partnership-text p {
  font-size: 1.1rem;
  color: #f8f8f8;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.btn-gradient {
  background: linear-gradient(90deg, var(--gold), #f3d57c);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 40px;
  transition: all 0.4s ease;
  box-shadow: 0 0 18px rgba(233,196,106,0.3);
}

.btn-gradient:hover {
  background: #fff;
  color: var(--navy);
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }
  .partnership-text h3 {
    font-size: 1.8rem;
  }
  .partnerships-section h2 {
    font-size: 2.2rem;
  }
}



/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(180deg, #faf6ef 0%, #fff 100%);
  padding: 8rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-wrapper {
  max-width: 700px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  padding: 3.5rem 3rem;
  text-align: center;
  border-top: 6px solid var(--gold);
}

.contact-wrapper h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 2.6rem;
  margin-bottom: 0.4rem;
}

.contact-wrapper .subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.2rem;
}


/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #fffaf3;
  padding: 7rem 2rem;
}

.contact-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-wrapper h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.7rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.subtitle {
  color: #555;
  font-size: 1.15rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* ===== FORM STYLING ===== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-bottom: 4rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-group.half {
  flex: 1;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(233, 196, 106, 0.35);
}

/* ===== SUBMIT BUTTON ===== */
.btn.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(233, 196, 106, 0.35);
  cursor: pointer;
}

.btn.btn-gold:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== CONTACT DETAILS ===== */
.contact-details {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--gold);
}

.contact-details h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  position: relative;
}

.contact-info-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.info-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  min-width: 240px;
}

.info-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(233, 196, 106, 0.25);
}

.info-block .icon {
  font-size: 1.4rem;
}

.info-text strong {
  display: block;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.info-text a,
.info-text p {
  color: #333;
  font-size: 1rem;
  text-decoration: none;
}

.info-text a:hover {
  color: var(--gold);
}

/* ===== SERVICE AREAS ===== */
.service-areas {
  text-align: center;
}

.service-areas h4 {
  color: var(--navy);
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 0.3rem;
}

.service-areas p {
  margin: 0.3rem 0;
  color: #444;
}

.service-areas .note {
  color: #777;
  font-size: 0.95rem;
  font-style: italic;
  margin-top: 0.3rem;
}

/* ===== SUCCESS MESSAGE ===== */
.success-msg {
  margin-top: 2rem;
  color: #0a6d2c;
  font-weight: 600;
  font-size: 1.05rem;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }

  .info-block {
    flex-direction: column;
    text-align: center;
    min-width: auto;
  }

  .info-text strong {
    margin-top: 0.4rem;
  }
}


/* ===== SUBMIT BUTTON ===== */
button.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 40px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(233, 196, 106, 0.35);
  cursor: pointer;
  align-self: center;
  margin-top: 1rem;
}

button.btn-gold:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}


/* ===== CONTACT DETAILS ===== */
.contact-details {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  text-align: center;
}

.contact-details h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-size: 1.7rem;
  margin-bottom: 1.2rem;
}

.contact-details .info {
  font-size: 1.05rem;
  color: #333;
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

.contact-details a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: var(--gold);
}

/* ===== SERVICE AREAS ===== */
.service-areas {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
  text-align: left;
}

.service-areas .label {
  min-width: 140px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.service-areas .details {
  flex: 1;
  line-height: 1.6;
  max-width: 500px;
}

.service-areas .details p {
  margin: 0;
  font-size: 1.05rem;
  color: #333;
}

.service-areas .details .note {
  margin-top: 0.3rem;
  color: #555;
  font-size: 0.95rem;
  font-style: italic;
}

/* ===== SUCCESS MESSAGE ===== */
#form-success {
  display: none;
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  text-align: center;
  animation: fadeUp 0.6s ease forwards;
}


/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .contact-wrapper {
    padding: 2.5rem 1.5rem;
  }

  .contact-wrapper h2 {
    font-size: 2rem;
  }

  .contact-details {
    text-align: center;
  }

  .service-areas {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .service-areas .label {
    min-width: auto;
    margin-bottom: 0.4rem;
  }

  .service-areas .details {
    max-width: 100%;
  }
}


/* ===== POPUP MODAL STYLING (UPDATED) ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(30, 58, 70, 0.85);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
  overflow-y: auto; /* allow vertical scroll if modal content is taller */
  padding: 2rem 1rem; /* prevent cutoff on mobile */
}

/* The modal box */
.modal-content {
  background: #fffaf2;
  color: #1E3A46;
  padding: 2rem 2.5rem 3.5rem; /* extra bottom padding for button */
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 700px;
  max-height: 90vh; /* limits modal height to 90% of viewport */
  overflow-y: auto; /* allows scrolling inside */
  text-align: left;
  position: relative;
  animation: slideUp 0.4s ease;
  scrollbar-width: thin; /* nice slim scrollbar for modern browsers */
  scrollbar-color: var(--gold) #f5f5f5;
}

/* Optional: smooth scroll inside popup */
.modal-content::-webkit-scrollbar {
  width: 8px;
}
.modal-content::-webkit-scrollbar-thumb {
  background-color: var(--gold);
  border-radius: 10px;
}
.modal-content::-webkit-scrollbar-track {
  background-color: #f8f8f8;
}

/* Headings & Text */
.modal-content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
  padding-bottom: 4px;
}

.modal-content h3 {
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  margin-top: 1.8rem;
  font-size: 1.25rem;
}

.modal-content p,
.modal-content li,
.modal-content ul {
  line-height: 1.7;
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

/* CTA (Call To Action) Section */
.modal-content .cta {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.1);
}

.modal-content .cta p {
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}

/* Buttons inside popup */
.modal-content .btn-gradient,
.modal-content .btn-gold {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.9rem 1.8rem;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 14px rgba(233, 196, 106, 0.3);
  position: relative;
}

.modal-content .btn-gradient:hover,
.modal-content .btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(233, 196, 106, 0.4);
}

/* Close Button */
.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #555;
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2;
}
.modal .close:hover {
  color: var(--gold);
}

/* ===== BUTTON GLOW ANIMATION ===== */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0px rgba(233, 196, 106, 0.5);
  }
  50% {
    box-shadow: 0 0 18px rgba(233, 196, 106, 0.7), 0 0 30px rgba(233, 196, 106, 0.3);
  }
  100% {
    box-shadow: 0 0 0px rgba(233, 196, 106, 0.5);
  }
}

/* Apply soft pulse to popup buttons */
.modal-content .btn-gradient,
.modal-content .btn-gold {
  animation: pulseGlow 3.5s infinite ease-in-out;
}

/* Animation */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    padding: 1.5rem;
    max-height: 85vh;
  }
}



/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  border-top: 4px solid var(--gold);
  position: relative;
  z-index: 1; /* ensures it's above background overlays */
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-container,
  .division-card,
  .division-card.reverse {
    flex-direction: column;
    text-align: center;
  }
  .about-title { font-size: 2.2rem; }
  .contact-wrapper h2 { font-size: 2rem; }
}

/* ===== MOBILE MENU FIX (Non-intrusive) ===== */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy);
    text-align: center;
    padding: 1.5rem 0;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 1.1rem;
    color: #fff;
  }

  .nav-links a:hover {
    color: var(--gold);
  }
}

