/* ============================================================
   SIMI VALLEY SPEEDY GLASS — main.css v2.0
   Design system: clean, modern, premium auto glass brand.
   Colours:
     Primary   #008374  (teal green)
     Secondary #f85a40  (coral / CTA)
     Dark      #003830
     Light bg  #f8fffe
   Fonts: Montserrat (headings) · Open Sans (body)
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --font-default: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-primary: "Plus Jakarta Sans", sans-serif;

  --color-primary: #008374;
  --color-primary-d: #006b60;
  /* darker shade */
  --color-primary-l: #e5f7f4;
  /* light tint */
  --color-secondary: #f85a40;
  --color-dark: #003830;
  --color-default: #222222;
  --color-muted: #666666;
  --color-border: #dce8e5;
  --color-bg-light: #f8fffe;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 50px;

  --shadow-sm: 0 2px 12px rgba(0, 131, 116, .07);
  --shadow-md: 0 6px 24px rgba(0, 131, 116, .12);
  --shadow-lg: 0 12px 48px rgba(0, 131, 116, .16);

  scroll-behavior: smooth;
}

/* ── Reset / Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-default);
  font-size: 1rem;
  color: var(--color-default);
  background: #fff;
  margin: 0;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  color: var(--color-dark);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--color-primary-d);
}

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

p {
  margin-bottom: 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

section {
  padding: 70px 0;
  overflow: clip;
  scroll-margin-top: 80px;
}

/* ── Preloader ─────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #fff;
  transition: all .5s ease-out;
}

#preloader::before {
  content: "";
  position: fixed;
  top: calc(50% - 28px);
  left: calc(50% - 28px);
  width: 56px;
  height: 56px;
  border: 5px solid var(--color-primary-l);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Scroll-to-top ─────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  right: 18px;
  bottom: -20px;
  width: 42px;
  height: 42px;
  background: var(--color-secondary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all .35s;
}

.scroll-top.active {
  bottom: 18px;
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: #e04830;
  color: #fff;
}

/* ── Section header helper ─────────────────────────────────── */
.section-header {
  text-align: center;
  padding-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 16px;
  padding-bottom: 18px;
  position: relative;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

.section-header p {
  color: var(--color-muted);
  max-width: 620px;
  margin: 0 auto;
}

/* ── Sections bg ───────────────────────────────────────────── */
.sections-bg {
  background: var(--color-bg-light);
}

/* ============================================================
   TOP BAR
   ============================================================ */
#topbar,
.topbar {
  background: var(--color-primary);
  height: 40px;
  font-size: 0.92rem;
  color: #fff;
  padding: 0;
  z-index: 9997;
}

.topbar .contact-info {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 600;
}

.topbar .contact-info a {
  color: #fff;
  font-weight: 700;
  transition: opacity .2s;
}

.topbar .contact-info a:hover {
  opacity: .8;
  color: #fff;
}

.topbar .contact-info i {
  color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  background: #fff;
  border-bottom: 1px solid #e8f5f2;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .07);
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 9996;
  transition: box-shadow .3s;
}

.header.sticked {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .12);
}

.header .logo img {
  max-height: 60px;
  width: auto;
}

.sticked-header-offset {
  margin-top: 80px;
}

/* ============================================================
   DESKTOP NAVIGATION  (≥1280px)
   ============================================================ */
@media (min-width: 1280px) {

  .navbar {
    padding: 0;
  }

  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
  }

  .navbar li {
    position: relative;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 14px;
    font-family: var(--font-default);
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.1px;
    color: var(--color-default);
    white-space: nowrap;
    transition: color .25s;
    position: relative;
  }

  /* underline hover */
  .navbar>ul>li>a::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 14px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: width .25s;
  }

  .navbar>ul>li>a:hover,
  .navbar>ul>li>a.active {
    color: var(--color-primary);
  }

  .navbar>ul>li>a:hover::after,
  .navbar>ul>li>a.active::after {
    width: calc(100% - 28px);
  }

  /* Dropdown panel */
  .navbar .dropdown ul {
    display: block;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: #fff;
    border-top: 3px solid var(--color-primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    min-width: 220px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s, top .2s;
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    visibility: visible;
    top: 100%;
  }

  .navbar .dropdown ul li {
    min-width: 220px;
  }

  .navbar .dropdown ul a,
  .navbar .dropdown ul a:focus {
    display: block;
    padding: 9px 20px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--color-default);
    white-space: normal;
    transition: background .2s, color .2s;
  }

  .navbar .dropdown ul a::after {
    display: none;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul li:hover>a {
    background: var(--color-primary-l);
    color: var(--color-primary);
  }

  /* CTA "Contact Us" pill */
  .navbar .nav-cta>a,
  .navbar .nav-cta>a:focus {
    background: var(--color-primary);
    color: #fff !important;
    border-radius: var(--radius-xl);
    padding: 9px 22px !important;
    margin-left: 6px;
    transition: background .25s;
  }

  .navbar .nav-cta>a:hover {
    background: var(--color-primary-d) !important;
    color: #fff !important;
  }

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

  /* chevron rotate on hover */
  .navbar .dropdown>a .bi {
    transition: transform .25s;
  }

  .navbar .dropdown:hover>a .bi {
    transform: rotate(180deg);
  }

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none !important;
  }
}

/* ============================================================
   MOBILE NAVIGATION  (<1280px)
   ============================================================ */
@media (max-width: 1279px) {

  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    bottom: 0;
    background: var(--color-dark);
    z-index: 9997;
    transition: right .3s ease;
    overflow-y: auto;
    padding: 60px 0 20px;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  /* dim overlay */
  .mobile-nav-active::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 9996;
  }

  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .8);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    transition: color .2s, background .2s;
  }

  .navbar a:hover,
  .navbar .active {
    color: #fff;
    background: rgba(255, 255, 255, .06);
  }

  /* Dropdown inside mobile */
  .navbar .dropdown ul {
    display: none;
    background: rgba(255, 255, 255, .05);
    padding: 4px 0;
  }

  .navbar .dropdown.dropdown-active>ul {
    display: flex;
    flex-direction: column;
  }

  .navbar .dropdown ul a {
    padding: 10px 36px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, .7);
    border-bottom: none;
  }

  .navbar .dropdown ul a:hover {
    color: #fff;
  }

  /* CTA pill in mobile */
  .navbar .nav-cta>a {
    background: var(--color-secondary);
    color: #fff !important;
    border-radius: var(--radius-xl);
    margin: 16px 24px;
    padding: 12px 24px !important;
    justify-content: center;
    border: none;
  }

  .mobile-nav-show {
    color: var(--color-primary);
    font-size: 1.7rem;
    cursor: pointer;
    line-height: 0;
    transition: color .25s;
    z-index: 9999;
  }

  .mobile-nav-hide {
    color: rgba(255, 255, 255, .8);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 0;
    position: fixed;
    right: 20px;
    top: 18px;
    z-index: 9999;
  }
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs .page-header {
  padding: 50px 0;
  background: var(--color-primary);
  position: relative;
}

.breadcrumbs .page-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
}

.breadcrumbs .page-header p {
  color: rgba(255, 255, 255, .8);
}

.breadcrumbs nav {
  background: #f6f6f6;
  padding: 14px 0;
}

.breadcrumbs nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-default);
  gap: 4px;
}

.breadcrumbs nav ol a {
  color: var(--color-primary);
}

.breadcrumbs nav ol li+li::before {
  content: "/";
  color: var(--color-secondary);
  padding-right: 6px;
}

/* ============================================================
   BUTTONS (global utility classes)
   ============================================================ */
.btn-primary-svsg,
.btn-secondary-svsg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-xl);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 30px;
  text-decoration: none;
  transition: background .25s, transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
}

.btn-primary-svsg {
  background: var(--color-primary);
  color: #fff;
}

.btn-primary-svsg:hover {
  background: var(--color-primary-d);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary-svsg {
  background: var(--color-secondary);
  color: #fff;
}

.btn-secondary-svsg:hover {
  background: #e04830;
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-svsg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-xl);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 28px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  text-decoration: none;
  transition: all .25s;
}

.btn-outline-svsg:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ============================================================
   CONTACT / FORM
   ============================================================ */
.contact .info-container {
  background: var(--color-primary);
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  padding: 28px;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.contact .info-item {
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

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

.contact .info-item i {
  font-size: 1.2rem;
  color: #fff;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .25s;
}

.contact .info-item:hover i {
  background: #fff;
  color: var(--color-primary);
}

.contact .info-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.contact .info-item p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

.contact .php-email-form {
  background: #fff;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.contact .php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
}

.contact .php-email-form .sent-message {
  display: none;
  background: #059652;
  color: #fff;
  padding: 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  text-align: center;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 14px;
}

.contact .php-email-form input,
.contact .php-email-form textarea,
.contact .php-email-form select {
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: var(--font-default);
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
  background: #fff;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 131, 116, .1);
  outline: none;
}

.contact .php-email-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact .php-email-form button[type=submit] {
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-xl);
  padding: 13px 32px;
  font-family: var(--font-primary);
  font-size: 0.97rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, transform .2s;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--color-primary-d);
  transform: translateY(-1px);
}

/* error/success message text */
p.error {
  font-size: 0.88rem !important;
  color: #e30e0e;
  font-weight: 500;
}

p.success {
  font-size: 0.88rem !important;
  color: #3cc33c;
  font-weight: 500;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--color-primary-l);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: box-shadow .25s, transform .2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-l);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background .25s;
}

.service-card:hover .icon {
  background: var(--color-primary);
}

.service-card .icon i {
  font-size: 1.6rem;
  color: var(--color-primary);
  transition: color .25s;
}

.service-card:hover .icon i {
  color: #fff;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.65;
  margin: 0;
}

.service-card .readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary);
}

.service-card .readmore:hover {
  color: var(--color-primary-d);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials .testimonial-item {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-primary-l);
  position: relative;
  height: 100%;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 12px;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin-right: 2px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  color: #444;
  line-height: 1.7;
  margin-bottom: 16px;
}

.testimonials .testimonial-item h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.testimonials .testimonial-item .role {
  font-size: 0.82rem;
  color: var(--color-muted);
}

.testimonials .testimonial-item .quote-icon {
  color: var(--color-primary-l);
  font-size: 3rem;
  line-height: 1;
  position: absolute;
  top: 18px;
  right: 20px;
}

/* swiper bullets */
.testimonials .swiper-pagination {
  margin-top: 24px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ddd;
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* ============================================================
   FAQ / ACCORDION
   ============================================================ */
.faq .accordion-item {
  border: 1px solid var(--color-primary-l);
  border-radius: var(--radius-sm) !important;
  margin-bottom: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq .accordion-item:last-child {
  margin-bottom: 0;
}

.faq .accordion-button {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--color-dark);
  background: #fff;
  border: none;
  padding: 18px 22px;
  box-shadow: none;
  border-radius: var(--radius-sm) !important;
}

.faq .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background: var(--color-primary-l);
  box-shadow: none;
}

.faq .accordion-button::after {
  filter: hue-rotate(140deg);
}

.faq .accordion-body {
  padding: 16px 22px 22px;
  background: #fff;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.7;
  border: none;
}

/* ============================================================
   LOCATION / SERVICE AREAS SECTION
   ============================================================ */
.location-section {
  background: var(--color-primary);
  padding: 60px 0;
}

.location-section h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 36px;
}

.location-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.location-section ul li {
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-xl);
  padding: 8px 20px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background .2s;
}

.location-section ul li:hover {
  background: rgba(255, 255, 255, .25);
}

.location-section ul li a {
  color: #fff !important;
  text-decoration: none;
}

/* ============================================================
   CALL TO ACTION BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-d) 100%);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-banner p {
  color: rgba(255, 255, 255, .85);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about h3 {
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 10px 28px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 1.1rem;
  color: var(--color-primary);
}

/* ============================================================
   STATS COUNTER
   ============================================================ */
.stats-counter .stats-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-primary-l);
  display: flex;
  align-items: center;
  gap: 14px;
}

.stats-counter .stats-item i {
  font-size: 2.4rem;
  color: var(--color-primary);
  line-height: 0;
}

.stats-counter .stats-item span {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  font-family: var(--font-primary);
  line-height: 1;
  display: block;
}

.stats-counter .stats-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-muted);
  font-family: var(--font-primary);
}

/* ============================================================
   BLOG
   ============================================================ */
.blog .posts-list article,
.recent-posts article {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--color-primary-l);
  transition: box-shadow .25s, transform .2s;
}

.blog .posts-list article:hover,
.recent-posts article:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog .posts-list .post-img,
.recent-posts .post-img {
  max-height: 220px;
  overflow: hidden;
  margin: -28px -28px 18px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.blog .posts-list .post-img img,
.recent-posts .post-img img {
  width: 100%;
  object-fit: cover;
}

.blog .posts-list .title a,
.recent-posts .title a {
  color: var(--color-dark);
  font-weight: 700;
  font-size: 1.05rem;
  transition: color .2s;
}

.blog .posts-list .title a:hover,
.recent-posts .title a:hover {
  color: var(--color-primary);
}

.blog .posts-list .post-date,
.recent-posts .post-date {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* Blog pagination */
.blog .blog-pagination ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.blog .blog-pagination li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--color-default);
  border: 1px solid var(--color-border);
  transition: all .2s;
  font-size: 0.9rem;
  font-weight: 600;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

/* Blog sidebar */
.blog .sidebar {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  border: 1px solid var(--color-primary-l);
}

.blog .sidebar .sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.blog .sidebar .sidebar-item+.sidebar-item {
  margin-top: 32px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #001f18;
  color: rgba(255, 255, 255, .72);
  font-family: var(--font-default);
  font-size: 0.9rem;
}

/* teal top accent line */
.footer-top-bar {
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), #4ecca3, var(--color-primary));
}

/* main content area */
.footer-body {
  padding: 60px 0 48px;
  position: relative;
  overflow: hidden;
}

.footer-body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* brand column */
.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  opacity: .9;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 320px;
}

/* contact list */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, .65);
  line-height: 1.55;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, .65);
  text-decoration: none;
  transition: color .2s;
}

.footer-contact-list a:hover {
  color: #4ecca3;
}

.fc-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: rgba(0, 131, 116, .22);
  border: 1px solid rgba(0, 200, 160, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.fc-icon .bi {
  font-size: 0.78rem;
  color: #4ecca3;
}

/* link columns */
.footer-links h4 {
  font-family: var(--font-primary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 10px;
  position: relative;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-links ul li {
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.footer-links ul li:last-child {
  border-bottom: none;
}

.footer-links ul a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .58);
  font-size: 0.87rem;
  padding: 7px 0;
  text-decoration: none;
  transition: color .2s, gap .2s;
}

.footer-links ul a::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: .5;
  flex-shrink: 0;
  transition: opacity .2s;
}

.footer-links ul a:hover {
  color: #fff;
  gap: 11px;
}

.footer-links ul a:hover::before {
  opacity: 1;
}

/* map strip */
.footer-map-strip {
  line-height: 0;
}

.footer-map-strip iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: none;
  filter: grayscale(20%) brightness(.9);
}

/* copyright bar */
.footer-copyright {
  background: #00110d;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.footer-copyright-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, .38);
  font-size: 0.82rem;
  text-align: center;
}

.footer-copyright-inner a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .2s;
}

.footer-copyright-inner a:hover {
  color: #4ecca3;
}

.footer-copyright-sep {
  opacity: .3;
}

/* ============================================================
   UTILITY / HELPERS
   ============================================================ */
.text-color {
  color: var(--color-secondary) !important;
}

.text-primary {
  color: var(--color-primary) !important;
}

.bg-primary-svsg {
  background: var(--color-primary) !important;
}

.bg-light-svsg {
  background: var(--color-bg-light) !important;
}

.link {
  color: var(--color-secondary) !important;
  font-weight: 600;
  transition: color .2s;
}

.link:hover {
  color: #e04830 !important;
}

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 767px) {
  section {
    padding: 48px 0;
  }

  .section-header {
    padding-bottom: 32px;
  }

  .location-section ul li {
    width: calc(50% - 7px);
    text-align: center;
  }

  .contact .info-container {
    border-radius: var(--radius-md);
  }

  .contact .php-email-form {
    border-radius: var(--radius-md);
  }

  .footer {
    padding: 40px 0 0;
  }
}

@media (max-width: 575px) {
  .location-section ul li {
    width: 100%;
  }

  a {
    font-size: 0.92rem;
  }
}

/* ── Footer: remove separator lines under Service Areas & Useful Links ── */
.footer-links ul li {
  border-bottom: none;
}

/* ── Navbar: scrollable Service Areas dropdown ── */
@media (min-width: 1280px) {
  .navbar .dropdown ul.dropdown-service-areas {
    max-height: 360px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(255, 255, 255, .1);
  }

  .navbar .dropdown ul.dropdown-service-areas::-webkit-scrollbar {
    width: 4px;
  }

  .navbar .dropdown ul.dropdown-service-areas::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, .06);
  }

  .navbar .dropdown ul.dropdown-service-areas::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
  }
}

/* ── Navbar: wider blog dropdown ── */
.navbar .dropdown ul.dropdown-blogs {
  min-width: 280px;
}

.navbar .dropdown ul.dropdown-blogs li {
  min-width: 280px;
}

/* ── Disable AOS delays on mobile ── */
@media (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}