/* Replace the entire existing CSS from line 1 with this cleaned version */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: #1e2b22;
  background: #fff;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4 {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.container {
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

:root {
  --primary: #1F4D36;
  --primary-light: #2a6b48;
  --primary-dark: #153d2a;
  --accent: #C8A96A;
  --accent-light: #d9bf8a;
  --accent-dark: #b3914a;
  --light-sage: #A3B18A;
  --bg-light: #f0f5ec;
  --text-dark: #1e2b22;
  --text-light: #4a5e52;
  --shadow-soft: 0 20px 40px -10px rgba(0,40,20,0.12);
  --shadow-hover: 0 30px 50px -12px rgba(31,77,54,0.25);
  --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Progress Bar */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 1001;
  transition: width 0.2s ease;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

nav.scrolled {
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 5%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 70px;
  width: auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  transition: transform 0.3s ease;
}

.logo-img span {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.logo-img:hover {
  transform: scale(1.05);
}

.logo span {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Inter', 'Poppins', sans-serif;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: white;
  font-size: 0.98rem;
  transition: 0.2s;
  position: relative;
  padding: 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

nav.scrolled .nav-links a {
  color: var(--text-dark);
  text-shadow: none;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-links a:hover::before {
  transform: scaleX(1);
}

.nav-links a.active-page {
  color: var(--accent) !important;
}

nav.scrolled .nav-links a.active-page {
  color: var(--accent-dark) !important;
}

.call-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 0.8rem 2.2rem;
  border-radius: 60px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 8px 18px rgba(31,77,54,0.3);
  position: relative;
  overflow: hidden;
}

.call-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  transition: left 0.6s;
}

.call-btn:hover::after {
  left: 100%;
}

.call-btn:hover {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary) !important;
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  padding: 10px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: white;
  transition: 0.2s;
  border-radius: 4px;
}

nav.scrolled .hamburger span {
  background: var(--primary);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 59, 42, 0.95);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  max-width: 85vw;
  height: 100vh;
  background: white;
  z-index: 2000;
  padding: 6rem 2rem 2rem;
  box-shadow: -20px 0 60px rgba(0,20,0,0.3);
  transition: right 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  border-left: 4px solid var(--accent);
  overflow-y: auto;
}

.mobile-menu.open { right: 0; }

.mobile-menu-header {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-menu-logo .logo-img-small {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-menu {
  font-size: 2rem;
  cursor: pointer;
  color: var(--primary);
  transition: 0.2s;
  background: rgba(31,77,54,0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-menu:hover {
  transform: rotate(90deg);
  background: var(--primary);
  color: white;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 1rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.2s;
  border-radius: 60px;
  background: #f8faf7;
  border: 1px solid rgba(31,77,54,0.1);
}

.mobile-menu-item i {
  width: 28px;
  color: var(--accent);
  font-size: 1.2rem;
}

.mobile-menu-item:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  transform: translateX(8px);
}

.mobile-menu-item:hover i { color: white; }

.mobile-menu-item.active-page {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.mobile-menu-item.active-page i { color: white; }

.mobile-call-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem;
  border-radius: 60px;
  text-align: center;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.mobile-social {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(31,77,54,0.1);
}

.mobile-social a {
  width: 48px;
  height: 48px;
  background: #eef4f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s;
  font-size: 1.3rem;
}

.mobile-social a:hover {
  background: var(--accent);
  color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem 2.8rem;
  border-radius: 60px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(31,77,54,0.3);
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 200%;
  height: 200%;
  background: linear-gradient(115deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  transition: left 0.6s;
}

.btn:hover::after { left: 100%; }

.btn:hover {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
  will-change: opacity;
}

@media (min-width: 769px) {
  .slide { background-attachment: fixed; }
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg, rgba(11, 59, 42, 0.75), rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  padding: 6rem 1rem;
  z-index: 3;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #fff, transparent);
  z-index: 1;
}

.hero-content {
  max-width: 950px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: linear-gradient(135deg, #fff, var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.2s;
}

.dot.active {
  background: var(--accent);
  width: 30px;
  border-radius: 10px;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 12px 20px;
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 98;
  border-top: 1px solid var(--accent);
}

.sticky-mobile-cta a {
  flex: 1;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: 600;
  padding: 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.sticky-mobile-cta a:first-child {
  background: rgba(255,255,255,0.15);
  margin-right: 10px;
}

.sticky-mobile-cta a:last-child {
  background: var(--accent);
  color: var(--primary-dark);
}

@media (max-width: 768px) {
  .sticky-mobile-cta { display: flex; }
  body { padding-bottom: 70px; }
  .slide { background-attachment: scroll !important; }
}

/* Trust Strip */
.trust-strip {
  background: white;
  padding: 3rem 0;
  position: relative;
  z-index: 5;
}

.trust-grid {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 600;
  color: var(--primary);
  background: linear-gradient(135deg, #f4faf6, #fff);
  padding: 1rem 2.2rem;
  border-radius: 60px;
  transition: all 0.3s;
  border: 1px solid rgba(31,77,54,0.1);
}

.trust-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.trust-item i {
  font-size: 2rem;
  color: var(--accent);
}

/* Services Section */
#services {
  background: linear-gradient(135deg, #f0f5ec 0%, #ffffff 50%, #f8f4e8 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  padding: 6rem 0;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 4px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.card {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 38px;
  padding: 3rem 2rem;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-hover);
  background: linear-gradient(135deg, #236b4a, #1a5439);
}

.card i {
  font-size: 3.5rem;
  color: white;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.card:hover i {
  color: var(--accent);
  transform: scale(1.1);
}

.card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card span::after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.2s;
  display: inline-block;
}

.card:hover span::after {
  transform: translateX(5px);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2.5rem 0 3rem;
}

.area-tag {
  background: linear-gradient(135deg, #edf3ea, #fff);
  padding: 1rem 2.5rem;
  border-radius: 80px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  border: 1px solid rgba(31,77,54,0.1);
}

.area-tag:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  transform: translateY(-5px);
}

/* Featured Grid */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin: 5rem 0;
}

.featured-img {
  border-radius: 40px;
  overflow: hidden;
  transition: all 0.3s;
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.featured-img img {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform 0.5s;
  object-fit: cover;
}

.featured-text {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
}

.featured-text h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  position: relative;
  text-align: left;
}

.featured-text h2::before {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  transform: translateX(0);
  width: 60px;
  height: 4px;
  background: var(--accent);
  border-radius: 4px;
}

.featured-text p {
  text-align: left;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: var(--text-light);
}

.featured-text .btn {
  align-self: flex-start;
}

.featured-img:hover {
  transform: scale(1.02);
}

.featured-img:hover img {
  transform: scale(1.05);
}

/* Why Choose Us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.why-item {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 80px;
  transition: all 0.3s;
  border: 1px solid rgba(31,77,54,0.1);
}

.why-item:hover {
  transform: translateX(10px);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.why-item i {
  font-size: 2rem;
  color: var(--accent);
  background: #f0f7f2;
  padding: 1rem;
  border-radius: 50%;
  transition: all 0.3s;
}

.why-item:hover i {
  color: white;
  background: rgba(255,255,255,0.2);
  transform: rotate(360deg);
}

/* Gallery */
#gallery {
  padding: 6rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 0.3s;
  display: block;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '\f00e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: var(--primary-dark);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  transform: scale(0.5);
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Counter Section */
.counter-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.counter-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200,169,106,0.1), transparent 70%);
  animation: rotate 30s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.counter-number {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent), white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonials-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #f0f5ec 0%, #ffffff 50%, #f8f4e8 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

.testimonials-swiper {
  padding: 2rem 1rem 4rem;
}

.testimonial-card {
  background: white;
  border-radius: 40px;
  padding: 2rem;
  transition: all 0.3s;
  border: 1px solid rgba(31,77,54,0.1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card i {
  color: var(--accent);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

/* Contact */
#contact {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin: 3rem 0;
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid #e0eee6;
  border-radius: 60px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  background: #fbfefc;
  font-size: 1rem;
}

.form-group textarea {
  border-radius: 30px;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-group label {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.6rem;
  display: block;
  margin-left: 0.5rem;
}

.error-message {
  color: #dc3545;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  margin-left: 0.5rem;
}

.form-status {
  padding: 1rem;
  border-radius: 60px;
  margin-bottom: 1rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
}

.form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
}

/* Footer */
footer {
  background: linear-gradient(135deg, #0e2f20, #1a4a33);
  color: #ddd;
  padding: 5rem 5% 2rem;
  border-radius: 60px 60px 0 0;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col a {
  color: #ccc;
  text-decoration: none;
  display: block;
  margin: 0.8rem 0;
  transition: all 0.2s;
}

.footer-col a:hover {
  color: white;
  transform: translateX(5px);
}

.social {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.social a {
  background: #265a3e;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s;
}

.social a:hover {
  background: var(--accent);
  color: #0e2f20;
  transform: translateY(-5px);
}

.footer-bottom {
  border-top: 1px solid rgba(200,169,106,0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
}

.credit {
  width: 100%;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.95rem;
  border-top: 1px solid rgba(200,169,106,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.credit-text {
  color: #C8A96A;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* JS Tech Typing */
.js-tech-typing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 60px;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(200,169,106,0.1), rgba(31,77,54,0.1));
  border: 1px solid rgba(200,169,106,0.3);
  cursor: pointer;
  color: #C8A96A;
}

.js-tech-typing::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200,169,106,0.2), transparent);
  transition: left 0.5s ease;
}

.js-tech-typing:hover::before {
  left: 100%;
}

.js-tech-typing:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(31,77,54,0.3);
  border-color: transparent;
  color: white;
}

.js-tech-typing:hover i {
  color: white;
}

.js-tech-typing i {
  font-size: 1rem;
  transition: transform 0.3s;
  color: #C8A96A;
}

.js-tech-typing:hover i {
  transform: rotate(360deg);
  color: white;
}

.typing-text {
  font-family: 'Courier New', monospace;
  font-weight: 600;
  color: #C8A96A;
}

.js-tech-typing:hover .typing-text {
  color: white;
}

.typing-text::after {
  content: '|';
  animation: blink 0.8s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Floating Buttons */
.float-btns {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.float-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: all 0.3s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.float-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.float-btn:hover {
  transform: scale(1.1);
}

.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 98;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

/* Experience Stats */
.experience-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  background: rgba(31,77,54,0.05);
  padding: 1.5rem 2rem;
  border-radius: 80px;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.about-content {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Modals */
.service-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  z-index: 4000;
  align-items: center;
  justify-content: center;
}

.service-modal.show { display: flex; }

.service-modal-content {
  background: white;
  max-width: 900px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 50px;
  padding: 2.5rem;
  position: relative;
}

.service-modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  background: rgba(31,77,54,0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: var(--primary);
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 40, 28, 0.9);
  backdrop-filter: blur(10px);
  z-index: 3000;
  align-items: center;
  justify-content: center;
}

.modal.show { display: flex; }

.modal-content {
  background: white;
  max-width: 750px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 50px;
  padding: 2.5rem 2rem;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(31,77,54,0.1);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

/* Legal Tabs */
.legal-tabs {
  display: flex;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
  border-bottom: 2px solid rgba(31,77,54,0.1);
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
}

.legal-tab {
  padding: 0.6rem 1.8rem;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
  border-radius: 40px;
}

.legal-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
}

.legal-panel {
  display: none;
  padding: 1rem 0.5rem;
}

.legal-panel.active { display: block; }

.legal-panel h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.legal-panel h3 {
  color: var(--accent);
  margin: 1.5rem 0 1rem;
  font-size: 1.3rem;
}

.legal-panel p, .legal-panel li {
  color: #1e2b22;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fallback images */
img {
  background-color: #e0eee6;
}

img[src=""], img:not([src]) {
  opacity: 0;
  min-height: 200px;
  background: linear-gradient(135deg, #e0eee6, #c8d9cc);
}

/* Page Hero */
.page-hero {
  padding: 8rem 5% 4rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(200,169,106,0.15), transparent 60%);
  animation: rotate 25s linear infinite;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  -webkit-text-fill-color: white;
  background: none;
}

.page-hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  position: relative;
  z-index: 1;
}

.breadcrumb {
  position: relative;
  z-index: 1;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.8rem;
}

.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* TVL Offer Popup */
@keyframes tvlSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

@keyframes tvlFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#tvl-offer-overlay { animation: tvlFadeIn 0.25s ease both; }
#tvl-offer-close:hover { background: rgba(31,77,54,0.18) !important; }
#tvl-offer-cta:hover   { opacity: 0.88; transform: translateY(-2px); }

/* Mobile adjustments for popup */
@media (max-width: 520px) {
  #tvl-offer-box { padding: 2rem 1.25rem 1.75rem !important; }
  #tvl-offer-box h3 { font-size: 1.25rem !important; }
  #tvl-offer-box .tvl-timer-block { min-width: 52px !important; padding: 0.5rem 0.6rem !important; }
  #tvl-days, #tvl-hours, #tvl-mins, #tvl-secs { font-size: 1.4rem !important; }
}

/* Background Utility */
.bg-light {
  background: linear-gradient(135deg, #f0f5ec 0%, #ffffff 50%, #f8f4e8 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
}

/* ============================================
   RESPONSIVE MEDIA QUERIES
   ============================================ */

@media (max-width: 1200px) {
  .container {
    width: 92%;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid > div:last-child {
    order: -1;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .logo-img { height: 45px; width: auto; }
  .logo-img span { font-size: 1.2rem; }
  .logo span { font-size: 1.3rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  
  /* Hero */
  .hero { padding: 5rem 1rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }
  .hero-buttons .btn { width: 100%; max-width: 280px; padding: 0.9rem 1.5rem; }
  
  /* Trust Strip */
  .trust-grid { flex-direction: column; align-items: center; gap: 1rem; }
  .trust-item { width: 100%; justify-content: center; padding: 0.8rem 1.5rem; font-size: 0.9rem; }
  
  /* Featured Grid */
  .featured-grid { 
    grid-template-columns: 1fr !important; 
    gap: 2rem; 
    margin: 3rem 0;
  }
  .featured-grid .featured-text { order: 2 !important; text-align: center; align-items: center; padding: 0; }
  .featured-grid .featured-img { order: 1 !important; min-height: 250px; }
  .featured-text h2 { font-size: 1.8rem !important; text-align: center; }
  .featured-text h2::before { left: 50%; transform: translateX(-50%); }
  .featured-text p { text-align: center; }
  .featured-text .btn { align-self: center; }
  
  /* Counter */
  .counter-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .counter-number { font-size: 2.5rem; }
  
  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; }
  
  /* Services */
  .service-cards { grid-template-columns: 1fr; }
  .card { padding: 2rem 1.5rem; }
  .card h3 { font-size: 1.5rem; }
  
  /* Section Titles */
  .section-title { font-size: 1.8rem; }
  .section-subtitle { font-size: 1rem; margin-bottom: 2rem; }
  
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .footer-col h4::after { left: 50%; transform: translateX(-50%); }
  .social { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .legal-links { justify-content: center; gap: 1rem; }
  
  /* Floating Buttons */
  .float-btns { bottom: 80px; right: 15px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.5rem; }
  .scroll-top { bottom: 80px; left: 15px; width: 40px; height: 40px; font-size: 1.2rem; }
  
  /* Legal Tabs */
  .legal-tabs { justify-content: center; }
  .legal-tab { padding: 0.5rem 1rem; font-size: 0.9rem; }
  
  /* Modal */
  .modal-content { padding: 1.5rem; }
  
  /* Experience Stats */
  .experience-stats { flex-direction: column; gap: 1rem; padding: 1rem; }
  
  /* Credit */
  .credit { flex-direction: column; gap: 8px; }
  .js-tech-typing { padding: 6px 16px; font-size: 0.9rem; }
}

@media (max-width: 576px) {
  .hero h1 { font-size: 1.6rem; }
  .logo-img { height: 35px; width: auto; }
  .logo-img span { font-size: 1rem; }
  .logo span { font-size: 1rem; }
  .trust-item i { font-size: 1.2rem; }
  .card i { font-size: 2rem; }
  .counter-number { font-size: 2rem; }
  .featured-img { min-height: 200px; }
  .featured-img img { object-fit: cover; min-height: 200px; }
}

@media (max-width: 480px) {
  .container {
    width: 95%;
  }
  
  .btn {
    padding: 0.8rem 1.8rem;
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}