/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.3;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .feature-card,
  .service-card,
  .pricing-card,
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .pricing-price {
    font-size: 2.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .feature-number,
  .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.25rem;
  }
  
  /* Disable animations on mobile for performance */
  *, ::before, ::after {
    animation: none !important;
    transition: none !important;
  }
  
  .card-hover:hover,
  .feature-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .team-card:hover,
  .case-study-card:hover,
  .blog-card:hover {
    transform: none;
    box-shadow: inherit;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  .pricing-price {
    font-size: 2.75rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .feature-card,
  .service-card {
    margin-bottom: 2rem;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .container {
    max-width: 1200px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-content,
  .feature-icon,
  .service-image,
  .team-photo,
  .gallery-image {
    image-rendering: -webkit-optimize-contrast;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
}

/* Print styles */
@media print {
  #header,
  #footer {
    display: none;
  }
  
  .section-padding {
    padding: 20px 0;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    color: black;
  }
  
  .card-hover:hover,
  .feature-card:hover,
  .service-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Accessibility improvements */
@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;
  }
  
  #hero::before {
    animation: none;
  }
}

/* Focus improvements for keyboard navigation */
@media (any-hover: none) {
  .card-hover:hover,
  .feature-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .team-card:hover {
    transform: none;
  }
}

/* Container adjustments for different breakpoints */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Specific mobile navigation adjustments */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
    padding-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--neutral-light);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
} 

body {
    overflow-x: hidden;
}