@media (max-width: 768px) {
  .footer {
    padding: 24px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
}

@media (max-width: 1023px) {

  nav {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .nav-links {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-cta {
    margin-top: 10px;
  }

  .hero-section {
    padding: 100px 20px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-section .section-title {
    font-size: 2.2rem;
  }

  .hero-section .section-subtitle {
    font-size: 1rem;
  }

  .showcase {
    margin-top: 30px;
  }

  .dest-card.active{
    align-items: center;
  }

  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .view-all-btn {
    font-size: 0.9rem;
  }

  
  .features-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .feat-col {
    width: 100%;
  }

}


@media (max-width: 1200px) {
  .features-track {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding: 16px 24px 24px;
    max-width: 100%;
    align-items: stretch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .features-track::-webkit-scrollbar {
    display: none;
  }

  
  .feat-col {
    display: contents;
  }

  
  .feat-card {
    flex-shrink: 0;
    width: 350px;
    scroll-snap-align: start;
    height: 345px;
    padding: 24px 12px;
  }

  .feat-col--left,
  .feat-col--right,
  .feat-col--mid {
    margin: 0;
  }
}

@media (min-width: 821px){
  .nav-mobile-cta {
    display: none;
  }
}

@media (max-width: 839px){
  .cta-banner { flex-direction: column; gap: 28px; padding: 40px 28px; text-align: left;}
}

@media (max-width: 820px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #0a0d14;
    border-radius: 2px;
    transition: all 0.25s ease;
    transform-origin: center;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-content {
    flex-wrap: wrap;
    position: relative;
  }

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  order: 3;
  width: calc(100% - 32px);
  margin: 0 16px;
  border: 1.5px solid transparent;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.10);

  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  pointer-events: none;
  transition:
    max-height 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.5s ease,
    margin-bottom 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.5s ease;
}

.nav-links.active {
  max-height: 400px;
  opacity: 1;
  margin-top: 20px;
  margin-bottom: 16px;
  pointer-events: auto;
  padding: 8px 0 0;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

@keyframes navDropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


  .nav-links li {
    width: 100%;
    list-style: none;
    gap: 16px;
  }

  .nav-links li a {
    gap: 16px;
    display: block;
    padding: 8px 20px;
    font-size: 0.95rem;
    color: #0a0d14;
    font-weight: 500;
    text-decoration: none;
    text-align: left;
    border-bottom: none;
  }

  .nav-links li a:hover {
    background: rgba(0,0,0,0.02);
  }

  .nav-mobile-cta {
    width: 100%;
    padding: 10px 16px 14px;
    margin-top: 4px;
  }

  .nav-mobile-cta a,
  .nav-mobile-cta a:hover,
  .nav-links li.nav-mobile-cta a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    background: #0a0d14 !important;
    color: #fff !important;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: none;
    opacity: 1;
  }

  .nav-mobile-cta a svg {
    width: 12px;
    height: 12px;
    stroke: #fff;
  }

  .nav .eroam-btn {
    display: none;
  }
}

@media (max-width: 500px){
  .dest-mini-grid {
    grid-template-columns: repeat(2, 1fr);
}
.work-body-inner{
  flex-direction: column !important;
  gap: 30px;
  align-items: center;
}
.content-side,
.phone-side {
  width: 100%;
  justify-items: center;
  }
}

@media (max-width: 767px) {

    .section {
        padding: 50px 20px;
    }
    .section-two-col .section-body {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    justify-items: center;
  }
  .work-body{
    padding: 0 40px;
  }
    .work-section .work-body-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    justify-items: center;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .showcase {
    flex-direction: column;
    align-items: center;
  }

  .carousel-wrapper {
    width: 100%;
  }

  .plans-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .plans-footer {
    text-align: center;
  }

  .view-all-btn {
    font-size: 0.85rem;
  }

  .feat-store-btns {
    flex-direction: column;
    gap: 10px;
  }

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

  .about-section { padding: 60px 24px 80px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-card-stack { height: 220px; }
  .about-card--front { height: 210px; }

  .about-stats {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .about-stat-divider {
    display: none;
  }

  .about-stat {
    flex: 0 0 calc(50% - 10px);
  }

  .contact-right {width:100%}
  .contact-form-card { padding: 22px; }
}

@media (max-width: 740px){
  .footer-info{
    width: 180px;
  }
  .section-label{
    font-size: 12px;
  }
  .section-title{
    font-size: 24px;
  }
  .section-subtitle{
    font-size: 14px;
  }
  .footer-two-brand{
    width: 180px;
  }
  .footer-two-brand img{
    width: 180px;
  }
}

@media (max-width: 480px) {
  
    .faq-question {
        padding: 20px;
        font-size: 16px;
        text-align: left;
    }
    .faq-answer {
        padding: 0 20px;
    }
}

@media (max-width: 450px) {

  body {
    text-align: center;
  }

  .dest-card.active {
    align-items: center;
    opacity: 1;
    transform: scale(1.06) translateY(-15px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.14);
  }
  .carousel-wrapper::before, .carousel-wrapper::after{
    width: 125px;
  }

  .hero,
  .plans-section,
  .features-section,
  .mars-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.9rem;
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .plans-header,
  .features-header,
  .mars-header {
    text-align: center;
  }
  .plan-card-inner{
    align-items: center;
  }
  .plan-card{
    text-align: left;
  }

  .view-all-btn {
    margin: 0 auto;
  }

  .footer-info{
    text-align: left;
  }

  .footer-two-brand{
    width: 120px;
  }
  .footer-two-brand img{
    width: 120px;
  }
}