/* Mobile First Responsive Design */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  #hero-title-1 {
    font-size: 1.75rem;
  }
  
  #hero-subtitle-1 {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  section {
    padding: 1.5rem 0;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* No animations on mobile */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #hero-title-1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .feature-card,
  .service-card {
    margin-bottom: 2rem;
  }
  
  /* Reduced animations on small devices */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover {
    transform: translateY(-2px);
  }
  
  .price-card:hover {
    transform: scale(1.02);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #hero-title-1 {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .hero-content {
    text-align: left;
    padding-top: 250px;
}
  
  .feature-card,
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #hero-title-1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  section {
    padding: 3.5rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  #hero-title-1 {
    font-size: 2.75rem;
  }
  
  .section-title {
    font-size: 2.125rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Accessibility - Respect prefers-reduced-motion */
@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;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
}

/* Print styles */
@media print {
  #header,
  #footer {
    display: none;
  }
  
  section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .feature-card,
  .service-card,
  .price-card,
  .team-card {
    border-width: 3px;
  }
  
  .btn-primary {
    border-width: 2px;
  }
  
  .form-control {
    border-width: 2px;
  }
} 

body {
    overflow-x: hidden;
}