/* Responsive CSS for Notary Website Template */

/* Extra Large Devices (larger than 1200px) */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
}

/* Large Devices (less than 1200px) */
@media (max-width: 1199.98px) {
  .section {
    padding: 90px 0;
  }
  
  .hero-section {
    min-height: 600px;
  }
  
  .hero-title {
    font-size: 3.2rem;
  }
  
  .price-plan-item.featured {
    transform: scale(1.03);
  }
}

/* Medium Devices (less than 992px) */
@media (max-width: 991.98px) {
  body {
    overflow-x: hidden;
  }

  .navbar {
    position: relative;
    width: 100%;
    padding: 0.5rem 0;
  }
  
  .navbar .container-fluid {
    padding: 0;
  }
  
  .navbar-brand {
    font-size: 1rem;
    margin-left: 10px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  #navbarMain {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  #navbarMain.show {
    max-height: 300px;
    overflow-y: auto;
  }
  
  .navbar-toggler {
    border: none;
    padding: 0;
    margin-right: 10px;
    position: relative;
    z-index: 1000;
  }
  
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  .navbar-nav {
    padding: 0;
    margin: 0;
  }
  
  .navbar-nav .nav-link {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-desc {
    margin: 0 auto 2rem;
  }
  
  .hero-image-container {
    margin-top: 2rem;
  }
  
  .about-feature,
  .service-item,
  .core-info-item,
  .team-member,
  .blog-item,
  .price-plan-item {
    margin-bottom: 30px;
  }
  
  .price-plan-item.featured {
    transform: scale(1);
  }
  
  .contact-info {
    margin-top: 40px;
  }
  
  .footer {
    padding: 60px 0 30px;
  }
  
  .footer-widget {
    margin-bottom: 40px;
  }
}

/* Small Devices (less than 768px) */
@media (max-width: 767.98px) {
  .container {
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-image-container img {
    max-height: 300px !important;
  }

  .contact-form {
    padding: 30px;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
  
  .reviews-slider .swiper-slide {
    padding: 25px 20px;
  }
  
  .review-text {
    font-size: 15px;
  }
  
  .footer {
    padding: 50px 0 20px;
  }
  
  .footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
  }
}

/* Extra Small Devices (less than 576px) */
@media (max-width: 575.98px) {
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-section {
    min-height: 450px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .about-feature,
  .service-item,
  .team-member,
  .blog-item,
  .price-plan-item {
    padding: 20px;
  }
  
  .service-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
  }
  
  .form-control {
    height: 50px;
  }
  
  .contact-info {
    padding: 20px;
  }
  
  .contact-info-item {
    margin-bottom: 15px;
  }
  
  .contact-info-icon {
    font-size: 20px;
  }
  
  .footer-title {
    margin-bottom: 20px;
  }
  
  .footer-links li {
    margin-bottom: 8px;
  }
}

/* Prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay: false;
  }
} 