/* Responsive Styles */

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .navbar-nav li {
    margin-left: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
  
  .about-feature i,
  .coreinfo-item i {
    font-size: 2rem;
  }
  
  .team-member-img {
    width: 180px;
    height: 180px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .navbar {
    padding: 0.8rem 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-toggler {
    display: block;
  }
  
  .navbar-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .navbar-nav li {
    margin: 0;
    padding: 0.5rem 1rem;
  }
  
  .navbar-nav a:after {
    display: none;
  }
  
  .hero {
    height: auto;
    padding: 6rem 0 4rem;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin: 0 auto 2rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .section-title {
    margin-bottom: 3rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .about-feature,
  .services-item,
  .features-item,
  .priceplan-item,
  .team-member,
  .coreinfo-item {
    margin-bottom: 2rem;
  }
  
  .features-item {
    flex-direction: column;
    text-align: center;
  }
  
  .features-item-icon {
    margin: 0 auto 1.5rem;
  }
  
  .team-member-img {
    width: 150px;
    height: 150px;
  }
  
  .contact-form {
    padding: 2rem;
  }
  
  footer {
    padding: 4rem 0 2rem;
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }
  
  .navbar {
    padding: 0.8rem 0;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }
  
  .navbar-toggler {
    display: block;
    font-size: 1.2rem;
  }
  
  .navbar-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 100;
  }
  
  .navbar-nav.show {
    display: flex;
  }
  
  .navbar-nav li {
    margin: 0;
    padding: 0.5rem 1rem;
  }
  
  .navbar-nav a:after {
    display: none;
  }
  
  .hero {
    height: auto;
    padding: 6rem 0 3rem;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin: 0 auto 2rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    margin-bottom: 2.5rem;
  }
  
  .section-title h2 {
    font-size: 1.5rem;
  }
  
  .section-title h2:after {
    width: 40px;
    height: 2px;
  }
  
  .section-title p {
    font-size: 0.9rem;
  }
  
  .about-feature,
  .services-item,
  .priceplan-item,
  .team-member,
  .coreinfo-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
  }
  
  .about-feature i,
  .coreinfo-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  
  .about-feature h3,
  .services-item h3,
  .priceplan-item-header h3,
  .team-member h3,
  .coreinfo-item h3 {
    font-size: 1.3rem;
  }
  
  .features-item {
    flex-direction: column;
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .features-item-icon {
    min-width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
  }
  
  .features-item-icon i {
    font-size: 1.5rem;
  }
  
  .features-item-content h3 {
    font-size: 1.3rem;
  }
  
  .services-item-header {
    flex-direction: column;
    text-align: center;
  }
  
  .services-item-price {
    margin-top: 0.5rem;
  }
  
  .priceplan-item-price {
    font-size: 2rem;
  }
  
  .team-member-img {
    width: 120px;
    height: 120px;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .form-control {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  footer {
    padding: 3rem 0 1.5rem;
  }
  
  .footer-logo {
    font-size: 1.5rem;
  }
  
  .footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    
  }
  
  .footer-column {
    margin-bottom: 2rem;
  }
  
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }
  
  /* Ensure FAQ accordion doesn't overflow on small screens */
  .accordion-header h3 {
    font-size: 1rem;
  }
  
  /* Adjust gallery grid for better mobile display */
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 10px;
  }
  
  .gallery-item {
    height: 140px;
  }
}

/* Fix for prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .about-feature:hover,
  .services-item:hover,
  .priceplan-item:hover,
  .blog-item:hover {
    transform: none !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05) !important;
  }
  
  .blog-item:hover .blog-item-img img,
  .gallery-item:hover img {
    transform: none !important;
  }
  
  .swiper-container {
    --swiper-theme-color: var(--primary-color-1) !important;
  }
} 