/* Responsive CSS for Resume Writing Template */

/* Mobile First Approach */
@media (max-width: 575.98px) {
  /* Extra small devices (phones) */
  
  .navbar-brand {
    font-size: 21.00px !important;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section h1 {
    font-size: 28.00px;
  }
  
  .hero-section p {
    font-size: 21.00px;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .service-card {
    margin-bottom: 2.11rem;
  }
  
  .price-card {
    margin-bottom: 2.11rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 21.00px;
  }
}

/* Small devices (landscape phones) */
@media (max-width: 767.98px) {
  
  /* Disable autoplay and effects for Swiper on mobile */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  .swiper-slide {
    transition: none !important;
  }
  
  .hero-section {
  padding-top: 50px;
    text-align: center;
  }
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .section-title {
    margin-bottom: 2.11rem;
  }
  
  h1 {
    font-size: 31.00px;
  }
  
  h2 {
    font-size: 24.00px;
  }
  
  h3 {
    font-size: 19.00px;
  }
  
  .price-amount {
    font-size: 2.57rem;
  }
  
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-card img {
    height: 180px;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer .row > div {
    margin-bottom: 2.11rem;
  }
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  .hero-section h1 {
    font-size: 34.00px;
  }
  
  .service-card {
    margin-bottom: 2.11rem;
  }
  
  .price-card {
    margin-bottom: 2.11rem;
  }
  
  .team-card {
    margin-bottom: 2.11rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Large devices (desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  
  .hero-section h1 {
    font-size: 41.00px;
  }
  
  .section-padding {
    padding: 80px 0;
  }
}

/* Extra large devices (large desktops) */
@media (min-width: 1200px) {
  
  .hero-section h1 {
    font-size: 41.00px;
  }
  
  .container {
    max-width: 1140px;
  }
  
  .section-padding {
    padding: 100px 0;
  }
}

/* Landscape orientation adjustments */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero-section {
  padding-top: 50px;
    min-height: 100vh;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    background-size: cover;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-shape {
    display: none !important;
  }
  
  .hero-section {
  padding-top: 50px;
    min-height: auto;
    background: none !important;
    color: black !important;
  }
  
  .section-padding {
    padding: 20px 0;
  }
  
  body {
    font-size: 13.00px;
    line-height: 1.4;
  }
  
  h1, h2, h3, h4, h5, h6 {
    color: black !important;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .hero-shape-1,
  .hero-shape-2 {
    animation: none !important;
  }
  
  .service-card:hover,
  .blog-card:hover,
  .btn-primary:hover {
    transform: none !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
  
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .service-card,
  .price-card,
  .contact-form,
  .blog-card {
    border: 2px solid currentColor;
  }
  
  .btn-primary {
    border: 2px solid currentColor;
  }
}

