/* Google Fonts - Outfit for a modern, sleek aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-color: #f2f7f4;
  --text-main: #1e3325;
  --text-light: #496352;
  --primary-accent: #5ba172; /* Light Green */
  --secondary-accent: #82b092; /* Sage Green */
  --nav-bg: rgba(242, 247, 244, 0.9);
  
  /* Typography */
  --font-family: 'Outfit', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* Base Layout & Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 100px 0;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.btn-primary {
  background-color: var(--primary-accent);
  color: white;
}

.btn-primary:hover {
  background-color: #48875c;
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
  background: transparent;
}

.btn-outline:hover {
  background-color: var(--primary-accent);
  color: white;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
  background: transparent;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 5%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-accent);
  letter-spacing: 1px;
}

.navbar .logo span {
  color: var(--text-main);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: white;
}

.navbar.scrolled .nav-links a,
.navbar.solid .nav-links a {
  color: var(--text-main);
}

.navbar.solid {
  background: var(--nav-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.navbar.solid .logo span { color: var(--text-main); }

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-accent);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: white; /* Will change on scroll */
  transition: var(--transition-fast);
}

.navbar.scrolled .hamburger span,
.navbar.solid .hamburger span {
  background-color: var(--text-main);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  color: #f0f0f0;
  margin-bottom: 30px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Cards & Grids */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition-fast);
}

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

.card-img-wrapper {
  overflow: hidden;
  height: 250px;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: 30px;
}

.card-content h3 {
  margin-bottom: 10px;
  color: var(--text-main);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img {
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Shared Header for Pages */
.page-header {
  height: 40vh;
  min-height: 300px;
  background-color: var(--secondary-accent);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-bottom: 50px;
}

.page-header h1 {
  font-size: 3rem;
  z-index: 2;
  position: relative;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-family);
  font-size: 1rem;
  background: #fff;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 3px rgba(91, 161, 114, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Packages Specific */
.package-card {
  text-align: center;
  padding: 40px 30px;
}
.package-price {
  font-size: 2rem;
  color: var(--primary-accent);
  font-weight: 700;
  margin: 20px 0;
}
.package-features {
  list-style: none;
  margin-bottom: 30px;
}
.package-features li {
  margin-bottom: 10px;
  color: var(--text-light);
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  padding-left: 24px;
  position: relative;
  text-align: left;
}
.package-features li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%235ba172' d='M173.9 439.4l-166.4-166.4c-10-10-10-26.2 0-36.2l36.2-36.2c10-10 26.2-10 36.2 0L192 312.69l240.1-240.1c10-10 26.2-10 36.2 0l36.2 36.2c10 10 10 26.2 0 36.2l-294.4 294.4c-10 9.9-26.2 9.9-36.2-.09z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 3px;
}
.package-features li:last-child {
  border-bottom: none;
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: white;
  padding: 80px 0 30px;
}

/* Offer Classes */
.offer-card {
    border: 2px solid rgba(91, 161, 114, 0.2);
    position: relative;
    padding-top: 40px;
    overflow: visible; /* Prevents badge clipping */
    margin-top: 20px;
    background: linear-gradient(to bottom, #fff, rgba(91, 161, 114, 0.05));
    transition: all 0.3s ease;
}

.offer-card:hover {
    border-color: var(--primary-accent);
    box-shadow: 0 20px 40px rgba(91, 161, 114, 0.15);
    transform: translateY(-8px);
}

.offer-card::before {
    content: '✦ NEW YEAR SPECIAL ✦';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-accent);
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    letter-spacing: 2px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(91, 161, 114, 0.4);
    white-space: nowrap;
    z-index: 10;
}

.offer-header {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)); 
    background-size: cover; 
    background-position: center;
}

.offer-badge {
    display: inline-block;
    background: var(--primary-accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(91, 161, 114, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer h3 {
  color: var(--primary-accent);
  margin-bottom: 20px;
}

.footer p, .footer li {
  color: #ccc;
  margin-bottom: 10px;
}

.footer ul {
  list-style: none;
}

.footer a {
  color: #ccc;
}
.footer a:hover {
  color: var(--primary-accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  color: #888;
  font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    clip-path: circle(0 at 90% -10%);
    transition: all 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  }
  
  .nav-links.active {
    clip-path: circle(150% at 90% -10%);
  }

  .nav-links a {
    color: var(--text-main) !important;
    padding: 18px 20px;
    display: block;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(0,0,0,0.03);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover, .nav-links a.active {
    color: var(--primary-accent) !important;
    background: rgba(91, 161, 114, 0.05);
  }

  .hamburger {
    display: flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }
  
  .card-content {
    padding: 24px;
  }
  
  .about-grid {
    gap: 30px;
  }
}

/* FAQ Accordion Styling */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.faq-title {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.3s ease;
}

.faq-title::-webkit-details-marker {
    display: none;
}

.faq-title:after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-accent);
    transition: transform 0.3s ease;
}

details[open] .faq-title:after {
    content: '−';
}

details[open] .faq-title {
    color: var(--primary-accent);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-content {
    padding: 20px 25px;
    color: var(--text-light);
    line-height: 1.7;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Mega Offer Modal Popup */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: transparent;
    width: 100%;
    max-width: 500px;
    position: relative;
    padding-bottom: 40px;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: transparent;
    border: none;
    color: white;
    font-size: 2.8rem;
    cursor: pointer;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10000;
}

.modal-close:hover {
    color: var(--primary-accent);
    transform: rotate(90deg);
}

/* Testimonials Section */
.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(91, 161, 114, 0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(91, 161, 114, 0.12);
}

.testimonial-platform {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    width: fit-content;
}

.testimonial-platform.ta {
    background: #00aa6c;
    color: white;
}

.testimonial-platform.google {
    background: #4285F4;
    color: white;
}

.testimonial-stars {
    color: #f5a623;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.8;
    flex: 1;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-accent), var(--secondary-accent));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.82rem;
}

/* =============================================
   Reviews Slider
   ============================================= */
.reviews-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.reviews-slider-viewport {
    overflow: hidden;
    width: 100%;
}

.reviews-slider-track {
    display: flex;
    gap: 28px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-card {
    /* Show 3 cards; (100% - 2 gaps) / 3 */
    flex: 0 0 calc((100% - 56px) / 3);
    min-width: 0;
    opacity: 1;
    transform: none;
}

/* Nav Buttons */
.slider-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid rgba(91, 161, 114, 0.3);
    background: white;
    color: var(--primary-accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(91, 161, 114, 0.3);
}

.slider-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

/* Dot Indicators */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary-accent);
    width: 24px;
    border-radius: 4px;
}

/* Responsive: 1 card on mobile */
@media (max-width: 768px) {
    .reviews-slider-wrapper {
        gap: 10px;
    }

    .slider-card {
        flex: 0 0 100%;
    }

    .reviews-slider-track {
        gap: 20px;
    }

    .slider-btn {
        width: 38px;
        height: 38px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* 2 cards on tablet */
    .slider-card {
        flex: 0 0 calc((100% - 28px) / 2);
    }
}
