/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  .section {
    padding: 3rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .hero {
    text-align: center;
    padding-top: 5rem;
  }
  
  .hero-img {
    margin-top: 2rem;
  }
  
  .process-number:after {
    display: none;
  }
  
  .team-img {
    width: 120px;
    height: 120px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section {
    padding: 3.5rem 0;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  .hero {
    text-align: center;
    padding-top: 5rem;
  }
  
  .hero-img {
    margin-top: 2rem;
  }
  
  .team-img {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .service-card .features {
    padding-left: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero {
    min-height: 90vh;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Default styling applies here */
}

/* For all devices with reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover {
    transform: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
  }
}

/* Mobile viewport specific adjustments */
@media (max-width: 767.98px) {
  /* Remove animations on mobile */
  .service-card:hover,
  .feature-card:hover,
  .price-card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  /* Stack columns in contact section */
  .contact-info {
    margin-top: 2rem;
  }
  
  /* Adjust gallery spacing */
  .gallery .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .gallery .col {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Center content in specific sections on mobile */
@media (max-width: 767.98px) {
  .about-feature,
  .features-item,
  .process-item,
  .timeline-item,
  .career-item,
  .coreinfo-item {
    text-align: center;
  }
  
  .timeline-card {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid var(--primary-color-1);
    padding-top: 20px;
    margin-bottom: 30px;
  }
} 

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