/* ==========================================================================
   PIPEGUARD PLUMBING - MASTER STYLESHEET
   Inspired by Fix Now UK (https://fix-now.uk/)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables & Design System Tokens --- */
:root {
  /* Brand Colors */
  --primary-navy: #0F1E36;
  --primary-blue: #1E306E;
  --primary-teal: #0284C7;
  --primary-teal-hover: #0369A1;
  --primary-teal-light: #E0F2FE;
  --accent-amber: #F59E0B;
  --accent-amber-hover: #D97706;
  --accent-amber-light: #FEF3C7;

  /* Text & Surfaces */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #94A3B8;
  --bg-main: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-focus: #0284C7;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -10px rgba(15, 23, 42, 0.15);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing & Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --header-height: 80px;
  --topbar-height: 40px;
}

/* --- Base & Reset Rules --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-navy);
}

a {
  color: var(--primary-teal);
  text-decoration: none;
  transition: all 0.25s ease;
}

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

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

ul {
  list-style: none;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.section-bg-subtle {
  background-color: var(--bg-subtle);
}

.section-bg-dark {
  background-color: var(--primary-navy);
  color: #FFFFFF;
}

.section-bg-dark h1,
.section-bg-dark h2,
.section-bg-dark h3,
.section-bg-dark h4 {
  color: #FFFFFF;
}

/* --- Section Header Utility --- */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal-hover);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.badge-pill-amber {
  background-color: var(--accent-amber-light);
  color: var(--accent-amber-hover);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.section-bg-dark .section-subtitle {
  color: #94A3B8;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-teal-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(15, 30, 54, 0.25);
}

.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-amber {
  background-color: var(--accent-amber);
  color: var(--primary-navy);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
  background-color: var(--accent-amber-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-teal);
  color: var(--primary-teal);
  background-color: var(--primary-teal-light);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.125rem;
}

/* --- Top Notification Bar --- */
.top-bar {
  background-color: var(--primary-navy);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-info-item i {
  color: var(--primary-teal);
}

.top-bar-call {
  color: var(--accent-amber);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-call i {
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* --- Header & Sticky Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
  height: var(--header-height);
  display: flex;
  align-items: center;
  width: 100%;
}

.header.scrolled {
  position: sticky;
  top: 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-img {
  height: 100px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.header.scrolled .logo-img {
  height: 100px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-teal);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-teal);
  transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 250px;
  background-color: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1010;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.25rem;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-item i {
  color: var(--primary-teal);
  font-size: 1rem;
  width: 20px;
}

.dropdown-item:hover {
  background-color: var(--bg-subtle);
  color: var(--primary-teal);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Mobile Navigation Drawer --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: #FFFFFF;
  z-index: 2000;
  box-shadow: var(--shadow-xl);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.mobile-nav-item-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.mobile-nav-item-inner i {
  color: var(--primary-teal);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  border-bottom-color: transparent;
}

.mobile-nav-link:hover .mobile-nav-item-inner i,
.mobile-nav-link.active .mobile-nav-item-inner i {
  color: var(--primary-teal-hover);
}

/* Mobile Accordion Submenu */
.mobile-nav-dropdown {
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-dropdown .mobile-nav-link {
  border-bottom: none;
}

.mobile-dropdown-arrow {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

.mobile-nav-dropdown.open .mobile-dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary-teal);
}

.mobile-dropdown-content {
  display: none;
  flex-direction: column;
  padding: 0.35rem 0 0.5rem 1.25rem;
  background-color: var(--bg-subtle);
  border-radius: 8px;
  margin: 0.25rem 0 0.5rem 0;
}

.mobile-nav-dropdown.open .mobile-dropdown-content {
  display: flex;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: 6px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.mobile-sub-link i {
  color: var(--primary-teal);
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
}

.mobile-sub-link:hover {
  color: var(--primary-teal);
  background-color: rgba(2, 132, 199, 0.1);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* --- Mobile Floating Quick Call Bar --- */
.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--primary-navy);
  border-top: 2px solid var(--accent-amber);
  padding: 1rem 1rem;
  z-index: 990;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-call-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-call-btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.9rem;
}

/* --- NEW HERO BANNER LIKE REFERENCE IMAGE --- */
.banner-hero {
  position: relative;
  background-color: #061626;
  overflow: hidden;
  width: 100%;
}

.banner-hero-container {
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: 520px;
}

@media (min-width: 992px) {
  .banner-hero-container {
    flex-direction: row;
    min-height: 580px;
  }
}

/* LEFT ANGLED PANEL */
.banner-left-panel {
  position: relative;
  z-index: 5;
  background: linear-gradient(140deg, #061626 0%, #0c2338 65%, #081a2c 100%);
  padding: 3rem 2rem 3.5rem 2rem;
  color: #FFFFFF;
  flex: 1 1 56%;
}

@media (min-width: 992px) {
  .banner-left-panel {
    padding: 3.5rem 3.5rem 4rem 5rem;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    margin-right: -7.5%;
  }
}

@media (min-width: 1200px) {
  .banner-left-panel {
    padding: 4rem 4.5rem 4.5rem 6.5rem;
    margin-right: -9%;
  }
}

/* LOGO BRANDING IN BANNER */
.banner-logo-wrapper {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
}

.banner-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

/* HEADLINE */
.banner-title {
  font-size: 2.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .banner-title {
    font-size: 3.2rem;
  }
}

@media (min-width: 1200px) {
  .banner-title {
    font-size: 3.6rem;
  }
}

.banner-title .white-text {
  display: block;
  color: #FFFFFF;
}

.banner-title .cyan-text {
  display: block;
  color: #00A3E0;
}

/* SUBTITLE */
.banner-subtitle {
  font-size: 1.15rem;
  line-height: 1.5;
  color: #E2E8F0;
  margin-bottom: 2rem;
  font-weight: 400;
}

/* CHECKLIST */
.banner-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.banner-checklist li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #E2E8F0;
}

.banner-checklist .check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: #00A3E0;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 163, 224, 0.4);
}

/* TRUST LINE */
.banner-trust-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
  font-size: 0.925rem;
  color: #CBD5E1;
  font-weight: 500;
}

.banner-trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.banner-trust-line i {
  color: #00A3E0;
}

.banner-trust-line .dot {
  color: rgba(255, 255, 255, 0.35);
}

/* CTA BUTTONS */
.banner-cta-wrapper {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.banner-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, #0082C8 0%, #006FB0 100%);
  color: #FFFFFF !important;
  text-decoration: none !important;
  padding: 0.75rem 1.75rem 0.75rem 0.85rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 130, 200, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.banner-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 130, 200, 0.55);
}

.phone-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: #0082C8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.phone-btn-content {
  display: flex;
  flex-direction: column;
}

.phone-btn-label {
  font-size: 0.8rem;
  color: #E0F2FE;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.phone-btn-number {
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.1;
}

.banner-quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 0.95rem 1.6rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.banner-quote-btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #00A3E0;
}

/* RIGHT PHOTO PANEL */
.banner-right-panel {
  position: relative;
  flex: 1 1 44%;
  min-height: 420px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .banner-right-panel {
    min-height: 100%;
  }
}

.banner-plumber-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* FLOATING EMERGENCY BADGE */
.banner-emergency-badge {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  background-color: #061626;
  border: 4px solid #00A3E0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 163, 224, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 6;
  transition: transform 0.3s ease;
}

.banner-emergency-badge:hover {
  transform: scale(1.05);
}

.badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.badge-icon-wrap {
  color: #00A3E0;
  font-size: 1.35rem;
  margin-bottom: 0.1rem;
}

.badge-number {
  font-size: 1.65rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.03em;
}

.badge-text {
  font-size: 0.65rem;
  font-weight: 800;
  color: #00A3E0;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* QUICK QUOTE MODAL OVERLAY */
.quote-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 22, 38, 0.82);
  backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.quote-modal-content {
  position: relative;
  background: #FFFFFF;
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 2.25rem 2rem 2rem 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.quote-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #64748B;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.quote-modal-close:hover {
  color: #0F172A;
}

/* TOAST NOTIFICATION CONTAINER & CARDS OVERLAY */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999999 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 450px;
  background: #0F172A;
  color: #FFFFFF;
  padding: 16px 20px;
  border-radius: 12px;
  border-left: 5px solid #0284C7;
  box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.4), 0 10px 15px -5px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast i {
  font-size: 1.25rem;
  flex-shrink: 0;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 600px) {
  .toast-container {
    bottom: 16px;
    left: 16px;
    right: 16px;
  }

  .toast {
    min-width: unset;
    width: 100%;
  }
}

/* --- TESTIMONIAL BANNER & BACKGROUND IMAGE SLIDER --- */
.testimonial-banner-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 1.25rem 1.25rem 1.5rem 1.25rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.testimonial-banner-header {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #1E293B;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.testimonial-slider-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3.5rem 2rem 3rem 2rem;
  box-shadow: 0 15px 35px rgba(6, 22, 38, 0.35);
}

.testimonial-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.testimonial-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(6, 22, 38, 0.82) 0%, rgba(9, 30, 50, 0.92) 100%);
  z-index: 2;
}

.testimonial-slides-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 820px;
  text-align: center;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.testimonial-slide-quote {
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  font-style: normal;
}

@media (min-width: 768px) {
  .testimonial-slide-quote {
    font-size: 1.6rem;
  }
}

.testimonial-slide-author {
  font-size: 1.15rem;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: -0.01em;
}

/* DOTS NAVIGATION */
.testimonial-dots-nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.testimonial-dot.active {
  width: 14px;
  height: 14px;
  background: #FFFFFF;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0F1E36 0%, #1E306E 100%);
  color: #FFFFFF;
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(2, 132, 199, 0.15) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.hero-content {
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: #38BDF8;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

.hero-title span {
  color: #38BDF8;
  background: linear-gradient(90deg, #38BDF8, #F59E0B);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #CBD5E1;
}

.trust-item i {
  color: #10B981;
  font-size: 1.1rem;
}

/* Hero Quick Quote Card */
.hero-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 2;
}

.hero-card-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.hero-card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.hero-card-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- FEATURE & WHY CHOOSE US GRID --- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

.feature-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-teal);
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--primary-teal);
  color: #FFFFFF;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- SERVICES CARD GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-teal);
}

.service-card-image {
  height: 200px;
  width: 100%;
  object-fit: cover;
  background-color: #E2E8F0;
  position: relative;
}

.service-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(15, 30, 54, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.service-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.service-card-list {
  margin-bottom: 1.5rem;
}

.service-card-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.service-card-list li i {
  color: var(--primary-teal);
  font-size: 0.85rem;
}

.service-card-footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 0.25rem;
}

.btn:hover .btn-arrow-circle {
  transform: translateX(5px);
  background-color: rgba(255, 255, 255, 0.35);
}

/* Service Link & Fix-Now Arrow Circle Styling */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-teal);
  transition: all 0.25s ease;
}

.service-link .arrow-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link:hover {
  color: var(--primary-teal-hover);
}

.service-link:hover .arrow-circle {
  background-color: var(--primary-teal);
  color: #FFFFFF;
  transform: translateX(6px);
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

/* --- 5-STEP CUSTOMER JOURNEY PROCESS TIMELINE --- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  position: relative;
  margin-top: 2rem;
}

.process-step-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-teal);
}

.process-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--primary-teal);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
}

.process-step-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- EMERGENCY CALLOUT CTA BANNER --- */
.emergency-banner {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border: 2px solid var(--accent-amber);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-xl);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .emergency-banner {
    padding: 3rem 2rem;
  }
}

.emergency-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
}

@media (min-width: 768px) {
  .emergency-banner-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background-color: rgba(245, 158, 11, 0.2);
  border: 1px solid var(--accent-amber);
  color: var(--accent-amber);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.emergency-title {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
  line-height: 1.25;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  .emergency-title {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }
}

.emergency-desc {
  color: #CBD5E1;
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (min-width: 768px) {
  .emergency-desc {
    font-size: 1.05rem;
  }
}

.emergency-action-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0.75rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
  max-width: 100%;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  .emergency-action-box {
    padding: 2rem;
  }
}

.emergency-action-box .btn {
  white-space: normal;
  text-align: center;
  padding: 0.7rem 0.75rem;
  font-size: 0.875rem;
  width: 100%;
  box-sizing: border-box;
}

.emergency-phone {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent-amber);
  display: block;
  margin: 0.5rem 0 0.75rem 0;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .emergency-phone {
    font-size: 1.85rem;
    margin: 1rem 0;
  }
}

.emergency-phone:hover {
  color: #FBBF24;
}

/* --- INTERACTIVE QUOTE ESTIMATOR WIDGET --- */
.estimator-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .estimator-card {
    padding: 2.5rem;
  }
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .estimator-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
  }
}

.estimator-options {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-label-bold {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
  display: block;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.pill-radio {
  display: none;
}

.pill-label {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: var(--bg-subtle);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill-radio:checked+.pill-label {
  background-color: var(--primary-teal);
  color: #FFFFFF;
  border-color: var(--primary-teal);
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.estimator-result-box {
  background: linear-gradient(135deg, #0F1E36 0%, #1E306E 100%);
  border-radius: var(--radius-md);
  padding: 1.25rem 0.85rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .estimator-result-box {
    padding: 2rem;
  }
}

.estimator-result-box .btn {
  white-space: normal;
  text-align: center;
  padding: 0.7rem 0.75rem;
  font-size: 0.875rem;
  line-height: 1.35;
  width: 100%;
  box-sizing: border-box;
}

.estimate-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-amber);
  margin: 0.5rem 0;
}

@media (min-width: 768px) {
  .estimate-price {
    font-size: 2.75rem;
    margin: 0.75rem 0;
  }
}

.estimate-note {
  font-size: 0.8rem;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
}

/* --- TESTIMONIAL CARDS --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.star-rating {
  color: #F59E0B;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

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

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-teal-light);
  color: var(--primary-teal-hover);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.author-meta {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* --- FAQ ACCORDIONS --- */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--primary-teal);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-subtle);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background-color: var(--primary-teal);
  color: #FFFFFF;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- FORMS & INPUT CONTROLS --- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

/* --- JQUERY FORM VALIDATION STYLES --- */
.form-error-msg {
  color: #EF4444;
  font-size: 0.825rem;
  margin-top: 0.35rem;
  display: block;
  font-weight: 500;
}

.form-control.is-invalid {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.form-control.is-valid {
  border-color: #10B981 !important;
}

/* File Dropzone */
.file-dropzone {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem 1rem;
  text-align: center;
  background-color: var(--bg-subtle);
  cursor: pointer;
  transition: all 0.25s ease;
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--primary-teal);
  background-color: var(--primary-teal-light);
}

.dropzone-icon {
  font-size: 2rem;
  color: var(--primary-teal);
  margin-bottom: 0.5rem;
}

.dropzone-text {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.dropzone-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.preview-thumb {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--primary-teal);
  flex-shrink: 0;
}

.form-checkbox+.form-error-msg {
  margin-top: 0.4rem;
  display: block;
}

/* --- TOAST NOTIFICATIONS --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  border-left: 4px solid var(--primary-teal);
  animation: slide-in-right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slide-in-right {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* --- PORTFOLIO & BLOG FILTER TABS --- */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

/* --- FOOTER --- */
.footer {
  background-color: var(--primary-navy);
  color: #CBD5E1;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: #94A3B8;
  line-height: 1.6;
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #CBD5E1;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-teal);
  padding-left: 4px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  color: #CBD5E1;
}

.footer-contact-list i {
  color: var(--primary-teal);
  font-size: 1rem;
  margin-top: 0.2rem;
}

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

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
}

.footer-legal-links a {
  color: #94A3B8;
  font-size: 0.85rem;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 991px) {

  .nav-menu,
  .nav-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .top-bar-info {
    display: none;
  }

  .top-bar-content {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .mobile-call-bar {
    display: block;
  }

  body {
    padding-bottom: 40px;
    /* Sufficient space above fixed mobile call bar */
  }

  .footer {
    padding-bottom: 3.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
    padding-top: 1.5rem;
  }

  .footer-legal-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem 1.5rem;
  }

  .hero {
    padding: 3rem 0 4rem 0;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer {
    padding-top: 1.5rem;
  }

  .footer-grid {
    margin-bottom: 1.5rem;
  }

  .btn {
    white-space: normal;
    max-width: 100%;
    box-sizing: border-box;
  }

  .btn-lg {
    padding: 1.1rem 1.25rem;
    font-size: 18px;
  }
}

.service-emergency-card {
  background: var(--bg-card);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--accent-amber);
  box-shadow: var(--shadow-lg);
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .service-emergency-card {
    padding: 2.5rem;
  }
}

/* ==========================================================================
   CUSTOM INTERACTIVE CURSOR FOLLOWER (FIX-NOW STYLE)
   ========================================================================== */
.cursor-dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-navy);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, background-color 0.25s ease, transform 0.15s ease;
  opacity: 0;
}

.cursor-circle {
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(15, 30, 54, 0.35);
  background-color: rgba(2, 132, 199, 0.05);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  box-shadow: 0 0 12px rgba(2, 132, 199, 0.12);
}

/* Hover Interactive State on Links, Buttons, Cards */
body.cursor-hover .cursor-dot {
  background-color: var(--primary-teal);
  transform: translate(-50%, -50%) scale(1.4);
}

body.cursor-hover .cursor-circle {
  width: 54px;
  height: 54px;
  border-color: var(--primary-teal);
  background-color: rgba(2, 132, 199, 0.12);
  box-shadow: 0 0 18px rgba(2, 132, 199, 0.25);
}

/* Mouse Down Active Click State */
body.cursor-active .cursor-circle {
  transform: translate(-50%, -50%) scale(0.85);
  background-color: rgba(245, 158, 11, 0.2);
  border-color: var(--accent-amber);
}

/* Hide custom cursor on mobile/touch screens */
@media (max-width: 991px),
(pointer: coarse) {

  .cursor-dot,
  .cursor-circle {
    display: none !important;
  }
}

/* ==========================================================================
   ABOUT US PAGE - PREMIUM DESIGN SYSTEM & COMPONENTS
   ========================================================================== */
.about-hero-section {
  position: relative;
  background: linear-gradient(135deg, #061626 0%, #0B2238 60%, #07192C 100%);
  padding: 5rem 0 5.5rem 0;
  color: #FFFFFF;
  overflow: hidden;
}

.about-hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.about-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 163, 224, 0.15);
  border: 1px solid rgba(0, 163, 224, 0.35);
  color: #00A3E0;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: 3.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.about-hero-title .highlight-cyan {
  color: #00A3E0 !important;
  display: inline-block;
}

.about-hero-subtitle {
  font-size: 1.2rem;
  color: #CBD5E1;
  margin: 0 auto;
  line-height: 1.65;
  max-width: 720px;
}

.about-hero-highlights {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 2.25rem;
}

.about-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #E2E8F0;
  font-weight: 500;
}

.about-hero-chip i {
  color: #00A3E0;
}

/* About Story Section */
.about-story-card-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(6, 22, 38, 0.15);
  border: 4px solid #FFFFFF;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.about-story-card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 55px rgba(6, 22, 38, 0.22);
}

.about-story-img {
  width: 100%;
  height: 100%;
  max-height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.about-story-card-wrapper:hover .about-story-img {
  transform: scale(1.03);
}

.about-story-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 22, 38, 0.92) 100%);
  padding: 3rem 1.75rem 1.5rem 1.75rem;
  color: #FFFFFF;
}

.about-stat-box {
  padding: 1.1rem 1.5rem;
  background: #F8FAFC;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  border-left: 4px solid #00A3E0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: all 0.3s ease;
  flex: 1;
  min-width: 160px;
}

.about-stat-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  border-color: #CBD5E1;
}

.about-stat-box.amber {
  border-left-color: #F59E0B;
}

.about-stat-box.green {
  border-left-color: #10B981;
}

.about-stat-num {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #00A3E0;
  margin: 0 0 0.15rem 0;
  line-height: 1;
}

.about-stat-box.amber .about-stat-num {
  color: #F59E0B;
}

.about-stat-box.green .about-stat-num {
  color: #10B981;
}

.about-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748B;
}

/* About Mission Box */
.about-mission-box {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #061626 0%, #0F2D4A 100%);
  padding: 3rem 2.75rem;
  border-radius: 20px;
  color: #FFFFFF;
  box-shadow: 0 15px 35px rgba(6, 22, 38, 0.18);
  border: 1px solid rgba(0, 163, 224, 0.2);
  position: relative;
  overflow: hidden;
}

.about-mission-box::after {
  content: '"';
  position: absolute;
  right: 2rem;
  bottom: -2rem;
  font-size: 12rem;
  font-family: Georgia, serif;
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  line-height: 1;
}

.about-mission-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00A3E0, #0284C7);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 163, 224, 0.35);
}

/* Values Grid Upgrade */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.about-value-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 2.25rem 2rem;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.about-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #00A3E0, #0284C7);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(6, 22, 38, 0.09);
  border-color: #CBD5E1;
}

.about-value-card:hover::before {
  opacity: 1;
}

.about-value-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(0, 163, 224, 0.1);
  color: #00A3E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.about-value-card:hover .about-value-icon {
  background: #00A3E0;
  color: #FFFFFF;
  transform: scale(1.05);
}

.about-value-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 0.6rem;
}

.about-value-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.65;
  margin: 0;
}

/* Responsive About Page Grids & Form Cards */
.about-split-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-split-row {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem;
  }
}

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

@media (min-width: 640px) {
  .about-why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

/* Quote Form Card & Rows */
.quote-form-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .quote-form-card {
    padding: 2.5rem;
  }
}

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

@media (min-width: 576px) {
  .form-row-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
  }
}

/* Why Choose Us Cards */
.about-why-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #F8FAFC;
  padding: 1.25rem 1.25rem;
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  transition: all 0.3s ease;
}

.about-why-card:hover {
  background: #FFFFFF;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
  transform: translateY(-2px);
}

.about-why-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* Dark Commercial Card */
.about-commercial-card {
  background: linear-gradient(135deg, #061626 0%, #0F2A42 100%);
  padding: 2.75rem 2.25rem;
  border-radius: 20px;
  color: #FFFFFF;
  box-shadow: 0 20px 40px rgba(6, 22, 38, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.about-commercial-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 15px;
  border-radius: 25px;
  font-size: 0.825rem;
  color: #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.25s ease;
}

.about-commercial-pill:hover {
  background: rgba(0, 163, 224, 0.2);
  border-color: rgba(0, 163, 224, 0.4);
}

/* CTA Card */
.about-cta-card {
  background: linear-gradient(135deg, #061626 0%, #0B2540 50%, #061626 100%);
  padding: 2rem 1.25rem;
  border-radius: 20px;
  color: #FFFFFF;
  text-align: center;
  box-shadow: 0 25px 50px rgba(6, 22, 38, 0.25);
  border: 1px solid rgba(0, 163, 224, 0.25);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

@media (min-width: 768px) {
  .about-cta-card {
    padding: 4rem 2.5rem;
    border-radius: 24px;
  }
}

.about-cta-card h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  word-wrap: break-word;
}

@media (min-width: 768px) {
  .about-cta-card h2 {
    font-size: 2.25rem;
  }
}

.about-cta-card .btn {
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  padding: 0.8rem 1.25rem;
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .about-cta-card .btn {
    padding: 1.1rem 2.25rem;
    font-size: 1.125rem;
  }
}

/* ==========================================================================
   TRUST / FEATURE ICONS BAR COMPONENT
   ========================================================================== */
.trust-feature-bar {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 2.25rem 0;
  box-shadow: 0 4px 20px rgba(6, 22, 38, 0.04);
}

.trust-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem 1rem;
  align-items: flex-start;
  text-align: center;
}

@media (min-width: 992px) {
  .trust-feature-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.trust-feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 0.25rem;
  transition: transform 0.3s ease;
}

.trust-feature-item:hover {
  transform: translateY(-3px);
}

.trust-feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(0, 163, 224, 0.08);
  border: 1.5px solid rgba(0, 163, 224, 0.25);
  color: #00A3E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 0.85rem;
  transition: all 0.3s ease;
}

.trust-feature-item:hover .trust-feature-icon-box {
  background: #00A3E0;
  color: #FFFFFF;
  border-color: #00A3E0;
  box-shadow: 0 6px 16px rgba(0, 163, 224, 0.3);
}

.trust-feature-label {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0;
}

/* ==========================================================================
   404 ERROR PAGE STYLES
   ========================================================================== */
.page-404-hero {
  background: linear-gradient(135deg, #061626 0%, #0B2540 60%, #0F1E36 100%);
  padding: 5rem 0 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 163, 224, 0.2);
}

.page-404-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.15) 0%, rgba(6, 22, 38, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.page-404-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-404-badge-wrapper {
  display: inline-block;
  margin-bottom: 1.5rem;
}

.page-404-number {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 12vw, 9.5rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-404-icon-inner {
  width: clamp(70px, 12vw, 120px);
  height: clamp(70px, 12vw, 120px);
  border-radius: 50%;
  background: linear-gradient(135deg, #00A3E0 0%, #0284C7 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55em;
  box-shadow: 0 0 35px rgba(0, 163, 224, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.4);
  transform: rotate(-10deg);
  animation: floatPipe 4s ease-in-out infinite alternate;
}

@keyframes floatPipe {
  0% {
    transform: translateY(0) rotate(-10deg);
  }

  100% {
    transform: translateY(-10px) rotate(5deg);
  }
}

.page-404-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.page-404-subtitle {
  color: #CBD5E1;
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* 404 Search Form */
.page-404-search-box {
  max-width: 600px;
  margin: 0 auto;
}

.page-404-search-form {
  width: 100%;
}

.page-404-input-group {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(0, 163, 224, 0.3);
  transition: all 0.3s ease;
}

.page-404-input-group:focus-within {
  box-shadow: 0 20px 40px rgba(0, 163, 224, 0.3), 0 0 0 3px #00A3E0;
}

.page-404-search-icon {
  color: #94A3B8;
  font-size: 1.15rem;
  margin-right: 0.75rem;
}

.page-404-search-input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: #0F172A;
  padding: 0.5rem 0;
}

.page-404-search-input::placeholder {
  color: #94A3B8;
}

.page-404-search-btn {
  border-radius: 40px !important;
  padding: 0.75rem 1.65rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* 404 Quick Destinations Grid */
.page-404-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.page-404-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 22, 38, 0.03);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

.page-404-card:hover {
  transform: translateY(-6px);
  border-color: #00A3E0;
  box-shadow: 0 15px 30px rgba(0, 163, 224, 0.12);
}

.page-404-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(0, 163, 224, 0.1);
  color: #00A3E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.page-404-card:hover .page-404-card-icon {
  background: #00A3E0;
  color: #FFFFFF;
}

.page-404-card.highlight-card {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFFDF5 100%);
}

.page-404-card.highlight-card:hover {
  border-color: #F59E0B;
  box-shadow: 0 15px 30px rgba(245, 158, 11, 0.15);
}

.page-404-card-icon.highlight-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
}

.page-404-card.highlight-card:hover .page-404-card-icon.highlight-icon {
  background: #F59E0B;
  color: #FFFFFF;
}

.page-404-card-title {
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.page-404-card-desc {
  font-size: 0.95rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.page-404-card-link {
  font-weight: 700;
  font-size: 0.925rem;
  color: #00A3E0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.25s ease;
}

.page-404-card:hover .page-404-card-link {
  gap: 0.75rem;
}

/* 404 Service Tags */
.page-404-tags-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-404-tag-pill {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  font-size: 0.925rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.page-404-tag-pill i {
  color: #00A3E0;
}

.page-404-tag-pill:hover {
  background: #00A3E0;
  color: #FFFFFF;
  border-color: #00A3E0;
  box-shadow: 0 5px 15px rgba(0, 163, 224, 0.25);
  transform: translateY(-2px);
}

.page-404-tag-pill:hover i {
  color: #FFFFFF;
}

/* 404 Callout Banner */
.page-404-banner {
  background: linear-gradient(135deg, #061626 0%, #0B2540 50%, #061626 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 20px 45px rgba(6, 22, 38, 0.2);
  border: 1px solid rgba(0, 163, 224, 0.25);
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .page-404-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.page-404-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 680px;
}

.page-404-banner-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.15);
  border: 1.5px solid rgba(245, 158, 11, 0.3);
  color: #F59E0B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.page-404-banner-text h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.page-404-banner-text p {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.page-404-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.btn-outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF !important;
}

.btn-outline-light:hover {
  background: #FFFFFF;
  color: #061626 !important;
  border-color: #FFFFFF;
}

@media (max-width: 640px) {
  .page-404-hero {
    padding: 3.5rem 0 4rem 0;
  }

  .page-404-input-group {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .page-404-search-input {
    width: 100%;
    text-align: center;
  }

  .page-404-search-btn {
    width: 100%;
    justify-content: center;
  }

  .page-404-banner {
    padding: 2rem 1.5rem;
  }

  .page-404-banner-content {
    flex-direction: column;
  }

  .page-404-banner-actions {
    width: 100%;
    flex-direction: column;
  }

  .page-404-banner-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   SEARCH RESULTS PAGE STYLES
   ========================================================================== */
.search-hero-section {
  background: linear-gradient(135deg, #061626 0%, #0B2540 60%, #0F1E36 100%);
  padding: 4.5rem 0 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 163, 224, 0.2);
}

.search-hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.12) 0%, rgba(6, 22, 38, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.search-hero-content {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.search-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 163, 224, 0.15);
  border: 1px solid rgba(0, 163, 224, 0.35);
  color: #00A3E0;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.search-hero-title {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.search-highlight {
  color: #00A3E0;
  position: relative;
}

.search-hero-meta {
  color: #CBD5E1;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.search-hero-form-box {
  max-width: 620px;
  margin: 0 auto;
}

.search-hero-form {
  width: 100%;
}

.search-hero-input-wrapper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 50px;
  padding: 0.4rem 0.4rem 0.4rem 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(0, 163, 224, 0.3);
  transition: all 0.3s ease;
}

.search-hero-input-wrapper:focus-within {
  box-shadow: 0 20px 40px rgba(0, 163, 224, 0.3), 0 0 0 3px #00A3E0;
}

.search-input-icon {
  color: #94A3B8;
  font-size: 1.15rem;
  margin-right: 0.75rem;
}

.search-hero-input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 1.05rem;
  font-family: var(--font-body);
  color: #0F172A;
  padding: 0.5rem 0;
}

.search-hero-btn {
  border-radius: 40px !important;
  padding: 0.75rem 1.65rem !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* Results Grid */
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.search-result-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(6, 22, 38, 0.04);
  transition: all 0.3s ease;
}

.search-result-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(6, 22, 38, 0.1);
  border-color: #00A3E0;
}

.search-card-thumb-link {
  position: relative;
  display: block;
  height: 200px;
  overflow: hidden;
  background: #0F1E36;
}

.search-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.search-result-card:hover .search-card-img {
  transform: scale(1.05);
}

.search-card-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 22, 38, 0.85);
  backdrop-filter: blur(4px);
  color: #00A3E0;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(0, 163, 224, 0.3);
}

.search-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.search-card-title {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.search-card-title a {
  color: #0F172A;
  transition: color 0.25s ease;
}

.search-card-title a:hover {
  color: #00A3E0;
}

.search-card-excerpt {
  color: #64748B;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.search-card-footer {
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.search-card-link {
  font-weight: 700;
  font-size: 0.925rem;
  color: #00A3E0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.search-card-link .arrow-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 163, 224, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.25s ease;
}

.search-result-card:hover .search-card-link .arrow-circle {
  background: #00A3E0;
  color: #FFFFFF;
  transform: translateX(4px);
}

/* Pagination */
.search-pagination-wrapper {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
}

.search-pagination-wrapper .nav-links {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-pagination-wrapper .page-numbers {
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  text-decoration: none;
}

.search-pagination-wrapper .page-numbers:hover,
.search-pagination-wrapper .page-numbers.current {
  background: #00A3E0;
  color: #FFFFFF;
  border-color: #00A3E0;
  box-shadow: 0 4px 12px rgba(0, 163, 224, 0.25);
}

/* No Results State */
.search-no-results-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(6, 22, 38, 0.04);
}

.search-no-results-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 163, 224, 0.1);
  color: #00A3E0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

.search-no-results-box h3 {
  font-size: 1.85rem;
  color: #0F172A;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.search-no-results-box p {
  color: #64748B;
  font-size: 1.05rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.search-suggestions-box {
  border-top: 1px solid #E2E8F0;
  padding-top: 2rem;
}

.search-suggestions-box h4 {
  font-size: 1.05rem;
  color: #0F172A;
  margin-bottom: 1.25rem;
}

.search-suggestions-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.suggestion-tag {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  color: #334155;
  padding: 0.55rem 1.2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.suggestion-tag i {
  color: #00A3E0;
}

.suggestion-tag:hover {
  background: #00A3E0;
  color: #FFFFFF;
  border-color: #00A3E0;
  box-shadow: 0 4px 12px rgba(0, 163, 224, 0.2);
  transform: translateY(-2px);
}

.suggestion-tag:hover i {
  color: #FFFFFF;
}

/* Search Callout CTA */
.search-cta-banner {
  background: linear-gradient(135deg, #061626 0%, #0B2540 50%, #061626 100%);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  box-shadow: 0 20px 45px rgba(6, 22, 38, 0.2);
  border: 1px solid rgba(0, 163, 224, 0.25);
}

@media (min-width: 992px) {
  .search-cta-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.search-cta-content {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  max-width: 680px;
}

.search-cta-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 163, 224, 0.15);
  border: 1.5px solid rgba(0, 163, 224, 0.3);
  color: #00A3E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.search-cta-content h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.search-cta-content p {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.search-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 640px) {
  .search-hero-input-wrapper {
    flex-direction: column;
    border-radius: 16px;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .search-hero-input {
    width: 100%;
    text-align: center;
  }

  .search-hero-btn {
    width: 100%;
    justify-content: center;
  }

  .search-cta-banner {
    padding: 2rem 1.5rem;
  }

  .search-cta-content {
    flex-direction: column;
  }

  .search-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .search-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   GLOBAL PAGINATION STYLES (Blog, Search, Archives)
   ========================================================================== */
.blog-pagination-wrapper,
.search-pagination-wrapper,
.navigation.pagination,
.posts-navigation {
  margin-top: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.blog-pagination-wrapper .navigation,
.search-pagination-wrapper .navigation {
  display: flex;
  justify-content: center;
}

.navigation.pagination .screen-reader-text,
.posts-navigation .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.navigation.pagination .nav-links,
.blog-pagination-wrapper .nav-links,
.search-pagination-wrapper .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  justify-content: center;
}

.navigation.pagination .page-numbers,
.blog-pagination-wrapper .page-numbers,
.search-pagination-wrapper .page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 1.15rem;
  border-radius: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  color: #1E293B;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.navigation.pagination a.page-numbers:hover,
.blog-pagination-wrapper a.page-numbers:hover,
.search-pagination-wrapper a.page-numbers:hover {
  background: #00A3E0;
  color: #FFFFFF !important;
  border-color: #00A3E0;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 163, 224, 0.3);
}

.navigation.pagination .page-numbers.current,
.blog-pagination-wrapper .page-numbers.current,
.search-pagination-wrapper .page-numbers.current {
  background: linear-gradient(135deg, #0F1E36 0%, #1E306E 100%);
  color: #FFFFFF !important;
  border-color: #0F1E36;
  box-shadow: 0 8px 20px rgba(15, 30, 54, 0.25);
  cursor: default;
}

.navigation.pagination .page-numbers.dots,
.blog-pagination-wrapper .page-numbers.dots,
.search-pagination-wrapper .page-numbers.dots {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #94A3B8;
  min-width: 32px;
  padding: 0;
}

/* ==========================================================================
   SINGLE BLOG POST PAGE STYLES
   ========================================================================== */
.single-post-hero {
  background: linear-gradient(135deg, #061626 0%, #0B2540 60%, #0F1E36 100%);
  padding: 4rem 0 4.5rem 0;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 163, 224, 0.2);
}

.single-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.single-post-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.single-post-breadcrumbs a {
  color: #CBD5E1;
  transition: color 0.25s ease;
}

.single-post-breadcrumbs a:hover {
  color: #00A3E0;
}

.single-post-breadcrumbs .sep {
  font-size: 0.7rem;
  color: #64748B;
}

.single-hero-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.single-cat-badge {
  background: rgba(0, 163, 224, 0.15);
  border: 1px solid rgba(0, 163, 224, 0.35);
  color: #00A3E0 !important;
  padding: 0.35rem 0.9rem;
  border-radius: 30px;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.25s ease;
}

.single-cat-badge:hover {
  background: #00A3E0;
  color: #FFFFFF !important;
  border-color: #00A3E0;
}

.single-hero-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.single-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #CBD5E1;
  font-size: 0.95rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.meta-item i {
  color: #00A3E0;
}

.author-meta {
  gap: 0.75rem;
}

.author-avatar-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #00A3E0;
  object-fit: cover;
}

/* 2 Column Layout */
.single-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .single-post-grid {
    grid-template-columns: 1fr 340px;
  }
}

.single-article-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(6, 22, 38, 0.04);
  padding: 2.5rem;
  overflow: hidden;
}

@media (max-width: 640px) {
  .single-article-card {
    padding: 1.5rem;
    border-radius: 16px;
  }
}

.single-featured-image-box {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 25px rgba(6, 22, 38, 0.08);
}

.single-featured-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Typography in Content */
.single-entry-content {
  font-size: 1.075rem;
  line-height: 1.85;
  color: #334155;
}

.single-entry-content p {
  margin-bottom: 1.5rem;
}

.single-entry-content h2 {
  font-size: 1.75rem;
  color: #0F172A;
  margin: 2.25rem 0 1rem 0;
  font-weight: 800;
  position: relative;
  padding-left: 1rem;
  border-left: 4px solid #00A3E0;
}

.single-entry-content h3 {
  font-size: 1.4rem;
  color: #0F172A;
  margin: 1.75rem 0 0.85rem 0;
  font-weight: 700;
}

/* --- Unordered Lists (ul) --- */
.single-entry-content ul {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 2rem 0;
}

.single-entry-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.85rem;
  line-height: 1.75;
  color: #334155;
}

.single-entry-content ul li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: rgba(0, 163, 224, 0.12);
  color: #00A3E0;
  border-radius: 50%;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.single-entry-content ul ul {
  margin: 0.75rem 0 0.75rem 1rem;
}

/* --- Ordered Lists (ol) --- */
.single-entry-content ol {
  counter-reset: custom-counter;
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0 2rem 0;
}

.single-entry-content ol li {
  counter-increment: custom-counter;
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.75;
  color: #334155;
}

.single-entry-content ol li::before {
  content: counter(custom-counter);
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  background: linear-gradient(135deg, #0F1E36 0%, #1E306E 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 8px rgba(15, 30, 54, 0.2);
}

/* --- Styled Data Tables --- */
.single-entry-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 15px rgba(6, 22, 38, 0.04);
}

.single-entry-content thead {
  background: linear-gradient(135deg, #061626 0%, #0B2540 100%);
  color: #FFFFFF;
}

.single-entry-content th {
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  letter-spacing: 0.3px;
  border-bottom: 2px solid #00A3E0;
  color: #FFFFFF;
}

.single-entry-content td {
  padding: 0.9rem 1.25rem;
  font-size: 0.975rem;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
  transition: background 0.2s ease;
}

.single-entry-content tbody tr:nth-child(even) td {
  background: #F8FAFC;
}

.single-entry-content tbody tr:hover td {
  background: #F0F9FF;
}

.single-entry-content tbody tr:last-child td {
  border-bottom: none;
}

.table-responsive,
.single-entry-content figure.wp-block-table {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 12px;
}

/* --- Blockquotes & Callouts --- */
.single-entry-content blockquote {
  position: relative;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border-left: 4px solid #00A3E0;
  padding: 1.75rem 2rem 1.75rem 2.5rem;
  border-radius: 0 16px 16px 0;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #0F172A;
  margin: 2.25rem 0;
  box-shadow: 0 4px 15px rgba(6, 22, 38, 0.03);
}

.single-entry-content blockquote::before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: rgba(0, 163, 224, 0.2);
  font-size: 2.5rem;
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  pointer-events: none;
}

/* Inline Code & Pre Blocks */
.single-entry-content code {
  background: #F1F5F9;
  color: #0284C7;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
}

.single-entry-content pre {
  background: #061626;
  color: #F8FAFC;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
  margin: 1.75rem 0;
  font-size: 0.925rem;
}

/* Dividers & Images */
.single-entry-content hr {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #CBD5E1, transparent);
  margin: 3rem 0;
}

.single-entry-content img {
  border-radius: 12px;
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

.single-entry-content figure {
  margin: 2rem 0;
}

.single-entry-content figcaption {
  font-size: 0.875rem;
  color: #64748B;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}


/* Social Share Bar */
.single-share-bar {
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .single-share-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.share-label {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #0F172A;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.share-label i {
  color: #00A3E0;
}

.share-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.share-btn {
  padding: 0.45rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #FFFFFF !important;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.share-twitter {
  background: #1DA1F2;
}

.share-twitter:hover {
  background: #0c85d0;
  transform: translateY(-2px);
}

.share-facebook {
  background: #1877F2;
}

.share-facebook:hover {
  background: #0b61d4;
  transform: translateY(-2px);
}

.share-linkedin {
  background: #0A66C2;
}

.share-linkedin:hover {
  background: #074f97;
  transform: translateY(-2px);
}

.share-whatsapp {
  background: #25D366;
}

.share-whatsapp:hover {
  background: #1da851;
  transform: translateY(-2px);
}

/* Author Bio Card */
.single-author-box {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

@media (max-width: 640px) {
  .single-author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.author-avatar-large img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid #00A3E0;
  object-fit: cover;
}

.author-role-badge {
  background: rgba(0, 163, 224, 0.1);
  color: #00A3E0;
  padding: 0.25rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 0.35rem;
}

.author-name {
  font-size: 1.25rem;
  color: #0F172A;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.author-bio {
  font-size: 0.925rem;
  color: #64748B;
  line-height: 1.6;
  margin: 0;
}

/* Post Navigation Cards */
.single-post-navigation {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .single-post-navigation {
    grid-template-columns: 1fr 1fr;
  }
}

.post-nav-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: all 0.25s ease;
  text-decoration: none !important;
}

.post-nav-card:hover {
  border-color: #00A3E0;
  box-shadow: 0 8px 20px rgba(0, 163, 224, 0.1);
  transform: translateY(-3px);
}

.nav-direction {
  font-size: 0.8rem;
  font-weight: 700;
  color: #00A3E0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-next {
  text-align: right;
  align-items: flex-end;
}

.nav-prev {
  text-align: left;
  align-items: flex-start;
}

.nav-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Sidebar Widgets */
.single-sidebar-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 992px) {
  .single-sidebar-column {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 15px rgba(6, 22, 38, 0.03);
}

.widget-title {
  font-size: 1.15rem;
  color: #0F172A;
  margin-bottom: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #F1F5F9;
}

.widget-title i {
  color: #00A3E0;
}

/* Emergency Widget */
.widget-emergency {
  background: linear-gradient(135deg, #061626 0%, #0B2540 100%);
  color: #FFFFFF;
  border-color: rgba(0, 163, 224, 0.25);
  box-shadow: 0 15px 30px rgba(6, 22, 38, 0.15);
}

.widget-emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #F59E0B;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.widget-emergency h3 {
  color: #FFFFFF;
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
  font-weight: 700;
}

.widget-emergency p {
  color: #CBD5E1;
  font-size: 0.925rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

/* Sidebar Search */
.sidebar-search-group {
  display: flex;
  align-items: center;
  border: 1.5px solid #CBD5E1;
  border-radius: 30px;
  padding: 0.3rem 0.3rem 0.3rem 1rem;
  transition: all 0.25s ease;
}

.sidebar-search-group:focus-within {
  border-color: #00A3E0;
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.15);
}

.sidebar-search-input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.9rem;
  color: #0F172A;
  background: transparent;
}

.sidebar-search-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #00A3E0;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.25s ease;
}

.sidebar-search-btn:hover {
  background: #0284C7;
  transform: scale(1.05);
}

/* Sidebar Services List */
.sidebar-services-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.sidebar-services-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: #F8FAFC;
  color: #334155;
  font-size: 0.925rem;
  font-weight: 600;
  transition: all 0.25s ease;

}

.sidebar-services-list a i {
  color: #00A3E0;
  font-size: 0.95rem;
}

.sidebar-services-list a:hover {
  background: #00A3E0;
  color: #FFFFFF;
  transform: translateX(4px);
}

.sidebar-services-list a:hover i {
  color: #FFFFFF;
}

/* Sidebar Recent Posts */
.sidebar-recent-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none !important;
  transition: transform 0.25s ease;
}

.recent-post-item:hover {
  transform: translateX(3px);
}

.recent-post-thumb {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0F1E36;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-date {
  font-size: 0.775rem;
  color: #00A3E0;
  font-weight: 600;
  display: block;
  margin-bottom: 0.2rem;
}

.recent-post-title {
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.25s ease;
}

.recent-post-item:hover .recent-post-title {
  color: #00A3E0;
}

/* Comments Form Styling */
.comment-respond {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
}

.comment-reply-title {
  font-size: 1.5rem;
  color: #0F172A;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.comment-notes {
  color: #64748B;
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comment-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: #1E293B;
  margin-bottom: 0.4rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.975rem;
  color: #0F172A;
  background: #FFFFFF;
  transition: all 0.25s ease;
  outline: none;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  border-color: #00A3E0;
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.15);
}

.comment-form-cookies-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #64748B;
}

.form-submit #submit,
.comment-form input[type="submit"] {
  background: #00A3E0;
  color: #FFFFFF;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 163, 224, 0.25);
  display: inline-block;
  width: auto;
  align-self: flex-start;
}

.form-submit #submit:hover,
.comment-form input[type="submit"]:hover {
  background: #0284C7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 163, 224, 0.35);
}

/* ==========================================================================
   FOOTER MENU ICONS
   ========================================================================== */
.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
}

.footer-links li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-links a {
  color: #CBD5E1 !important;
  font-size: 0.95rem;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: all 0.25s ease !important;
}

.footer-links a::before {
  content: '\f105' !important;
  /* FontAwesome angle-right */
  font-family: 'Font Awesome 5 Free' !important;
  font-weight: 900 !important;
  font-size: 0.85rem !important;
  color: #00A3E0 !important;
  margin-right: 0.6rem !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
  display: inline-block !important;
}

.footer-links a:hover {
  color: #FFFFFF !important;
  transform: translateX(4px) !important;
}

.footer-links li.current-menu-item a {
  color: #FFFFFF !important;
}

.footer-links li.current-menu-item a::before,
.footer-links a:hover::before {
  color: #F59E0B !important;
  transform: translateX(2px) !important;
}

/* ==========================================================================
   LEGAL & POLICY PAGES STYLES (Privacy, Terms, Cookie Policy)
   ========================================================================== */
.legal-page-hero {
  background: linear-gradient(135deg, #061626 0%, #0B2540 60%, #0F1E36 100%);
  padding: 4.5rem 0 5rem 0;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 163, 224, 0.2);
}

.legal-hero-content {
  max-width: 780px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.legal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 163, 224, 0.15);
  border: 1px solid rgba(0, 163, 224, 0.35);
  color: #00A3E0;
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.legal-hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.25rem);
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.legal-hero-subtitle {
  color: #CBD5E1;
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.legal-hero-updated {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #94A3B8;
  font-size: 0.875rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 2-Column Grid Layout */
.legal-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .legal-page-grid {
    grid-template-columns: 320px 1fr;
  }
}

.legal-sidebar-column {
  display: flex;
  flex-direction: column;
}

@media (min-width: 992px) {
  .legal-sidebar-column {
    position: sticky;
    top: 100px;
    align-self: start;
  }
}

.legal-toc-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(6, 22, 38, 0.03);
}

.toc-title {
  font-size: 1.05rem;
  color: #0F172A;
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #F1F5F9;
}

.toc-title i {
  color: #00A3E0;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  color: #475569;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.toc-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: #00A3E0;
  background: rgba(0, 163, 224, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
}

.toc-link:hover,
.toc-link.active {
  background: #F0F9FF;
  color: #00A3E0;
  transform: translateX(3px);
}

/* Legal Main Content Box */
.legal-card-body {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(6, 22, 38, 0.04);
}

@media (max-width: 640px) {
  .legal-card-body {
    padding: 1.5rem;
    border-radius: 16px;
  }
}

.legal-section-card {
  margin-bottom: 2.5rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid #F1F5F9;
}

.legal-section-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.section-badge {
  background: linear-gradient(135deg, #061626 0%, #0B2540 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.825rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
}

.legal-section-title {
  font-size: 1.45rem;
  color: #0F172A;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-section-title i {
  color: #00A3E0;
  font-size: 1.2rem;
}

.legal-section-card p {
  color: #475569;
  font-size: 1.025rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* Legal Check List */
.legal-check-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legal-check-list li {
  position: relative;
  padding-left: 2rem;
  color: #334155;
  line-height: 1.7;
  font-size: 1rem;
}

.legal-check-list li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  background: rgba(0, 163, 224, 0.12);
  color: #00A3E0;
  border-radius: 50%;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Callout Box */
.legal-callout-box {
  background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
  border-left: 4px solid #00A3E0;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1.5rem 0;
}

.legal-callout-box i {
  color: #00A3E0;
  font-size: 1.35rem;
  margin-top: 0.15rem;
}

.legal-callout-box p {
  margin: 0;
  color: #0F172A;
  font-size: 0.975rem;
  font-weight: 600;
  line-height: 1.6;
}

/* Contact Box */
.legal-contact-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.25rem;
}

.contact-box-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #1E293B;
  font-size: 0.975rem;
}

.contact-box-item i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 163, 224, 0.1);
  color: #00A3E0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-box-item a {
  color: #00A3E0;
  font-weight: 700;
}

.contact-box-item a:hover {
  color: #00A3E0;
  text-decoration: underline;
}

/* Portfolio Image Gallery Showcase */
.portfolio-gallery-item:hover img {
  transform: scale(1.06);
}

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

/* ==========================================================================
   PORTFOLIO POPUP LIGHTBOX GALLERY SLIDER MODAL
   ========================================================================== */
.portfolio-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(6, 22, 38, 0.94);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeInModal 0.3s ease forwards;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: scale(0.98);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.portfolio-modal-container {
  width: 100%;
  max-width: 1100px;
  max-height: 92vh;
  background: #0F172A;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  color: #FFFFFF;
}

/* Header */
.portfolio-modal-header {
  padding: 1.15rem 1.75rem;
  background: #090D16;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.portfolio-modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0.2rem 0 0 0;
}

.portfolio-modal-counter {
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.portfolio-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.portfolio-modal-close:hover {
  background: #EF4444;
  border-color: #EF4444;
  transform: rotate(90deg);
}

/* Stage */
.portfolio-modal-stage {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: #020617;
  min-height: 360px;
  max-height: 520px;
  overflow: hidden;
}

.portfolio-slide-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.portfolio-slide-wrapper img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: opacity 0.25s ease;
}

.portfolio-modal-caption {
  margin-top: 0.65rem;
  font-size: 0.9rem;
  color: #CBD5E1;
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.35rem 1.15rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Nav Buttons */
.portfolio-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.portfolio-nav-btn.prev-btn {
  left: 18px;
}

.portfolio-nav-btn.next-btn {
  right: 18px;
}

.portfolio-nav-btn:hover {
  background: var(--primary-teal);
  border-color: var(--primary-teal);
  box-shadow: 0 0 15px rgba(2, 132, 199, 0.6);
  transform: translateY(-50%) scale(1.1);
}

/* Footer & Thumbs */
.portfolio-modal-footer {
  background: #090D16;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.portfolio-modal-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0;
  max-width: 65%;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.portfolio-modal-thumb-item {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.portfolio-modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-modal-thumb-item:hover {
  opacity: 0.85;
}

.portfolio-modal-thumb-item.active {
  opacity: 1;
  border-color: var(--accent-amber);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.portfolio-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (1024px / Tablet / Mobile)
   ========================================================================== */

/* 1024px Screen & Laptop Header Fixes */
@media (max-width: 1200px) {
  .logo-img {
    height: 85px !important;
  }

  .header.scrolled .logo-img {
    height: 75px !important;
  }

  .nav-menu {
    gap: 0.65rem !important;
  }

  .nav-link {
    font-size: 0.85rem !important;
    white-space: nowrap !important;
    padding: 0.35rem 0.5rem !important;
  }

  .nav-link i {
    font-size: 0.8rem !important;
    margin-right: 3px !important;
  }

  .nav-actions {
    gap: 0.4rem !important;
  }

  .nav-actions .btn {
    padding: 0.45rem 0.8rem !important;
    font-size: 0.825rem !important;
    white-space: nowrap !important;
  }
}

@media (max-width: 767px) {

  /* Layout & Spacing */
  body {
    padding-bottom: 75px !important;
  }

  .container {
    padding: 0 1rem !important;
  }

  .section-padding {
    padding: 3rem 0 !important;
  }

  .section-header {
    margin-bottom: 2.25rem !important;
  }

  .section-title {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
  }

  .section-subtitle {
    font-size: 0.975rem !important;
  }

  /* Sticky Header & Navigation */
  .header {
    height: 70px !important;
  }

  .logo-img {
    height: 100px !important;
  }

  .header.scrolled .logo-img {
    height: 85px !important;
  }

  .nav-actions {
    display: flex !important;
    align-items: center !important;
  }

  .nav-menu,
  .nav-actions .btn {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.65rem !important;
    color: var(--primary-navy) !important;
    background: none !important;
    border: none !important;
    padding: 0.5rem !important;
    cursor: pointer !important;
    z-index: 1001 !important;
  }

  .mobile-call-bar {
    display: block !important;
  }

  /* Banner Hero (Front Page) */
  .banner-hero-container {
    min-height: auto !important;
  }

  .banner-left-panel {
    padding: 2.25rem 1.25rem 2.75rem 1.25rem !important;
    clip-path: none !important;
    margin-right: 0 !important;
  }

  .banner-title {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
  }

  .banner-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }

  .banner-checklist {
    margin-bottom: 1.75rem !important;
    gap: 0.75rem !important;
  }

  .banner-checklist li {
    font-size: 0.95rem !important;
  }

  .banner-cta-wrapper {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.85rem !important;
  }

  .banner-quote-btn,
  .banner-phone-btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .banner-trust-line {
    flex-wrap: wrap !important;
    justify-content: center !important;
    font-size: 0.825rem !important;
    gap: 0.4rem !important;
    margin-top: 1.5rem !important;
  }

  .banner-right-panel {
    min-height: 280px !important;
  }

  .banner-plumber-img {
    height: 280px !important;
    object-fit: cover !important;
  }

  .banner-emergency-badge {
    bottom: 15px !important;
    right: 15px !important;
    transform: scale(0.9) !important;
  }

  /* Trust Features Grid */
  .trust-feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }

  .trust-feature-item {
    padding: 0.85rem 0.6rem !important;
  }

  .trust-feature-label {
    font-size: 1rem !important;
  }

  /* General Feature & Service Grids */
  .feature-grid,
  .services-grid,
  .about-values-grid,
  .about-why-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .feature-card,
  .service-card,
  .about-value-card {
    padding: 1.5rem 1.25rem !important;
  }

  /* Full Width Urgent Contact CTA Banner (.contact-cta-section) */
  .contact-cta-section {
    padding: 1.75rem 1rem !important;
  }

  .contact-cta-section h2 {
    font-size: 1.35rem !important;
    line-height: 1.35 !important;
    margin-bottom: 0.5rem !important;
  }

  .contact-cta-section h2 a {
    white-space: normal !important;
    display: inline-block !important;
    margin-top: 0.4rem !important;
    max-width: 100% !important;
    font-size: 1.2rem !important;
    padding: 0.2rem 0.6rem !important;
    word-break: break-all !important;
  }

  .contact-cta-section p {
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
  }

  .contact-cta-section div[style*="display: flex"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .contact-cta-section div[style*="display: flex"]>div {
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }

  .contact-cta-section div[style*="display: flex"] span {
    font-size: 0.85rem !important;
    justify-content: center !important;
  }

  .contact-cta-section .btn {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    text-align: center !important;
    white-space: normal !important;
    margin: 0 !important;
  }

  /* Contact Page Quote & Inquiry Form */
  #quote-form-section .container>div[style*="max-width: 850px"] {
    padding: 1.75rem 1.25rem !important;
    border-radius: 14px !important;
  }

  .ajax-quote-form div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .form-control,
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  select,
  textarea {
    font-size: 16px !important;
    /* Prevents auto-zoom on mobile safari */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .file-dropzone {
    padding: 1.25rem 1rem !important;
  }

  .dropzone-text {
    font-size: 0.9rem !important;
  }

  /* Google Map & Floating Card */
  .contact-map-section {
    padding-top: 1.75rem !important;
    padding-bottom: 1.75rem !important;
  }

  .contact-map-wrapper iframe {
    height: 260px !important;
  }

  .contact-map-wrapper .map-info-card {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0.85rem !important;
    border-radius: 12px !important;
    padding: 1rem !important;
    box-shadow: none !important;
  }

  /* About Page Responsive Tweaks */
  .about-hero-section {
    padding: 3rem 1rem 3.5rem 1rem !important;
  }

  .about-hero-title {
    font-size: 1.95rem !important;
  }

  .about-hero-subtitle {
    font-size: 1rem !important;
  }

  .about-hero-highlights {
    gap: 0.5rem !important;
  }

  .about-hero-chip {
    font-size: 0.8rem !important;
    padding: 0.3rem 0.75rem !important;
  }

  .about-split-row {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .about-mission-box {
    padding: 1.5rem 1.25rem !important;
    border-radius: 14px !important;
  }

  .about-mission-box div[style*="display: flex"] {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .about-mission-icon {
    margin: 0 auto !important;
  }

  .about-commercial-card {
    padding: 1.75rem 1.25rem !important;
  }

  .about-cta-card {
    padding: 2.25rem 1.25rem !important;
    text-align: center !important;
    border-radius: 16px !important;
  }

  .about-cta-card h2 {
    font-size: 1.65rem !important;
  }

  .about-cta-card p {
    font-size: 1rem !important;
  }

  .about-cta-card div[style*="display:flex"] {
    flex-direction: column !important;
    width: 100% !important;
  }

  .about-cta-card .btn {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
  }

  /* Footer Responsive */
  /* .footer {
    padding: 3.5rem 0 2rem 0 !important;
  } */

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

  .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 1rem !important;
  }

  .footer-legal-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
  }

  /* Portfolio Lightbox Modal Responsive */
  .portfolio-modal-overlay {
    padding: 0.5rem !important;
  }

  .portfolio-modal-container {
    max-height: 96vh !important;
    border-radius: 14px !important;
  }

  .portfolio-modal-header {
    padding: 0.85rem 1rem !important;
  }

  .portfolio-modal-title {
    font-size: 1.05rem !important;
  }

  .portfolio-modal-stage {
    min-height: 240px !important;
    max-height: 350px !important;
    padding: 0.75rem !important;
  }

  .portfolio-slide-wrapper img {
    max-height: 260px !important;
  }

  .portfolio-nav-btn {
    width: 38px !important;
    height: 38px !important;
    font-size: 0.9rem !important;
  }

  .portfolio-nav-btn.prev-btn {
    left: 6px !important;
  }

  .portfolio-nav-btn.next-btn {
    right: 6px !important;
  }

  .portfolio-modal-footer {
    padding: 0.75rem 1rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }

  .portfolio-modal-thumbs {
    max-width: 100% !important;
    justify-content: center !important;
  }

  .portfolio-modal-actions {
    width: 100% !important;
    justify-content: center !important;
  }

  .portfolio-modal-actions .btn {
    flex: 1 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Global Quick Quote Modal */
  .quote-modal-content {
    padding: 1.5rem 1.25rem !important;
    width: 94% !important;
    max-width: 440px !important;
    border-radius: 14px !important;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.55rem !important;
  }

  .banner-title {
    font-size: 2rem !important;
  }

  .trust-feature-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }

  .trust-feature-item {
    padding: 0.75rem 0.35rem !important;
  }

  .trust-feature-icon-box {
    width: 42px !important;
    height: 42px !important;
    font-size: 1.1rem !important;
  }

  .trust-feature-label {
    font-size: 1rem !important;
    line-height: 1.25 !important;
  }

  .btn-lg {
    white-space: normal !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}