/* Mobile First Responsive Design */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable all animations on mobile */
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Typography adjustments */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section .col-md-6 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Services cards mobile */
  .service-card {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .service-card:hover {
    transform: none;
  }
  
  /* Gallery mobile */
  .gallery-image {
    margin-bottom: 1rem;
  }
  
  .gallery-image:hover {
    transform: none;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Team photos mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
  }
  
  /* Section padding mobile */
  .hero-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    padding: 3rem 0;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Decorative shapes hide on mobile */
  .decorative-shape {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Mobile landscape adjustments */
  .hero-section {
    min-height: 80vh;
  }
  
  .hero-section .col-md-6 {
    margin-bottom: 2rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  /* Section padding */
  .hero-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    padding: 4rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Tablet adjustments */
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  /* 2 columns for services on tablet */
  .services-row .col-lg-4 {
    width: 50%;
    margin-bottom: 2rem;
  }
  
  /* 2 columns for team on tablet */
  .team-row .col-lg-2 {
    width: 50%;
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Desktop adjustments */
  .hero-section {
    min-height: 100vh;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Large desktop adjustments */
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .team-photo {
    width: 150px;
    height: 150px;
  }
  
  /* Enhanced spacing for large screens */
  .hero-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    padding: 6rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .decorative-shape {
    display: none !important;
  }
  
  .hero-section,
  .services-section,
  .features-section,
  .priceplan-section,
  .team-section,
  .reviews-section,
  .casestudy-section,
  .process-section,
  .gallery-section,
  .faq-section,
  .contact-section {
    padding: 2rem 0;
  }
  
  body {
    font-size: 12pt;
    color: black;
    overflow-x: hidden;
}
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .review-card,
  .faq-card,
  .price-card {
    border: 2px solid currentColor;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

/* Dark mode support */

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.form-check-input:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-orange);
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
} 

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