:root {
    --primary-color: #3b7dd8;
    --primary-color-dark: #112b5a;
    --text-dark: #1a1a2e;
    --text-light: #6b6f7a;
    --extra-light: #f5f6f8;
    --white: #ffffff;
    --max-width: 1200px;
    --radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.section_container {
    max-width: var(--max-width);
    margin: auto;
    padding: 2rem 2rem;
}

.section_header {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.section_description {
    margin-top: 1rem;
    max-width: 600px;
    color: var(--text-light);
}

.btn {
    padding: .75rem 2rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--white);
    background-color: var(--primary-color);
    outline: none;
    border: none;
    border-radius: var(--radius);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(59, 125, 216, 0.25);
}

.btn:hover {
    background-color: var(--primary-color-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(17, 43, 90, 0.35);
}

.btn:active {
    transform: translateY(0);
    box-shadow: none;
}

img {
    width: 100%;
    display: flex;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.logo {
    max-width: 150px;
}

html,
body {
    scroll-behavior: smooth;
}

.header {
    padding-top: 4rem;
    background-image: linear-gradient(rgba(17, 43, 90, .7),
            rgba(17, 43, 90, .7)), url("service1.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

nav {
    position: fixed;
    isolation: isolate;
    top: 0;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    z-index: 9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav_bar {
    width: 1357px;
    padding: 1rem;
    display: flex;
    align-items: center center;
    /*left: 300px;*/
    justify-content: space-between;
    gap: 5rem;
    background-color: var(--primary-color-dark);

}

.nav_menu_btn {
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.nav_links {
    position: absolute;
    width: 110%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.85rem;
    background-color: var(--primary-color);
    width: 1355px;
    transform: translateY(-100%);
    transition: 0, 1s;
    z-index: -1;
}

.header {
    padding-top: 0;
}

.nav_links.open {
    transform: translateY(0);
}

.nav_links a {
    color: var(--white);
    transition: 0.3s;
}

.nav_links a:hover {
    color: var(--primary-color-dark);

}

.header_container {
    max-width: 900px;
    margin-inline: auto;
    margin-bottom: 1rem;
    color: var(--white);
    text-align: center;
}

.header_container h1 {
    margin-bottom: 1rem;
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
}
.header_container p{
    margin-bottom: 20px;
}

.booking {
    max-width: 900px;
    margin: 20px 20px;
    padding: 1.25rem 1.5rem;
    display: grid;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.booking_type {
    margin: 10px 10px;
    width: 90%;
    padding: 4px;
    display: grid;
    grid-template-columns: max-content max-content max-content;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: calc(var(--radius) - 2px);
    justify-content: space-evenly;
    justify-self: center;
}

.booking_type>div {
    padding: 8px 16px;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: calc(var(--radius) - 4px);
    cursor: pointer;
    transition: 0.25s;
}

.booking_type> :is(div:hover, div.active) {
    color: var(--primary-color);
    background-color: var(--white);
    font-weight: 600;
}

.booking_form {
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 1rem;
    align-items: end;
    margin:10px 10px;
}

.booking_input {
    display: grid;
    gap: 6px;
}

.booking_input label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.85);
}

.booking_input input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: rgba(255, 255, 255, 0.95);
    outline: none;
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: border-color 0.2s;
}

.booking_input input:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
}

.booking_input input[type="date"] {
    color: var(--text-dark);
}

.booking_btn {
    text-align: right;
}

/* =====================
   SERVICES - 3-col grid
   ===================== */
.service_grid {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;
}

.service_card {
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    background-color: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Uniform image aspect ratio for all service cards */
.service_card__img_wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.service_card__img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service_card:hover .service_card__img_wrap img {
    transform: scale(1.05);
}

.service_card__body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    gap: 0.75rem;
}

.service_card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.service_card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.service_btn {
    text-align: right;
    margin-top: 0.5rem;
}

.offer_header {
    display: flex;
    gap: 2rem;
    flex-direction: column;
}

.offer_header a {
    color: var(--primary-color);
    transition: 0.3s;

}

.offer_header a:hover {
    color: var(--primary-color-dark);
}

.offer_grid {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
}

/* Each card is a flex column so the price+button row
   is always pinned to the bottom — keeps all buttons aligned */
.offer_card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    border-radius: var(--radius);
    background-color: var(--white);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.offer_card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Uniform 16:9 image for every offer card */
.offer_card__img_wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: calc(var(--radius) - 2px);
    margin-bottom: 1rem;
}

.offer_card__img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.offer_card:hover .offer_card__img_wrap img {
    transform: scale(1.05);
}

.offer_card h4 {
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
}

.offer_card>p {
    margin-bottom: 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

/* Push this row to the bottom of every card */
.offer_card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.offer_card span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about_container {
    display: grid;
    gap: 2rem;
}

.about_image img {
    max-width: 300px;
    margin: auto;
}

.about_content ul {
    margin-block: 2rem;
    display: grid;
    gap: 1rem;
}

.about_content li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-light);
}

.about_content li span {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.about_links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about_links img {
    max-width: 150px;
    height: 100%;
}

.client {
    background-color: var(--extra-light);
}

.swiper {
    width: 100%;
    padding-top: 4rem;
    margin-top: 2rem;
}

.swiper-slide {
    max-width: 400px;
}

.client_card {
    padding: 2rem;
    padding-top: 0;
    text-align: center;
    background-color: var(--white);
    border-radius: 2px;
}

.client_card img {
    max-width: 80px;
    margin: auto;
    transform: translateY(-50%);
    border-radius: 100%;
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.2);
}

.client_card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.client_card p {
    color: var(--text-light);
}

.client_ratings {
    margin-block: 1rem;
    color: goldenrod;
}

.footer {
    background-color: var(--primary-color-dark);
}

.footer_container {
    display: grid;
    gap: 4rem 2rem;
}

.footer_col p {
    margin-block: 2rem;
    color: var(--white);
}

.footer_socials {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer_socials a {
    padding: 5px 10px;
    font-size: 1.25rem;
    color: var(--primary-color);
    background-color: var(--white);
    border-radius: 100%;
    transition: 0.3s;
}

.footer_socials a:hover {
    color: var(--white);
    background-color: var(--primary-color);
}

.footer_col h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
}

.footer_links {
    display: grid;
    gap: 1rem;
}

.footer_links li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    transition: 0.3s;
}

.footer_links li a:hover {
    color: var(--primary-color);
}

.footer_links li span {
    font-size: 1.25rem;
}

.footer_col form {
    display: grid;
    gap: 1rem;
}

.footer_col input {
    padding: 0.75rem;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    border: 1px solid var(--white);
    border-radius: 5px;
}

.footer_col input::placeholder {
    color: var(--white);
}

.footer_col .btn:hover {
    color: var(--primary-color);
    background-color: var(--white);
}

.footer_bar {
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--white);
    text-align: center;
}

/* ==========================================================================
   AUTHENTICATION MODAL OVERLAY STYLES (#3793)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 43, 90, 0.7); /* Using your --primary-color-dark with alpha opacity */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999; /* Higher stack layer than navigation and chatbot layers */
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
}

/* State management modifier */
.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    width: 90%;
    max-width: 420px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    transform: scale(1);
    transition: transform 0.25s ease-in-out;
}

.modal-overlay.hidden .modal-container {
    transform: scale(0.95);
}

.modal-close-x {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close-x:hover {
    color: var(--text-dark);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.75rem;
}

#signUpForm {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.input-group label {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-dark);
}

.input-group input {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    border: 2px solid var(--extra-light);
    border-radius: var(--radius);
    outline: none;
    transition: border-color 0.2s;
}

.input-group input:focus {
    border-color: var(--primary-color);
}

.error-msg {
    font-size: 0.75rem;
    color: #ef4444; /* Standard web semantic error red */
    font-weight: 500;
    min-height: 1rem;
    margin-top: 0.25rem;
    display: block;
}

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.success-banner {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.success-banner.hidden, .spinner.hidden {
    display: none !important;
}

/* Loader Animation component */
.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


@media(width<550px){
    .booking_form{
        margin: 0px;
    }
    .booking_type{

        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
    }
    .booking_input{
        display: flex;
        flex-direction: column;
        margin-bottom: 10px;
    }
    #book-now-btn{
        display: flex;
        flex-direction: column;

    }
    .service_grid {
        display: flex;
        flex-direction: column;
    }


}


@media (width<768px) {
    .nav{
        width: 100%;
    }

    .nav_bar{
        width: 100%;
        height: 120px;
        align-items: center;
        padding: 1rem;
    }

    .nav_links{
        width: 100%;
        left: 0;
        padding: 1rem;
    }

    .header_container h1{
        margin-top: 125px;
    }
    .header_container p{
        margin-bottom: 20px;
    }
    .booking{
        width: auto;
        display:flex;
        flex-direction: column;
    }
    .booking_type{
        justify-content: space-evenly;
        width: auto;
        margin:20px;
        justify-self: center;
    }
    .booking_form{
        display: table-column;
        justify-self: center;
        width:auto;
        
    }
    .booking_input{
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 6px;

    }
    .booking_input label{
        width: 170px;
    }
    .booking_input input{
        flex: 1;
        min-width: 0;
    }
    #book-now-btn{
        margin:20px 20px;
        
    }
    .service_container {
        margin: 0px;
    }
    .service_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .offer_header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
   
}

@media (min-width: 768px) {
    nav {
        padding: 2rem 1rem;
        position: static;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav_bar {
        padding: 0;
        background-color: transparent;
    }

    .nav_menu_btn {
        display: none;
    }

    .nav_links {
        padding: 0;
        width: unset;
        position: static;
        transform: none;
        flex-direction: row;
        background-color: transparent;
    }

    .header {
        padding: 0;
    }

    .booking {
        max-width: 100%;
    }

    /* 3 equal columns: From | To | Date */
    .booking_form {
        grid-template-columns: repeat(3, 1fr);
        align-items: end;
    }
    .service_grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .offer_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about_container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .footer_container {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    .footer_col:last-child {
        grid-area: unset;
    }
}

@media (min-width: 1024px) {
    
    .service_grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* From | ↔ | To | Date | Passengers — all in one row on desktop */
    .booking_form {
        grid-template-columns: 1fr 1fr 1fr auto;
    }
}


/* Hide containers by default */
.auth-form-container {
    display: none;
}

/* Show only the active container */
.auth-form-container.active {
    display: block;
    animation: fadeInForm 0.3s ease forwards;
}

@keyframes fadeInForm {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq_container {
  background-color: var(--extra-light);
}

.faq_grid {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}



.faq_item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 2px solid var(--primary-color); /* blue border added */
}

.faq_question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: var(--white);
  border: none;
  cursor: pointer;
}

.faq_answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  color: var(--text-light);
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq_item.active .faq_answer {
  max-height: 200px;
  padding: 0 1rem 1rem;
}

