/* Responsive CSS for SaaS Webinar Captions Template */
/* Mobile-First Approach - No animations on mobile */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .custom-card:hover,
  .service-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
  
  /* Hero section adjustments */
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  /* Typography adjustments */
  h1 { font-size: var(--font-size-2xl); }
  h2 { font-size: var(--font-size-xl); }
  
  /* Card spacing */
  .service-card,
  .review-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Team photos smaller */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Process numbers smaller */
  .process-number {
    width: 50px;
    height: 50px;
    font-size: var(--font-size-base);
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  /* Gallery grid single column */
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  /* Section padding reduced */
  .section {
    padding: 2rem 0;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  h1 { font-size: var(--font-size-3xl); }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Container max width */
  .container {
    max-width: var(--content-max-width);
  }
}

/* Ultra wide screens */
@media (min-width: 1400px) {
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Navbar responsive behavior */
@media (max-width: 991.98px) {
  .navbar-collapse {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .contact-form {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: none !important;
  }
  
  .section {
    padding: 1rem 0;
  }
  
  .custom-card,
  .service-card,
  .review-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid #ebe7e6;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .custom-card,
  .service-card,
  .review-card,
  .faq-card {
    border: 2px solid var(--neutral-dark);
  }
  
  .btn-primary {
    border: 2px solid var(--primary-dark);
  }
}

/* Dark mode support */

.hero-content {
    padding-top: 175px;
}

/* Responsive Breadcrumb Styles */
@media (max-width: 575.98px) {
  .breadcrumb-section {
    padding-top: 60px;
  }
  
  .breadcrumb-icon {
    max-width: 100%;
    height: auto;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .breadcrumb-section {
    padding-top: 70px;
  }
  
  .breadcrumb-icon {
    max-width: 95%;
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .breadcrumb-section {
    padding-top: 75px;
  }
}