/* ==========================================
   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;
  }
}
@media (max-width: 480px) {
  .brand-text,
  .logo-text,
  .brand-logo span {
    font-size: 0.92rem !important; /* Slightly bumped up for smaller phones */
  }
}
/* ==========================================
   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 (Max Width: 768px)
   ========================================== */
@media (max-width: 768px) {
  /* Prevent Brand Title wrapping on mobile */
  .brand-logo,
  .logo,
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap !important;
  }

  .brand-text,
  .logo-text,
  .brand-logo span {
    font-size: 1.05rem !important;
    white-space: nowrap !important;
    letter-spacing: -0.3px;
  }

  .logo-img,
  .brand-logo img {
    max-height: 34px !important;
    width: auto;
  }

  .nav-container {
    padding-left: 12px;
    padding-right: 12px;
  }

  /* 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: 8px;
    flex-shrink: 0;
  }

  .hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--navy, #0f172a);
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  .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 */
  .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;
  }

  /* General Hero Sections */
  .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;
  }

  /* General Grid 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;
  }

  /* Extra Brand Sizing for Compact Mobile Displays */
  .brand-text,
  .logo-text,
  .brand-logo span {
    font-size: 0.95rem !important;
  }

  .logo-img,
  .brand-logo img {
    max-height: 30px !important;
  }

  .nav-actions {
    gap: 6px;
  }

  .btn-whatsapp.nav-btn {
    padding: 8px 10px !important;
  }
}

/* =========================================================
   5. HOMEPAGE PREMIUM HERO + HOW IT WORKS + FINAL CTA
   ========================================================= */

@media (max-width: 1100px) {
  .hero-floating-card {
    right: 3%;
  }

  .steps-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .steps-wrapper::before {
    display: none;
  }

  .how-it-works-header {
    gap: 40px;
  }

  .how-intro {
    flex-basis: 350px;
  }
}

@media (max-width: 768px) {
  .premium-hero {
    min-height: 720px;
    height: auto;
    padding-top: 105px;
    padding-bottom: 80px;
    background-position: center;
  }

  .premium-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(4, 13, 24, 0.83), rgba(4, 13, 24, 0.72) 52%, rgba(4, 13, 24, 0.91));
  }

  .premium-hero h1 {
    font-size: clamp(2.75rem, 12vw, 4rem);
    letter-spacing: -1.5px;
  }

  .premium-hero .hero-content p {
    font-size: 0.95rem;
    line-height: 1.72;
  }

  .premium-hero .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .premium-hero .hero-actions .btn {
    width: 100%;
  }

  .hero-floating-card,
  .hero-scroll {
    display: none;
  }

  .hero-mini-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
  }

  .how-it-works-header {
    display: block;
    margin-bottom: 35px;
  }

  .how-heading h2 {
    font-size: 42px;
  }

  .how-intro {
    max-width: 600px;
    margin-top: 18px;
  }

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

  .step-card {
    min-height: auto;
    padding: 23px 24px 25px;
  }

  .final-cta {
    padding: 78px 0;
  }

  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .final-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .premium-hero .hero-badge {
    font-size: 0.72rem;
    padding: 8px 13px;
  }

  .premium-hero h1 {
    font-size: 2.65rem;
  }

  .premium-hero .hero-content p {
    margin-top: 20px;
  }

  .trust-highlights {
    padding: 28px 0;
  }
}

@media (max-width: 480px) {
  .how-heading h2 {
    font-size: 36px;
    letter-spacing: -1px;
  }

  .how-eyebrow {
    font-size: 11px;
    letter-spacing: 1.4px;
  }

  .how-intro {
    font-size: 14px;
    line-height: 1.7;
  }

  .step-card {
    border-radius: 16px;
  }

  .brand-text,
  .logo-text,
  .brand-logo span {
    font-size: 0.88rem !important;
  }
}
/* ==========================================
   COMMENTS SECTION RESPONSIVE STYLES
   ========================================== */

/* 1. TABLET & SMALL DESKTOP (Max Width: 1024px) */
@media (max-width: 1024px) {
  .comments-container {
    gap: 24px;
  }
  
  .comment-form-card,
  .comments-list-wrapper {
    padding: 24px;
  }
}

/* 2. MOBILE & TABLET STACKING (Max Width: 868px) */
@media (max-width: 868px) {
  .comments-container {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }

  .comments-list {
    max-height: 400px;
  }
}

/* 3. SMALL MOBILE DEVICES (Max Width: 576px) */
@media (max-width: 576px) {
  .comments-intro {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .comment-form-card,
  .comments-list-wrapper {
    padding: 20px 16px;
    border-radius: var(--radius-sm);
  }

  .comment-form-card h3,
  .comments-list-wrapper h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
  }

  /* Star Rating Widget Mobile Adjustments */
  .star-rating {
    font-size: 1.4rem;
    gap: 6px;
  }

  .star-rating .star {
    -webkit-text-stroke: 1.2px #CBD5E1;
  }

  .star-rating .star.active,
  .star-rating .star.hover {
    -webkit-text-stroke: 1.2px #D97706;
  }

  .comment-item {
    padding: 14px;
  }

  .comment-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .comment-author {
    font-size: 0.9rem;
  }

  .comment-rating {
    font-size: 0.8rem;
  }

  .comment-text {
    font-size: 0.88rem;
  }
}