/* ==========================================
   1. TABLET & SMALL DESKTOP (Max Width: 1024px)
   ========================================== */
@media (max-width: 1024px) {
  .trust-grid,
  .services-grid, 
  .destinations-grid, 
  .visa-cards,
  .steps-grid { 
    grid-template-columns: repeat(2, 1fr); 
  }

  .footer-grid { 
    grid-template-columns: 1fr 1fr; 
  }
}

/* ==========================================
   2. LAPTOPS & TABLETS (Max Width: 992px)
   ========================================== */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .dest-split-container,
  .visa-split-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dest-hero-content,
  .visa-hero-content {
    text-align: center;
  }

  .dest-hero-content .hero-quick-tags {
    justify-content: center;
  }

  .visa-hero-features {
    align-items: center;
  }

  .hero-cta-buttons {
    justify-content: center;
  }

  .floating-badge {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 15px;
  }
}

/* ==========================================
   3. MOBILE & TABLET BREAKPOINT (Max Width: 768px)
   ========================================== */
@media (max-width: 768px) {
  /* Hamburger Navigation */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 12px;
  }

  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--navy, #0f172a);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Hamburger Active Animation (X Shape) */
  .hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Mobile Dropdown Menu Styling */
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white, #ffffff);
    padding: 24px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 999;
  }

  .nav-menu.active {
    display: block !important;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  /* Hero Sections & Headings */
  .hero-section {
    height: auto;
    min-height: 580px;
    padding-top: 120px;
    padding-bottom: 60px;
  }

  .about-minimal-hero,
  .travel-services-traditional-hero {
    min-height: auto;
    padding: 110px 15px 50px;
  }

  .about-minimal-hero {
    background-position: center center;
  }

  .about-hero-overlay {
    background: rgba(8, 18, 32, 0.88);
  }

  .about-hero-content {
    max-width: 100%;
    text-align: center;
  }

  .about-hero-content h1,
  .inner-hero-container h1,
  .visa-hero h1 {
    font-size: 2.3rem;
  }

  .travel-hero-container h1 {
    font-size: 2.2rem;
  }

  .hero-content h1 { 
    font-size: 2.2rem; 
  }

  .hero-content p {
    font-size: 1rem;
  }

  .about-inline-features {
    justify-content: center;
  }

  /* Hero Actions & Buttons */
  .hero-actions,
  .travel-hero-actions { 
    flex-direction: column; 
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn,
  .travel-hero-actions .btn {
    width: 100%;
  }

  /* Search Box & Stats Bar */
  .hero-search-box {
    flex-direction: column;
    padding: 12px;
    border-radius: 20px;
    gap: 10px;
  }

  .hero-search-box .btn-search {
    width: 100%;
    justify-content: center;
  }

  .hero-stats-bar {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
    width: 100%;
  }

  .stat-divider {
    display: none;
  }

  /* Grid & Cards Single Column Stacking */
  .why-grid, 
  .split-banner,
  .services-grid, 
  .destinations-grid, 
  .visa-cards, 
  .steps-grid,
  .about-grid, 
  .features-grid, 
  .values-grid,
  .trust-grid { 
    grid-template-columns: 1fr !important; 
  }

  .footer-grid { 
    grid-template-columns: 1fr; 
  }

  .service-detail-card {
    flex-direction: column;
    padding: 24px;
  }
}

/* ==========================================
   4. SMALL MOBILE DEVICES (Max Width: 576px)
   ========================================== */
@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-btn span {
    display: none; /* Shows icon only for header WhatsApp button on small screens */
  }
}