/* Responsive Styles for B2B Time Management Training Website */

/* Extra Large screens (1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: var(--container-max-width);
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
}

/* Large screens (992px and up) */
@media (min-width: 992px) {
  .service-card {
    min-height: 400px;
  }
  
  .price-card {
    min-height: 500px;
  }
  
  .feature-card {
    min-height: 300px;
  }
}

/* Medium screens (768px and up) */
@media (min-width: 768px) {
  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .hero-content {
    padding-right: 2rem;
    padding-top: 225px;
}
  
  .team-member {
    margin-bottom: 2rem;
  }
}

/* Small screens (576px and up) */
@media (min-width: 576px) {
  .contact-form {
    padding: 2.5rem;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
}

/* Mobile screens (below 768px) */
@media (max-width: 767.98px) {
  /* Disable animations on mobile as per requirements */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    margin-top: 1rem;
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
  }
  
  /* Hero section mobile */
  #hero {
    min-height: 100vh;
    padding-top: 80px;
    text-align: center;
  }
  
  .hero-content {
    padding: 0 1rem;
    padding-top: 225px;
}
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Section spacing mobile */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Cards mobile */
  .service-card,
  .feature-card,
  .price-card,
  .review-card,
  .case-study-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .case-study-card:hover {
    transform: none;
  }
  
  /* Price cards mobile */
  .price-card.featured {
    transform: none;
    border-width: 2px;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Team section mobile */
  .team-photo {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
  }
  
  .team-photo:hover {
    transform: none;
  }
  
  .team-member {
    margin-bottom: 2rem;
    padding: 1rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }
  
  .form-control {
    margin-bottom: 1rem;
    padding: 0.75rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
    border-radius: 10px;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Gallery mobile */
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
  
  /* FAQ mobile */
  .faq-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem 1rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline mobile */
  .timeline-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    margin-left: 1rem;
  }
  
  .timeline-item::before {
    left: -20px;
    width: 20px;
    height: 20px;
  }
  
  /* Career items mobile */
  .career-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  /* Info items mobile */
  .info-item {
    padding: 1.5rem 1rem;
  }
  
  .info-icon {
    font-size: 2.5rem;
  }
  
  /* Blog cards mobile */
  .blog-card {
    margin-bottom: 1.5rem;
  }
  
  .blog-card:hover {
    transform: none;
  }
  
  .blog-card-body {
    padding: 1.5rem;
    overflow-x: hidden;
}
  
  /* Footer mobile */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 1.5rem;
  }
  
  /* Navigation mobile */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Extra small screens (below 576px) */
@media (max-width: 575.98px) {
  /* Container adjustments */
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Hero further adjustments */
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  /* Section titles */
  .section-title {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  /* Cards extra small */
  .service-card,
  .feature-card,
  .price-card,
  .review-card,
  .case-study-card,
  .contact-form,
  .faq-card {
    padding: 1.25rem;
  }
  
  /* Price amount smaller */
  .price-amount {
    font-size: 2rem;
  }
  
  /* Service features list */
  .service-features {
    font-size: 0.9rem;
  }
  
  /* Team photos smaller */
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Form elements */
  .form-control {
    font-size: 1rem;
    padding: 0.6rem;
  }
  
  /* Button adjustments */
  .btn {
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
  }
  
  /* Gallery adjustments */
  .gallery-item img {
    height: 180px;
  }
  
  /* Quote marks in reviews */
  .review-card::before {
    font-size: 3rem;
    top: -5px;
    left: 15px;
  }
  
  /* Process and timeline */
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .timeline-item {
    padding: 1.25rem;
    margin-left: 0.5rem;
  }
  
  .timeline-item::before {
    left: -15px;
    width: 15px;
    height: 15px;
  }
  
  /* Info icons */
  .info-icon {
    font-size: 2rem;
  }
  
  /* Feature icons */
  .feature-icon {
    font-size: 2.5rem;
  }
}

/* Landscape phone orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 80vh;
    padding-top: 60px;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize images and text rendering for retina displays */
  .team-photo,
  .gallery-item img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Print styles */
@media print {
  /* Hide unnecessary elements when printing */
  #header,
  #footer,
  .btn,
  .navbar {
    display: none !important;
  }
  
  /* Adjust colors for print */
  * {
    color: #000 !important;
    background: #fff !important;
  }
  
  /* Ensure proper page breaks */
  .section {
    page-break-inside: avoid;
    padding: 1rem 0;
  }
  
  /* Make text readable */
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
}

/* Dark mode support (if user prefers dark mode) */

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  /* Override any remaining animations */
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove transform effects */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover,
  .case-study-card:hover,
  .blog-card:hover,
  .gallery-item:hover,
  .team-photo:hover,
  .btn:hover {
    transform: none !important;
  }
}

/* Focus styles for accessibility */
@media (min-width: 768px) {
  .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
  }
}

/* Container max-width adjustments */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container-xxl {
    max-width: var(--container-max-width);
  }
} 