/* Responsive Styles */

/* Large screens (desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.57rem;
  }
  
  .section-title {
    font-size: 2.64rem;
  }
  
  .container-xl {
    max-width: 1400px;
  }
}

/* Medium screens (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero-title {
    font-size: 2.64rem;
  }
  
  .section-title {
    font-size: 2.06rem;
  }
  
  .service-card {
    margin-bottom: 1.56rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Small screens (phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
  .hero-section {
  padding-top: 50px;
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.06rem;
  }
  
  .section-title {
    font-size: 1.76rem;
  }
  
  .navbar-brand {
    font-size: 1.06rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .review-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
}

/* Extra small screens (phones, less than 576px) */
@media (max-width: 575px) {
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.76rem;
    margin-bottom: 0.91rem;
  }
  
  .hero-subtitle {
    font-size: 1.19rem;
    margin-bottom: 0.91rem;
  }
  
  .hero-desc {
    font-size: 1.06rem;
    margin-bottom: 1.56rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.63rem;
    margin-bottom: 0.91rem;
  }
  
  .section-subtitle {
    font-size: 1.06rem;
    margin-bottom: 0.91rem;
  }
  
  .section-desc {
    margin-bottom: 2.13rem;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1.06rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.25rem 0.5rem;
    margin: 0;
  }
  
  .service-card {
    padding: 1rem;
    margin-bottom: 1.07rem;
  }
  
  .service-card img {
    height: 150px;
  }
  
  .service-name {
    font-size: 1.06rem;
  }
  
  .service-price {
    font-size: 1.19rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .team-name {
    font-size: 1.06rem;
  }
  
  .team-role {
    font-size: 0.91rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .form-control {
    padding: 0.5rem;
    margin-bottom: 0.91rem;
  }
  
  .btn-primary {
    padding: 0.5rem 1.5rem;
    font-size: 0.91rem;
  }
  
  .review-card {
    margin: 0.25rem;
    padding: 1rem;
  }
  
  .review-text {
    font-size: 0.91rem;
  }
  
  .review-author {
    font-size: 1.06rem;
  }
  
  .faq-question {
    font-size: 1.06rem;
    padding: 0.75rem;
  }
  
  .faq-answer {
    font-size: 0.91rem;
    padding: 0 0.75rem 0.75rem;
  }
  
  .blog-card-body {
    padding: 1rem;
  }
  
  .blog-title {
    font-size: 1.06rem;
  }
  
  .process-item,
  .timeline-item {
    padding: 1rem;
    margin-bottom: 1.07rem;
  }
  
  .feature-card {
    padding: 1rem;
    margin-bottom: 1.07rem;
  }
  
  .feature-icon {
    font-size: 2.06rem;
  }
  
  .price-card {
    padding: 1rem;
    margin-bottom: 1.07rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .career-card {
    padding: 1rem;
    margin-bottom: 1.07rem;
  }
  
  .career-title {
    font-size: 1.06rem;
  }
  
  .casestudy-card {
    padding: 1rem;
    margin-bottom: 1.07rem;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .coreinfo-item {
    padding: 1rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer h5 {
    font-size: 1.06rem;
    margin-bottom: 0.91rem;
  }
}

/* Mobile landscape orientation */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
  
  .navbar {
    padding: 0.25rem 0;
  }
  
  .section-padding {
    padding: 1.5rem 0;
  }
}

/* Swiper responsive overrides */
@media (max-width: 768px) {
  .swiper {
    padding-bottom: 2.23rem;
  }
  
  .swiper-slide {
    width: 100% !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-image: url('../NOX_images/hero-bg@2x.webp');
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .swiper-pagination,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    page-break-inside: avoid;
  }
  
  .service-card,
  .review-card,
  .blog-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #e7d8d7;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .service-card,
  .review-card,
  .blog-card,
  .feature-card,
  .price-card,
  .career-card,
  .casestudy-card,
  .coreinfo-item,
  .gallery-item img {
    transition: none !important;
    transform: none !important;
  }
  
  .swiper {
    --swiper-navigation-size: 0px;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-teal: #075a67;
    --secondary-blue: #00366d;
    --neutral-gray-dark: #000000;
    --neutral-gray-light: #ffffff;
  }
  
  .service-card,
  .review-card,
  .blog-card,
  .contact-form {
    border: 2px solid var(--neutral-gray-dark);
  }
}

/* Focus styles for better accessibility */
.nav-link:focus,
.btn:focus,
.form-control:focus,
.faq-question:focus {
  outline: 3px solid var(--primary-teal);
  outline-offset: 2px;
}

/* Container max-widths */
@media (min-width: 576px) {
  .container-sm, .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container-md, .container-sm, .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container-lg, .container-md, .container-sm, .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }
} 