/* ==========================================================================
   Remote Sales-Team Enablement Platform - Responsive Styles
   Mobile and Tablet Optimizations for Bootstrap 5
   ========================================================================== */

/* Large screens and desktops (≥1200px) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 8rem 0;
  }
  
  .section-padding {
    padding: 6rem 0;
  }
}

/* Medium screens and tablets (≥768px and <1200px) */
@media (max-width: 1199.98px) and (min-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-section {
    padding: 4rem 0;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .team-photo {
    height: 200px;
  }
}

/* Small screens and phones (≥576px and <768px) */
@media (max-width: 767.98px) and (min-width: 576px) {
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 3rem 0;
    text-align: center;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .section-padding-sm {
    padding: 2rem 0;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-photo {
    height: 180px;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .faq-card {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.125rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Extra small screens (< 576px) */
@media (max-width: 575.98px) {
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.375rem;
  }
  
  h3 {
    font-size: 1.125rem;
  }
  
  h4 {
    font-size: 1rem;
  }
  
  p {
    font-size: 0.875rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Navigation adjustments */
  .navbar .navbar-brand {
    font-size: 1.125rem;
  }
  
  .nav-link {
    padding: 0.75rem 0.5rem;
  }
  
  /* Hero section mobile optimization */
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-section::before,
  .hero-section::after {
    display: none; /* Hide decorative shapes on small screens */
  }
  
  /* Section spacing adjustments */
  .section-padding {
    padding: 2.5rem 0;
  }
  
  .section-padding-sm {
    padding: 1.5rem 0;
  }
  
  /* Button adjustments */
  .btn-primary,
  .btn-outline-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }
  
  /* Card adjustments */
  .service-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 1.25rem;
  }
  
  .team-photo {
    height: 160px;
  }
  
  .team-info {
    padding: 1.25rem;
  }
  
  .testimonial-card {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .faq-card {
    padding: 1.25rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  /* Contact form mobile optimization */
  .contact-form {
    padding: 1.25rem;
  }
  
  .form-control {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
  }
  
  /* Process steps mobile */
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
  
  /* Timeline mobile adjustments */
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  /* Gallery mobile optimization */
  .gallery-item {
    margin-bottom: 0.75rem;
  }
  
  .gallery-item img {
    height: 180px;
  }
  
  /* Footer mobile adjustments */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Price tag mobile */
  .price-tag {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
}

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1.5rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* Print styles */
@media print {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
  
  .card:hover,
  .service-card:hover,
  .team-card:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
  }
  
  .btn:hover {
    transform: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card,
  .service-card,
  .team-card,
  .testimonial-card,
  .faq-card,
  .contact-form {
    border: 2px solid var(--color-neutral-dark);
  }
  
  .form-control {
    border: 3px solid var(--color-neutral-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--color-primary-dark);
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .service-card:hover,
  .team-card:hover {
    transform: none;
  }
  
  .btn:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Increase touch targets */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  
  .form-control {
    min-height: 44px;
  }
}

/* Reduced motion for mobile */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
}

/* Extra large containers for very wide screens */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
  
  .hero-section {
    padding: 10rem 0;
  }
  
  .section-padding {
    padding: 7rem 0;
  }
} 

.hero-content {
    padding-top: 100px;
}