/* Responsive CSS for Document Translation & Notarization Bar template */

/* Extra Large Devices (large desktops, 1200px and up) */
@media (max-width: 1399.98px) {
  .hero-title-1 {
    font-size: 3rem;
  }
}

/* Large Devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .hero {
    padding-top: 7rem;
  }
  
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    font-size: 1.75rem;
  }
  
  .team-member-img {
    width: 180px;
    height: 180px;
  }
}

/* Medium Devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }
  
  .hero-bg {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%);
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .hero-img {
    margin: 0 auto;
    max-width: 400px;
  }
  
  .about-feature,
  .service-card,
  .price-card {
    margin-bottom: 2rem;
  }
  
  .feature-item {
    margin-bottom: 2rem;
  }
  
  .page-header {
    height: 300px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .contact-form {
    margin-top: 2rem;
  }
  
  /* Enable swiper on smaller screens for responsive components */
  .services .row,
  .priceplan .row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: -15px;
    margin-left: -15px;
    padding-bottom: 1rem;
  }
  
  .services .row::-webkit-scrollbar,
  .priceplan .row::-webkit-scrollbar {
    display: none;
  }
  
  .services .col-lg-4,
  .priceplan .col-lg-4 {
    scroll-snap-align: start;
    flex: 0 0 85%;
    max-width: 85%;
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* Small Devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    margin-bottom: 2rem;
  }
  
  .section-description {
    margin-bottom: 2.5rem;
  }
  
  .navbar-collapse {
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
  }
  
  .hero-title-1 {
    font-size: 2rem;
  }
  
  .team-member {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .contact-info {
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .footer-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  /* Adjust gallery items for touch devices */
  .gallery-item {
    height: 200px;
  }
}

/* Extra Small Devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .section {
    padding: 2.5rem 0;
  }
  
  .hero-title-1 {
    font-size: 1.8rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1rem;
  }
  
  .hero-desc-1 {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .page-header {
    height: 250px;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 10px;
  }
  
  .gallery-item {
    height: 150px;
  }
  
  /* Adjust service cards for mobile */
  .services .col-lg-4,
  .priceplan .col-lg-4 {
    flex: 0 0 90%;
    max-width: 90%;
  }
  
  /* Ensure accordion buttons don't overflow */
  .accordion-button {
    padding: 1rem;
    font-size: 0.95rem;
  }
  
  /* Reduce shape sizes for smaller screens */
  .shape-circle {
    width: 150px;
    height: 150px;
  }
  
  .shape-blob {
    width: 200px;
    height: 200px;
  }
}

/* Apply prefers-reduced-motion at all breakpoints */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  
  .swiper-container {
    --swiper-autoplay-delay: 999999999s;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 7rem 0 3rem;
  }
  
  .hero-content {
    margin-bottom: 0;
  }
  
  .hero-img {
    max-width: 300px;
  }
  
  .section {
    padding: 2rem 0;
  }
} 