/* Responsive Design Testing */

/* Mobile Devices (up to 767px) */
@media (max-width: 767px) {
  /* Header adjustments */
  .header-container {
    padding: 10px 15px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  /* Hero section adjustments */
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  /* Section adjustments */
  .section {
    padding: 50px 0;
  }
  
  .section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  /* Grid adjustments */
  .about-content, 
  .service-grid,
  .partner-container {
    flex-direction: column;
    text-align: center;
  }
  
  .about-image,
  .service-image,
  .partner-logo-large {
    margin-bottom: 30px;
  }
  
  .service-feature,
  .partner-feature {
    justify-content: center;
    text-align: left;
  }
  
  /* Form adjustments */
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  /* Footer adjustments */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Navigation menu for mobile */
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: var(--transition);
    overflow-y: auto;
    z-index: 999;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-item {
    margin: 0 0 20px 0;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background-color: transparent;
    padding: 10px 0 0;
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
}

/* Tablet Devices (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  /* Header adjustments */
  .header-container {
    padding: 15px 20px;
  }
  
  /* Hero section adjustments */
  .hero-title {
    font-size: 40px;
  }
  
  /* Section adjustments */
  .section {
    padding: 60px 0;
  }
  
  /* Grid adjustments */
  .services-grid,
  .team-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .service-grid {
    gap: 30px;
  }
  
  /* Footer adjustments */
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

/* Image Optimization */
img {
  max-width: 100%;
  height: auto;
}

/* Performance Optimizations */
.lazy-load {
  transition: opacity 0.3s;
  opacity: 0;
}

.lazy-load.loaded {
  opacity: 1;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .back-to-top,
  .btn,
  .nav-menu {
    display: none;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: none;
    color: #000;
  }
  
  .container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
  }
  
  .section {
    padding: 20px 0;
    page-break-inside: avoid;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
  
  p, li {
    page-break-inside: avoid;
  }
  
  img {
    max-width: 100% !important;
  }
}
