/* ============================================================
   SHREE TRISHAKTI GROUP — Premium Design System
   Palette: Full Light Green (soft, clean, modern)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800;900&display=swap');

:root {
  /* Core Palette */
  --green-900: #1d3f32;
  --green-800: #2a5a47;
  --green-700: #35705a;
  --green-600: #46866d;
  --green-500: #5b9d82;
  /* Primary Green (muted) */
  --green-400: #79b49a;
  --green-300: #9ccbb5;
  --green-200: #c3e1d2;
  --green-100: #e2f2ea;
  --green-50: #f4faf7;

  --blue-900: #1f3550;
  --blue-800: #2c4a6b;
  --blue-700: #3a5f85;
  --blue-600: #4d759b;
  --blue-500: #6289ae;
  --blue-400: #82a3c2;
  --blue-300: #a5bed5;
  --blue-200: #c9d9e7;
  --blue-100: #e3ecf3;
  --blue-50: #f5f8fb;
  --orange-200: #f8ddc3;
  --orange-100: #fdebdc;
  --orange-50: #fff6ef;

  /* Semantic */
  --primary: var(--green-500);
  --primary-dark: var(--green-700);
  --primary-deep: var(--green-900);
  --secondary: var(--blue-500);
  --secondary-dark: var(--blue-700);
  --secondary-deep: var(--blue-900);

  /* Surfaces */
  --bg-page: #f7faf8;
  --bg-surface: #ffffff;
  --bg-muted: #eef6f1;
  --bg-blue-muted: #eef3f8;
  --border: #d4e5dc;
  --border-blue: #d5e1ec;

  /* Text */
  --text-dark: #0b2545;
  --text-body: #1f3b60;
  --text-muted: #4b6280;
  --text-light: #7b8fa9;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 55%, var(--green-500) 100%);
  --grad-hero: linear-gradient(135deg, #335f4c 0%, #4d7d68 55%, #709d89 100%);
  --grad-card: linear-gradient(135deg, var(--green-50) 0%, #f9fcfa 100%);
  --grad-section: linear-gradient(180deg, var(--bg-page) 0%, #ffffff 100%);
  --grad-cta: linear-gradient(135deg, #2f4f66 0%, #46647f 100%);

  /* Shadows */
  --shadow-xs: 0 2px 8px rgba(13, 61, 43, 0.07);
  --shadow-sm: 0 4px 16px rgba(13, 61, 43, 0.10);
  --shadow-md: 0 10px 32px rgba(13, 61, 43, 0.13);
  --shadow-lg: 0 20px 56px rgba(13, 61, 43, 0.16);
  --shadow-blue: 0 10px 32px rgba(58, 95, 133, 0.16);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --transition: all 0.28s cubic-bezier(.4, 0, .2, 1);
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  overflow-x: hidden;
  line-height: 1.7;
  font-size: 15.5px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-family: 'Playfair Display', serif;
  color: var(--text-dark);
  line-height: 1.2;
}

p {
  color: var(--text-body);
}

a {
  color: var(--green-600);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--blue-600);
}

/* ---- Typography Utilities ---- */
.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--text-muted) !important;
}

.text-blue {
  color: var(--secondary) !important;
}

.text-dark {
  color: var(--text-dark) !important;
}

.text-gradient {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--blue-500) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.letter-spacing-2 {
  letter-spacing: 2px;
}

/* ---- Backgrounds ---- */
.bg-page {
  background: var(--bg-page) !important;
}

.bg-surface {
  background: var(--bg-surface) !important;
}

.bg-green-subtle {
  background: var(--green-50) !important;
}

.bg-blue-subtle {
  background: var(--blue-50) !important;
}

.bg-muted {
  background: var(--bg-muted) !important;
}

.bg-light {
  background: var(--bg-page) !important;
}

.bg-white {
  background: #fff !important;
}

.bg-grad-primary {
  background: var(--grad-primary);
}

.bg-grad-hero {
  background: var(--grad-hero);
}

.bg-grad-cta {
  background: var(--grad-cta);
}

/* ---- Navbar ---- */
.navbar {
  padding: 0.9rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(13, 61, 43, 0.10);
  padding: 0.5rem 0;
}

.navbar-brand img {
  height: 100px;
  transition: var(--transition);
}

.navbar.scrolled .navbar-brand img {
  height: 100px;
}

.navbar-nav .nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
  color: var(--text-dark) !important;
  padding: 0.45rem 0.9rem !important;
  border-radius: var(--r-sm);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary) !important;
  background: var(--green-50);
}

.navbar-toggler {
  border: 1.5px solid var(--green-300);
  border-radius: var(--r-sm);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26,122,86,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ---- Buttons ---- */
.btn-premium {
  background: var(--grad-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.75rem 2rem;
  box-shadow: 0 6px 20px rgba(70, 105, 88, 0.24);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(70, 105, 88, 0.30);
  color: #fff !important;
}

.btn-outline-premium {
  background: transparent;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 0.92rem;
  border: 2px solid var(--green-400);
  border-radius: var(--r-pill);
  padding: 0.72rem 2rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-premium:hover {
  background: var(--green-50);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-blue {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-500) 100%);
  color: #fff !important;
  font-weight: 700;
  border: none;
  border-radius: var(--r-pill);
  padding: 0.75rem 2rem;
  box-shadow: 0 6px 20px rgba(58, 95, 133, 0.22);
  transition: var(--transition);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(58, 95, 133, 0.30);
  color: #fff !important;
}

/* Legacy compat */
.btn-primary-gradient {
  @extend .btn-premium;
  background: var(--grad-primary);
  border: none;
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: 700;
  padding: 0.72rem 1.8rem;
  box-shadow: 0 6px 20px rgba(70, 105, 88, 0.24);
  transition: var(--transition);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  color: #fff;
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfffc 0%, #f1fff5 100%);
  color: var(--text-dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section * {
  color: inherit;
}

.hero-section .text-secondary {
  color: var(--text-muted) !important;
}

.hero-section .text-dark {
  color: var(--text-dark) !important;
}

.hero-section h1,
.hero-section h2 {
  color: var(--text-dark);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 30%, rgba(156, 203, 181, 0.26) 0, transparent 42%),
    radial-gradient(circle at 85% 15%, rgba(215, 233, 223, 0.40) 0, transparent 40%),
    radial-gradient(circle at 70% 80%, rgba(91, 157, 130, 0.11) 0, transparent 36%);
  z-index: 0;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2324a876' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: #2f369a;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: var(--r-pill);
  margin-bottom: 1.5rem;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e5a46f;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(91, 157, 130, 0.14);
  transition: var(--transition);
}

.hero-img-wrap:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(91, 157, 130, 0.20);
}

.hero-img-wrap img {
  width: 100%;
  display: block;
}

.hero-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.85rem 1.2rem;
  color: var(--text-dark);
  min-width: 140px;
}

.hero-stat-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
}

.hero-stat-card .lbl {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 2px;
}

/* ---- Inner Page Hero ---- */
.page-hero {
  background: linear-gradient(180deg, #fbfffc 0%, #f1fff5 100%);
  color: var(--text-dark);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 50%, rgba(210, 230, 220, 0.44) 0, transparent 52%),
    radial-gradient(circle at 10% 80%, rgba(121, 180, 154, 0.16) 0, transparent 42%);
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: var(--text-dark);
}

.page-hero p {
  color: var(--text-muted);
}

/* ---- Section Labels ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--green-500) 0%, #f0b98a 100%);
  border-radius: 2px;
}

/* ---- Cards ---- */
.premium-card {
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-300);
}

.service-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

.icon-green {
  background: var(--green-100);
  color: var(--green-700);
}

.icon-blue {
  background: var(--blue-100);
  color: var(--blue-700);
}

.icon-teal {
  background: #d0f4ee;
  color: #0e7c5e;
}

/* Feature list */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 1rem 1.2rem;
  border-radius: var(--r-md);
  border: 1.5px solid transparent;
  transition: var(--transition);
  background: var(--bg-surface);
}

.feature-item:hover {
  border-color: var(--green-200);
  background: var(--green-50);
  transform: translateX(4px);
}

.feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange-50);
  color: #a36331;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---- Two-col service box ---- */
.service-split-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.service-split-card .col-header {
  padding: 1.1rem 1.5rem;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.col-header-green {
  background: linear-gradient(90deg, var(--green-700) 0%, var(--green-500) 100%);
  color: #fff;
}

.col-header-blue {
  background: linear-gradient(90deg, var(--blue-700) 0%, var(--blue-500) 100%);
  color: #fff;
}

.service-split-body {
  padding: 1.6rem 1.8rem;
  background: #fff;
}

.split-item {
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--border);
}

.split-item:last-child {
  border-bottom: none;
}

.split-item h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.split-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---- Stats ---- */
.stat-chip {
  background: var(--bg-surface);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.stat-chip:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.stat-chip .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-chip .lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Accordion ---- */
.premium-accordion .accordion-item {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md) !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  background: #fff;
}

.premium-accordion .accordion-button {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #fff;
  box-shadow: none;
  padding: 1.1rem 1.4rem;
}

.premium-accordion .accordion-button:not(.collapsed) {
  background: var(--green-50);
  color: var(--green-800);
}

.premium-accordion .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231a7a56'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.premium-accordion .accordion-body {
  font-size: 0.92rem;
  color: var(--text-body);
  padding: 0.8rem 1.4rem 1.2rem;
  border-top: 1px solid var(--border);
}

/* ---- Logo Slider ---- */

.logo-slider {
  --slide-w: 250px;
  --slider-bg: #fff;

  position: relative;
  overflow: hidden;
  width: 100%;
  height: 140px;
}

.logo-slider::before,
.logo-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--slider-bg), transparent);
}

.logo-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--slider-bg), transparent);
}

.slide-track {
  display: flex;
  width: max-content;
  animation: infiniteScroll 40s linear infinite;
  will-change: transform;
}

.slide {
  width: var(--slide-w);
  min-width: var(--slide-w);
  height: 140px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0 15px;
  flex-shrink: 0;
}

.logo-container {
  width: 100%;
  height: 115px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff;
  border-radius: 12px;
  padding: 15px;
  border: 1px solid #eee;
}

.logo-container img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

/* TRUE INFINITE */
@keyframes infiniteScroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.logo-slider:hover .slide-track {
  animation-play-state: paused;
}


/* Mobile */
@media (max-width: 768px) {
  .logo-slider {
    --slide-w: 140px; /* Smaller slides for mobile */
    height: 90px;
  }

  .slide-track {
    animation-duration: 20s; /* Faster scroll on mobile since distance is shorter */
  }

  .slide {
    height: 90px;
    padding: 0 10px;
  }

  .logo-container {
    height: 60px;
    padding: 8px;
  }

  .logo-container img {
    max-height: 40px;
  }
}

/* ---- Contact Section ---- */
.contact-box {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border);
}

.contact-info-panel {
  background: var(--grad-cta);
  padding: 2.5rem 2rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info-panel h4 {
  color: #fff;
}

.contact-info-panel p {
  color: rgba(255, 255, 255, 0.75);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.contact-info-item i {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.contact-form-panel {
  background: #fff;
  padding: 2.5rem 2rem;
}

.form-control {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg-page);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(91, 157, 130, 0.12);
  outline: none;
}

/* ---- Footer ---- */
.premium-footer {
  background: #f7faf8;
  color: var(--text-body);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.premium-footer h5,
.premium-footer h6 {
  color: var(--text-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.premium-footer a {
  color: var(--text-muted);
  transition: var(--transition);
}

.premium-footer a:hover {
  color: var(--green-700);
}

.premium-footer .footer-divider {
  border: none;
  height: 1px;
  background: var(--border);
  margin: 2rem 0 1.5rem;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--green-100);
  border-color: var(--green-300);
  color: var(--green-800);
  transform: translateY(-3px);
}

/* ---- Toast ---- */
.toast-message {
  position: fixed;
  right: 24px;
  bottom: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  background: var(--green-700);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  transition: var(--transition);
  border-left: 4px solid var(--green-300);
}

.toast-message.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ---- Sub-service nav buttons ---- */
.sub-service-btn {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text-body);
  padding: 0.6rem 1.4rem;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 0.87rem;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.sub-service-btn:hover,
.sub-service-btn.active {
  background: #e8a974;
  border-color: #e8a974;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ---- Job Cards ---- */
.job-card {
  border-radius: var(--r-lg);
  border: 1.5px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
  cursor: pointer;
}

.job-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.job-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--orange-50);
  color: #8c572c;
  border: 1px solid var(--orange-200);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.85rem;
  font-weight: 600;
  font-size: 0.8rem;
}

/* ---- Modal ---- */
.modal-content {
  border: none;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.modal-header {
  background: var(--grad-cta);
  border: none;
}

/* ---- Misc Helpers ---- */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-6px);
}

.shadow-premium {
  box-shadow: var(--shadow-md);
}

.rounded-premium {
  border-radius: var(--r-lg);
}

.border-green {
  border-color: var(--green-300) !important;
}

/* ---- Motion & Interaction ---- */
@keyframes float-soft {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse-soft {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(91, 157, 130, 0.18);
  }

  70% {
    box-shadow: 0 0 0 14px rgba(91, 157, 130, 0);
  }
}

.hero-img-wrap {
  animation: float-soft 7s ease-in-out infinite;
}

.btn-premium,
.btn-outline-premium,
.btn-blue,
.sub-service-btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-premium:hover,
.btn-blue:hover,
.sub-service-btn:hover {
  transform: translateY(-2px) scale(1.01);
}

.premium-card,
.feature-item,
.job-card,
.stat-chip,
.logo-container {
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background-color 0.35s ease;
}

.btn-premium:focus-visible,
.btn-outline-premium:focus-visible {
  outline: none;
  animation: pulse-soft 1.4s ease;
}

/* Reveal animation for JS-triggered sections */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- CTA Section ---- */
.cta-section {
  background: var(--grad-cta);
  border-radius: var(--r-xl);
  padding: 3.5rem 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 30px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-section h2,
.cta-section p {
  color: #fff;
  position: relative;
  z-index: 2;
}

.cta-section p {
  opacity: 0.8;
}

/* ---- Dropdown ---- */
.dropdown-menu {
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 0.6rem;
}

.dropdown-item {
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-dark);
  padding: 0.5rem 0.9rem;
  transition: var(--transition);
}

.dropdown-item:hover,
.dropdown-item.active {
  background: var(--green-50);
  color: var(--primary);
}

/* ---- Legal Pages ---- */
.legal-effective-date {
  display: inline-flex;
  align-items: center;
  background: var(--green-50);
  border: 1.5px solid var(--green-200);
  color: var(--green-800);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--r-pill);
  margin-bottom: 2.5rem;
}

.legal-section {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--green-200);
  min-width: 50px;
  padding-top: 4px;
  user-select: none;
}

.legal-section-body {
  flex: 1;
  min-width: 0;
}

.legal-heading {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.legal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.legal-info-card {
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.3rem;
  transition: var(--transition);
}

.legal-info-card:hover {
  border-color: var(--green-300);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.legal-info-card h5 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

.legal-info-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.55;
}

.legal-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.legal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legal-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0.55rem 0;
  font-size: 0.92rem;
  color: var(--text-body);
  border-bottom: 1px dashed var(--border);
}

.legal-list li:last-child {
  border-bottom: none;
}

.legal-list li i {
  color: var(--green-500);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.legal-highlight-box {
  background: linear-gradient(135deg, var(--green-50) 0%, #f0f7f3 100%);
  border: 1.5px solid var(--green-200);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-top: 0.5rem;
}

.legal-highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.legal-contact-card {
  background: var(--bg-page);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-top: 0.75rem;
}

.legal-contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  color: var(--text-body);
}

.legal-contact-row i {
  color: var(--green-500);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .legal-section {
    flex-direction: column;
    gap: 0.5rem;
  }

  .legal-section-number {
    font-size: 1.5rem;
    min-width: auto;
  }

  .legal-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
  html {
    scroll-padding-top: 96px;
  }

  .navbar-collapse {
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md);
    padding: 1.2rem;
    margin-top: 0.5rem;
    border: 1.5px solid var(--border);
  }

  .navbar-brand img {
    height: 84px;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .page-hero {
    padding: 110px 0 60px;
  }

  .hero-stat-card {
    position: static;
    margin-top: 0.9rem;
  }

  .hero-content .d-flex.gap-3 {
    gap: 0.75rem !important;
  }
}

@media (max-width: 576px) {
  .container {
    padding-inline: 18px;
  }

  .navbar-brand img {
    height: 70px;
  }

  .display-3 {
    font-size: 2rem;
  }

  .display-5,
  .display-6 {
    font-size: 1.65rem;
  }

  .cta-section {
    padding: 2.5rem 1.5rem;
  }

  .btn-premium,
  .btn-outline-premium,
  .btn-blue {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}