/* Hero Section with Background */
.hero-split {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 10%;
  min-height: 80vh;
  background: linear-gradient(
      rgba(0, 0, 0, 0.55), 
      rgba(0, 0, 0, 0.55)
    ),
    url("../assests/11.png") center/cover no-repeat; /* image background */
  color: #fff;
  overflow: hidden;
}

/* Text Content */
.hero-text {
  flex: 1;
  max-width: 750px;
  z-index: 1;
}

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem); /* responsive */
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 10px;
  width: 5px;
  height: 80%;
  background: #3d9970;
  border-radius: 5px;
}

.hero-text p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #f0f0f0;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Button */
.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #3d9970;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(61,153,112,0.3);
}

.btn-primary:hover {
  background: #2c7b59;
  box-shadow: 0 10px 25px rgba(61,153,112,0.4);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-split {
    text-align: center;
    justify-content: center;
    padding: 70px 20px;
  }

  .hero-text h1::before {
    display: none; /* remove stripe in mobile */
  }
}

@media (max-width: 600px) {
  .hero-split {
    padding: 60px 15px;
    min-height: 70vh;
  }

  .btn-primary {
    padding: 12px 26px;
    font-size: 0.95rem;
  }
}


/* ===== Intro Section ===== */
.intro {
  padding:50px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  background: linear-gradient(135deg, #f0fdfa, #e6f7ff);
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200%;
  height: 200%;
  background: url("https://www.transparenttextures.com/patterns/diamond-upholstery.png");
  opacity: 0.08;
  z-index: 0;
}

.intro h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.4rem); /* responsive heading */
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.intro h2::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 70px;
  height: 4px;
  background: #3d9970; 
  border-radius: 2px;
}

/* Grid layout */
.intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* flexible */
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
}

.intro-item {
  background: #ffffffd9;
  padding: 40px 25px;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

.intro-item:nth-child(1) { animation-delay: 0.2s; }
.intro-item:nth-child(2) { animation-delay: 0.4s; }
.intro-item:nth-child(3) { animation-delay: 0.6s; }

.intro-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

/* Icons */
.intro-item i {
  font-size: clamp(2rem, 4vw, 3rem); /* responsive icon size */
  color: #3d9970;
  margin-bottom: 20px;
  animation: pulse 2s infinite;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.intro-item:hover i {
  color: #2ecc71;
  text-shadow: 0 0 15px rgba(46, 204, 113, 0.6);
}

.intro-item p {
  font-size: clamp(0.95rem, 2vw, 1.1rem); /* responsive text */
  color: #333;
  line-height: 1.6;
}

/* Animations */
@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Extra Responsive Tweaks */
@media (max-width: 768px) {
  .intro {
    padding: 70px 15px;
  }
  .intro h2 {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .intro {
    padding: 60px 10px;
  }
  .intro-item {
    padding: 30px 20px;
  }
}


/* ===== Success Stories Section ===== */
.stories {
  position: relative;
  padding: 70px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: url("../assests/img/blog/stories-bg 2.jpg") no-repeat center center/cover;
  overflow: hidden;
}

/* Dark overlay for readability */
.stories .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.stories h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.stories h2::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 60px;
  height: 4px;
  background: #3d9970;
  border-radius: 2px;
}

/* Slider container */
.story-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

/* Hide scrollbar */
.story-slider::-webkit-scrollbar {
  display: none;
}

/* Story card */
.story-card {
  flex: 0 0 300px;
  scroll-snap-align: center;
  background: rgba(255,255,255,0.9); /* transparent white for contrast */
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #333;
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.story-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.story-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d9970;
  display: block;
  text-align: right;
}

/* Button */
.stories .btn {
  position: relative;
  z-index: 1;
  background: #3d9970;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.stories .btn:hover {
  background: #2c7a58;
}

/* Desktop: center the 3 cards */
@media (min-width: 769px) {
  .story-slider {
    justify-content: center;
    overflow-x: visible; /* stop scroll on desktop */
    flex-wrap: wrap;     /* allow row layout */
  }
}

/* Responsive */
@media (max-width: 768px) {
  .story-card {
    flex: 0 0 260px;
    padding: 20px;
  }
}

@media (max-width: 500px) {
  .story-card {
    flex: 0 0 220px;
    padding: 18px;
  }
}

/* ===== Gallery Section ===== */
.gallery {
  padding: 40px 20px;
  background: #f9f9f9;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.gallery h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1d1d1d;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}

.gallery h2::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 60px;
  height: 4px;
  background: #3d9970;
  border-radius: 2px;
}

/* Grid layout */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Card styling */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card p {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.95rem;
  padding: 6px 12px;
  border-radius: 8px;
  margin: 0;
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.lightbox.active {
  display: flex;
}
/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .gallery {
    padding: 50px 15px;
  }

  .gallery h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr; /* single column on mobile */
    gap: 15px;
  }

  .gallery-card {
    border-radius: 12px;
  }

  .gallery-card p {
    font-size: 0.85rem;
    padding: 5px 10px;
    bottom: 8px;
  }

  .lightbox img {
    max-width: 95%;
    max-height: 80%;
  }
}

@media (max-width: 480px) {
  .gallery h2 {
    font-size: 1.4rem;
  }

  .gallery-card p {
    font-size: 0.8rem;
    padding: 4px 8px;
  }
}
/* ===== Reviews Section ===== */
.reviews {
  padding: 20px 20px;
  background: linear-gradient(135deg, #f3faf6, #e8f7f1);
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.reviews h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #1d1d1d;
  position: relative;
  display: inline-block;
}

.reviews h2::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 60px;
  height: 4px;
  background: #3d9970;
  border-radius: 2px;
}

/* Review slider */
.review-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto 30px;
  min-height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.review-slider p {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: 90%;
  max-width: 600px;
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin: 0 auto;
  transition: opacity 0.8s ease;
}

.review-slider p.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}


/* Button */
.reviews .btn {
  background: #3d9970;
  color: #fff;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.reviews .btn:hover {
  background: #2c7a58;
}

/* Responsive */
@media (max-width: 768px) {
  .reviews {
    padding: 60px 15px;
  }
  .reviews h2 {
    font-size: 1.6rem;
  }
  .review-slider p {
    font-size: 1rem;
  }
}


/* CTA Section */
.cta {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* Background Video/Image */
.cta-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
}

.cta-bg video,
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Overlay */
.cta-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* Content */
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
  animation: fadeUp 1s ease-in-out;
}

.cta-content h2 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.cta-content .btn {
  background: #3d9970;
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.cta-content .btn:hover {
  background: #2c7a58;
  transform: scale(1.05);
}

/* Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .cta { height: 50vh; }
  .cta-content h2 { font-size: 2rem; }
  .cta-content p { font-size: 1rem; }
}
@media (max-width: 480px) {
  .cta { height: 45vh; padding: 0 10px; }
  .cta-content h2 { font-size: 1.6rem; }
  .cta-content p { font-size: 0.9rem; }
  .cta-content .btn { padding: 10px 22px; font-size: 0.9rem; }
}
/* General Section Styling */
section {
  padding: 3rem 2rem;
  text-align: center;
}
section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  section h2 { font-size: 1.6rem; }
}

/* ================= Video Testimonials ================= */
/* ================= Video Testimonials ================= */
.video-testimonials {
  padding: 60px 10%;
  background: #f9f9f9;
  text-align: center;
}

.video-testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.video-card {
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* 🎥 Responsive YouTube */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.video-card p {
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 480px) {
  .video-card p { 
    font-size: 0.9rem; 
  }
}


/* ================= Transformation Wall ================= */
.wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}
.wall-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.wall-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}
.wall-card:hover img { transform: scale(1.05); }
.wall-card span {
  position: absolute;
  bottom: 8px; left: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 2px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
  .wall-grid { grid-template-columns: 1fr 1fr; }
  .wall-card span { font-size: 0.75rem; padding: 3px 6px; }
}

/* ================= Google Reviews ================= */
.google-reviews iframe {
  border-radius: 12px;
  width: 100%;
  height: 350px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Small Screens */
@media (max-width: 600px) {
  .google-reviews iframe { height: 250px; }
}
