/* Responsive Styles */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .section-title {
    font-size: 3rem;
  }
}

/* Desktop (992px - 1199px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .section {
    padding: 4rem 0;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .navbar-nav {
  flex-direction: row;
    text-align: center;
    margin-top: 1rem;
  }
  
  .price-card.featured {
    transform: none;
    margin-top: 1rem;
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Small Tablet (576px - 767px) */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 70vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .section {
    padding: 2.5rem 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  .service-card,
  .price-card {
    margin-bottom: 1.5rem;
  }
  
  .about-feature {
    padding: 1.5rem 1rem;
  }
  
  .team-image {
    width: 120px;
    height: 120px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .gallery-item {
    height: 150px;
  }
  
  /* Disable animations on mobile */
  .service-card:hover,
  .about-feature:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .blob-1,
  .blob-2 {
    display: none;
  }
  
  /* Swiper autoplay disabled */
  .swiper-container {
    --swiper-autoplay-delay: 0;
  }
}

/* Mobile (up to 575px) */
@media (max-width: 575.98px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .section-title {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .coreinfo-item {
    padding: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .service-price,
  .price-value {
    font-size: 1.5rem;
  }
  
  .team-image {
    width: 100px;
    height: 100px;
  }
  
  .review-card {
    padding: 1.5rem;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
  }
  
  .gallery-item {
    height: 120px;
  }
  
  .footer-links a {
    display: block;
    margin: 0.5rem 0;
  }
  
  /* Form adjustments */
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  .btn-primary {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Accordion adjustments */
  .accordion-button {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  
  .accordion-body {
overflow-x: hidden;
    padding: 1rem;
    font-size: 0.9rem;
  }
}

/* Extra Small Mobile (up to 400px) */
@media (max-width: 399.98px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .coreinfo-item,
  .contact-form {
    padding: 1rem;
  }
  
  .service-image {
    width: 60px;
    height: 60px;
  }
  
  .service-image i {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
  
  .gallery-item {
    height: 100px;
  }
}

/* Landscape Mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
  .hero-section {
    min-height: 90vh;
  }
  
  .section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .contact-form,
  .btn,
  .shape-blob {
    display: none !important;
  }
  
  .section {
    padding: 1rem 0;
    page-break-inside: avoid;
  }
  
  .hero-section {
    min-height: auto;
    background: white !important;
    color: black !important;
  }
  
  .hero-title,
  .hero-subtitle,
  .hero-desc {
    color: black !important;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #000000;
    --text-secondary: #333333;
    --border-light: #000000;
  }
  
  .service-card,
  .price-card,
  .feature-item,
  .about-feature,
  .coreinfo-item,
  .blog-card {
    border: 2px solid #000000;
  }
  
  .btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #000000;
  }
  
  .form-control {
    border: 2px solid #000000;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .swiper-container {
    --swiper-autoplay-delay: 0 !important;
  }
  
  .swiper-wrapper {
    animation: none !important;
  }
  
  .shape-blob,
  .blob-1,
  .blob-2 {
    animation: none !important;
  }
  
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .price-card:hover,
  .about-feature:hover,
  .feature-item:hover,
  .coreinfo-item:hover,
  .blog-card:hover,
  .gallery-item:hover {
    transform: none;
  }
  
  .navbar-nav .nav-link:hover {
    transform: none;
  }
  
  .btn-primary:hover {
    transform: none;
  }
  
  /* Larger touch targets */
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
  }
  
  .btn {
    min-height: 44px;
    min-width: 44px;
  }
  
  .form-control {
    min-height: 44px;
  }
  
  .accordion-button {
    min-height: 44px;
  }
} 