/* Mobile First Responsive Design */

/* Extra Small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Disable animations on mobile */
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  /* Typography adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  /* Hero section mobile */
  .hero-section {
    min-height: 90vh;
    padding: 2rem 0;
    text-align: center;
  }
  
  .hero-decorative {
    display: none;
  }
  
  /* Section padding */
  .section {
    padding: 3rem 0;
  }
  
  /* Cards spacing */
  .services-card,
  .team-card,
  .review-card,
  .feature-card,
  .priceplan-card,
  .casestudy-card {
    margin-bottom: 1.5rem;
  }
  
  /* Contact form */
  .contact-form {
    padding: 1.5rem;
  }
  
  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  /* Gallery adjustments */
  .gallery-item {
    height: 200px;
    margin-bottom: 1rem;
  }
  
  /* Price adjustments */
  .services-price,
  .priceplan-price {
    font-size: 1.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-section {
    min-height: 95vh;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-section {
    min-height: 100vh;
  }
  
  .services-card,
  .team-card,
  .review-card {
    margin-bottom: 2rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  /* Enable hover effects on larger screens */
  .services-card:hover,
  .team-card:hover,
  .blog-card:hover {
    transform: translateY(-5px);
  }
  
  /* Hero content layout */
  .hero-content {
    padding-right: 2rem;
    padding-top: 175px;
}
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .hero-decorative {
    width: 400px;
    height: 400px;
  }
  
  .hero-decorative::after {
    width: 250px;
    height: 250px;
  }
}

/* Extra extra large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container-xxl {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  .hero-decorative,
  .navbar,
  .footer {
    display: none !important;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
  }
  
  * {
    color: black !important;
    background: white !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .services-card,
  .team-card,
  .review-card,
  .feature-card,
  .priceplan-card,
  .casestudy-card,
  .contact-form,
  .faq-card {
    border: 2px solid var(--gray-800);
  }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 600px) {
  .hero-section {
    min-height: 100vh;
    padding: 1rem 0;
  }
} 

body {
    overflow-x: hidden;
}