/* ========================================
   EcoVision Environmental Consultancy
   Main Stylesheet
   ======================================== */

/* ========== ROOT VARIABLES & SETUP ========== */
:root {
  /* Colors - Modern Eco Palette */
  --primary-color: #2d8659;
  --primary-light: #4a9d73;
  --primary-dark: #1a5c42;
  --accent-color: #6db348;
  --accent-light: #8fc954;
  --accent-pale: #b8e6b8;
  --bg-light: #f8fbf9;
  --bg-white: #ffffff;
  --bg-soft-green: #f0f7f3;
  --text-dark: #1a1a1a;
  --text-gray: #555555;
  --text-light: #777777;
  --border-color: #dce8e1;
  --shadow-light: rgba(45, 134, 89, 0.08);
  --shadow-medium: rgba(45, 134, 89, 0.15);
  --shadow-soft: rgba(45, 134, 89, 0.05);
  --gradient-primary: linear-gradient(135deg, #2d8659 0%, #4a9d73 100%);
  --gradient-soft: linear-gradient(135deg, #e8f5ea 0%, #f5faf7 100%);
  --gradient-accent: linear-gradient(135deg, #6db348 0%, #8fc954 100%);

  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --line-height: 1.65;
  --letter-spacing-tight: -0.3px;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.3px;

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-2xl: 64px;

  /* Transitions - Professional Animations */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.6s ease;
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========== RESET & GENERAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: var(--line-height);
  letter-spacing: var(--letter-spacing-normal);
  color: var(--text-dark);
  background: linear-gradient(
    -45deg,
    #f8fbf9 0%,
    #f0f7f3 25%,
    #e8f5ea 50%,
    #f5faf7 75%,
    #f8fbf9 100%
  );
  background-size: 400% 400%;
  animation: gradientBg 15s ease infinite;
  position: relative;
}

/* ========== KEYFRAME ANIMATIONS ========== */

@keyframes gradientBg {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ========== ANIMATION CLASSES ========== */

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

.scale-up {
  animation: scaleUp 0.5s ease-out;
}

/* ========== MOUSE-TRACKING GLOW EFFECT ========== */

/* Main glow element that follows the cursor */
.mouse-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  pointer-events: none;
  z-index: 9500;
  opacity: 0.6;
  top: 0;
  left: 0;
  mix-blend-mode: screen;
  will-change: transform, opacity;
  background: radial-gradient(
    circle at center,
    rgba(109, 179, 72, 0.4) 0%,
    rgba(109, 179, 72, 0.2) 25%,
    rgba(74, 157, 115, 0.1) 50%,
    rgba(248, 251, 249, 0.05) 75%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(60px);
  transform: translate(-50%, -50%);
  box-shadow: 
    0 0 80px rgba(109, 179, 72, 0.3),
    0 0 40px rgba(109, 179, 72, 0.2),
    inset 0 0 60px rgba(248, 251, 249, 0.1);
}

/* Trail effect with multiple smaller glows */
.mouse-glow-trail {
  position: fixed;
  pointer-events: none;
  z-index: 9490;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.glow-particle {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
  mix-blend-mode: screen;
}

/* ========== RESET & GENERAL STYLES ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ========== LOADING SCREEN ========== */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #e8f5ea 0%, #c8e6c9 25%, #a5d6a7 50%, #c8e6c9 75%, #e8f5ea 100%);
  background-size: 400% 400%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: loaderFadeOut 0.8s ease-in-out 2.2s forwards;
  overflow: hidden;
}

.loader-container.hidden {
  display: none;
}

.loader-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoPulse 2s ease-in-out infinite;
}

.loader-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(45, 134, 89, 0.3));
}

.loader-spinner {
  position: relative;
  width: 50px;
  height: 50px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 3px solid transparent;
  border-top-color: var(--primary-color);
  border-right-color: var(--primary-light);
  border-radius: 50%;
  animation: spinnerRotate 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
  width: 70%;
  height: 70%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-top-color: var(--accent-color);
  border-right-color: transparent;
  animation: spinnerRotate 1s linear infinite reverse;
}

.spinner-ring:nth-child(3) {
  width: 40%;
  height: 40%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-top-color: var(--accent-light);
  border-right-color: transparent;
  animation: spinnerRotate 0.7s linear infinite;
}

.loader-text {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 2px;
  animation: loaderTextPulse 1.5s ease-in-out infinite;
}

.loader-text::after {
  content: '';
  animation: loaderDots 1.5s ease-in-out infinite;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(45, 134, 89, 0.1);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-light));
  border-radius: 2px;
  animation: progressFill 2s ease-in-out forwards;
}

.loader-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: rgba(45, 134, 89, 0.4);
  border-radius: 50%;
  animation: particleFloat 4s ease-in-out infinite;
}

/* Loader Animations */
@keyframes loaderFadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  95% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

@keyframes spinnerRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes loaderTextPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes loaderDots {
  0% {
    content: '';
  }
  25% {
    content: '.';
  }
  50% {
    content: '..';
  }
  75% {
    content: '...';
  }
  100% {
    content: '';
  }
}

@keyframes progressFill {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100px) translateX(50px) scale(0);
    opacity: 0;
  }
}

/* ========== NAVIGATION ========== */
.navbar {
  background: linear-gradient(135deg, #ffffff 0%, #f5f9f7 100%);
  border-bottom: 3px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1001;
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.08);
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px var(--spacing-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.nav-logo-link:hover {
  transform: scale(1.08);
}

.nav-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 8px rgba(45, 134, 89, 0.1));
  transition: filter 0.3s ease;
}

.nav-logo-link:hover .nav-logo {
  filter: drop-shadow(0 6px 16px rgba(45, 134, 89, 0.2));
}

.nav-brand-text {
  margin-left: 12px;
  font-size: 19px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav-brand-text small {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-gray);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.3px;
  padding: 8px 2px;
  position: relative;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  white-space: nowrap;
}

/* Elegant underline animation for nav items */
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  transform: translateX(-50%);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-menu a:hover {
  color: var(--primary-color);
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--primary-color);
  font-weight: 700;
}

.nav-menu a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  gap: 6px;
  width: 36px;
  height: 36px;
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.1) 0%,
    rgba(106, 179, 72, 0.05) 100%
  );
  border: 1px solid rgba(45, 134, 89, 0.2);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.hamburger i {
  font-size: 20px;
  color: var(--primary-color);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hamburger:hover {
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.2) 0%,
    rgba(106, 179, 72, 0.1) 100%
  );
  border-color: var(--primary-color);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.15);
}

.hamburger:hover i {
  transform: rotate(90deg);
}

.hamburger.active i {
  transform: rotate(90deg);
}

.menu-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.99);
  z-index: 999;
  animation: fadeIn 0.3s ease;
  overflow: hidden;
}

.menu-backdrop.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ========== HERO SECTION ========== */
.hero {
  padding: var(--spacing-2xl) var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.8);
}

/* Hero Background Carousel */
.hero-bg-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  inset: 0;
}

.hero-bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  opacity: 0;
  mix-blend-mode: overlay;
  animation: bgSlideFlow 16s infinite;
}

.hero-bg-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-bg-slide:nth-child(2) {
  animation-delay: 4s;
}

.hero-bg-slide:nth-child(3) {
  animation-delay: 8s;
}

.hero-bg-slide:nth-child(4) {
  animation-delay: 12s;
}

@keyframes bgSlideFlow {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  25% {
    opacity: 0.4;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(45, 134, 89, 0.15) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.particles-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0.15;
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title-wrapper {
  position: relative;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: var(--letter-spacing-tight);
  position: relative;
  width: 100%;
}

.rotating-text {
  position: absolute;
  width: 100%;
  opacity: 0;
  white-space: nowrap;
  left: 50%;
  transform: translateX(-50%);
}

.rotating-text.active {
  opacity: 1;
  position: relative;
  left: 0;
  transform: none;
  white-space: normal;
}

@keyframes fadeOutText {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes fadeInText {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 500;
  color: var(--text-gray);
  margin-bottom: var(--spacing-xl);
  line-height: 1.65;
  letter-spacing: 0.2px;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 12px 32px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  min-width: 160px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-primary::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: white;
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-primary:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 20px rgba(45, 134, 89, 0.25);
}

.btn-primary:hover::before {
  height: 100%;
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  background-color: var(--accent-color);
  color: white;
  border: 2px solid var(--accent-color);
}

.btn-secondary::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: white;
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-secondary:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: scale(0.97);
  box-shadow: 0 6px 20px rgba(109, 179, 72, 0.25);
}

.btn-secondary:hover::before {
  height: 100%;
}

.btn-secondary:active {
  transform: scale(0.95);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--primary-color);
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-outline:hover {
  color: white;
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 15px rgba(45, 134, 89, 0.25);
}

.btn-outline:hover::before {
  height: 100%;
}

.btn-outline:active {
  transform: scale(0.95);
}

.btn-light {
  background-color: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.btn-light::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: var(--primary-color);
  z-index: -1;
  transition: height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-light:hover {
  color: white;
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 15px rgba(45, 134, 89, 0.25);
}

.btn-light:hover::before {
  height: 100%;
}

.btn-light:active {
  transform: scale(0.95);
}

.btn-doc-preview,
.btn-doc-download {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-doc-preview {
  background-color: var(--shadow-light);
  color: var(--primary-color);
  margin-right: 8px;
  border: 1px solid transparent;
}

/* Top fill pseudo-element */
.btn-doc-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--primary-color);
  z-index: -1;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bottom fill pseudo-element */
.btn-doc-preview::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--primary-color);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-doc-preview:hover {
  color: white;
  border-color: var(--primary-color);
  transform: scale(0.97);
}

/* Animate both top and bottom to center on hover */
.btn-doc-preview:hover::before {
  transform: translateY(0);
}

.btn-doc-preview:hover::after {
  transform: translateY(0);
}

.btn-doc-download {
  background-color: var(--primary-color);
  color: white;
  border: 1px solid var(--primary-color);
}

/* Left fill pseudo-element */
.btn-doc-download::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: white;
  z-index: -1;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Right fill pseudo-element */
.btn-doc-download::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: white;
  z-index: -1;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-doc-download:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(0.97);
}

/* Animate both sides to center on hover */
.btn-doc-download:hover::before {
  transform: translateX(0);
}

.btn-doc-download:hover::after {
  transform: translateX(0);
}

/* ========== SLIDE ANIMATION BUTTONS ========== */
.btn-slide {
  position: relative;
  overflow: hidden;
}

.btn-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  z-index: -1;
  transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* View All Services Button - Slide Animation */
.btn-primary.btn-slide::before {
  background: white;
}

.btn-primary.btn-slide:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 20px rgba(45, 134, 89, 0.25);
}

.btn-primary.btn-slide:hover::before {
  left: 0;
}

.btn-primary.btn-slide:active {
  transform: scale(0.95);
}

/* Get In Touch Button - Slide Animation */
.btn-light.btn-slide::before {
  background: var(--primary-color);
}

.btn-light.btn-slide:hover {
  color: white;
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 15px rgba(45, 134, 89, 0.25);
}

.btn-light.btn-slide:hover::before {
  left: 0;
}

.btn-light.btn-slide:active {
  transform: scale(0.95);
}

/* ========== LEARN MORE BUTTON - CENTER MERGE ANIMATION ========== */
.btn-learn-more {
  position: relative;
  overflow: hidden;
}

/* Left fill pseudo-element */
.btn-learn-more::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: var(--primary-color);
  z-index: -1;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Right fill pseudo-element */
.btn-learn-more::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: var(--primary-color);
  z-index: -1;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-learn-more:hover {
  color: white;
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 15px rgba(45, 134, 89, 0.25);
}

/* Animate both sides to center on hover */
.btn-learn-more:hover::before {
  transform: translateX(0);
}

.btn-learn-more:hover::after {
  transform: translateX(0);
}

.btn-learn-more:active {
  transform: scale(0.95);
}

/* ========== GET IN TOUCH BUTTON - TOP-BOTTOM CENTER MERGE ANIMATION ========== */
.btn-get-in-touch {
  position: relative;
  overflow: hidden;
}

/* Top fill pseudo-element */
.btn-get-in-touch::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--primary-color);
  z-index: -1;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bottom fill pseudo-element */
.btn-get-in-touch::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--primary-color);
  z-index: -1;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-get-in-touch:hover {
  color: white;
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 15px rgba(45, 134, 89, 0.25);
}

/* Animate both top and bottom to center on hover */
.btn-get-in-touch:hover::before {
  transform: translateY(0);
}

.btn-get-in-touch:hover::after {
  transform: translateY(0);
}

.btn-get-in-touch:active {
  transform: scale(0.95);
}

/* ========== SEND MESSAGE BUTTON - 4-CORNER CENTER MERGE ANIMATION ========== */
.btn-send-message {
  position: relative;
  overflow: hidden;
}

/* Top fill from corners - expands down to center */
.btn-send-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: white;
  z-index: -1;
  transform: scaleX(0) scaleY(1);
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bottom fill from corners - expands up to center */
.btn-send-message::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: white;
  z-index: -1;
  transform: scaleX(0) scaleY(1);
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-send-message:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transform: scale(0.97);
  box-shadow: 0 6px 20px rgba(45, 134, 89, 0.25);
}

/* Expand both top and bottom fills to center on hover */
.btn-send-message:hover::before,
.btn-send-message:hover::after {
  transform: scaleX(1) scaleY(1);
}

.btn-send-message:active {
  transform: scale(0.95);
}

/* ========== FOUR-CORNER CENTER MERGE ANIMATION ========== */
.btn-four-corners {
  position: relative;
  overflow: hidden;
}

/* Top fill from corners - expands down to center */
.btn-four-corners::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: inherit;
  z-index: -1;
  transform: scaleX(0) scaleY(1);
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Bottom fill from corners - expands up to center */
.btn-four-corners::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: inherit;
  z-index: -1;
  transform: scaleX(0) scaleY(1);
  transform-origin: bottom center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* For btn-light + btn-four-corners */
.btn-light.btn-four-corners::before,
.btn-light.btn-four-corners::after {
  background: var(--primary-color);
}

/* For btn-primary + btn-four-corners */
.btn-primary.btn-four-corners::before,
.btn-primary.btn-four-corners::after {
  background: white;
}

.btn-four-corners:hover {
  transform: scale(0.97);
  box-shadow: 0 6px 20px rgba(45, 134, 89, 0.25);
}

.btn-light.btn-four-corners:hover {
  color: white;
  border-color: var(--primary-color);
}

.btn-primary.btn-four-corners:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Expand both top and bottom fills to center on hover */
.btn-four-corners:hover::before,
.btn-four-corners:hover::after {
  transform: scaleX(1) scaleY(1);
}

.btn-four-corners:active {
  transform: scale(0.95);
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.2;
}

.section-header p {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-gray);
  line-height: 1.65;
  letter-spacing: 0.2px;
}

/* ========== PAGE HEADER ========== */
.page-header {
  background:
    url("../images/all headers Bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  color: white;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 2;
  letter-spacing: var(--letter-spacing-tight);
  line-height: 1.2;
}

.page-header p {
  font-size: 18px;
  font-weight: 500;
  opacity: 0.95;
  position: relative;
  z-index: 2;
  line-height: 1.65;
  letter-spacing: 0.2px;
}

/* ========== ABOUT PREVIEW SECTION ========== */
.about-preview {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(248, 251, 249, 0.8) 0%,
    rgba(240, 247, 243, 0.6) 100%
  );
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.about-text p {
  margin-bottom: var(--spacing-md);
  color: var(--text-gray);
  line-height: 1.8;
}

.about-image {
  background: linear-gradient(135deg, #c8e6c9 0%, #e8f5e9 50%, #b8e6b8 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 500;
  box-shadow: 0 16px 48px rgba(45, 134, 89, 0.25), 0 4px 12px rgba(45, 134, 89, 0.15);
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* ========== SERVICES PREVIEW SECTION ========== */
.services-preview {
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(245, 250, 247, 0.6) 0%,
    rgba(248, 251, 249, 0.4) 50%,
    rgba(240, 247, 243, 0.5) 100%
  );
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.service-card {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 1px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  box-shadow: 0 16px 32px rgba(45, 134, 89, 0.18);
  transform: translateY(-12px) scale(1.02);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.service-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 2;
  color: var(--primary-color);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.08) 0%,
    rgba(106, 179, 72, 0.05) 100%
  );
  border-radius: 12px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.15) 0%,
    rgba(106, 179, 72, 0.1) 100%
  );
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 8px 20px rgba(45, 134, 89, 0.25);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.2px;
}

.service-card p {
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
}

.services-cta {
  text-align: center;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 50%,
    rgba(106, 179, 72, 0.9) 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
  color: white;
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  border-radius: 16px;
  margin: var(--spacing-xl) 0;
  box-shadow: 0 12px 32px rgba(45, 134, 89, 0.25);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.cta-section h2 {
  font-size: 32px;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 2;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
  position: relative;
  z-index: 2;
}

/* ========== PAGE CONTENT ========== */
.page-content {
  padding: var(--spacing-2xl) var(--spacing-md);
  min-height: 400px;
  background: linear-gradient(
    135deg,
    rgba(248, 251, 249, 0.5) 0%,
    rgba(240, 247, 243, 0.3) 50%,
    rgba(232, 245, 234, 0.4) 100%
  );
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--spacing-xl);
}

.content-main h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin: var(--spacing-lg) 0 var(--spacing-md) 0;
}

.content-main h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

.content-main p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.highlight-list {
  list-style: none;
  margin-bottom: var(--spacing-lg);
}

.highlight-list li {
  padding: 10px 0;
  padding-left: 0;
  position: relative;
  color: var(--text-gray);
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

.highlight-list li i {
  flex-shrink: 0;
  margin-top: 3px;
  font-size: 18px;
  display: inline-block;
  width: 20px;
  text-align: center;
}

.highlight-list li strong {
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 2px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.info-box {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 1px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-md);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--shadow-soft);
  position: relative;
}

.info-box:hover {
  box-shadow: 0 8px 20px rgba(45, 134, 89, 0.12);
  border-color: var(--accent-color);
  transform: translateY(-4px);
}

.info-box h3 {
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.info-box p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.info-box ul {
  list-style-position: inside;
  color: var(--text-gray);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.info-box.highlight {
  background: linear-gradient(135deg, #e8f5ea 0%, #f0f7f3 50%, #f5faf7 100%);
  border-color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(45, 134, 89, 0.12);
}

.info-box.highlight h3 {
  color: var(--primary-dark);
}

/* ========== MISSION & VISION ========== */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.mission-card,
.vision-card {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 2px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-xl);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.mission-card::before,
.vision-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(
    circle at top-right,
    rgba(45, 134, 89, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.mission-card:hover::before,
.vision-card:hover::before {
  opacity: 1;
}

.mission-card:hover,
.vision-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 32px rgba(45, 134, 89, 0.18);
  transform: translateY(-12px);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.card-icon {
  position: relative;
  z-index: 1;
}

.mission-card h2,
.vision-card h2 {
  position: relative;
  z-index: 1;
}

.card-icon {
  font-size: 48px;
  margin-bottom: var(--spacing-md);
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.mission-card:hover .card-icon,
.vision-card:hover .card-icon {
  transform: scale(1.1);
}

.mission-card h2,
.vision-card h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  font-size: 22px;
  font-weight: 700;
}

.intro-text {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  font-weight: 500;
}

.mission-list,
.vision-list {
  list-style: none;
}

.mission-list li,
.vision-list li {
  padding: 12px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-gray);
}

.mission-list li:before,
.vision-list li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.values-section {
  margin-bottom: var(--spacing-2xl);
}

.values-section h2 {
  font-size: 28px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.value-item {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border-radius: 12px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition-smooth);
  border: 1px solid rgba(45, 134, 89, 0.15);
  box-shadow: 0 4px 12px var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.value-item::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.value-item:hover::before {
  opacity: 1;
}

.value-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 12px 24px rgba(45, 134, 89, 0.15);
  border-color: var(--accent-color);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.value-item h3 {
  position: relative;
  z-index: 1;
}

.value-item p {
  position: relative;
  z-index: 1;
}

.value-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.value-item p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.7;
}

/* ========== SERVICES PAGE ========== */
.service-section {
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-lg);
  border-left: 4px solid var(--primary-color);
  background: var(--bg-light);
  border-radius: 6px;
}

/* Service sections with images */
.service-with-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  border-left: none;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.08);
  transition: all 0.3s ease;
}

.service-with-image:hover {
  box-shadow: 0 8px 24px rgba(45, 134, 89, 0.15);
  transform: translateY(-2px);
}

.service-with-image .service-header {
  grid-column: 1 / -1;
  margin-bottom: var(--spacing-sm);
}

.service-with-image .service-image {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
}

.service-with-image .service-content {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.service-with-image.service-reverse .service-image {
  grid-column: 2;
  grid-row: 2;
}

.service-with-image.service-reverse .service-content {
  grid-column: 1;
  grid-row: 2;
}

.service-image {
  overflow: hidden;
  border-radius: 8px;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft-green);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-with-image:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: var(--spacing-md);
}

.service-header {
  margin-bottom: var(--spacing-sm);
}

.service-header h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  padding: 18px 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  border-radius: 8px;
  background-image: 
    linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%),
    repeating-linear-gradient(45deg, transparent, transparent 2px, rgba(255,255,255,0.05) 2px, rgba(255,255,255,0.05) 4px);
  background-blend-mode: normal;
  box-shadow: 0 4px 15px rgba(45, 134, 89, 0.25);
  letter-spacing: 0.3px;
  display: inline-block;
  position: relative;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-header h2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 134, 89, 0.35);
}

.service-header h2 i {
  margin-right: 12px;
  font-size: 32px;
}

.service-details h3 {
  color: var(--primary-dark);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.service-details p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.service-details ul {
  list-style-position: inside;
  color: var(--text-gray);
  margin-left: 16px;
}

.service-details ul li {
  margin-bottom: 8px;
}

/* ========== TEAM PAGE ========== */
.team-intro {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: 18px;
  color: var(--text-gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  animation: fadeInUp 0.8s ease;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.team-card {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 2px solid rgba(45, 134, 89, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(45, 134, 89, 0.08), 0 2px 8px rgba(45, 134, 89, 0.04);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--spacing-lg);
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.team-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: -50px;
  bottom: 0;
  width: 200px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover::after {
  opacity: 1;
}

.team-card:hover {
  box-shadow: 0 20px 48px rgba(45, 134, 89, 0.16), 0 4px 12px rgba(45, 134, 89, 0.08);
  transform: translateY(-10px);
  border-color: rgba(45, 134, 89, 0.25);
}

.member-avatar {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  font-size: 32px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  position: relative;
}

.member-image {
  width: 150px;
  height: 150px;
  object-fit: cover;
  display: block;
  margin: 0 auto var(--spacing-lg);
  border-radius: 50%;
  border: 4px solid var(--bg-white);
  box-shadow: 0 8px 24px rgba(45, 134, 89, 0.15);
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.team-card:hover .member-image {
  box-shadow: 0 12px 36px rgba(45, 134, 89, 0.25);
  transform: scale(1.08);
}

.member-info {
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.member-info h3 {
  color: var(--primary-color);
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 700;
}

.position {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.qualification {
  color: var(--text-gray);
  font-size: 13px;
  margin-bottom: var(--spacing-md);
  line-height: 1.5;
}

.bio {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: var(--spacing-md);
  line-height: 1.6;
}

.expertise {
  background: linear-gradient(135deg, rgba(109, 179, 72, 0.08) 0%, rgba(74, 157, 115, 0.05) 100%);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-gray);
  border-left: 3px solid var(--accent-color);
  transition: var(--transition-smooth);
}

.team-card:hover .expertise {
  background: linear-gradient(135deg, rgba(109, 179, 72, 0.12) 0%, rgba(74, 157, 115, 0.08) 100%);
  border-left-color: var(--primary-color);
  transform: translateX(4px);
}

.team-table-section {
  margin-bottom: var(--spacing-2xl);
}

.team-table-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.table-responsive {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px var(--shadow-light);
}

.team-table {
  width: 100%;
  border-collapse: collapse;
}

.team-table thead {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
}

.team-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.team-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-gray);
}

.team-table tbody tr {
  transition: all 0.3s ease;
}

.team-table tbody tr:hover {
  background: linear-gradient(
    90deg,
    rgba(45, 134, 89, 0.05) 0%,
    rgba(45, 134, 89, 0.02) 100%
  );
  box-shadow: inset 0 0 12px rgba(45, 134, 89, 0.08);
}

.team-table tbody tr:hover td {
  color: var(--primary-color);
  font-weight: 500;
}

.team-values {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-soft-green) 100%);
  padding: var(--spacing-xl);
  border-radius: 16px;
  margin-bottom: var(--spacing-2xl);
  border: 2px solid rgba(45, 134, 89, 0.1);
  box-shadow: 0 8px 20px rgba(45, 134, 89, 0.06);
}

.team-values h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  font-size: 28px;
}

.values-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

.value-point {
  background: white;
  border: 2px solid rgba(45, 134, 89, 0.12);
  border-radius: 14px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.05);
}

.value-point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d8659 0%, #7cb342 50%, #6db348 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.value-point:hover::before {
  transform: scaleX(1);
}

.value-point:hover {
  border-color: rgba(45, 134, 89, 0.25);
  box-shadow: 0 12px 32px rgba(45, 134, 89, 0.15);
  transform: translateY(-6px);
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
}

.value-point h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.value-point h3 i {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.value-point:hover h3 i {
  transform: scale(1.2) rotate(5deg);
}

.value-point p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== CLIENT SUCCESS PAGE ========== */
.success-intro {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: 18px;
  color: var(--text-gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.before-after-section {
  margin-bottom: var(--spacing-2xl);
}

.before-after-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.comparison-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(45, 134, 89, 0.15);
  transition: var(--transition-smooth);
  background: white;
}

.comparison-card:hover {
  box-shadow: 0 12px 28px rgba(45, 134, 89, 0.25);
  transform: translateY(-8px);
}

.card-header {
  padding: var(--spacing-lg);
  color: white;
  position: relative;
}

.card-header.danger {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
}

.card-header.success {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
}

.card-header h3 {
  margin: 0;
  font-size: 20px;
  position: relative;
  z-index: 1;
}

.card-body {
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
}

.before-list,
.after-list {
  list-style: none;
}

.before-list li,
.after-list li {
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.before-list li:before {
  content: "✗";
  position: absolute;
  left: 0;
  color: #d32f2f;
  font-weight: bold;
}

.after-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.benefits-section {
  margin-bottom: var(--spacing-2xl);
}

.benefits-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.benefit-item {
  background: linear-gradient(
    135deg,
    rgba(248, 251, 249, 0.9) 0%,
    rgba(240, 247, 243, 0.7) 100%
  );
  padding: var(--spacing-lg);
  border-radius: 12px;
  text-align: center;
  border-top: 4px solid var(--primary-color);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px var(--shadow-soft);
  border: 1px solid rgba(45, 134, 89, 0.12);
  border-top: 4px solid var(--primary-color);
}

.benefit-item::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.benefit-item:hover::before {
  opacity: 1;
}

.benefit-item:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 16px 32px rgba(45, 134, 89, 0.18);
  border-top-color: var(--accent-color);
  background: linear-gradient(
    135deg,
    rgba(240, 247, 243, 1) 0%,
    rgba(232, 245, 234, 0.9) 100%
  );
}

.benefit-icon {
  position: relative;
  z-index: 1;
}

.benefit-icon {
  font-size: 36px;
  margin-bottom: var(--spacing-sm);
}

.benefit-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.benefit-item p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.stories-section {
  margin-bottom: var(--spacing-2xl);
}

.story-item {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 1px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.story-item::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.story-item:hover::before {
  opacity: 1;
}

.story-item:hover {
  box-shadow: 0 12px 28px rgba(45, 134, 89, 0.18);
  transform: translateY(-6px);
  border-color: var(--accent-color);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.story-item h3 {
  position: relative;
  z-index: 1;
}

.story-item p {
  position: relative;
  z-index: 1;
}

.story-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.story-item p {
  color: var(--text-gray);
  margin-bottom: 8px;
  line-height: 1.7;
}

.story-item strong {
  color: var(--primary-dark);
}

.testimonials-preview {
  text-align: center;
  background: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: 8px;
  margin-bottom: var(--spacing-2xl);
}

.testimonials-preview h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.testimonials-preview p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-lg);
}

.success-cta {
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: var(--spacing-xl);
  border-radius: 8px;
}

.success-cta h2 {
  margin-bottom: var(--spacing-sm);
}

.success-cta p {
  margin-bottom: var(--spacing-lg);
  opacity: 0.95;
}

/* ========== REVIEWS PAGE ========== */
.reviews-intro {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  font-size: 18px;
  color: var(--text-gray);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.review-card {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 1px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 12px var(--shadow-soft);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.review-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  right: -20px;
  font-size: 120px;
  opacity: 0;
  color: var(--primary-color);
  z-index: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 35%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 35%,
    rgba(0, 0, 0, 0) 100%
  );
}

.review-card:hover::before {
  opacity: 1;
}

.review-card:hover {
  box-shadow: 0 16px 32px rgba(45, 134, 89, 0.18);
  transform: translateY(-8px);
  border-color: var(--accent-color);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.star-rating {
  color: #ffa500;
  font-size: 16px;
}

.review-date {
  font-size: 12px;
  color: var(--accent-color);
  margin: 0;
}

.client-name {
  color: var(--primary-color);
  margin-bottom: 4px;
}

.client-company {
  color: var(--text-gray);
  font-size: 13px;
  margin-bottom: var(--spacing-md);
}

.review-text {
  color: var(--text-gray);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
  font-size: 14px;
}

.review-highlight {
  background: var(--bg-light);
  padding: 10px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--primary-color);
}

.review-stats {
  background: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: 8px;
  margin-bottom: var(--spacing-2xl);
}

.review-stats h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-lg);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
  animation: countUp 0.6s ease-out;
}

.stat-label {
  color: var(--text-gray);
  font-size: 14px;
}

.themes-section {
  margin-bottom: var(--spacing-2xl);
}

.themes-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xl);
}

.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--spacing-lg);
}

.theme-card {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 2px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.theme-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.theme-card:hover::before {
  opacity: 1;
}

.theme-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(45, 134, 89, 0.2);
  transform: translateY(-8px);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.theme-card h3 {
  position: relative;
  z-index: 1;
}

.theme-card p {
  position: relative;
  z-index: 1;
}

.theme-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.theme-card p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.reviews-cta {
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: var(--spacing-xl);
  border-radius: 8px;
}

.reviews-cta h2 {
  margin-bottom: var(--spacing-sm);
}

.reviews-cta p {
  margin-bottom: var(--spacing-lg);
}

/* ========== DOCUMENTS PAGE ========== */
.documents-intro {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: 8px;
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

.document-section {
  margin-bottom: var(--spacing-2xl);
}

.document-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
  font-size: 24px;
}

.section-description {
  color: var(--text-gray);
  margin-bottom: var(--spacing-lg);
}

.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.document-card {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 1px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 12px var(--shadow-soft);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.document-card::after {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.document-card:hover::after {
  opacity: 1;
}

.document-card:hover {
  box-shadow: 0 16px 32px rgba(45, 134, 89, 0.18);
  transform: translateY(-8px);
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.doc-icon {
  font-size: 36px;
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
  color: var(--primary-color);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.08) 0%,
    rgba(106, 179, 72, 0.05) 100%
  );
  border-radius: 8px;
  transition: var(--transition);
}

.document-card:hover .doc-icon {
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.15) 0%,
    rgba(106, 179, 72, 0.1) 100%
  );
  transform: scale(1.1);
}

.document-card h3 {
  position: relative;
  z-index: 1;
}

.doc-icon {
  font-size: 36px;
  margin-bottom: var(--spacing-sm);
}

.document-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 16px;
}

.document-card p {
  color: var(--text-gray);
  font-size: 14px;
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.doc-meta {
  display: flex;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  font-size: 12px;
}

.doc-type,
.doc-size {
  background: var(--bg-light);
  padding: 4px 8px;
  border-radius: 4px;
  color: var(--text-gray);
}

.doc-actions {
  display: flex;
  gap: 8px;
}

.info-section {
  background: var(--bg-light);
  padding: var(--spacing-xl);
  border-radius: 8px;
  margin-bottom: var(--spacing-2xl);
}

.info-section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
}

.info-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.info-item p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
}

.documents-cta {
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: var(--spacing-xl);
  border-radius: 8px;
}

.documents-cta h2 {
  margin-bottom: var(--spacing-sm);
}

.documents-cta p {
  margin-bottom: var(--spacing-lg);
}

/* ========== CONTACT PAGE ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.contact-form-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.contact-form-section > p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-lg);
}

.contact-form {
  background: var(--bg-light);
  padding: var(--spacing-lg);
  border-radius: 8px;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  color: var(--text-gray);
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-family);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--shadow-light);
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-lg);
}

.form-group.checkbox input {
  width: auto;
  margin-right: 8px;
}

.form-group.checkbox label {
  margin-bottom: 0;
}

.form-group button {
  width: 100%;
}

.form-note {
  font-size: 12px;
  color: var(--text-gray);
  text-align: center;
  margin-top: 8px;
}

.contact-info-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.info-box h3 {
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: var(--spacing-sm);
}

.info-box a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.info-box a:hover {
  text-decoration: underline;
}

/* ========== MAP SECTION ========== */
.map-section {
  margin: var(--spacing-2xl) 0;
  padding: var(--spacing-2xl) var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(232, 245, 234, 0.5) 0%,
    rgba(245, 250, 247, 0.5) 100%
  );
  border-radius: 12px;
  text-align: center;
}

.map-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  font-size: 28px;
}

.section-subtitle {
  color: var(--text-gray);
  font-size: 16px;
  margin-bottom: var(--spacing-lg);
  display: block;
}

.map-section iframe {
  margin-top: var(--spacing-lg);
}

.faq-section {
  margin-bottom: var(--spacing-2xl);
}

.faq-section h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.faq-item {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 1px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--shadow-soft);
  position: relative;
}

.faq-item.active {
  border-color: transparent;
}

.faq-item::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -30px;
  width: 150px;
  height: 150px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0) 70%
  );
}

.faq-item:hover {
  box-shadow: 0 12px 28px rgba(45, 134, 89, 0.15);
  transform: translateY(-4px);
  border-color: var(--accent-color);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item-header {
  padding: var(--spacing-lg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-md);
  user-select: none;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  border-bottom: 1px solid rgba(45, 134, 89, 0.1);
}

.faq-item.active .faq-item-header {
  border-bottom: none;
}

.faq-item-header:hover {
  background: rgba(45, 134, 89, 0.05);
}

.faq-item-header:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: -2px;
}

.faq-question {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  text-align: left;
  flex: 1;
}

.faq-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.1) 0%,
    rgba(106, 179, 72, 0.05) 100%
  );
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-toggle-icon i {
  color: var(--primary-color);
  font-size: 14px;
  transition: var(--transition);
}

.faq-item-header:hover .faq-toggle-icon {
  background: linear-gradient(
    135deg,
    rgba(45, 134, 89, 0.2) 0%,
    rgba(106, 179, 72, 0.1) 100%
  );
  transform: scale(1.1);
}

.faq-item p {
  padding: 0 var(--spacing-lg) var(--spacing-lg) var(--spacing-lg);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.3s ease-out,
    opacity 0.3s ease-out,
    padding 0.3s ease-out;
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.faq-item.active p {
  max-height: 500px;
  opacity: 1;
  padding: var(--spacing-lg);
}

.service-areas {
  background: linear-gradient(
    135deg,
    rgba(232, 245, 234, 0.6) 0%,
    rgba(240, 247, 243, 0.4) 100%
  );
  padding: var(--spacing-xl);
  border-radius: 12px;
  margin-bottom: var(--spacing-xl);
  border: 1px solid rgba(45, 134, 89, 0.15);
}

.service-areas h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.service-areas p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-md);
}

.areas-list {
  list-style-position: inside;
  color: var(--text-gray);
}

.areas-list li {
  margin-bottom: 8px;
}

.why-choose {
  margin-bottom: var(--spacing-2xl);
}

.why-choose h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.reason-item {
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 2px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-lg);
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.reason-item::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle at top-right,
    rgba(106, 179, 72, 0.1) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-image: radial-gradient(
    circle at top-right,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.06) 40%,
    rgba(0, 0, 0, 0) 100%
  );
}

.reason-item:hover::before {
  opacity: 1;
}

.reason-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 28px rgba(45, 134, 89, 0.18);
  transform: translateY(-8px) scale(1.03);
  background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 100%);
}

.reason-icon {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.reason-item h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  position: relative;
  z-index: 1;
}

.reason-item p {
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
#whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #20ba5a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 999;
  border: none;
  cursor: pointer;
}

#whatsapp-btn:hover {
  width: 70px;
  height: 70px;
  font-size: 38px;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
  transform: scale(1.1);
}

#whatsapp-btn:active {
  transform: scale(0.95);
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
  #whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    font-size: 36px;
  }

  #whatsapp-btn:hover {
    width: 75px;
    height: 75px;
    font-size: 42px;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-color) 50%,
    rgba(106, 179, 72, 0.85) 100%
  );
  background-size: 200% 200%;
  animation: gradientShift 10s ease infinite;
  color: white;
  padding: var(--spacing-2xl) var(--spacing-md) var(--spacing-lg);
  position: relative;
  overflow: hidden;
  border-top: 3px solid rgba(255, 255, 255, 0.15);
}

.footer::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  position: relative;
  z-index: 1;
}

.footer-section {
  backdrop-filter: blur(5px);
  padding: var(--spacing-lg);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  color: var(--accent-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section:hover h4 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 8px;
  transition: color 0.3s ease;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.footer-section p:last-child {
  margin-bottom: 0;
}

.footer-section a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: inline-block;
}

/* Elegant underline animation for footer links */
.footer-section a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light) 0%, rgba(255, 255, 255, 0.5) 100%);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.footer-section a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.footer-section ul li:last-child {
  margin-bottom: 0;
}

.footer-section:hover ul li {
  animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.footer-section ul li:nth-child(1) {
  animation-delay: 0.05s;
}

.footer-section ul li:nth-child(2) {
  animation-delay: 0.1s;
}

.footer-section ul li:nth-child(3) {
  animation-delay: 0.15s;
}

.footer-section ul li:nth-child(4) {
  animation-delay: 0.2s;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-lg);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  position: relative;
  z-index: 1;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom:hover {
  color: rgba(255, 255, 255, 1);
}

/* ========== COMMITMENT SECTION ========== */
.commitment-section {
  background: linear-gradient(
    135deg,
    rgba(232, 245, 234, 0.6) 0%,
    rgba(240, 247, 243, 0.4) 100%
  );
  padding: var(--spacing-xl);
  border-radius: 12px;
  border: 1px solid rgba(45, 134, 89, 0.15);
  box-shadow: 0 6px 20px rgba(45, 134, 89, 0.1);
}

.commitment-section h2 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
}

.commitment-text p {
  color: var(--text-gray);
  margin-bottom: var(--spacing-md);
}

.commitment-list {
  list-style-position: inside;
  color: var(--text-gray);
  margin-left: 16px;
}

.commitment-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ========== FORM MESSAGES ========== */
.success-message,
.error-message {
  padding: 16px 24px;
  border-radius: 6px;
  margin-bottom: 24px;
  animation: slideDown 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-weight: 500;
}

.success-message {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border-left: 4px solid #2e7d32;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.error-message {
  background: linear-gradient(135deg, #f44336 0%, #e53935 100%);
  color: white;
  border-left: 4px solid #c62828;
  box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

/* Loading spinner for button */
.btn-primary:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-primary.loading::after {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========== DOCUMENT READER ========== */
.document-reader {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.doc-reader-toolbar {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: var(--spacing-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(45, 134, 89, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
}

.doc-reader-title {
  font-size: 18px;
  font-weight: 600;
}

.doc-reader-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.doc-action-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.doc-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.doc-action-btn:active {
  transform: translateY(0);
}

.doc-reader-content {
  flex: 1;
  padding: var(--spacing-xl) var(--spacing-md);
  background: linear-gradient(
    135deg,
    rgba(248, 251, 249, 0.5) 0%,
    rgba(240, 247, 243, 0.3) 100%
  );
}

.doc-reader-inner {
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f9fdfb 0%, #f0f7f3 100%);
  border: 1px solid rgba(45, 134, 89, 0.15);
  border-radius: 12px;
  padding: var(--spacing-2xl);
  box-shadow: 0 8px 24px rgba(45, 134, 89, 0.1);
  line-height: 1.8;
}

.doc-reader-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-xl);
  border-bottom: 2px solid rgba(45, 134, 89, 0.2);
}

.doc-reader-header h1 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
}

.doc-reader-header p {
  font-size: 16px;
  color: var(--text-gray);
}

.doc-reader-body {
  color: var(--text-dark);
}

.doc-reader-body h2 {
  font-size: 24px;
  color: var(--primary-color);
  margin: var(--spacing-xl) 0 var(--spacing-md) 0;
  padding-top: var(--spacing-lg);
}

.doc-reader-body h3 {
  font-size: 18px;
  color: var(--primary-dark);
  margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

.doc-reader-body p {
  margin-bottom: var(--spacing-md);
  text-align: justify;
  color: var(--text-gray);
}

.doc-reader-body ul,
.doc-reader-body ol {
  margin-left: 24px;
  margin-bottom: var(--spacing-md);
}

.doc-reader-body li {
  margin-bottom: 12px;
  color: var(--text-gray);
}

.doc-reader-body strong {
  color: var(--primary-dark);
  font-weight: 600;
}

.doc-reader-body em {
  color: var(--accent-color);
  font-style: italic;
}

.doc-section {
  margin-bottom: var(--spacing-xl);
}

.doc-section-title {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid rgba(106, 179, 72, 0.3);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--spacing-lg) 0;
  background: linear-gradient(
    135deg,
    rgba(232, 245, 234, 0.4) 0%,
    rgba(240, 247, 243, 0.2) 100%
  );
  border-radius: 8px;
  overflow: hidden;
}

.doc-table th {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: white;
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
}

.doc-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(45, 134, 89, 0.1);
}

.doc-table tbody tr:hover {
  background: rgba(106, 179, 72, 0.05);
}

.doc-reader-footer {
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--bg-light);
  border-top: 1px solid rgba(45, 134, 89, 0.15);
  text-align: center;
  color: var(--text-gray);
  font-size: 14px;
}

.doc-back-link {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: var(--spacing-lg);
  transition: all 0.3s ease;
}

.doc-back-link:hover {
  color: var(--primary-dark);
  transform: translateX(-4px);
}

.doc-back-link::before {
  content: "← ";
}

/* ========== DOCUMENT READER MOBILE ========== */
@media (max-width: 767px) {
  .doc-reader-toolbar {
    padding: 12px;
  }

  .doc-reader-title {
    font-size: 16px;
  }

  .doc-action-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  .doc-reader-content {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .doc-reader-inner {
    padding: var(--spacing-lg);
    margin: 0 auto;
  }

  .doc-reader-header h1 {
    font-size: 22px;
  }

  .doc-reader-header p {
    font-size: 14px;
  }

  .doc-reader-body h2 {
    font-size: 20px;
  }

  .doc-reader-body h3 {
    font-size: 16px;
  }

  .doc-reader-body p {
    font-size: 15px;
    text-align: left;
  }

  .doc-table th,
  .doc-table td {
    padding: 8px 12px;
    font-size: 14px;
  }

  .doc-reader-actions {
    gap: 6px;
  }
}

@media (max-width: 479px) {
  .doc-reader-toolbar {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .doc-reader-title {
    width: 100%;
  }

  .doc-reader-actions {
    width: 100%;
    justify-content: space-between;
  }

  .doc-action-btn {
    flex: 1;
    justify-content: center;
    min-width: 80px;
  }

  .doc-reader-inner {
    padding: var(--spacing-md);
  }

  .doc-reader-body p {
    font-size: 14px;
  }
}

/* ========== INTERACTIVE ANIMATIONS ========== */

/* Click Particle Effect */
.click-particle {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(45, 134, 89, 0.5);
  will-change: transform, opacity;
  z-index: 9998;
}

/* ========== MOVE TRACK MELTING ANIMATION ========== */

/* Base melting container for tracked elements */
.melting-track-effect {
  position: relative;
  overflow: hidden;
  border-radius: inherit;
}

/* Melting background gradient that responds to movement */
.melting-track-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(106, 179, 72, 0.1) 0%, rgba(248, 251, 249, 0.95) 50%, rgba(74, 157, 115, 0.08) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease-out;
  will-change: opacity, transform, background-position;
}

/* Activated melting track background */
.melting-track-effect:hover .melting-track-bg {
  opacity: 1;
}

/* Dynamic melting animation with flowing effect */
@keyframes meltingFlow {
  0% {
    background-position: 0% 50%;
    transform: translateY(0);
  }
  50% {
    background-position: 100% 50%;
    transform: translateY(2px);
  }
  100% {
    background-position: 0% 50%;
    transform: translateY(0);
  }
}

/* Apply flowing animation to melting background */
.melting-track-effect:hover .melting-track-bg {
  animation: meltingFlow 3s ease-in-out infinite;
}

/* Enhanced melting effect for buttons with liquid response */
.melting-track-button {
  position: relative;
  background-size: 200% 200%;
  transition: all 0.3s ease-out;
}

.melting-track-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(109, 179, 72, 0.15) 0%, rgba(74, 157, 115, 0.1) 100%);
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.melting-track-button:hover::before {
  opacity: 1;
  animation: buttonMelt 0.6s ease-out;
}

/* Button melting animation - liquid-like response */
@keyframes buttonMelt {
  0% {
    transform: scaleY(0.8);
    opacity: 0;
  }
  50% {
    transform: scaleY(1.05);
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

/* Smooth melting transition for cards */
.melting-track-card {
  position: relative;
}

.melting-track-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(106, 179, 72, 0.08) 0%, rgba(248, 251, 249, 0.98) 50%, rgba(74, 157, 115, 0.06) 100%);
  opacity: 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
  transition: opacity 0.3s ease-out, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.melting-track-card:hover::after {
  opacity: 1;
  animation: cardMeltingFlow 2.5s ease-in-out infinite;
}

/* Card melting animation - smooth flowing transition */
@keyframes cardMeltingFlow {
  0% {
    transform: translateY(0) scaleY(1);
  }
  50% {
    transform: translateY(3px) scaleY(0.98);
  }
  100% {
    transform: translateY(0) scaleY(1);
  }
}

/* Gradient shift animation for smooth color melting */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Melting Background Effect - CSS handled in JavaScript */
.melting-bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.3;
}

/* ========== MODERN SERVICES PAGE STYLING ========== */

/* Services Modern Container */
.services-modern {
  padding: var(--spacing-2xl) 0;
  position: relative;
}

/* Services Intro Section */
.services-intro {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease;
}

.section-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  letter-spacing: var(--letter-spacing-tight);
}

.section-description {
  font-size: var(--font-size-large);
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Grid Layout */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

/* Service Card Styles */
.service-card {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(45, 134, 89, 0.08);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  border: 1px solid rgba(45, 134, 89, 0.08);
}

/* Hover effect on service card */
.service-card:hover {
  box-shadow: 0 12px 35px rgba(45, 134, 89, 0.15);
  transform: translateY(-8px);
}

/* Service Card Image Container */
.service-card-image {
  position: relative;
  overflow: hidden;
  height: 220px;
  background: linear-gradient(135deg, #f0f7f3 0%, #e8f5ea 100%);
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

/* Overlay on image hover */
.service-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(45, 134, 89, 0.15);
  opacity: 0;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-overlay {
  opacity: 1;
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

/* Service Card Content */
.service-card-content {
  padding: var(--spacing-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.service-card-content h3 i {
  font-size: 20px;
  flex-shrink: 0;
}

/* Service excerpt text */
.service-excerpt {
  font-size: var(--font-size-small);
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
  flex: 1;
}

/* Service Points (bullet list) */
.service-points {
  margin: var(--spacing-md) 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.point-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-small);
  color: var(--text-gray);
  animation: slideInRight 0.5s ease;
}

.point-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
}

/* Expand Button */
.service-expand-btn {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: var(--font-size-small);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  margin-top: auto;
}

.service-expand-btn:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  transform: translateX(4px);
}

.service-expand-btn:active {
  transform: translateX(2px) scale(0.98);
}

/* Expanded Content */
.service-card-expanded {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-white);
  padding: var(--spacing-lg);
  border-radius: 16px;
  z-index: 10;
  overflow-y: auto;
  max-height: 100%;
  animation: expandSlideIn 0.4s ease;
}

.expanded-content {
  font-size: var(--font-size-small);
  color: var(--text-gray);
  line-height: 1.7;
}

.expanded-content p {
  margin-bottom: var(--spacing-md);
  color: var(--text-dark);
}

.expanded-content h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.expanded-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-md);
}

.expanded-content li {
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  position: relative;
  color: var(--text-gray);
}

.expanded-content li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: bold;
}

/* Back button in expanded view */
.expanded-close {
  position: absolute;
  top: var(--spacing-md);
  right: var(--spacing-md);
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.expanded-close:hover {
  transform: rotate(90deg);
  color: var(--primary-dark);
}

/* Animation for expand slide in */
@keyframes expandSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Slide in right animation */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* CTA Section */
.services-cta {
  text-align: center;
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, var(--bg-soft-green) 0%, #e8f5ea 100%);
  border-radius: 16px;
  margin-top: var(--spacing-2xl);
  animation: fadeInUp 0.8s ease;
  border: 2px solid rgba(45, 134, 89, 0.15);
}

.services-cta h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.services-cta p {
  font-size: var(--font-size-large);
  color: var(--text-gray);
  margin-bottom: var(--spacing-lg);
}

/* Responsive adjustments for services grid */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .section-subtitle {
    font-size: 24px;
  }

  .service-card-content {
    padding: var(--spacing-md);
  }

  .services-cta {
    padding: var(--spacing-lg);
  }

  .services-cta h2 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    gap: var(--spacing-sm);
  }

  .service-card-image {
    height: 180px;
  }

  .section-subtitle {
    font-size: 20px;
  }

  .service-card-content h3 {
    font-size: 16px;
  }
}


