/* ================================================================
   RESPONSIVE CSS — Web-App Quality Mobile Experience
   Breakpoints: 1200 → 991 → 768 → 480 → 380
   ================================================================ */


/* ============================================================
   1200px — Tablet Landscape / Small Desktop
   ============================================================ */

@media only screen and (max-width: 1200px) {

  /* Hide decorative SVGs on tablets and below */
  .deco-hero-route,
  .deco-feature-radar,
  .deco-timeline-map,
  .deco-dest-compass,
  .deco-blog-lines {
    display: none !important;
  }

  /* --- Header: Logo right, Hamburger center, Auth left --- */
  .header-nav {
    display: none !important;
  }
  .main-header .mobile-nav-toggler {
    display: flex !important;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .header-inner {
    padding: 0 20px;
  }
  .header-container {
    height: 56px;
    position: relative;
  }
  .boxed_wrapper {
    padding-top: 56px;
  }
  /* Show auth button on left (RTL) */
  .header-action {
    display: flex !important;
    margin-right: auto;
  }
  .btn-auth {
    padding: 5px 14px;
    font-size: 11px;
    gap: 4px;
    border-radius: 6px;
  }
  .btn-auth i {
    font-size: 12px;
  }
  .header-logo img {
    height: 36px;
  }
  /* Hamburger — clean rounded lines */
  .hamburger {
    width: 24px;
    height: 18px;
    gap: 5px;
  }
  .hamburger span {
    height: 2.5px;
    border-radius: 3px;
    background: #1f2937;
  }
  /* X animation — correct translateY for gap:5 + height:2.5 */
  .mobile-menu-visible .hamburger span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mobile-menu-visible .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-visible .hamburger span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }
}

/* ============================================================
   991px — Tablet Portrait
   ============================================================ */

@media only screen and (max-width: 991px) {

  /* --- Hero --- */
  .hero-section {
    padding: 32px 0 24px;
  }
  .hero-container {
    flex-direction: column;
    gap: 28px;
    padding: 0 16px;
    text-align: right;
  }
  .hero-content {
    order: 1;
  }
  .hero-visual {
    order: 2;
    min-height: 320px;
  }
  .hero-title {
    font-size: 28px;
  }
  .hero-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: none;
  }
  .hero-badge {
    margin-bottom: 16px;
  }
  .hero-badge span {
    font-size: 11px;
  }
  .hero-actions {
    margin-bottom: 24px;
    gap: 10px;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .hero-btn-primary {
    padding: 9px 22px;
    font-size: 13px;
    flex: 1;
    justify-content: center;
  }
  .hero-btn-outline {
    padding: 9px 18px;
    font-size: 13px;
    flex: 1;
    justify-content: center;
  }
  .hero-stats {
    gap: 16px;
    justify-content: flex-start;
  }
  .stat-item strong {
    font-size: 17px;
  }
  .stat-item span {
    font-size: 10px;
  }
  .stat-divider {
    height: 28px;
  }
  /* Visual grid — show all 3 images like desktop */
  .visual-grid {
    height: 240px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
  }
  .grid-top,
  .grid-bottom {
    display: block !important;
    border-radius: 12px;
  }
  .grid-main {
    height: auto;
    border-radius: 12px;
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .grid-top {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .grid-bottom {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  .hero-visual {
    min-height: auto;
  }
  .floating-card {
    display: none;
  }
  .floating-dot {
    display: none;
  }
  /* Keep airplane visible */
  .airplane-orbit {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* --- Feature --- */
  .feature-section-new {
    padding: 36px 0 28px;
  }
  .feature-container {
    padding: 0 16px;
  }
  .feature-header {
    margin-bottom: 28px;
  }
  .feature-title {
    font-size: 22px;
  }
  .feature-subtitle {
    font-size: 13px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .feature-card-inner {
    padding: 22px 16px 18px;
  }
  .feature-card-title {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .feature-card-desc {
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .icon-circle {
    width: 48px;
    height: 48px;
    font-size: 22px;
    border-radius: 12px;
  }
  .card-number {
    font-size: 32px;
  }
  .feature-card-link {
    font-size: 12px;
  }
  .feature-badge {
    font-size: 12px;
  }
  /* CTA */
  .feature-cta-content {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
    gap: 16px;
  }
  .feature-cta-text {
    flex-direction: column;
    gap: 12px;
  }
  .feature-cta-title {
    font-size: 16px;
  }
  .feature-cta-desc {
    font-size: 12px;
  }
  .feature-cta-actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .cta-btn-primary,
  .cta-btn-phone {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px 16px;
  }
  .cta-icon-wrap {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  /* --- About: desktop-like layout but smaller, features full-width below both cols --- */
  .about-new {
    padding: 36px 0 28px;
  }
  .about-new-container {
    padding: 0 16px;
  }
  .about-new-grid {
    display: grid !important;
    grid-template-columns: 38% 1fr;
    gap: 6px 16px;
    align-items: start;
  }
  .about-visual-col {
    grid-column: 1;
    grid-row: 1 / 6;
  }
  .about-content-col {
    display: contents;
  }
  .about-new-badge {
    grid-column: 2;
    margin-bottom: 4px;
  }
  .about-new-badge span {
    font-size: 12px;
  }
  .about-new-title {
    grid-column: 2;
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.45;
  }
  .about-new-lead {
    grid-column: 2;
    font-size: 11px;
    line-height: 1.6;
    margin-bottom: 4px;
  }
  .about-new-desc {
    grid-column: 2;
    font-size: 10px;
    line-height: 1.6;
    margin-bottom: 0;
  }
  /* Image stack - desktop-like with both images */
  .about-img-stack {
    padding-left: 16px;
    padding-bottom: 22px;
  }
  .about-img-main {
    border-radius: 14px;
  }
  .about-img-main img {
    height: 100%;
    min-height: 180px;
    max-height: 240px;
    border-radius: 14px;
    object-fit: cover;
  }
  .about-img-secondary {
    display: block !important;
    width: 110px;
    height: 90px;
    border-radius: 12px;
    border-width: 3px;
  }
  .about-exp-badge {
    padding: 6px 8px;
    gap: 4px;
    top: 12px;
    left: 0;
    border-radius: 10px;
  }
  .exp-number {
    font-size: 16px;
  }
  .exp-label {
    font-size: 8px;
  }
  .about-deco-dots {
    display: none;
  }
  /* Features: 2-col grid spanning full width below BOTH columns */
  .about-features {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 12px;
    margin-bottom: 0;
  }
  .about-feat-item {
    padding: 10px 12px;
    gap: 8px;
    border-radius: 10px;
    background: #f0fdf4;
    border: 1px solid rgba(5, 150, 105, 0.08);
  }
  .feat-icon {
    font-size: 13px;
  }
  .feat-icon i {
    color: #059669;
  }
  .feat-text strong {
    font-size: 12px;
    display: block;
    margin-bottom: 1px;
  }
  .feat-text span {
    font-size: 10px;
    color: #6b7280;
  }
  /* Hide actions on mobile */
  .about-actions {
    display: none !important;
  }

  /* --- Migration Path — Creative Zigzag Timeline --- */
  .migration-path {
    padding: 36px 0 28px;
  }
  .migration-path-container {
    padding: 0 16px;
  }
  .migration-path-title {
    font-size: 21px;
  }
  .migration-path-subtitle {
    font-size: 12px;
  }
  .migration-path-header {
    margin-bottom: 28px;
  }
  .migration-path-badge span {
    font-size: 12px;
  }
  .timeline-svg-line {
    display: none;
  }
  .timeline-wrapper {
    padding: 0;
    margin-bottom: 30px;
  }
  /* Hide desktop horizontal traveling dot on mobile */
  .timeline-wrapper::after {
    display: none;
  }
  .timeline-steps {
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
  }

  /* Vertical wavy connector line */
  .timeline-steps::before {
    content: '';
    position: absolute;
    top: 28px;
    bottom: 28px;
    right: 25px;
    width: 3px;
    background: linear-gradient(180deg, #059669 0%, #10b981 30%, #34d399 60%, #059669 100%);
    border-radius: 3px;
    z-index: 0;
    opacity: 0.3;
  }

  /* Animated glowing dot traveling down the line */
  .timeline-steps::after {
    content: '';
    position: absolute;
    top: 28px;
    right: 22px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.6), 0 0 24px rgba(16, 185, 129, 0.3);
    z-index: 3;
    animation: travelDown 4s ease-in-out infinite;
  }

  @keyframes travelDown {
    0% { top: 28px; opacity: 1; }
    90% { top: calc(100% - 28px); opacity: 1; }
    95% { opacity: 0; }
    100% { top: 28px; opacity: 0; }
  }

  .timeline-step {
    flex-direction: row;
    text-align: right;
    gap: 16px;
    padding: 16px 14px 16px 14px;
    background: transparent;
    border-radius: 0;
    border: none;
    position: relative;
    align-items: flex-start;
  }

  /* Alternating zigzag: odd steps right-aligned, even steps left-aligned */
  .timeline-step:nth-child(odd) {
    flex-direction: row;
    padding-right: 60px;
  }

  .timeline-step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: left;
    padding-right: 60px;
  }

  .timeline-step:nth-child(even) .step-content {
    text-align: left;
  }

  /* Step card styling */
  .timeline-step .step-content {
    flex: 1;
    background: #fff;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    position: relative;
  }

  .timeline-step:hover .step-content {
    border-color: rgba(5, 150, 105, 0.2);
    box-shadow: 0 4px 20px rgba(5, 150, 105, 0.08);
    transform: translateY(-2px);
  }

  /* Arrow/pointer from card to node */
  .timeline-step:nth-child(odd) .step-content::after {
    content: '';
    position: absolute;
    top: 18px;
    right: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    transform: rotate(-45deg);
    z-index: 1;
  }

  .timeline-step:nth-child(even) .step-content::after {
    content: '';
    position: absolute;
    top: 18px;
    left: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid #e5e7eb;
    border-top: 1px solid #e5e7eb;
    transform: rotate(-45deg);
    z-index: 1;
  }

  /* Node positioned on the vertical line */
  .step-node {
    margin-bottom: 0;
    flex-shrink: 0;
    position: absolute;
    right: 4px;
    top: 14px;
    z-index: 2;
  }

  .step-circle {
    width: 46px;
    height: 46px;
    border: 2.5px solid #059669;
    background: linear-gradient(135deg, #f0fdf4, #fff);
    color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.08), 0 4px 16px rgba(0,0,0,0.06);
  }

  .step-circle::before {
    inset: -6px;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(16, 185, 129, 0.05));
    opacity: 1;
  }

  .step-circle svg {
    width: 20px;
    height: 20px;
  }
  .step-pulse {
    display: none;
  }
  .step-content {
    padding: 0;
    text-align: right;
  }
  .step-number {
    font-size: 11px;
    margin-bottom: 6px;
  }
  .step-title {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .step-desc {
    font-size: 11px;
    max-width: none;
    margin: 0;
    line-height: 1.6;
  }
  .timeline-step:last-child {
    grid-column: auto;
    max-width: none;
    margin: 0;
  }

  /* Consultation form */
  .consult-inline {
    padding: 24px 16px;
    border-radius: 14px;
    margin-top: 24px;
  }
  .consult-inline-title {
    font-size: 16px;
  }
  .consult-inline-sub {
    font-size: 11px;
  }
  .cif-row {
    flex-wrap: wrap;
  }
  .cif-field {
    flex: 1 1 100%;
    min-width: 100%;
  }
  .cif-field input,
  .cif-field select {
    font-size: 13px;
    padding: 10px 14px;
  }
  .cif-submit-btn {
    font-size: 13px;
    padding: 10px 20px;
    width: 100%;
  }

  /* --- Destinations — Horizontal Scroll Carousel --- */
  .dest-section {
    padding: 36px 0 28px;
  }
  .dest-container {
    padding: 0 16px;
  }
  .dest-title {
    font-size: 21px;
  }
  .dest-subtitle {
    font-size: 12px;
  }
  .dest-header {
    margin-bottom: 20px;
  }
  .dest-badge span {
    font-size: 12px;
  }
  /* Scrollable tabs */
  .dest-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px;
    padding-bottom: 4px;
    margin-bottom: 16px;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .dest-tabs::-webkit-scrollbar {
    display: none;
  }
  .dest-tab {
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  /* Horizontal scroll grid */
  .dest-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding-bottom: 12px;
    scrollbar-width: none;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .dest-grid::-webkit-scrollbar {
    display: none;
  }
  .dest-card {
    flex: 0 0 calc(50% - 6px);
    min-width: calc(50% - 6px);
    scroll-snap-align: start;
  }
  .dest-card.dest-featured {
    grid-row: auto;
    grid-column: auto;
  }
  .dest-card-img {
    height: 130px;
  }
  .dest-card-img img {
    height: 100%;
    object-fit: cover;
  }
  .dest-card-body {
    padding: 12px;
  }
  .dest-card-name {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .dest-card-desc {
    font-size: 11px;
    line-height: 1.5;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
  }
  .dest-card-tags {
    gap: 4px;
    margin-bottom: 8px;
  }
  .dest-tag {
    font-size: 9px;
    padding: 3px 8px;
  }
  .dest-card-link {
    font-size: 11px;

  }
  .dest-card-flag {
    font-size: 22px;
  }
  .dest-popular-tag {
    font-size: 9px;
    padding: 3px 8px;
  }
  .dest-cta {
    flex-direction: column;
    gap: 10px;
    padding: 16px 0;
    text-align: center;
  }
  .dest-cta p {
    font-size: 12px;
  }
  .dest-cta-btn {
    font-size: 12px;
    padding: 9px 20px;
  }

  /* --- Blog --- */
  .blog-new {
    padding: 36px 0 28px;
  }
  .blog-new-container {
    padding: 0 16px;
  }
  .blog-new-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .blog-new-title {
    font-size: 21px;
  }
  .blog-new-subtitle {
    font-size: 12px;
  }
  .blog-new-badge span {
    font-size: 12px;
  }
  .blog-new-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  /* Featured post compact — square image */
  .blog-post-featured .blog-post-img {
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 180px;
  }
  .blog-post-featured .blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .blog-post-featured .blog-post-body {
    padding: 14px;
  }
  .blog-post-featured .blog-post-title {
    font-size: 15px;
  }
  .blog-post-featured .blog-post-excerpt {
    font-size: 12px;
    line-height: 1.6;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-post-category {
    font-size: 10px;
    padding: 4px 10px;
  }
  .blog-meta-item {
    font-size: 11px;
  }
  .blog-post-link {
    font-size: 12px;
  }
  /* Row posts — square images */
  .blog-posts-stack {
    gap: 10px;
  }
  .blog-post-row {
    flex-direction: row;
    border-radius: 10px;
  }
  .blog-post-row .blog-post-img {
    width: 85px;
    height: 85px;
    min-height: unset;
    aspect-ratio: 1 / 1;
    border-radius: 10px 0 0 10px;
    flex-shrink: 0;
  }
  .blog-post-row .blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .blog-post-row .blog-post-body {
    padding: 8px 12px;
  }
  .blog-post-row .blog-post-title {
    font-size: 12px;
    line-height: 1.5;
  }
  .blog-post-row .blog-post-meta {
    margin-bottom: 3px;
  }
  .blog-post-row .blog-meta-item {
    font-size: 10px;
  }
  .blog-post-row .blog-post-link {
    font-size: 11px;
  }
  .blog-new-all-btn {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    margin-top: 16px;
  }

  /* --- Footer --- */
  .footer-cta-bar {
    padding: 0 16px;
  }
  .footer-cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 28px 0;
    gap: 16px;
  }
  .footer-cta-text h3 {
    font-size: 16px;
    text-align: center;
  }
  .footer-cta-text p {
    font-size: 12px;
  }
  .footer-cta-actions {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .footer-cta-btn,
  .footer-cta-phone {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 10px 16px;
  }
  .footer-main {
    padding: 0 16px;
  }
  .footer-main-inner {
    padding: 32px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-logo img {
    height: 32px;
  }
  .footer-about {
    font-size: 12px;
    line-height: 1.7;
  }
  .footer-col-title {
    font-size: 14px;
    margin-bottom: 8px;
  }
  .footer-links li {
    margin-bottom: 1px;
  }
  .footer-links li a {
    font-size: 12px;
    padding: 2px 0;
  }
  .footer-contact-item {
    font-size: 12px;
    gap: 8px;
  }
  .footer-contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .footer-socials a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .footer-bottom-new {
    padding: 0 16px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 12px 0;
  }
  .footer-bottom-new p {
    font-size: 11px;
  }
  .footer-bottom-links a {
    font-size: 11px;
  }

  /* --- Legacy pages --- */
  .main-menu,
  .sticky-header,
  .main-header.style-one .outer-container:before {
    display: none !important;
  }
  .menu-area .mobile-nav-toggler {
    display: block;
  }
  .feature-block-one .inner-box,
  .service-block-one .inner-box,
  .country-block-one .inner-box,
  .news-block-one .inner-box,
  .service-block-two .inner-box,
  .processing-block-one .inner-box,
  .team-block-one .inner-box {
    margin-bottom: 20px;
  }
  .processing-block-one .inner-box .arrow {
    display: none;
  }
  .footer-widget {
    margin: 0 0 20px 0 !important;
  }
  .sec-title h2 {
    font-size: 24px;
    line-height: 34px;
  }
  .sec-title h2 br {
    display: none;
  }
  .country-section .inner-content,
  .content_block_3 .content-box,
  .content_block_2 .content-box,
  .content_block_1 .content-box,
  .chooseus-section .content-box {
    margin-left: 0;
    margin-right: 0;
  }
  .chooseus-section .image-box {
    margin-bottom: 20px;
    margin-right: 0;
  }
  .chooseus-section .image-box .image img {
    max-width: 100%;
    width: 100%;
    border-radius: 10px;
  }
  .blog-sidebar {
    margin-top: 30px;
  }
  .contact-section .content-box {
    margin-bottom: 30px;
  }
  .page-title .content-box {
    padding: 60px 0 80px;
  }

  /* Scroll-to-top */
  .scroll-top {
    width: 36px;
    height: 36px;
    font-size: 14px;
    bottom: 16px;
    left: 16px;
  }
}


/* ============================================================
   768px — Mobile Large
   ============================================================ */

@media only screen and (max-width: 768px) {

  /* --- Header — Ultra compact app bar --- */
  .header-inner {
    padding: 0 12px;
  }
  .header-container {
    height: 48px;
  }
  .boxed_wrapper {
    padding-top: 48px;
  }
  .header-logo img {
    height: 30px;
  }
  .btn-auth {
    padding: 4px 10px;
    font-size: 10px;
    gap: 3px;
    border-radius: 5px;
  }
  .btn-auth span {
    display: none;
  }
  .btn-auth i {
    font-size: 14px;
  }
  /* Mobile menu — Modern clean style: Top-down fullscreen dropdown */

  /* Override global.css sidebar behavior completely */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100vh !important;
    padding-right: 0 !important;
    opacity: 0;
    visibility: hidden;
    z-index: 999999;
    pointer-events: none;
    transition: opacity 0s 0.6s, visibility 0s 0.6s;
  }
  .mobile-menu-visible .mobile-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0s 0s, visibility 0s 0s;
  }

  /* Backdrop — smooth dark overlay */
  .mobile-menu .menu-backdrop {
    position: fixed !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 1;
  }
  .mobile-menu-visible .mobile-menu .menu-backdrop {
    opacity: 1 !important;
    visibility: visible !important;
    right: auto !important;
  }

  /* Override menu-box from global.css completely */
  .mobile-menu .menu-box {
    display: none !important;
  }

  /* Menu inner — drops down from top */
  .mobile-menu-inner {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 85vh;
    background: #fff;
    border-radius: 0 0 24px 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 8px 24px rgba(0, 0, 0, 0.08);
    z-index: 10;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    transform: translateY(-105%) !important;
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease !important;
  }
  .mobile-menu-visible .mobile-menu-inner {
    transform: translateY(0) !important;
    opacity: 1;
  }

  /* Menu header */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .mobile-logo img {
    height: 30px;
  }

  /* Close button — minimal circle */
  .mobile-menu .close-btn {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    font-size: 14px;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  .mobile-menu .close-btn:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
  }

  /* Navigation links — staggered entrance */
  .mobile-nav {
    padding: 8px 0;
  }
  .mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-nav-links li {
    opacity: 0;
    transform: translateY(-16px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .mobile-menu-visible .mobile-nav-links li {
    opacity: 1;
    transform: translateY(0);
  }
  .mobile-menu-visible .mobile-nav-links li:nth-child(1) { transition-delay: 0.12s; }
  .mobile-menu-visible .mobile-nav-links li:nth-child(2) { transition-delay: 0.18s; }
  .mobile-menu-visible .mobile-nav-links li:nth-child(3) { transition-delay: 0.24s; }
  .mobile-menu-visible .mobile-nav-links li:nth-child(4) { transition-delay: 0.30s; }
  .mobile-menu-visible .mobile-nav-links li:nth-child(5) { transition-delay: 0.36s; }
  .mobile-menu-visible .mobile-nav-links li:nth-child(6) { transition-delay: 0.42s; }

  .mobile-nav-links li a {
    display: flex;
    align-items: center;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    text-decoration: none;
    border-right: 3px solid transparent;
    position: relative;
    transition: all 0.25s ease;
  }
  .mobile-nav-links li a::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.25s ease;
  }
  .mobile-nav-links li a:hover,
  .mobile-nav-links li.current a {
    color: #059669;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.04));
    border-right-color: #059669;
  }
  .mobile-nav-links li a:hover::before,
  .mobile-nav-links li.current a::before {
    background: #059669;
    box-shadow: 0 0 8px rgba(5, 150, 105, 0.4);
  }

  /* Separator line between nav and footer */
  .mobile-nav-links::after {
    content: '';
    display: block;
    height: 1px;
    margin: 4px 24px 0;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
  }

  /* Footer section */
  .mobile-menu-footer {
    padding: 16px 24px 20px;
    border-top: none;
    background: transparent;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.35s ease 0.4s, transform 0.35s ease 0.4s;
  }
  .mobile-menu-visible .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
  }
  .btn-auth-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 12px;
    background: linear-gradient(135deg, #059669, #10b981);
    color: #fff !important;
    border: none;
    text-decoration: none;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.25);
    transition: all 0.3s ease;
  }
  .btn-auth-mobile:hover {
    background: linear-gradient(135deg, #047857, #059669);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
    color: #fff;
  }
  .mobile-contact {
    display: flex;
    gap: 16px;
    justify-content: center;
  }
  .mobile-contact p {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
  }
  .mobile-contact p i {
    color: #059669;
    font-size: 11px;
  }
  .mobile-contact a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  .mobile-contact a:hover {
    color: #059669;
  }
  .hamburger {
    width: 22px;
    height: 16px;
    gap: 4px;
  }
  .hamburger span {
    height: 2.5px;
    border-radius: 3px;
  }
  /* X animation — correct translateY for gap:4 + height:2.5 */
  .mobile-menu-visible .hamburger span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }
  .mobile-menu-visible .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-visible .hamburger span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  /* --- Hero — Compact mobile hero --- */
  .hero-section {
    padding: 24px 0 20px;
  }
  .hero-container {
    padding: 0 14px;
    gap: 20px;
  }
  .hero-title {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .hero-title br {
    display: none;
  }
  .hero-desc {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 18px;
  }
  .hero-badge {
    margin-bottom: 12px;
    padding: 4px 12px 4px 6px;
  }
  .badge-dot {
    width: 6px;
    height: 6px;
  }
  .hero-badge span {
    font-size: 10px;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    margin-bottom: 20px;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    flex: 1;
    justify-content: center;
    padding: 10px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .hero-stats {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px 0;
    background: rgba(5,150,105,0.03);
    border-radius: 10px;
  }
  .stat-item strong {
    font-size: 16px;
  }
  .stat-item span {
    font-size: 9px;
  }
  .stat-divider {
    height: 24px;
  }
  /* Visual: all 3 images with airplane */
  .visual-grid {
    height: 200px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 6px;
  }
  .grid-main {
    height: auto;
    border-radius: 10px;
    grid-row: 1 / 3;
    grid-column: 2 / 3;
  }
  .grid-top,
  .grid-bottom {
    display: block !important;
    border-radius: 10px;
  }
  .grid-top {
    grid-row: 1 / 2;
    grid-column: 1 / 2;
  }
  .grid-bottom {
    grid-row: 2 / 3;
    grid-column: 1 / 2;
  }
  .hero-visual {
    min-height: auto;
  }
  .floating-dot {
    display: none;
  }
  .airplane-orbit {
    display: block;
    width: 100%;
    height: 100%;
  }

  /* --- Feature CARDS: 2-column compact --- */
  .feature-section-new {
    padding: 28px 0 22px;
  }
  .feature-container {
    padding: 0 12px;
  }
  .feature-header {
    margin-bottom: 20px;
  }
  .feature-title {
    font-size: 19px;
  }
  .feature-subtitle {
    font-size: 12px;
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .feature-card-inner {
    padding: 16px 12px 14px;
    border-radius: 10px;
  }
  .feature-card-icon {
    margin-bottom: 10px;
  }
  .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 10px;
  }
  .icon-circle::after {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .card-number {
    font-size: 28px;
    top: -2px;
  }
  .feature-card-title {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .feature-card-desc {
    font-size: 11px;
    line-height: 1.5;
    margin-bottom: 10px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .feature-card-link {
    font-size: 11px;
    padding-top: 8px;
  }

  /* CTA banner */
  .feature-cta {
    margin-top: 16px;
  }
  .feature-cta-content {
    padding: 20px 14px;
    border-radius: 12px;
  }
  .cta-icon-wrap {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
  .feature-cta-title {
    font-size: 14px;
    text-align: right;
  }
  .feature-cta-desc {
    font-size: 11px;
  }

  /* --- About compact --- */
  .about-new {
    padding: 24px 0 18px;
  }
  .about-new-container {
    padding: 0 12px;
  }
  .about-new-grid {
    gap: 4px 14px;
  }
  .about-new-title {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .about-new-lead {
    font-size: 11px;
  }
  .about-new-desc {
    font-size: 10px;
  }
  .about-img-stack {
    padding-left: 12px;
    padding-bottom: 18px;
  }
  .about-img-main img {
    max-height: 200px;
    min-height: 160px;
    border-radius: 12px;
  }
  .about-img-main {
    border-radius: 12px;
  }
  .about-img-secondary {
    width: 95px;
    height: 75px;
    border-radius: 10px;
    border-width: 2px;
  }
  .about-exp-badge {
    padding: 5px 7px;
    top: 8px;
    border-radius: 8px;
  }
  .exp-number {
    font-size: 14px;
  }
  .exp-label {
    font-size: 7px;
  }
  .about-features {
    gap: 6px;
    margin-top: 10px;
  }
  .about-feat-item {
    padding: 8px 10px;
    border-radius: 8px;
    gap: 6px;
  }
  .feat-text strong {
    font-size: 11px;
  }
  .feat-text span {
    font-size: 9px;
  }
  .feat-icon {
    font-size: 11px;
  }

  /* --- Migration Path compact --- */
  .migration-path {
    padding: 24px 0 18px;
  }
  .migration-path-container {
    padding: 0 12px;
  }
  .migration-path-title {
    font-size: 19px;
  }
  .migration-path-subtitle {
    font-size: 11px;
  }
  .migration-path-header {
    margin-bottom: 18px;
  }
  .timeline-steps::before {
    right: 22px;
    width: 2px;
  }
  .timeline-steps::after {
    right: 19px;
    width: 8px;
    height: 8px;
  }
  .step-node {
    right: 2px;
    top: 12px;
  }
  .step-circle {
    width: 42px;
    height: 42px;
    border-width: 2px;
  }
  .step-circle svg {
    width: 18px;
    height: 18px;
  }
  .timeline-step {
    padding: 12px 12px 12px 12px;
  }
  .timeline-step:nth-child(odd) {
    padding-right: 55px;
  }
  .timeline-step:nth-child(even) {
    padding-right: 55px;
  }
  .timeline-step .step-content {
    padding: 12px 14px;
    border-radius: 10px;
  }
  .step-title {
    font-size: 13px;
  }
  .step-desc {
    font-size: 10px;
  }
  .step-number {
    font-size: 10px;
  }
  .consult-inline {
    padding: 20px 14px;
    border-radius: 12px;
    margin-top: 20px;
  }
  .consult-inline-title {
    font-size: 15px;
  }
  .consult-inline-sub {
    font-size: 10px;
  }
  .consult-inline-header {
    margin-bottom: 16px;
  }

  /* --- Destinations horizontal scroll --- */
  .dest-section {
    padding: 28px 0 22px;
  }
  .dest-container {
    padding: 0 12px;
  }
  .dest-title {
    font-size: 19px;
  }
  .dest-subtitle {
    font-size: 11px;
  }
  .dest-card {
    flex: 0 0 calc(50% - 6px);
    min-width: calc(50% - 6px);
  }
  .dest-card-img {
    height: 110px;
  }
  .dest-card-body {
    padding: 10px;
  }
  .dest-card-name {
    font-size: 13px;
  }
  .dest-card-desc {
    font-size: 10px;
  }
  .dest-tag {
    font-size: 8px;
    padding: 2px 6px;
  }
  .dest-card-link {
    font-size: 10px;
  }
  .dest-grid {
    margin: 0 -12px;
    padding-left: 12px;
    padding-right: 12px;
  }

  /* --- Blog compact --- */
  .blog-new {
    padding: 28px 0 22px;
  }
  .blog-new-container {
    padding: 0 12px;
  }
  .blog-new-title {
    font-size: 19px;
  }
  .blog-new-subtitle {
    font-size: 11px;
  }
  .blog-post-featured .blog-post-img {
    max-height: 160px;
  }
  .blog-post-featured .blog-post-title {
    font-size: 14px;
  }
  .blog-post-featured .blog-post-body {
    padding: 12px;
  }
  .blog-post-featured .blog-post-excerpt {
    font-size: 11px;
  }
  .blog-post-row .blog-post-img {
    width: 75px;
    height: 75px;
  }
  .blog-post-row .blog-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* --- Footer compact --- */
  .footer-cta-bar {
    padding: 0 12px;
  }
  .footer-cta-text h3 {
    font-size: 15px;
  }
  .footer-cta-text p {
    font-size: 11px;
  }
  .footer-cta-inner {
    padding: 22px 0;
  }
  .footer-main {
    padding: 0 12px;
  }
  .footer-main-inner {
    padding: 28px 0 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-col-title {
    font-size: 13px;
    margin-bottom: 6px;
  }
  .footer-links li {
    margin-bottom: 0;
  }
  .footer-links li a {
    font-size: 11px;
    padding: 1px 0;
  }
  .footer-col:last-child {
    grid-column: 1 / -1;
  }
  .footer-bottom-new {
    padding: 0 12px;
  }
  .footer-bottom-inner {
    padding: 10px 0;
  }

  /* --- Legacy pages compact --- */
  .sec-title h2 {
    font-size: 22px;
    line-height: 32px;
  }
  .page-title .content-box {
    padding: 40px 0 60px;
  }
  .banner-carousel .content-box h1 {
    font-size: 28px;
    line-height: 38px;
  }
  .banner-carousel .content-box h1 br {
    display: none;
  }
  .cta-section .inner-container h2 {
    font-size: 22px;
    line-height: 32px;
  }
  .image_block_1 .image-box .image-2 {
    position: relative;
    right: 0;
    bottom: 0;
    margin-top: 16px;
  }
  .image_block_1 .image-box {
    padding-left: 0;
  }
  .blog-details-content .author-box {
    padding: 20px;
  }
  .blog-details-content .author-box .image-box {
    position: relative;
    left: 0;
    top: 0;
    margin-bottom: 12px;
  }
  .blog-details-content .comment-box .comment {
    padding-left: 0;
  }
  .blog-details-content .comment-box .comment .thumb-box {
    position: relative;
    top: 0;
    margin-bottom: 10px;
  }
  .about-style-two .image-box {
    margin-bottom: 20px;
    margin-right: 0;
  }
  .about-style-two .image-box .image-2 {
    position: relative;
    margin-top: 16px;
    left: 0;
  }
  .list-style-one li {
    float: none;
    display: block;
    width: 100%;
  }
  .team-details,
  .coaching-details,
  .sidebar-page-container,
  .contact-section {
    padding: 50px 0;
  }
}


/* ============================================================
   480px — Mobile Small (Primary mobile breakpoint)
   ============================================================ */

@media only screen and (max-width: 480px) {

  /* --- Header — Minimal app bar --- */
  .header-container {
    height: 44px;
  }
  .boxed_wrapper {
    padding-top: 44px;
  }
  .header-logo img {
    height: 26px;
  }
  /* Mobile menu adjustments for smaller screens */
  .mobile-menu-inner {
    border-radius: 0 0 20px 20px;
  }
  .mobile-menu-header {
    padding: 14px 18px;
  }
  .mobile-nav-links li a {
    padding: 12px 18px;
    font-size: 14px;
  }
  .mobile-menu-footer {
    padding: 14px 18px 18px;
  }
  .hamburger {
    width: 20px;
    height: 14px;
    gap: 3.5px;
  }
  .hamburger span {
    height: 2px;
    border-radius: 2px;
  }
  /* X animation — correct translateY for gap:3.5 + height:2 */
  .mobile-menu-visible .hamburger span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg);
  }
  .mobile-menu-visible .hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-visible .hamburger span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg);
  }

  /* --- Hero: Super compact --- */
  .hero-section {
    padding: 16px 0 14px;
  }
  .hero-container {
    padding: 0 12px;
    gap: 16px;
  }
  .hero-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .hero-desc {
    font-size: 11px;
    margin-bottom: 14px;
  }
  .hero-badge {
    margin-bottom: 10px;
    padding: 3px 10px 3px 5px;
  }
  .hero-badge span {
    font-size: 9px;
  }
  .badge-dot {
    width: 5px;
    height: 5px;
  }
  .hero-actions {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 14px;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 11px;
    white-space: nowrap;
  }
  .hero-stats {
    gap: 10px;
    padding: 10px 8px;
  }
  .stat-item strong {
    font-size: 14px;
  }
  .stat-item span {
    font-size: 8px;
  }
  .stat-divider {
    height: 20px;
  }
  .visual-grid {
    height: 160px;
    gap: 5px;
  }
  .grid-main {
    height: auto;
    border-radius: 8px;
  }
  .grid-top,
  .grid-bottom {
    border-radius: 8px;
  }

  /* --- Features: 2col ultra-compact --- */
  .feature-section-new {
    padding: 22px 0 18px;
  }
  .feature-container {
    padding: 0 10px;
  }
  .feature-header {
    margin-bottom: 16px;
  }
  .feature-title {
    font-size: 17px;
  }
  .feature-subtitle {
    font-size: 11px;
  }
  .feature-badge {
    font-size: 10px;
  }
  .feature-grid {
    gap: 8px;
  }
  .feature-card-inner {
    padding: 14px 10px 12px;
    border-radius: 8px;
  }
  .feature-card-icon {
    margin-bottom: 8px;
  }
  .icon-circle {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-radius: 8px;
  }
  .card-number {
    font-size: 24px;
  }
  .feature-card-title {
    font-size: 12px;
  }
  .feature-card-desc {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .feature-card-link {
    font-size: 10px;
  }
  .feature-cta-content {
    padding: 16px 12px;
    border-radius: 10px;
  }
  .feature-cta-title {
    font-size: 13px;
  }
  .feature-cta-desc {
    font-size: 10px;
  }
  .cta-icon-wrap {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  .cta-btn-primary,
  .cta-btn-phone {
    font-size: 12px;
    padding: 8px 14px;
  }

  /* --- About ultra-compact --- */
  .about-new {
    padding: 18px 0 14px;
  }
  .about-new-container {
    padding: 0 10px;
  }
  .about-new-grid {
    grid-template-columns: 35% 1fr;
    gap: 4px 10px;
  }
  .about-new-title {
    font-size: 14px;
    margin-bottom: 4px;
  }
  .about-new-badge {
    margin-bottom: 4px;
  }
  .about-new-badge span {
    font-size: 10px;
  }
  .about-new-lead {
    font-size: 10px;
  }
  .about-new-desc {
    font-size: 9px;
  }
  .about-img-stack {
    padding-left: 10px;
    padding-bottom: 16px;
  }
  .about-img-main img {
    max-height: 170px;
    min-height: 130px;
    border-radius: 10px;
  }
  .about-img-main {
    border-radius: 10px;
  }
  .about-img-secondary {
    width: 80px;
    height: 65px;
    border-radius: 8px;
    border-width: 2px;
  }
  .about-exp-badge {
    padding: 4px 6px;
    gap: 3px;
    top: 6px;
    border-radius: 7px;
  }
  .exp-number {
    font-size: 12px;
  }
  .exp-label {
    font-size: 6px;
  }
  .about-features {
    gap: 5px;
    margin-top: 8px;
  }
  .about-feat-item {
    padding: 6px 8px;
    border-radius: 7px;
    gap: 5px;
  }
  .feat-text strong {
    font-size: 10px;
  }
  .feat-text span {
    font-size: 8px;
  }
  .feat-icon {
    font-size: 10px;
  }

  /* --- Migration path compact --- */
  .migration-path {
    padding: 18px 0 14px;
  }
  .migration-path-container {
    padding: 0 10px;
  }
  .migration-path-title {
    font-size: 17px;
  }
  .migration-path-subtitle {
    font-size: 10px;
  }
  .migration-path-header {
    margin-bottom: 14px;
  }
  .timeline-steps::before {
    right: 20px;
    width: 2px;
  }
  .timeline-steps::after {
    right: 17px;
    width: 7px;
    height: 7px;
  }
  .step-node {
    right: 1px;
    top: 10px;
  }
  .step-circle {
    width: 38px;
    height: 38px;
    border-width: 2px;
  }
  .step-circle svg {
    width: 16px;
    height: 16px;
  }
  .timeline-step {
    padding: 10px 10px;
  }
  .timeline-step:nth-child(odd) {
    padding-right: 50px;
  }
  .timeline-step:nth-child(even) {
    padding-right: 50px;
  }
  .timeline-step .step-content {
    padding: 10px 12px;
    border-radius: 8px;
  }
  .step-title {
    font-size: 12px;
  }
  .step-desc {
    font-size: 9px;
  }
  .step-number {
    font-size: 9px;
  }
  .consult-inline {
    padding: 16px 12px;
    border-radius: 10px;
    margin-top: 16px;
  }
  .consult-inline-title {
    font-size: 13px;
  }
  .consult-inline-sub {
    font-size: 9px;
  }
  .cif-field input,
  .cif-field select {
    font-size: 12px;
    padding: 8px 12px;
  }
  .cif-submit-btn {
    font-size: 12px;
    padding: 9px 16px;
  }

  /* --- Destinations: full-width cards in scroll --- */
  .dest-section {
    padding: 22px 0 18px;
  }
  .dest-container {
    padding: 0 10px;
  }
  .dest-title {
    font-size: 17px;
  }
  .dest-card {
    flex: 0 0 calc(50% - 6px);
    min-width: calc(50% - 6px);
  }
  .dest-card-img {
    height: 100px;
  }
  .dest-card-body {
    padding: 8px;
  }
  .dest-card-name {
    font-size: 12px;
  }
  .dest-card-desc {
    font-size: 9px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .dest-tag {
    font-size: 7px;
    padding: 2px 5px;
  }
  .dest-card-link {
    font-size: 9px;
    display: flex;
  }
  .dest-card-flag {
    font-size: 18px;
  }
  .dest-grid {
    margin: 0 -10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  /* --- Blog compact --- */
  .blog-new {
    padding: 22px 0 18px;
  }
  .blog-new-container {
    padding: 0 10px;
  }
  .blog-new-title {
    font-size: 17px;
  }
  .blog-new-grid {
    gap: 12px;
  }
  .blog-post-featured .blog-post-img {
    max-height: 130px;
  }
  .blog-post-featured .blog-post-title {
    font-size: 13px;
  }
  .blog-post-featured .blog-post-body {
    padding: 10px;
  }
  .blog-post-featured .blog-post-excerpt {
    font-size: 10px;
  }
  .blog-post-category {
    font-size: 9px;
    padding: 3px 8px;
  }
  .blog-posts-stack {
    gap: 8px;
  }
  .blog-post-row .blog-post-img {
    width: 70px;
    height: 70px;
    min-height: unset;
  }
  .blog-post-row .blog-post-body {
    padding: 6px 8px;
  }
  .blog-post-row .blog-post-title {
    font-size: 11px;
  }
  .blog-post-row .blog-meta-item {
    font-size: 9px;
  }
  .blog-post-row .blog-post-link {
    font-size: 10px;
  }

  /* --- Footer minimal --- */
  .footer-cta-bar {
    padding: 0 10px;
  }
  .footer-cta-text h3 {
    font-size: 14px;
  }
  .footer-cta-text p {
    font-size: 10px;
  }
  .footer-cta-inner {
    padding: 18px 0;
  }
  .footer-cta-btn,
  .footer-cta-phone {
    font-size: 12px;
    padding: 8px 14px;
  }
  .footer-main {
    padding: 0 10px;
  }
  .footer-main-inner {
    padding: 24px 0 16px;
  }
  .footer-grid {
    gap: 14px 10px;
  }
  .footer-about {
    font-size: 11px;
  }
  .footer-col-title {
    font-size: 12px;
    margin-bottom: 5px;
  }
  .footer-links li {
    margin-bottom: 0;
  }
  .footer-links li a {
    font-size: 10px;
    padding: 1px 0;
  }
  .footer-contact-item {
    font-size: 10px;
  }
  .footer-socials a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  .footer-bottom-new {
    padding: 0 10px;
  }
  .footer-bottom-new p,
  .footer-bottom-links a {
    font-size: 10px;
  }
}


/* ============================================================
   380px — Ultra small mobile (iPhone SE, etc)
   ============================================================ */

@media only screen and (max-width: 380px) {

  .header-container {
    height: 42px;
  }
  .boxed_wrapper {
    padding-top: 42px;
  }
  .header-logo img {
    height: 24px;
  }
  /* Mobile menu — ultra compact */
  .mobile-menu-inner {
    border-radius: 0 0 18px 18px;
  }
  .mobile-menu-header {
    padding: 12px 16px;
  }
  .mobile-logo img {
    height: 24px;
  }
  .mobile-menu .close-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
  .mobile-nav-links li a {
    padding: 11px 16px;
    font-size: 13px;
  }
  .mobile-menu-footer {
    padding: 12px 16px 16px;
  }
  .btn-auth-mobile {
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 10px;
  }
  .mobile-contact {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  .mobile-contact p {
    font-size: 11px;
  }

  .hero-title {
    font-size: 18px;
  }
  .hero-desc {
    font-size: 10px;
  }
  .hero-badge span {
    font-size: 8px;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    padding: 7px 14px;
    font-size: 11px;
  }
  .stat-item strong {
    font-size: 13px;
  }
  .stat-item span {
    font-size: 7px;
  }
  .visual-grid {
    height: 130px;
    gap: 4px;
  }
  .grid-main,
  .grid-top,
  .grid-bottom {
    border-radius: 8px;
  }

  .feature-title {
    font-size: 16px;
  }
  .feature-card-inner {
    padding: 12px 8px 10px;
  }
  .icon-circle {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
  .card-number {
    font-size: 20px;
  }
  .feature-card-title {
    font-size: 11px;
  }
  .feature-card-desc {
    font-size: 9px;
  }

  .about-new-grid {
    grid-template-columns: 32% 1fr;
    gap: 3px 8px;
  }
  .about-new-title {
    font-size: 13px;
  }
  .about-img-stack {
    padding-left: 8px;
    padding-bottom: 14px;
  }
  .about-img-main img {
    max-height: 140px;
    min-height: 100px;
  }
  .about-img-secondary {
    width: 65px;
    height: 52px;
    border-radius: 6px;
    border-width: 2px;
  }
  .about-exp-badge {
    padding: 3px 5px;
    gap: 2px;
    top: 4px;
    border-radius: 6px;
  }
  .exp-number {
    font-size: 10px;
  }
  .exp-label {
    font-size: 5px;
  }
  .about-feat-item {
    padding: 5px 6px;
  }
  .feat-text strong {
    font-size: 9px;
  }
  .feat-text span {
    font-size: 7px;
  }

  .migration-path-title {
    font-size: 16px;
  }
  .timeline-steps::before {
    right: 18px;
    width: 2px;
  }
  .timeline-steps::after {
    right: 15.5px;
    width: 6px;
    height: 6px;
  }
  .step-node {
    right: 0;
    top: 8px;
  }
  .step-circle {
    width: 34px;
    height: 34px;
  }
  .step-circle svg {
    width: 14px;
    height: 14px;
  }
  .timeline-step:nth-child(odd),
  .timeline-step:nth-child(even) {
    padding-right: 46px;
  }
  .timeline-step .step-content {
    padding: 8px 10px;
  }
  .step-title {
    font-size: 11px;
  }
  .step-desc {
    font-size: 8px;
  }

  .dest-title {
    font-size: 16px;
  }
  .dest-card-name {
    font-size: 11px;
    text-align: justify;
  }
  .dest-card-desc {
    font-size: 8px;
    text-align: justify;
  }

  .blog-new-title {
    font-size: 16px;
  }
  .blog-post-featured .blog-post-img {
    max-height: 110px;
  }
  .blog-post-featured .blog-post-title {
    font-size: 12px;
  }
  .blog-post-row .blog-post-img {
    width: 60px;
    height: 60px;
  }
  .blog-post-row .blog-post-title {
    font-size: 10px;
  }

  .footer-cta-text h3 {
    font-size: 13px;
  }
  .footer-col-title {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .footer-links li a {
    font-size: 9px;
    padding: 1px 0;
  }
}


/* ============================================================
   SAFE AREA — iOS notch / dynamic island support
   ============================================================ */

@supports (padding: env(safe-area-inset-top)) {
  @media only screen and (max-width: 991px) {
    .main-header .header-inner {
      padding-left: max(12px, env(safe-area-inset-left));
      padding-right: max(12px, env(safe-area-inset-right));
    }
    .footer-bottom-inner {
      padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
  }
}


/* ============================================================
   TOUCH / HOVER MEDIA QUERY — Better touch device support
   ============================================================ */

@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects for touch devices */
  .feature-card-inner:hover {
    transform: none;
    box-shadow: none;
  }
  .dest-card:hover {
    transform: none;
  }
  .dest-card:hover .dest-card-img img {
    transform: none;
  }
  .blog-post:hover {
    transform: none;
  }
  /* Improve tap targets */
  .dest-tab {
    min-height: 36px;
  }
  .hero-btn-primary,
  .hero-btn-outline {
    min-height: 44px;
  }
  .cta-btn-primary,
  .cta-btn-phone,
  .footer-cta-btn,
  .footer-cta-phone {
    min-height: 44px;
  }
}


/* ============================================================
   SMOOTH SCROLLING & PERFORMANCE
   ============================================================ */

@media only screen and (max-width: 991px) {
  .dest-grid,
  .dest-tabs {
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
  }
  /* Reduce animation intensity on mobile */
  .wow {
    animation-duration: 0.4s !important;
  }
  /* Better font rendering on mobile */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}