/* ===== RESPONSIVE DESIGN ===== */
/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
  }
  
  .hero-decorative {
    display: none;
  }
  
  .section-padding {
    padding: 40px 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.3rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
  
  .service-card .card-body,
  .testimonial-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .btn-primary-custom,
  .btn-outline-custom {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .price-number {
    font-size: 2rem;
  }
  
  .team-img {
    height: 200px;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section-padding {
    padding: 50px 0;
  }
  
  h1 {
    font-size: 1.7rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .team-img {
    height: 220px;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .team-img {
    height: 230px;
  }
  
  .gallery-item img {
    height: 230px;
  }
  
  .hero-decorative {
    width: 150px;
    height: 150px;
  }
  
  .hero-decorative:before {
    width: 100px;
    height: 100px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .section-padding {
    padding: 70px 0;
  }
  
  .team-img {
    height: 240px;
  }
  
  .gallery-item img {
    height: 240px;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .section-padding {
    padding: 80px 0;
  }
  
  .team-img {
    height: 250px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* ===== MOBILE SCROLL ANIMATION DISABLE ===== */
@media (max-width: 768px) {
  /* Disable all scroll animations on mobile */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .fade-in {
    opacity: 1 !important;
    transition: none !important;
  }
  
  /* Disable hover effects on mobile */
  .service-card:hover,
  .team-card:hover,
  .price-card:hover,
  .gallery-item:hover img {
    transform: none;
  }
}

/* ===== NAVBAR RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--white);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }
  
  .navbar-nav .nav-link {
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--light-sage);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* ===== GRID ADJUSTMENTS ===== */
@media (max-width: 767.98px) {
  .col-md-4,
  .col-md-6,
  .col-lg-3,
  .col-lg-4,
  .col-lg-6 {
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .col-sm-6 {
    margin-bottom: 1.5rem;
  }
}

/* ===== FORM RESPONSIVE ===== */
@media (max-width: 767.98px) {
  .contact-form .row .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* ===== FOOTER RESPONSIVE ===== */
@media (max-width: 767.98px) {
  .footer {
    padding: 2rem 0 1.5rem;
    text-align: center;
  }
  
  .footer .col-md-3,
  .footer .col-md-4 {
    margin-bottom: 2rem;
  }
}

/* ===== HERO SECTION RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .hero-section .col-lg-6:first-child {
    text-align: center;
    margin-top: 2rem;
  }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
  .service-card,
  .team-card,
  .price-card,
  .form-control,
  .btn-primary-custom,
  .btn-outline-custom,
  .gallery-item img {
    transition: none !important;
  }
}

/* ===== HIGH CONTRAST MODE ===== */
@media (prefers-contrast: high) {
  :root {
    --primary-lavender: #6B46C1;
    --primary-sage: #059669;
    --primary-coral: #DC2626;
    --primary-powder: #2563EB;
    --black: #000000;
    --white: #FFFFFF;
  }
  
  .service-card,
  .testimonial-card,
  .team-card,
  .faq-card,
  .price-card {
    border: 2px solid var(--black);
  }
} 

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