/* Responsive CSS - Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  
  .hero-section {
    min-height: 70vh;
    padding: 2rem 0;
  }
  
  .hero-section .row {
    flex-direction: column-reverse;
  }
  
  .section-title h2 {
    font-size: 1.56rem;
  }
  
  .section-subtitle {
    font-size: 1.03rem;
  }
  
  .services-card {
    padding: 1.5rem;
    margin-bottom: 1.73rem;
  }
  
  .services-icon {
    font-size: 2.63rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .navbar-brand {
    font-size: 1.17rem !important;
  }
  
  .btn-primary {
    padding: 0.8rem 1.5rem;
    font-size: 0.96rem;
  }
  
  .faq-question, .faq-answer {
    padding: 1rem;
  }
  
  .reviews-card {
    padding: 1.5rem;
  }
  
  .process-item {
    padding: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 75vh;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .priceplan-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 80vh;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .priceplan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .contact-form .row .col-md-6 {
    margin-bottom: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .hero-section .col-lg-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
  }
  
  .container {
    max-width: 1200px;
  }
}

/* Specific responsive adjustments */
@media (max-width: 768px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .hero-content {
  padding-top: 50px !important;
    text-align: center;
  }
  
  .hero-section .row > div:first-child {
    margin-bottom: 2rem;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .footer-section {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer-section:last-child {
    margin-bottom: 0;
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .hero-content h1 {
  padding-top: 50px !important; {
    font-size: 1.91rem;
  }
  
  .hero-content p {
    font-size: 1.00rem;
  }
}

/* High resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-section::before {
    opacity: 0.05;
  }
  
  .card {
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  }
}

/* Print styles */
@media print {
  .navbar, .breadcrumb, footer, .btn, .form-control {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
  
  section {
    padding: 1rem 0;
    break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #dccece;
  }
  
  * {
    color: #000 !important;
    background: #fff !important;
  }
} 