/* Responsive CSS - Mobile First Approach */

/* Mobile First - Base styles for mobile devices */
@media (max-width: 767.98px) {
  /* Typography adjustments for mobile */
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  /* Navbar brand smaller on mobile */
  .navbar-brand {
    font-size: 1.1rem !important;
  }
  
  /* Section padding reduced for mobile */
  section {
    padding: 2rem 0;
  }
  
  /* Hero section adjustments */
  #hero {
    min-height: 70vh;
    text-align: center;
  }
  
  #hero .col-md-6 {
    margin-bottom: 2rem;
  }
  
  /* Remove decorative shapes on mobile */
  #hero::before {
    display: none;
  }
  
  /* Cards spacing */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card,
  .case-card,
  .process-step {
    margin-bottom: 2rem;
  }
  
  /* Service images smaller on mobile */
  .service-image {
    height: 150px;
    font-size: 2rem;
  }
  
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Team photos smaller */
  .team-photo {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
  }
  
  .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Gallery items smaller */
  .gallery-item {
    height: 200px;
    font-size: 1.5rem;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  
  /* Contact form padding */
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Mobile form improvements */
  .contact-form .form-control {
    font-size: 16px;
    padding: 1rem;
  }
  
  .contact-form .form-check {
    gap: 1rem;
    align-items: flex-start;
  }
  
  .contact-form .form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0;
  }
  
  .contact-form .form-check-label {
    font-size: 1rem;
    line-height: 1.5;
  }
  
  .contact-form .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
  }
  
  /* Blog images smaller */
  .blog-image {
    height: 150px;
    font-size: 1.5rem;
  }
  
  /* Footer adjustments */
  #footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-section {
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Button adjustments */
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  /* Process numbers smaller */
  .process-number {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  /* NO ANIMATIONS ON MOBILE - Respect reduced motion */
  * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
  
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover,
  .btn-primary:hover {
    transform: none !important;
  }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Adjust columns for tablet */
  .col-md-4 {
    margin-bottom: 2rem;
  }
  
  .col-md-6 {
    margin-bottom: 1.5rem;
  }
  
  /* Hero section for tablet */
  #hero {
    min-height: 80vh;
  }
  
  /* Service images */
  .service-image {
    height: 180px;
  }
  
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Team photos */
  .team-photo {
    width: 130px;
    height: 130px;
  }
  
  .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Gallery items */
  .gallery-item {
    height: 220px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Tablet Landscape and Small Desktop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Fine-tune spacing */
  .col-lg-4 {
    margin-bottom: 2rem;
  }
  
  /* Service images */
  .service-image {
    height: 190px;
  }
  
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Contact form */
  .contact-form {
    padding: 2.5rem;
  }
  
  /* Tablet form adjustments */
  .contact-form .form-control {
    font-size: 15px;
    padding: 0.875rem 1rem;
  }
  
  .contact-form .form-check-input {
    width: 1.375rem;
    height: 1.375rem;
  }
  
  .contact-form .btn {
    padding: 1rem 2.5rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  /* Container max-width */
  .container {
    max-width: var(--content-max-width);
  }
  
  /* Hero section full height */
  #hero {
    min-height: 100vh;
  }
  
  /* Larger service images */
  .service-image {
    height: 220px;
  }
  
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Team photos larger */
  .team-photo {
    width: 160px;
    height: 160px;
  }
  
  .team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* Gallery items larger */
  .gallery-item {
    height: 280px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* Extra Large Desktop */
@media (min-width: 1400px) {
  /* Even larger containers */
  .container-xl {
    max-width: 1320px;
  }
  
  /* Increased section padding */
  section {
    padding: 5rem 0;
  }
  
  /* Larger typography */
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
}

/* Print Styles */
@media print {
  /* Hide navigation and interactive elements */
  #header,
  .btn,
  .navbar {
    display: none !important;
  }
  
  /* Optimize for print */
  body {
    font-size: 12pt;
    line-height: 1.4;
    overflow-x: hidden;
}
  
  /* Remove backgrounds and shadows */
  * {
    background: white !important;
    box-shadow: none !important;
    color: black !important;
  }
  
  /* Page breaks */
  section {
    page-break-inside: avoid;
    margin-bottom: 2rem;
  }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
  /* Increase contrast for accessibility */
  .feature-card,
  .service-card,
  .price-card,
  .team-card,
  .review-card {
    border: 2px solid #000;
  }
  
  /* Button contrast */
  .btn {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  /* Remove all animations and transitions */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover effects */
  .feature-card:hover,
  .service-card:hover,
  .price-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: none !important;
  }
} 

.hero-content {
    padding-top: 275px;
}