/* Custom CSS improvements for GreenZA website */

/* CSS Variables for Modern Design System */
:root {
  --primary-green: #28a745;
  --secondary-green: #20c997;
  --dark-green: #1e7e34;
  --primary-blue: #37517e;
  --light-blue: #f8f9fa;
  --accent-orange: #fd7e14;
  --text-dark: #2c3e50;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 4px 25px rgba(0, 0, 0, 0.15);
  --shadow-strong: 0 8px 35px rgba(0, 0, 0, 0.25);
  --border-radius: 12px;
  --border-radius-small: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
  --gradient-secondary: linear-gradient(135deg, var(--primary-blue), #4a6cf7);
}

/* Enhanced Typography */
body {
  font-family: 'Inter', 'Poppins', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-dark);
  font-size: 16px;
  letter-spacing: 0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

/* Reading experience improvements */
.content p:first-of-type {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Hero section enhancements */
/* Reverted hero section to original styling - keeping other modern enhancements */

/* Hero text styling - keeping original template colors but with improved typography */
.hero-container h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.hero-container h2 {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  margin-bottom: 40px;
  font-weight: 300;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* Services section styling */
.services {
  padding: 60px 0;
  background: #f8f9fa;
}

.services .icon-box {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-light);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.services .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.services .icon-box:hover::before {
  transform: scaleX(1);
}

.services .icon-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(145deg, #ffffff, #f0f8ff);
}

.services .icon {
  margin: 0 auto 25px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  position: relative;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
  transition: var(--transition);
}

.services .icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.services .icon-box:hover .icon::before {
  opacity: 1;
}

.services .icon-box:hover .icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 35px rgba(40, 167, 69, 0.4);
}

.services .icon i {
  font-size: 32px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.services .icon-box h4 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .icon-box h4 a {
  color: #37517e;
  text-decoration: none;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  color: #6c757d;
}

/* Contact section improvements */
.contact .info-box {
  color: #444444;
  background: #fff;
  padding: 20px;
  width: 100%;
  box-shadow: 0 0 24px 0 rgba(34, 69, 126, 0.08);
  border-radius: 8px;
  transition: 0.3s;
}

.contact .info-box:hover {
  box-shadow: 0 0 30px 0 rgba(34, 69, 126, 0.15);
}

.contact .info-box i {
  font-size: 20px;
  color: #28a745;
  border-radius: 50%;
  padding: 8px;
  border: 2px solid #28a745;
  float: left;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0 8px 68px;
}

.contact .info-box p {
  padding: 0;
  color: #777777;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .php-email-form {
  background: #fff;
  padding: 30px;
  box-shadow: 0 0 24px 0 rgba(34, 69, 126, 0.08);
  border-radius: 8px;
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
  border-radius: 4px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  border-radius: 4px;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  border-radius: 4px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: var(--border-radius-small);
  box-shadow: none;
  font-size: 15px;
  border: 2px solid #e9ecef;
  padding: 16px 20px;
  font-family: inherit;
  transition: var(--transition);
  background: #fafafa;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--primary-green);
  outline: none;
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
  background: var(--white);
  transform: translateY(-1px);
}

.contact .php-email-form .form-group {
  position: relative;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #adb5bd;
  font-weight: 400;
}

.contact .php-email-form button[type="submit"] {
  background: #28a745;
  border: 0;
  padding: 12px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
  font-weight: 600;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #218838;
  transform: translateY(-1px);
}

/* Team section improvements */
.team .member {
  margin-bottom: 30px;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.team .member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.team .member:hover::before {
  transform: scaleX(1);
}

.team .member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
  background: linear-gradient(145deg, #ffffff, #f0f8ff);
}

.team .member .pic {
  overflow: hidden;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #37517e;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
  margin-bottom: 15px;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 22px;
  color: #777777;
  margin-bottom: 15px;
}

.team .member .social {
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #28a745;
  margin: 0 2px;
  font-size: 18px;
}

.team .member .social a:hover {
  color: #1e7e34;
}

/* Page title improvements */
.page-title-frame {
  text-align: center;
  margin-bottom: 40px;
}

.page-title-frame {
  text-align: center;
  margin-bottom: 70px;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 400;
  margin-top: 15px;
  margin-bottom: 0;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.page-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: 0;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-title::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 20px;
  animation: pulse-underline 2s ease-in-out infinite;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: var(--accent-orange);
  border-radius: 20px;
  animation: pulse-underline 2s ease-in-out infinite 0.5s;
}

@keyframes pulse-underline {
  0%, 100% { opacity: 1; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scaleX(1.1); }
}

/* Advanced Content Animations */
@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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Staggered animation classes */
.animate-fade-up { animation: fadeInUp 0.6s ease-out; }
.animate-fade-left { animation: fadeInLeft 0.6s ease-out; }
.animate-fade-right { animation: fadeInRight 0.6s ease-out; }
.animate-scale-in { animation: scaleIn 0.6s ease-out; }

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

/* Enhanced Mission/Vision Cards */
.vision-card, .mission-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: var(--border-radius);
  padding: 35px 30px;
  height: 100%;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  border-left: 4px solid transparent;
}

.vision-card {
  border-left-color: var(--primary-green);
}

.mission-card {
  border-left-color: var(--secondary-green);
}

.vision-card:hover, .mission-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.card-icon i {
  font-size: 28px;
  color: white;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 15px;
}

.card-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
}

.mission-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mission-point {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
}

.mission-point i {
  color: var(--primary-green);
  font-size: 20px;
  flex-shrink: 0;
}

.mission-point span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
}

/* Enhanced Interactive Elements */
.icon-box, .member, .box, .info-box, .vision-card, .mission-card {
  cursor: pointer;
  user-select: none;
}

/* Add subtle animations to text elements */
p, li, span {
  transition: color 0.2s ease;
}

/* Enhanced button interactions */
.btn-get-started, .btn-watch-video {
  position: relative;
  overflow: hidden;
}

.btn-get-started::after, .btn-watch-video::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease;
}

.btn-get-started:hover::after, .btn-watch-video:hover::after {
  width: 300px;
  height: 300px;
}

/* Improved link hover effects */
a:not(.btn):not(.getstarted) {
  transition: color 0.2s ease;
}

a:not(.btn):not(.getstarted):hover {
  color: var(--primary-green);
}

/* Enhanced form focus effects */
.php-email-form input:focus + label,
.php-email-form textarea:focus + label {
  color: var(--primary-green);
  transform: translateY(-5px);
}

/* Subtle text selection styling */
::selection {
  background: var(--primary-green);
  color: white;
}

::-moz-selection {
  background: var(--primary-green);
  color: white;
}

/* Advanced Micro-Interactions */
.micro-bounce {
  animation: microBounce 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes microBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.shake-animation {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.glow-effect {
  box-shadow: 0 0 20px rgba(40, 167, 69, 0.4);
  transition: box-shadow 0.3s ease;
}

.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--primary-green);
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary-green); }
}

/* Advanced Hover States */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hover-rotate {
  transition: transform 0.3s ease;
}

.hover-rotate:hover {
  transform: rotate(5deg);
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Service Process Timeline */
.process-timeline {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0f8ff 100%);
  position: relative;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23e9ecef" opacity="0.3"/></svg>') repeat;
  background-size: 50px 50px;
  pointer-events: none;
}

.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: 0;
  margin-right: 50%;
  padding-right: 40px;
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 50%;
  margin-right: 0;
  padding-left: 40px;
  text-align: left;
}

.timeline-content {
  background: white;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  border-color: var(--primary-green);
}

.timeline-icon {
  position: absolute;
  top: 50%;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px white, 0 0 20px rgba(40, 167, 69, 0.3);
  z-index: 2;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd) .timeline-icon {
  right: -30px;
}

.timeline-item:nth-child(even) .timeline-icon {
  left: -30px;
}

.timeline-icon i {
  font-size: 24px;
  color: white;
}

.timeline-info h5 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 10px;
}

.timeline-info p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.timeline-duration {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 6px 12px;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Timeline Mobile Responsiveness */
@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
    padding-left: 80px;
    padding-right: 20px;
    text-align: left;
  }
  
  .timeline-item:nth-child(odd) .timeline-icon,
  .timeline-item:nth-child(even) .timeline-icon {
    left: 0;
    right: auto;
  }
}

/* Modern Header Styling */
.header-modern {
  background: #ffffff;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.header-modern.header-scrolled {
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

#header.header-modern.header-scrolled,
#header.header-modern.header-inner-pages {
  background: #ffffff;
  padding: 12px 0;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--primary-green);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Enhanced Navigation */
#navbar ul li a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  padding: 10px 15px;
  border-radius: var(--border-radius-small);
  transition: var(--transition);
  position: relative;
}

#navbar ul li a:hover,
#navbar ul li a.active {
  color: var(--primary-green);
  background: rgba(40, 167, 69, 0.1);
}

#navbar ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
  transform: translateX(-50%);
}

#navbar ul li a:hover::before,
#navbar ul li a.active::before {
  width: 80%;
}

.getstarted {
  background: var(--gradient-primary) !important;
  color: var(--white) !important;
  padding: 12px 24px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
  border: none !important;
}

.getstarted:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* Testimonials improvements */
.testimonials {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.9), rgba(32, 201, 151, 0.9));
}

.testimonials .testimonial-item {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  margin: 15px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #37517e;
  margin: 15px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 15px;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .page-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .services .icon-box {
    margin-bottom: 30px;
  }
  
  .team .member {
    margin-bottom: 30px;
  }
}

/* Animation improvements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.animate-on-scroll {
  animation: fadeInUp 0.6s ease-out;
}

/* Accessibility improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus states */
a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 2px solid #28a745;
  outline-offset: 2px;
}

/* Hero Statistics */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin: 50px 0;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  padding: 30px 25px;
  border-radius: var(--border-radius);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: var(--transition);
  min-width: 180px;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.stat-item:hover::before {
  transform: scaleX(1);
}

.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.stat-number {
  display: inline-block;
  font-size: 3.2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent-orange), #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  margin-bottom: 10px;
  line-height: 1;
}

.stat-suffix {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-orange), #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.stat-description {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
}

/* Hero Buttons */
.hero-buttons {
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.btn-get-started, .btn-watch-video {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  margin: 10px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.btn-get-started {
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
}

.btn-get-started::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-get-started:hover::before {
  left: 100%;
}

.btn-get-started:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  color: var(--white);
}

.btn-watch-video {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-watch-video:hover {
  background: var(--white);
  color: var(--primary-green);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
}

/* Why Choose Us Section */
.why-us {
  padding: 60px 0;
}

.why-us .box {
  padding: 50px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.4s;
  background: #fff;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.why-us .box:hover {
  transform: translateY(-10px);
  box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.15);
}

.why-us .box span {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #28a745;
  margin-bottom: 20px;
}

.why-us .box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #37517e;
}

.why-us .box p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

/* FAQ Section */
.faq {
  padding: 60px 0;
}

.faq .faq-list {
  padding: 0 100px;
}

.faq .faq-list ul {
  padding: 0;
  list-style: none;
}

.faq .faq-list li + li {
  margin-top: 15px;
}

.faq .faq-list li {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  position: relative;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.faq .faq-list a {
  display: block;
  position: relative;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  padding: 0 30px;
  outline: none;
  cursor: pointer;
  color: #37517e;
  text-decoration: none;
}

.faq .faq-list .icon-help {
  font-size: 24px;
  position: absolute;
  right: 0;
  left: 20px;
  color: #28a745;
}

.faq .faq-list .icon-show,
.faq .faq-list .icon-close {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
  color: #777;
  line-height: 1.6;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: #28a745;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

/* Business Hours Styling */
.business-hours {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(236, 253, 245, 0.16);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
  border-bottom: none;
}

.day {
  font-weight: 600;
  color: #fff;
}

.time {
  color: #d1fae5;
  font-weight: 500;
}

/* Emergency Contact */
.emergency-contact {
  background: linear-gradient(135deg, #dc3545, #c82333);
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-top: 20px;
}

.emergency-contact h5 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 18px;
}

.emergency-contact h5 i {
  margin-right: 10px;
  animation: pulse 2s infinite;
}

.emergency-contact p {
  margin-bottom: 5px;
}

.emergency-contact a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
}

.emergency-contact a:hover {
  color: #ffc107;
}

.emergency-note {
  font-size: 12px;
  opacity: 0.9;
  color: #fff !important;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive Design for New Elements */
@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .why-us .box {
    margin-bottom: 30px;
  }
  
  .faq .faq-list {
    padding: 0 20px;
  }
  
  .business-hours {
    margin-bottom: 15px;
  }
  
  .emergency-contact {
    margin-top: 15px;
  }
}

/* Loading Animation */
.loading-animation {
  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 ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #28a745, #20c997);
  z-index: 9999;
  transition: width 0.3s;
}

/* Improved Accessibility */
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Skip Navigation Link */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #28a745;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-nav:focus {
  top: 6px;
}

/* Print styles */
@media print {
  .navbar,
  .back-to-top,
  #preloader,
  .emergency-contact,
  .hero-buttons,
  .social-links {
    display: none !important;
  }
  
  .hero-stats {
    color: black !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* Service Areas Styling */
.service-areas {
  margin-top: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 6px;
}

.service-areas h5 {
  color: #37517e;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.area-badge {
  background: var(--gradient-primary);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
  transition: var(--transition);
}

.area-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.fab-phone,
.fab-whatsapp {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.fab-phone {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
}

.fab-whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white;
}

.fab-phone:hover,
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
  color: white;
}

.fab-phone i,
.fab-whatsapp i {
  font-size: 24px;
  z-index: 2;
}

.fab-phone::before,
.fab-whatsapp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
}

.fab-phone:hover::before,
.fab-whatsapp:hover::before {
  opacity: 1;
}

/* Pulse Animation for FABs */
@keyframes pulse-fab {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.fab-whatsapp {
  animation: pulse-fab 2s infinite;
}

/* Modern Footer Styling */
.footer-bottom-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-modern {
  flex: 1;
}

.copyright-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.footer-links-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary-green);
}

.separator {
  color: rgba(255, 255, 255, 0.5);
}

.credits-modern {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.heart-icon {
  color: #e74c3c;
  animation: heartbeat 1.5s ease-in-out infinite;
}

.designer-link {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.designer-link:hover {
  color: var(--secondary-green);
}

@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Mobile Footer Adjustments */
@media (max-width: 768px) {
  .footer-bottom-modern {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links-bottom {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .floating-actions {
    bottom: 20px;
    right: 20px;
  }
  
  .fab-phone,
  .fab-whatsapp {
    width: 50px;
    height: 50px;
  }
  
  .fab-phone i,
  .fab-whatsapp i {
    font-size: 20px;
  }
}

/* ===============================
   ENHANCED CONTACT FORM
   =============================== */

.enhanced-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(38, 174, 97, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-smooth);
}

.enhanced-form:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.form-header {
  margin-bottom: 2rem;
  text-align: center;
}

.form-header h5 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.form-header h5 i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.form-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  opacity: 0.8;
}

.input-wrapper {
  position: relative;
  margin-bottom: 1.5rem;
}

.input-wrapper .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(38, 174, 97, 0.2);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  transition: all var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.input-wrapper .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(38, 174, 97, 0.1);
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

.floating-label {
  position: absolute;
  left: 1.2rem;
  top: 1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all var(--transition-smooth);
  pointer-events: none;
  z-index: 1;
}

.input-wrapper .form-control:focus + .floating-label,
.input-wrapper .form-control:not(:placeholder-shown) + .floating-label {
  top: -0.5rem;
  left: 0.8rem;
  font-size: 0.75rem;
  color: var(--primary-color);
  background: white;
  padding: 0 0.5rem;
  font-weight: 600;
}

.char-counter {
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  z-index: 3;
}

.char-counter .current {
  color: var(--primary-color);
  font-weight: 600;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.checkbox-wrapper input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.checkmark {
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(38, 174, 97, 0.3);
  border-radius: 4px;
  margin-right: 0.75rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  transition: all var(--transition-smooth);
  position: relative;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark:after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.submit-btn {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 1rem 3rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(38, 174, 97, 0.3);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(38, 174, 97, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-smooth);
}

.submit-btn:hover::before {
  left: 100%;
}

.enhanced-form .loading {
  display: none;
  text-align: center;
  color: var(--primary-color);
  padding: 1rem;
}

.enhanced-form .loading.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(38, 174, 97, 0.3);
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.enhanced-form .sent-message {
  display: none;
  text-align: center;
  color: var(--primary-color);
  background: rgba(38, 174, 97, 0.1);
  border: 1px solid rgba(38, 174, 97, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.enhanced-form .sent-message.show {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  animation: slideInUp 0.5s ease-out;
}

.enhanced-form .error-message {
  display: none;
  text-align: center;
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
}

.enhanced-form .error-message.show {
  display: block;
  animation: slideInUp 0.5s ease-out;
}

/* Enhanced Form Mobile Responsiveness */
@media (max-width: 768px) {
  .enhanced-form {
    padding: 1.5rem 1rem;
    margin: 0 1rem;
  }
  
  .form-header h5 {
    font-size: 1.3rem;
  }
  
  .input-wrapper .form-control {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }
  
  .submit-btn {
    padding: 0.85rem 2.5rem;
    font-size: 0.9rem;
    min-width: 180px;
  }
}

/* ===============================
   TEXT LOGO STYLING - NO IMAGE
   =============================== */

.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  position: relative;
  padding: 0.5rem 0;
}

.logo-container .logo {
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo-container .logo:hover {
  transform: translateY(-1px);
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: var(--primary-color);
  background: linear-gradient(135deg, #26ae61, #34c471);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.logo-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.logo-tagline {
  font-size: 0.8rem;
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
  white-space: nowrap;
  margin: 0;
  line-height: 1.2;
}

/* Header positioning improvements */
#header .container {
  min-height: 70px;
  align-items: center;
}

#header {
  padding: 0.75rem 0;
  z-index: 997;
}

@media (max-width: 768px) {
  .logo-container {
    gap: 0.75rem;
    padding: 0.25rem 0;
  }
  
  .logo-text {
    font-size: 1.75rem;
  }
  
  .logo-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.3px;
  }
  
  #header .container {
    min-height: 60px;
  }
  
  #header {
    padding: 0.5rem 0;
  }
}

@media (max-width: 480px) {
  .logo-container {
    gap: 0.5rem;
    padding: 0.25rem 0;
  }
  
  .logo-text {
    font-size: 1.5rem;
  }
  
  .logo-tagline {
    font-size: 0.7rem;
    letter-spacing: 0.2px;
  }
  
  #header .container {
    min-height: 55px;
  }
}

/* Clean Logo Enhancements */
.logo {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
  border-radius: 4px;
}

.logo-info {
  display: flex;
  flex-direction: column;
}

/* Header alignment enhancements */
.header-modern .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

/* Ensure proper vertical centering */
.logo-container,
#navbar {
  display: flex;
  align-items: center;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .logo,
  .logo img {
    transition: none;
  }
  
  .logo:hover {
    transform: none;
  }
}

@media (max-width: 768px) {
  .header-modern .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Fix for potential layout shifts */
.logo-container .logo img {
  max-width: 200px;
  min-height: 40px;
}

/* Ensure consistent baseline alignment */
.logo-info {
  align-self: center;
}

/* ===============================
   MODERN PRICING SECTION
   =============================== */

.modern-pricing {
  background: linear-gradient(135deg, #f8fffe 0%, #e8f5e8 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.modern-pricing::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(38, 174, 97, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.toggle-label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(38, 174, 97, 0.3);
  transition: var(--transition-smooth);
  border-radius: 30px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background: white;
  transition: var(--transition-smooth);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
  background: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(30px);
}

.save-badge {
  background: var(--accent-color);
  color: white;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0.5rem;
}

.pricing-cards {
  margin-top: 4rem;
}

.pricing-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: var(--primary-color);
  transform: scale(1.05);
  box-shadow: 0 20px 60px rgba(38, 174, 97, 0.2);
}

.popular-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 2rem;
  border-radius: 0 0 16px 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.card-header {
  text-align: center;
  margin-bottom: 2rem;
}

.plan-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 10px 30px rgba(38, 174, 97, 0.3);
}

.plan-icon i {
  font-size: 2.5rem;
  color: white;
}

.pricing-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.pricing-card .card-header p {
  color: var(--text-muted);
  font-size: 1rem;
}

.price-section {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(38, 174, 97, 0.1);
  border-bottom: 1px solid rgba(38, 174, 97, 0.1);
}

.starting-from {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.rebate-note {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  padding: 5px 12px;
  background: rgba(40, 167, 69, 0.1);
  color: var(--primary-green);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.2rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
}

.amount {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-color);
}

.period {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

.features-list {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-item span {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.5;
}

.card-footer {
  text-align: center;
}

.pricing-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(38, 174, 97, 0.3);
  margin-bottom: 1rem;
}

.pricing-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(38, 174, 97, 0.4);
  color: white;
  text-decoration: none;
}

.basic-btn {
  background: linear-gradient(135deg, #6c757d, #495057);
  box-shadow: 0 10px 30px rgba(108, 117, 125, 0.3);
}

.basic-btn:hover {
  box-shadow: 0 20px 40px rgba(108, 117, 125, 0.4);
}

.premium-btn {
  background: var(--gradient-primary);
}

.enterprise-btn {
  background: linear-gradient(135deg, #ff6b35, #f39200);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.enterprise-btn:hover {
  box-shadow: 0 20px 40px rgba(255, 107, 53, 0.4);
}

.trial-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
}

.pricing-features {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(38, 174, 97, 0.2);
}

.feature-highlight {
  text-align: center;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.feature-highlight i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: block;
}

.feature-highlight h5 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

.feature-highlight p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Pricing Section Mobile Responsiveness */
@media (max-width: 768px) {
  .modern-pricing {
    padding: 60px 0;
  }

  .pricing-toggle {
    flex-direction: column;
    gap: 0.5rem;
  }

  .toggle-label {
    font-size: 1rem;
  }

  .pricing-card {
    margin-bottom: 1.5rem;
  }

  .pricing-card.featured {
    transform: none;
    margin-top: 0;
  }

  .plan-icon {
    width: 60px;
    height: 60px;
  }

  .plan-icon i {
    font-size: 2rem;
  }

  .pricing-card h3 {
    font-size: 1.5rem;
  }

  .amount {
    font-size: 2.5rem;
  }

  .currency {
    font-size: 1.2rem;
  }

  .period {
    font-size: 1rem;
  }

  .pricing-btn {
    padding: 0.85rem 1.5rem;
    font-size: 0.9rem;
  }

  .feature-highlight i {
    font-size: 2rem;
  }

  .feature-highlight h5 {
    font-size: 1rem;
  }

  .feature-highlight p {
    font-size: 0.85rem;
  }
}

/* ===== Services Showcase Section ===== */
.schools-impact {
  background:
    radial-gradient(circle at top, rgba(79, 131, 201, 0.14), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.schools-dashboard-heading {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px;
}

.schools-dashboard-icon {
  margin: 0 auto 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: var(--gradient-primary);
  position: relative;
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.schools-dashboard-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 22px;
  z-index: -1;
  opacity: 0;
}

.schools-dashboard-icon i {
  font-size: 34px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.schools-dashboard-heading .page-title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #1f4676;
}

.schools-dashboard-heading .page-title span {
  color: #617086;
  font-size: 0.7em;
  font-weight: 500;
}

.schools-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.schools-metric-card,
.schools-panel,
.schools-rank-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  border: 1px solid rgba(55, 81, 126, 0.1);
  box-shadow: 0 16px 36px rgba(30, 47, 82, 0.09);
}

.schools-metric-card {
  position: relative;
  overflow: hidden;
  min-height: 128px;
  padding: 22px 24px;
  color: #ffffff;
}

.schools-metric-card::after {
  content: '';
  position: absolute;
  inset: auto 18px 22px 18px;
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.metric-green {
  background: linear-gradient(135deg, #43b55e 0%, #2b9348 100%);
}

.metric-blue {
  background: linear-gradient(135deg, #4f95d6 0%, #2c6fb4 100%);
}

.metric-amber {
  background: linear-gradient(135deg, #ffbb45 0%, #f39c12 100%);
}

.metric-red {
  background: linear-gradient(135deg, #ef6a64 0%, #d64541 100%);
}

.metric-label {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.metric-value {
  display: block;
  margin-top: 28px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 5px 14px rgba(0, 0, 0, 0.12);
}

.metric-value small {
  font-size: 0.44em;
  font-weight: 700;
}

.schools-chart-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.schools-panel {
  padding: 20px;
}

.schools-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(55, 81, 126, 0.12);
}

.schools-panel-header span {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7a8798;
}

.centered-header {
  justify-content: center;
}

.schools-card-title {
  margin: 0;
  color: #1f4676;
  font-weight: 800;
  font-size: 1.15rem;
}

.schools-chart-wrap {
  position: relative;
  min-height: 320px;
}

.schools-chart-wrap.compact-chart {
  min-height: 250px;
}

.pie-chart-wrap {
  max-width: 320px;
  margin: 0 auto;
}

.schools-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: start;
}

.schools-overview-panel {
  padding: 16px;
}

.schools-side-panels {
  display: grid;
  gap: 18px;
}

.schools-table {
  margin: 0;
}

.schools-table thead th {
  background: linear-gradient(135deg, #23589a 0%, #1d4b84 100%);
  border: 0;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 14px 16px;
  white-space: nowrap;
}

.schools-table tbody td {
  padding: 11px 16px;
  border-color: #d8e4f0;
  color: #39485a;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.92);
}

.schools-table tbody tr:nth-child(even) td {
  background: rgba(244, 249, 255, 0.95);
}

.schools-table tbody tr:hover td {
  background: #edf6ff;
}

.positive-rate {
  color: #23814b !important;
  font-weight: 800 !important;
}

.neutral-rate {
  color: #c08814 !important;
  font-weight: 800 !important;
}

.alert-rate {
  color: #bf3f3c !important;
  font-weight: 800 !important;
}

.schools-rank-card {
  overflow: hidden;
}

.schools-rank-header {
  padding: 12px 16px;
}

.schools-rank-header h6 {
  margin: 0;
  font-size: 0.96rem;
  font-weight: 800;
}

.rank-green {
  background: linear-gradient(135deg, #215b99 0%, #194a80 100%);
  color: #ffffff;
}

.rank-red {
  background: linear-gradient(135deg, #d65048 0%, #bd3b35 100%);
  color: #ffffff;
}

.schools-rank-list {
  list-style: none;
  margin: 0;
  padding: 14px 16px 18px;
}

.schools-rank-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(55, 81, 126, 0.1);
  color: #48606e;
  font-weight: 700;
}

.schools-rank-list li:last-child {
  border-bottom: 0;
}

.top-rankings {
  background: linear-gradient(180deg, rgba(238, 247, 240, 0.97), rgba(247, 252, 248, 0.97));
}

.low-rankings {
  background: linear-gradient(180deg, rgba(253, 241, 241, 0.97), rgba(255, 248, 248, 0.97));
}

@media (max-width: 1199px) {
  .schools-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schools-chart-grid {
    grid-template-columns: 1fr;
  }

  .schools-report-grid {
    grid-template-columns: 1fr;
  }

  .schools-side-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .schools-dashboard-heading .page-title {
    gap: 8px;
  }

  .schools-metrics-grid,
  .schools-side-panels {
    grid-template-columns: 1fr;
  }

  .schools-panel,
  .schools-overview-panel,
  .schools-metric-card {
    padding: 18px;
  }

  .schools-chart-wrap,
  .schools-chart-wrap.compact-chart {
    min-height: 240px;
  }

  .schools-table thead th,
  .schools-table tbody td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}

.services-showcase {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-showcase-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 280px;
}

.service-showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.showcase-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-showcase-item:hover .showcase-image img {
  transform: scale(1.1);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 30px 20px 20px;
  transform: translateY(20px);
  transition: var(--transition);
}

.service-showcase-item:hover .showcase-overlay {
  transform: translateY(0);
}

.showcase-overlay h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.showcase-overlay p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
}

/* Enhanced Button for Gallery Link */
.services-showcase .btn {
  background: var(--gradient-primary);
  border: none;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: var(--border-radius-small);
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.services-showcase .btn:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: white;
}

.services-showcase .btn::after {
  content: '→';
  font-size: 1.2rem;
  transition: var(--transition);
}

.services-showcase .btn:hover::after {
  transform: translateX(4px);
}

@media (max-width: 768px) {
  .service-showcase-item {
    height: 220px;
    margin-bottom: 1.5rem;
  }
  
  .showcase-overlay {
    padding: 20px 15px 15px;
  }
  
  .showcase-overlay h5 {
    font-size: 1.1rem;
  }
  
  .showcase-overlay p {
    font-size: 0.9rem;
  }
}

/* ===== Logo Enhancement ===== */
.logo-container .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-image {
  height: 45px;
  width: auto;
  transition: var(--transition);
}

.logo-container:hover .logo-image {
  transform: scale(1.05);
}

.logo-text {
  color: white !important;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .logo-image {
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.4rem;
  }
  
  .logo-tagline {
    display: none;
  }
}

/* ===== Enhanced Hero Section ===== */
.hero-buttons {
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-get-started,
.btn-watch-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 200px;
  padding: 18px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-get-started i,
.btn-watch-video i {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.btn-get-started span,
.btn-watch-video span {
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-get-started small,
.btn-watch-video small {
  font-size: 0.85rem;
  opacity: 0.9;
  font-weight: 400;
}

.hero-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.trust-item i {
  font-size: 2rem;
  color: var(--primary-green);
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

/* ===== Impact Statistics Section ===== */
.impact-stats {
  padding: 80px 0;
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.impact-stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.impact-stats .page-title-frame h4,
.impact-stats .section-subtitle {
  color: white;
}

.stats-row {
  margin-top: 50px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-secondary);
  transform: translateX(-100%);
  transition: var(--transition);
}

.stat-card:hover::before {
  transform: translateX(0);
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-icon {
  font-size: 3rem;
  color: var(--secondary-green);
  margin-bottom: 20px;
}

.stat-content {
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: white;
  display: inline-block;
}

.stat-unit {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary-green);
  margin-left: 4px;
}

.stat-card h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin: 15px 0 10px;
  color: white;
}

.stat-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.4;
}

/* ===== Waste Impact Calculator ===== */
.impact-calculator {
  padding: 72px 0 88px;
  background:
    radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbfa 0%, #eef7f3 100%);
  position: relative;
  scroll-margin-top: 110px;
}

.impact-calculator::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.015), transparent 45%);
  pointer-events: none;
}

.impact-calculator .container {
  position: relative;
  z-index: 1;
}

.impact-calculator .page-title-frame {
  max-width: 780px;
  margin: 0 auto 48px;
}

.calculator-shell {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.calculator-panel {
  min-width: 0;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.calculator-panel-inputs {
  flex: 1 1 45%;
}

.calculator-panel-results {
  flex: 1 1 55%;
}

.calculator-panel-inputs {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.98), rgba(6, 78, 59, 0.96));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.calculator-panel-inputs::after {
  content: '';
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 68%);
  pointer-events: none;
}

.calculator-panel-results {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.calculator-kicker,
.calculator-period {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.calculator-kicker {
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
}

.calculator-period {
  background: rgba(5, 150, 105, 0.1);
  color: var(--primary-green);
}

.calculator-panel-inputs h5,
.calculator-results-head h5 {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.calculator-panel-inputs p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.7;
}

.calculator-input-group {
  position: relative;
  z-index: 1;
}

.calculator-input-group + .calculator-input-group {
  margin-top: 24px;
}

.calculator-input-group .form-label {
  margin-bottom: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.calculator-panel-inputs .form-label {
  color: rgba(255, 255, 255, 0.9);
}

.impact-calculator .input-with-icon {
  position: relative;
}

.impact-calculator .input-with-icon i {
  position: absolute;
  top: 50%;
  left: 18px;
  transform: translateY(-50%);
  font-size: 1.15rem;
  color: var(--primary-green);
  z-index: 1;
}

.calculator-panel-inputs .input-with-icon i {
  color: var(--secondary-green);
}

.impact-calculator .form-control,
.impact-calculator .form-select {
  min-height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  padding-left: 52px;
  font-size: 1rem;
  box-shadow: none;
}

.impact-calculator .form-control:focus,
.impact-calculator .form-select:focus {
  border-color: rgba(5, 150, 105, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.16);
}

.calculator-panel-inputs .form-control,
.calculator-panel-inputs .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.calculator-panel-inputs .form-control::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.calculator-panel-inputs .form-control:focus,
.calculator-panel-inputs .form-select:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
}

.calculator-panel-inputs .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='rgba(255,255,255,0.82)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.4rem;
}

.calculator-panel-inputs .form-select option {
  color: var(--text-dark);
  background-color: #f8fbfa;
}

.calculator-panel-inputs .form-select option:checked {
  color: var(--text-dark);
  background-color: #d9f7e7;
}

.calculator-range {
  width: 100%;
  height: 6px;
  margin-top: 16px;
  appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.95), rgba(245, 158, 11, 0.95));
  outline: none;
}

.calculator-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--primary-green);
  cursor: pointer;
  -webkit-appearance: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.calculator-range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--primary-green);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.calculator-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.calculator-chip {
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  transition: var(--transition);
}

.calculator-chip:hover,
.calculator-chip.active {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

.calculator-hint {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
}

.calculator-hint i {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-top: 2px;
}

.calculator-hint p {
  margin: 0;
}

.calculator-results-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.result-item:last-child {
  grid-column: span 2;
}

.result-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-height: 170px;
  padding: 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.result-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.5rem;
}

.result-icon.carbon {
  color: var(--primary-green);
  background: rgba(5, 150, 105, 0.14);
}

.result-icon.cost {
  color: #b45309;
  background: rgba(245, 158, 11, 0.18);
}

.result-icon.trees {
  color: #0369a1;
  background: rgba(14, 165, 233, 0.14);
}

.result-info {
  min-width: 0;
}

.result-label {
  display: block;
  margin-bottom: 10px;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-value {
  display: block;
  color: var(--text-dark);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.result-helper {
  display: block;
  margin-top: 12px;
  color: var(--text-light);
  font-size: 0.94rem;
  line-height: 1.55;
}

.calculator-summary {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr);
  gap: 18px 24px;
  align-items: start;
  margin-top: 24px;
  padding: 24px 26px;
  border-radius: 24px;
  border: 1px solid rgba(5, 150, 105, 0.14);
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(15, 23, 42, 0.04));
}

.summary-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-value {
  display: block;
  color: var(--primary-green);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.summary-copy {
  margin: 0;
  color: var(--text-dark);
  font-size: 1rem;
  line-height: 1.7;
}

/* ===== Enhanced Testimonials ===== */
.testimonial-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.testimonial-info {
  flex: 1;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-top: 8px;
}

.testimonial-rating i {
  color: #ffd700;
  font-size: 1rem;
}

.testimonial-date {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.testimonial-date small {
  color: #666;
  font-style: italic;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 30px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: var(--shadow-medium);
}

.newsletter-section h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.newsletter-section p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.6;
}

.newsletter-input-group {
  display: flex;
  gap: 0;
  background: white;
  border-radius: var(--border-radius);
  padding: 8px;
  box-shadow: var(--shadow-light);
  margin-bottom: 25px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-input-group input {
  flex: 1;
  border: none;
  outline: none;
  padding: 16px 20px;
  font-size: 1rem;
  background: transparent;
  color: var(--text-dark);
}

.newsletter-input-group input::placeholder {
  color: #999;
}

.newsletter-btn {
  background: var(--gradient-primary);
  border: none;
  padding: 16px 24px;
  border-radius: var(--border-radius-small);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--gradient-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

.newsletter-btn i {
  font-size: 1.2rem;
  transition: var(--transition);
}

.newsletter-btn:hover i {
  transform: translateX(4px);
}

.newsletter-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.newsletter-features .feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.newsletter-features .feature-item i {
  color: var(--primary-green);
  font-size: 1rem;
}

/* ===== Mobile Responsiveness ===== */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-get-started,
  .btn-watch-video {
    width: 100%;
    max-width: 280px;
  }

  .hero-trust-indicators {
    gap: 20px;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  .trust-item i {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }

  .stats-row {
    margin-top: 30px;
  }

  .impact-calculator {
    padding: 56px 0 64px;
  }

  .calculator-shell {
    flex-direction: column;
    gap: 16px;
  }

  .calculator-panel-inputs,
  .calculator-panel-results {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .calculator-panel {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .calculator-panel-inputs h5,
  .calculator-results-head h5 {
    font-size: 1.45rem;
  }

  .calculator-results-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .calculator-presets {
    gap: 8px;
  }

  .calculator-chip {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .result-item:last-child {
    grid-column: auto;
  }

  .result-item {
    min-height: 0;
  }

  .calculator-summary {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .stat-card {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .stat-number {
    font-size: 2.8rem;
  }

  .testimonial-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .newsletter-section h3 {
    font-size: 2rem;
  }

  .newsletter-section p {
    font-size: 1.1rem;
  }

  .newsletter-input-group {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-features {
    flex-direction: column;
    gap: 15px;
  }
}

/* ===== Advanced Form Enhancements ===== */
.enhanced-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23666" d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.enhanced-form select:focus {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%2328a745" d="M7 10l5 5 5-5z"/></svg>');
}

.validation-message {
  font-size: 0.85rem;
  color: #dc3545;
  margin-top: 5px;
  display: none;
}

.input-wrapper.error input,
.input-wrapper.error select {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.input-wrapper.success input,
.input-wrapper.success select {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.input-wrapper.error .validation-message {
  display: block;
}

/* ===== Loading Animation ===== */
.loading-animation {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== Accessibility Improvements ===== */
.skip-nav {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-green);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
  z-index: 1000;
}

.skip-nav:focus {
  top: 0;
}

/* ===== Performance Optimizations ===== */
img.lazy {
  opacity: 0;
  transition: opacity 0.3s;
}

img.lazy.loaded {
  opacity: 1;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #006600;
    --secondary-green: #004d00;
    --text-dark: #000000;
    --text-light: #333333;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .newsletter-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #ffffff;
  }
  
  .newsletter-section h3,
  .newsletter-section p {
    color: #ffffff;
  }
  
  .newsletter-input-group {
    background: #333;
  }
  
  .newsletter-input-group input {
    color: #ffffff;
  }
  
  .newsletter-input-group input::placeholder {
    color: #cccccc;
  }
}

/* ===============================================
   ENHANCED GALLERY SHOWCASE STYLES
   =============================================== */

/* Gallery CTA Section */
.gallery-cta-section {
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.05), rgba(32, 201, 151, 0.05));
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  border: 1px solid rgba(40, 167, 69, 0.1);
  margin-top: 3rem;
}

.gallery-cta-content h4 {
  color: var(--primary-green);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.gallery-cta-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Gallery Statistics */
.gallery-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.gallery-stats .stat-item {
  text-align: center;
}

.gallery-stats .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-green);
  line-height: 1;
}

.gallery-stats .label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Enhanced Gallery Buttons */
.gallery-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-gallery-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  text-align: center;
  min-height: 120px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.btn-gallery-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-gallery-main:hover::before {
  left: 100%;
}

.btn-gallery-main i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.btn-gallery-main span {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.btn-gallery-main small {
  font-size: 0.9rem;
  opacity: 0.9;
}

.btn-gallery-main:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  color: white;
  text-decoration: none;
}

.btn-gallery-secondary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: white;
  color: var(--primary-green);
  text-decoration: none;
  border: 2px solid var(--primary-green);
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 500;
}

.btn-gallery-secondary:hover {
  background: var(--primary-green);
  color: white;
  text-decoration: none;
}

/* Enhanced Showcase Items */
.service-showcase-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  cursor: pointer;
}

.service-showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong);
}

.showcase-image {
  position: relative;
  overflow: hidden;
}

.showcase-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.service-showcase-item:hover .showcase-image img {
  transform: scale(1.1);
}

.showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
  color: white;
  padding: 2rem 1.5rem 1.5rem;
  transform: translateY(50%);
  transition: var(--transition);
}

.service-showcase-item:hover .showcase-overlay {
  transform: translateY(0);
}

.showcase-overlay h5 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.showcase-overlay p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Showcase Actions */
.showcase-actions {
  display: flex;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.service-showcase-item:hover .showcase-actions {
  opacity: 1;
  transform: translateY(0);
}

.showcase-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.showcase-btn:hover {
  background: var(--primary-green);
  color: white;
  transform: scale(1.1);
}

/* Quick Preview Section */
.quick-preview-section {
  padding-top: 2rem;
  border-top: 1px solid rgba(40, 167, 69, 0.2);
}

.quick-preview-section h5 {
  color: var(--primary-green);
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.preview-thumbnails {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   RESPONSIVE DESIGN IMPROVEMENTS
   Mobile-first approach with progressive enhancement
   ============================================= */

/* --- Small phones (up to 480px) --- */
@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .hero-stats .stat-item {
    width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-buttons a {
    width: 100%;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1rem !important;
  }

  #hero h1 {
    font-size: 2rem !important;
  }

  #hero h2 {
    font-size: 1rem !important;
  }

  .hero-trust-indicators {
    flex-direction: column;
    gap: 0.5rem;
  }

  section {
    padding: 40px 0 !important;
  }

  .page-title-frame .page-title {
    font-size: 1.5rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .pricing-card {
    margin-bottom: 1.5rem;
  }

  .faq .faq-list {
    padding: 0 15px !important;
  }

  .contact .info-box {
    padding: 15px !important;
  }

  .areas-grid {
    justify-content: center;
  }

  .stat-card .stat-number {
    font-size: 2rem;
  }

  .amount {
    font-size: 2.5rem !important;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .newsletter-form .newsletter-btn {
    width: 100%;
    border-radius: 8px !important;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    padding-left: 50px;
  }

  /* --- Impact Calculator --- */
  .impact-calculator {
    padding: 40px 0 48px;
  }

  .impact-calculator .page-title-frame {
    margin-bottom: 28px;
  }

  .calculator-shell {
    gap: 12px;
  }

  .calculator-panel {
    padding: 20px 16px;
    border-radius: 20px;
  }

  .calculator-panel-inputs h5,
  .calculator-results-head h5 {
    font-size: 1.25rem;
  }

  .calculator-panel-inputs p {
    font-size: 0.9rem;
    margin-top: 10px;
  }

  .impact-calculator .form-control,
  .impact-calculator .form-select {
    min-height: 48px;
    font-size: 0.95rem;
  }

  .calculator-presets {
    gap: 6px;
  }

  .calculator-chip {
    flex: 1 1 calc(33% - 6px);
    padding: 6px 8px;
    font-size: 0.8rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .result-item:last-child {
    grid-column: auto;
  }

  .result-item {
    min-height: 0;
    padding: 16px 14px;
    gap: 12px;
  }

  .result-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    border-radius: 14px;
  }

  .result-value {
    font-size: 1.6rem;
  }

  .result-helper {
    font-size: 0.85rem;
    margin-top: 6px;
  }

  .calculator-summary {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 10px;
  }
}

/* --- Phones landscape / small tablets (481px - 767px) --- */
@media (min-width: 481px) and (max-width: 767px) {
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-stats .stat-item {
    width: 45%;
  }

  .pricing-card {
    margin-bottom: 1.5rem;
  }

  .faq .faq-list {
    padding: 0 30px !important;
  }

  section {
    padding: 50px 0 !important;
  }
}

/* --- Tablets (768px - 991px) --- */
@media (min-width: 768px) and (max-width: 991px) {
  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .hero-stats .stat-item {
    width: 45%;
  }

  .hero-subtitle {
    font-size: 1.2rem !important;
  }

  .calculator-shell {
    flex-direction: column;
  }

  .calculator-panel-inputs,
  .calculator-panel-results {
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
  }

  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing-cards .col-lg-4 {
    margin-bottom: 1.5rem;
  }

  .services .icon-box {
    padding: 30px 20px;
  }

  .faq .faq-list {
    padding: 0 40px !important;
  }

  .timeline-item {
    width: 100%;
    padding-left: 60px;
  }

  .stat-card {
    margin-bottom: 1.5rem;
  }

  .contact .info-box {
    margin-bottom: 1.5rem;
  }

  .feature-highlight {
    margin-bottom: 1.5rem;
  }
}

/* --- Fix background-attachment: fixed on mobile (causes issues on iOS/Android) --- */
@media (max-width: 1024px) {
  #about,
  #updates,
  #why-us,
  #process {
    background-attachment: scroll !important;
  }
}

/* --- Responsive images base rule --- */
img {
  max-width: 100%;
  height: auto;
}

.showcase-image img,
.service-showcase-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16 / 10;
}

/* --- Fix 100vh sections on mobile (address bar causes layout issues) --- */
@media (max-width: 768px) {
  #about,
  #updates {
    min-height: auto !important;
  }
}

.thumbnail-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: var(--border-radius-small);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.thumbnail-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(40, 167, 69, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.thumbnail-item:hover .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-overlay i {
  color: white;
  font-size: 1.5rem;
}

/* More Indicator */
.more-indicator {
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.more-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
}

.more-number {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.more-text {
  font-size: 0.7rem;
  margin: 0.2rem 0;
}

.more-content i {
  font-size: 1rem;
  margin-top: 0.2rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .gallery-cta-section .row {
    text-align: center;
  }
  
  .gallery-cta-buttons {
    margin-top: 2rem;
  }
  
  .gallery-stats {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-cta-section {
    padding: 2rem 1rem;
  }
  
  .gallery-stats {
    gap: 1rem;
  }
  
  .gallery-stats .number {
    font-size: 1.5rem;
  }
  
  .btn-gallery-main {
    padding: 1rem 1.5rem;
    min-height: 100px;
  }
  
  .preview-thumbnails {
    gap: 0.5rem;
  }
  
  .thumbnail-item {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 576px) {
  .gallery-cta-content h4 {
    font-size: 1.5rem;
  }
  
  .gallery-cta-content p {
    font-size: 1rem;
  }
  
  .gallery-cta-buttons {
    align-items: stretch;
  }
  
  .btn-gallery-secondary {
    justify-content: center;
  }
}

/* ===============================================
   PICTURES GALLERY SECTION STYLES
   =============================================== */

/* Pictures Gallery Section */
.pictures-gallery-section {
  margin-top: 4rem;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.8), rgba(255, 255, 255, 0.9));
  border-radius: var(--border-radius);
  border: 1px solid rgba(40, 167, 69, 0.1);
}

.section-header .pictures-title {
  color: var(--primary-green);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header .pictures-subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Picture Categories Filter */
.picture-categories {
  text-align: center;
}

.category-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: var(--border-radius-small);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
  min-width: 120px;
  justify-content: center;
}

.filter-btn i {
  font-size: 1.1rem;
}

.filter-btn:hover {
  border-color: var(--primary-green);
  color: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

.filter-btn.active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: white;
  box-shadow: var(--shadow-medium);
}

/* Pictures Grid */
.pictures-grid {
  margin-top: 2rem;
}

.picture-item {
  position: relative;
  border-radius: var(--border-radius-small);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  height: 250px;
  cursor: pointer;
}

.picture-item.picture-featured {
  height: 350px;
}

.picture-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.picture-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.picture-item:hover img {
  transform: scale(1.08);
}

/* Picture Overlay */
.picture-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}

.picture-item:hover .picture-overlay {
  opacity: 1;
}

.picture-info {
  margin-bottom: 1rem;
}

.picture-info h6 {
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.picture-info p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.3;
}

/* Picture Actions */
.picture-actions {
  display: flex;
  gap: 0.5rem;
}

.picture-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  border-radius: 50%;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.picture-btn:hover {
  background: var(--primary-green);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.picture-btn i {
  font-size: 1rem;
}

/* View More Pictures Button */
.pictures-view-more .pictures-count {
  color: var(--text-light);
  font-size: 0.95rem;
  font-style: italic;
}

.btn-view-more-pictures {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 2.5rem;
  background: var(--gradient-primary);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-medium);
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-view-more-pictures::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-view-more-pictures:hover::before {
  left: 100%;
}

.btn-view-more-pictures i {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.btn-view-more-pictures span {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.btn-view-more-pictures small {
  font-size: 0.85rem;
  opacity: 0.9;
}

.btn-view-more-pictures:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-strong);
  color: white;
  text-decoration: none;
}

/* Filter Animation */
.picture-item {
  animation: fadeIn 0.5s ease forwards;
}

.picture-item.filtered-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Responsive Design for Pictures Gallery */
@media (max-width: 992px) {
  .pictures-gallery-section {
    margin-top: 3rem;
    padding: 2rem 1rem;
  }
  
  .section-header .pictures-title {
    font-size: 1.8rem;
  }
  
  .category-filters {
    gap: 0.3rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1rem;
    min-width: 100px;
    font-size: 0.85rem;
  }
  
  .picture-item {
    height: 200px;
  }
  
  .picture-item.picture-featured {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .pictures-gallery-section {
    padding: 1.5rem 0.5rem;
  }
  
  .section-header .pictures-title {
    font-size: 1.6rem;
  }
  
  .section-header .pictures-subtitle {
    font-size: 1rem;
  }
  
  .category-filters {
    justify-content: center;
  }
  
  .filter-btn {
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem 0.6rem;
    min-width: 80px;
  }
  
  .filter-btn span {
    font-size: 0.75rem;
  }
  
  .picture-item {
    height: 180px;
  }
  
  .picture-item.picture-featured {
    height: 250px;
  }
  
  .picture-overlay {
    padding: 1rem;
  }
  
  .picture-info h6 {
    font-size: 1rem;
  }
  
  .picture-info p {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .category-filters {
    gap: 0.2rem;
  }
  
  .filter-btn {
    padding: 0.6rem 0.4rem;
    min-width: 70px;
  }
  
  .filter-btn i {
    font-size: 1rem;
  }
  
  .filter-btn span {
    font-size: 0.7rem;
  }
  
  .picture-item {
    height: 160px;
  }
  
  .picture-item.picture-featured {
    height: 220px;
  }
  
  .btn-view-more-pictures {
    padding: 1.2rem 2rem;
  }
  
  .btn-view-more-pictures i {
    font-size: 1.5rem;
  }
  
  .btn-view-more-pictures span {
    font-size: 1rem;
  }
}

/* Hero viewport fix: keep the full heading stack visible on shorter screens */
#hero {
  height: auto;
  min-height: 100svh;
}

#hero .hero-container {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  min-height: 100svh;
  justify-content: center;
  padding: 120px 24px 56px;
}

@media (max-height: 900px) {
  #hero .hero-container {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  #hero .hero-container {
    padding: 112px 16px 40px;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  #hero .hero-container {
    padding-top: 104px;
  }
}