
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Grey+Qo&family=Lobster&family=Sedan+SC&display=swap');




body {
    margin: 2%;
    overflow-x: hidden;
    position: relative;
    font-family: 'Montserrat', sans-serif;
    background-color: #ccc5c546;
    /* font-family: 'Open Sans', sans-serif; */
}

.navbar {
    position: absolute;
    top: 1%;
    width: 80%;
    max-width: 1200px;
    left: 10%;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    /* background-color: rgba(0, 0, 0, 0.5); */
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

.navbar .navbar-brand {
    font-size: 24px;
    color: white;
}

.navbar .navbar-brand a {
    color: white;
    text-decoration: none;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    font-size: 16px;
}

.navbar ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

.image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(50%);
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
}

.overlay-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 65px;
    font-weight: 900;
    margin-bottom: 10px;
}

.overlay-text p {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 20px;
}

.overlay-text a {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 22px;
    font-weight: 700;
}

.overlay-text a:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* flight-search-container start */

.flight-search-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: -100px auto 0;
    /* Center horizontally */
    position: relative;
    /* Required for z-index to work */
    z-index: 1;
    /* Adjust the z-index value as needed */
}

.tabs {
    display: flex;
    justify-content: flex-start;
    /* border-bottom: 2px solid #e0e0e0; */
}

.tabs button {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    color: #000;
}

.tabs button.active {
    border-bottom: 3px solid #31c48d;
    color: #31c48d;
    font-weight: 700;
}

.form-group {
    display: flex;
    gap: 15px;
    flex-wrap: nowrap;
}

.fieldset-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

fieldset {
    border: 1px solid #d1d5db;
    border-radius: 5px;
    padding: 10px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

legend {
    font-weight: 700;
    color: #2d4039;
    padding: 0 10px;
    font-size: 14px;
}

.form-group input,
.form-group select {
    border: 1px solid #d1d5db00;
    border-radius: 5px;
    font-size: 16px;
    color: #4a4a4a;
    width: 100%;
    box-sizing: border-box;
}

.form-group input[type="date"] {
    font-family: 'Montserrat', sans-serif;
}

.form-group .swap-button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #31c48d;
}

.promo-code,
.show-flights-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: right;
}

.promo-code a {
    text-decoration: none;
    color: #646464;
    font-weight: 500;
    cursor: pointer;
    margin-right: 15px;
}

.show-flights-button button {
    background-color: #2d4039;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 700;
}

/* Plan your perfect trip start */
.destination-section {
    margin-top: 3%;
    text-align: center;
    padding: 40px 20px;
    background-color: transparent;
}

.header-container {
    display: flex;
    background-color: #f8fafd;
    padding: 30px 30px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}


.destination-section h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

.destination-section p {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    text-align: left;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-content: center;
}

.destination-card {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    align-items: center;
}

.destination-card img {
    width: 150px;
    height: 100px;
    border-radius: 10px;
    margin-right: 20px;
}

.card-text {
    text-align: left;
}

.card-text h3 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 5px;
}

.card-text p {
    font-size: 14px;
    color: #666;
}

.see-more {
    padding: 10px 20px;
    font-size: 14px;
    color: #ffffff;
    border-radius: 5px;
    background-color: #2d4039;
    cursor: pointer;
}

.see-more:hover {
    background-color: #2f8f83;
    color: white;
}

/* hotel-flight-card-container start */

.hotel-flight-card-container {
    filter: brightness(85%);
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background-color: transparent;
}

.card {
    width: 500px;
    height: 500px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.card:first-child {
    background-image: url('https://images.unsplash.com/photo-1530521954074-e64f6810b32d?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.card:last-child {
    background-image: url('https://plus.unsplash.com/premium_photo-1661676056771-f6c2711249e0?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
}

.card-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(0, 0, 0, 0.116);
    /* Dark overlay for readability */
    color: white;
    text-align: center;
}

.card h2 {
    margin: 0;
    font-size: 45px;
}

.card p {
    margin: 10px 0;
    font-size: 18px;
}

button {
    background-color: #2d4039;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

button:hover {
    background-color: #49a18b;
}

/* review section start */
.review-section {
    text-align: center;
    padding: 40px;
    background-color: transparent;
}

.review-section-title {
    font-size: 36px;
    margin-bottom: 10px;
}

.review-heading {
    background-color: white;
    padding: 5px;
}

.review-section-description {
    color: #666;
    margin-bottom: 20px;
}

.review-section-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 20px;
}

.review-section-card {
    flex: 0 0 auto;
    width: 300px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 255, 0.3), 0 4px 8px rgba(0, 0, 255, 0.2);
    /* Blue shadow */
    scroll-snap-align: start;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.review-section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 255, 0.4), 0 8px 12px rgba(0, 0, 255, 0.3);
    /* Enhance shadow on hover */
}

.review-section-card-content {
    padding: 20px;
}

.review-section-card-title {
    font-size: 18px;
    margin: 0 0 10px;
}

.review-section-card-text {
    color: #333;
    margin: 5px 0;
}

.review-section-rating {
    color: #ffc107;
    font-size: 20px;
    margin: 10px 0;
}

.review-section-reviewer {
    font-weight: bold;
}

.review-section-card-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* newsletter-section start */
.newsletter-section {
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 100px auto 0;
    /* Center horizontally */
    position: relative;
    /* Required for z-index to work */
    z-index: 1;
    /* Adjust the z-index value as needed */
    margin-bottom: -100px;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
}

.newsletter-section h1 {
    margin: 0;
    font-size: 36px;
    color: #2d4039;
}

.newsletter-section h2 {
    margin: 0;
    font-size: 36px;
    color: #2d4039;
    margin-bottom: 20px;
}

.newsletter-section p {
    font-size: 16px;
    color: #4a6055;
    margin-bottom: 20px;
}

.newsletter-section input[type="email"] {
    padding: 10px;
    width: 300px;
    max-width: 80%;
    border: 1px solid #2d4039;
    border-radius: 5px;
    margin-right: 10px;
}

.newsletter-section button {
    padding: 10px 20px;
    background-color: #2d4039;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.mailbox-image {
    width: 200px;
    height: auto;
    margin-left: 100px;
}


.flip-box {
    background-color: transparent;
    width: 300px;
    height: 200px;
    perspective: 1000px; /* Remove this if you don't want the 3D effect */
}

.flip-box-inner {
    position: relative;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    backface-visibility: hidden;
}

.flip-box-back {
    color: white;
    transform: rotateY(180deg);
}



/* Footer start */
.footer {
    background-color: #8ed3b2;
    padding: 40px 0;
    padding-top: 150px ;
    border-radius: 15px;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-logo {
    text-align: center;
}

/* logo flip */
.flip-box {
    background-color: transparent;
    width: 200px;
    height: 160px;
    perspective: 1000px;
}

/* This container is needed to position the front and back side */
.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    /* Safari */
    backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-box-front {
    color: black;
}

/* Style the back side */
.flip-box-back {
    color: white;
    transform: rotateY(180deg);
}

/* logo flip */

.logo-image {
    max-width: 150px;
    margin-bottom: 20px;
    filter: drop-shadow(2px 2px 20px #0770104d);
    /*image edgs glow*/
}

.social-icons a {
    color: black;
    margin: 0 10px;
    font-size: 18px;
}

.footer-column {
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-column h3 {
    color: black;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #416752;
    text-decoration: none;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}
/* footer end */
