/* Responsive Styles - Mobile First Approach */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Typography adjustments */
  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }
  
  .hero-section::before {
    display: none; /* Remove decorative elements on mobile */
  }
  
  /* Section padding */
  .section-padding {
    padding: 2rem 0;
  }
  
  /* Cards mobile adjustments */
  .card {
    margin-bottom: 1rem;
  }
  
  .services-card {
    padding: 1rem;
  }
  
  .services-card .card-img-top {
    height: 150px;
  }
  
  /* Team cards mobile */
  .team-photo {
    width: 80px;
    height: 80px;
  }
  
  .team-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  /* Contact form mobile */
  .contact-form {
    padding: 1.5rem;
    margin: 1rem 0;
  }
  
  /* Gallery grid mobile */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  /* Process steps mobile */
  .process-step {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }
  
  /* FAQ mobile */
  .faq-card {
    padding: 1rem;
  }
  
  /* Review cards mobile */
  .review-card {
    padding: 1.5rem;
  }
  
  .review-card::before {
    font-size: 2.5rem;
    top: -5px;
    left: 15px;
  }
  
  /* Navigation mobile adjustments */
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Disable animations on mobile as per requirements */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  .card:hover {
    transform: none;
  }
  
  .team-card:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero adjustments */
  .hero-section {
    min-height: 90vh;
  }
  
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  /* Services grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Team grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  /* Disable scroll animations on mobile */
  * {
    animation: none !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  /* Services grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  /* Team grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  /* Features grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  /* Contact form tablet */
  .contact-form {
    padding: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Services grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Team grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  /* Features grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Gallery grid */
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  
  /* Services grid */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  /* Team grid */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  /* Features grid */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
  
  /* Hero section large screens */
  .hero-section {
    padding: 0;
  }
  
  /* Section max widths */
  .container {
    max-width: 1200px;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .gallery-grid {
    display: none;
  }
  
  .hero-section {
    min-height: auto;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #b8a8a9;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
  
  .form-control {
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .hero-section::before {
    animation: none;
  }
  
  .card,
  .team-card,
  .gallery-item img,
  .btn-primary {
    transition: none;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
} 

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