.hero-section {
    background: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    padding: 50px 0;
    color: white;
}


.search-form {
    background: linear-gradient(135deg, #0061ff 0%, #60efff 100%);
    padding: 2px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: -25px;
    position: relative;
    z-index: 100;
}

.search-form .row.g-3 {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.search-form .row.g-3 > .col-md-6 {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.search-form .col-md-4.col-lg-3.mx-auto.mb-3 {
    margin: 0 !important;
    padding: 1px;
}

.search-form label {
    color: #374151; 
    font-weight: 600; 
}

.search-form .form-control,
.search-form .form-select,
.btn-search {
    height: 45px; 
    padding: 10px;
    font-size: 16px;
    border-radius: 10px;
}

.btn-search {
    background: rgb(1, 111, 255);
    color: rgb(255, 255, 255);
    border: none;
    text-decoration-color: #fff3cd;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-search:hover {
    background: rgb(186, 221, 231);
}

.destination-search {
    position: relative;
}

.popular-destinations {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    margin-top: 5px;
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    display: none;
}

.popular-destinations h6 {
    color: #495057;
    font-weight: 500;
    margin-bottom: 3px;
    margin-left: 5px;
    letter-spacing: 1px;
    
}

.destination-search.active .popular-destinations {
    display: block;
}

.destination-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.destination-item:hover {
    background-color: #f8f9fa;
}

.destination-icon {
    margin-right: 12px;
    color: #007bff;
}

.destination-icon i {
    color: #666;
    font-size: 16px;
}

.destination-info {
    flex: 1;
    line-height: 1.2;
}

.destination-name {
    font-weight: 500;
    color: #333;
    font-size: 13px;
}

.destination-name .highlight {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}

.destination-country {
    font-size: 12px;
    color: #666;
}

.blog-section {
    
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.blog-section .card {
    border: none; /* Remove border */
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.blog-section .card-img-top {
    border-radius: 5px; /* Large border radius to make image round */
    object-fit: cover; /* Ensure image covers the entire area while maintaining aspect ratio */
    width: 100%;
    height: 250px; /* Fixed height to maintain consistent look */
}

/* Interactive "Where are you going?" text box */
.travel-text-box {
    position: relative;
    width: 250px;
    height: 50px;
    background-color: white;
    border: 2px solid #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
    overflow: hidden;
}

.travel-text-box .text {
    color: #2563eb;
    font-weight: bold;
    transition: transform 0.5s ease;
}

.travel-text-box:hover {
    transform: scale(1.05);
}

.travel-text-box.clicked {
    animation: moveOutside 1s forwards;
}

@keyframes moveOutside {
    0% {
        transform: translate(0, 0);
        opacity: 1;
    }
    70% {
        transform: translate(150%, -50%);
        opacity: 0.7;
    }
    100% {
        transform: translate(200%, -100%);
        opacity: 0;
    }
}

/* Floating Label Styles */
.destination-search,
.form-floating {
    position: relative;
}

.form-label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    pointer-events: none;
    color: #6c757d;
    opacity: 0.7;
}

.form-control:focus + .form-label,
.form-control:not(:placeholder-shown) + .form-label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    background-color: white;
    padding: 0 5px;
    color: #007bff;
}

.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Mobile Responsive Styles for Travel Text Box */
@media (max-width: 768px) {
    .travel-text-box {
        width: 100%; /* Full width on mobile */
        max-width: 300px; /* Prevent it from becoming too wide */
        margin: 0 auto; /* Center the box */
        height: 45px; /* Slightly smaller height */
    }

    .travel-text-box .text {
        font-size: 14px; /* Smaller font size */
    }
}

@media (max-width: 480px) {
    .travel-text-box {
        width: 90%; /* Slightly less than full width */
        max-width: 250px; /* Even smaller max-width */
        height: 40px; /* Further reduced height */
    }

    .travel-text-box .text {
        font-size: 12px; /* Even smaller font size */
    }
}