/* Responsive CSS */

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1400px) {
  .container {
    max-width: 1140px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .coreinfo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  header {
    padding: 0.75rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 70%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    margin-right: 0;
  }
  
  .nav-item {
    margin-left: 0;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 0.5rem 0;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    margin-top: 60px;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    order: 1;
  }
  
  .about-image {
    order: 2;
    margin-top: 2rem;
  }
  
  .priceplan-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 500px;
    margin: 0 auto;
  }
  
  .price-item.featured {
    transform: scale(1);
  }
  
  .price-item.featured:hover {
    transform: translateY(-10px);
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  html {
    font-size: 14px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-btns {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .services-grid, 
  .blog-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .coreinfo-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .container {
    width: 100%;
    padding: 0 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .nav-menu {
    width: 85%;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .btn {
    width: 100%;
  }
}

/* For prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.001s !important;
  }
  
  .hero {
    height: auto;
    min-height: 80vh;
  }
  
  .shape-1, .shape-2 {
    display: none;
  }
} 