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

html {
  scroll-behavior: smooth;
  font-size: 100%; /* base = 16px */
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f9fa;
  color: #222;
  line-height: 1.6;
}

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

ul {
  list-style: none;
}

/* HEADER */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #fff;
  height: 5.9rem; /* 95px converted to rem */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  z-index: 10000;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  transition: padding 0.3s ease;
}

/* Logo */
.logo {
  font-weight: 700;
  font-size: 1.6rem;
  color: #31ADC6;
  letter-spacing: 0.075rem;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #2385a0;
}

.logo-img {
  height: 5rem;
  width: auto;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.logo-img:hover {
  filter: brightness(1.1);
}

/* NAV */
nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-weight: 600;
  font-size: 1.1rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 0.6rem 2rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  border-radius: 0 0 1.25rem 1.25rem;
  position: sticky;
  top: 0;
  z-index: 2000;
}

nav > ul {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropbtn {
  cursor: pointer;
  user-select: none;
  color: #004080;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropbtn:hover,
.dropdown:hover > .dropbtn {
  background: #31ADC6;
  color: white;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 14rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  border-radius: 0.5rem;
  top: 100%;
  left: 0;
  z-index: 1000;
  padding: 0.6rem 0;
}

.dropdown-content li a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: #004080;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
  border-radius: 0.375rem;
}

.dropdown-content li a:hover {
  background-color: #31ADC6;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

nav > ul > li.dropdown {
  padding-right: 0.6rem;
}

/* Buttons */
.call-btn, .book-btn {
  border-radius: 50px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.call-btn {
  background: #31ADC6;
  color: white;
  padding: 0.5rem 1.125rem;
  font-size: 0.9rem;
  box-shadow: 0 0.25rem 0.625rem rgba(49, 173, 198, 0.6);
}

.call-btn:hover {
  background: #2385a0;
  box-shadow: 0 0.375rem 0.9375rem rgba(35, 133, 160, 0.8);
}

.book-btn {
  background: #004080;
  color: #fff;
  padding: 0.625rem 1.125rem;
  font-size: 1.1rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 64, 128, 0.6);
}

.book-btn:hover {
  background: #ffbf00;
  box-shadow: 0 0.375rem 1.125rem rgba(255, 191, 0, 0.8);
}

/* Promo Popup Overlay */
.promo-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

/* Content Box */
.promo-content {
  background: #ffffff;
  border-radius: 18px;
  padding: 40px 32px;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: center;
  color: #333;
  font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.4s ease-out forwards;
  border-top: 6px solid #31adc6;
}

/* Headline */
.promo-heading {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

/* Subtext */
.promo-subtext {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: #555;
}

/* CTA Button */
.promo-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #31adc6;
  color: #fff;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.promo-button:hover {
  background-color: #2694a9;
}

/* Close Button */
.close-promo {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-promo:hover {
  color: #31adc6;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 480px) {
  .promo-content {
    padding: 28px 20px;
  }

  .promo-heading {
    font-size: 1.4rem;
  }

  .promo-subtext {
    font-size: 1rem;
  }
}

/* Media Queries */
@media (max-width: 1024px) {
  header {
    padding: 0 4vw;
  }

  nav {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .logo-img {
    height: 4rem;
  }
}

@media (max-width: 768px) {
  nav > ul {
    flex-direction: column;
    gap: 1rem;
  }

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

  .call-btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  header {
    flex-direction: column;
    height: auto;
    padding: 0.75rem 4vw;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.3rem;
  }

  nav {
    gap: 1rem;
    padding: 0.5rem 1rem;
  }
}

/* HERO SECTION */
.hero {
  height: 90vh;
  background: url('https://i.imgur.com/WLohx7E.jpeg') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
  margin-top: 5.3rem; /* fixed header height */
}

.hero::after {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 64, 128, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5rem;
  max-width: 90rem;
  width: 100%;
  margin: 0 auto;
  padding: 4.5rem;
  color: #fff;
  background-color: rgba(0, 64, 128, 0.6);
  border-radius: 2.5rem;
  font-size: 1.2rem;
}

.hero-left {
  flex: 1;
  max-width: 43.75rem;
  margin-right: 2rem;
}

.hero-left h1 {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.6);
  color: #fff;
}

.hero-left p {
  font-size: 1.3rem;
  line-height: 1.4;
  margin-bottom: 2rem;
  max-width: 37.5rem;
  text-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.5);
  color: #e6f7fb;
}

.hero-badges {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.hero-tag {
  background-color: #ffffffcc;
  color: #004080;
  padding: 0.625rem 1.125rem;
  border-radius: 1.5625rem;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 0.125rem 0.375rem rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
  border: 1px solid #dce3f0;
}

.hero-tag:hover {
  transform: scale(1.05);
}

.hero-right {
  flex: 1;
  max-width: 31.25rem;
  background: #ffffffcc;
  padding: 3.75rem 2rem;
  border-radius: 1.875rem;
  color: #004080;
  text-align: center;
  box-shadow: 0 0.5rem 1.25rem rgba(0,0,0,0.1);
}

.hero-right h2,
.hero-right p {
  color: #004080;
  margin-bottom: 1rem;
}

.hero-right .checkmark {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  border: 0.25rem solid #ffd700;
  position: relative;
  animation: scaleIn 0.3s ease forwards;
  margin: 1.25rem auto;
}

.hero-right .checkmark::after {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 2.2rem;
  width: 1.25rem;
  height: 2.5rem;
  border-right: 0.25rem solid #004080;
  border-bottom: 0.25rem solid #004080;
  transform: rotate(45deg) scale(0);
  animation: check 0.4s 0.3s ease forwards;
}

.hero-right h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #004080;
  margin-bottom: 1.5rem;
}

.hero-right select,
.hero-right input,
.hero-right button {
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.3125rem;
  border: none;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.hero-right button {
  background: #31ADC6;
  color: #fff;
  font-weight: 700;
  border-radius: 90px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 0.25rem 0.625rem rgba(49, 173, 198, 0.6);
}

.hero-right button:hover {
  background: #ffbf00;
}

.form-disclaimer {
  font-size: 0.75rem;
  color: #666;
  margin-top: 0.625rem;
}

.form-disclaimer a {
  color: #004080;
  text-decoration: underline;
}

.hero-right .form-success-message {
  display: none;
  margin-top: 1.25rem;
  color: #004080;
  font-weight: 600;
  text-align: center;
  animation: fadeIn 0.5s ease forwards;
}

.hero-right .form-success-message .book-now-btn {
  margin-top: 1rem;
  display: inline-block;
  background: #31ADC6;
  color: white;
  padding: 0.75rem 1.875rem;
  border-radius: 90px;
  font-weight: 700;
  box-shadow: 0 0.25rem 0.625rem rgba(49, 173, 198, 0.6);
  transition: background 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.hero-right .form-success-message .book-now-btn:hover {
  background: #ffbf00;
}

/* Animations */
@keyframes check {
  to { transform: rotate(45deg) scale(1); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    padding: 2.5rem;
  }

  .hero-left, .hero-right {
    max-width: 100%;
  }

  .hero-left h1 {
    font-size: 3rem;
  }

  .hero-left p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 2rem 1rem;
  }

  .hero-content {
    padding: 2rem 1rem;
    gap: 1.5rem;
  }

  .hero-left h1 {
    font-size: 2.5rem;
  }

  .hero-left p {
    font-size: 1.1rem;
  }

  .hero-right {
    padding: 2rem 1.25rem;
  }

  .hero-tag {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 2rem;
  }

  .hero-left p {
    font-size: 1rem;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .hero-right button,
  .hero-right input,
  .hero-right select {
    font-size: 0.95rem;
    padding: 0.6rem 0.9rem;
  }

  .hero-tag {
    font-size: 0.85rem;
  }
}

/* ABOUT SECTION */
.about-section {
  padding: 5rem 1.25rem;
  background: #f8fdff;
  font-family: 'Poppins', sans-serif;
}

.about-section .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 87.5rem; /* 1400px */
  padding: 0 2.5rem;
  margin: 0 auto;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  color: #004080;
  max-width: 43.75rem; /* 700px */
  margin: 0 auto;
  padding: 2.5rem 1.875rem;
  text-align: left;
}

.about-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 1.25rem;
  color: #31ADC6;
}

.about-text h2 {
  font-size: clamp(1.4rem, 3.5vw, 1.8rem);
  margin: 1.875rem 0 0.9375rem;
  color: #004080;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  color: #333;
}

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

.about-list li {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.about-list li strong {
  color: #31ADC6;
}

.about-images {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.about-img {
  width: 100%;
  max-width: 28.125rem; /* 450px */
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
}

.img-top {
  align-self: flex-start;
  transform: translate(3.125rem, 6.25rem); /* 50px, 100px */
}

.img-bottom {
  align-self: flex-end;
  transform: translate(3.125rem, 6.25rem);
}

.about-cta-btn {
  display: inline-block;
  background: #31ADC6;
  color: white;
  padding: 0.875rem 2.5rem;
  border-radius: 3.125rem;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  margin-top: 1.875rem;
  transition: background 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.1);
}

.about-cta-btn:hover {
  background: #2385a0;
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .about-section .container {
    flex-direction: column;
    text-align: center;
    padding: 0 2.5rem;
  }
  .about-text {
    text-align: center;
  }
  .about-images {
    flex-direction: row;
    justify-content: center;
  }
  .img-top, .img-bottom {
    align-self: center;
    max-width: 45%;
    transform: none;
  }
}

@media (max-width: 600px) {
  .about-images {
    flex-direction: column;
    gap: 1.25rem;
  }
  .img-top, .img-bottom {
    max-width: 100%;
  }
}

/* SERVICES SECTION */
#services {
  padding: 5rem 1.25rem; /* 80px → 5rem, 20px → 1.25rem */
  background: #e6f7fb;
  text-align: center;
}

#services h2 {
  font-size: clamp(1.8rem, 5vw, 2.8rem); /* scales better across screen sizes */
  font-weight: 700;
  color: #31ADC6;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 75rem; /* 1200px → 75rem */
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 75rem) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    padding: 0 2rem;
  }

  .services-grid .service-card:nth-child(4) {
    grid-column: 2;
  }
}

.service-card {
  background: white;
  border-radius: 0.75rem; /* 12px */
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid #31ADC6;
  box-shadow: 0 0 20px rgba(49, 173, 198, 0.5);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-card img {
  width: 100%;
  height: 12.5rem; /* 200px */
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #004080;
  font-weight: 700;
}

.service-card p {
  font-size: 1rem;
  color: #555;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 1rem;
  background: #31ADC6;
  color: white;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s ease;
  cursor: pointer;
}

.learn-more-btn:hover {
  background: #2385a0;
}

/* MODAL SECTION */
.service-modal {
  background: white;
  max-width: 62.5rem; /* 1000px */
  width: 90%;
  border-radius: 0.75rem;
  padding: 3rem;
  position: relative;
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid #31ADC6;
  box-shadow: 0 0 20px rgba(49, 173, 198, 0.5);
}

.service-modal h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: #31ADC6;
}

.service-modal p {
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
  color: #444;
}

.service-modal ul li {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

/* === Checklist Grid Section === */
#checklist {
  background-color: #f8fdff;
  padding: 5rem 1.25rem; /* 80px → 5rem, 20px → 1.25rem */
}
#checklist h1 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 3rem; /* 50px → 3rem */
  font-size: 2.5rem; /* Slightly reduced for better scaling */
  color: #31ADC6;
}

/* Checklist Table */
#checklistTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: white;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.05); /* 8px, 20px → rem */
}

#checklistTable th,
#checklistTable td {
  border: 1px solid #ddd;
  padding: 1rem;
  vertical-align: top;
  word-wrap: break-word;
  font-size: 0.95rem;
}

#checklistTable th {
  background-color: #31ADC6;
  color: white;
  text-align: center;
}

.area-name {
  background-color: #e6f7fb;
  font-weight: 600;
  width: 11rem; /* 180px → 11.25rem, rounded */
  color: #004080;
}

.checklist-item {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.checklist-item i {
  color: #28a745;
  margin-right: 0.375rem;
  font-size: 0.85rem;
}

/* Responsive Table → Stack for Small Screens */
@media (max-width: 768px) {
  #checklistTable,
  #checklistTable thead,
  #checklistTable tbody,
  #checklistTable th,
  #checklistTable td,
  #checklistTable tr {
    display: block;
  }

  #checklistTable tr {
    margin-bottom: 1.25rem;
  }

  #checklistTable td {
    padding-left: 50%;
    position: relative;
    font-size: 1rem;
  }

  #checklistTable td::before {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 45%;
    white-space: nowrap;
    font-weight: bold;
    color: #31ADC6;
  }

  #checklistTable td:nth-of-type(1)::before { content: "Area"; }
  #checklistTable td:nth-of-type(2)::before { content: "Standard Cleaning"; }
  #checklistTable td:nth-of-type(3)::before { content: "Deep Cleaning"; }
  #checklistTable td:nth-of-type(4)::before { content: "Move In/Out Cleaning"; }

  #checklistTable th {
    display: none;
  }

  .area-name {
    background-color: transparent;
    font-weight: 700;
    color: #004080;
  }
}

/* Service Areas Section */
.service-areas {
  padding: 5rem 1.25rem;
  text-align: center;
  background: #e6f7fb;
}

.service-areas h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #31ADC6;
  margin-bottom: 3rem;
}

.areas-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.area-box {
  background: white;
  border-radius: 1.25rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 25rem;
  border: 2px solid #31ADC6;
  box-shadow: 0 0 20px rgba(49, 173, 198, 0.5);
}

.area-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.area-box h3 {
  margin: 0;
  padding: 1.25rem;
  font-size: 1.25rem;
  color: #004080;
  background: #ffffff;
  font-weight: 700;
}

.area-box:hover {
  transform: translateY(-0.625rem);
  box-shadow: 0 1rem 1.875rem rgba(0, 0, 0, 0.15);
}

/* Modal Styles */
.area-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.area-modal {
  background: white;
  width: 90%;
  max-width: 62.5rem;
  border-radius: 0.75rem;
  padding: 3rem 2rem;
  position: relative;
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid #31ADC6;
  box-shadow: 0 0 20px rgba(49, 173, 198, 0.5);
}

.area-modal-close {
  position: absolute;
  top: 0.625rem;
  right: 0.9375rem;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #004080;
}

.area-modal h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #31ADC6;
}

.area-modal p {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #444;
}

.area-modal ul {
  list-style: none;
  padding: 0;
}

.area-modal li {
  margin-bottom: 0.75rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .service-areas h2 {
    font-size: 2rem;
  }

  .area-box h3 {
    font-size: 1.1rem;
  }

  .area-modal {
    padding: 2rem 1.25rem;
  }

  .area-modal h2 {
    font-size: 1.5rem;
  }

  .area-modal p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .areas-grid {
    gap: 1.5rem;
  }

  .area-box {
    max-width: 100%;
  }

  .area-box img {
    aspect-ratio: 16 / 9;
  }
}

/* === Booking Form Section === */
#book-now {
  background: #fff;
  border-top: 3px solid #31adc6;
  border-bottom: 3px solid #31adc6;
  max-width: 1700px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.form-container {
  width: 100%;
  max-width: 100%; /* Allow container to shrink on smaller screens */
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  box-sizing: border-box;
}

.form-container h2 {
  font-size: 2rem;
  color: #004080; /* Adjusted from #ffff (white) so heading is visible */
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Make iframe scale responsively */
.form-container iframe {
  width: 100%;
  height: 380vh; /* Responsive height based on viewport height */
  max-height: 3700px; /* Optional max height */
  border: none;
  border-radius: 8px;
  display: block;
  box-sizing: border-box;
}

/* Responsive tweaks */
@media (max-width: 1200px) {
  #book-now {
    padding: 3rem 1.5rem;
  }
  
  .form-container {
    padding: 0.75rem;
  }
  
  .form-container iframe {
    height: 380vh;
  }
}

@media (max-width: 768px) {
  #book-now {
    padding: 2rem 1rem;
  }
  
  .form-container h2 {
    font-size: 1.6rem;
  }
  
  .form-container iframe {
    height: 380vh;
  }
}

@media (max-width: 480px) {
  .form-container h2 {
    font-size: 1.4rem;
  }
  
  .form-container iframe {
    height: 380vh;
  }
}

/* CONTACT */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.contact-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  animation: fadeInUp 1s ease both;
}

.contact-wrapper {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1750px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* LEFT - Contact Info */
.contact-info {
  flex: 1 1 350px;
  max-width: 550px;
  padding: 30px;
  background: #f1fbfd;
  border-left: 4px solid #31adc6;
  border-radius: 12px;
  color: #134d56;
  box-shadow: 0 4px 20px rgba(49, 173, 198, 0.1);
  box-sizing: border-box;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #31adc6;
}

.contact-info p {
  margin: 10px 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info i {
  color: #31adc6;
  font-size: 1.2rem;
}

/* MIDDLE - Form */
.contact-form {
  flex: 1 1 350px;
  max-width: 550px;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}

.contact-form h3 {
  font-size: 1.8rem;
  color: #31adc6;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  font-weight: 500;
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #31adc6;
  outline: none;
}

.submit-btn {
  background: #31adc6;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #269bb1;
}

.form-success {
  text-align: center;
  margin-top: 1rem;
  background-color: #e6f8f9;
  padding: 1rem;
  border: 1px solid #31adc6;
  border-radius: 8px;
  color: #22585f;
  display: none; /* toggle with JS if you add it */
}

/* RIGHT - Map */
.map-container {
  flex: 1 1 350px;
  max-width: 550px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 1700px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-info,
  .contact-form,
  .map-container {
    max-width: 90%;
    flex: 1 1 auto;
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .contact-info h3,
  .contact-form h3 {
    font-size: 1.5rem;
  }

  .submit-btn {
    width: 100%;
    padding: 0.75rem 0;
  }
  
  .contact-info p {
    font-size: 0.9rem;
  }
}

/* FOOTER */
footer {
  background: #333333;
  color: #fff; /* shortened */
  padding: 40px 20px;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  margin: 0 10px;
  display: inline-block;
  transition: color 0.3s ease; /* smoother hover */
}

footer a:hover {
  text-decoration: underline;
  color: #31ADC6; /* add brand color highlight on hover */
}

/* Responsive */

/* SERVICES GRID */
@media (max-width: 960px) {
  .services-grid {
    display: flex; /* ensure flex for column */
    flex-direction: column;
    align-items: center;
  }
  .service-item {
    width: 80%;
    max-width: 400px;
  }
}

/* HERO TEXT FONT SIZE */
@media (max-width: 460px) {
  .hero-content {
    font-size: 2.4rem;
  }
}

/* HERO LAYOUT */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px; /* added for spacing */
  }
  .hero-left,
  .hero-right {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .hero-right {
    padding: 10px;
  }
}

/* MODAL STYLES */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.modal {
  background: #fff;
  padding: 40px;
  max-width: 999px;
  width: 90%;
  border-radius: 16px;
  position: relative;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 30px rgba(49, 173, 198, 0.4);
  border: 3px solid #31ADC6;
  transition: box-shadow 0.3s ease;
}

.modal:hover {
  box-shadow: 0 18px 40px rgba(49, 173, 198, 0.7);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: #31ADC6;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #2385a0;
}

.modal img.modal-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
  object-fit: cover;
  box-shadow: 0 6px 18px rgba(49, 173, 198, 0.3);
}

/* CHECKLIST LIST */
.checklist {
  list-style: none;
  padding: 0 10px;
  margin: 25px auto;
  text-align: left;
  max-width: 600px;
}

.checklist li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #333;
  display: flex;
  align-items: center;
}

.checklist li i {
  color: #28a745;
  margin-right: 12px;
  font-size: 1.2rem;
}

/* BOOK NOW BUTTON */
.book-now-btn {
  display: inline-block;
  background: #31ADC6;
  color: #fff;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
  margin-top: 25px;
  box-shadow: 0 6px 15px rgba(49, 173, 198, 0.5);
  cursor: pointer;
  border: none;
}

.book-now-btn:hover {
  background: #2385a0;
  transform: scale(1.07);
  box-shadow: 0 9px 22px rgba(35, 133, 160, 0.7);
}

/* ESTIMATE MODAL */
.estimate-modal-overlay {
  background: rgba(49, 173, 198, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

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

.estimate-modal {
  background: #f0fbff;
  border: 4px solid #31ADC6;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  padding: 50px 35px;
  color: #004080;
  box-shadow: 0 12px 35px rgba(49, 173, 198, 0.45);
  transform: scale(0.85);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.estimate-modal-overlay.active .estimate-modal {
  transform: scale(1);
  opacity: 1;
}

.estimate-modal h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 35px;
  text-align: center;
  color: #004080;
}

.estimate-modal .modal-close {
  color: #004080;
  font-size: 2.4rem;
  position: absolute;
  top: 15px;
  right: 25px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.estimate-modal .modal-close:hover {
  color: #002855;
}

.estimate-modal input,
.estimate-modal select {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border: 2px solid #31ADC6;
  border-radius: 10px;
  font-size: 1.15rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.estimate-modal input:focus,
.estimate-modal select:focus {
  outline: none;
  border-color: #2385a0;
}

.estimate-modal .book-now-btn {
  margin-bottom: 15px;
}

.estimate-modal .form-terms {
  font-size: 0.9rem;
  color: #555;
  margin-top: 20px;
  text-align: center;
}

.estimate-modal .form-terms a {
  color: #004080;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.estimate-modal .form-terms a:hover {
  color: #002855;
}

/* CHECKMARK ANIMATION */
.checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-block;
  border: 4px solid #ffd700;
  position: relative;
  animation: scaleIn 0.3s ease forwards;
  margin: 25px auto;
}

.checkmark::after {
  content: '';
  position: absolute;
  left: 20px;
  top: 35px;
  width: 20px;
  height: 40px;
  border-right: 4px solid #004080;
  border-bottom: 4px solid #004080;
  transform: rotate(45deg) scale(0);
  animation: check 0.4s 0.3s ease forwards;
}

@keyframes check {
  to { transform: rotate(45deg) scale(1); }
}

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

/* ===== MOBILE STYLES ===== */
@media (max-width: 768px) {
  /* CONTACT SECTION STACKING */
  .contact-wrapper {
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
  }

  .contact-info,
  .contact-form,
  .map-container {
    max-width: 100%;
    padding: 20px;
    box-sizing: border-box;
  }

  .map-container iframe {
    min-height: 300px;
  }

  /* FORM FIELD ADJUSTMENTS */
  .form-group input,
  .form-group textarea {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .submit-btn {
    width: 100%;
  }

  /* HERO SECTION */
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .hero-left,
  .hero-right {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .hero-right {
    padding: 10px;
  }

  /* MODAL */
  .modal {
    padding: 25px 20px;
    width: 95%;
    max-width: 100%;
  }

  .modal img.modal-image {
    max-width: 100%;
  }

  .estimate-modal {
    padding: 35px 20px;
    width: 95%;
  }

  /* CHECKLIST */
  .checklist {
    padding: 0 10px;
  }

  /* FOOTER */
  footer {
    padding: 30px 10px;
    font-size: 0.85rem;
  }

  footer a {
    display: block;
    margin: 10px 0;
  }

  /* BUTTONS */
  .book-now-btn {
    width: 100%;
    font-size: 1rem;
    padding: 12px 24px;
  }
}

