/* Responsive CSS for B2B Micro-Learning Template */

/* Mobile First Approach - Base styles are for mobile */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  
  /* Disable animations on mobile */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.125rem; }
  h5 { font-size: 1rem; }
  h6 { font-size: 0.875rem; }
  
  p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  /* Header */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-blob-1,
  .hero-blob-2 {
    display: none;
  }
  
  /* Section Spacing */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards */
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-card,
  .review-card,
  .case-study-card,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-card,
  .faq-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1rem;
  }
  
  .contact-info {
    padding: 1.5rem;
    margin-top: 2rem;
  }
  
  /* Process Steps */
  .process-step {
    margin-bottom: 2rem;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery */
  .gallery img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer .col-md-3,
  .footer .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  
  /* Typography */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  
  /* Hero Section */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Section Spacing */
  .section {
    padding: 4rem 0;
  }
  
  /* Cards */
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-card {
    padding: 2rem 1.5rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  /* Hero Section */
  .hero-section {
    min-height: 95vh;
  }
  
  /* Cards in grid */
  .service-card,
  .about-feature,
  .feature-item,
  .coreinfo-item {
    margin-bottom: 2rem;
  }
  
  /* Team Photos */
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2.5rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  
  /* Hero Section */
  .hero-section {
    min-height: 100vh;
  }
  
  /* Cards */
  .price-card.featured {
    transform: scale(1.03);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  
  /* Container max-width adjustments */
  .container {
    max-width: 1140px;
  }
  
  /* Hero Section */
  .hero-blob-1 {
    width: 350px;
    height: 350px;
  }
  
  .hero-blob-2 {
    width: 250px;
    height: 250px;
  }
}

/* Specific Mobile Menu Adjustments */
@media (max-width: 991.98px) {
  
  .navbar-collapse {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    border-bottom: 1px solid var(--light-gray);
    margin-bottom: 0.5rem;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}

/* Print Styles */
@media print {
  
  .navbar,
  .footer,
  .btn,
  .hero-decorative {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-card,
  .review-card,
  .case-study-card,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-card,
  .faq-card {
    box-shadow: none;
    border: 1px solid var(--light-gray);
    page-break-inside: avoid;
  }
  
  * {
    color: var(--black) !important;
    background-color: var(--white) !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  
  .service-card:hover,
  .about-feature:hover,
  .blog-card:hover {
    transform: none;
  }
  
  .price-card.featured {
    transform: none;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  
  :root {
    --primary-blue: #0066cc;
    --primary-green: #008800;
    --primary-orange: #ff6600;
    --primary-purple: #7700cc;
    --primary-pink: #cc0066;
  }
  
  .service-card,
  .about-feature,
  .feature-item,
  .price-card,
  .team-card,
  .review-card,
  .case-study-card,
  .timeline-item,
  .career-item,
  .coreinfo-item,
  .blog-card,
  .faq-card,
  .contact-form {
    border: 2px solid var(--dark-gray);
  }
}

/* Focus Styles for Accessibility */
@media (min-width: 992px) {
  
  .navbar-nav .nav-link:focus,
  .btn:focus,
  .form-control:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
  }
} 

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