/* Mobile First Responsive Design */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 575.98px) {
  /* Disable 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;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  /* Hero section mobile adjustments */
  #hero {
    min-height: 70vh;
    padding: 3rem 0;
  }
  
  #hero .hero-content {
    text-align: center;
    padding-top: 125px;
}
  
  /* Section padding adjustments */
  section {
    padding: 40px 0;
  }
  
  /* Cards and components mobile spacing */
  #about .feature-card,
  #services .service-card,
  #team .team-card,
  #reviews .review-card,
  #casestudy .case-card {
    margin-bottom: 2rem;
  }
  
  /* Contact form mobile adjustments */
  #contacts .contact-form {
    padding: 2rem 1.5rem;
  }
  
  #contacts .contact-info {
    padding: 2rem 1.5rem;
    margin-top: 2rem;
  }
  
  /* Price cards mobile stacking */
  #priceplan .price-card.featured {
    transform: none;
    margin-bottom: 2rem;
  }
  
  /* Team images mobile sizing */
  #team .team-image {
    height: 200px;
  }
  
  /* Process steps mobile layout */
  #process .process-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  /* FAQ mobile spacing */
  #faq .faq-card {
    margin-bottom: 1.5rem;
  }
  
  /* Gallery mobile grid */
  #gallery .gallery-image {
    height: 200px;
    margin-bottom: 1.5rem;
  }
  
  /* Footer mobile adjustments */
  #footer {
    padding: 40px 0 20px;
  }
  
  #footer .footer-section {
    margin-bottom: 2rem;
    text-align: center;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .section-title {
    font-size: 2rem;
  }
  
  #hero {
    min-height: 80vh;
  }
  
  section {
    padding: 60px 0;
  }
  
  #contacts .contact-form,
  #contacts .contact-info {
    padding: 2.5rem;
  }
  
  #team .team-image {
    height: 220px;
  }
  
  #gallery .gallery-image {
    height: 220px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section-title {
    font-size: 2.25rem;
  }
  
  #hero {
    min-height: 90vh;
  }
  
  #team .team-image {
    height: 240px;
  }
  
  #gallery .gallery-image {
    height: 240px;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 992px) {
  /* Full desktop experience with all animations enabled */
  #hero {
    min-height: 100vh;
  }
  
  /* Enhanced hover effects for desktop */
  #about .feature-card:hover,
  #services .service-card:hover,
  #team .team-card:hover,
  #casestudy .case-card:hover {
    transform: translateY(-8px);
  }
  
  #priceplan .price-card:hover {
    transform: translateY(-5px) scale(1.02);
  }
  
  #priceplan .price-card.featured:hover {
    transform: scale(1.08);
  }
}

/* Navigation responsive behavior */
@media (max-width: 991.98px) {
  #header .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(139, 90, 150, 0.15);
  }
  
  #header .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

/* Container max-width adjustments */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Print styles */
@media print {
  * {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  #header,
  #footer {
    display: none;
  }
  
  section {
    page-break-inside: avoid;
    padding: 20px 0;
  }
  
  .container {
    width: 100% !important;
    max-width: none !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-purple: #4A148C;
    --secondary-coral: #D32F2F;
    --accent-mint: #2E7D32;
    --text-charcoal: #000000;
    --neutral-cream: #FFFFFF;
  }
  
  #header,
  #about .feature-card,
  #services .service-card,
  #team .team-card,
  #reviews .review-card,
  #casestudy .case-card,
  #contacts .contact-form {
    border: 2px solid var(--text-charcoal);
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  #hero::before {
    animation: none;
  }
}

/* Focus management for accessibility */
@media (any-hover: none) {
  /* Touch device specific styles */
  #about .feature-card:hover,
  #services .service-card:hover,
  #team .team-card:hover,
  #casestudy .case-card:hover,
  #priceplan .price-card:hover {
    transform: none;
  }
}

/* Dark mode support (if user prefers) */

/* Landscape orientation adjustments for mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  section {
    padding: 30px 0;
  }
}

/* Ultra-wide screen support */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }
  
  .section-title {
    font-size: 3rem;
  }
  
  .section-subtitle {
    font-size: 1.5rem;
  }
} 

body {
    overflow-x: hidden;
}