.bg-flight-img {
    background: url(../assets/imgs/FlightsCover.webp) no-repeat center center / cover;
}
/****************************88 flight explore and why book content style ****************/
.whybook-content {
    /* background-color: #e5e5e5; */
    padding: 20px 0px 0px 0px;
    /* border-radius: 10px; */
    /* max-width: 800px; */
    margin: 0 auto;
    font-family: Arial, sans-serif;
}

.whybook-content h1 {
    font-size: 34px;
    font-weight: bold;
    color: var(--black-color);
    margin-bottom: 10px;
}

.whybook-content p {
    font-size: 22px;
    color: #333;
    line-height: 2;
}

.whybook-content h2 {
    font-size: 34px;
    font-weight: bold;
    color: #e65100;
    /* Orange color */
    margin-top: 20px;
}

.whybook-content .benefit {
    display: flex;
    align-items: flex-start;
    /* Align icon to the start of the first line */
    font-size: 22px;
    color: #333;
    margin: 0px;
}

.whybook-content .benefit::before {
    content: "✅";
    font-size: var(--font-size-xl);
    margin-right: 10px;
    display: inline-block;
    flex-shrink: 0;
    /* Prevent the icon from shrinking */
}

/*********************flight card place *********/
.popular-flight-card {
    margin: 0;
    opacity: 1;
    /* Change opacity to 1 by default, or use visible class in JavaScript */
    transform: translateX(0);
    overflow: hidden;
    transition: opacity 1s ease, transform 1s ease;

}

.popular-flight-card .visible {
    opacity: 1;
    transform: translateX(0);

}

.popular-flight-card h1 {

    font-size: 36px;
    text-align: center;
    font-weight: bolder;

}


.flight-card-place {
    position: relative;
    width: 25vw;

    max-width: 390px;
    min-width: 300px;
    height: 315px !important;
    overflow: hidden;
    border: 2px solid var(--black-color);

    margin-left: 0;

    margin-right: 0;


}


.flight-card-place img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    display: flex;
    /* Covers the area without distorting the image */
}

.flight-card-place-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.flight-card-place:hover .flight-card-place-overlay {
    opacity: 1;
}

.flight-place-name {
    font-size: var(--font-size-xxl);
    font-weight: bold;
    transform: translateY(20px);
    transition: transform 0.5s ease;
}

.flight-card-place:hover .flight-place-name {
    transform: translateY(0);
}

/********************new deisgn flight to news letter*********/
.newsletter {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 90px 10px 90px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
}

.newsletter-content {
    max-width: 50%;
    text-align: left;
}

.newsletter-form {
    display: flex;
    max-width: 50%;
    width: 49%;
}

.newsletter-form input {
    padding: 24px;
    border: none;
    width: 100%;
    font-size: var(--font-size-medium);
}

.newsletter-form button {
    background-color: var(--tertiary-color);
    color: var(--white-color);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
 
    
    

    .main-section {

        display: flex;
        flex-wrap: wrap !important;
        justify-content: center;

        position: relative;
    }

    .laptopView {
        display: none !important;
        /* Hide laptop view on mobile */
    }


    .MobileView {
        display: flex !important;
        /* gap: 30px; */
        /* padding: 15px; */
        /* justify-content: space-between; */
        align-items: center;
        flex-wrap: wrap !important;
    }

    .three-card-col {
        width: 100%;
        margin: 9px 0px;

    }

  


    .newsletter {
        padding: 20px !important;
        /* flex-direction: column; */
        padding: 20px;
        text-align: center;
    }

    .newsletter-content {
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 15px;
    }

    .newsletter-form {
        /* align-items: center; */
        max-width: 100% !important;
        width: 100% !important;
        /* flex-direction: column;*/
    }

    .newsletter-form input {
        /* text-align: center; */
        width: 100% !important;
        max-width: 100% !important;
        padding: 18px;
        font-size: var(--font-size-default);
        /* margin-bottom: 10px;*/
    }

    .newsletter-form button {
        padding: 12px;
        font-size: var(--font-size-medium);
        width: 33%;
    }

   




}

@media screen and (max-width: 620px) {


    .MobileView {

        flex-wrap: wrap;

    }

}

@media (max-width: 480px) {
  


    .flight-col {
        /* flex: 1; */
        margin: 9px 0px;
        width: 100%;
        /* min-width: 180px; */
    }


}
