/* ========================================
   RESPONSIVE STYLES
   Mobile-First Approach
======================================== */

/* Mobile animations disabled per requirements */
@media (max-width: 768px) {
  /* Disable all scroll animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Re-enable only essential UI transitions */
  .btn, .form-control, .nav-link {
    transition: all 0.2s ease !important;
  }
}

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  /* Hero section */
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Navbar brand size reduction */
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  /* Card padding adjustments */
  .feature-card,
  .service-card-body,
  .review-card,
  .case-card,
  .process-step,
  .timeline-item,
  .career-card,
  .info-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .price-card {
    padding: 2rem 1.5rem;
  }
  
  /* Price value size adjustment */
  .price-value {
    font-size: 2.5rem;
  }
  
  /* Section padding */
  section {
    padding: 3rem 0 !important;
  }
  
  /* Gallery grid adjustments */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* Team card image height */
  .team-card img {
    height: 200px;
  }
  
  /* Service card image height */
  .service-card img {
    height: 150px;
  }
  
  /* Blog card image height */
  .blog-card img {
    height: 150px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  /* Hero adjustments */
  #hero {
    min-height: 80vh;
  }
  
  /* Card adjustments */
  .service-card img,
  .blog-card img {
    height: 180px;
  }
  
  .team-card img {
    height: 220px;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* Section padding */
  section {
    padding: 4rem 0 !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero section */
  #hero {
    min-height: 90vh;
  }
  
  /* Typography */
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  /* Navbar */
  .navbar-brand {
    font-size: 1.4rem;
  }
  
  /* Card image heights */
  .service-card img,
  .blog-card img {
    height: 200px;
  }
  
  .team-card img {
    height: 240px;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  /* Price card adjustments */
  .price-card {
    padding: 2.2rem 1.8rem;
  }
  
  .price-value {
    font-size: 2.8rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Hero section full height */
  #hero {
    min-height: 100vh;
  }
  
  /* Typography at standard sizes */
  h1 {
    font-size: 2.3rem;
  }
  
  h2 {
    font-size: 1.9rem;
  }
  
  /* Card image heights */
  .service-card img,
  .blog-card img {
    height: 200px;
  }
  
  .team-card img {
    height: 250px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Full typography sizes */
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  /* Hero decorative elements visible */
  .hero-decorative {
    display: block;
  }
  
  /* Standard card image heights */
  .service-card img,
  .blog-card img {
    height: 200px;
  }
  
  .team-card img {
    height: 250px;
  }
  
  .gallery-item img {
    height: 250px;
  }
  
  /* Enhanced hover effects for larger screens */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: translateY(-8px);
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
  }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
  }
  
  section {
    padding: 2rem 0 !important;
  }
  
  .hero-decorative {
    display: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Ensure images remain crisp */
  img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
  }
  
  .navbar,
  #footer,
  .btn {
    display: none !important;
  }
  
  section {
    page-break-inside: avoid;
    padding: 1rem 0 !important;
  }
}

/* Accessibility: Focus styles for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
  }
}

/* Dark mode support (if browser supports) */

body {
    overflow-x: hidden;
}

.hero-content {
    padding-top: 175px;
}