/* Mobile First Responsive Design */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .navbar-brand {
    font-size: 1.1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 1rem;
  }
  
  .team-photo {
    width: 100px;
    height: 100px;
  }
  
  .process-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-card .card-img-top {
    height: 200px;
  }
  
  .service-card .card-img-top {
    height: 150px;
  }
  
  /* FAQ Cards Responsive */
  .faq-card {
    margin-bottom: 1rem;
    width: 100%;
  }
  
  .faq-card .card-body {
    padding: 1rem;
  }
  
  .faq-question {
    font-size: 1rem;
  }
  
  /* No animations on mobile as per requirements */
  .card:hover {
    transform: none;
  }
  
  .gallery-item:hover img,
  .blog-card:hover .card-img-top {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 90vh;
  }
  
  .price-card.featured {
    transform: scale(1.02);
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  /* FAQ Cards Responsive */
  .faq-card {
    margin-bottom: 1.25rem;
  }
  
  .faq-card .card-body {
    padding: 1.25rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .card-body {
    padding: 1.75rem;
  }
  
  .contact-form {
    padding: 1.75rem;
  }
  
  .gallery-item img {
    height: 240px;
  }
  
  .blog-card .card-img-top {
    height: 220px;
  }
  
  /* FAQ Cards Responsive */
  .faq-card {
    margin-bottom: 1.5rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .gallery-item img {
    height: 250px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-section {
    min-height: 100vh;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .card:hover {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
  }
  
  .card {
    border: 1px solid #d5d5d5;
    box-shadow: none;
  }
  
  .section {
    padding: 1rem 0;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #1c16fe;
    --primary-blue-dark: #04006f;
    --neutral-gray-dark: #000000;
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  
  .card {
    border: 2px solid #000;
  }
  
  .btn-primary {
    border: 2px solid #000;
  }
}

/* Dark mode support */

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

/* Focus states for accessibility */
@media (prefers-reduced-motion: no-preference) {
  .card:focus,
  .btn:focus,
  .form-control:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* Hover states only for devices that can hover */
@media (hover: hover) and (pointer: fine) {
  .card:hover {
    transform: translateY(-5px);
  }
  
  .navbar-nav .nav-link:hover {
    color: var(--primary-blue);
  }
  
  .btn-primary:hover {
    transform: translateY(-2px);
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .blog-card:hover .card-img-top {
    transform: scale(1.05);
  }
}

/* Disable hover effects on touch devices */
@media (hover: none) and (pointer: coarse) {
  .card:hover,
  .btn-primary:hover,
  .gallery-item:hover img,
  .blog-card:hover .card-img-top {
    transform: none;
  }
} 

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