@media (max-width: 991px) {
  .menu-trigger {
    display: block;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    background-color: transparent;
    max-width: 180px;
  }

  html {
    font-size: 15px;
  }
  
  .footer__title::after {
    content: '';
    display: block;
    width: 70%;
    height: 2px;
    background: #ff6b6b;
    margin-top: 6px;
  }

  /* Header layout for mobile - align items on same line */
  .header-area .main-nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
  }

  /* Reset logo positioning */
  .header-area .main-nav .logo {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    flex: 1;
  }

  .header-area .main-nav .logo img {
    max-height: 55px;
    height: auto;
    width: auto;
  }

  /* Language switcher positioning */
  .language-switcher {
    position: static;
    transform: none;
    margin-left: 0;
    margin-right: 0;
    display: flex;
    justify-content: flex-end;
    flex: 1;
  }

  /* Menu trigger positioning */
  .menu-trigger {
    position: static;
    transform: none;
    flex: 1;
    display: flex;
    justify-content: flex-start;
    background-color: transparent;
    max-width: 150px;
  }

  

  .header-area .main-nav .logo h1 {
    font-size: 1.5rem;
  }

  .sub-header .info li {
    margin-right: var(--spacing-md);
    font-size: 12px;
  }

  .header-area .main-nav .nav {
    display: none;
    position: absolute;
    top: 85px;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-direction: column;
    padding: 0;
    z-index: 1000;
  }

  .header-area.sticky .main-nav .nav {
    top: 75px;
  }

  .header-area .main-nav .nav.active {
    display: flex;
  }

  .header-area .main-nav .nav li {
    margin: 0;
    width: 100%;
  }

  .header-area .main-nav .nav li a {
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border-top: none;
    padding-left: var(--spacing-lg);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  /* Փոքր էկրանների վրա hover-ով բացելու համար */
  .dropdown:hover .dropdown-menu {
    display: block;
  }

  .main-nav ul.nav {
    display: none;
  }

  .menu-trigger.active + ul.nav {
    display: block;
  }

  .section-heading h2 {
    font-size: 2rem;
  }

  .tour-filter {
    flex-direction: column;
  }

  .filter-group {
    width: 100%;
  }

  .banner-content h2 {
    font-size: 1.8rem;
  }
}
/* ############################################# */

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  /* Maintain the three-column layout for header at smaller sizes */
  .header-area .main-nav {
    padding: 0 10px;
  }

  .header-area .main-nav .logo img {
    max-height: 55px;
    height: auto;
    width: auto;
  }

  .menu-trigger {
    font-size: 18px;
  }

  .language-switcher {
    transform: scale(0.9);
  }

  .footer__title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #ff6b6b;
    margin-top: 6px;
  }

  .sub-header .row > div {
    justify-content: center !important;
    margin-bottom: var(--spacing-sm);
  }

  .d-flex {
    justify-content: center !important;
  }

  .sub-header .row {
    flex-direction: column;
  }

  .sub-header .info,
  .sub-header .social-links {
    justify-content: center;
    margin-bottom: var(--spacing-sm);
  }

  .social-links {
    justify-content: center !important;
  }

  .main-content {
    padding: var(--spacing-xl) 0;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .banner-content h2 {
    font-size: 1.5rem;
  }

  .contact-form {
    padding: var(--spacing-lg);
  }

  .feature-box .icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .testimonial-card {
    padding: var(--spacing-lg);
  }

  .testimonial-card .author-img {
    width: 50px;
    height: 50px;
  }

  .destination-features {
    grid-template-columns: 1fr;
  }
  
  .col-md-8 {
    flex: 0 0 66.66667%;
    max-width: 66.66667%;
  }

  .col-md-4 {
    flex: 0 0 33.33333%;
    max-width: 33.33333%;
  }
  
  .menu-trigger {
    display: flex;
  }
  
  .main-nav ul.nav {
    display: none;
    flex-direction: column;
    gap: 10px;
  }
  
  .main-nav ul.nav.show {
    display: flex;
  }
  
  .footer__sections {
    flex-direction: column;
    align-items: center;
  }
  
  .footer__section {
    text-align: center;
  }
}
/* ############################################# */

@media (min-width: 768px) {
  .reviews-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .review-card {
    flex: 1;
    margin: 0 10px;
  }
}
/* ############################################# */

@media (max-width: 576px) {
  form {
    padding: 2rem 1rem !important;
  }

  /* Further adjustments for very small screens */
  .header-area .main-nav {
    padding: 0 5px;
  }

  .header-area .main-nav .logo img {
    max-height: 55px;
    height: auto;
    width: auto;
  }

  .menu-trigger {
    font-size: 16px;
    max-width: 100px;
  }

  .language-switcher {
    transform: scale(0.8);
  }

  .footer__title::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: #ff6b6b;
    margin-top: 6px;
  }
  
  .tour-type-filters {
    flex-direction: column; /* Կոճակները կտեղափոխվեն մեկ սյունակ */
    align-items: center;
  }
  
  .tour-type-filters .btn {
    width: 100%; /* Կոճակները կլրացնեն ամբողջ լայնությունը */
    margin-bottom: 10px; /* Միջհավասարումը */
  }
}

@media (max-width: 768px) {
  .header-area .main-nav .logo img {
    height: 55px;
    height: auto;
    width: auto;
    max-height: 65px; 
  }
}



.header-area .main-nav .logo img {
  max-width: 100%;
  height: auto;
  max-height: 55px; /* Default size */
  transition: max-height 0.3s ease;
}

@media (max-width: 576px) {
  .header-area .main-nav .logo img {
    max-height: 55px;
  }
}

@media (max-width: 500px) {
  .header-area .main-nav .logo img {
    max-height: 62px;

  }
}

/* ՄԵԾԱՑՆՈՒՄ ենք կրկին՝ մինչև 390px */
@media (max-width: 450px) {
  .header-area .main-nav .logo img {
    max-height: 64px;
  }
}

@media (max-width: 390px) {
  .header-area .main-nav .logo img {
    max-height: 66px;
  }
}

@media (max-width: 350px) {
  .header-area .main-nav .logo img {
    max-height: 60px;
  }
}

@media (max-width: 300px) {
  .header-area .main-nav .logo img {
    max-height: 55px;
  }
}

@media (max-width: 250px) {
  .header-area .main-nav .logo img {
    max-height: 50px;
  }
}




@media (max-width: 350px) {
  .menu-trigger {
    font-size: 13px;
    max-width: 80px;
  }
}

/* Add reload filters button style */
.reload-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: transform 0.3s ease, color 0.3s ease;
}

.reload-filters:hover {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.reload-filters i {
    font-size: 1.2rem;
}

/* Only show the button when necessary */
body:not(.has-filters) .reload-filters {
    display: none;
}



