/* 
 * Phillip Island Lawns — Premium Stylesheet
 * Brand Color Palette: 60% Neutral Base, 30% Deep Navy, 10% Lawn Green
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- DESIGN SYSTEM & CUSTOM PROPERTIES --- */
:root {
  /* Colors */
  --color-primary-green: #5A8441;
  --color-dark-green-shade: #3E5E2D;
  --color-light-green-tint: #E7F0DF;
  
  --color-primary-navy: #11395D;
  --color-dark-navy-shade: #0A2640;
  --color-light-navy-tint: #1F4D7A;
  
  --color-neutral-base: #FAFAF7;
  --color-neutral-card: #FFFFFF;
  --color-neutral-text: #22272B;
  --color-neutral-muted: #5C646C;
  --color-white: #FFFFFF;
  
  /* Fonts */
  --font-heading: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(17, 57, 93, 0.05);
  --shadow-md: 0 8px 24px rgba(17, 57, 93, 0.08);
  --shadow-lg: 0 16px 48px rgba(17, 57, 93, 0.12);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-normal: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Header heights */
  --header-height: 90px;
  --header-height-scrolled: 70px;
}

/* --- RESET & BASE STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-primary-navy);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); /* 40px to 64px */
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem); /* 32px to 40px */
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  margin-bottom: 1rem;
}

p {
  color: var(--color-neutral-muted);
  line-height: 1.7;
}

.text-white p {
  color: rgba(250, 250, 247, 0.8);
}

.text-center {
  text-align: center;
}

/* --- LAYOUT UTILITIES --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.section {
  padding-top: clamp(4rem, 8vw, 7.5rem); /* 64px to 120px */
  padding-bottom: clamp(4rem, 8vw, 7.5rem);
  position: relative;
}

.section-tint-green {
  background-color: var(--color-light-green-tint);
}

.section-dark-navy {
  background-color: var(--color-dark-navy-shade);
  color: var(--color-white);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

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

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

/* --- BUTTONS & CTAs --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--color-primary-green);
  color: var(--color-dark-navy-shade); /* Premium high-contrast pairing */
  box-shadow: 0 4px 14px rgba(90, 132, 65, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-dark-green-shade);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(62, 94, 45, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  border: 2px solid var(--color-primary-navy);
  color: var(--color-primary-navy);
}

.btn-secondary:hover {
  background-color: var(--color-primary-navy);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  border: 2px solid var(--color-white);
  color: var(--color-white);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-dark-navy-shade);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-icon {
  margin-right: 0.5rem;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* --- STICKY HEADER --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
  background-color: transparent;
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  background-color: var(--color-dark-navy-shade);
  box-shadow: var(--shadow-md);
}

/* Transparent-over-hero details */
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  transition: height var(--transition-normal);
}

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

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-white);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

/* Sub-tint hover indicator */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary-green);
  transition: width var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-light-green-tint);
}

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

/* Header button overrides */
.site-header .btn-primary {
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
}

/* Burger menu */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.burger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-white);
  transition: all var(--transition-normal);
}

/* Mobile full-screen overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-dark-navy-shade);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform var(--transition-slow);
}

.mobile-nav-overlay.open {
  transform: translateY(0);
}

.mobile-menu {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mobile-menu .nav-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--color-white);
  background-color: var(--color-dark-navy-shade);
  padding-top: 130px;
  overflow: hidden;
}

/* Hero background with navy overlay */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 38, 64, 0.95) 0%,
    rgba(17, 57, 93, 0.85) 50%,
    rgba(90, 132, 65, 0.3) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 620px;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary-green);
  margin-bottom: 1rem;
  display: inline-block;
  background-color: rgba(90, 132, 65, 0.15);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(90, 132, 65, 0.25);
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  color: rgba(250, 250, 247, 0.9);
}

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

/* Hero Trust Strip */
.trust-strip {
  display: flex;
  gap: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-badge-icon {
  width: 24px;
  height: 24px;
  fill: var(--color-primary-green);
  flex-shrink: 0;
}

.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(250, 250, 247, 0.85);
}

/* Collage Illustration Right Side */
.hero-collage {
  position: relative;
  width: 100%;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.collage-img {
  position: absolute;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--color-white);
  transition: transform var(--transition-normal);
}

.collage-img:hover {
  transform: scale(1.03) translateY(-5px);
  z-index: 10;
}

.collage-img-1 {
  width: 320px;
  height: 380px;
  object-fit: cover;
  top: 10px;
  left: 20px;
  z-index: 2;
  transform: rotate(-3deg);
}

.collage-img-2 {
  width: 280px;
  height: 240px;
  object-fit: cover;
  bottom: 20px;
  right: 20px;
  z-index: 3;
  transform: rotate(4deg);
}

/* Hero animated scroll chevron */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

/* --- ABOUT SECTION --- */
.about-image-wrapper {
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-primary-green);
  border-radius: var(--radius-md);
  top: 1.5rem;
  left: -1.5rem;
  z-index: 1;
}

.about-image {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  width: 100%;
  height: 450px;
}

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

.stat-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border-bottom: 4px solid var(--color-primary-green);
  transition: transform var(--transition-fast);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary-navy);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-neutral-muted);
}

/* --- SERVICES SECTION --- */
.section-title-area {
  max-width: 650px;
  margin: 0 auto 4rem auto;
}

.section-subtitle {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--color-primary-green);
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: block;
}

.services-grid {
  margin-top: 2rem;
}

.service-card {
  background-color: var(--color-neutral-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border: 1px solid rgba(17, 57, 93, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-light-green-tint);
}

.service-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background-color: var(--color-light-green-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--color-primary-green);
  transition: all var(--transition-normal);
}

.service-card:hover .service-icon-box {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  transform: rotateY(180deg);
}

.service-icon-box svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.service-card h3 {
  color: var(--color-primary-navy);
}

.service-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: var(--color-neutral-muted);
}

.service-item::before {
  content: '✓';
  color: var(--color-primary-green);
  font-weight: bold;
  margin-right: 0.75rem;
}

/* --- WHY CHOOSE US --- */
.why-grid {
  margin-top: 2rem;
}

.why-card {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

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

/* Alternating Grid System Tint/Shade Pairings */
.why-card-light-green {
  background-color: var(--color-light-green-tint);
  border-left: 5px solid var(--color-primary-green);
}

.why-card-light-green h3 {
  color: var(--color-dark-green-shade);
}

.why-card-light-green p {
  color: var(--color-neutral-text);
}

.why-card-navy {
  background-color: var(--color-light-navy-tint);
  border-left: 5px solid var(--color-primary-green);
  color: var(--color-white);
}

.why-card-navy h3 {
  color: var(--color-white);
}

.why-card-navy p {
  color: rgba(255, 255, 255, 0.85);
}

.why-icon {
  width: 48px;
  height: 48px;
  fill: var(--color-primary-green);
  margin-bottom: 1.5rem;
}

/* --- AREAS WE SERVICE --- */
.areas-section {
  background-color: var(--color-neutral-base);
}

.areas-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

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

.suburb-card {
  background-color: var(--color-white);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(17, 57, 93, 0.04);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.suburb-card:hover, .suburb-card.active {
  border-color: var(--color-primary-green);
  background-color: var(--color-light-green-tint);
  transform: translateX(4px);
}

.suburb-card-icon {
  width: 20px;
  height: 20px;
  fill: var(--color-primary-green);
  transition: transform var(--transition-fast);
}

.suburb-card:hover .suburb-card-icon {
  transform: scale(1.2);
}

.suburb-name {
  font-weight: 600;
  color: var(--color-primary-navy);
  font-size: 0.95rem;
}

/* Interactive SVG Map Styling */
.map-container {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(17, 57, 93, 0.05);
  position: relative;
  width: 100%;
}

.svg-map {
  width: 100%;
  height: auto;
  display: block;
}

/* Styling internal SVG parts */
.map-island-base {
  fill: var(--color-neutral-base);
  stroke: #D2DBCF;
  stroke-width: 2.5;
  transition: fill var(--transition-normal);
}

.map-service-radius {
  fill: rgba(90, 132, 65, 0.06);
  stroke: var(--color-primary-green);
  stroke-width: 2;
  stroke-dasharray: 6, 4;
}

.map-sea {
  fill: #EEF4F8;
}

/* Suburb hotspots */
.map-pin {
  cursor: pointer;
  transition: transform var(--transition-fast);
}

.map-pin-circle {
  fill: var(--color-primary-navy);
  stroke: var(--color-white);
  stroke-width: 2;
  transition: all var(--transition-fast);
}

.map-pin-pulse {
  fill: var(--color-primary-green);
  opacity: 0.4;
  transform-origin: center;
  animation: pulse-ring 2s infinite;
}

.map-pin:hover .map-pin-circle, .map-pin.active .map-pin-circle {
  fill: var(--color-primary-green);
  r: 9;
}

.map-tooltip {
  position: absolute;
  background-color: var(--color-dark-navy-shade);
  color: var(--color-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-fast);
  transform: translate(-50%, -100%);
  margin-top: -15px;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.map-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--color-dark-navy-shade) transparent transparent transparent;
}

/* --- HOW IT WORKS --- */
.timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 4rem;
  position: relative;
}

/* Connection line */
.timeline::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: linear-gradient(to right, var(--color-light-green-tint) 0%, var(--color-primary-green) 50%, var(--color-light-green-tint) 100%);
  z-index: 1;
}

.timeline-step {
  width: 22%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.timeline-number {
  width: 80px;
  height: 80px;
  background-color: var(--color-white);
  border: 4px solid var(--color-light-green-tint);
  color: var(--color-primary-navy);
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.timeline-step:hover .timeline-number {
  border-color: var(--color-primary-green);
  color: var(--color-primary-green);
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.timeline-step h3 {
  font-size: 1.15rem;
  color: var(--color-primary-navy);
  margin-bottom: 0.5rem;
}

.timeline-step p {
  font-size: 0.9rem;
}

/* --- TESTIMONIALS --- */
.testimonials-section {
  overflow: hidden;
}

.testimonials-carousel {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding: 0 3rem;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform var(--transition-normal);
  width: 100%;
}

.testimonial-card {
  min-width: 100%;
  /* flex-shrink: 0; */
  box-sizing: border-box;
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(17, 57, 93, 0.03);
  text-align: center;
}

.star-rating {
  color: #F5A623;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.quote-text {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--color-primary-navy);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.author-name {
  font-weight: 700;
  color: var(--color-neutral-text);
  font-size: 1.05rem;
}

.author-location {
  font-size: 0.85rem;
  color: var(--color-primary-green);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Controls */
.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-navy);
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  border: 1px solid rgba(17, 57, 93, 0.05);
}

.carousel-nav-btn:hover {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.carousel-nav-btn-prev {
  left: 0;
}

.carousel-nav-btn-next {
  right: 0;
}

.carousel-nav-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: #D2DBCF;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  background-color: var(--color-primary-green);
  width: 24px;
}

/* --- CALL TO ACTION BAND --- */
.cta-band {
  background-color: var(--color-dark-navy-shade);
  color: var(--color-white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.cta-text-side h2 {
  color: var(--color-white);
  font-size: 2.75rem;
}

.phone-showcase {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.phone-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-navy-shade);
}

.phone-icon-box svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.phone-details-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 250, 247, 0.7);
  display: block;
}

.phone-number-link {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  transition: color var(--transition-fast);
}

.phone-number-link:hover {
  color: var(--color-primary-green);
}

/* Inline Quote Form */
.quote-form-card {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  color: var(--color-neutral-text);
}

.quote-form-card h3 {
  color: var(--color-primary-navy);
  margin-bottom: 1.5rem;
}

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

.form-group-full {
  grid-column: span 2;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background-color: var(--color-neutral-base);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  outline: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-primary-green);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(90, 132, 65, 0.15);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2311395D'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

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

/* Form success dialog override overlay style */
.form-container-box {
  position: relative;
}

.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-white);
  z-index: 15;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.form-success-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.success-icon {
  width: 72px;
  height: 72px;
  background-color: var(--color-light-green-tint);
  color: var(--color-primary-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.success-icon svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

/* --- DEDICATED CONTACT PAGE --- */
.contact-hero {
  background-color: var(--color-dark-navy-shade);
  color: var(--color-white);
  padding: calc(var(--header-height) + 4rem) 0 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
}

.contact-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-hero h1 {
  color: var(--color-white);
  font-size: 3rem;
  position: relative;
  z-index: 2;
}

.contact-hero-lead {
  max-width: 600px;
  margin: 1rem auto 0 auto;
  color: rgba(250, 250, 247, 0.85);
  position: relative;
  z-index: 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: -2rem;
  position: relative;
  z-index: 5;
}

.contact-info-card {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(17, 57, 93, 0.05);
}

.contact-info-block {
  margin-bottom: 2.5rem;
}

.contact-info-block h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-info-block h3 svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary-green);
}

.contact-info-block p {
  font-size: 1rem;
  color: var(--color-neutral-text);
  margin-bottom: 0.35rem;
}

.suburbs-list-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.suburb-badge-item {
  background-color: var(--color-light-green-tint);
  color: var(--color-dark-green-shade);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.embedded-contact-map {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-inset);
  position: relative;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--color-dark-navy-shade);
  color: var(--color-white);
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--color-primary-green);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-logo img {
  height: 48px;
  margin-bottom: 1.5rem;
}

.footer-col p {
  font-size: 0.95rem;
  color: rgba(250, 250, 247, 0.75);
  margin-bottom: 1.5rem;
}

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

.footer-link a {
  color: rgba(250, 250, 247, 0.75);
  transition: all var(--transition-fast);
  font-size: 0.95rem;
  display: inline-block;
}

.footer-link a:hover {
  color: var(--color-primary-green);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  color: rgba(250, 250, 247, 0.75);
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-primary-green);
  flex-shrink: 0;
}

.footer-contact-item a:hover {
  color: var(--color-primary-green);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link-btn {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all var(--transition-fast);
}

.social-link-btn:hover {
  background-color: var(--color-primary-green);
  color: var(--color-dark-navy-shade);
  transform: translateY(-3px);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 250, 247, 0.6);
}

/* --- MOBILE BOTTOM STICKY BAR --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: var(--color-dark-navy-shade);
  box-shadow: 0 -4px 16px rgba(10, 38, 64, 0.15);
  z-index: 999;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 0.5rem;
}

.mobile-cta-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.mobile-cta-call {
  background-color: var(--color-light-navy-tint);
  color: var(--color-white);
}

.mobile-cta-quote {
  background-color: var(--color-primary-green);
  color: var(--color-dark-navy-shade);
}

/* --- SCROLL TRIGGER ANIMATION UTILITIES --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- ANIMATION KEYFRAMES --- */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

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

/* --- RESPONSIVE MEDIA QUERIES --- */

/* Breakpoint 1440px - Large Desktop Scaling */
@media (min-width: 1441px) {
  .container {
    max-width: 1400px;
  }
}

/* Breakpoint 1024px - Tablets and Laptops */
@media (max-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  nav{
    display: none;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .areas-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .cta-band-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Breakpoint 768px - Portrait Tablets and Large Mobiles */
@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Allow space for mobile sticky cta */
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .site-header .btn-primary {
    display: none; /* Hide Quote button in header on mobile, rely on burger & sticky bar */
  }
  
  .burger-menu {
    display: flex;
  }
  
  /* Mobile menu burger animations */
  .burger-menu.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  
  .burger-menu.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .hero-collage {
    height: 380px;
    margin-top: 2rem;
  }
  
  .collage-img-1 {
    width: 240px;
    height: 300px;
  }
  
  .collage-img-2 {
    width: 200px;
    height: 180px;
  }
  
  .about-image-wrapper::before {
    left: -0.75rem;
    top: 0.75rem;
  }
  
  .about-image {
    height: 320px;
  }
  
  .timeline {
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
  }
  
  .timeline::after {
    display: none; /* Hide connection line on mobile */
  }
  
  .timeline-step {
    width: 100%;
    display: flex;
    text-align: left;
    gap: 1.5rem;
    align-items: center;
  }
  
  .timeline-number {
    margin: 0;
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  
  .testimonials-carousel {
    padding: 0 1.5rem;
  }
  
  .carousel-nav-btn {
    display: none; /* Rely on drag/dots on mobile */
  }
  
  .mobile-sticky-cta {
    display: grid;
  }
  
  .trust-strip {
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* Breakpoint 480px - Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .suburbs-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .quote-form-card {
    padding: 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group-full {
    grid-column: span 1;
  }
  
  .hero-collage {
    display: none; /* Hide collage on very small mobile for reading comfort */
  }
}

/* ==========================================
 * 8. CAPTCHA WIDGET & ERROR STYLING
 * ========================================== */
.captcha-container {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.captcha-error-message {
  font-weight: 500;
}

