.homepage-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
    padding: 2px;
     position: relative;
    z-index: 1;
}
.homepage-featured {
    position: relative;
    width: 100%;
    height: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}
.featured-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}
.featured-text {
    font-size: 40px;
    font-weight: bold;
    color: white;
    z-index: 1;
    line-height: 1.1;
    text-shadow: 2px 2px 8px #1c1f35;
    margin-bottom: 20px;
}
.search-box {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
}
#tour-search {
    width: 100%;
    padding: 1rem;
    padding-right: 3rem;
    font-size: 1.25rem;
    border: 2px solid #cccccc00;
    border-radius: 5px;
    box-sizing: border-box;
    text-align: center;
}
#tour-search:focus {
    border: 2px solid var(--primary-color);
    outline: none;
}
#search-icon {
    position: absolute;
    right: 15px;
    font-size: 1.5rem;
    color: var(--primary-color);
    pointer-events: none;
}
#tour-search {
    padding-right: 40px;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
}
#search-results {
    display: none;
    position: absolute;
    z-index: 10000;
    top: 100%; 
    left: 0;
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    box-sizing: border-box;
    padding: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.search-result {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
}
.destination-flag img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 10px;
}
.destination-name a {
    font-size: 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.destination-name a:hover {
    color: var(--primary-color);
}
@media (max-width: 768px) {
    #tour-search {
        font-size: 1rem;
        padding: 10px 15px;
    }
    #search-icon {
        font-size: 1.2rem;
        right: 10px;
    }
    #search-results {
        max-height: 200px;
        padding: 8px;
    }
}
@media (max-width: 768px) {
    .search-box {
        max-width: 400px;
    }
}
@media (max-width: 768px) {
    .homepage-featured {
        height: 350px;
    }
    .featured-image {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }
    .featured-text {
        font-size: 2rem;
        padding: 0 10px;
    }
}
.index-heading {
    text-align: center;
}
h2 {
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    color: #0d0d0d;
    margin-bottom: 12px;
    padding-bottom: 10px;
    display: inline-block;
    margin-top: 50px;
}
h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
}
.homepage-paragraph {
	font-size: 18px;
	margin-bottom: 30px;
}
.more-destinations {
    text-align: center;
    margin: 20px;
}
.btn-more-destinations {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    align-items: center;
    font-size: 16px;
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid var(--primary-color);
    transition: background-color 0.3s ease;
}
.btn-more-destinations:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}
.activity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
    margin-top: 30px;
}
.activity-item {
    text-align: center;
    text-decoration: none;
    color: #333;
}
.activity-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
    pointer-events: none;
    user-select: none;
}
.activity-name {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: bold;
}
@media (max-width: 768px) {
    .activity-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .activity-grid {
        grid-template-columns: 1fr;
    }
}
.traveler-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 20px;
    padding-bottom: 20px;
    position: relative;
}
.review-item {
    background: rgba(0, 128, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 2px 5px rgba(0, 74, 173, 0.1);
}
.review-header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.reviewer-name {
    font-weight: bold;
    margin-bottom: 5px;
}
.review-date {
    font-size: 0.9rem;
    color: #777;
}
.review-rating {
    color: #f2b203;
    margin: 1px;
}
.review-content {
    font-style: italic;
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}
.review-link {
    font-weight: bold;
}
.review-link a {
    color: var(--primary-color);
    text-decoration: none;
}
.no-reviews {
    text-align: center;
    font-style: italic;
    color: #888;
}
@media (max-width: 768px) {
    .traveler-reviews {
        grid-template-columns: 1fr;
    }
}
.review-background-image {
    width: 100%;
    height: auto;
    margin-top: 20px;
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}
.destination-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--text-color);
}
.destination-flag-wrapper {
    margin-bottom: 22px;
}
.destination-flag {
    width: 30px;
    height: 30px;
    object-fit: contain;
    margin-top: 10px;
}
.destination-intro {
    margin-bottom: 40px;
}
.destination-intro h6 {
    font-size: 1.2rem;
    font-weight: normal;
    margin-bottom: 15px;
    word-wrap: break-word;
    margin-top: 10px;
}
.destination-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.destination-item {
    display: block;
    text-align: left;
    text-decoration: none;
    color: inherit;
    margin-top: 10px;

}
.destination-tour-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
}
.destination-tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.tour-type-ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    font-size: 14px;
    border-radius: 5px;
}
.destination-rating {
    margin: 10px 0;
    font-size: 14px;
}
.destination-rating span {
    font-weight: bold;
}
.destination-name {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin: 10px 0;
}
.destination-duration-and-price {
    display: flex;
    justify-content: space-between;
    color: #008000;
}
.destination-duration-and-price .left, .destination-duration-and-price .right {
    display: flex;
    align-items: center;
}
.destination-duration-and-price .left i {
    margin-right: 5px;
}
.destination-item:hover .destination-name {
    color: var(--primary-color);
}
.destination-item:hover .destination-tour-image img {
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
}
@media (max-width: 768px) {
    .destination-grid {
        grid-template-columns: 1fr;
    }
    .destination-item {
        margin-bottom: 20px;
    }
}
a {
    text-decoration: none;
}
.before-traveling-section {
    text-align: center;
}
.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.subcategory-item {
    position: relative;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.subcategory-featured-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    pointer-events: none;
    user-select: none;
}
.subcategory-details {
    margin-top: 15px;
    text-align: left;
}
.subcategory-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.subcategory-flag {
    width: 20px;
    height: auto;
}
.subcategory-name {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin: 10px 0;
    flex-grow: 1;
    margin-left: 10px;
    text-align: -webkit-auto;
}
.subcategory-description {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
}
.view-detail-link {
    display: inline-block;
    font-size: 16px;
    color: var(--primary-color);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .subcategory-grid {
        grid-template-columns: 1fr;
    }
    .subcategory-item {
        margin-bottom: 20px;
    }
}
.talk-to-experts {
    width: 100%;
    color: #000;
    margin-bottom: 40px; 
}
.talk-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}
.expert {
    text-align: center;
    padding: 10px;
}
.expert-image {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin-bottom: 10px;
    pointer-events: none;
    user-select: none;
}
.expert-name {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}
.expert-number {
    font-size: 16px;
}
.whatsapp-link {
    align-items: center;
    color: #25d366;
    text-decoration: none;
}
.whatsapp-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    pointer-events: none;
    user-select: none;
}
.whatsapp-link:hover {
    color: #128c7e;
}
@media (max-width: 768px) {
    .talk-content {
        grid-template-columns: repeat(2, 1fr);
    }
}