/* Mobile First Responsive Design */

/* Base styles already mobile-optimized in main.css */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container-sm {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2.4rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container-md {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.6rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  /* Hero Section Tablet */
  #hero {
    padding: 3rem 0;
  }
  
  /* Services Grid Tablet */
  #services .service-card {
    margin-bottom: 2rem;
  }
  
  /* Team Section Tablet */
  #team .team-photo {
    width: 100px;
    height: 100px;
  }
  
  /* Gallery Tablet */
  #gallery .gallery-image {
    height: 200px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container-lg {
    max-width: 960px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2.4rem;
  }
  
  /* Hero Section Desktop */
  #hero {
    padding: 4rem 0;
  }
  
  /* Services Grid Desktop */
  #services .service-card {
    margin-bottom: 0;
  }
  
  /* Team Section Desktop */
  #team .team-photo {
    width: 120px;
    height: 120px;
  }
  
  /* Gallery Desktop */
  #gallery .gallery-image {
    height: 250px;
  }
  
  /* FAQ Desktop Layout */
  #faq .faq-card {
    margin-bottom: 1.5rem;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container-xl {
    max-width: 1140px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.6rem;
  }
  
  /* Hero Section Large Desktop */
  #hero {
    padding: 5rem 0;
  }
  
  /* Enhanced spacing for large screens */
  .section-padding {
    padding: 6rem 0;
  }
}

/* Extra extra large devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Mobile Specific Styles */
@media (max-width: 767.98px) {
  /* NO ANIMATIONS ON MOBILE - Respect user preferences */
  * {
    animation: none !important;
    transition: none !important;
  }
  
  /* Mobile Typography */
  .navbar-brand {
    font-size: 1rem !important;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  h4 {
    font-size: 1.1rem;
  }
  
  /* Mobile Hero */
  #hero {
    min-height: 80vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  #hero .container {
    padding: 0 1rem;
  }
  
  /* Mobile Sections */
  .section-padding {
    padding: 3rem 0;
  }
  
  /* Mobile Cards */
  #about .feature-card,
  #services .service-card,
  #features .feature-item,
  #priceplan .price-card,
  #team .team-card,
  #reviews .review-card,
  #casestudy .case-card,
  #career .career-card,
  #coreinfo .info-card,
  #blog .blog-card,
  #faq .faq-card {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Mobile Contact Form */
  #contact .contact-form {
    padding: 2rem 1.5rem;
  }
  
  /* Mobile Footer */
  #footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  #footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Mobile Gallery */
  #gallery .gallery-image {
    height: 180px;
  }
  
  /* Mobile Process Steps */
  #process .process-step {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  /* Mobile Timeline */
  #timeline .timeline-item {
    margin-left: 1rem;
    margin-bottom: 1.5rem;
  }
  
  #timeline .timeline-item::before {
    left: -25px;
  }
}

/* Tablet Portrait Specific */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Two column layout for tablets */
  .tablet-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  /* Tablet spacing adjustments */
  .section-padding {
    padding: 4rem 0;
  }
  
  /* Tablet cards */
  #services .service-card,
  #features .feature-item,
  #team .team-card {
    margin-bottom: 2rem;
  }
}

/* Print Styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  #header,
  #footer {
    display: none;
  }
  
  .section-padding {
    padding: 1rem 0;
  }
  
  .no-print {
    display: none !important;
  }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimize for high DPI displays */
  .service-image,
  .team-photo,
  .feature-icon {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  /* Override any transitions/animations for accessibility */
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  /* Remove hover effects for reduced motion */
  .feature-card:hover,
  .service-card:hover,
  .team-card:hover,
  .review-card:hover,
  .case-card:hover,
  .career-card:hover,
  .info-card:hover,
  .blog-card:hover,
  .faq-card:hover,
  .gallery-item:hover {
    transform: none !important;
  }
}

/* Dark Mode Support */

/* Landscape Phone Adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
    padding: 1rem 0;
  }
  
  .section-padding {
    padding: 2rem 0;
  }
}

/* Very Small Screens */
@media (max-width: 375px) {
  .container {
    padding: 0 0.75rem;
  }
  
  h1 {
    font-size: 1.6rem;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  .section-padding {
    padding: 2.5rem 0;
  }
  
  #contact .contact-form,
  #about .feature-card,
  #services .service-card,
  #team .team-card,
  #reviews .review-card,
  #faq .faq-card {
    padding: 1rem;
  }
} 

body {
    overflow-x: hidden;
}