/*
Theme Name: Gill Pestworks Custom Ultra-SEO Theme
Theme URI: https://gillpestworks.com.au
Description: Hand-crafted, ultra-performance WordPress theme for Gill Pestworks. Bypasses Gutenberg completely, using custom post types and custom PHP templates for maximum page speed, clean DOM, and conversion optimization.
Version: 1.0.0
Author: Ghrix Technologies
Author URI: https://ghrix.com
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gillpestworks
*/

/* ==========================================================================
   Gill Pestworks Redesign Core Layout Stylesheet (Crimson/Charcoal Brand Match)
   ========================================================================== */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* CSS Variables / Design System Tokens */
:root {
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-headings: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Color Palette - Crimson & Charcoal branding from the logo */
  --bg-primary: #ffffff;
  --bg-neutral: #f8fafc;
  --bg-neutral-dark: #f1f5f9;
  --bg-dark: #111827;            /* Deep Charcoal */
  --bg-dark-card: #1f2937;       /* Slate/Grey Card */
  --bg-dark-accent: #374151;
  
  --text-dark: #111827;
  --text-muted: #4b5563;
  --text-light: #f9fafb;
  --text-light-muted: #9ca3af;
  
  --accent-cta: #9b1d32;          /* Crimson Brand Red */
  --accent-cta-hover: #7e1425;
  --accent-safe: #10b981;         /* Bio-Safety Green */
  --accent-safe-hover: #059669;
  --accent-safe-muted: #d1fae5;
  
  /* Borders and Shadow */
  --line-color: rgba(17, 24, 39, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -5px rgba(17, 24, 39, 0.1), 0 8px 10px -6px rgba(17, 24, 39, 0.1);
  --shadow-glow: 0 0 20px rgba(155, 29, 50, 0.15);
  
  /* Animation Speeds */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  margin-bottom: 0.75rem;
}

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

/* Header Styling */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-color);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.logo img {
  height: 90px;
  width: auto;
  display: block;
}

.logo a img {
  height: 44px;
  width: auto;
  display: block;
}

/* Nav Menu enqueued styles */
.site-navigation ul.nav-links {
  display: flex;
  list-style: none;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.site-navigation ul.nav-links > li > a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dark);
  position: relative;
  padding: 0.25rem 0;
  cursor: pointer;
}

.site-navigation ul.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-cta);
  transition: width var(--transition-normal);
}

.site-navigation ul.nav-links > li > a:hover::after,
.site-navigation ul.nav-links > li.current-menu-item > a::after {
  width: 100%;
}

.site-navigation ul.nav-links > li.current-menu-item > a {

  color: var(--accent-cta);
  font-weight: 600;
}

.site-navigation ul.nav-links > li > a.nav-cta {
  background-color: var(--bg-dark);
  color: var(--text-light) !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.site-navigation ul.nav-links > li > a.nav-cta:hover {
  background-color: var(--accent-cta);
  color: white !important;
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-dark);
}

.menu-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-neutral);
  background-image: radial-gradient(circle at 10% 20%, rgba(155, 29, 50, 0.03) 0%, transparent 45%),
                    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.03) 0%, transparent 50%);
  padding: clamp(3rem, 7vw, 6.5rem) 1.5rem;
  border-bottom: 1px solid var(--line-color);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}


.hero-content {
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-safe-muted);
  color: var(--accent-safe-hover);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.65rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes price-pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

.promo-price {
  display: inline-block;
  margin-left: 6px;
  animation: price-pulse 2.5s infinite ease-in-out;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}
.hero-badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hero-title {
  color: var(--bg-dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--accent-cta);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}

.btn-primary {
  background-color: var(--accent-cta);
  color: white;
  box-shadow: 0 4px 10px rgba(155, 29, 50, 0.2);
}

.btn-primary:hover {
  background-color: var(--accent-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(155, 29, 50, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--bg-dark);
}

.btn-secondary:hover {
  background-color: var(--bg-dark);
  color: white;
  transform: translateY(-2px);
}

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.google-review-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-stars {
  color: #fbbf24;
  font-weight: bold;
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.review-text strong {
  color: var(--text-dark);
}

/* Hero Lead Form Card */
.lead-form-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.lead-form-card:hover {

}
button.form-submit-btn.step-prev-btn {
    background-color: var(--bg-dark) !important;
    color: white !important;
}
.lead-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent-cta);
}

.form-title {
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group select,
.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: var(--radius-sm);
  background-color: var(--bg-neutral);
  color: var(--text-dark);
  outline: none;
  transition: all var(--transition-fast);
}

.form-group select:focus,
.form-group input:focus {
  border-color: var(--accent-cta);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(155, 29, 50, 0.1);
}

.form-submit-btn {
  width: 100%;
  background-color: var(--bg-dark);
  color: white;
  border: none;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.form-submit-btn:hover {
  background-color: var(--accent-cta);
  box-shadow: var(--shadow-md);
}

.form-back-btn {
  width: 100%;
  background-color: white;
  color: var(--text-dark);
  border: 2px solid var(--line-color);
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.form-back-btn:hover {
  background-color: var(--bg-neutral);
  color: var(--accent-cta);
  border-color: var(--accent-cta);
}

.form-success-message {
  display: none;
  background-color: var(--accent-safe-muted);
  color: var(--accent-safe-hover);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  text-align: center;
  border: 1px solid rgba(16, 185, 129, 0.2);
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.95rem;
}

/* Trust Signals Banner */
.trust-banner {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 2.25rem 1.5rem;
}

.trust-banner-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.trust-icon {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cta);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.trust-item h4 {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 600;
}

.trust-item p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
}

/* Services Matrix Section */
.section-padding {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle-badge {
  color: var(--accent-cta);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 0; /* Clear padding to let image sit flush */
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(155, 29, 50, 0.2);
  box-shadow: var(--shadow-lg);
}

/* Service Card Image Headers styling */
.service-card-header {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  background-color: var(--bg-neutral-dark);
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-normal);
}

.service-card:hover .service-card-img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  box-sizing: border-box;
}

.service-card-body h3 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.service-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}


.service-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
}

.service-link:hover {
  color: var(--accent-cta);
}

/* Geographic / Local Authority Hub */
.geo-section {
  background-color: var(--bg-neutral);
  border-top: 1px solid var(--line-color);
  border-bottom: 1px solid var(--line-color);
}

.geo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.geo-text h2 {
  margin-bottom: 1.25rem;
}

.geo-text p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.geo-map-placeholder {
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.geo-map-placeholder h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.suburb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.suburb-tag {
  background-color: var(--bg-neutral-dark);
  color: var(--text-dark);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  cursor: pointer;
}

.suburb-tag:hover {
  background-color: white;
  border-color: var(--accent-cta);
  color: var(--accent-cta);
  transform: translateY(-1px);
}

/* Dynamic Price Calculator Page Segment */
.calculator-section {
  background-color: var(--bg-primary);
}

.calculator-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--bg-neutral);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.calc-options h4 {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-form-group {
  margin-bottom: 1.75rem;
}

.calc-form-group select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(17, 24, 39, 0.15);
  border-radius: var(--radius-sm);
  background-color: white;
  color: var(--text-dark);
  outline: none;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-cta);
  cursor: pointer;
}

.calc-result-box {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-result-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--accent-cta);
}

.calc-heading {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light-muted);
}

.calc-price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: white;
  margin: 1rem 0;
}

.calc-price span {
  color: var(--accent-cta);
}

.calc-details {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 1.5rem;
}

.calc-booking-btn {
  background-color: var(--accent-cta);
  color: white;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  box-shadow: 0 4px 10px rgba(155, 29, 50, 0.2);
}

.calc-booking-btn:hover {
  background-color: var(--accent-cta-hover);
}

/* Process Matrix 50/50 */
.process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.process-row:last-child {
  margin-bottom: 0;
}

.process-row:nth-child(even) {
  direction: rtl;
}

.process-row:nth-child(even) .process-text {
  direction: ltr;
}

.process-text {
  text-align: left;
}

.process-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(155, 29, 50, 0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.process-image {
  background-color: var(--bg-neutral);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.process-image svg {
  width: 80px;
  height: 80px;
  color: var(--bg-dark-accent);
}

/* Contact & Emergency Booking Page */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: flex-start;
}

.contact-info {
  text-align: left;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info-p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-item-icon {
  background-color: rgba(155, 29, 50, 0.08);
  color: var(--accent-cta);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-item-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.info-item-content h5 {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.info-item-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-map-card {
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  background-color: var(--bg-neutral);
  text-align: center;
}

.contact-form-wrapper {
  background-color: var(--bg-primary);
  border: 1px solid var(--line-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-wrapper h3 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
}

.contact-form-wrapper p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* File Upload custom input */
.file-upload-wrapper {
  border: 2px dashed rgba(17, 24, 39, 0.15);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  background-color: var(--bg-neutral);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.file-upload-wrapper:hover {
  border-color: var(--accent-cta);
  background-color: rgba(155, 29, 50, 0.01);
}

.file-upload-icon {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.file-upload-wrapper input[type="file"] {
  display: none;
}

.file-upload-text {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dark);
}

.file-upload-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Footer styling */
.site-footer {
  background-color: var(--bg-dark);
  color: white !important;
  padding: 4rem 1.5rem 2rem 1.5rem;
  border-top: 1px solid var(--border-dark);
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.footer-logo img {
  height: 130px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.footer-info p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-column h5 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  font-size: 0.9rem;
}

.footer-column a:hover {
  color: white;
}

/* Footer menu integration */
.footer-bottom-links ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-bottom-links li {
  margin-left: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: #fff;
  display: inline-block;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: white;
}

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

.footer-bottom-links {
  display: flex;
  align-items: center;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .hero-container,
  .geo-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .matrix-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .logo img {
    height: 60px;
  }

  .menu-toggle {
    display: block;
    order: 2;
  }

  
  .site-header.header-dark .menu-toggle {
    color: white;
  }
  
  .site-navigation {
    width: 100%;
    order: 3;
  }
  
  /* Hide navigation links by default on mobile/tablet */
  .site-navigation ul.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    max-width: 100vw;
    background-color: white;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 1.5rem;
    border-bottom: 1px solid var(--line-color);
    box-shadow: var(--shadow-lg);
    gap: 1.25rem;
    align-items: stretch;
    z-index: 99;
    margin: 0;
    overflow-x: hidden;
  }
  
  .site-navigation ul.nav-links ul.sub-menu {
    padding-left: 1.5rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-left: 2px solid var(--line-color);
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .site-header.header-dark .site-navigation ul.nav-links {
    background-color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  /* Show navigation links when active class is toggled by JS */
  .site-navigation ul.nav-links.active {
    display: flex;
  }
  
  .site-navigation ul li {
    width: 100%;
    text-align: left;
  }
  
  .site-navigation ul li a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1.05rem;
    width: 100%;
  }
  
  .site-navigation ul li a::after {
    display: none; /* Disable hover underline effect on mobile list */
  }
  
  /* Mobile CTA full width expansion */
  .site-navigation ul li a.nav-cta {
    text-align: center;
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.8rem;
    box-sizing: border-box;
    display: block;
  }
  
  /* Allow header container to wrap to handle absolute dropdown placement */
  .header-container {
    flex-wrap: wrap;
    position: relative;
  }
}

@media (max-width: 640px) {
  
  .trust-banner-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .matrix-grid {
    grid-template-columns: 1fr;
  }
  
  .process-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .process-row:nth-child(even) {
    direction: ltr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .suburb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form-wrapper {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Gill Pestworks Redesign Dark Header & Animations Extension
   ========================================================================== */

/* Dark Header Overrides - Harmonized with Maroon Brand Colors */
.site-header.header-dark {
  background-color: #fff; /* Deep Burgundy to flow into the hero gradient */
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.header-dark .logo img {
  filter: none;
}

.site-header.header-dark .site-navigation ul li a {
  color: #000;
}

.site-header.header-dark .site-navigation ul li a::after {
  background-color: white;
}

.site-header.header-dark .site-navigation ul li a:hover {
  color: #fbbf24; /* Gold hover highlight */
}

.site-header.header-dark .site-navigation ul li.current-menu-item a {
  color: #fbbf24;
}

.site-header.header-dark .menu-toggle {
  color: var(--text-dark);
}

.site-header.header-dark .site-navigation ul li a.nav-cta {
  background-color: white;
  border: 1px solid #7e1425;
  color: #7e1425 !important;
}

.site-header.header-dark .site-navigation ul li a.nav-cta:hover {
  background-color: var(--accent-cta);
  color: white !important;
}

/* Dark Hero Variation (Maroon/Crimson Brand Gradient & Logo Watermark) */
.hero.hero-dark {
  position: relative;
  background-image: linear-gradient(180deg, rgb(45 5 11 / 90%) 0%, rgb(25 11 13 / 37%) 100%), url(assets/why-bg.jpg);
  background-size: cover;
  background-position: center;
  border-bottom: none;
  color: var(--text-light);
  overflow: hidden;
}

/* Background watermark using the brand logo mark */
.hero.hero-dark::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  width: 580px;
  height: 580px;
  background-image: url('assets/gill-mark.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08; /* Transparent watermark overlay */
  pointer-events: none;
  z-index: 0;
}

/* Ensure layout containers sit above watermark */
.hero.hero-dark .hero-container {
  position: relative;
  z-index: 1;
}

.hero.hero-dark .hero-badge {
  background-color: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.25);
}

.hero.hero-dark .hero-title {
  color: white;
}

/* Fix for the unreadable title span - make highlighted text bright gold */
.hero.hero-dark .hero-title span {
  color: #fbbf24;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero.hero-dark .hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* High contrast primary CTA button - pops on maroon background */
.hero.hero-dark .btn-primary {
  background-color: white;
  color: #7e1425;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero.hero-dark .btn-primary:hover {
  background-color: var(--accent-cta);
  color: white;
  box-shadow: 0 6px 16px rgba(155, 29, 50, 0.25);
}

.hero.hero-dark .btn-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.05);
}

.hero.hero-dark .btn-secondary:hover {
  background-color: white;
  color: #7e1425;
  border-color: white;
}

.hero.hero-dark .google-review-box .review-text {
  color: rgba(255, 255, 255, 0.85);
}

.hero.hero-dark .google-review-box .review-text strong {
  color: white;
}

.hero.hero-dark .tech-profile-card {
  background-color: rgb(149 141 141 / 77%);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.hero.hero-dark .tech-profile-card h4 {
  color: white;
}

.hero.hero-dark .tech-profile-card p {
  color: rgba(255, 255, 255, 0.85);
}

/* Page Box Container (Responsive) */
.page-box-container {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 4rem;
  max-width: 1100px;
  margin: -4rem auto 0;
  position: relative;
  z-index: 10;
}

@media (max-width: 768px) {
  .page-box-container {
    padding: 2rem 1.5rem;
  }
}

/* Page Sidebar Layout (Responsive) */
.page-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 4rem;
}

.page-sidebar-layout > * {
  min-width: 0;
}

.page-sidebar-layout aside {
  position: sticky;
  top: 100px;
  align-self: start;
}

.mobile-sidebar-toggle {
  display: none;
}

@media (max-width: 991px) {
  .page-sidebar-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .page-sidebar-layout aside {
    order: -1; /* Move sidebar to top on mobile */
    position: sticky;
    top: 60px;
    z-index: 90;
  }
  
  .mobile-sidebar-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--accent-cta);
    color: white;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    margin-bottom: 0;
    box-shadow: var(--shadow-sm);
    transition: background 0.3s ease;
  }
  
  .mobile-sidebar-toggle:hover {
    background: #7e1425;
  }
  
  .mobile-sidebar-toggle svg {
    transition: transform 0.3s ease;
  }
  
  .mobile-sidebar-toggle.active svg {
    transform: rotate(180deg);
  }
  
  .mobile-sidebar-toggle.active {
    margin-bottom: 1.5rem;
  }
  
  .sidebar-content-wrapper {
    display: none !important;
  }
  
  .sidebar-content-wrapper.active {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 2rem;
    background-color: var(--bg-primary);
    border: 1px solid var(--line-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 100;
    animation: fadeIn 0.3s ease forwards;
  }
}

/* FAQ Layout (Responsive) */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Trust banner styling when following a dark hero (clears the red-on-blue clash) */
.hero-dark + .trust-banner {
  background-color: var(--bg-neutral);
  color: var(--text-dark);
  border-bottom: 1px solid var(--line-color);
  padding: 2.5rem 1.5rem;
}

.hero-dark + .trust-banner h4 {
  color: var(--text-dark);
}

.hero-dark + .trust-banner p {
  color: var(--text-muted);
}

.hero-dark + .trust-banner .trust-icon {
  background-color: rgba(155, 29, 50, 0.08);
  color: var(--accent-cta);
  border-color: rgba(155, 29, 50, 0.12);
}



/* Custom CSS Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(155, 29, 50, 0.4); }
  70% { box-shadow: 0 0 0 12px rgba(155, 29, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(155, 29, 50, 0); }
}

/* Animation Classes (Controlled via GSAP engine for smooth scroll targeting, fallback to static visibility if script is inactive) */
.anim-fade-up,
.anim-fade-left,
.anim-fade-right,
.anim-scale-up {
  opacity: 1; /* Ensure visible by default for fallback */
}

.anim-delay-100 { animation-delay: 100ms; }
.anim-delay-200 { animation-delay: 200ms; }
.anim-delay-300 { animation-delay: 300ms; }
.anim-delay-400 { animation-delay: 400ms; }

/* Micro-Interaction Classes */
.hover-lift {
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg) !important;
}

.pulse-glow {
  animation: pulseGlow 2s infinite;
}

/* Meet the Tech Profile Card decoration */
.tech-profile-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background-color: white;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: var(--shadow-sm);
}

.tech-profile-image {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--bg-neutral-dark);
  flex-shrink: 0;
  border: 2px solid var(--accent-cta);
}

.tech-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.tech-profile-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.tech-profile-info p {
  font-size: 0.85rem;
  margin: 0;
  color: var(--text-muted);
}

/* ==========================================================================
   Infinite Suburb Ticker Section
   ========================================================================== */
.suburb-ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  background-color: var(--bg-neutral);
  border-bottom: 1px solid var(--line-color);
  padding: 0.95rem 0;
  display: flex;
  z-index: 10;
  width: 100%;
  max-width: 100vw;
}

.suburb-ticker-wrap::before,
.suburb-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  width: 140px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.suburb-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-neutral) 20%, rgba(248, 250, 252, 0) 100%);
}

.suburb-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-neutral) 20%, rgba(248, 250, 252, 0) 100%);
}

.suburb-ticker-track {
  display: flex;
  width: max-content;
}

.suburb-ticker-list {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  animation: tickerMarquee 35s linear infinite;
  will-change: transform;
}

.suburb-ticker-list span, .suburb-ticker-list a {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.suburb-ticker-list span.dot {
  color: var(--accent-cta);
  font-size: 0.65rem;
  opacity: 0.7;
}

@keyframes tickerMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-100%, 0, 0);
  }
}

/* ==========================================================================
   Creative About Us Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-color);
  aspect-ratio: 4/3;
  background-color: var(--bg-neutral-dark);
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-badge-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--accent-cta);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(4px);
  z-index: 5;
}

.about-badge-overlay .badge-icon {
  background-color: var(--accent-cta);
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.about-badge-overlay .badge-text {
  display: flex;
  flex-direction: column;
}

.about-badge-overlay .badge-text strong {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.about-badge-overlay .badge-text span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.about-content .lead-text {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-item {
  display: flex;
  gap: 1rem;
}

.pillar-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background-color: rgba(155, 29, 50, 0.08);
  border-radius: 50%;
  color: var(--accent-cta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-info h4 {
  margin-bottom: 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.pillar-info p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Why Gill Pestworks Section (with visual suit bg card overlay)
   ========================================================================== */
.why-section {
  position: relative;
  padding: 8rem 0;
  background-image: url('assets/why-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
}

.why-overlay-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 2;
}

.why-card {
  background: white;
  padding: 3.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--line-color);
  max-width: 540px;
  justify-self: end;
}

.why-card h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-dark);
}

.why-card p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
}

.why-list-icon {
  background-color: var(--accent-cta);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   Testimonials Slider Grid Section
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-neutral);
  padding-bottom: 9rem; /* Extra space to prevent technician overlay image from touching testimonial cards */
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-card {
  background-color: white;
  border: 1px solid var(--line-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--transition-normal);
}

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

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.25rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-style: italic;
}

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

.testimonial-author h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.15rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.google-brand {
  color: #4285f4;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   Footer CTA Section
   ========================================================================== */
.footer-cta-section {
  position: relative;
  background: linear-gradient(135deg, #40060e 0%, #7e1425 100%);
  color: white;
  padding: 0;
  overflow: visible;
}

.footer-cta-container {
  display: grid;
  grid-template-columns: 0.45fr 1.55fr;
  align-items: end;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.cta-visual {
  position: relative;
  height: 320px;
  overflow: visible;
}

.cta-tech-img {
  position: absolute;
  bottom: 0;
  left: auto;
  right: 0; /* Shunted right next to the content boundary */
  height: 135%; /* Pop out of the container top and cross to previous section */
  width: auto;
  object-fit: contain;
  display: block;
  z-index: 15;
}


.cta-content {
  padding: 4.5rem 2rem 4.5rem 1.5rem; /* Pulled text content closer to image */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}


.cta-text h3 {
  font-size: 2.25rem;
  font-weight: 800;
  color: white;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.cta-text p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin: 0;
}

.btn-outline-white {
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-normal);
}

.btn-outline-white:hover {
  background-color: white;
  color: #7e1425;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Responsive Overrides for New Sections
   ========================================================================== */
@media (max-width: 991px) {
  /* Ticker */
  .suburb-ticker-wrap::before,
  .suburb-ticker-wrap::after {
    width: 60px;
  }

  /* About Us */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-image-card {
    max-width: 500px;
    margin: 0 auto;
  }
  
  /* Why Choose */
  .why-section {
    padding: 5rem 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-card {
    margin: 0 auto;
    max-width: 100%;
    padding: 2.5rem;
  }
  .why-empty-col {
    display: none;
  }

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

  /* Footer CTA */
  .footer-cta-container {
    grid-template-columns: 1fr;
  }
  .cta-visual {
    display: none;
  }
  .cta-content {
    padding: 3.5rem 1.5rem;
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Footer CTA */
  .cta-text h3 {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Header Dropdown Menu Navigation
   ========================================================================== */
.site-navigation ul li {
  position: relative;
}

.site-navigation ul li.has-dropdown > a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.site-navigation ul li.has-dropdown > a span.arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.site-navigation ul li.has-dropdown:hover > a span.arrow {
  transform: rotate(180deg);
}

/* Dropdown Wrapper */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid var(--line-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  list-style: none;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 100;
}

.site-navigation ul li.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  width: 100%;
  position: relative;
}

.dropdown-menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.25rem;
  color: var(--text-dark) !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu li a:hover {
  background-color: var(--bg-neutral);
  color: var(--accent-cta) !important;
}

/* Sub-dropdown Menu (Nested) */
.dropdown-menu li.has-sub-dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dropdown-menu li.has-sub-dropdown > a span.sub-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 4px solid currentColor;
  margin-left: 8px;
  opacity: 0.6;
}

.sub-dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  background-color: white;
  border: 1px solid var(--line-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  list-style: none;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
  z-index: 101;
}

.dropdown-menu li.has-sub-dropdown:hover > .sub-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Dark Header Overrides for Dropdowns */
.site-header.header-dark .dropdown-menu,
.site-header.header-dark .sub-dropdown-menu {
  background-color: #40060e;
  border-color: rgba(255, 255, 255, 0.1);
}

.site-header.header-dark .dropdown-menu li a {
  color: rgba(255, 255, 255, 0.9) !important;
}

.site-header.header-dark .dropdown-menu li a:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: white !important;
}

/* Mobile responsive navigation overrides */
@media (max-width: 991px) {
  .site-navigation ul.nav-links {
    max-height: 80vh;
    overflow-y: auto;
  }

  .site-navigation ul li.has-dropdown > a span.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .site-navigation ul li.mobile-open > a span.arrow {
    transform: rotate(180deg);
  }
  
  .dropdown-menu li.has-sub-dropdown > a span.sub-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }
  
  .dropdown-menu li.mobile-open > a span.sub-arrow {
    transform: rotate(90deg);
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: transparent !important;
    padding: 0 0 0 1rem;
    min-width: 0;
    display: none; /* Toggle via JS or expand on hover/toggle */
  }

  .site-navigation ul li.mobile-open > .dropdown-menu {
    display: block;
  }

  .sub-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: transparent !important;
    padding: 0 0 0 1rem;
    min-width: 0;
    display: none;
  }

  .dropdown-menu li.mobile-open > .sub-dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li a {
    padding: 0.5rem 0.75rem;
    color: var(--text-muted) !important;
  }
  
  .site-header.header-dark .dropdown-menu li a {
    color: rgba(255, 255, 255, 0.7) !important;
  }
}

/* ==========================================================================
   Hero Watermark
   ========================================================================== */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  max-width: 750px;
  max-height: 750px;
  opacity: 0.035; /* Subtly embedded in the dark theme gradient */
  pointer-events: none;
  z-index: 1;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-watermark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Service Area Editor Content Styling
   ========================================================================== */
.custom-post-editor-content h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-headings);
}

.custom-post-editor-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem 0;
}

/* Automatically style the second H3 section and its paragraph as a highlighted grid card */
.custom-post-editor-content h3:nth-of-type(2) {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.custom-post-editor-content h3:nth-of-type(2) + p {
  display: block;
  padding: 2.5rem;
  background: var(--bg-neutral);
  border-radius: var(--radius-md);
  border: 1px solid var(--line-color);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}
.promo-bar{
    background:#7d1114;
    color:#fff;
    height:42px;
    overflow:hidden;
    display:flex;
    align-items:center;
    white-space:nowrap;
}

.promo-track{
    display:inline-flex;
    flex-shrink:0;
    min-width:max-content;
    animation:marquee 45s linear infinite;
    will-change:transform;
}

.promo-item{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding-right:120px;
    font-weight:600;
}

.promo-item a{
    color:#fff;
    text-decoration:none;
}

.separator{
    margin:0 20px;
    opacity:.7;
}

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

.service-areas-highlight{
    background:#f8fafc;
    padding:90px 0;
}

.service-areas-highlight .section-header-center{
    max-width:760px;
    margin:0 auto 55px;
    text-align:center;
}

.service-areas-highlight .section-header-center h2{
    margin:15px 0;
}

.service-areas-highlight .section-header-center p{
    color:var(--text-muted);
    line-height:1.7;
}

.service-areas-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    margin-bottom:60px;
}

.service-area-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:35px 25px;
    text-align:center;
    text-decoration:none;
    transition:.35s ease;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
}

.service-area-card:hover{
    transform:translateY(-8px);
    border-color:var(--accent-cta);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.service-area-icon{
    width:70px;
    height:70px;
    margin:0 auto 20px;
    border-radius:50%;
    background:rgba(236,113,27,.12);
    color:var(--accent-cta);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
}

.service-area-label{
    display:block;
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:1px;
    font-weight:700;
    color:var(--accent-cta);
    margin-bottom:8px;
}

.service-area-card h3{
	text-transform: capitalize;
    margin:0 0 18px;
    color:var(--text-dark);
    font-size:1.25rem;
    font-weight:700;
    line-height:1.4;
}

.service-area-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--accent-cta);
    font-weight:600;
    transition:.3s;
}

.service-area-card:hover .service-area-link{
    gap:14px;
}

.service-areas-btn{
    text-align:center;
}

@media (max-width:991px){

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

}

@media (max-width:767px){

    .service-areas-grid{
        grid-template-columns:1fr;
    }

    .service-area-card{
        padding:30px 20px;
    }

}
.service-area-directory{
    background:#f8fafc;
    padding:90px 0;
}

.service-area-directory .section-header-center{
    text-align:center;
    max-width:760px;
    margin:0 auto 70px;
}

.service-area-directory .section-header-center h1{
    margin:15px 0;
}

.service-area-directory .section-header-center p{
    color:var(--text-muted);
    line-height:1.7;
}

/* City Box */

.service-area-directory .city-section{
    background:#fff;
    border:1px solid #ececec;
    border-radius:22px;
    padding:35px;
    margin-bottom:40px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.service-area-directory .city-heading{
    display:flex;
    align-items:center;
    gap:20px;
    margin-bottom:30px;
    padding-bottom:25px;
    border-bottom:1px solid #ececec;
}

.service-area-directory .city-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:rgba(236,113,27,.12);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--accent-cta);
    font-size:28px;
    flex-shrink:0;
}

.service-area-directory .city-heading h2{
    margin:0 0 8px;
    font-size:2rem;
}

.service-area-directory .city-heading p{
    margin:0;
    color:var(--text-muted);
}

/* Grid */

.service-area-directory .city-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

/* Area Card */

.service-area-directory .area-card{
    display:flex;
    align-items:center;
    gap:15px;
    background:#f8fafc;
    border:1px solid #ececec;
    border-radius:16px;
    padding:20px;
    text-decoration:none;
    transition:.3s;
}

.service-area-directory .area-card:hover{
    background:var(--accent-cta);
    border-color:var(--accent-cta);
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.service-area-directory .area-icon{
    width:48px;
    height:48px;
    border-radius:50%;
    background:rgba(236,113,27,.12);
    color:var(--accent-cta);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    transition:.3s;
}

.service-area-directory .area-card:hover .area-icon{
    background:#fff;
}

.service-area-directory .area-content{
    flex:1;
}

.service-area-directory .area-content h3{
    margin:0 0 6px;
    color:var(--text-dark);
    font-size:1.05rem;
    transition:.3s;
}

.service-area-directory .area-content span{
    font-size:.85rem;
    color:var(--accent-cta);
    font-weight:600;
    transition:.3s;
}

.service-area-directory .area-card:hover .area-content h3,
.service-area-directory .area-card:hover .area-content span{
    color:#fff;
}

/* Responsive */

@media (max-width:991px){

    .service-area-directory .city-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media (max-width:767px){

    .service-area-directory{
        padding:70px 0;
    }

    .service-area-directory .city-section{
        padding:25px;
    }

    .service-area-directory .city-heading{
        flex-direction:column;
        text-align:center;
    }

    .service-area-directory .city-heading h2{
        font-size:1.6rem;
    }

    .service-area-directory .city-grid{
        grid-template-columns:1fr;
    }

}
.page-content-section{
    padding:90px 0;
    background:#f8fafc;
}

.page-content-section .section-container{
    max-width:1300px;
}

.page-content-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
}

.page-content-card{
    background:#fff;
    border:1px solid #ececec;
    border-radius:18px;
    padding:30px;
    transition:.35s;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    display:flex;
    flex-direction:column;
    height:100%;
}

.page-content-card:hover{
    transform:translateY(-8px);
    border-color:var(--accent-cta);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.page-content-icon{
    width:65px;
    height:65px;
    margin-bottom:20px;
    border-radius:50%;
    background:rgba(236,113,27,.12);
    color:var(--accent-cta);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
}

.page-content-badge{
    display:inline-block;
    margin-bottom:12px;
    color:var(--accent-cta);
    font-size:.8rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
}

.page-content-title{
    margin:0 0 15px;
    font-size:1.35rem;
    line-height:1.4;
}

.page-content-title a{
    color:var(--text-dark);
    text-decoration:none;
    transition:.3s;
}

.page-content-title a:hover{
    color:var(--accent-cta);
}

.page-content-body{
    color:var(--text-muted);
    line-height:1.8;
    margin-bottom:25px;
    flex:1;
}

.page-content-btn{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--accent-cta);
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.page-content-btn:hover{
    gap:16px;
}

@media(max-width:1200px){

    .page-content-grid{
        grid-template-columns:repeat(3,1fr);
    }

}

@media(max-width:991px){

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

}

@media(max-width:767px){

    .page-content-section{
        padding:70px 0;
    }

    .page-content-grid{
        grid-template-columns:1fr;
    }

    .page-content-card{
        padding:25px;
    }

}

@media (max-width: 714px) and (min-width: 641px) {
    .footer-license {
        white-space: nowrap;
        font-size: 0.68rem;
    }
}

@media (max-width: 767px) {
    .accreditation-card img {
        max-height: 120px !important; /* Adjust as needed */
    }
}