/* Responsive CSS for Translation & Localization Services */

/* Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.87rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.52rem;
  }
  
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .price-card {
    margin-bottom: 2rem;
  }
  
  .navbar-collapse {
    background-color: white;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 100vh;
    padding: 3rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .team-card {
    margin-bottom: 2rem;
  }
  
  .feature-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 100vh;
  }
  
  .hero-title {
    font-size: 2.39rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: 100vh;
  }
  
  .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Specific responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-content h1 {
  padding-top: 100px !important;
}

.hero-content {
  padding-top: 50px !important;
    text-align: center;
  }
  
  .feature-card,
  .service-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn,
  .card,
  .feature-card,
  .service-card,
  .team-card {
    transition: none;
  }
  
  .btn:hover,
  .card:hover,
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover {
    transform: none;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before,
  .gallery-image,
  .service-image,
  .blog-image,
  .team-photo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .contact-form,
  .btn {
    display: none !important;
  }
  
  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
  }
}

/* Accessibility improvements for small screens */
@media (max-width: 767.98px) {
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
} 