/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .service-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .team-card {
    padding: 1rem;
  }
  
  .team-image {
    width: 80px;
    height: 80px;
    font-size: 2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
  
  .hero-decoration {
    display: none;
  }
  
  .gallery-item {
    height: 150px;
  }
  
  .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  h1 {
    font-size: 2.25rem;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Navigation responsive */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--background-light);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--background-dark);
  }
  
  .nav-link:last-child {
    border-bottom: none;
  }
}

/* Cards responsive stacking */
@media (max-width: 767.98px) {
  .row .col-md-6,
  .row .col-md-4,
  .row .col-lg-4,
  .row .col-lg-6 {
    margin-bottom: 2rem;
  }
}

/* Footer responsive */
@media (max-width: 767.98px) {
  .footer {
    text-align: center;
    padding: 2rem 0 1rem;
  }
  
  .footer .row > div {
    margin-bottom: 2rem;
  }
}

/* Form responsive */
@media (max-width: 575.98px) {
  .form-control {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    padding: 0.75rem;
  }
}

/* Blog grid responsive */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 1.5rem;
  }
}

/* Process/Timeline responsive */
@media (max-width: 575.98px) {
  .process-item,
  .timeline-item {
    padding: 1.5rem;
  }
  
  .process-number {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* Career cards responsive */
@media (max-width: 767.98px) {
  .career-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Gallery responsive */
@media (max-width: 575.98px) {
  .gallery-item {
    height: 120px;
    font-size: 1.25rem;
  }
}

/* Utilities responsive */
@media (max-width: 575.98px) {
  .mb-5 {
    margin-bottom: 2rem;
  }
  
  .mt-5 {
    margin-top: 2rem;
  }
  
  .section-padding-small {
    padding: 2rem 0;
  }
} 

.hero-section h1 {
    padding-top: 250px;
}
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
