/* Responsive CSS for Remote Peer-Coaching Platform */
/* Mobile-First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .hero-section h1 {
    font-size: 1.5rem;
    padding-top: 150px;
}
  
  .hero-section p {
    font-size: 0.875rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
  
  .custom-card {
    margin-bottom: 1rem;
  }
  
  .service-card {
    padding: 1rem;
  }
  
  .contact-form {
    padding: 1rem;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  .section {
    padding: 1.5rem 0;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 1.75rem;
    padding-top: 150px;
}
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .team-card img {
    width: 140px;
    height: 140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    padding: 0 2rem;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Accessibility - Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .custom-card {
    transition: none;
  }
  
  .gallery-item img {
    transition: none;
  }
  
  .custom-card:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  .hero-decorative {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .custom-card {
    border: 2px solid #000;
  }
  
  .btn-primary-custom {
    border: 2px solid #000;
  }
  
  .footer {
    border-top: 2px solid #fff;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .hero-decorative {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
}

/* Focus styles for keyboard navigation */
.btn:focus,
.form-control:focus,
.navbar-nav .nav-link:focus {
  outline: 2px solid var(--primary-soft-blue);
  outline-offset: 2px;
}

/* Mobile navigation adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    border-bottom: 1px solid #cfd2d6;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
} 