/* ==========================================================================
   Orinexa Official Website v1.0 - Responsive Layout Breakpoints
   Adaptations for Mobile, Tablet, and Desktop Devices
   ========================================================================== */

/* Large Screens (max-width: 1200px) */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3rem;
  }

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

/* Medium Screens / Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding-top: 8rem;
    text-align: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-text-block {
    margin: 0 auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-mockup-wrapper {
    margin: 0 auto;
  }

  .floating-card-1 {
    left: 0;
  }

  .floating-card-2 {
    right: 0;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item, .timeline-item:nth-child(even) {
    width: 100%;
    padding-left: 3rem;
    padding-right: 0;
    margin-left: 0;
  }

  .timeline-dot, .timeline-item:nth-child(even) .timeline-dot {
    left: 11px;
    right: auto;
  }
}

/* Small Screens / Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .phone-frame {
    width: 220px;
    height: 400px;
  }

  .floating-ui-card {
    display: none;
  }
}

/* Extra Small Screens (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .btn {
    width: 100%;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
}
