@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@400;500;600;700&display=swap');

:root {
  --primary-blue: #007ACC;
  --dark-grey: #333333;
  --medium-grey: #666666;
  --light-blue: #F0F8FF;
  --accent-yellow: #FFD700;
  --white: #FFFFFF;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--dark-grey);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ LOADING PROGRESS BAR ============ */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: var(--primary-blue);
  z-index: 9999;
  transition: width 0.3s ease;
}

/* ============ HEADER ============ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  z-index: 1000;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.scrolled {
  height: 65px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-blue);
  display: none;
}

nav {
  display: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-grey);
  position: relative;
  transition: color var(--transition-speed);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: all var(--transition-speed);
  transform: translateX(-50%);
}

nav a:hover::after {
  width: 100%;
}

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

.header-cta {
  display: none;
}

.emergency-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-yellow);
  color: var(--dark-grey);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 25px;
  transition: all var(--transition-speed);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.emergency-btn:hover {
  background: #E6C200;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--primary-blue);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: 25px;
  transition: all var(--transition-speed);
}

.secondary-btn:hover {
  background: #006099;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 122, 204, 0.3);
}

/* Mobile Header */
.mobile-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark-grey);
  border-radius: 3px;
  transition: all var(--transition-speed);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  transition: right 0.4s ease;
  padding: 100px 30px 30px;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu ul {
  list-style: none;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--dark-grey);
  border-bottom: 1px solid #eee;
}

.mobile-menu .emergency-btn-mobile {
  display: inline-flex;
  margin-top: 20px;
  padding: 15px 30px;
  background: var(--accent-yellow);
  color: var(--dark-grey);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  border-radius: 30px;
  animation: pulse 2s infinite;
}

.mobile-menu .secondary-btn-mobile {
  display: inline-flex;
  margin-top: 15px;
  margin-left: 10px;
  padding: 15px 30px;
  background: var(--primary-blue);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  border-radius: 30px;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============ HERO SECTION ============ */
.hero {
  min-height: 100vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23007ACC" stroke-width="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}

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

.hero h1 {
  font-size: 36px;
  line-height: 1.2;
  color: var(--dark-grey);
  margin-bottom: 20px;
}

.hero-subtext {
  font-size: 16px;
  color: var(--medium-grey);
  margin-bottom: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.hero .emergency-btn {
  font-size: 16px;
  padding: 15px 35px;
}

.hero-video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-video video,
.hero-video img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============ SECTION STYLES ============ */
section {
  padding: 80px 0;
}

.section-light {
  background: var(--light-blue);
}

.section-white {
  background: var(--white);
}

.section-grey {
  background: #EDEDED;
}

.section-dark {
  background: var(--primary-blue);
  color: var(--white);
}

.section-title {
  font-size: 28px;
  color: var(--dark-grey);
  margin-bottom: 20px;
  text-align: center;
}

.section-subtitle {
  font-size: 16px;
  color: var(--medium-grey);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
}

/* ============ EMERGENCY QUICK LINKS ============ */
.emergency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.emergency-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-speed);
  cursor: pointer;
}

.emergency-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.emergency-card svg {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
  color: var(--primary-blue);
}

.emergency-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-grey);
}

.emergency-card p {
  font-size: 14px;
  color: var(--medium-grey);
}

/* ============ WHY CHOOSE US ============ */
.why-choose-us {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--light-blue);
  opacity: 0.95;
}

.why-choose-us .container {
  position: relative;
  z-index: 1;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.why-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.why-content p {
  color: var(--medium-grey);
  margin-bottom: 30px;
}

.why-list {
  list-style: none;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.why-list svg {
  width: 30px;
  height: 30px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.why-list span {
  font-weight: 500;
}

/* ============ OUR PROCESS ============ */
.process-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.process-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary-blue);
}

.process-step h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--medium-grey);
  max-width: 250px;
  margin: 0 auto;
}

.process-connector {
  display: none;
}

/* ============ SERVICES OVERVIEW ============ */
.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.service-block.reverse {
  direction: ltr;
}

.service-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.service-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-content h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark-grey);
}

.service-content p {
  color: var(--medium-grey);
  margin-bottom: 20px;
}

.service-content .secondary-btn {
  align-self: flex-start;
}

/* ============ TRUST METRICS ============ */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  text-align: center;
}

.metric-card {
  padding: 30px 20px;
}

.metric-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.metric-label {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 10px;
}

/* ============ TESTIMONIALS ============ */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  color: var(--dark-grey);
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
}

.testimonial-location {
  font-size: 14px;
  color: var(--medium-grey);
  margin-top: 5px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-blue);
  background: transparent;
  color: var(--primary-blue);
  cursor: pointer;
  transition: all var(--transition-speed);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--medium-grey);
  opacity: 0.3;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.carousel-dot.active {
  background: var(--primary-blue);
  opacity: 1;
  transform: scale(1.2);
}

/* ============ SERVICE AREA ============ */
.service-area-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.area-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.area-list li {
  padding: 10px 20px;
  background: var(--light-blue);
  border-radius: 20px;
  font-size: 14px;
  color: var(--dark-grey);
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

/* ============ SECONDARY CTA BANNER ============ */
.cta-banner {
  text-align: center;
  padding: 60px 20px;
}

.cta-banner h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

/* ============ BLOG SNIPPETS ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-speed);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-grey);
}

.blog-content p {
  font-size: 14px;
  color: var(--medium-grey);
  margin-bottom: 15px;
}

.blog-link {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ============ CONTACT QUICK ============ */
.contact-quick {
  text-align: center;
}

.contact-quick h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.contact-quick p {
  color: var(--medium-grey);
  margin-bottom: 30px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

/* ============ FOOTER ============ */
footer {
  background: var(--dark-grey);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 50px;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 20px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--primary-blue);
}

.footer-column h4 {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed);
}

.footer-column a:hover {
  color: var(--primary-blue);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
}

.social-links a:hover {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.social-links svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ SERVICES PAGE STYLES ============ */
.page-hero {
  min-height: 50vh;
  padding-top: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.page-hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.page-hero p {
  font-size: 18px;
  color: var(--medium-grey);
  max-width: 600px;
}

/* Services Navigation */
.services-nav {
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 80px;
  z-index: 100;
}

.services-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
}

.services-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--medium-grey);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all var(--transition-speed);
}

.services-nav a:hover,
.services-nav a.active {
  background: var(--primary-blue);
  color: var(--white);
}

/* Service Cards Grid */
.service-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-speed);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

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

.service-card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-grey);
}

.service-card-content p {
  font-size: 14px;
  color: var(--medium-grey);
  margin-bottom: 15px;
}

/* Why AquaFlow Section */
.advantage-list {
  list-style: none;
}

.advantage-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.advantage-list svg {
  width: 25px;
  height: 25px;
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.advantage-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--dark-grey);
}

.advantage-list span {
  font-size: 14px;
  color: var(--medium-grey);
}

/* ============ ABOUT PAGE STYLES ============ */
.about-story {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-story-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-story-image img {
  width: 100%;
  height: auto;
}

.about-story-content h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.about-story-content p {
  color: var(--medium-grey);
  margin-bottom: 15px;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.value-card svg {
  width: 50px;
  height: 50px;
  color: var(--primary-blue);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.value-card p {
  font-size: 14px;
  color: var(--medium-grey);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.team-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.team-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

.team-card h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.team-card .title {
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.team-card p {
  font-size: 14px;
  color: var(--medium-grey);
}

/* Certifications */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.cert-item svg {
  width: 30px;
  height: 30px;
  color: var(--primary-blue);
}

.cert-item span {
  font-weight: 500;
  color: var(--dark-grey);
}

/* ============ TESTIMONIALS PAGE STYLES ============ */
.rating-display {
  text-align: center;
  margin-bottom: 40px;
}

.rating-stars {
  color: var(--accent-yellow);
  font-size: 36px;
  margin-bottom: 10px;
}

.rating-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--dark-grey);
}

.rating-reviews {
  color: var(--medium-grey);
  font-size: 16px;
}

/* Testimonial Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-block {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-block .quote {
  font-size: 16px;
  font-style: italic;
  color: var(--dark-grey);
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-block .author {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--primary-blue);
}

.testimonial-block .meta {
  font-size: 14px;
  color: var(--medium-grey);
}

/* Submit Testimonial Form */
.testimonial-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #eee;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.star-rating {
  display: flex;
  gap: 10px;
}

.star-rating button {
  background: none;
  border: none;
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  transition: color var(--transition-speed);
}

.star-rating button.active,
.star-rating button:hover {
  color: var(--accent-yellow);
}

/* ============ CONTACT PAGE STYLES ============ */
.emergency-block {
  background: var(--accent-yellow);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  margin-bottom: 60px;
}

.emergency-block h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.emergency-block .phone {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-grey);
  display: block;
  margin: 20px 0;
}

.emergency-block .subtext {
  font-size: 16px;
  color: var(--dark-grey);
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.contact-form > p {
  color: var(--medium-grey);
  margin-bottom: 30px;
}

.contact-info h3 {
  font-size: 20px;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.info-item svg {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
  margin-top: 3px;
}

.info-item strong {
  display: block;
  margin-bottom: 5px;
}

.info-item span {
  font-size: 14px;
  color: var(--medium-grey);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.hours-list li:last-child {
  border-bottom: none;
}

/* FAQ Accordion */
.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-grey);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-speed);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--medium-grey);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ============ SCROLL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s ease;
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ============ PREFERS REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1;
    transform: none;
  }
  
  .progress-bar {
    display: none;
  }
}

/* ============ RESPONSIVE STYLES ============ */

/* Tablet */
@media (min-width: 768px) {
  .header-cta {
    display: flex;
    align-items: center;
    gap: 15px;
  }
  
  .logo-text {
    display: block;
  }
  
  .hero-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-cta {
    flex-direction: row;
    justify-content: flex-start;
  }
  
  .hero h1 {
    font-size: 42px;
  }
  
  .section-title {
    font-size: 36px;
  }
  
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .process-connector {
    display: block;
    position: absolute;
    top: 40px;
    left: calc(25% + 40px);
    width: calc(50% - 80px);
    height: 2px;
    background: var(--primary-blue);
  }
  
  .service-block {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-block.reverse .service-image {
    order: 2;
  }
  
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-story {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-area-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .contact-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  header {
    height: 90px;
  }
  
  nav {
    display: block;
  }
  
  .mobile-header {
    display: none;
  }
  
  .hero h1 {
    font-size: 52px;
  }
  
  .hero-subtext {
    font-size: 18px;
  }
  
  section {
    padding: 100px 0;
  }
  
  .section-title {
    font-size: 42px;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  
  .services-nav ul {
    gap: 30px;
  }
  
  .page-hero {
    min-height: 60vh;
  }
  
  .page-hero h1 {
    font-size: 48px;
  }
}
