/* =========================================================
   RESET & BASE
   ========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Push content below fixed navbar on DESKTOP only */
body, .main-content { padding-top: 77px; }

/* =========================================================
   HEADINGS & ANIMATIONS
   ========================================================= */
h1, h2, h3 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpBounce 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
h1 { animation-delay: 0.2s; }
h2 { animation-delay: 0.4s; }
h3 { animation-delay: 0.6s; }

h1:hover, h2:hover, h3:hover { transform: translateY(-2px); transition: transform 0.3s ease; }

@keyframes fadeUpBounce {
  0% { opacity: 0; transform: translateY(30px); }
  60% { opacity: 1; transform: translateY(-8px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  animation: heroTitleEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  animation-delay: 0.3s;
}

@keyframes heroTitleEntrance {
  0% { opacity: 0; transform: translateY(50px) scale(0.9); }
  50% { opacity: 0.8; transform: translateY(-10px) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  h1, h2, h3 {
    animation: fadeUp 0.5s ease-out forwards;
    transform: none;
  }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

section h2 { animation-duration: 1s; }

/* =========================================================
   DESKTOP/TABLET NAVBAR (TOP)
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 6rem;
  background: #b9e5ce;
  border-bottom: 2px solid #7ae582;
  transition: transform 0.4s ease-in-out;
}

.logo { display: flex; align-items: center; width: auto; }
.logo img { height: 120px; width: auto; display: block; }

.navbar .nav-links {
  display: flex; list-style: none; padding: 0; margin: 0; gap: 1.5rem;
}
.navbar .nav-links li { margin: 0; }
.navbar .nav-links a {
  color: #0d4b40; text-decoration: none;
  font-size: 1.1rem; font-weight: 500; letter-spacing: 0.05em;
  padding: 0.25rem 0; transition: color 0.3s ease;
  position: relative;
}
.navbar .nav-links a:hover { color: #0a74da; }
.navbar .nav-links a::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 0; height: 2px; background: #0a74da; transform: translateX(-50%);
  transition: width 0.3s ease;
}
.navbar .nav-links a:hover::after { width: 100%; }

/* =========================================================
   MOBILE NAVIGATION (HIDE OLD TOP BAR, SHOW BOTTOM ICON BAR)
   ========================================================= */
:root{
  --brand-green:#16b431;
  --brand-green-2:#7ae582;
  --brand-bg:#ffffff;
  --brand-text:#0d4b40;
  --shadow:0 10px 30px rgba(0,0,0,.08);
}

/* Hidden by default; appears on mobile */
.mobile-nav { display: none; }

@media (max-width: 768px) {
  /* Hide old/top navbar on mobile */
  .navbar { opacity: 0; visibility: hidden; pointer-events: none; }

  /* Remove desktop padding; add room for bottom bar */
  body, .main-content { padding-top: 0; }
  body { padding-bottom: 84px; }

  /* Simple four-column link grid when needed (fallback for legacy .navbar markup) */
  .navbar .nav-links {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem; width: 100%; text-align: center;
  }
  .logo { display: none; }

  /* Bottom icon bar */
  .mobile-nav{
    position:fixed; left:0; right:0; bottom:0; height:70px;
    background:var(--brand-bg);
    border-top:2px solid var(--brand-green-2);
    display:grid; grid-template-columns:1fr 1fr 80px 1fr 1fr;
    align-items:center; padding:0 10px; z-index:1200;
    box-shadow:0 -8px 24px rgba(0,0,0,.06);
  }
  .mobile-nav__item{
    height:100%; display:inline-flex; flex-direction:column;
    align-items:center; justify-content:center; gap:4px;
    text-decoration:none; color:var(--brand-text);
    font-size:11px; font-weight:600; opacity:.95;
    transition:transform .2s ease, opacity .2s ease;
  }
  .mobile-nav__item:active{ transform:scale(.96); opacity:.85; }
  .mobile-nav__item img{ width:24px; height:24px; object-fit:contain; display:block; }

  /* Center FAB (checkbox hack – no JS required) */
  .fab__checkbox{ position:absolute; opacity:0; pointer-events:none; }
  .fab{
    width:64px; height:64px; border-radius:50%;
    background:var(--brand-green); display:grid; place-items:center;
    box-shadow:var(--shadow); margin:0 auto; transform:translateY(-18px);
    border:3px solid #fff; cursor:pointer; transition:transform .25s ease;
  }
  .fab img{ width:28px; height:28px; filter:brightness(0) invert(1); }
  .fab:active{ transform:translateY(-18px) scale(.96); }
  #fab-toggle:checked + .fab{ background:#0f8d28; }

  /* Expanding mini menu */
  .fab-menu{
    position:fixed; bottom:78px; left:50%; transform:translateX(-50%);
    width:220px; height:170px; pointer-events:none;
  }
  .fab-item{
    position:absolute; left:50%; bottom:10px; transform:translate(-50%,0) scale(.9);
    background:#fff; border-radius:12px; padding:10px 12px; box-shadow:var(--shadow);
    display:inline-flex; align-items:center; gap:8px; text-decoration:none;
    color:var(--brand-text); font-size:12px; opacity:0;
    transition:transform .28s ease, opacity .2s ease;
  }
  .fab-item img{ width:22px; height:22px; object-fit:contain; }

  /* positions: up-left, up, up-right */ .fab-item:nth-child(1){ --tx:-80px; --ty:-12px; }
    .fab-item:nth-child(2){ --tx:0px;   --ty:-62px; }
    .fab-item:nth-child(3){ --tx:74px;  --ty:-12px; }

  #fab-toggle:checked ~ .fab-menu{ pointer-events:auto; }
  #fab-toggle:checked ~ .fab-menu .fab-item{
    opacity:1; transform:translate(calc(-50% + var(--tx)), var(--ty)) scale(1);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  width: 100%; height: 60vh; max-width: 100%;
  background: url("images/Vacuuming the Hall_edited.jpg") center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: white; position: relative;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(0,0,0,0.5); z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.hero h1 { font-size: 6rem; margin-bottom: 1rem; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; }
.hero .btn {
  display: inline-block; padding: 0.8rem 2rem; background: #0a74da; color: white;
  border-radius: 5px; transition: background 0.3s ease;
}
.hero .btn:hover { background: #055bb5; }

/* =========================================================
   LAYOUT
   ========================================================= */
section { padding: 4rem 2rem; max-width: 1800px; margin: auto; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { text-align: center; padding: 4rem 2rem; }
.about > p { max-width: 800px; margin: 0 auto 2rem; font-size: 1.1rem; }

.stats { display: flex; justify-content: center; gap: 8rem; }
.stat-item { display: flex; flex-direction: column; align-items: center; }
.stat-number { font-size: 6rem; font-weight: bold; color: green; margin: 0; }
.stat-text { font-size: 1rem; margin-top: 0.5rem; }

/* =========================================================
   SERVICES (UNIFIED)
   ========================================================= */
.services {
  text-align: center;
  padding: 6rem 2rem;
  background-color: #f9f9f9;
}
.services h2 { font-size: 2.5rem; margin-bottom: 3rem; color: #2c3e50; }
.service-list {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-top: 20px;
}
.service {
  flex: 1 1 calc(25% - 20px);
  text-align: center; background: #fff; padding: 2rem 1rem;
  border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service img { max-width: 100%; height: 150px; margin-bottom: 1rem; transition: transform 0.3s ease; cursor: pointer; }
.service img:hover { transform: scale(1.05); }
.service img:active { transform: scale(0.95); }
.service h3 { margin-top: 10px; font-size: 1.3rem; color: #333; }
.service p { font-size: 1rem; color: #555; }
.service:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

/* Green border for service buttons */
.service {
  border: 3px solid #16b431; /* brand green */
  border-radius: 12px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

/* Add subtle hover glow */
.service:hover {
  border-color: #4aee70; /* slightly darker green */
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(22,180,49,0.2);
}

/* Ensure consistent mobile layout */
@media (max-width: 768px) {
  .service {
    border-width: 2px;
  }
}

/* ===== Service Gallery Modal ===== */
.sg-modal { 
  position: fixed; inset: 0; z-index: 2000; 
  display: none;
}
.sg-modal.is-open { display: block; }
.sg-backdrop { position: absolute; inset: 0; background: rgba(23, 9, 209, 0.55); }
.sg-dialog {
  position: relative; z-index: 1;
  max-width: 1100px; width: 92%;
  margin: 6vh auto; background: #fff;
  border-radius: 14px; padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 30px 70px rgba(126, 238, 214, 0.575);
}
.sg-close {
  position: absolute; top: 10px; right: 14px;
  width: 40px; height: 40px; border-radius: 50%;
  border: none; background: #f1f5f4; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: #0d4b40;
}
.sg-title {
  margin: 0 0 1rem; font-size: 1.4rem; color: #0d4b40; font-weight: 700;
}
.sg-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
}
.sg-thumb {
  position: relative; overflow: hidden; border-radius: 10px; cursor: pointer;
  background: #f7f7f7;
}
.sg-thumb img {
  width: 100%; height: 160px; object-fit: cover; display: block;
  transition: transform .25s ease;
}
.sg-thumb:hover img { transform: scale(1.05); }

@media (max-width: 1024px) {
  .sg-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .sg-grid { grid-template-columns: repeat(2, 1fr); }
  .sg-dialog { margin: 4vh auto; padding: 1rem; }
}

/* Lightbox inside modal */
.sg-lightbox { 
  position: fixed; inset: 0; z-index: 2100; display: none;
  background: rgba(83, 137, 238, 0.85);
  align-items: center; justify-content: center; 
}
.sg-lightbox.is-open { display: flex; }
.sg-lightbox__img {
  max-width: 88vw; max-height: 78vh; border-radius: 10px; display: block;
}
.sg-lightbox__caption {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  max-width: 88vw; color: #fff; text-align: center; font-size: .95rem; opacity: .9;
}
.sg-lightbox__close {
  position: absolute; top: 16px; right: 20px;
  background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer;
}
.sg-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); color: #fff; border: none; 
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.4rem;
}
.sg-lightbox__prev { left: 20px; }
.sg-lightbox__next { right: 20px; }




/* Heading animation offsets */
.service h3 { animation-delay: 0.8s; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  font-size: 1.2rem; display: inline-block; margin-top: 20px; padding: 10px 20px;
  background-color: #16b431; color: #fff; text-decoration: none; transition: background-color 0.3s ease;
}
.btn:hover { background-color: #fff; color: #333; border: 1px solid #333; }

/* =========================================================
   BENEFITS
   ========================================================= */
.benefits { background-color: #2ecc71; color: white; padding: 60px 20px; text-align: center; }
.benefits h1 { font-size: 2.5rem; margin-bottom: 40px; }
.benefits-columns {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto;
}
.benefit h3 { font-size: 1.4rem; margin-bottom: 10px; animation-delay: 1s; }
.benefit p { font-size: 1rem; line-height: 1.5; }
/* ===== Benefits section: responsive fix ===== */
.benefits {
  background: #2ecc71;         /* keep your green */
  color: #fff;
  padding: 56px 16px;          /* tighter default padding */
}

.benefits .container {
  max-width: 1100px;
  margin: 0 auto;
}

.benefits h1 {
  font-size: clamp(1.6rem, 2.5vw + 1rem, 2.4rem);
  line-height: 1.2;
  text-align: center;
  margin-bottom: 28px;
  padding: 0 8px;              /* avoid edge clipping */
}

.benefits-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* Card */
.benefit {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
  overflow-wrap: anywhere;     /* prevent long words from pushing width */
}

.benefit h3 {
  font-size: clamp(1rem, 1vw + .8rem, 1.2rem);
  margin-bottom: 8px;
}

.benefit p {
  font-size: clamp(.9rem, .6vw + .7rem, 1rem);
  line-height: 1.55;
  opacity: 0.95;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
  .benefits-columns { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .benefits {
    padding: 28px 14px 96px;   /* extra bottom so it clears your bottom nav */
  }

  .benefits-columns {
    grid-template-columns: 1fr;/* single column */
    gap: 16px;
  }

  .benefit {
    padding: 16px 14px;
  }

  /* make sure nothing overflows horizontally */
  .benefits,
  .benefits * {
    max-width: 100%;
  }
}

/* Ultra-narrow safety */
@media (max-width: 360px) {
  .benefit h3 { font-size: 1rem; }
  .benefit p { font-size: .9rem; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: #fff; color: #333; padding: 60px 20px; text-align: center; }
.testimonials h1 { font-size: 2.5rem; margin-bottom: 40px; color: #2c3e50; }
.testimonial-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; max-width: 1000px; margin: 0 auto;
}
.testimonial {
  background: #f8f8f8; border-radius: 10px; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.testimonial p { font-style: italic; font-size: 1.1rem; margin-bottom: 15px; }
.testimonial h3 { font-weight: bold; color: #2ecc71; animation-delay: 1.2s; }

/* =========================================================
   CONTACT
   ========================================================= */
/* Contact Section Layout */
.contact-container {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; gap: 3rem;
}
.contact-info { flex: 1; display: flex; flex-direction: column; gap: 2rem; }
.contact-image img {
  width: 100%; border-radius: 16px; object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}
.contact-image img:hover { transform: scale(1.02); }
.contact-text h1 { font-size: 2.8rem; margin-bottom: 1rem; color: #16b431; }
.contact-text p { font-size: 1.1rem; line-height: 1.6; margin-bottom: 1.5rem; color: #444; }
.contact-details p { margin-bottom: 0.8rem; font-size: 1rem; }
.social-links { margin-top: 1rem; }
.social-links a { margin-right: 1rem; text-decoration: none; font-weight: 500; color: #16b431; transition: color 0.3s ease; }
.social-links a:hover { color: #0f8d28; }

.contact-form {
  flex: 1; background: linear-gradient(135deg, #ffffff, #f4fdf7);
  padding: 2.5rem; border-radius: 16px; box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem;
  animation: fadeUp 0.8s ease-in-out;
}
.contact-form h2 { grid-column: span 2; margin-bottom: 1rem; font-size: 1.8rem; color: #16b431; }
.form-group { display: flex; flex-direction: column; }
.form-group.full-width { grid-column: span 2; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 1rem; border: 1px solid #ddd; border-radius: 10px; font-size: 1rem; font-family: inherit;
  transition: all 0.3s ease; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus {
  border-color: #16b431; box-shadow: 0 0 0 3px rgba(22, 180, 49, 0.2); outline: none;
}
.contact-form button {
  grid-column: span 2; padding: 1rem; background: #16b431; color: white; border: none; border-radius: 12px;
  font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: background 0.3s ease, transform 0.2s;
}
.contact-form button:hover { background: #0f8d28; transform: translateY(-2px); }

/* Contact Responsive */
@media (max-width: 1024px) {
  .contact-container { flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form h2, .contact-form .form-group.full-width, .contact-form button { grid-column: span 1; }
}
/* ====== CONTACT PAGE MOBILE CENTERING ====== */
@media (max-width: 768px) {
  /* Center all contact section content */
  .contact-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.2rem;
    text-align: center;
    gap: 2rem;
  }

  /* Center image and text */
  .contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    width: 100%;
  }

  .contact-image img {
    max-width: 90%;
    border-radius: 14px;
    margin: 0 auto;
  }

  .contact-text h1 {
    font-size: 2rem;
    margin-top: 1rem;
  }

  .contact-text p {
    max-width: 500px;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
  }

  .contact-details p {
    margin: 0.3rem 0;
    font-size: 1rem;
  }

  .social-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    margin-top: 1rem;
  }

  /* Center form under image/text */
  .contact-form {
    width: 95%;
    max-width: 600px;
    margin: 0 auto;
    text-align: left; /* keep labels aligned but still centered container */
    background: linear-gradient(145deg, #ffffff, #f4fdf7);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
  }

  .contact-form h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
  }

  .contact-form button {
    width: 100%;
    margin-top: 1rem;
  }

  /* Adjust footer for spacing under mobile nav */
  body {
    padding-bottom: 80px;
  }
}

/* =========================================================
   ABOUT – MISSION / CONVENIENCE
   ========================================================= */
.about-section.mission h2 { font-size: 2.2rem; color: #125c4d; margin-bottom: 1rem; }
.about-hero { text-align: center; color: #b9e5ce; }
.about-section.mission p { font-size: 1.1rem; line-height: 1.7; }

.about-section.convenience {
  position: relative; color: white; overflow: hidden;
  background: url("images/cleaning.jpeg") no-repeat center center/cover;
}
.about-section.convenience .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); z-index: 1; }
.about-section.convenience h2, .about-section.convenience p { position: relative; z-index: 2; }
.about-section.convenience h2 { color: #20ccac; }

.convenience-image {
  background: url("images/cleaning.jpeg") no-repeat center center/cover;
  min-height: 400px; border-radius: 10px; position: relative; z-index: 2;
}

@media (max-width: 768px) {
  .about-section.mission, .about-section.convenience { text-align: center; }
  .about-section.mission img { margin-top: 2rem; }
  .convenience-image { display: none; }
  .about-section.convenience { background: url("images/cleaning.jpeg") no-repeat center center/cover; }
  .about-section.convenience .overlay { background: rgba(0,0,0,0.6); }
}
/* ===== Responsive Fix: About "Our Values" Section ===== */
.about-section.values {
  padding: 4rem 1rem;
}

.values .section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.values h2 {
  text-align: center;
  font-size: clamp(1.8rem, 2.5vw + 1rem, 2.4rem);
  color: #0d4b40;
  margin-bottom: 2.5rem;
  line-height: 1.2;
  padding: 0 10px;
}

/* Desktop Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
  /* Responsive Fix */
  @media (max-width: 1024px) {
    .values-grid {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .values-grid {
      grid-template-columns: 1fr;
      gap: 1.5rem;
    }
    .about-section.values h2 {
      font-size: 2rem;
    }
  }
/* Card style */
.value-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  text-align: center;
  padding: 2rem 1.5rem;
  transition: transform 0.25s ease;
}
.value-card:hover {
  transform: translateY(-6px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: clamp(1.1rem, 1vw + .9rem, 1.3rem);
  margin-bottom: 0.8rem;
  color: #0d4b40;
}

.value-card p {
  color: #555;
  line-height: 1.6;
  font-size: clamp(0.9rem, .6vw + .7rem, 1rem);
  overflow-wrap: anywhere;
}


/* ===== Mobile ===== */
@media (max-width: 768px) {
  .about-section.values {
    padding: 3rem 1rem 6rem; /* bottom padding for mobile nav */
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .value-card {
    padding: 1.5rem 1rem;
    width: 100%;
  }

  .values,
  .values * {
    max-width: 100%;
    box-sizing: border-box;
  }

  .value-icon {
    font-size: 2.2rem;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }

  .value-card p {
    font-size: 0.95rem;
  }
}

/* Smallest devices */
@media (max-width: 400px) {
  .values-grid {
    gap: 1rem;
  }

  .value-card {
    padding: 1.2rem 0.8rem;
  }
}

/* =========================================================
   FACILITIES
   ========================================================= */
.facilities-hero {
  width: 100%; min-height: 60vh;
  background: url("images/facilities-hero.jpg") center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center; color: white; position: relative;
}
.facilities-hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.4); z-index: 1; }
.facilities-hero .hero-content { position: relative; z-index: 2; max-width: 900px; padding: 1rem 20px; }
.facilities-hero h1 { font-size: 3rem; margin-bottom: 1rem; animation: facilitiesHeroEntrance 1s ease-out forwards; }
.facilities-hero p { font-size: 1.25rem; line-height: 1.6; }

@keyframes facilitiesHeroEntrance {
  0% { opacity: 0; transform: translateY(40px) rotateX(90deg); }
  100% { opacity: 1; transform: translateY(0) rotateX(0); }
}

.facilities-details { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.facilities-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, auto); gap: 2rem;
}
.facilities-details h2 { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; color: #16b431; }
.facility-service {
  background: #f1f1f1; padding: 2rem; border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.facility-service h3 { font-size: 1.5rem; margin-bottom: 1rem; color: rgba(41,44,189,0.795); }
.facility-service p { font-size: 1rem; line-height: 1.6; color: #555; }
.facility-service:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); }

@media screen and (max-width: 1024px) {
  .facilities-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}
@media screen and (max-width: 768px) {
  .facilities-details h2 { font-size: 2rem; }
}
/* Vivid and modern hero background */
.facilities-hero {
  background: linear-gradient(135deg, rgba(22,180,49,0.85), rgba(76,210,205,0.85)),
              url('images/clean-facility-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.facilities-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

/* Glass + gradient hero card */
.facilities-hero .hero-content {
  background: linear-gradient(120deg, rgba(255,255,255,0.25), rgba(255,255,255,0.1));
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0,0,0,0.25);
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2.5rem;
  position: relative;
  z-index: 2;
  animation: fadeUpBounce 1s ease-out forwards;
}

/* Decorative glow border */
.facilities-hero .hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(90deg, #96f59c, #4ecdc4, #96f59c);
  opacity: 0.3;
  filter: blur(12px);
  z-index: -1;
}

/* Text styling */
.facilities-hero .hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0,0,0,0.3);
  margin-bottom: 1.5rem;
}

.facilities-hero .hero-content p {
  color: #f0fdf4;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 750px;
  margin: 0 auto;
}

/* Optional animated particles */
.facilities-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 160%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 2%, transparent 3%) repeat;
  background-size: 60px 60px;
  animation: movePattern 20s linear infinite;
  opacity: 0.5;
}
@keyframes movePattern {
  from { transform: translateX(0); }
  to { transform: translateX(-200px); }
}

/* Responsive */
@media (max-width: 768px) {
  .facilities-hero .hero-content {
    padding: 2rem 1.2rem;
    border-radius: 16px;
  }
  .facilities-hero .hero-content h1 {
    font-size: 1.9rem;
  }
  .facilities-hero .hero-content p {
    font-size: 1rem;
  }
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background-color: #2c3e50; color: white; padding: 50px 20px 20px; }
.footer-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; max-width: 1200px; margin: 0 auto;
}
.footer-column h3 {
  margin-bottom: 20px; font-size: 1.3rem;
  border-bottom: 2px solid #2ecc71; display: inline-block; padding-bottom: 5px;
}
.footer-column ul { list-style: none; padding: 0; }
.footer-column ul li { margin: 10px 0; }
.footer-column ul li a { color: #ecf0f1; text-decoration: none; transition: color 0.3s; }
.footer-column ul li a:hover { color: #2ecc71; }
.footer-column p { margin: 8px 0; }

.consult-btn {
  display: inline-block; margin-top: 15px; padding: 10px 20px;
  background-color: #2ecc71; color: white; text-decoration: none; border-radius: 5px; transition: background 0.3s;
}
.consult-btn:hover { background-color: #27ae60; }

.footer-right { text-align: right; }
.footer-right img { max-width: 180px; height: auto; display: inline-block; }

.footer-bottom {
  text-align: center; margin-top: 40px; font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2); padding-top: 14px;
}

@media (max-width: 768px) {
  .footer-right { display: none; }
  .footer-container { grid-template-columns: 1fr; text-align: center; }
}

/* =========================================================
   BOOK PAGE (HERO)
   ========================================================= */
.book-hero {
  position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: url("images/cleancat.gif") center/cover no-repeat; text-align: center; padding: 2rem;
}
.book-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.book-hero-inner {
  position: relative; z-index: 1; max-width: 800px; width: 100%; color: #fff;
  display: flex; flex-direction: column; align-items: center;
}

.stylish-heading {
  font-size: 3rem; font-weight: 700; letter-spacing: -1px;
  background: linear-gradient(90deg, #00ffe5, #00c4a7);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: fadeSlideIn 1s ease forwards; margin-bottom: 1rem;
}
.stylish-subheading { font-size: 1.6rem; font-weight: 600; color: #00ffe5; margin-top: 1.5rem; }
.stylish-subheading::after {
  content: ""; display: block; width: 50px; height: 3px; background: #00c4a7; margin: 6px auto 0; border-radius: 2px;
}
.hero-text { font-size: 1.2rem; margin-bottom: 1rem; }

.booking-features { margin: 1.2rem 0 2rem; padding: 0; list-style: none; }
.booking-features li { margin-bottom: 0.6rem; font-weight: 500; }
.booking-features li::before { content: "✔ "; color: #00ffe5; font-weight: bold; }

.widget-card {
  background: rgba(255,255,255,0.97); color: #333; border-radius: 16px; padding: 2rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25); width: 100%; max-width: 900px;
}
.calendly-wrapper { width: 100%; }
.calendly-inline-widget { width: 100% !important; height: 550px !important; }

@keyframes fadeSlideIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   RESPONSIVE UTILITIES
   ========================================================= */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .mission-content { flex-direction: column; }
}
@media (max-width: 768px) {
  .about-hero h1 { font-size: 2.5rem; }
  .about-hero p { font-size: 1.2rem; }
  .values-grid { grid-template-columns: 1fr; }
  .mission-stats { flex-direction: column; gap: 1.5rem; }
}
