/* AI Resume Matcher - Responsive CSS */

/* Mobile First Approach */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* NO ANIMATIONS ON MOBILE */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  /* Header adjustments */
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    padding-top: 80px;
    text-align: center;
  }
  
  .hero-section .display-4 {
    font-size: 2rem;
  }
  
  .hero-section .h3 {
    font-size: 1.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin: 0 !important;
  }
  
  /* Card spacing mobile */
  .feature-card, .service-card, .pricing-card, 
  .review-card, .case-study-card, .career-card, 
  .info-card, .blog-card, .faq-card {
    margin-bottom: 20px;
  }
  
  /* Team photos smaller on mobile */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  /* Process steps mobile layout */
  .process-step {
    margin-bottom: 30px;
  }
  
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  /* Timeline mobile adjustments */
  .timeline {
    padding-left: 20px;
  }
  
  .timeline-marker {
    left: -27px;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 20px;
  }
  
  /* Typography mobile */
  .h2, h2 {
    font-size: 1.75rem;
  }
  
  .h4, h4 {
    font-size: 1.25rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Gallery mobile */
  #gallery .col-md-6 {
    margin-bottom: 15px;
  }
  
  /* Service card images mobile */
  .service-card .card-img-top,
  .blog-card .card-img-top,
  .case-study-card .card-img-top {
    height: 150px;
  }
  
  /* Mobile spacing */
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* Interview card images mobile */
  .interview-card img {
    width: 80px;
    height: 80px;
  }
  
  /* Partner logos mobile */
  .partner-logo {
    width: 60px;
    height: 60px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section .display-4 {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .service-card .card-img-top,
  .blog-card .card-img-top,
  .case-study-card .card-img-top {
    height: 180px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section .display-4 {
    font-size: 3rem;
  }
  
  /* Tablet optimizations */
  .feature-item {
    padding: 15px 0;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .service-card .card-img-top,
  .blog-card .card-img-top,
  .case-study-card .card-img-top {
    height: 200px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Desktop optimizations */
  .hero-section .display-4 {
    font-size: 3.5rem;
  }
  
  /* Larger cards on desktop */
  .feature-card, .service-card, .pricing-card {
    height: 100%;
  }
  
  /* Timeline desktop layout */
  .timeline {
    padding-left: 40px;
  }
  
  .timeline-marker {
    left: -42px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  /* Larger spacing for XL screens */
  .py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
  }
}

/* Ultra wide screens (1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .navbar, .breadcrumb-section, footer, .hero-buttons {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  .hero-section {
    padding-top: 0;
  }
  
  .py-5 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .team-photo, .partner-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding-top: 60px;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Dark mode support */

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-section, .feature-card, .service-card, 
  .pricing-card, .review-card, .case-study-card, 
  .career-card, .info-card, .blog-card, .faq-card {
    transition: none;
    transform: none;
  }
  
  .hero-buttons .btn:hover,
  .btn-primary:hover,
  .btn-outline-primary:hover {
    transform: none;
  }
  
  #gallery img:hover {
    transform: none;
  }
}

/* Focus visible for keyboard navigation */
@media (hover: none) {
  .btn:hover, .card:hover, .nav-link:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Specific mobile menu handling - NO CUSTOMIZATION */
@media (max-width: 991.98px) {
  /* Use Bootstrap 5 default navbar collapse behavior only */
  .navbar-collapse {
    /* Default Bootstrap behavior - no customization */
  }
  
  .navbar-toggler {
    /* Default Bootstrap behavior - no customization */
  }
}

/* Container fluid on very small screens */
@media (max-width: 480px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /* Smaller text on very small screens */
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .h2, h2 {
    font-size: 1.5rem !important;
  }
  
  .h4, h4 {
    font-size: 1.125rem !important;
  }
}

/* Accessibility improvements */
@media (max-width: 575.98px) {
  /* Larger touch targets on mobile */
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .navbar-toggler {
    min-height: 44px;
    min-width: 44px;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  /* Better spacing for form elements */
  .form-check-input {
    margin-top: 0.5rem;
  }
  
  /* Improved readability */
  body {
    line-height: 1.7;
  }
}

/* Landscape mobile specific */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    padding-top: 60px;
    min-height: 100vh;
  }
  
  .navbar {
    padding: 0.25rem 1rem;
  }
} 

.hero-section h1 {
    padding-top: 100px;
}