/* =========================================================
   DOBSON'S PAINTING AND DECORATING
   Custom Stylesheet (Bootstrap 5 base + custom design system)
   ========================================================= */

/* ---------------------------------------------------------
   1. ROOT VARIABLES & GLOBAL RESET
--------------------------------------------------------- */
:root {
  --color-cream: #F5EEDA;
  --color-orange: #FF8F1C;
  --color-orange-dark: #E67D0E;
  --color-pale-yellow: #FFFFC0;
  --color-teal: #4B6164;
  --color-teal-dark: #384C4E;
  --color-text: #3F4A48;
  --color-white: #FFFFFF;

  --font-heading: 'Josefin Sans', sans-serif;
  --font-body: 'Poppins', sans-serif;

  --shadow-sm: 0 2px 10px rgba(75, 97, 100, 0.08);
  --shadow-md: 0 12px 30px rgba(75, 97, 100, 0.12);
  --shadow-lg: 0 22px 48px rgba(75, 97, 100, 0.16);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 26px;

  --transition-base: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-cream);
  line-height: 1.75;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-teal-dark);
  font-weight: 600;
  line-height: 1.25;
}

a { text-decoration: none; color: var(--color-orange); transition: var(--transition-base); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--color-orange); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-orange);
  color: #fff;
  padding: 10px 18px;
  z-index: 3000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 2px;
}

html, body { max-width: 100%; overflow-x: hidden; }

/* ---------------------------------------------------------
   2. UTILITIES
--------------------------------------------------------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 12px;
  position: relative;
  padding-left: 34px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
  background: var(--color-orange);
}
.eyebrow-light { color: var(--color-pale-yellow); }
.eyebrow-light::before { background: var(--color-pale-yellow); }

.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 18px;
}
.section-title-light { color: #fff; }

.section-text {
  color: var(--color-text);
  opacity: 0.85;
  font-size: 1.02rem;
  max-width: 620px;
}

.section-heading { max-width: 700px; margin-bottom: 56px; }

.welcome-section, .about-section, .services-section, .process-section,
.portfolio-section, .testimonial-section, .areas-section, .cta-section {
  padding: 96px 0;
}

.fade-up {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.18s; }
.delay-3 { transition-delay: 0.28s; }
.delay-4 { transition-delay: 0.38s; }

/* Buttons */
.btn-quote {
  background: var(--color-orange);
  border: none;
  color: #fff !important;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.4px;
  border-radius: 50px;
  padding: 12px 28px;
  box-shadow: 0 8px 20px rgba(255, 143, 28, 0.32);
  transition: var(--transition-base);
}
.btn-quote:hover, .btn-quote:focus {
  background: var(--color-orange-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(255, 143, 28, 0.4);
  color: #fff;
}
.btn-quote.btn-lg { padding: 15px 36px; font-size: 1.02rem; }
.btn-quote.btn-sm { padding: 9px 20px; font-size: 0.88rem; }

.btn-outline-light-custom {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-heading);
  background: transparent;
  border-radius: 50px;
  padding: 13px 30px;
  transition: var(--transition-base);
}
.btn-outline-light-custom:hover {
  background: #fff;
  color: var(--color-teal-dark);
  transform: translateY(-3px);
}

/* ---------------------------------------------------------
   3. HEADER / NAVIGATION
--------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1500;
  background: rgba(245, 238, 218, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-teal-dark);
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-orange);
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.brand-text em, .brand-text-mobile em {
  font-style: normal;
  font-weight: 400;
  display: block;
  font-size: 0.72em;
  letter-spacing: 0.5px;
  color: var(--color-teal);
}

.desktop-nav { align-items: center; gap: 22px; }
.nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}
.nav-list a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-teal-dark);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-orange);
  transition: width 0.3s ease;
}
.nav-list a:hover { color: var(--color-orange); }
.nav-list a:hover::after { width: 100%; }

/* Mobile hamburger */
.menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: none;
  background: var(--color-teal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle .bar {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition-base);
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------
   4. MOBILE OFF-CANVAS MENU (slides in from the RIGHT — mobile only)
--------------------------------------------------------- */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(56, 76, 78, 0.55);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(320px, 84vw);
  background: var(--color-white);
  z-index: 2000;
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  box-shadow: -14px 0 40px rgba(0, 0, 0, 0.18);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid #EFE9D8;
}
.brand-text-mobile {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-teal-dark);
}
.menu-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--color-cream);
  color: var(--color-teal-dark);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-base);
}
.menu-close:hover { background: var(--color-orange); color: #fff; transform: rotate(90deg); }

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: grid;
  gap: 4px;
}
.mobile-nav-list a {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-teal-dark);
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}
.mobile-nav-list a:hover {
  background: var(--color-cream);
  color: var(--color-orange);
  padding-left: 16px;
}

.mobile-menu-contact {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid #EFE9D8;
  display: grid;
  gap: 12px;
}
.mobile-menu-contact a {
  font-size: 0.88rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-menu-contact a i { color: var(--color-orange); width: 18px; }
.mobile-social { display: flex; gap: 10px; margin-top: 6px; }
.mobile-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal-dark);
}
.mobile-social a:hover { background: var(--color-orange); color: #fff; }

/* Prevent body scroll when mobile menu is open */
body.menu-open { overflow: hidden; }

/* Ensure off-canvas behaviour is mobile/tablet only: reset once the full desktop nav fits (xl) */
@media (min-width: 1200px) {
  .mobile-menu, .mobile-menu-overlay { display: none !important; }
}

/* Between 1200px and 1360px, tighten the header further so nothing crowds */
@media (min-width: 1200px) and (max-width: 1360px) {
  .desktop-nav { gap: 16px; }
  .nav-list { gap: 15px; }
  .nav-list a { font-size: 0.86rem; }
  .brand-text em, .brand-text-mobile em { font-size: 0.65em; }
}

/* ---------------------------------------------------------
   5. HERO SECTION
--------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(56, 76, 78, 0.92) 0%, rgba(75, 97, 100, 0.72) 55%, rgba(75, 97, 100, 0.4) 100%);
  z-index: -1;
}
.hero-container { position: relative; z-index: 1; padding: 60px 0; max-width: 720px; }
.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-pale-yellow);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-section .eyebrow { color: var(--color-pale-yellow); }
.hero-section .eyebrow::before { background: var(--color-pale-yellow); }

/* ---------------------------------------------------------
   6. WELCOME SECTION
--------------------------------------------------------- */
.welcome-section { padding: 80px 0; }
.welcome-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 52px;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-orange);
}
.welcome-icon {
  font-size: 2.4rem;
  color: var(--color-orange);
  margin-bottom: 18px;
}
.welcome-box p { font-size: 1.08rem; margin-bottom: 14px; }
.welcome-box p:last-child { margin-bottom: 0; }

/* ---------------------------------------------------------
   7. ABOUT SECTION
--------------------------------------------------------- */
.about-image-wrap { position: relative; }
.about-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-badge {
  position: absolute;
  bottom: -22px;
  left: -18px;
  background: var(--color-teal);
  color: #fff;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.about-badge i { font-size: 1.6rem; color: var(--color-pale-yellow); }
.about-badge span { font-size: 0.85rem; font-weight: 600; line-height: 1.3; }

.about-strapline {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--color-orange);
  margin: 18px 0 4px;
}

.difference-list {
  list-style: none;
  padding: 0;
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}
.difference-list li { font-size: 0.95rem; color: var(--color-text); }
.difference-list i { color: var(--color-orange); margin-right: 8px; }

/* ---------------------------------------------------------
   8. SERVICES SECTION
--------------------------------------------------------- */
.services-section { background: var(--color-white); }
.service-card {
  background: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 38px 30px;
  height: 100%;
  transition: var(--transition-base);
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
}
.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-base);
}
.service-icon i { font-size: 1.5rem; color: var(--color-orange); }
.service-card:hover .service-icon { background: var(--color-orange); }
.service-card:hover .service-icon i { color: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { font-size: 0.94rem; opacity: 0.85; margin: 0; }
.service-card-cta { background: var(--color-teal); color: #fff; }
.service-card-cta h3, .service-card-cta p { color: #fff; }
.service-card-cta .service-icon { background: rgba(255,255,255,0.15); }
.service-card-cta .service-icon i { color: var(--color-pale-yellow); }
.service-card-cta:hover { border-color: var(--color-pale-yellow); }

/* ---------------------------------------------------------
   9. PROCESS SECTION
--------------------------------------------------------- */
.process-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  height: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  position: relative;
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-step {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-orange);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 16px;
}
.process-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-card p { font-size: 0.9rem; opacity: 0.85; margin: 0; }

/* ---------------------------------------------------------
   10. PORTFOLIO SECTION
--------------------------------------------------------- */
.portfolio-section { background: var(--color-white); }
.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.portfolio-card img { width: 100%; height: 260px; object-fit: cover; transition: transform 0.6s ease; }
.portfolio-card:hover img { transform: scale(1.1); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(56,76,78,0.05) 30%, rgba(56,76,78,0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  opacity: 0;
  transition: var(--transition-base);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---------------------------------------------------------
   11. TESTIMONIAL SECTION
--------------------------------------------------------- */
.testimonial-section {
  background: linear-gradient(135deg, var(--color-teal-dark), var(--color-teal));
}
.testimonial-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.quote-icon { font-size: 1.8rem; color: var(--color-pale-yellow); margin-bottom: 18px; }
.testimonial-card p {
  color: #F1F3F0;
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
}
.testimonial-author { color: var(--color-pale-yellow); font-size: 0.92rem; }
.testimonial-author strong { color: #fff; }
.stars { display: block; color: var(--color-orange); margin-bottom: 8px; font-size: 0.85rem; }

.carousel-control-prev, .carousel-control-next { width: 6%; opacity: 1; }
.carousel-nav-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-base);
}
.carousel-control-prev:hover .carousel-nav-icon,
.carousel-control-next:hover .carousel-nav-icon { background: var(--color-orange); }

.carousel-indicators-custom {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.carousel-indicators-custom button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.3);
  padding: 0;
  transition: var(--transition-base);
}
.carousel-indicators-custom button.active { background: var(--color-orange); width: 26px; border-radius: 6px; }

/* ---------------------------------------------------------
   12. AREAS WE COVERED
--------------------------------------------------------- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.area-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1.5px solid var(--color-pale-yellow);
  color: var(--color-teal-dark);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 50px;
  transition: var(--transition-base);
}
.area-badge i { color: var(--color-orange); }
.area-badge:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
  transform: translateY(-4px);
}
.area-badge:hover i { color: #fff; }

/* ---------------------------------------------------------
   13. CTA SECTION
--------------------------------------------------------- */
.cta-box {
  background: var(--color-teal);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.cta-text { flex: 1 1 380px; }
.cta-text h2 { color: #fff; margin-bottom: 12px; }
.cta-text p { color: #DCE4E3; max-width: 480px; margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.cta-contact { display: flex; flex-direction: column; gap: 6px; }
.cta-contact a {
  color: var(--color-pale-yellow);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-contact a:hover { color: #fff; }

/* ---------------------------------------------------------
   14. FOOTER
--------------------------------------------------------- */
.site-footer { background: var(--color-teal-dark); color: #C6D2D0; padding: 76px 0 24px; }
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 18px;
}
.footer-brand em { font-style: normal; font-weight: 400; display: block; font-size: 0.72em; color: var(--color-pale-yellow); }
.footer-about { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; max-width: 320px; }
.footer-heading { color: #fff; font-size: 1rem; font-weight: 600; margin-bottom: 22px; }
.footer-links, .footer-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a { color: #C6D2D0; font-size: 0.92rem; transition: var(--transition-base); }
.footer-links a:hover { color: var(--color-orange); padding-left: 4px; }
.footer-contact-list li { font-size: 0.92rem; display: flex; align-items: center; gap: 10px; }
.footer-contact-list i { color: var(--color-orange); width: 16px; }
.footer-contact-list a { color: #C6D2D0; }
.footer-contact-list a:hover { color: var(--color-orange); }

.footer .social-icons, .footer-brand + p + .social-icons { display: flex; gap: 12px; }
.social-icons { display: flex; gap: 12px; }
.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  color: #fff;
  transition: var(--transition-base);
}
.social-icons a:hover { background: var(--color-orange); transform: translateY(-4px); }

.footer-divider { border-color: rgba(255,255,255,0.1); margin: 46px 0 22px; }
.footer-bottom { text-align: center; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* ---------------------------------------------------------
   15. BACK TO TOP
--------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--color-orange);
  color: #fff;
  font-size: 1.05rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: var(--transition-base);
  z-index: 999;
  cursor: pointer;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-6px); background: var(--color-orange-dark); }

/* ---------------------------------------------------------
   16. RESPONSIVE ADJUSTMENTS
--------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .welcome-section, .about-section, .services-section, .process-section,
  .portfolio-section, .testimonial-section, .areas-section, .cta-section { padding: 72px 0; }
  .about-badge { left: 10px; }
}

@media (max-width: 767.98px) {
  .hero-section { min-height: 82vh; }
  .welcome-box { padding: 34px 26px; }
  .difference-list { grid-template-columns: 1fr; }
  .cta-box { padding: 36px 26px; flex-direction: column; align-items: flex-start; }
  .testimonial-card { padding: 34px 26px; }
  .carousel-control-prev, .carousel-control-next { display: none; }
}

@media (max-width: 575.98px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; text-align: center; }
  .header-inner { padding: 14px 0; }
}

/* =========================================================
   17. INNER PAGE HERO (page banner used on About/Services/etc.)
   ========================================================= */
.page-hero {
  position: relative;
  min-height: 42vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 70px 0 56px;
}
.page-hero-container { position: relative; z-index: 1; max-width: 720px; }
.breadcrumb-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--color-pale-yellow);
}
.breadcrumb-trail a { color: var(--color-pale-yellow); opacity: 0.85; }
.breadcrumb-trail a:hover { opacity: 1; color: #fff; }
.breadcrumb-trail i { font-size: 0.7rem; opacity: 0.7; }
.breadcrumb-trail .current { color: #fff; opacity: 1; }
.page-hero-title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
}
.page-hero-sub {
  font-size: 1.05rem;
  color: var(--color-pale-yellow);
  max-width: 560px;
  margin: 0;
}

/* =========================================================
   18. VALUE / TEAM / FEATURE CARDS (About page)
   ========================================================= */
.value-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.value-card i {
  font-size: 1.6rem;
  color: #fff;
  background: var(--color-orange);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; opacity: 0.85; margin: 0; }

.founder-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}
.founder-photo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.founder-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.founder-card .founder-role { color: var(--color-orange); font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; display: block; }
.founder-card p { margin: 0; font-size: 0.95rem; opacity: 0.9; }

/* =========================================================
   19. PORTFOLIO FILTER (Portfolio page)
   ========================================================= */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 46px;
}
.filter-btn {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 50px;
  border: 1.5px solid #E4DBC2;
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition-base);
}
.filter-btn:hover { border-color: var(--color-orange); color: var(--color-orange); }
.filter-btn.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 143, 28, 0.28);
}
.portfolio-item { transition: opacity 0.4s ease, transform 0.4s ease; }
.portfolio-item.hide { display: none; }

/* =========================================================
   20. GALLERY + LIGHTBOX (Gallery page)
   ========================================================= */
.gallery-btn {
  border: none;
  padding: 0;
  background: none;
  width: 100%;
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-base);
}
.gallery-btn:hover { box-shadow: var(--shadow-md); }
.gallery-btn img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.6s ease; }
.gallery-btn:hover img { transform: scale(1.12); }
.gallery-zoom-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(56, 76, 78, 0.45);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: var(--transition-base);
}
.gallery-btn:hover .gallery-zoom-icon { opacity: 1; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 27, 28, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-content { max-width: 900px; width: 100%; text-align: center; transform: scale(0.92); transition: transform 0.35s ease; }
.lightbox-overlay.active .lightbox-content { transform: scale(1); }
.lightbox-content img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox-content figcaption { color: var(--color-pale-yellow); margin-top: 16px; font-size: 0.95rem; font-family: var(--font-heading); }
.lightbox-close {
  position: absolute;
  top: 26px;
  right: 30px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-base);
}
.lightbox-close:hover { background: var(--color-orange); transform: rotate(90deg); }

/* =========================================================
   21. CONTACT PAGE — FORM + INFO CARD
   ========================================================= */
.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}
.form-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.86rem;
  color: var(--color-teal-dark);
  margin-bottom: 6px;
}
.form-control {
  border: 1.5px solid #E4DBC2;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  background: var(--color-cream);
  transition: var(--transition-base);
}
.form-control:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(255, 143, 28, 0.14);
  background: #fff;
}
.form-control::placeholder { color: #9AA6A2; }

.contact-info-card {
  background: var(--color-teal);
  border-radius: var(--radius-lg);
  padding: 42px;
  color: #E6ECEA;
  height: 100%;
}
.contact-info-item { display: flex; gap: 18px; margin-bottom: 26px; }
.contact-info-item i {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 143, 28, 0.2);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-info-item h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { color: #C6D2D0; font-size: 0.9rem; margin: 0; }
.contact-info-item a:hover { color: var(--color-orange); }
.contact-info-card .social-icons { margin-top: 8px; }

.map-placeholder {
  height: 220px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #EFE9D8, var(--color-cream));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--color-text);
  opacity: 0.8;
  border: 2px dashed #D8CDA9;
}
.map-placeholder i { font-size: 2rem; color: var(--color-orange); }

/* =========================================================
   22. FAQ ACCORDION (Services page)
   ========================================================= */
.faq-accordion .accordion-item {
  background: var(--color-white);
  border: none;
  border-radius: var(--radius-md) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-teal-dark);
  background: var(--color-white);
  padding: 20px 24px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--color-orange);
  color: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button:focus { box-shadow: none; outline: 3px solid var(--color-teal); outline-offset: -3px; }
.faq-accordion .accordion-button::after { filter: none; }
.faq-accordion .accordion-body { padding: 4px 24px 22px; font-size: 0.95rem; opacity: 0.9; }

/* =========================================================
   23. ACTIVE NAV STATE (per-page)
   ========================================================= */
.nav-list a.active,
.mobile-nav-list a.active { color: var(--color-orange); }
.nav-list a.active::after { width: 100%; }
.footer-links a.active { color: var(--color-orange); }

/* Tighten desktop nav further now it carries 8 items */
.desktop-nav { gap: 18px; }
.nav-list { gap: 16px; }
.nav-list a { font-size: 0.88rem; }
@media (min-width: 1200px) and (max-width: 1439.98px) {
  .desktop-nav { gap: 14px; }
  .nav-list { gap: 13px; }
  .nav-list a { font-size: 0.82rem; }
  .brand-text em { font-size: 0.62em; }
}

/* Testimonials page — grid of review cards */
.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px;
  height: 100%;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.review-card .stars { color: var(--color-orange); font-size: 0.85rem; margin-bottom: 14px; }
.review-card p { font-size: 0.96rem; font-style: italic; margin-bottom: 18px; }
.review-card .review-author { font-family: var(--font-heading); font-weight: 600; font-size: 0.92rem; color: var(--color-teal-dark); }
.review-card .review-location { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; color: var(--color-text); opacity: 0.7; }

/* Areas page — coverage list with a highlighted note card */
.coverage-note {
  background: var(--color-teal);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #E6ECEA;
  text-align: center;
}
.coverage-note h3 { color: #fff; margin-bottom: 10px; }
.coverage-note p { margin: 0 0 20px; color: #C6D2D0; }

/* =========================================================
   24. VENDOR THEME NORMALIZATION
   (bundled Bootstrap build carries its own theme colors for
   unstyled components — nudge those back to our brand palette)
   ========================================================= */
.alert-success {
  background-color: #FFF4E5;
  border-color: var(--color-orange);
  color: var(--color-teal-dark);
}
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #D9534F;
}
a { color: var(--color-orange); }
a:hover { color: var(--color-orange-dark); }
