/* Responsive Styles for Remote Team Building Template */

/* Extra Large devices (1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.875rem;
  }
}

/* Large devices (992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .service-card {
    height: auto;
    min-height: 400px;
  }
  
  .team-photo {
    width: 180px;
    height: 180px;
  }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .team-photo {
    width: 160px;
    height: 160px;
  }
  
  .navbar-nav .nav-link {
    margin: 0 0.25rem;
  }
}

/* Small devices (576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .service-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-card {
    padding: 1.5rem;
  }
  
  .review-item,
  .casestudy-item,
  .career-item {
    padding: 1.5rem;
  }
}

/* Extra small devices (less than 576px) */
@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* Disable Swiper autoplay and effects on mobile */
  .swiper-container {
    overflow: hidden;
  }
  
  .swiper-slide {
    transition: none !important;
    transform: none !important;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  /* Hero section mobile adjustments */
  .hero-section {
    min-height: 60vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  /* Navigation adjustments */
  .navbar {
    padding: 0.5rem 0;
  }
  
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 0.875rem;
    margin: 0;
    padding: 0.5rem 0.75rem;
  }
  
  /* Section adjustments */
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .section-desc {
    font-size: 0.875rem;
    margin-bottom: 2rem;
  }
  
  /* Card adjustments */
  .service-card,
  .price-card {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
  }
  
  .service-name,
  .price-name {
    font-size: 1.125rem;
  }
  
  .service-price,
  .price-amount {
    font-size: 1.5rem;
  }
  
  .service-icon,
  .feature-icon,
  .coreinfo-icon {
    font-size: 2.5rem;
  }
  
  /* Team section mobile */
  .team-photo {
    width: 120px;
    height: 120px;
    border-width: 3px;
  }
  
  .team-member-name {
    font-size: 1rem;
  }
  
  .team-member-role {
    font-size: 0.875rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.25rem;
    margin: 0 10px;
  }
  
  .form-control {
    padding: 0.625rem;
    font-size: 0.875rem;
  }
  
  .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Reviews mobile */
  .review-item,
  .casestudy-item,
  .career-item {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  
  .review-text {
    font-size: 0.875rem;
  }
  
  .review-author {
    font-size: 0.875rem;
  }
  
  /* FAQ mobile */
  .faq-question {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  .faq-answer {
    padding: 0.75rem;
    font-size: 0.875rem;
  }
  
  /* Blog mobile */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card-body {
    padding: 1.25rem;
  }
  
  .blog-title {
    font-size: 1rem;
  }
  
  .blog-excerpt {
    font-size: 0.875rem;
  }
  
  /* Gallery mobile */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer p,
  .footer small {
    font-size: 0.875rem;
  }
  
  /* Process section mobile */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }
  
  .process-item {
    margin-bottom: 1.5rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .timeline-item::before {
    width: 12px;
    height: 12px;
    left: -7px;
  }
  
  /* Utility mobile */
  .mb-section {
    margin-bottom: 2rem;
  }
  
  .py-section {
    padding: 2rem 0;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    overflow: visible;
  }
  
  .swiper-wrapper {
    transform: none !important;
  }
  
  .swiper-slide {
    position: static !important;
    transform: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .review-item,
  .contact-form,
  .blog-card {
    border: 2px solid var(--dark-gray);
  }
  
  .btn-primary {
    border: 2px solid var(--white);
  }
  
  .navbar-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.2);
  }
}

/* Focus indicators for accessibility */
.form-control:focus,
.btn:focus,
.nav-link:focus,
.faq-question:focus {
  outline: 3px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
