/* Responsive Styles */

/* Large Desktop (1280px and above) */
@media screen and (max-width: 1280px) {
  :root {
    --h1: 4.2rem;
    --h2: 3.2rem;
    --h3: 2.2rem;
  }

  .hero-content h2 {
    font-size: 4.8rem;
  }

  .hero-content p {
    font-size: 2.2rem;
  }

  .video-thumbnail {
    height: 48rem;
  }
}

/* Desktop (1024px to 1279px) */
@media screen and (max-width: 1024px) {
  :root {
    --h1: 3.8rem;
    --h2: 2.8rem;
    --h3: 2rem;
    --h4: 1.8rem;
  }

  .hero-content h2 {
    font-size: 4.2rem;
  }

  .hero-content p {
    font-size: 2rem;
  }

  .about-grid,
  .partners-slider {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-height: 40rem;
    overflow: hidden;
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-logo {
    height: 8rem;
  }

  .video-thumbnail {
    height: 42rem;
  }
}

/* Tablet (768px to 1023px) */
@media screen and (max-width: 768px) {
  :root {
    --h1: 3.6rem;
    --h2: 2.6rem;
    --h3: 1.8rem;
    --body: 1.5rem;
  }

  .header-container {
    height: 7rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 7rem;
    left: 0;
    width: 100%;
    height: calc(100vh - 7rem);
    background-color: var(--white);
    transform: translateX(100%);
    transition: var(--transition-normal);
    z-index: 99;
    display: block;
  }

  .main-nav.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    height: 100%;
  }

  .nav-list a {
    font-size: 2rem;
  }

  .hero {
    height: 60vh;
  }

  .hero-content h2 {
    font-size: 3.6rem;
  }

  .hero-content p {
    font-size: 1.8rem;
  }

  .products-grid,
  .news-grid,
  .features-grid,
  .values-grid {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .timeline-container::before {
    left: 4rem;
  }

  .timeline-item {
    padding-right: 0;
    padding-left: 8rem;
  }

  .timeline-item:nth-child(even) {
    padding-left: 8rem;
  }

  .timeline-dot {
    left: 4rem;
  }

  .timeline-date {
    right: auto;
    left: 8rem;
    top: -3rem;
  }

  .timeline-item:nth-child(even) .timeline-date {
    left: 8rem;
  }

  .timeline-content {
    width: 100%;
  }

  .video-thumbnail {
    height: 36rem;
  }
}

/* Mobile (640px to 767px) */
@media screen and (max-width: 640px) {
  :root {
    --h1: 3.2rem;
    --h2: 2.4rem;
    --h3: 1.8rem;
    --h4: 1.6rem;
    --body: 1.5rem;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .hero {
    height: 50vh;
  }

  .hero-content {
    padding: var(--spacing-md);
  }

  .hero-content h2 {
    font-size: 3.2rem;
    margin-bottom: var(--spacing-sm);
  }

  .hero-content p {
    font-size: 1.6rem;
    margin-bottom: var(--spacing-md);
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    justify-content: flex-start;
  }

  .cta-content h2 {
    font-size: var(--h2);
  }

  .cta-content p {
    font-size: var(--body);
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .video-thumbnail {
    height: 28rem;
  }

  .play-btn {
    width: 6rem;
    height: 6rem;
    font-size: 2.4rem;
  }

  .member-image {
    height: 24rem;
  }
}

/* Small Mobile (480px and below) */
@media screen and (max-width: 480px) {
  :root {
    --h1: 2.8rem;
    --h2: 2.2rem;
    --h3: 1.6rem;
    --body: 1.4rem;
    --small: 1.2rem;
  }

  .container {
    padding: 0 var(--spacing-sm);
  }

  .logo h1 {
    font-size: 2.2rem;
  }

  .header-actions {
    gap: var(--spacing-xs);
  }

  .lang-toggle {
    display: none;
  }

  .hero {
    height: 40vh;
  }

  .hero-content h2 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.5rem;
  }

  .hero-controls {
    bottom: 2rem;
  }

  .page-header {
    height: 30rem;
  }

  .page-header h1 {
    font-size: var(--h1);
  }

  .search-close {
    top: 2rem;
    right: 2rem;
    font-size: 2.4rem;
  }

  .search-form input {
    font-size: 1.6rem;
  }

  .back-to-top {
    width: 4rem;
    height: 4rem;
    bottom: 2rem;
    right: 2rem;
    font-size: 2rem;
  }

  .video-thumbnail {
    height: 22rem;
  }
}