
section {
  padding: 4rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: #000000;
}

.section-header p {
  font-size: 1rem;
  color: #000000ff;
}

/* ===========================
   HERO SECTION
=========================== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

.hero-inner {
  position: relative;
  max-width: 900px;
  padding: 2rem;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-title span {
  color: #00ff99;
}

.hero-subtext {
  font-size: 1.3rem;
  margin: 1.2rem 0 2rem;
  line-height: 1.6;
  color: #f0f0f0;
}

.hero-btn {
  display: inline-block;
  background: linear-gradient(45deg, #00ff99, #00ccff);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
  z-index: 0;
}

.shape1 { top: 20%; left: 10%; animation-delay: 0s; }
.shape2 { top: 50%; right: 15%; animation-delay: 2s; }
.shape3 { bottom: 15%; left: 20%; animation-delay: 4s; }

/* ===========================
   SERVICES SECTION
=========================== */
.services {
  padding: 6rem 2rem;
  text-align: center;
  background: #f4f7fa;
  position: relative;
  overflow: hidden;
}

.services-slider {
  overflow: hidden;
  position: relative;
}

.services-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 1rem;
  perspective: 1000px; /* Adds subtle 3D depth */
}

.services-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  min-width: 280px;
  max-width: 340px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #00ff99, #00ccff, #009688);
  color: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  cursor: pointer;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform-style: preserve-3d;
}

.service-card:hover {
  transform: translateY(-15px) rotateY(5deg) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #00ccff, #00ff99, #009688);
}

.service-icon {
  width: 75px;
  height: 75px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.3) rotate(15deg);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 5px 15px rgba(255,255,255,0.3);
}

.service-card h3 {
  font-size: 1.4rem;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.5;
  color: #e0f2f1;
}

/* ===========================
   ADVANTAGE
=========================== */
.advantage {
  text-align: left;
  border-radius: 2rem;
  background: url('../assests/img/Row/H4.jpg') no-repeat center/cover;
  padding: 6rem;
  margin: 2rem 2rem 4rem;
  color: #fff;
}

.adv-list {
  max-width: 800px;
  color: #fff;
}

.adv-list p { margin: 1rem 0; line-height: 1.6; }

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .advantage {
    padding: 3rem 2rem;       /* reduce padding for smaller screens */
    border-radius: 1.5rem;    /* slightly smaller corners */
    background-size: cover;    /* ensure image covers container */
  }

  .adv-list p {
    font-size: 0.95rem;       /* smaller text for readability */
  }
}

@media (max-width: 480px) {
  .advantage {
    padding: 2rem 1rem;       /* minimal padding on very small screens */
  }

  .adv-list p {
    font-size: 0.9rem;
  }
}
/* ===========================
   CTA
=========================== */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #eafaf1, #d0f0e2);
  color: #333;
  padding: 4rem 2rem;
  border-radius: 2rem;
  margin: 2rem 2rem 4rem;
}

.cta h2 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.cta p { font-size: 1rem; max-width: 700px; margin: 0 auto 1.5rem; line-height: 1.6; }
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #009688;
  padding: 0.9rem 2rem;
  border-radius: 2rem;
  font-weight: 600;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Fade in on scroll */
.fade-hidden { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.fade-in { opacity: 1; transform: translateY(0); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .hero-subtext { font-size: 1rem; }

  .services-track { gap: 1rem; }
  .service-card { min-width: 70%; max-width: 70%; padding: 1.5rem; }
  .service-card h3 { font-size: 1.1rem; }
  .service-card p { font-size: 0.9rem; }
  .service-icon { width: 60px; height: 60px; font-size: 1.8rem; }
}
/* WHO WE SERVE - Premium Design */
.who-we-serve {
  position: relative;
  padding: 5rem 2rem;
  background: #010901ff;
  overflow: hidden;
  border-radius: 2rem;
  margin: 2rem 2rem 4rem;
  /* color: #fff; */
}

/* Background video */
.who-we-serve video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.6);
  /* opacity: 0.85; */
  
}

/* Overlay */
.who-we-serve::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(93, 83, 83, 0.7), rgba(0,150,136,0.7)); */
  z-index: 1;
}

.who-we-serve .section-header {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.who-we-serve .section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.who-we-serve .section-header p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: #e0f2f1;
}

/* Grid Cards */
.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.serve-card {
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

/* Hover effect with zoom bg */
.serve-card::before {
  content: "";
  position: absolute;
  inset: 0;
  
  opacity: 0.1;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.serve-card:hover::before {
  opacity: 0.25;
}

.serve-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* Icons + Animations */
.serve-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  display: inline-block;
  transform: scale(1);
  transition: transform 0.3s ease;
  z-index: 2;
  position: relative;
}

.serve-card:hover .icon {
  transform: scale(1.2) rotate(5deg);
}

.serve-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333;
  position: relative;
  z-index: 2;
}

.serve-card p {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}
/* Floating Animation */
@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.serve-card {
  background: color(rgba(255, 255, 255, 0.5)) ;
  border-radius: 1.5rem;
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
  position: relative;
  animation: floatCard 6s ease-in-out infinite;
}

/* Add some delay for natural staggered motion */
.serve-card:nth-child(1) { animation-delay: 0s; }
.serve-card:nth-child(2) { animation-delay: 1s; }
.serve-card:nth-child(3) { animation-delay: 2s; }
.serve-card:nth-child(4) { animation-delay: 3s; }
.serve-card:nth-child(5) { animation-delay: 4s; }

/* Scroll Animation */
.serve-card {
  opacity: 0;
  transform: translateY(40px);
}

.serve-card.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s ease;
}

.fade-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Consultation Popup Styles */
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.popup-content {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: slideDown 0.4s ease-out;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: #333;
}

.popup-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #2c3e50;
  text-align: center;
}

.popup-form .form-group {
  margin-bottom: 20px;
}

.popup-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}

.popup-form input[type="text"],
.popup-form input[type="tel"],
.popup-form input[type="email"],
.popup-form input[type="date"],
.popup-form input[type="time"] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.popup-form input:focus {
  outline: none;
  border-color: #009688;
}

.popup-form button {
  width: 100%;
  padding: 15px;
  background-color: #009688;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
}

.popup-form button:hover {
  background-color: #00796b;
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.form-row .form-group {
  flex: 1;
  min-width: 150px; /* Minimum width for date/time fields */
}

.error-message {
  color: #dc3545; /* Red for error messages */
  font-size: 12px;
  margin-top: 5px;
  display: none; /* Hidden by default */
}

.success-message {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  margin-top: 20px;
  display: none; /* Hidden by default */
}

/* Responsive adjustments for popup */
@media (max-width: 576px) {
  .popup-content {
    padding: 20px;
  }

  .popup-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .popup-close {
    font-size: 24px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Animations */
@keyframes slideDown {
  0% { transform: translateY(-50px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}