/* ===== ROOT VARIABLES ===== */
:root {
  --primary: #00b74a;
  --primary-dark: #009a3e;
  --secondary: #0d6efd;
  --secondary-dark: #0b5ed7;
  --dark: #0a1929;
  --dark-light: #1a3a5c;
  --light: #f0f7f4;
  --white: #ffffff;
  --gray: #6c757d;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.15);
  --radius: 16px;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
}

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

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

section {
  padding: 80px 0;
  position: relative;
}

/* ===== TOP HEADER BAR ===== */
.top-header {
  background: var(--dark);
  color: #ccc;
  padding: 8px 0;
  font-size: 13px;
}

.top-header a {
  color: #ccc;
}

.top-header a:hover {
  color: var(--primary);
}

.top-header .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin-left: 6px;
  font-size: 12px;
}

.top-header .social-icons a:hover {
  background: var(--primary);
  color: #fff;
}

/* ===== MAIN NAVBAR ===== */
.main-navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  z-index: 1050;
}

.main-navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark) !important;
}

.navbar-brand span {
  color: var(--primary);
}

.navbar-brand i {
  color: var(--primary);
  margin-right: 8px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark) !important;
  padding: 8px 16px !important;
  position: relative;
  font-size: 0.95rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
}

.btn-apply-nav {
  background: var(--gradient);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 8px 24px !important;
  font-weight: 600;
}

.btn-apply-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 183, 74, 0.3);
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--gradient);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 183, 74, 0.35);
  color: #fff;
}

.btn-secondary-custom {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 12px 34px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary-custom:hover {
  background: #fff;
  color: var(--dark);
  transform: translateY(-3px);
}

.btn-outline-green {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  padding: 12px 34px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-outline-green:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  position: relative;
  height: 92vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide .slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.hero-slide .hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
}

.hero-slide h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slide p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
}

.hero-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}

.hero-dots span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dots span.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .badge-label {
  display: inline-block;
  background: rgba(0, 183, 74, 0.1);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto;
}

/* ===== INTRO SECTION ===== */
.intro-section {
  background: var(--white);
}

.intro-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid transparent;
  height: 100%;
}

.intro-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.intro-card .icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: #fff;
}

.intro-card h4 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
  background: var(--light);
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.benefit-card .icon {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.benefit-card h5 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 10px;
}

/* ===== SERVICES ===== */
.services-section {
  background: var(--white);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-card .card-icon {
  width: 100%;
  height: 200px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
}

.service-card .card-body {
  padding: 30px;
}

.service-card h4 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

/* ===== HOW IT WORKS ===== */
.how-section {
  background: var(--dark);
  color: #fff;
}

.how-section .section-header h2 {
  color: #fff;
}

.how-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
}

.step-card h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.step-connector {
  position: absolute;
  top: 35px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cta-banner .btn-secondary-custom {
  border-color: #fff;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
  background: var(--light);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.testimonial-card .stars {
  color: #f5a623;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.7;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-card .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.testimonial-card .author h6 {
  font-weight: 600;
  margin-bottom: 2px;
}

.testimonial-card .author small {
  color: var(--gray);
}

/* ===== BENEFITS ===== */
.benefits-section {
  background: var(--white);
}

.benefit-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.benefit-item:hover {
  background: var(--light);
  transform: translateX(8px);
}

.benefit-item .b-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  border-radius: 14px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.benefit-item h5 {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

/* ===== FAQ ===== */
.faq-section {
  background: var(--light);
}

.faq-section .accordion-item {
  border: none;
  margin-bottom: 12px;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.faq-section .accordion-button {
  font-weight: 600;
  color: var(--dark);
  padding: 20px 25px;
  font-size: 1.05rem;
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--gradient);
  color: #fff;
  box-shadow: none;
}

.faq-section .accordion-button:focus {
  box-shadow: none;
}

.faq-section .accordion-body {
  padding: 20px 25px;
  color: #555;
  line-height: 1.7;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--dark);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.final-cta p {
  opacity: 0.8;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer h5 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
}

.footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer a:hover {
  color: var(--primary);
  padding-left: 5px;
}

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

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li i {
  margin-right: 8px;
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
}

/* ===== FLOATING BUTTONS ===== */
.floating-call {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 183, 74, 0.4);
  animation: pulse-green 2s infinite;
}

.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse-wa 2s infinite;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 183, 74, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(0, 183, 74, 0);
  }
}

@keyframes pulse-wa {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

/* ===== ENQUIRY POPUP ===== */
.enquiry-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
   overflow-y: auto;
}

.enquiry-overlay.show {
  display: flex;
}

.enquiry-popup {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.enquiry-popup .close-popup {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

.enquiry-popup h3 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.enquiry-popup .subtitle {
  color: var(--gray);
  margin-bottom: 24px;
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: var(--dark);
  padding: 120px 0 60px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.15;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  position: relative;
}

.page-header .breadcrumb {
  justify-content: center;
  position: relative;
}

.page-header .breadcrumb-item a {
  color: var(--primary);
}

.page-header .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== FORMS ===== */
.form-control,
.form-select {
  border-radius: 12px;
  padding: 12px 18px;
  border: 2px solid #e8e8e8;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 183, 74, 0.15);
}

.form-label {
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 6px;
}

/* ===== STATS COUNTER ===== */
.stats-section {
  background: var(--gradient);
  padding: 60px 0;
}

.stat-item {
  text-align: center;
  color: #fff;
}

.stat-item h3 {
  font-size: 2.8rem;
  font-weight: 700;
}

.stat-item p {
  opacity: 0.9;
  font-weight: 500;
}

/* ===== CONTACT PAGE ===== */
.contact-info-card {
  background: var(--gradient);
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  height: 100%;
}

.contact-info-card h4 {
  font-weight: 600;
  margin-bottom: 30px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .ci-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* ===== ABOUT PAGE ===== */
.about-content h3 {
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}

.about-content p {
  color: #555;
  line-height: 1.8;
}

.mission-card {
  padding: 30px;
  border-radius: var(--radius);
  background: var(--light);
  text-align: center;
  height: 100%;
  transition: var(--transition);
}

.mission-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.mission-card i {
  font-size: 2.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  padding: 60px 0;
}

.legal-content h3 {
  font-weight: 600;
  color: var(--dark);
  margin-top: 30px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  color: #555;
  line-height: 1.8;
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-slide h1 {
    font-size: 2.2rem;
  }

  .section-header h2 {
    font-size: 1.9rem;
  }

  .step-connector {
    display: none;
  }

  .top-header .d-flex {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 767px) {
  section {
    padding: 60px 0;
  }

  .hero-slider {
    height: 80vh;
    min-height: 500px;
  }

  .hero-slide h1 {
    font-size: 1.8rem;
  }

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

  .cta-banner h2,
  .final-cta h2 {
    font-size: 1.8rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header {
    padding: 100px 0 40px;
  }
}