/* 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;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
  
  h3 {
    font-size: 1.8rem;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .nav-menu {
    margin-left: auto;
  }
  
  .nav-menu li {
    margin-left: 1rem;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .about-image {
    margin-bottom: 2rem;
  }
  
  .service-card,
  .feature-item,
  .team-card,
  .price-card,
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  .hero {
    min-height: 70vh;
    text-align: center;
  }
  
  .header-content {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .nav-menu {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
    margin-left: 0;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .about-image,
  .contact-form {
    margin-bottom: 2rem;
  }
  
  .section-heading {
    margin-bottom: 2rem;
  }
  
  .service-card,
  .feature-item,
  .team-card,
  .price-card,
  .coreinfo-item {
    margin-bottom: 1.5rem;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  body {
overflow-x: hidden;
    font-size: 0.875rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }
  
  h4 {
    font-size: 1.2rem;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.875rem;
  }
  
  .hero {
    min-height: 60vh;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .header-content {
    flex-direction: column;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-light);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    flex-direction: column;
    align-items: center;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu li {
    margin: 0.5rem 0;
    margin-left: 0;
  }
  
  section {
    padding: 2.5rem 0;
  }
  
  .section-heading {
    margin-bottom: 2rem;
  }
  
  .service-card,
  .feature-item,
  .about-feature,
  .team-card,
  .price-card,
  .contact-form,
  .coreinfo-item {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
    margin: 0.5rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  .about-section,
  .features-section,
  .services-section,
  .team-section,
  .testimonials-section,
  .priceplan-section,
  .coreinfo-section,
  .contact-section,
  .faq-section,
  .blog-section,
  .gallery-section {
    text-align: center;
  }
  
  h2:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .about-feature {
    flex-direction: column;
  }
  
  .about-feature-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }
  
  .service-features,
  .price-features {
    padding-left: 1rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-contact-item {
    justify-content: center;
  }
}

/* Print Media Query */
@media print {
  header,
  footer,
  .btn,
  .mobile-menu-toggle {
    display: none;
  }
  
  body {
overflow-x: hidden;
    font-size: 12pt;
    line-height: 1.4;
    color: #000;
    background: #fff;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  a {
    text-decoration: underline;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  
  .service-card,
  .feature-item,
  .team-card,
  .price-card,
  .coreinfo-item,
  .testimonial-card {
    page-break-inside: avoid;
    border: 1px solid #ddd;
    box-shadow: none;
  }
}

/* Prefers 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;
  }
  
  .service-card:hover,
  .feature-item:hover,
  .price-card:hover,
  .blog-card:hover,
  .coreinfo-item:hover,
  .blog-link:hover:after,
  .about-image:hover img,
  .gallery-item:hover .gallery-img {
    transform: none;
  }
} 