/* Responsive CSS for Mobile and Tablet Optimizations */

/* Large Tablets and Small Desktops */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.27rem;
  }
}

/* Tablets */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.62rem;
  }
  
  .hero-subtitle {
    font-size: 1.38rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1.27rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
  
  .hero-section {
    text-align: center;
  }
  
  .contact-form,
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .timeline-item {
    margin-left: 1rem;
    padding-left: 1.5rem;
  }
  
  .gallery-layout {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Large Mobile Phones */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.16rem;
  }
  
  .hero-desc {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.86rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .section-desc {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .case-card,
  .info-card {
    margin-bottom: 2rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.32rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 1.01rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .process-step {
    padding: 1.5rem 0.5rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.39rem;
  }
  
  .timeline-item {
    margin-left: 0.5rem;
    padding-left: 1rem;
  }
  
  .timeline-item::before {
    left: -6px;
    width: 10px;
    height: 10px;
  }
  
  .gallery-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .gallery-image {
    height: 200px;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .price-value {
    font-size: 2.64rem;
  }
  
  .service-image {
    height: 180px;
  }
}

/* Small Mobile Phones */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.83rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.61rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .case-card,
  .info-card {
    padding: 1.5rem;
  }
  
  .hero-section {
    min-height: 70vh;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .feature-icon,
  .info-icon {
    font-size: 2.53rem;
  }
  
  .contact-icon {
    font-size: 1.32rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .service-image {
    height: 150px;
  }
  
  .gallery-image {
    height: 180px;
  }
  
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .review-text {
    font-size: 1rem;
  }
}

/* Extra Small Mobile Phones */
@media (max-width: 375px) {
  .hero-title {
    font-size: 1.58rem;
  }
  
  .section-title {
    font-size: 1.47rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .case-card,
  .info-card,
  .contact-form,
  .contact-info {
    padding: 1rem;
  }
  
  .btn {
    padding: 8px 16px;
    font-size: 0.92rem;
  }
  
  .navbar-brand {
    font-size: 1.16rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.94rem;
  }
  
  .feature-icon,
  .info-icon {
    font-size: 2rem;
  }
  
  .price-value {
    font-size: 1.85rem;
  }
  
  .team-photo {
    width: 70px;
    height: 70px;
  }
  
  .service-image {
    height: 120px;
  }
  
  .gallery-image {
    height: 150px;
  }
}

/* Landscape Mobile Phones */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 1.89rem;
    margin-bottom: 0.71rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 0.70rem;
  }
  
  .hero-desc {
    font-size: 1.02rem;
    margin-bottom: 1rem;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .contact-form,
  .btn,
  .footer {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    background: var(--white);
    color: var(--black);
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .hero-title,
  .section-title,
  h1, h2, h3, h4, h5, h6 {
    color: var(--black);
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card {
    border: 1px solid var(--black);
    box-shadow: none;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  .btn-primary {
    background: var(--black);
    border: 2px solid var(--black);
    color: var(--white);
  }
  
  .btn-primary:hover {
    background: var(--white);
    color: var(--black);
  }
  
  .navbar {
    border-bottom: 2px solid var(--black);
  }
  
  .service-card,
  .feature-card,
  .price-card,
  .team-card,
  .case-card,
  .info-card {
    border: 2px solid var(--black);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .gallery-item,
  .blog-card {
    transition: none;
    transform: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .gallery-item:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Dark Mode Support (Optional) */

/* Focus Styles for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 3px solid var(--primary-blue);
  outline-offset: 2px;
}

/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-blue);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
} 

.hero-content {
    padding-top: 100px;
}