/* 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) {
  html {
    font-size: 15px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  h3 {
    font-size: 1.8rem;
  }
  
  .hero {
    height: auto;
    min-height: 80vh;
    padding: var(--spacing-lg) 0;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-img {
    margin-top: var(--spacing-md);
  }
  
  .about-feature,
  .services-item,
  .priceplan-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    margin-bottom: var(--spacing-md);
  }
  
  .mobile-reverse {
    flex-direction: column-reverse;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.8rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .hero {
    height: auto;
    min-height: 80vh;
    padding: var(--spacing-lg) 0;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: var(--spacing-md);
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  
  .about-feature,
  .services-item,
  .priceplan-item,
  .team-member,
  .coreinfo-item,
  .blog-item {
    margin-bottom: var(--spacing-md);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .gallery-item {
    height: 200px;
  }
  
  .footer [class*="col-"] {
    margin-bottom: var(--spacing-md);
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .section-title {
    margin-bottom: var(--spacing-sm);
  }
  
  .section-desc {
    margin-bottom: var(--spacing-md);
  }
  
  .hero {
    height: auto;
    min-height: 70vh;
    padding: var(--spacing-md) 0;
    text-align: center;
  }
  
  .hero-content {
    margin-bottom: var(--spacing-md);
  }
  
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-sm);
  }
  
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: var(--spacing-md);
  }
  
  .about-feature,
  .services-item,
  .priceplan-item,
  .team-member,
  .reviews-item,
  .coreinfo-item,
  .blog-item {
    margin-bottom: var(--spacing-md);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  
  .gallery-item {
    height: 150px;
  }
  
  .reviews-item {
    padding: var(--spacing-sm);
  }
  
  .reviews-item-text {
    padding-left: 1rem;
  }
  
  .reviews-item-text::before {
    font-size: 3rem;
    left: -0.5rem;
    top: -1.5rem;
  }
  
  .footer [class*="col-"] {
    margin-bottom: var(--spacing-md);
  }

  .footer h5 {
    margin-top: var(--spacing-sm);
  }
}

/* Navigation for mobile devices */
@media (max-width: 991.98px) {
  .header {
    padding: 1rem 0;
  }
  
  .mobile-menu-toggle {
    display: flex;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color-1);
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item {
    margin: 0 0 1.5rem 0;
    width: 100%;
  }
  
  .nav-link {
    display: block;
    padding: 0.5rem 0;
    width: 100%;
  }
  
  .mobile-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color-1);
  }
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  
  .animated {
    animation: none !important;
    transition: none !important;
  }
  
  .hero-shape,
  .about-shape,
  .features-shape,
  .reviews-shape,
  .coreinfo-shape {
    display: none;
  }
  
  .about-feature:hover,
  .services-item:hover,
  .priceplan-item:hover,
  .team-member:hover,
  .coreinfo-item:hover,
  .blog-item:hover {
    transform: none;
  }
  
  .gallery-item:hover img {
    transform: none;
  }
}

/* For very small devices */
@media (max-width: 320px) {
  html {
    font-size: 13px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .nav-menu {
    width: 250px;
    right: -250px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-item {
    height: 180px;
  }
} 