/* responsive.css - Responsive Adjustments for Mobile, Tablet, and Ultra-wide Screens */

/* 1. Ultra-wide & 4K Displays (1800px+) */
@media (min-width: 1800px) {
  .container {
    max-width: 1600px;
  }
}

/* 2. Large Desktops & Laptops (1280px - 1440px) */
@media (max-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

@media (max-width: 1200px) {
  .mega-menu {
    width: 700px;
    padding: 2rem;
    gap: 1.5rem;
  }

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

/* 3. Tablets & Small Laptops (820px - 1024px) */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.75rem;
  }

  .section-padding {
    padding: 5.5rem 0;
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }

  .section-padding {
    padding: 5rem 0;
  }

  /* Navigation */
  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none;
  }

  .logo-img {
    height: 54px !important;
  }

  /* Grids & Hero stacking */
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-span-4,
  .bento-span-3 {
    grid-column: span 6;
  }

  .bento-span-8 {
    grid-column: span 12;
  }

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

  /* Force inline two-column hero sections to stack on tablets */
  section > .container[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
}

/* 4. Small Tablets & Large Mobiles (576px - 768px) */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .bento-item {
    grid-column: span 12 !important;
    padding: 1.5rem;
  }

  .container {
    padding: 0 1.5rem;
  }

  .section-padding {
    padding: 4rem 0;
  }

  .site-footer {
    padding: 3.5rem 0 2rem;
  }

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

  .logo-img {
    height: 48px !important;
  }

  .chat-widget {
    width: calc(100% - 2rem);
    height: 450px;
    bottom: 1.5rem;
    right: 1rem;
    left: 1rem;
  }

  .floating-widgets {
    bottom: 1.5rem;
    right: 1rem;
  }

  .cookie-consent {
    left: 1rem;
    right: 1rem;
    bottom: 1.5rem;
    max-width: none;
  }

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

  .footer-legal-links {
    justify-content: center;
    gap: 1rem;
  }

  /* Responsive Hero Dashboard & Orbiting Badges alignment */
  .reveal-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .orbiting-badge {
    position: static !important;
    margin: 0.25rem auto !important;
    transform: none !important;
    animation: none !important;
    display: inline-flex !important;
    width: fit-content;
  }
}

/* 5. Mobile Devices (390px - 576px) */
@media (max-width: 576px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .btn {
    width: 100%;
    padding: 0.75rem 1.25rem;
  }

  .support-widget-popup {
    right: 4% !important;
    left: 4% !important;
    width: 92% !important;
    bottom: 80px !important;
  }
}

/* 6. Extra Small Mobile Devices (320px - 375px) */
@media (max-width: 375px) {
  .container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.85rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .logo-img {
    height: 42px !important;
  }

  .bento-item {
    padding: 1.25rem;
  }
}