/* Responsive Design - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section .hero-title {
    font-size: 1.25rem;
  }
  
  .hero-section .hero-subtitle {
    font-size: 1rem;
  }
  
  .section {
    padding: 1.5rem 0;
  }
  
  .service-card,
  .priceplan-card,
  .feature-card {
    margin-bottom: 1rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-section .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .team-photo {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .hero-section .hero-title {
    font-size: 1.75rem;
  }
  
  .service-card {
    height: 100%;
  }
  
  .priceplan-card {
    height: 100%;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
  }
  
  .navbar-collapse {
    background: rgba(139, 38, 53, 0.95);
    border-radius: 10px;
    margin-top: 1rem;
    padding: 1rem;
  }
  
  .navbar-nav .nav-link {
  font-size: 10px !important;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/* Swiper Slider Responsive Settings - Disable autoplay/effects on mobile <768px */
@media (max-width: 767.98px) {
  .swiper-wrapper {
    transform: none !important;
  }
  
  .swiper-slide {
    transform: none !important;
  }
  
  /* Disable transitions on mobile for reduced motion */
  .swiper-container .swiper-slide,
  .swiper-container .swiper-wrapper {
    transition: none !important;
  }
}

/* Gallery Responsive Grid */
@media (max-width: 575.98px) {
  .gallery-item {
    margin-bottom: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .gallery-item img {
    height: 220px;
  }
}

@media (min-width: 768px) {
  .gallery-item img {
    height: 250px;
  }
}

/* Form Responsive */
@media (max-width: 767.98px) {
  .contact-form .row .col-md-6 {
    margin-bottom: 1rem;
  }
  
  .btn-primary {
    width: 100%;
    padding: 1rem;
  }
}

/* Team Grid Responsive */
@media (max-width: 575.98px) {
  .team-member {
    margin-bottom: 2rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .team-member {
    margin-bottom: 2.5rem;
  }
}

/* Services Grid Responsive */
@media (max-width: 767.98px) {
  .service-card {
    padding: 1.5rem;
  }
}

/* Reviews Slider Responsive */
@media (max-width: 767.98px) {
  .review-card {
    margin: 0.5rem;
    padding: 1.5rem;
  }
}

/* Footer Responsive */
@media (max-width: 767.98px) {
  footer {
    text-align: center;
  }
  
  .footer-section {
    margin-bottom: 2rem;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
}

/* Process Steps Responsive */
@media (max-width: 767.98px) {
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* Timeline Responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

/* FAQ Responsive */
@media (max-width: 767.98px) {
  .faq-question {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem;
  }
}

/* Blog Grid Responsive */
@media (max-width: 767.98px) {
  .blog-card {
    margin-bottom: 1.5rem;
  }
} 