/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  .hero-section {
    padding: 6rem 0;
  }
  
  .section {
    padding: 5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
  
  .hero-section {
    padding: 8rem 0;
  }
  
  .section {
    padding: 6rem 0;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
}

/* Mobile Specific Styles (up to 767px) */
@media (max-width: 767.98px) {
  /* Disable scroll animations on mobile */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  h4 {
    font-size: 1.125rem;
  }
  
  .navbar-brand {
    font-size: 1.125rem;
  }
  
  /* Hero section mobile optimization */
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-section .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Section padding reduction for mobile */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards mobile spacing */
  .card {
    margin-bottom: 2rem;
  }
  
  .card-body {
    padding: 1.5rem;
    overflow-x: hidden;
}
  
  /* Services mobile layout */
  .service-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  /* Team member mobile */
  .team-photo {
    width: 120px;
    height: 120px;
  }
  
  .team-member {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
  /* Features mobile */
  .feature-item {
    padding: 1.5rem 1rem;
    margin-bottom: 2rem;
  }
  
  .feature-icon {
    font-size: 2.5rem;
  }
  
  /* Gallery mobile */
  .gallery-item {
    margin-bottom: 1.5rem;
  }
  
  .gallery-item img {
    height: 200px;
  }
  
  /* FAQ mobile */
  .faq-question,
  .faq-answer {
    padding: 1rem;
  }
  
  /* Forms mobile */
  .form-control {
    padding: 0.625rem 0.875rem;
  }
  
  .btn {
    padding: 0.625rem 1.5rem;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Footer mobile */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .footer .col-md-3 {
    margin-bottom: 2rem;
  }
  
  /* Contact info mobile */
  .contact-info {
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  /* Blog mobile */
  .blog-image {
    height: 180px;
  }
  
  .blog-card {
    margin-bottom: 2rem;
  }
  
  /* Price card mobile */
  .price-card {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .price-card.featured {
    transform: none;
  }
  
  .price-value {
    font-size: 2rem;
  }
  
  /* Navbar mobile adjustments */
  .navbar-nav {
    text-align: center;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
  }
  
  /* Remove decorative elements on mobile */
  .hero-decorative::before {
    display: none;
  }
  
  /* Mobile utility classes */
  .mobile-center {
    text-align: center;
  }
  
  .mobile-hide {
    display: none;
  }
  
  .mobile-full-width {
    width: 100%;
  }
}

/* Tablet specific styles (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 90vh;
    padding: 4rem 0;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .team-photo {
    width: 140px;
    height: 140px;
  }
  
  .feature-icon {
    font-size: 2.75rem;
  }
  
  .gallery-item img {
    height: 220px;
  }
  
  .blog-image {
    height: 190px;
  }
}

/* Large desktop specific styles (1200px and up) */
@media (min-width: 1200px) {
  .hero-section {
    padding: 10rem 0;
  }
  
  .section {
    padding: 8rem 0;
  }
  
  .container-xl {
    max-width: 1200px;
  }
  
  .team-photo {
    width: 160px;
    height: 160px;
  }
  
  .feature-icon {
    font-size: 3.5rem;
  }
  
  .gallery-item img {
    height: 280px;
  }
  
  .blog-image {
    height: 220px;
  }
  
  .price-value {
    font-size: 3rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn,
  .hero-decorative::before {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .card {
    border: 1px solid #000;
    box-shadow: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--text-color);
  }
  
  .btn {
    border: 2px solid currentColor;
  }
  
  .form-control {
    border: 2px solid var(--text-color);
  }
}

/* Focus management for accessibility */
@media (min-width: 768px) {
  .btn:focus,
  .form-control:focus,
  .nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }
}

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

/* Dark mode support (future-proofing) */

/* Container max-width overrides for better responsiveness */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
} 

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