/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .hero-content h2 {
    font-size: 1.6rem;
  }
  
  .service-item {
    padding: 30px 20px;
  }
  
  .price-item {
    padding: 30px 20px;
  }
  
  .price-value {
    font-size: 2.5rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-content {
    padding: 120px 0;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 80px 0;
  }
  
  .about-content {
    padding: 15px 0;
    margin-top: 30px;
  }
  
  .service-item {
    margin-bottom: 30px;
  }
  
  .team-member {
    margin-bottom: 30px;
  }
  
  .coreinfo-item {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .footer-info {
    margin-bottom: 30px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  header .navbar-brand {
    font-size: 1.5rem;
  }
  
  .hero-content {
    padding: 100px 0;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content h2 {
    font-size: 1.3rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-padding {
    padding: 70px 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-content {
    padding: 0;
    margin-top: 30px;
  }
  
  .service-item, 
  .feature-item, 
  .price-item, 
  .team-member, 
  .coreinfo-item, 
  .blog-item {
    margin-bottom: 30px;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .footer-info, 
  .footer-links {
    margin-bottom: 30px;
  }
  
  .review-item {
    margin: 0 0 30px;
  }
  
  .copyright {
    text-align: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  header .navbar-brand {
    font-size: 1.4rem;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-content {
    padding: 80px 0;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content h2 {
    font-size: 1.2rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .about-content {
    padding: 0;
    margin-top: 30px;
  }
  
  .service-item, 
  .feature-item, 
  .price-item, 
  .team-member, 
  .coreinfo-item, 
  .blog-item {
    margin-bottom: 30px;
  }
  
  .price-item.featured {
    transform: scale(1);
  }
  
  .price-item.featured:hover {
    transform: translateY(-10px);
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .footer-info, 
  .footer-links {
    margin-bottom: 30px;
  }
  
  .review-item {
    margin: 0 0 30px;
  }
  
  .copyright {
    text-align: center;
  }
  
  .page-header {
    height: 250px;
  }
  
  .page-header-content {
    padding: 80px 0;
  }
  
  .page-header-content h1 {
    font-size: 2.2rem;
  }
  
  .page-header-content p {
    font-size: 1rem;
  }
  
  .add-page-section {
    padding: 60px 0;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999s;
  }
  
  .hero-bg {
    transform: scale(1) !important;
  }
}

/* For devices where hover is not available */
@media (hover: none) {
  .service-item:hover, 
  .feature-item:hover, 
  .price-item:hover, 
  .team-member:hover, 
  .coreinfo-item:hover, 
  .blog-item:hover, 
  .about-feature:hover,
  .review-item:hover,
  .add-page-item:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .price-item.featured:hover {
    transform: scale(1.05);
  }
  
  .service-item:hover:before {
    height: 0;
  }
  
  .coreinfo-item:hover:before {
    width: 3px;
  }
  
  .about-image:hover img, 
  .team-member:hover .team-image img, 
  .blog-item:hover .blog-image img {
    transform: none;
  }
  
  .feature-item:hover .feature-icon {
    background-color: var(--primary-1-light);
    color: var(--primary-1-dark);
  }
} 