/* Responsive Styles - Mobile First Approach */
/* Complements Bootstrap 5 responsive system */

/* Mobile Devices (up to 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile scroll - as required */
  .hero-section {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    display: none;
  }
  
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 20px;
  }
  
  h3 {
    font-size: 18px;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .pricing-card {
    margin-bottom: 1.5rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .service-card,
  .team-card,
  .blog-card,
  .case-study-card,
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  /* Disable hover transforms on mobile */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .case-study-card:hover,
  .gallery-item:hover {
    transform: none;
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section {
    padding: 4rem 0;
  }
  
  h1 {
    font-size: 26px;
  }
  
  h2 {
    font-size: 22px;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section {
    padding: 5rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) {
  .section {
    padding: var(--section-padding);
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  /* Enhanced hover effects on larger screens */
  .service-card:hover {
    transform: translateY(-8px);
  }
  
  .team-card:hover {
    transform: scale(1.03);
  }
  
  .blog-card:hover {
    transform: translateY(-5px);
  }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: var(--container-max-width);
  }
}

/* Extra extra large devices (1400px and up) */
@media (min-width: 1400px) {
  .hero-section .container {
    max-width: 1320px;
  }
}

/* Landscape tablets and small laptops */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Print styles */
@media print {
  .hero-shape-1,
  .hero-shape-2,
  .navbar,
  .footer {
    display: none;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  * {
    box-shadow: none !important;
    text-shadow: none !important;
  }
}

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

/* Accessibility improvements */
@media (max-width: 767.98px) {
  /* Larger touch targets on mobile */
  .btn {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem;
  }
  
  /* Improved form controls on mobile */
  .form-control,
  .form-select {
    min-height: 44px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Dark mode support */

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  /* Disable all transforms and transitions */
  .service-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .case-study-card:hover,
  .gallery-item:hover,
  .pricing-card:hover {
    transform: none;
  }
  
  .hero-shape-1,
  .hero-shape-2 {
    animation: none;
  }
} 

.hero-section h1 {
    padding-top: 250px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
