/* Responsive CSS - Mobile First Approach */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .hero h1 {
    font-size: 3.63rem;
  }
  
  .section-title h2 {
    font-size: 2.92rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }
  
  .section-title h2 {
    font-size: 3rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .hero {
    padding: 0 2rem;
  }
  
  .section {
    padding: 6rem 0;
  }
  
  .service-card {
    height: 100%;
  }
  
  .price-card {
    height: 100%;
  }
  
  .feature-card {
    height: 100%;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero h1 {
    font-size: 4.56rem;
  }
  
  .section-title h2 {
    font-size: 3.61rem;
  }
  
  .container {
    max-width: 1140px;
  }
}

/* Mobile specific styles */
@media (max-width: 767px) {
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.57rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.39rem;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    margin-bottom: 1.77rem;
  }
  
  .team-member img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  .blog-card img {
    height: 150px;
  }
}

/* Tablet landscape */
@media (min-width: 768px) and (max-width: 991px) {
  .hero h1 {
    font-size: 3.64rem;
  }
  
  .section-title h2 {
    font-size: 2.56rem;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
}

/* High DPI / Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero::before {
    transform: scale(0.5);
  }
}

/* Dark mode support */

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding: 2rem 0;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  a,
  a:visited {
    text-decoration: underline;
  }
  
  img {
    max-width: 100% !important;
  }
  
  .page-break {
    page-break-after: always;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .blog-card:hover,
  .gallery-item img:hover {
    transform: none;
  }
  
  * {
    transition: none !important;
  }
}

/* Focus indicators for keyboard navigation */
@media (prefers-reduced-motion: no-preference) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-blue: #0008ff;
    --primary-green: #007501;
    --primary-purple: #700082;
    --primary-orange: #ff3c00;
    --primary-cyan: #066973;
    --gray-600: #000000;
    --gray-700: #000000;
  }
  
  .btn {
    border-width: 2px;
  }
  
  .service-card,
  .price-card,
  .feature-card {
    border-width: 2px;
  }
} 

/* Contact Item and Card Responsive Styles */
@media (max-width: 767px) {
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .contact-item i {
    margin-right: 0;
    margin-bottom: 0.81rem;
    font-size: 1.58rem;
  }
  
  .contact-card {
    padding: 1.5rem;
  }
  
  .contact-card h5 {
    font-size: 1.21rem;
  }
  
  .breadcrumb {
    margin-top: 60px;
    padding: 1.5rem 0;
  }
  
  .breadcrumb-item img {
    width: 20px;
    height: 20px;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
  }
  
  .skip-link {
    left: 4px;
    padding: 6px 10px;
    font-size: 0.94rem;
  }
  
  .team-member {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .team-member img {
    width: 100px;
    height: 100px;
    border-width: 2px;
  }
  
  .team-member h5 {
    font-size: 1rem;
  }
  
  .team-member p {
    font-size: 0.95rem;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991px) {
  .contact-item {
    padding: 1.25rem;
  }
  
  .contact-card {
    padding: 1.75rem;
  }
  
  .breadcrumb {
    margin-top: 70px;
  }
  
  .team-member img {
    width: 110px;
    height: 110px;
  }
}

/* Large screen adjustments */
@media (min-width: 992px) {
  .contact-item {
    margin-bottom: 2rem;
  }
  
  .contact-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .breadcrumb {
    margin-top: 80px;
  }
  
  .team-member {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Alert responsive styles */
@media (max-width: 767px) {
  .alert {
    padding: 0.75rem 1rem;
    font-size: 0.90rem;
  }
  
  .alert .btn-close {
    top: 0.25rem;
    right: 0.25rem;
  }
}

/* Form validation responsive */
@media (max-width: 767px) {
  .invalid-feedback,
  .valid-feedback {
    font-size: 0.85rem;
  }
} 

.hero-content {
    padding-top: 275px;
}