/* Responsive styles for Guardianship Application Assistance Office */

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  section {
    padding: 3rem 0;
  }
  
  .hero-section {
    min-height: 80vh;
  }
  
  .service-card,
  .price-card,
  .team-card,
  .blog-card,
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  section {
    padding: 4rem 0;
  }
  
  .hero-section {
    min-height: 85vh;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .service-icon,
  .feature-icon,
  .core-info-icon {
    font-size: 2.5rem;
  }
  
  .gallery-item img {
    height: 230px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .gallery-item img {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Disabling animations based on user preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Mobile-specific styles for better touch experience */
@media (max-width: 767.98px) {
  /* Increase touch target sizes */
  .btn,
  .nav-link,
  .form-control {
    padding: 0.6rem 1rem;
  }
  
  /* Adjust spacing for mobile */
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Stack elements on mobile */
  .d-md-flex {
    display: block !important;
  }
  
  /* Adjust mobile font sizes */
  body {
    font-size: 0.95rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  /* Disable hover effects on mobile */
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .core-info-item:hover,
  .blog-card:hover,
  .gallery-item:hover img {
    transform: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  /* Ensure form elements are easily tappable */
  input, 
  select, 
  textarea, 
  button {
    font-size: 16px; /* Prevents iOS zoom on focus */
  }
  
  /* Swiper slider mobile adjustments */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .swiper-pagination {
    bottom: 5px !important;
  }
} 