/* Modern Mandi Pro High-End Commercial Design System */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --mandi-emerald: #107c41;
  --mandi-emerald-dark: #0b592e;
  --mandi-emerald-light: #209f55;
  --mandi-accent-green: #25D366;
  --mandi-navy: #091a11;
  --mandi-slate: #1c2e24;
  --mandi-muted: #52675b;
  --mandi-border: #e2ebe5;
  --mandi-bg-light: #f7faf8;
  --mandi-bg-subtle: #f0f6f2;
}

body {
  font-family: var(--font-body) !important;
  color: var(--mandi-slate);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.03em;
  color: var(--mandi-navy);
}

/* 1. Header & Top Bar */
.py-2.px-2.bg-primary1 {
  background: var(--mandi-navy) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #c0d4c8;
}
.py-2.px-2.bg-primary1 a {
  color: #eaf3ee !important;
  font-weight: 500;
  transition: color 0.2s ease;
}
.py-2.px-2.bg-primary1 a:hover {
  color: #55e679 !important;
}

.ftco_navbar.ftco-navbar-light {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--mandi-border);
  box-shadow: 0 4px 20px rgba(9, 26, 17, 0.04);
  padding: 10px 0 !important;
  top: 0 !important;
}

.navbar-logo {
  height: 44px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.footer-logo {
  height: 40px;
  width: auto;
  max-width: 44px;
  object-fit: contain;
  display: inline-block;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: #107c41;
}
.brand-text-pro {
  color: var(--mandi-navy);
}

.ftco_navbar.ftco-navbar-light .navbar-nav {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ftco_navbar.ftco-navbar-light .navbar-nav > .nav-item > .nav-link {
  font-size: 13.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  color: #2b3935 !important;
  padding: 10px 16px !important;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.ftco_navbar.ftco-navbar-light .navbar-nav > .nav-item > .nav-link:hover,
.ftco_navbar.ftco-navbar-light .navbar-nav > .nav-item.active > .nav-link {
  color: var(--mandi-emerald) !important;
}

.nav-demo-btn {
  background: linear-gradient(135deg, #107c41 0%, #17934f 100%);
  color: #ffffff !important;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 124, 65, 0.35);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-demo-btn:hover {
  background: linear-gradient(135deg, #0b5e30 0%, #107c41 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 124, 65, 0.45);
}

/* Contact Page Compact Header */
.hero-wrap.hero-contact-compact {
  min-height: 200px !important;
  height: 200px !important;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.hero-contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 26, 18, 0.82);
  z-index: 1;
}
.hero-contact-content {
  position: relative;
  z-index: 2;
}

/* 2. Hero Section */
.hero-wrap.hero-bread {
  min-height: 580px !important;
  background-size: cover;
  background-position: right center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-wrap.hero-bread::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 24, 16, 0.96) 0%, rgba(9, 24, 16, 0.85) 45%, rgba(9, 24, 16, 0.15) 100%) !important;
  z-index: 1;
}
.hero-headline {
  font-size: clamp(2.3rem, 4vw + 1rem, 3.4rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #ffffff !important;
  margin-bottom: 18px !important;
}
.hero-tagline {
  font-size: 1.2rem !important;
  color: #d8e8de !important;
  line-height: 1.65 !important;
  max-width: 620px;
  margin-bottom: 32px !important;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #b9d4c4;
  font-size: 14px;
  font-weight: 600;
}
.hero-trust-badges span {
  display: inline-flex;
  align-items: center;
}
.hero-trust-badges i {
  color: #4ee073;
  margin-right: 8px;
  font-size: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--mandi-emerald) 0%, var(--mandi-emerald-light) 100%) !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 14px 28px !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 6px 18px rgba(16, 124, 65, 0.35) !important;
  letter-spacing: 0.2px;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--mandi-emerald-dark) 0%, var(--mandi-emerald) 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(16, 124, 65, 0.45) !important;
}

.btn-whatsapp-hero {
  background: #25D366 !important;
  color: #ffffff !important;
  border: 2px solid #1ebc57 !important;
  border-radius: 8px !important;
  padding: 12px 26px !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease !important;
}
.btn-whatsapp-hero:hover {
  background: #1ebc57 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

/* 3. Section Titles */
.heading-section .subheading,
.heading-section-bold .subheading {
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mandi-emerald) !important;
  display: inline-block;
  margin-bottom: 8px;
}
.heading-section h2,
.heading-section-bold h2 {
  font-weight: 800 !important;
  color: var(--mandi-navy) !important;
  font-size: 2.3rem !important;
  line-height: 1.25;
}

/* 4. Welcome Section */
.welcome-img {
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(9, 26, 17, 0.1);
  border: 1px solid var(--mandi-border);
  transition: transform 0.3s ease;
}
.welcome-img:hover {
  transform: scale(1.015);
}

/* 5. Modern 4 Core Services Cards (Gradient Accent Bars & Subtle Badges) */
.services-box {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: 40px 24px !important;
  border: 1px solid var(--mandi-border) !important;
  box-shadow: 0 8px 24px rgba(9, 26, 17, 0.03) !important;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.services-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}
.services-box:hover {
  transform: translateY(-8px) !important;
  border-color: #b8e0c6 !important;
  box-shadow: 0 20px 42px rgba(16, 124, 65, 0.14) !important;
}
.services-box:hover::before {
  background: linear-gradient(90deg, var(--mandi-emerald), #55e679);
}

.services-box .icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 18px !important;
  margin: 0 auto 22px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 28px !important;
  transition: transform 0.3s ease;
}
.services-box:hover .icon {
  transform: scale(1.1) rotate(2deg);
}

.bg-color-1 { background: #e8f7ee !important; color: #107c41 !important; }
.bg-color-2 { background: #e8f4fc !important; color: #0284c7 !important; }
.bg-color-3 { background: #fef7e7 !important; color: #d97706 !important; }
.bg-color-4 { background: #fbeee8 !important; color: #ea580c !important; }

.services-box .icon span {
  color: inherit !important;
}

.services-box .heading {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--mandi-navy) !important;
  margin-bottom: 8px !important;
}
.services-box .service-desc {
  font-size: 14px;
  color: var(--mandi-muted);
  line-height: 1.55;
  text-align: center;
  margin-bottom: 0;
}

/* 6. Counter Ribbon (Uniform Frosted Glass Cards) */
#section-counter {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0;
}
#section-counter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(9, 22, 15, 0.95) 0%, rgba(14, 34, 23, 0.95) 100%);
}
#section-counter .container {
  position: relative;
  z-index: 2;
}
#section-counter .counter-wrap {
  margin-bottom: 20px;
}
#section-counter .block-18 {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(85, 230, 121, 0.22) !important;
  border-radius: 16px !important;
  padding: 30px 20px !important;
  backdrop-filter: blur(10px) !important;
  transition: all 0.3s ease !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18) !important;
}
#section-counter .block-18 .text {
  background: transparent !important;
  width: 100%;
}
#section-counter .block-18:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(85, 230, 121, 0.45) !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25) !important;
}
#section-counter .number {
  font-size: 3.2rem !important;
  font-weight: 900 !important;
  color: #4ee073 !important;
  font-family: var(--font-heading) !important;
  line-height: 1;
  margin-bottom: 10px;
  display: block;
}
#section-counter span:not(.icon) {
  color: #d1e2d7 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  font-size: 13.5px !important;
  letter-spacing: 0.8px;
  display: block;
}

/* 7. Features Grid with Elevated Modern Badges */
.feature-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.feature-list li {
  background: #ffffff !important;
  border: 1px solid var(--mandi-border) !important;
  border-left: 4px solid var(--mandi-emerald) !important;
  border-radius: 12px !important;
  padding: 17px 24px !important;
  margin-bottom: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--mandi-navy) !important;
  box-shadow: 0 4px 12px rgba(9, 26, 17, 0.03) !important;
  transition: all 0.25s ease !important;
  display: flex !important;
  align-items: center !important;
}
.feature-list li:hover {
  transform: translateX(8px) !important;
  border-color: var(--mandi-emerald) !important;
  box-shadow: 0 8px 24px rgba(16, 124, 65, 0.14) !important;
}
.feature-list li i {
  color: var(--mandi-emerald) !important;
  font-size: 19px !important;
  margin-right: 15px !important;
  background: #eaf6ee;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 8. Modern Testimonials 3D Carousel with Active Center Elevation */
.testimony-section {
  position: relative;
  overflow: hidden;
}
.carousel-testimony {
  position: relative;
  padding: 30px 0 50px 0;
}

.carousel-testimony .owl-stage-outer {
  padding: 35px 0;
}

.carousel-testimony .owl-stage {
  display: flex !important;
  align-items: center !important;
}

.carousel-testimony .owl-item {
  opacity: 0.65;
  transform: scale(0.92);
  transition: all 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex !important;
}

.carousel-testimony .owl-item.active.center {
  opacity: 1 !important;
  transform: scale(1.05) !important;
  z-index: 10;
}

.carousel-testimony .owl-item.active.center .testimony-wrap {
  border-color: #9fe2b7 !important;
  box-shadow: 0 20px 45px rgba(16, 124, 65, 0.16) !important;
  background: #ffffff !important;
}

.testimony-wrap {
  background: #ffffff !important;
  border-radius: 18px !important;
  padding: 34px 28px !important;
  border: 1px solid var(--mandi-border) !important;
  box-shadow: 0 10px 30px rgba(9, 26, 17, 0.04) !important;
  transition: all 0.3s ease;
  position: relative;
  height: 420px !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-sizing: border-box !important;
}

.testimony-wrap::before {
  content: '';
  position: absolute;
  left: 0;
  top: 30%;
  height: 40px;
  width: 4px;
  background: var(--mandi-emerald);
  border-radius: 0 4px 4px 0;
}

.testimony-wrap p.line {
  font-size: 14.5px !important;
  line-height: 1.7 !important;
  color: #3b5044 !important;
  font-style: italic;
  margin-bottom: 20px !important;
  padding-left: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimony-wrap .name {
  font-family: var(--font-heading) !important;
  font-weight: 800 !important;
  font-size: 17px !important;
  color: var(--mandi-navy) !important;
  margin-bottom: 2px !important;
}
.testimony-wrap .position {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: var(--mandi-emerald) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.testimony-wrap .user-img {
  width: 60px !important;
  height: 60px !important;
  margin: 0 auto 16px !important;
  border: 3px solid #e1efe5;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(9, 26, 17, 0.08);
}

/* Bottom Navigation Controls Bar (Arrows on sides of the dots) */
.carousel-testimony .owl-nav {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
  top: auto !important;
  width: 180px !important;
  margin: 25px auto 0 auto !important;
  transform: none !important;
  pointer-events: auto !important;
}
.carousel-testimony .owl-nav button.owl-prev,
.carousel-testimony .owl-nav button.owl-next {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  color: var(--mandi-navy) !important;
  box-shadow: 0 4px 15px rgba(9, 26, 17, 0.1) !important;
  border: 1px solid var(--mandi-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 18px !important;
  transition: all 0.25s ease !important;
}
.carousel-testimony .owl-nav button.owl-prev:hover,
.carousel-testimony .owl-nav button.owl-next:hover {
  background: var(--mandi-emerald) !important;
  color: #ffffff !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(16, 124, 65, 0.3) !important;
}

/* Dots Styling centered in bottom controls bar */
.carousel-testimony .owl-dots {
  text-align: center;
  margin-top: -34px !important;
  display: flex;
  justify-content: center;
  align-items: center;
}
.carousel-testimony .owl-dots .owl-dot span {
  width: 9px;
  height: 9px;
  margin: 3px;
  background: #c5d8cd !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.carousel-testimony .owl-dots .owl-dot.active span {
  background: var(--mandi-emerald) !important;
  width: 24px;
  border-radius: 10px;
}

/* 9. Global Modern Footer */
.ftco-footer {
  background: var(--mandi-navy) !important;
  color: #c0d4c8 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ftco-footer h2 {
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  margin-bottom: 22px !important;
}
.ftco-footer ul li a {
  color: #93ad9f !important;
  transition: color 0.2s ease;
  font-size: 14.5px;
}
.ftco-footer ul li a:hover {
  color: #55e679 !important;
  text-decoration: none;
}

/* 10. Modern Contact Page Styling */
.contact-card-modern {
  background: #ffffff;
  border: 1px solid var(--mandi-border);
  border-radius: 16px;
  padding: 30px 22px;
  box-shadow: 0 8px 24px rgba(9, 26, 17, 0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  width: 100%;
  display: flex;
  flex-direction: column;
}
.contact-card-modern:hover {
  transform: translateY(-6px);
  border-color: #a4ddb8;
  box-shadow: 0 16px 36px rgba(16, 124, 65, 0.12);
}
.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}
.icon-emerald { background: #e8f7ee; color: #107c41; }
.icon-sky { background: #e8f4fc; color: #0284c7; }
.icon-amber { background: #fef7e7; color: #d97706; }
.icon-coral { background: #fbeee8; color: #ea580c; }

.contact-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--mandi-navy);
  margin-bottom: 8px;
}
.contact-card-text {
  font-size: 14.5px;
  color: var(--mandi-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-form-modern {
  background: #ffffff;
  border: 1px solid var(--mandi-border);
  border-radius: 20px;
  padding: 42px 36px;
  box-shadow: 0 12px 36px rgba(9, 26, 17, 0.05);
}
.contact-label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--mandi-navy);
  margin-bottom: 6px;
  display: block;
}
.contact-input {
  border: 1px solid #d7e4dc !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 14.5px !important;
  color: var(--mandi-slate) !important;
  background: #fafcfb !important;
  transition: all 0.2s ease !important;
}
.contact-input:focus {
  background: #ffffff !important;
  border-color: var(--mandi-emerald) !important;
  box-shadow: 0 0 0 3px rgba(16, 124, 65, 0.15) !important;
  outline: none !important;
}

.contact-map-wrapper {
  background: #ffffff;
  border: 1px solid var(--mandi-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(9, 26, 17, 0.05);
  display: flex;
}

/* 11. Responsive Media Queries */
@media (max-width: 991px) {
  .hero-wrap.hero-bread {
    min-height: 480px !important;
    padding: 60px 0;
  }
  .heading-section h2, .heading-section-bold h2 {
    font-size: 1.95rem !important;
  }
  .hero-trust-badges {
    gap: 14px;
  }
}

@media (max-width: 576px) {
  .hero-headline {
    font-size: 2rem !important;
  }
  .btn-primary, .btn-whatsapp-hero {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: 12px !important;
    justify-content: center;
  }
  .services-box {
    padding: 28px 18px !important;
  }
}
