/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  html {
    font-size: 15px;
  }

  .hero-title-1 {
    font-size: 3rem;
  }

  .hero-subtitle-1 {
    font-size: 1.6rem;
  }

  .section-title h2 {
    font-size: 2.5rem;
  }
}

/* Medium devices (tablets, 768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  html {
    font-size: 14px;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .hero-section {
    height: auto;
    padding: 120px 0 80px;
  }

  .hero-title-1 {
    font-size: 2.8rem;
  }

  .hero-subtitle-1 {
    font-size: 1.5rem;
  }

  .hero-desc-1 {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2.2rem;
  }

  .about-content {
    margin-top: 2rem;
  }

  .service-item, 
  .price-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 2rem;
  }

  .contact-info {
    margin-top: 2rem;
  }
}

/* Small devices (landscape phones, 576px to 767px) */
@media (min-width: 576px) and (max-width: 767px) {
  html {
    font-size: 14px;
  }

  .section-padding {
    padding: 3rem 0;
  }

  .hero-section {
    height: auto;
    padding: 100px 0 60px;
    text-align: center;
  }

  .hero-title-1 {
    font-size: 2.5rem;
  }

  .hero-subtitle-1 {
    font-size: 1.4rem;
  }

  .hero-desc-1 {
    font-size: 1rem;
    margin: 0 auto var(--spacing-md);
  }

  .hero-btn {
    margin: 0 auto;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .about-img {
    margin-bottom: 2rem;
  }

  .service-item, 
  .price-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 2rem;
  }

  .contact-info {
    margin-top: 2rem;
  }

  .footer-widget {
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    text-align: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575px) {
  html {
    font-size: 13px;
  }

  .section-padding {
    padding: 2.5rem 0;
  }

  .hero-section {
    height: auto;
    padding: 100px 0 50px;
    text-align: center;
  }

  .hero-title-1 {
    font-size: 2.2rem;
  }

  .hero-subtitle-1 {
    font-size: 1.3rem;
  }

  .hero-desc-1 {
    font-size: 1rem;
    margin: 0 auto var(--spacing-md);
  }

  .hero-btn {
    margin: 0 auto;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1.2rem;
  }

  .about-img {
    margin-bottom: 2rem;
  }

  .service-item, 
  .price-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    margin-bottom: 2rem;
  }

  .contact-info {
    margin-top: 2rem;
  }

  .footer-widget {
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    text-align: center;
  }

  /* Adjust form elements for mobile */
  .form-control {
    height: calc(2.2rem + 2px);
    padding: 0.4rem 0.8rem;
  }

  /* Adjust buttons for mobile */
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  /* Reduce spacing between elements */
  .form-group {
    margin-bottom: 0.8rem;
  }

  /* Make the price plan cards full width */
  .price-item {
    max-width: 100%;
  }

  /* Adjust the review slider for mobile */
  .review-item {
    padding: 1.5rem;
  }

  /* Adjust team member for mobile */
  .team-content {
    padding: 1.5rem;
  }

  /* Adjust feature icon size for mobile */
  .feature-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 1.5rem;
  }

  /* Reduce heading sizes on mobile */
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.3rem;
  }
  
  h5 {
    font-size: 1.1rem;
  }
  
  h6 {
    font-size: 1rem;
  }

  /* Reduce spacing in the accordion for mobile */
  .accordion-header {
    padding: 12px 15px;
  }

  .accordion-content-inner {
    padding: 12px 15px;
  }
  
  /* Additional pages responsive fixes */
  .add-page-title {
    font-size: 1.8rem;
  }
  
  .add-page-subtitle {
    font-size: 1.2rem;
  }
  
  .add-page-element {
    padding: 1.5rem;
  }
}

/* Reduced motion preference support */
@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-title-1,
  .hero-subtitle-1,
  .hero-desc-1 {
    animation: none !important;
  }
  
  .service-item:hover,
  .price-item:hover,
  .team-member:hover,
  .coreinfo-item:hover,
  .blog-item:hover,
  .about-feature:hover,
  .add-page-element:hover {
    transform: none !important;
  }
  
  .service-item:hover .service-icon,
  .coreinfo-item:hover .coreinfo-icon,
  .feature-item:hover .feature-icon {
    transform: none !important;
  }
  
  .team-member:hover .team-img img,
  .blog-item:hover .blog-img img,
  .gallery-item:hover img,
  .about-img:hover img,
  .add-page-img:hover img {
    transform: none !important;
  }
  
  .swiper-container {
    --swiper-pagination-color: var(--primary-2);
  }
  
  .swiper-container .swiper-wrapper {
    transition-timing-function: linear !important;
  }
}

/* Mobile navigation styles */
@media (max-width: 991px) {
  .navbar-toggler {
    border: none;
    padding: 0.5rem;
    outline: none !important;
    box-shadow: none !important;
  }
  
  .navbar-toggler-icon {
    width: 1.5em;
    height: 1.5em;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--medium-gray);
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link:after {
    display: none;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    background-color: var(--light-gray);
    color: var(--primary-2);
    border-radius: 5px;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .hero-section,
  .gallery-section,
  .reviews-section,
  .blog-section,
  .contact-section {
    display: none;
  }
  
  body {
overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
} 