/* Mobile First Responsive Design */

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
  /* Typography Adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero Section Mobile */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-decorative {
    display: none; /* Remove decorative elements on mobile */
  }
  
  /* Disable animations on mobile */
  .sal-animate,
  .about-feature:hover,
  .service-card:hover,
  .gallery-item:hover img,
  .blog-card:hover,
  .btn-primary:hover {
    animation: none;
    transition: none;
    transform: none;
  }
  
  /* Section Padding Mobile */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Cards Mobile */
  .service-card,
  .price-card,
  .team-member,
  .case-study-card,
  .career-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact Form Mobile */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Mobile Menu - Standard Bootstrap 5 */
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Gallery Mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Process Steps Mobile */
  .process-number {
    position: static;
    transform: none;
    margin: 0 auto 1rem;
  }
  
  /* Price Card Mobile */
  .price-card.featured {
    transform: none;
  }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
  /* Hero adjustments */
  .hero-section {
    min-height: 85vh;
  }
  
  /* Team grid mobile */
  .team-member {
    text-align: center;
  }
  
  /* Services mobile layout */
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Footer mobile */
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  /* Disable hover effects on mobile */
  .service-card:hover,
  .about-feature:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
  /* Hero section tablet */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Section padding tablet */
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Price cards tablet */
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large Devices (Desktops) */
@media (min-width: 992px) {
  /* Container max-width for large screens */
  .container {
    max-width: 1140px;
  }
  
  /* Hero full height on desktop */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Team grid desktop */
  .team-member {
    height: 100%;
  }
  
  /* Services grid desktop */
  .service-card {
    height: 100%;
  }
}

/* Extra Large Devices */
@media (min-width: 1200px) {
  /* Typography scaling for large screens */
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  /* Container max-width */
  .container {
    max-width: 1200px;
  }
  
  /* Section spacing large screens */
  .section-padding {
    padding: 6rem 0;
  }
}

/* Ultra Wide Screens */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Landscape Phone Specific */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

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

/* Print Styles */
@media print {
  /* Hide navigation and decorative elements */
  .navbar,
  .hero-decorative,
  .btn,
  .footer {
    display: none;
  }
  
  /* Optimize text for printing */
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  /* Page breaks */
  .section-padding {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
}

/* Dark Mode Support (Optional) */

/* Reduced Motion Accessibility */
@media (prefers-reduced-motion: reduce) {
  /* Disable all animations and transitions */
  *, *::before, *::after {
    animation-duration: 0.01ms;
    animation-iteration-count: 1;
    transition-duration: 0.01ms;
    scroll-behavior: auto;
  }
  
  /* Remove floating animations */
  .hero-decorative {
    animation: none;
  }
  
  /* Remove hover transforms */
  .service-card:hover,
  .about-feature:hover,
  .gallery-item:hover img {
    transform: none;
  }
}

/* Focus Accessibility */
@media (prefers-reduced-motion: no-preference) {
  /* Enhanced focus styles for keyboard navigation */
  .btn:focus,
  .form-control:focus,
  .navbar-nav .nav-link:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .service-card:hover,
  .about-feature:hover,
  .btn-primary:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Increase touch targets */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem;
  }
} 

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