/* Mobile First Responsive Design */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  
  /* Typography Adjustments */
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
  
  p {
    font-size: 0.9rem;
  }
  
  /* Remove all scroll animations on mobile */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  /* Navigation */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0;
  }
  
  /* Hero Section */
  .hero-section {
    min-height: 80vh;
    text-align: center;
    padding: 2rem 0;
  }
  
  .hero-decoration {
    display: none;
  }
  
  /* Section Spacing */
  .section {
    padding: 3rem 0;
  }
  
  /* Buttons */
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Cards */
  .card-body {
    padding: 1.5rem;
  }
  
  /* Service Cards */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .service-icon {
    font-size: 2.5rem;
  }
  
  .service-price {
    font-size: 1.25rem;
  }
  
  /* Team Section */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* FAQ Cards */
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  .faq-card .card-body {
    padding: 1rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  .faq-answer {
    font-size: 0.9rem;
  }
  
  /* Contact Form */
  .contact-form {
    padding: 2rem 1.5rem;
    margin: 1rem 0;
  }
  
  /* Gallery */
  .gallery-item img {
    height: 200px;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Price Cards */
  .price-card.featured {
    transform: none;
  }
  
  .price-amount {
    font-size: 2.5rem;
  }
  
  /* Process Steps */
  .process-step {
    padding-left: 2.5rem;
    margin-bottom: 2rem;
  }
  
  .process-step::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.8rem;
  }
  
  /* Remove hover effects on mobile */
  .card:hover {
    transform: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  
  .gallery-item:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.9rem;
  }
  
  /* Remove scroll animations on small devices too */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .service-card {
    padding: 1.75rem;
  }
  
  /* FAQ Cards */
  .faq-card .card-body {
    padding: 1.25rem;
  }
  
  .contact-form {
    padding: 2.5rem;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  
  .hero-section {
    min-height: 95vh;
  }
  
  .section {
    padding: 4.5rem 0;
  }
  
  .service-icon {
    font-size: 2.75rem;
  }
  
  /* FAQ Cards */
  .faq-card {
    margin-bottom: 1.5rem;
  }
  
  .faq-card .card-body {
    padding: 1.5rem;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) {
  
  .hero-decoration {
    display: block;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 5rem 0;
  }
  
  /* Enable full animations on desktop */
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item:hover {
    transform: scale(1.05);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  
  .container {
    max-width: 1140px;
  }
  
  .hero-decoration {
    width: 350px;
    height: 350px;
  }
  
  .hero-decoration::before {
    width: 180px;
    height: 180px;
  }
}

/* Extra Extra Large Devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  
  .container {
    max-width: 1320px;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-decoration,
  .hero-decoration::before {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

/* Landscape Orientation on Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Print Styles */
@media print {
  .hero-decoration,
  .navbar,
  .footer,
  .btn,
  [data-sal] {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  h1, h2, h3, h4 {
    color: #000;
    page-break-after: avoid;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid #c3c3c3;
    box-shadow: none;
  }
}

/* Dark Mode Support (respecting user preference) */

/* Focus Management for Accessibility */
@media (max-width: 767.98px) {
  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(89, 92, 220, 0.25);
  }
  
  .form-control:focus,
  .btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

/* Container Adjustments */
@media (max-width: 575.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
} 

.hero-section h1 {
    padding-top: 175px;
}