/* Responsive CSS - Mobile Optimization */
/* No animations in mobile resolution as required */

/* Tablet and below (768px and down) */
@media (max-width: 768px) {
  /* Conservative font size adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none; /* Hide decorative elements on mobile */
  }
  
  /* Section padding reduction */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  /* Service cards stacking */
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-card img {
    width: 60px;
    height: 60px;
  }
  
  /* Price cards */
  .price-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Team cards */
  .team-card {
    margin-bottom: 1.5rem;
    padding: 1rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery grid adjustment */
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
  }
  
  .gallery-item img {
    height: 150px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Disable hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .gallery-item:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Disable button hover effects */
  .btn-eco-primary:hover,
  .btn-eco-secondary:hover {
    transform: none;
  }
}

/* Mobile phones (576px and down) */
@media (max-width: 576px) {
  /* Further font size reduction */
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  p {
    font-size: 0.95rem;
  }
  
  .navbar-brand {
    font-size: 0.95rem;
  }
  
  /* Hero section */
  .hero-section {
    min-height: 70vh;
    padding: 1rem 0;
  }
  
  /* Reduced padding for mobile */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Cards further adjustments */
  .service-card,
  .price-card,
  .team-card,
  .feature-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .service-card img {
    width: 50px;
    height: 50px;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Process cards */
  .process-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
  
  /* Review cards */
  .review-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* FAQ cards */
  .faq-card {
    padding: 1rem;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  
  .gallery-item img {
    height: 120px;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.6rem;
    font-size: 0.95rem;
  }
  
  /* Buttons */
  .btn-eco-primary,
  .btn-eco-secondary {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
  
  /* Footer */
  .footer {
    padding: 1.5rem 0 0.5rem;
  }
  
  .footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
}

/* Large mobile phones landscape (667px and down) */
@media (max-width: 667px) and (orientation: landscape) {
  .hero-section {
    min-height: 60vh;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
  
  /* Compact navbar for landscape */
  .navbar {
    padding: 0.25rem 0;
  }
  
  .navbar-brand {
    font-size: 0.9rem;
  }
}

/* Extra small devices adjustments */
@media (max-width: 480px) {
  /* Ultra-compact spacing */
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Card spacing */
  .service-card,
  .price-card,
  .team-card,
  .feature-card,
  .process-card,
  .review-card,
  .faq-card {
    margin-bottom: 0.75rem;
  }
  
  /* Single column gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* High-DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure crisp images on retina displays */
  .service-card img,
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Accessibility improvements for mobile */
@media (max-width: 768px) {
  /* Larger touch targets */
  .btn,
  .navbar-toggler,
  .form-control {
    min-height: 44px;
  }
  
  /* Better contrast for mobile */
  .text-muted {
    color: #555 !important;
  }
  
  /* Improved focus indicators */
  .btn:focus,
  .form-control:focus,
  .navbar-toggler:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Print styles */
@media print {
  /* Hide decorative elements when printing */
  .hero-decorative,
  .navbar,
  .footer,
  .btn,
  .gallery-grid {
    display: none !important;
  }
  
  /* Ensure good contrast for printing */
  body {
    color: black !important;
    background: white !important;
    overflow-x: hidden;
}
  
  /* Page breaks */
  .section-padding {
    page-break-inside: avoid;
  }
}


.hero-section h1 {
    padding-top: 175px;
}