/* ============================================================
   THINK DIFFERENTLY WEBSITE - MAIN STYLESHEET
   Color Scheme (Accessible / Dyslexia-Friendly):
     Navy #183856 · Teal #3AAFA9 · Pale Aqua #EDF8F7
     Pale Blue #EEF5FA · Yellow #F6D365 · Off White #FAFAF7
   Font: Atkinson Hyperlegible (Headings: Bold, Body: Regular, Buttons: Bold)
   ============================================================ */

/* ---- RESET & BASE ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
:root {
  /* ---- Brand palette ---- */
  --navy:           #183856;
  --navy-dark:      #102740;
  --teal:           #3AAFA9;
  --teal-dark:      #2C8B86;
  --pale-aqua:      #EDF8F7;
  --pale-blue:      #EEF5FA;
  --yellow:         #F6D365;
  --yellow-dark:    #E0B94A;
  --off-white:      #FAFAF7;

  /* ---- Legacy variable names kept so every rule below still
     resolves correctly, now pointing at the new palette ---- */
  --blue-primary:   var(--navy);
  --blue-light:     var(--teal);
  --blue-pale:      var(--pale-aqua);
  --blue-dark:      var(--navy-dark);
  --black:          var(--navy-dark);
  --black-soft:     var(--navy);
  --white:          #FFFFFF;
  --white-off:      var(--off-white);
  --text-dark:      var(--navy);
  --text-mid:       #3B5872;
  --separator:      var(--teal);
  --overlay-dark:   rgba(24, 56, 86, 0.72);
  --overlay-mid:    rgba(24, 56, 86, 0.60);
  --overlay-light:  rgba(16, 39, 64, 0.55);
  --btn-left:       var(--yellow);
  --btn-left-hover: var(--yellow-dark);
  --btn-right:      var(--teal);
  --font-heading:   'Atkinson Hyperlegible', 'Segoe UI', Arial, sans-serif;
  --font-body:      'Atkinson Hyperlegible', 'Segoe UI', Arial, sans-serif;
  --transition:     0.3s ease;
  --radius:         8px;
  --radius-lg:      16px;
  --shadow:         0 4px 24px rgba(24, 56, 86, 0.18);
  --shadow-lg:      0 8px 40px rgba(24, 56, 86, 0.28);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: #FAF2E0;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
}

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

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

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 2px solid var(--blue-light);
  transition: var(--transition);
  /* NOTE: the blurred background lives on ::before below, not on this
     element. backdrop-filter/filter directly on .navbar would make it
     the "containing block" for any position:fixed descendant — including
     the mobile .nav-links dropdown — which is what was breaking taps on
     the menu on some mobile browsers (notably iOS Safari). Putting the
     blur on a pseudo-element behind the navbar keeps the exact same look
     without that side effect. */
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 56, 86, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--navy-dark);
  font-weight: 700;
  font-family: var(--font-heading);
}

.nav-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
}

.nav-logo .logo-text span {
  color: var(--blue-light);
}

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

.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
  font-weight: 400;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue-light);
  border-radius: 2px;
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(58,175,169,0.2);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-cta {
  background: var(--blue-light) !important;
  color: var(--navy-dark) !important;
  padding: 0.5rem 1.4rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 2px 12px rgba(58,175,169,0.4);
}

.nav-cta:hover {
  background: #FAF2E0 !important;
  color: var(--navy-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(58,175,169,0.5) !important;
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO / FULL-SCREEN SECTIONS WITH BACKGROUND IMAGES
   ============================================================ */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 70px;
}

.bg-section {
  position: relative;
  width: 100%;
  min-height: 90vh;
  display: flex;
  flex-direction: column; /* FIX: was defaulting to row, which pushed the
                              section header and the content beside it
                              instead of stacking them top to bottom */
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bg-section.tall {
  min-height: 80vh;
}

/* "What We Provide" services section: needs to grow to fit the header
   plus 6 stacked cards, so it can't be capped at 90vh like the other
   full-bleed sections. */
.services-section {
  min-height: auto;
  padding: 6rem 2rem;
  gap: 3rem;
}

.section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transition: transform 0.6s ease;
}

.section-overlay {
  position: absolute;
  inset: 0;
}

.section-overlay.mid {
  background: var(--overlay-mid);
}

.section-overlay.light {
  background: var(--overlay-light);
}

/* ---- SEPARATOR LINE ---- */
.section-separator {
  width: 100%;
  height: 50px;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 50%, var(--blue-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.section-separator::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 300%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-33%); }
  100% { transform: translateX(33%); }
}

.section-separator .sep-dots {
  display: flex;
  gap: 10px;
  z-index: 1;
}

.section-separator .sep-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
}

.section-separator .sep-dots span:nth-child(2) {
  background: rgba(255,255,255,1);
  transform: scale(1.3);
}

/* ============================================================
   TEXT CONTENT CONTAINERS
   ============================================================ */
.content-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.content-container.wide {
  max-width: 1100px;
}

.content-box {
  background: rgba(24, 56, 86, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(58, 175, 169, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem 3.5rem;
  box-shadow: 0 8px 40px rgba(24,56,86,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
}

.content-box.dark {
  background: rgba(16, 39, 64, 0.82);
  border-color: rgba(58, 175, 169, 0.4);
}

.content-box .badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--navy-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
}

.content-box h1,
.content-box h2,
.content-box h3 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.content-box p {
  color: rgba(255,255,255,0.90);
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.content-box .divider-line {
  width: 80px;
  height: 3px;
  background: var(--blue-light);
  margin: 1.2rem auto;
  border-radius: 2px;
}

/* ---- CTA BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--btn-left);
  color: var(--navy-dark);
  box-shadow: 0 4px 20px rgba(246,211,101,0.55);
}

.btn-primary:hover {
  background: #FAF2E0;
  color: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(224,185,74,0.65);
}

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

.btn-outline:hover {
  background: rgba(58,175,169,0.15);
  border-color: var(--btn-right);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--blue-dark);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 120%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(58,175,169,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stats-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(58,175,169,0.3);
  transition: var(--transition);
}

.stat-card:hover {
  background: rgba(58,175,169,0.15);
  border-color: var(--blue-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  color: rgba(255,255,255,0.80);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  display: block;
}

/* ============================================================
   FEATURES / SERVICES SECTION (Light background)
   ============================================================ */
.features-section {
  background: #FAF2E0;
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
  position: relative;
  z-index: 2;
}

.section-header .badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-header h2 {
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-mid);
}

.section-header .divider-line {
  width: 80px;
  height: 3px;
  background: var(--blue-light);
  margin: 1rem auto 0;
  border-radius: 2px;
}

/* 2 symmetrical columns x 3 rows, centered under the header.
   Falls back to a single column on smaller screens (see media
   queries below). */
.features-grid {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

.feature-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(58,175,169,0.12);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(58,175,169,0.3);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 1.2rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--blue-light);
  transform: scale(1.1);
}

.feature-card h3 {
  color: var(--blue-dark);
  margin-bottom: 0.8rem;
  font-size: 1.2rem;
}

.feature-card p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  overflow: hidden;
}

.about-content-section {
  padding: 5rem 2rem;
  background: #FAF2E0;
}

.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-text h2 {
  color: var(--blue-dark);
  margin-bottom: 1rem;
}

.about-text .badge {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.about-text .divider-line {
  width: 60px;
  height: 3px;
  background: var(--blue-light);
  margin: 1rem 0;
  border-radius: 2px;
}

.about-text p {
  color: var(--text-mid);
  margin-bottom: 1rem;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-image-wrap:hover img {
  transform: scale(1.04);
}

.about-image-wrap .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,39,64,0.5) 0%, transparent 60%);
}

/* Experience Timeline */
.experience-section {
  padding: 5rem 2rem;
  background: var(--blue-dark);
  position: relative;
  overflow: hidden;
}

.experience-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(58,175,169,0.15) 0%, transparent 60%);
}

.timeline {
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
  z-index: 1;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-light), rgba(58,175,169,0.2));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 2rem);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 2rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1rem;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--blue-light);
  border: 3px solid var(--blue-dark);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(58,175,169,0.3);
  z-index: 2;
}

.timeline-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(58,175,169,0.3);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  flex: 1;
  transition: var(--transition);
}

.timeline-card:hover {
  background: rgba(58,175,169,0.15);
  border-color: var(--blue-light);
  transform: translateY(-3px);
}

.timeline-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.timeline-card h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.timeline-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}

/* Testimonials */
.testimonials-section {
  padding: 5rem 2rem;
  background: #FAF2E0;
}

.testimonials-grid {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(58,175,169,0.12);
  position: relative;
  transition: var(--transition);
}

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

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 1.5rem;
  font-size: 5rem;
  font-family: var(--font-heading);
  color: var(--blue-light);
  line-height: 1;
  opacity: 0.4;
}

.testimonial-stars {
  color: var(--yellow-dark);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-mid);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue-primary);
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.author-info .name {
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.author-info .role {
  color: var(--text-mid);
  font-size: 0.82rem;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  overflow: hidden;
}

.gallery-section {
  padding: 5rem 2rem;
  background: #FAF2E0;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  border: 2px solid var(--blue-light);
  background: transparent;
  color: var(--blue-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue-light);
  color: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(58,175,169,0.4);
}

.gallery-grid {
  max-width: 1200px;
  margin: 0 auto;
  columns: 3;
  column-gap: 1.5rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,39,64,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay .caption {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
}

.gallery-item-overlay .caption small {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 400;
  margin-top: 0.2rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy-dark);
  font-size: 1.2rem;
  font-weight: 700;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: scale(1.1);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
  position: relative;
  width: 100%;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 70px;
  overflow: hidden;
}

.contact-section {
  padding: 5rem 2rem;
  background: #FAF2E0;
}

.contact-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Info Panel */
.contact-info-panel {
  background: var(--blue-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(58,175,169,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.contact-info-panel h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.contact-info-panel .sub {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(58,175,169,0.25);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.contact-info-item:hover {
  background: rgba(58,175,169,0.15);
  border-color: rgba(58,175,169,0.5);
  transform: translateX(4px);
}

.contact-info-item:last-of-type {
  margin-bottom: 0;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--white);
}

.info-content .label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 0.25rem;
}

.info-content .value {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 400;
}

.info-content .value a {
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
}

.info-content .value a:hover {
  color: var(--blue-light);
}

/* ---- Social Links ----
   Always laid out as a single horizontal row of 4 icons.
   flex-wrap is set to wrap only as a safety net for extremely
   narrow containers; at the sizes used here (40px boxes + gap)
   all four fit on one line down through the smallest phone
   breakpoint, so wrapping should not normally trigger. */
.social-links {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(58,175,169,0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  transition: var(--transition);
  flex-shrink: 0;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--blue-light);
  border-color: var(--blue-light);
  color: var(--navy-dark);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid rgba(58,175,169,0.12);
}

.contact-form-panel h3 {
  color: var(--blue-dark);
  margin-bottom: 0.4rem;
}

.contact-form-panel .sub {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.2rem;
}

.form-group:last-of-type {
  margin-bottom: 0;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--blue-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.85rem 1.1rem;
  border: 2px solid rgba(58,175,169,0.25);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white-off);
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-light);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(58,175,169,0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(59,88,114,0.45);
}

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233AAFA9' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  margin-top: 1.5rem;
  width: 100%;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 1rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(58,175,169,0.08);
  border: 2px solid var(--blue-light);
  border-radius: var(--radius-lg);
  margin-top: 1.5rem;
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.form-success h4 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.form-success p {
  color: var(--text-mid);
  font-size: 0.9rem;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--black-soft);
  border-top: 2px solid var(--blue-light);
  padding: 1.2rem 2rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -8px 40px rgba(0,0,0,0.4);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 260px;
}

.cookie-text h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.cookie-text p {
  color: rgba(255,255,255,0.70);
  font-size: 0.85rem;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--blue-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 0.6rem 1.6rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font-body);
}

.cookie-btn.accept {
  background: var(--blue-light);
  color: var(--navy-dark);
  box-shadow: 0 4px 16px rgba(58,175,169,0.4);
}

.cookie-btn.accept:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-2px);
}

.cookie-btn.reject {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 2px solid rgba(255,255,255,0.3);
}

.cookie-btn.reject:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
}

.cookie-btn.settings {
  background: transparent;
  color: var(--blue-light);
  border: 2px solid var(--blue-light);
}

.cookie-btn.settings:hover {
  background: rgba(58,175,169,0.15);
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1rem;
}

.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}

.cookie-modal-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal-inner h3 {
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
}

.cookie-modal-inner .sub {
  color: var(--text-mid);
  font-size: 0.88rem;
  margin-bottom: 2rem;
}

.cookie-toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(58,175,169,0.12);
}

.cookie-toggle-row:last-of-type {
  border-bottom: none;
}

.toggle-info .toggle-name {
  font-weight: 700;
  color: var(--blue-dark);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.toggle-info .toggle-desc {
  color: var(--text-mid);
  font-size: 0.82rem;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--blue-light);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(22px);
}

.toggle-switch input:disabled + .toggle-slider {
  background: var(--blue-light);
  opacity: 0.7;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cookie-modal-actions .btn {
  flex: 1;
  justify-content: center;
  min-width: 120px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-soft);
  padding: 4rem 2rem 2rem;
  border-top: 2px solid var(--blue-primary);
  position: relative;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  display: block;
}

.footer-brand .logo-text span {
  color: var(--blue-light);
}

.footer-brand p {
  color: rgba(255,255,255,0.60);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.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.60);
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--blue-light);
  padding-left: 4px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--blue-light);
  font-size: 0.82rem;
}

/* ============================================================
   WHATSAPP BUTTON
   position: fixed, anchored to the RIGHT edge of the viewport,
   sitting above the scroll-to-top button so the two never overlap.
   ============================================================ */
.whatsapp-contact {
  position: fixed;
  bottom: 90px;
  right: 25px;
  margin-bottom: 25px;
  background-color: var(--teal);
  color: var(--navy-dark);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(58,175,169,0.45);
  z-index: 9600;
  transition: var(--transition);
}

.whatsapp-contact:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(58,175,169,0.55);
}

/* ============================================================
   PAGE TRANSITIONS & ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Counter animation */
.counter-value {
  display: inline-block;
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--blue-light);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 800;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  border: none;
}

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

.scroll-top:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   CHATBOT WIDGET
   ============================================================ */
.chatbot-widget {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 9700;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--blue-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(58,175,169,0.5);
  transition: var(--transition);
  position: relative;
}

.chatbot-toggle:hover {
  background: var(--blue-primary);
  transform: translateY(-3px) scale(1.05);
}

.chatbot-toggle .chatbot-icon-open,
.chatbot-toggle .chatbot-icon-close {
  position: absolute;
  font-size: 1.6rem;
  color: var(--navy-dark);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.chatbot-toggle:hover .chatbot-icon-open,
.chatbot-toggle:hover .chatbot-icon-close {
  color: var(--white);
}

.chatbot-toggle .chatbot-icon-close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

.chatbot-toggle.open .chatbot-icon-open {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.chatbot-toggle.open .chatbot-icon-close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.chatbot-toggle::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background: var(--yellow);
  border: 2px solid var(--white);
  border-radius: 50%;
}

.chatbot-toggle.open::after {
  display: none;
}

.chatbot-window {
  position: absolute;
  bottom: 78px;
  left: 0;
  width: 360px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  max-height: calc(100vh - 140px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(58,175,169,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transform-origin: bottom left;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-dark));
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.chatbot-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  flex-shrink: 0;
}

.chatbot-title {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.chatbot-status {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--teal);
  border-radius: 50%;
  display: inline-block;
}

.chatbot-close {
  background: rgba(255,255,255,0.12);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
  font-size: 0.85rem;
}

.chatbot-close:hover {
  background: rgba(255,255,255,0.25);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: var(--white-off);
}

.chat-message {
  max-width: 82%;
  padding: 0.7rem 1rem;
  border-radius: var(--radius);
  font-size: 0.87rem;
  line-height: 1.6;
  animation: chatFadeIn 0.3s ease;
  word-wrap: break-word;
}

.chat-message.bot {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid rgba(58,175,169,0.15);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  box-shadow: 0 2px 8px rgba(24,56,86,0.06);
}

.chat-message.user {
  background: var(--blue-light);
  color: var(--navy-dark);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chat-message.typing {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 0.9rem 1rem;
}

.chat-message.typing .dot {
  width: 6px;
  height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  display: inline-block;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.chat-message.typing .dot:nth-child(2) { animation-delay: 0.15s; }
.chat-message.typing .dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes typingBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.5; }
  30% { transform: translateY(-5px); opacity: 1; }
}

@keyframes chatFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-quick-replies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.2rem 0.8rem;
  flex-shrink: 0;
  background: var(--white-off);
}

.chat-quick-btn {
  background: var(--white);
  border: 1.5px solid var(--blue-light);
  color: var(--blue-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.chat-quick-btn:hover {
  background: var(--blue-light);
  color: var(--navy-dark);
}

.chatbot-input-row {
  display: flex;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-top: 1px solid rgba(58,175,169,0.15);
  background: var(--white);
  flex-shrink: 0;
}

.chatbot-input-row input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(58,175,169,0.25);
  border-radius: 50px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}

.chatbot-input-row input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(58,175,169,0.12);
}

.chatbot-send {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--blue-light);
  border: none;
  color: var(--navy-dark);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.chatbot-send:hover {
  background: var(--blue-primary);
  color: var(--white);
  transform: scale(1.06);
}

/* Custom scrollbar for chat log */
.chatbot-messages::-webkit-scrollbar {
  width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
  background: rgba(58,175,169,0.35);
  border-radius: 10px;
}



/* ============================================================
   IMAGE + TEXT FEATURE SECTIONS
   Premium split-layout treatment for the site's image-led sections.
   The photograph is framed as a deliberate editorial panel while the
   white copy area curves into it, creating one continuous visual shape.
   ============================================================ */
.image-text-section {
  position: relative;
  width: 100%;
  margin-top: 70px;
  background: var(--white);
  overflow: hidden;
}

.image-text-section:not(.hero-section):not(.about-hero):not(.contact-hero):not(.gallery-hero) {
  margin-top: 0;
}

.image-text-section--cta { min-height: 0; }

.image-text-inner {
  width: 100%;
  max-width: 1320px;
  min-height: 500px;
  margin: 0 auto;
  padding: 34px 2rem;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  position: relative;
}

.image-text-content {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 410px;
  background: var(--white);
  border-radius: 30px 0 0 30px;
}

.image-text-copy {
  width: min(100%, 620px);
  padding: 3.8rem clamp(2rem, 4vw, 4.8rem) 3.8rem 1rem;
  position: relative;
  z-index: 5;
}

.image-text-copy .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pale-aqua);
  color: var(--navy);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 0.42rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(58,175,169,0.16);
}

.image-text-copy .badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(58,175,169,0.12);
}

.image-text-copy h1,
.image-text-copy h2,
.image-text-copy h3 {
  color: var(--navy);
  text-shadow: none;
  margin-bottom: 0.8rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.7px;
  max-width: 600px;
}

.image-text-copy h2 { font-size: clamp(1.85rem, 3.3vw, 2.75rem); }

.image-text-copy p {
  color: var(--text-mid);
  text-shadow: none;
  margin-bottom: 1rem;
  max-width: 570px;
  font-size: clamp(0.96rem, 1.35vw, 1.04rem);
  line-height: 1.72;
}

.image-text-copy .divider-line {
  width: 72px;
  height: 4px;
  background: var(--teal);
  margin: 1rem 0 1.25rem;
  border-radius: 20px;
  position: relative;
}

.image-text-copy .divider-line::after {
  content: '';
  position: absolute;
  left: 82px;
  top: 1px;
  width: 22px;
  height: 2px;
  background: var(--yellow);
  border-radius: 20px;
}

.image-text-copy .btn-group { justify-content: flex-start; }
.image-text-copy .btn-outline { color: var(--navy); }

.image-text-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 650px;
  aspect-ratio: 16 / 9;
  height: auto;
  justify-self: end;
  align-self: center;
  overflow: hidden;
  border-radius: 30px;
  border: 5px solid var(--white);
  box-shadow: 0 14px 36px rgba(24,56,86,0.18), 0 2px 8px rgba(24,56,86,0.10);
}

.image-text-media::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,0.65);
  border-radius: 22px;
  z-index: 2;
  pointer-events: none;
}

.image-text-media::after {
  content: '';
  position: absolute;
  width: 76px;
  height: 10px;
  bottom: 18px;
  left: 24px;
  border-radius: 20px;
  background: rgba(58,175,169,0.88);
  box-shadow: 88px 0 0 rgba(246,211,101,0.9);
  z-index: 3;
  pointer-events: none;
}

.image-text-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s ease;
}

.image-text-section:hover .image-text-media img { transform: scale(1.035); }

/* The curved seam makes the copy and photograph read as one object. */
.image-text-section--image-right .image-text-content::after,
.image-text-section--image-left .image-text-content::after {
  content: '';
  position: absolute;
  top: -15%;
  bottom: -15%;
  width: 150px;
  background: var(--white);
  z-index: 2;
  pointer-events: none;
}

.image-text-section--image-right .image-text-content::after {
  right: -78px;
  border-radius: 0 50% 50% 0 / 0 50% 50% 0;
}

.image-text-section--image-left .image-text-content::after {
  left: -78px;
  border-radius: 50% 0 0 50% / 50% 0 0 50%;
}

.image-text-section--image-left .image-text-content { grid-column: 2; grid-row: 1; }
.image-text-section--image-left .image-text-media { grid-column: 1; grid-row: 1; justify-self: start; }
.image-text-section--image-left .image-text-copy { padding-left: clamp(2rem, 4vw, 4.8rem); padding-right: 1rem; }
.image-text-section--image-right .image-text-content { grid-column: 1; grid-row: 1; }
.image-text-section--image-right .image-text-media { grid-column: 2; grid-row: 1; }

/* A quiet visual hand-off into the next section. */
.image-text-section + .section-separator {
  height: 34px;
  background: var(--white);
  position: relative;
}

.image-text-section + .section-separator::before {
  content: '';
  position: absolute;
  width: 110px;
  height: 5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 20px;
  background: linear-gradient(90deg, var(--teal) 0 68%, var(--yellow) 68% 100%);
}

.image-text-section + .section-separator .sep-dots { display: none; }

@media (max-width: 900px) {
  .image-text-section { margin-top: 70px; }
  .image-text-section:not(.hero-section):not(.about-hero):not(.contact-hero):not(.gallery-hero) { margin-top: 0; }

  .image-text-inner,
  .image-text-section--image-left .image-text-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 18px 1.25rem 30px;
  }

  .image-text-section--image-left .image-text-content,
  .image-text-section--image-right .image-text-content,
  .image-text-section--image-left .image-text-media,
  .image-text-section--image-right .image-text-media {
    grid-column: 1;
    grid-row: auto;
  }

  .image-text-content {
    order: 1;
    min-height: 0;
    border-radius: 26px 26px 0 0;
  }

  .image-text-media,
  .image-text-section--image-left .image-text-media {
    order: 2;
    width: 100%;
    max-width: none;
    aspect-ratio: 16 / 9;
    margin: 0;
    justify-self: stretch;
    border-radius: 0 0 26px 26px;
    border-top: 0;
  }

  .image-text-copy,
  .image-text-section--image-left .image-text-copy {
    width: 100%;
    padding: 3.2rem 2rem 2.5rem;
  }

  .image-text-section--image-left .image-text-content::after,
  .image-text-section--image-right .image-text-content::after {
    display: none;
  }

  .image-text-media::before { inset: 8px; border-radius: 16px; }
  .image-text-media::after { bottom: 14px; left: 18px; }
}

@media (max-width: 560px) {
  .image-text-inner { padding: 10px 0 22px; }
  .image-text-content { border-radius: 22px 22px 0 0; }
  .image-text-copy,
  .image-text-section--image-left .image-text-copy { padding: 2.6rem 1.35rem 2.1rem; }
  .image-text-copy h1,
  .image-text-copy h2 { letter-spacing: -0.35px; }
  .image-text-media,
  .image-text-section--image-left .image-text-media { border-radius: 0 0 22px 22px; }
  .image-text-copy .btn-group { align-items: flex-start; }
  .image-text-section + .section-separator { height: 26px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-grid.reverse {
    direction: ltr;
  }

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

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

  .gallery-grid {
    columns: 2;
  }

  .timeline::before { display: none; }

  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: column;
    padding: 0;
  }

  .timeline-dot { display: none; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(16, 39, 64, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    border-bottom: 2px solid var(--blue-light);
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 0.8rem 1.2rem;
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-section {
    min-height: 85vh;
  }

  .bg-section {
    min-height: 70vh;
  }

  .services-section {
    padding: 4rem 1.25rem;
    gap: 2.5rem;
  }

  .content-box {
    padding: 2rem 1.5rem;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    gap: 1.25rem;
  }

  .feature-card {
    padding: 1.8rem 1.5rem;
  }

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

  .gallery-grid {
    columns: 1;
  }

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

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

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

  .cookie-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .section-bg {
    background-attachment: scroll;
  }

  /* ---- Chatbot: tablet/mobile adjustments ---- */
  .chatbot-window {
    width: 340px;
    height: 480px;
  }

  /* ---- WhatsApp button: tablet/mobile ---- */
  .whatsapp-contact {
    bottom: 82px;
    right: 20px;
    padding: 10px 20px;
    font-size: 14px;
  }
}

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

  .content-box {
    padding: 1.5rem 1.2rem;
  }

  .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .contact-info-panel,
  .contact-form-panel {
    padding: 1.5rem;
  }

  .scroll-top {
    bottom: 5.5rem;
    right: 1rem;
  }

  .services-section {
    padding: 3rem 1rem;
  }

  .feature-card {
    padding: 1.6rem 1.25rem;
  }

  /* ---- Chatbot: full-screen bottom sheet on phones ---- */
  .chatbot-widget {
    bottom: 1rem;
    left: 1rem;
  }

  .chatbot-toggle {
    width: 54px;
    height: 54px;
  }

  .chatbot-toggle .chatbot-icon-open,
  .chatbot-toggle .chatbot-icon-close {
    font-size: 1.4rem;
  }

  .chatbot-window {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 82vh;
    max-height: 82vh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    transform: translateY(100%) scale(1);
    transform-origin: bottom center;
  }

  .chatbot-window.open {
    transform: translateY(0) scale(1);
  }

  .chat-message {
    max-width: 88%;
  }

  body.chatbot-open {
    overflow: hidden;
  }

  /* ---- WhatsApp button: raise it above the mobile scroll-top
     button so nothing overlaps in the bottom-right corner ---- */
  .whatsapp-contact {
    bottom: 130px;
    right: 15px;
    padding: 9px 16px;
    font-size: 13px;
  }

  /* ---- Social links: on the smallest phones, four 40px boxes
     plus gaps can start to feel tight, so shrink the box to 36px
     (icon to 18px) to guarantee they stay on one row with room
     to spare. Wrapping (see .social-links flex-wrap: wrap above)
     is only a fallback if a container is ever narrower than this
     row can fit. ---- */
  .social-link {
    width: 36px;
    height: 36px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }
}


/* Legacy full-bleed height rules must not affect the new split sections. */
@media (max-width: 768px) {
  .image-text-section,
  .image-text-section.hero-section,
  .image-text-section.bg-section,
  .image-text-section.about-hero,
  .image-text-section.contact-hero,
  .image-text-section.gallery-hero {
    min-height: 0 !important;
  }
}

/* ============================================================
   V4 — HIGH-CONTRAST EDITORIAL IMAGE/TEXT SECTIONS
   User-directed treatment: bold navy copy panels, white type,
   strong image borders, curved connection, no decorative moving
   label under photographs.
   ============================================================ */

.page-intro {
  margin-top: 70px;
  padding: clamp(3.5rem, 7vw, 6rem) 1.5rem clamp(2.5rem, 5vw, 4rem);
  background: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 80vw);
  height: 5px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--teal), var(--yellow), var(--teal));
  border-radius: 0 0 20px 20px;
}

.page-intro-inner {
  max-width: 900px;
  margin: 0 auto;
}

.page-intro .badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .48rem 1.25rem;
  margin-bottom: 1.1rem;
  border-radius: 999px;
  background: var(--pale-aqua);
  border: 2px solid var(--teal);
  color: var(--navy);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.page-intro h1 {
  color: var(--navy);
  font-size: clamp(2.25rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: .8rem;
}

.page-intro p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

.intro-rule {
  width: 110px;
  height: 5px;
  margin: 1.5rem auto 0;
  border-radius: 999px;
  background: var(--teal);
  position: relative;
}

.intro-rule span {
  position: absolute;
  width: 28px;
  height: 5px;
  right: -38px;
  top: 0;
  border-radius: 999px;
  background: var(--yellow);
}

/* The image-led sections now deliberately sit on the brand palette. */
.image-text-section {
  background: var(--white);
  padding: 0;
}

.image-text-inner {
  max-width: 1380px;
  min-height: 500px;
  padding: 44px 2rem;
  gap: 0;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
}

.image-text-content {
  min-height: 420px;
  align-self: center;
  background: var(--navy);
  border: 4px solid var(--navy);
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(24,56,86,.22);
  overflow: visible;
}

.image-text-copy,
.image-text-section--image-left .image-text-copy {
  width: 100%;
  max-width: none;
  padding: clamp(2.8rem, 5vw, 4.5rem) clamp(2.2rem, 5vw, 5rem);
}

.image-text-copy .badge {
  background: var(--teal);
  color: var(--navy-dark);
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 6px 18px rgba(58,175,169,.28);
  padding: .5rem 1.25rem;
  margin-bottom: 1.25rem;
}

.image-text-copy .badge::before {
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(246,211,101,.15);
}

.image-text-copy h1,
.image-text-copy h2,
.image-text-copy h3 {
  color: var(--white);
  text-shadow: 0 2px 0 rgba(0,0,0,.08);
  margin-bottom: 1rem;
  max-width: 720px;
}

.image-text-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.45rem);
}

.image-text-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.image-text-copy p {
  color: rgba(255,255,255,.94);
  max-width: 680px;
  font-size: clamp(1rem, 1.45vw, 1.1rem);
  line-height: 1.78;
  margin-bottom: 1.25rem;
}

.image-text-copy .divider-line {
  width: 76px;
  height: 5px;
  background: var(--teal);
  margin: 1rem 0 1.35rem;
  box-shadow: 22px 0 0 var(--yellow);
}

.image-text-copy .divider-line::after {
  display: none;
}

.image-text-copy .btn-outline {
  color: var(--white);
  border-color: rgba(255,255,255,.8);
}

.image-text-copy .btn-outline:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.image-text-media {
  max-width: none;
  width: calc(100% + 4px);
  aspect-ratio: 16 / 9;
  border: 5px solid var(--navy);
  border-radius: 30px;
  box-shadow: 0 18px 42px rgba(24,56,86,.20);
  z-index: 1;
}

.image-text-media::before {
  inset: 9px;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 22px;
}

/* Remove the old decorative teal/yellow moving marker completely. */
.image-text-media::after {
  display: none;
}

.image-text-media img {
  object-position: center center;
}

/* Strong curved seam: the navy copy panel physically appears to flow
   into the photograph instead of looking like two unrelated boxes. */
.image-text-section--image-right .image-text-content::after,
.image-text-section--image-left .image-text-content::after {
  content: '';
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 125px;
  background: var(--navy);
  z-index: -1;
  pointer-events: none;
}

.image-text-section--image-right .image-text-content::after {
  right: -78px;
  border-radius: 0 55% 55% 0 / 0 50% 50% 0;
}

.image-text-section--image-left .image-text-content::after {
  left: -78px;
  border-radius: 55% 0 0 55% / 50% 0 0 50%;
}

.image-text-section--image-left .image-text-content {
  box-shadow: 0 18px 42px rgba(24,56,86,.22);
}

/* Make the transition into the following section deliberate and clean,
   rather than a separate animated strip. */
.image-text-section + .section-separator {
  height: 18px;
  background: var(--white);
}

.image-text-section + .section-separator::before,
.image-text-section + .section-separator .sep-dots {
  display: none;
}

@media (max-width: 900px) {
  .page-intro {
    margin-top: 70px;
  }

  .image-text-inner,
  .image-text-section--image-left .image-text-inner {
    padding: 28px 1.15rem 34px;
    gap: 0;
  }

  .image-text-content,
  .image-text-section--image-left .image-text-content {
    min-height: 0;
    border-radius: 26px 26px 0 0;
    border-bottom: 0;
    box-shadow: 0 12px 28px rgba(24,56,86,.18);
  }

  .image-text-section--image-right .image-text-content::after,
  .image-text-section--image-left .image-text-content::after {
    display: none;
  }

  .image-text-copy,
  .image-text-section--image-left .image-text-copy {
    padding: 2.8rem 2rem 2.4rem;
  }

  .image-text-media,
  .image-text-section--image-left .image-text-media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 0 0 26px 26px;
    border-top: 0;
    box-shadow: 0 14px 30px rgba(24,56,86,.18);
  }
}

@media (max-width: 560px) {
  .page-intro {
    padding-top: 3.1rem;
  }

  .page-intro h1 {
    letter-spacing: -.5px;
  }

  .image-text-inner {
    padding: 16px 0 24px;
  }

  .image-text-copy,
  .image-text-section--image-left .image-text-copy {
    padding: 2.35rem 1.35rem 2rem;
  }

  .image-text-copy h1,
  .image-text-copy h2 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .image-text-copy p {
    font-size: .98rem;
    line-height: 1.7;
  }

  .image-text-media,
  .image-text-section--image-left .image-text-media {
    border-radius: 0 0 22px 22px;
  }
}


/* ============================================================
   V5 — BRAND BADGES, ACTION BUTTONS & CLEAN SECTION RHYTHM
   ============================================================ */
:root { --section-canvas: #FAF2E0; }

.page-intro,
.image-text-section { background: var(--section-canvas); }

/* Clean page-one header: title + brand oval only. */
.page-intro { padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.page-intro::before,
.page-intro .intro-rule,
.page-intro p { display: none; }
.page-intro .page-intro-inner { max-width: 1050px; }
.page-intro .badge {
  background: var(--teal);
  color: var(--navy);
  border: 2px solid var(--yellow);
  box-shadow: 0 8px 20px rgba(24,56,86,.10);
}
.page-intro .badge::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 4px rgba(246,211,101,.18);
}

/* Section ovals: green/teal fill, navy text, matching green border/dot. */
.image-text-copy .badge,
.section-header .badge,
.about-text .badge {
  background: var(--teal) !important;
  color: var(--navy) !important;
  border: 2px solid var(--teal) !important;
  box-shadow: 0 7px 18px rgba(58,175,169,.22);
}
.image-text-copy .badge::before,
.section-header .badge::before,
.about-text .badge::before {
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(58,175,169,.16);
}

/* Richer composition while retaining the existing split layout. */
.image-text-inner { padding-top: 52px; padding-bottom: 52px; }
.image-text-content {
  border-color: var(--navy);
  box-shadow: 0 20px 45px rgba(24,56,86,.25), 0 4px 0 rgba(58,175,169,.35);
}
.image-text-media {
  border-color: var(--navy);
  box-shadow: 0 20px 45px rgba(24,56,86,.24);
}
.image-text-section--image-right .image-text-content::after,
.image-text-section--image-left .image-text-content::after { background: var(--navy); }

/* Buttons: left/first = green, right/second = yellow, navy lettering. */
.image-text-copy .btn-group .btn-primary,
.image-text-copy .btn-group .btn-outline {
  color: var(--navy) !important;
  border: 2px solid transparent;
  font-weight: 700;
}
.image-text-copy .btn-group .btn-primary {
  background: var(--teal) !important;
  border-color: var(--teal) !important;
  box-shadow: 0 7px 20px rgba(58,175,169,.30);
}
.image-text-copy .btn-group .btn-primary:hover {
  background: #FAF2E0 !important;
  border-color: #FAF2E0 !important;
  color: var(--navy) !important;
}
.image-text-copy .btn-group .btn-outline {
  background: var(--yellow) !important;
  border-color: var(--yellow) !important;
  box-shadow: 0 7px 20px rgba(246,211,101,.30);
}
.image-text-copy .btn-group .btn-outline:hover {
  background: var(--yellow-dark) !important;
  border-color: var(--yellow-dark) !important;
  color: var(--navy) !important;
}
.image-text-copy .btn-group .btn-solo-yellow {
  background: var(--yellow) !important;
  border-color: var(--yellow) !important;
  color: var(--navy) !important;
  box-shadow: 0 7px 20px rgba(246,211,101,.30);
}
.image-text-copy .btn-group .btn-solo-yellow:hover {
  background: var(--yellow-dark) !important;
  border-color: var(--yellow-dark) !important;
  color: var(--navy) !important;
}

/* Elegant separators: no green bar and no white dots. */
.section-separator,
.image-text-section + .section-separator {
  height: 30px;
  background: var(--section-canvas) !important;
}
.section-separator::before,
.image-text-section + .section-separator::before {
  display: block !important;
  content: '';
  position: absolute;
  width: 150px; height: 4px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal) 0 62%, var(--yellow) 62% 100%);
  animation: none !important;
}
.section-separator .sep-dots,
.image-text-section + .section-separator .sep-dots { display: none !important; }

.services-section,
.features-section { background: var(--section-canvas) !important; }

@media (max-width: 900px) {
  .image-text-inner { padding-top: 34px; padding-bottom: 38px; }
}
@media (max-width: 560px) {
  .page-intro { padding-top: 3rem; padding-bottom: 2.8rem; }
  .image-text-inner { padding-top: 22px; padding-bottom: 28px; }
  .section-separator,
  .image-text-section + .section-separator { height: 24px; }
}

/* ============================================================
   V6 — CLEAN BADGES, TWO PAGE-ONE SEPARATORS & SOFT CARD EDGES
   ============================================================ */

/* All section ovals: no outline, consistent yellow dot, clear spacing. */
.page-intro .badge,
.image-text-copy .badge,
.section-header .badge,
.about-text .badge {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  position: relative;
  gap: .62rem;
  white-space: nowrap;
}

.page-intro .badge::before,
.image-text-copy .badge::before,
.section-header .badge::before,
.about-text .badge::before {
  content: '' !important;
  display: inline-block !important;
  flex: 0 0 9px;
  width: 9px !important;
  height: 9px !important;
  margin: 0 !important;
  border-radius: 50%;
  background: var(--yellow) !important;
  box-shadow: none !important;
}

/* The top brand oval also follows the same clean dot treatment. */
.page-intro .badge {
  background: var(--teal) !important;
  color: var(--navy) !important;
  border-radius: 999px;
}

/* Two deliberate separators on page one only: after Our Approach and
   after the six What We Provide cards. Keep them static and understated. */
.page-one-separator {
  height: 34px !important;
  margin: 0;
  background: var(--section-canvas) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.page-one-separator::before {
  display: none !important;
  animation: none !important;
}

.page-one-separator .sep-dots {
  display: flex !important;
  align-items: center;
  gap: 9px;
}

.page-one-separator .sep-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  transform: none !important;
}

.page-one-separator .sep-dots span:nth-child(2) {
  width: 10px;
  height: 10px;
  background: var(--yellow);
}

/* Soft, fully rounded panels — no hard rectangular shadow hanging below. */
.image-text-content,
.image-text-media {
  border-radius: 34px !important;
  box-shadow: 0 12px 28px rgba(24,56,86,.16) !important;
}

.image-text-content {
  border: 0 !important;
  overflow: visible;
}

.image-text-media {
  border: 4px solid var(--navy) !important;
  overflow: hidden;
}

.image-text-media::before {
  border-radius: 26px !important;
}

/* Keep the connecting navy shape soft rather than a block protruding below. */
.image-text-section--image-right .image-text-content::after,
.image-text-section--image-left .image-text-content::after {
  top: 14%;
  bottom: 14%;
  width: 105px;
  box-shadow: none !important;
}

.image-text-section--image-right .image-text-content::after {
  right: -62px;
  border-radius: 0 70px 70px 0 / 0 50% 50% 0;
}

.image-text-section--image-left .image-text-content::after {
  left: -62px;
  border-radius: 70px 0 0 70px / 50% 0 0 50%;
}

@media (max-width: 900px) {
  .image-text-content,
  .image-text-media {
    border-radius: 28px !important;
  }

  .image-text-media {
    border: 4px solid var(--navy) !important;
  }

  .image-text-section--image-right .image-text-content::after,
  .image-text-section--image-left .image-text-content::after {
    display: none !important;
  }
}


/* V7 — final badge and separator corrections */
.page-intro .badge::before,
.image-text-copy .badge::before,
.section-header .badge::before,
.about-text .badge::before {
  display: none !important;
  content: none !important;
}
.page-intro .badge,
.image-text-copy .badge,
.section-header .badge,
.about-text .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 0 !important;
  padding-left: 1.15rem !important;
  padding-right: 1.15rem !important;
}

/* Restore the original three-dot separator: clean band with three centred dots. */
.section-separator {
  height: 50px !important;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 50%, var(--blue-dark) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}
.section-separator::before {
  display: none !important;
  animation: none !important;
}
.section-separator .sep-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  z-index: 1 !important;
}
.section-separator .sep-dots span {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.78) !important;
  transform: none !important;
}
.section-separator .sep-dots span:nth-child(2) {
  width: 10px !important;
  height: 10px !important;
  background: #fff !important;
  transform: none !important;
}

/* Page-one separators use the same restored three-dot treatment. */
.page-one-separator {
  height: 50px !important;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 50%, var(--blue-dark) 100%) !important;
}
.page-one-separator .sep-dots { display: flex !important; }
.page-one-separator .sep-dots span {
  width: 8px !important; height: 8px !important;
  background: rgba(255,255,255,.78) !important;
}
.page-one-separator .sep-dots span:nth-child(2) {
  width: 10px !important; height: 10px !important; background: #fff !important;
}

/* Our Approach on the homepage: text left, image right. */
#home-approach.image-text-section--image-left .image-text-inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}
#home-approach.image-text-section--image-left .image-text-content { grid-column: 1 !important; grid-row: 1 !important; }
#home-approach.image-text-section--image-left .image-text-media { grid-column: 2 !important; grid-row: 1 !important; }
#home-approach.image-text-section--image-left .image-text-content::after {
  left: auto !important; right: -62px !important;
  border-radius: 0 70px 70px 0 / 0 50% 50% 0 !important;
}
@media (max-width: 900px) {
  #home-approach.image-text-section--image-left .image-text-content,
  #home-approach.image-text-section--image-left .image-text-media { grid-column: 1 !important; grid-row: auto !important; }
  #home-approach.image-text-section--image-left .image-text-content::after { display:none !important; }
}


/* V8 — final badge + separator cleanup */
/* Every oval is text-only: no dots, pseudo-elements, borders or offsets. */
.badge,
.page-intro .badge,
.image-text-copy .badge,
.section-header .badge,
.about-text .badge,
.content-box .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  box-sizing: border-box !important;
  gap: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.badge::before,
.badge::after,
.page-intro .badge::before,
.page-intro .badge::after,
.image-text-copy .badge::before,
.image-text-copy .badge::after,
.section-header .badge::before,
.section-header .badge::after,
.about-text .badge::before,
.about-text .badge::after,
.content-box .badge::before,
.content-box .badge::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Use the restored three-dot separator consistently wherever an actual separator exists. */
.section-separator {
  height: 50px !important;
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 50%, var(--blue-dark) 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
}
.section-separator::before { content: none !important; display: none !important; animation: none !important; }
.section-separator .sep-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}
.section-separator .sep-dots span {
  display: block !important;
  width: 8px !important; height: 8px !important;
  min-width: 8px !important; min-height: 8px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.78) !important;
  transform: none !important;
}
.section-separator .sep-dots span:nth-child(2) {
  width: 10px !important; height: 10px !important;
  min-width: 10px !important; min-height: 10px !important;
  background: #fff !important;
}

/* About Us: no decorative separators between Story, About Me, Journey or Approach. */
.about-page .section-separator { display: none !important; }
body.about-page .section-separator { display: none !important; }

/* Contact and Gallery hero separators are deliberately retained and use the same treatment above. */

/* ============================================================
   V9 — RESTORE THE ORIGINAL GREEN + WHITE-DOT SEPARATORS
   ============================================================ */

/* Section badges are text-only: absolutely no decorative dots. */
.page-intro .badge::before,
.page-intro .badge::after,
.image-text-copy .badge::before,
.image-text-copy .badge::after,
.section-header .badge::before,
.section-header .badge::after,
.about-text .badge::before,
.about-text .badge::after,
.content-box .badge::before,
.content-box .badge::after,
.badge::before,
.badge::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Perfectly centred oval labels with no border. */
.page-intro .badge,
.image-text-copy .badge,
.section-header .badge,
.about-text .badge,
.content-box .badge,
.badge {
  border: 0 !important;
  outline: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  vertical-align: middle !important;
  gap: 0 !important;
  padding-left: 1.35rem !important;
  padding-right: 1.35rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Restore the requested green separator with three clean white dots.
   This applies to every separator that actually exists in the HTML. */
.section-separator,
.image-text-section + .section-separator,
.page-one-separator {
  width: 100% !important;
  height: 50px !important;
  background: var(--teal) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
}

.section-separator::before,
.image-text-section + .section-separator::before,
.page-one-separator::before {
  content: none !important;
  display: none !important;
  animation: none !important;
}

.section-separator .sep-dots,
.image-text-section + .section-separator .sep-dots,
.page-one-separator .sep-dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  z-index: 2 !important;
}

.section-separator .sep-dots span,
.image-text-section + .section-separator .sep-dots span,
.page-one-separator .sep-dots span {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  min-width: 8px !important;
  min-height: 8px !important;
  border-radius: 50% !important;
  background: #fff !important;
  transform: none !important;
}

.section-separator .sep-dots span:nth-child(2),
.image-text-section + .section-separator .sep-dots span:nth-child(2),
.page-one-separator .sep-dots span:nth-child(2) {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  min-height: 11px !important;
  background: #fff !important;
}

/* About Us contains no requested separators between its main sections. */
body.about-page .section-separator,
.about-page .section-separator {
  display: none !important;
}

/* About Us: restore only the three requested separators. */
body.about-page .about-page-separator { display:flex !important; width:100%; height:50px; background:var(--teal); align-items:center; justify-content:center; position:relative; overflow:hidden; }
body.about-page .about-page-separator .sep-dots { display:flex !important; align-items:center !important; justify-content:center !important; gap:10px !important; position:static !important; margin:0 !important; z-index:2 !important; }
body.about-page .about-page-separator .sep-dots span { display:block !important; width:8px !important; height:8px !important; min-width:8px !important; min-height:8px !important; border-radius:50% !important; background:#fff !important; transform:none !important; }
body.about-page .about-page-separator .sep-dots span:nth-child(2) { width:11px !important; height:11px !important; min-width:11px !important; min-height:11px !important; background:#fff !important; }

/* V12 — final precision fixes */
/* All green oval labels: true geometric centering, including the text baseline. */
.badge,
.page-intro .badge,
.image-text-copy .badge,
.section-header .badge,
.about-text .badge,
.content-box .badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  height: auto !important;
  min-height: 2.15rem !important;
  padding: .55rem 1.45rem !important;
  margin-top: 0 !important;
  text-align: center !important;
  white-space: nowrap !important;
}

/* TD logo: remove font-line box drift so the letters sit exactly in the circle. */
.nav-logo .logo-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
  padding: 0 !important;
  text-align: center !important;
  flex: 0 0 40px !important;
}

/* Homepage Our Approach — mobile is a deliberate vertical stack, never a squeezed grid. */
@media (max-width: 900px) {
  #home-approach .image-text-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    min-height: 0 !important;
    gap: 0 !important;
    padding: 24px 1rem 34px !important;
  }
  #home-approach .image-text-content,
  #home-approach .image-text-media {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    align-self: stretch !important;
  }
  #home-approach .image-text-content {
    border-radius: 28px 28px 0 0 !important;
    overflow: hidden !important;
  }
  #home-approach .image-text-media {
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 0 0 28px 28px !important;
    overflow: hidden !important;
  }
  #home-approach .image-text-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    object-fit: cover !important;
  }
}

@media (max-width: 560px) {
  #home-approach .image-text-inner {
    padding: 16px 0 24px !important;
  }
  #home-approach .image-text-copy {
    padding: 2.2rem 1.35rem 2rem !important;
  }
  #home-approach .image-text-copy h2 {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem) !important;
  }
}

/* Contact page now has one centred information panel — no form. */
.contact-wrapper {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 900px !important;
  margin: 0 auto !important;
}
.contact-info-panel {
  width: 100% !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}
.contact-form-panel { display: none !important; }
.contact-section[aria-label="Contact information and form"] { text-align: center !important; }
.contact-info-panel .sub { max-width: 650px; margin-left: auto; margin-right: auto; }
.contact-info-item { text-align: left !important; }
.contact-info-item .value,
.contact-info-item .value a {
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

/* V13 — final mobile consistency + optical TD centring */
.nav-logo .logo-icon {
  line-height: 40px !important;
  transform: translateY(1px) !important;
}
.nav-logo .logo-icon::first-letter { vertical-align: baseline; }

@media (max-width: 900px) {
  /* Every image/text feature uses the same clean mobile dropdown treatment. */
  .image-text-section .image-text-inner,
  .image-text-section--image-left .image-text-inner,
  .image-text-section--image-right .image-text-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    gap: 0 !important;
    padding: 28px 1rem 34px !important;
    box-sizing: border-box !important;
  }

  .image-text-section .image-text-content,
  .image-text-section .image-text-media,
  .image-text-section--image-left .image-text-content,
  .image-text-section--image-left .image-text-media,
  .image-text-section--image-right .image-text-content,
  .image-text-section--image-right .image-text-media {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    grid-column: auto !important;
    grid-row: auto !important;
    float: none !important;
    flex: none !important;
  }

  .image-text-section .image-text-content,
  .image-text-section--image-left .image-text-content,
  .image-text-section--image-right .image-text-content {
    border: 5px solid var(--navy) !important;
    border-bottom: 0 !important;
    border-radius: 26px 26px 0 0 !important;
    overflow: visible !important;
    box-shadow: 0 12px 28px rgba(24,56,86,.18) !important;
  }

  .image-text-section .image-text-copy,
  .image-text-section--image-left .image-text-copy,
  .image-text-section--image-right .image-text-copy {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 2.6rem 1.5rem 2.35rem !important;
    overflow-wrap: break-word !important;
  }

  .image-text-section .image-text-copy h1,
  .image-text-section .image-text-copy h2,
  .image-text-section .image-text-copy h3 {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .image-text-section .image-text-copy p {
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .image-text-section .image-text-media,
  .image-text-section--image-left .image-text-media,
  .image-text-section--image-right .image-text-media {
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border: 5px solid var(--navy) !important;
    border-top: 0 !important;
    border-radius: 0 0 26px 26px !important;
    box-shadow: 0 14px 30px rgba(24,56,86,.18) !important;
    position: relative !important;
  }

  .image-text-section .image-text-media img,
  .image-text-section--image-left .image-text-media img,
  .image-text-section--image-right .image-text-media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  .image-text-section .image-text-content::after,
  .image-text-section--image-left .image-text-content::after,
  .image-text-section--image-right .image-text-content::after {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .image-text-section .image-text-inner,
  .image-text-section--image-left .image-text-inner,
  .image-text-section--image-right .image-text-inner {
    padding: 16px .7rem 26px !important;
  }

  .image-text-section .image-text-copy,
  .image-text-section--image-left .image-text-copy,
  .image-text-section--image-right .image-text-copy {
    padding: 2.35rem 1.25rem 2.15rem !important;
  }

  .image-text-section .image-text-copy h1,
  .image-text-section .image-text-copy h2 {
    font-size: clamp(1.72rem, 8vw, 2.3rem) !important;
    line-height: 1.12 !important;
  }

  .image-text-section .image-text-copy p {
    font-size: .96rem !important;
    line-height: 1.68 !important;
  }

  .image-text-section .image-text-content,
  .image-text-section .image-text-media {
    border-radius: 22px 22px 0 0 !important;
  }
  .image-text-section .image-text-media {
    border-radius: 0 0 22px 22px !important;
  }
}

/* Long contact email: keep the complete address readable without horizontal overflow. */
.contact-info-panel .contact-info-item .value a[href^="mailto:"] {
  display: inline-block !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  line-height: 1.45 !important;
}
