/* Responsive CSS for Mobile and Tablet Devices */

/* Extra Small Devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  
  #hero {
    padding: 4rem 0 2rem;
    text-align: center;
  }
  
  #hero h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  #hero p {
    font-size: 0.9rem;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  #services .service-card,
  #priceplan .price-card,
  #team .team-card,
  #reviews .review-card {
    margin-bottom: 2rem;
  }
  
  #contact .contact-form,
  #contact .contact-info {
    padding: 2rem;
  }
  
  #gallery .gallery-item img {
    height: 200px;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  #footer {
    text-align: center;
  }
  
  #footer .footer-policies a {
    display: block;
    margin: 0.5rem 0;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #hero {
    padding: 5rem 0 3rem;
  }
  
  #hero h1 {
    font-size: 1.75rem;
  }
  
  .section-padding {
    padding: 3.5rem 0;
  }
  
  #gallery .gallery-item img {
    height: 220px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  #hero {
    padding: 6rem 0 4rem;
  }
  
  #hero h1 {
    font-size: 2rem;
  }
  
  .section-padding {
    padding: 4rem 0;
  }
  
  #services .service-card,
  #priceplan .price-card {
    margin-bottom: 2rem;
  }
  
  #gallery .gallery-item img {
    height: 240px;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #gallery .gallery-item img {
    height: 250px;
  }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  #gallery .gallery-item img {
    height: 280px;
  }
}

/* Print Styles */
@media print {
  #header,
  #footer,
  .btn,
  button {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    overflow-x: hidden;
}
  
  h1, h2, h3, h4, h5, h6 {
    color: #000;
    page-break-after: avoid;
  }
  
  p, li {
    orphans: 3;
    widows: 3;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --primary-green: #000000;
    --primary-blue: #000000;
    --primary-orange: #000000;
    --primary-purple: #000000;
    --primary-teal: #000000;
    --light-gray: #FFFFFF;
    --medium-gray: #000000;
    --dark-gray: #000000;
  }
  
  .btn, button {
    border: 2px solid #000000;
  }
}

/* Focus Styles for Accessibility */
button:focus,
.btn:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary-green);
  outline-offset: 2px;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-green);
  color: var(--white);
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
}

.skip-link:focus {
  top: 6px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-green);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-green);
} 

.hero-content {
    padding-top: 200px;
}