/* Mobile First Responsive Design */

/* Extra small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* No animations on mobile per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Conservative mobile typography */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-section::before {
    display: none;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .service-card,
  .about-feature-card,
  .feature-card,
  .price-card,
  .team-card {
    margin-bottom: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .process-step::before {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin: 0 auto 1rem;
  }
  
  .timeline-item::before {
    display: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 85vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-card img {
    height: 180px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Container adjustments */
@media (max-width: 575.98px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

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

/* Form responsive adjustments */
@media (max-width: 767.98px) {
  .form-control {
    margin-bottom: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    margin-top: 1rem;
  }
}

/* Card responsive adjustments */
@media (max-width: 575.98px) {
  .card-columns {
    column-count: 1;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .card-columns {
    column-count: 2;
  }
}

@media (min-width: 768px) {
  .card-columns {
    column-count: 3;
  }
}

/* Team member cards responsive */
@media (max-width: 575.98px) {
  .team-card img {
    width: 120px;
    height: 120px;
  }
}

/* Price cards responsive */
@media (max-width: 767.98px) {
  .price-amount {
    font-size: 2rem;
  }
}

/* Section spacing adjustments */
@media (max-width: 575.98px) {
  .section {
    padding: 2.5rem 0;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .section {
    padding: 3.5rem 0;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .section {
    padding: 4.5rem 0;
  }
}

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

/* Contact info responsive */
@media (max-width: 575.98px) {
  .contact-info-item {
    padding: 1.5rem;
  }
  
  .contact-info-item i {
    font-size: 2rem;
  }
}

/* Blog cards responsive */
@media (max-width: 575.98px) {
  .blog-card img {
    height: 150px;
  }
}

/* Process steps responsive */
@media (max-width: 767.98px) {
  .process-container {
    counter-reset: none;
  }
  
  .process-step::before {
    display: none;
  }
}

/* FAQ responsive */
@media (max-width: 575.98px) {
  .faq-card {
    padding: 1.5rem;
  }
}

/* Hide decorative elements on small screens */
@media (max-width: 767.98px) {
  .hero-section::before,
  .hero-section::after {
    display: none;
  }
}

/* Ensure proper spacing on all screen sizes */
.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

@media (max-width: 575.98px) {
  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .row > * {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
} 

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