/* Mobile First Responsive Design */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .service-card,
  .team-card,
  .blog-card,
  .case-study-card,
  .price-plan-card {
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  .footer {
    padding: 2rem 0 1rem 0;
    text-align: center;
  }
  
  .price-plan-price {
    font-size: 2rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1.7rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 4.5rem 0;
  }
  
  .team-photo {
    width: 110px;
    height: 110px;
  }
  
  .service-card {
    height: auto;
    min-height: 300px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card {
    min-height: 350px;
  }
  
  .price-plan-card {
    min-height: 400px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .service-card {
    min-height: 380px;
  }
  
  .price-plan-card {
    min-height: 420px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .blog-card,
  .case-study-card {
    border: 1px solid #e5d9d8 !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .team-card,
  .review-card,
  .faq-card,
  .blog-card,
  .case-study-card,
  .price-plan-card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
  
  .form-control {
    border: 2px solid #000;
  }
}

/* Dark mode support */

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.navbar-nav .nav-link:focus {
  outline: 2px solid var(--primary-teal);
  outline-offset: 2px;
}

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

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

/* Ensure images don't overflow on very small screens */
@media (max-width: 480px) {
  img {
    max-width: 100% !important;
    height: auto !important;
  }
  
  .hero-decorative-shape {
    display: none;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .timeline-item::before {
    left: -4px;
    width: 8px;
    height: 8px;
  }
} 

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