body {
    margin: 0px;
    background-color: #f1f1f1;
}

/* about.html */
.topbar {
    /* top bar will be visible when we are scrolling also */
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

header {
    background-color: white;
    color: white;
    text-align: center;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: #ffffff;
    border-bottom: 1px solid #d6d3d3;
    display: flex;
}

/* CSS for airline logo */
.qantaslogo img {
    display: flex;
    width: 20%;
    cursor: pointer;
}

/* for login, cart, aus icon */
.extra img {
    display: flex;
    width: auto;
    float: right;
    cursor: pointer;
    height: 33px;
    padding: 10px;
    margin: 0 5px;
}

.extra img:hover {
    color: white;
    transform: scale(1.5);
    transition: background-color 0.3s ease;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    background-color: white;
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: left;
}

nav ul li a {
    float: left;
    color: black;
    padding: 15px 20px;
    display: block;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

nav ul li a:hover {
    background-color: red;
    color: white;
    transform: scale(1.05);
}

.homeall {
    max-width: 1000px;
    margin: 60px auto;
}

.welcome {
    background-color: #f5f5f5;
    text-align: left;
    padding: 30px 20px;
}

.welcome h1 {
    font-size: 42px;
    font-weight: 550;
    color: black;
    margin-bottom: 0px;
    margin-top: 0px;
    font-family: 'Poppins', sans-serif;
}

.bookingcontainer {
    max-width: 1100px;
    margin: 40px auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(159, 4, 4, 0.619);
    padding: 25px;
    font-family: 'Poppins', sans-serif;
}

.bookingtab {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    gap: 30px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    background: #f2f2f2;
    cursor: pointer;
    font-weight: 500;
}

.tab.active {
    background: #bb0c12;
    color: white;
}

.tab:hover {
    color: rgb(228, 23, 23);
    transform: scale(1.1);
    transition: background-color 0.3s ease;
}

.triptype {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    font-size: 14px;
}

.bookingfields {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.field {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 12px;
    min-width: 180px;
}

.field span {
    font-size: 12px;
    color: #9a9898;
}

.field select {
    width: 100%;
    border: none;
    outline: none;
    font-size: 15px;
    margin-top: 6px;
    background: transparent;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.searchbtn {
    background: #e7060e;
    color: white;
    border: none;
    padding: 14px 22px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
}

.searchbtn:hover {
    background: #dc0d14;
}

/* Booking.html */
.msuccess {
    background-color: #f5f5f5;
    text-align: left;
    padding: 30px 20px;
}

.msuccess h1 {
    font-size: 42px;
    font-weight: 550;
    color: black;
    margin-bottom: 0px;
    margin-top: 0px;
    font-family: 'Poppins', sans-serif;
}

.bsuccess {
    display: flex;
    justify-content: center;
}

.bsuccess img {
    width: 60%;
    margin-top: 0px;
    margin-bottom: 25px;

}

/* Index.html */
.offers {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.offers span {
    background: #f6f1f1;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #ece2e2;
}

.bottomtext {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    font-family: 'Poppins', sans-serif;
}

.text {
    flex: 1;
}

.text h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 10px;
}

.text p {
    font-size: 18px;
    color: #16ea2b;
}

.bimage {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bimage img {
    width: 50%;
    max-width: 500px;
    border-radius: 18px;
}

.bottomtext1 {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    font-family: 'Poppins', sans-serif;
}

.bbtext {
    flex: 1;
}

.bbtext h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 15px;
}

.bbtext p {
    font-size: 18px;
    color: #869489;
    line-height: 1.6;
}

.bbimage {
    flex: 1;
    display: flex;
    justify-content: center;
}

.bbimage img {
    width: 100%;
    max-width: 520px;
    border-radius: 18px;
}

/* About.html */
.aboutus {
    max-width: 1000px;
    margin: 60px auto;
    font-family: 'Poppins', sans-serif;
}

.aboutus h2 {
    text-align: left;
    font-size: 50px;
    margin-bottom: 30px;
    color: #111;
}

.aboutimage img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 30px;
}

.abouttext {
    font-size: 20px;
    line-height: 1.7;
    color: #393737;
    padding: 0 20px;
}

.abouttwo {
    max-width: 1000px;
    margin: 60px auto;
    font-family: 'Poppins', sans-serif;
    padding: 20px;
}

.abouttitle {
    text-align: left;
    font-size: 32px;
    margin-bottom: 40px;
}

.aboutcolumns {
    display: flex;
    gap: 40px;
    padding: 10px;
}

.aboutcard {
    flex: 1;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.aboutcard img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.aboutcard h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.aboutcard p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

/* Destination.html */
.dest {
    max-width: 1000px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px;
    font-family: 'Poppins', sans-serif;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card h3 {
    background: #1e4fa1;
    color: white;
    padding: 15px;
    margin: 0;
    font-size: 18px;
    text-transform: uppercase;
}

.card p {
    padding: 20px;
    color: #555;
    line-height: 1.6;
    border-left: 4px solid #f2b705;
}

/* Services.html */
.servicesection {
    max-width: 1000px;
    margin: 60px auto;
    font-family: 'Poppins', sans-serif;
}

.servicesection h2 {
    text-align: left;
    font-size: 30px;
    margin-bottom: 40px;
}

.servicecolumns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.servicecard {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.servicecard h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.servicecard p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.servicecard:hover {
    transform: scale(1.1);
    transition: background-color 0.3s ease;
}

/* SpecialOffers.html */
.specialtop {
    max-width: 1000px;
    margin: 60px auto;
    font-family: 'Poppins', sans-serif;
}

.specialtop h2 {
    text-align: left;
    font-size: 50px;
    margin-bottom: 30px;
    color: #111;
}

.specialimage img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.offerssection {
    max-width: 1000px;
    margin: 60px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.offerssection h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
}

.offersintro {
    text-align: center;
    font-size: 16px;
    color: #555;
    margin-bottom: 40px;
}

.offerscontainer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.offercard {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    position: relative;
}

.offercard:hover {
    background-color: rgb(252, 172, 172);
    transform: scale(1.1);
    transition: background-color 0.3s ease;
}

.offercard h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.offercard p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

.offertag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #c80e15;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
}

/* Contact.html */
.contact {
    max-width: 1000px;
    margin: 60px auto;
    font-family: 'Poppins', sans-serif;
    border-radius: 8px;
}

.contact h2 {
    text-align: left;
    font-size: 50px;
    margin-bottom: 30px;
    color: #111;
}

.contactbox {
    width: 65%;
    margin: 50px auto;
    background-color: #efb4b4;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(2, 2, 2, 0.1);
    font-family: 'Poppins', sans-serif;
}

.contacttext {
    background-color: #f8f9fb;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 30px;
    font-family: 'Poppins', sans-serif;
}

.contactform {
    display: flex;
    flex-direction: column;
}

.contactform label {
    margin-top: 15px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.contactform input,
.contactform textarea {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.contactform textarea {
    height: 100px;
    resize: none;
}

.contactform button {
    margin-top: 20px;
    width: 150px;
    padding: 10px;
    background-color: #1e4fa1;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contactform button:hover {
    background-color: #163d7a;
}

.contacticon {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    text-align: center;
}

.iconbox {
    width: auto;
    font-size: 10px;
}

.icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 5px;
    background-color: #1e4fa1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.icon:hover {
    color: rgb(228, 23, 23);
    transform: scale(1.1);
    transition: background-color 0.3s ease;
}


footer {
    clear: both;
    padding: 10px;
    background: #003366;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

/*CSS for mobile */
@media (max-width: 768px) {

    /* Header is vertical in mobile phone */
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 10px;
    }

    .qantaslogo img {
        width: 120px;
    }

    .extra {
        justify-content: center;
    }

    .extra img {
        height: 26px;
        padding: 8px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
    }
}