/* Responsive Styles */

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .about-container {
    gap: var(--spacing-md);
  }
  
  .services-grid,
  .priceplan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-image {
    margin-bottom: var(--spacing-md);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  /* Mobile navigation */
  .nav-toggle {
    display: block;
  }
  
  .navbar-links {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background-color: white;
    flex-direction: column;
    align-items: center;
    padding: 0;
    transition: height var(--transition-medium);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-links.active {
    height: auto;
    padding: var(--spacing-md) 0;
  }
  
  .navbar-links li {
    margin: var(--spacing-xs) 0;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  html {
    font-size: 14px;
  }
  
  .hero-content {
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .services-grid,
  .priceplan-grid,
  .features-grid,
  .coreinfo-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  /* Disable animation for smaller screens to improve performance */
  @media (prefers-reduced-motion) {
    *, ::before, ::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* Swiper adjustments */
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/* Small devices (portrait tablets and large phones, 576px and up) */
@media only screen and (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 var(--spacing-sm);
  }
  
  .section-padding {
    padding: var(--spacing-md) 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .about-title,
  .services-title,
  .features-title,
  .priceplan-title,
  .team-title,
  .reviews-title,
  .coreinfo-title,
  .contact-title {
    font-size: 1.8rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image::before {
    display: none;
  }
  
  .services-shape,
  .about-shape,
  .reviews-shape {
    display: none;
  }
  
  .contact-shape {
    display: none;
  }
}

/* Extra small devices (phones, 480px and down) */
@media only screen and (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  .hero-section {
    min-height: 500px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn {
    padding: 10px 20px;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .price-item.featured {
    transform: scale(1);
  }
  
  .price-item.featured:hover {
    transform: translateY(-10px);
  }
}

/* Prevent animations for users who prefer 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;
  }
} 