/* RESPONSIVE CSS - Mobile & Tablet Optimizations */

/* Tablet Styles */
@media (max-width: 1024px) {
  .hero-section h1 {
    font-size: 2.51rem;
  }
  
  .hero-section h2 {
    font-size: 1.39rem;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    max-width: 100%;
    margin-left: 40px;
  }
  
  .process-step {
    margin-bottom: 2rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    text-align: center;
    padding: 120px 0 60px;
    min-height: auto;
  }
  
  .hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-section h2 {
    font-size: 1.21rem;
    margin-bottom: 1rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.39rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .gallery-image {
    height: 150px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.28rem;
  }
  
  .timeline-item {
    margin-left: 30px;
    padding: 1.5rem;
  }
  
  .service-item,
  .tech-item,
  .workflow-step,
  .quality-item,
  .support-item,
  .case-card,
  .career-card,
  .info-item,
  .blog-card {
    padding: 1rem;
    margin-bottom: 1.57rem;
  }
  
  .blog-image {
    height: 150px;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    padding: 100px 0 40px;
  }
  
  .hero-section h1 {
    font-size: 1.85rem;
  }
  
  .hero-section h2 {
    font-size: 1rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .review-card,
  .contact-form {
    padding: 1rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .gallery-image {
    height: 120px;
  }
  
  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-item {
    margin-left: 20px;
    padding: 1rem;
  }
  
  .blog-image {
    height: 120px;
  }
  
  .breadcrumb-image {
    height: 30px;
    width: 30px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .breadcrumb-section,
  .footer {
    display: none;
  }
  
  .hero-section h1 {
    padding-top: 150px;
}

.hero-section {
    background: none;
    color: black;
    min-height: auto;
    padding: 2rem 0;
  }
  
  .hero-section h1,
  .hero-section h2,
  .hero-section p {
    color: black;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .review-card {
    box-shadow: none;
    border: 1px solid #beb6b6;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0e0093;
    --secondary-color: #58007a;
    --text-primary: #000000;
    --text-secondary: #474545;
    --border-color: #000000;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .review-card {
    border: 2px solid black;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-image,
  .gallery-image,
  .team-photo,
  .feature-card,
  .service-card,
  .price-card,
  .review-card,
  .service-item,
  .tech-item,
  .workflow-step,
  .quality-item,
  .support-item,
  .case-card,
  .career-card,
  .info-item,
  .blog-card {
    transition: none;
    transform: none;
  }
  
  .hero-image:hover,
  .gallery-image:hover,
  .team-photo:hover,
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .review-card:hover,
  .service-item:hover,
  .tech-item:hover,
  .workflow-step:hover,
  .quality-item:hover,
  .support-item:hover,
  .case-card:hover,
  .career-card:hover,
  .info-item:hover,
  .blog-card:hover {
    transform: none;
  }
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.btn-primary:focus,
.form-control:focus,
.accordion-button:focus {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}
