/* Responsive Styles */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Large Devices (Desktops) */
@media (max-width: 1199px) and (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .hero-title-1 {
    font-size: 3rem;
  }
}

/* Medium Devices (Tablets) */
@media (max-width: 991px) and (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title-1 {
    font-size: 2.8rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.3rem;
  }
  
  .section {
    padding: var(--spacing-2xl) 0;
  }
  
  .services-grid,
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .blog-card {
    max-width: 100%;
  }
}

/* Small Devices (Mobile Landscape) */
@media (max-width: 767px) and (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  
  .header-container {
    padding: var(--spacing-sm) 0;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-title-1 {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.2rem;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .services-grid,
  .features-grid,
  .pricing-grid,
  .team-grid,
  .blog-grid,
  .coreinfo-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
  
  .accordion-header {
    padding: var(--spacing-md);
  }
}

/* Extra Small Devices (Mobile Portrait) */
@media (max-width: 575px) {
  .container {
    width: 100%;
    padding: 0 var(--spacing-md);
  }
  
  .header-container {
    padding: var(--spacing-sm) 0;
  }
  
  .hero {
    min-height: 80vh;
  }
  
  .hero-content {
    padding: var(--spacing-2xl) 0;
    text-align: center;
    margin: 0 auto;
  }
  
  .hero-title-1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.1rem;
  }
  
  .hero-desc-1 {
    font-size: 1rem;
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
  
  .section-subtitle {
    font-size: 1.1rem;
  }
  
  .services-grid,
  .features-grid,
  .pricing-grid,
  .team-grid,
  .blog-grid,
  .coreinfo-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .blog-card {
    max-width: 100%;
  }
  
  .accordion-header {
    padding: var(--spacing-md);
  }
  
  .form-group {
    margin-bottom: var(--spacing-md);
  }
  
  .contact-form {
    padding: var(--spacing-lg);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 450px;
  }
  
  .hero-content {
    max-width: 100%;
    padding: var(--spacing-xl) 0;
  }
  
  .hero-title-1 {
    font-size: 2rem;
  }
  
  .hero-subtitle-1 {
    font-size: 1.1rem;
  }
  
  section {
    padding: var(--spacing-lg) 0;
  }
}

/* For High-DPI Devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Optimizations for high-resolution screens if needed */
}

/* Print Styles */
@media print {
  header, 
  footer,
  .hero::before,
  .hero::after,
  .gallery,
  iframe,
  button,
  .mobile-menu-toggle {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .container {
    max-width: 100%;
    width: 100%;
  }
  
  section {
    padding: 20pt 0;
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
  
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
  }
  
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
} 