/* Contact Page Specific Styles */

/* Hero Section - Reusing styles from home page */
.hero-section {
    display: flex;
    align-items: center;
    position: relative;
    min-height: 546px;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Section Styling */
.section-title {
    font-size: 35px;
    font-weight: 700;
    color: #484848;
    font-family: Montserrat, sans-serif;
    margin-bottom: 10px;
}

.section-subtitle {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 28px;
    color: #484848B0;
    font-weight: 600;
    font-family: Montserrat, sans-serif;
}

/* Quotation Form */

#quotationForm > .row>* {
    padding-left: 20px;
    padding-right: 20px;
}

#destination-offices > .row>* {
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 20px;
}

.quotation-form-wrapper {
    background: white;
    border-radius: 20px;
}

.quotation-form-wrapper form {
    position: relative;
    overflow: hidden;
    padding: 20px 8px;
    border-radius: 10px;
}

.quotation-form-wrapper form::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: #f5f5f5;
    z-index: 0;
    border-radius: 20px;
}

.quotation-form-wrapper form > * {
    position: relative;
    z-index: 1;
}

/* Wave Divider */
.wave-divider {
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-divider .shape-fill {
    fill: #f8f9fa;
}

/* Tabs Styling */
.nav-tabs {
    display: flex;
    width: fit-content;
    background-color: #42A1CE1A;
    border-radius: 10px;
    padding: 10px;
}

.nav-item {
    display: flex;
}

.nav-tabs .nav-link {
    color: #6ec1e4;
    font-weight: 500;
    padding: 15px 30px;
    border: none;
    border-radius: 0;
    transition: all 0.3s ease;
    align-self: center;
    justify-self: center;
}

.nav-tabs .nav-link:hover {
    color: #6ec1e4;
    background: #42A1CE1A;
    border-radius: 10px;
}

.nav-tabs .nav-link.active {
    color: white;
    background: #6ec1e4;
    border: none;
    border-radius: 10px;
}

/* Office Cards */
.office-card {
    background: none;
    padding: 20px;
    border: solid #b1adad 1px;
    border-radius: 15px;
    height: 100%;
}

.office-card h3 {
    color: #6ec1e4;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.office-card address {
    font-style: normal;
    color: #666;
    line-height: 1.8;
}

.general-email {
    margin-left: 20px;
}

/* Sales Office Cards */
.sales-office-card {
    padding: 10px 20px;
    border-radius: 15px;
    height: 100%;
}

.sales-office-card h3 {
    color: #6ec1e4;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.sales-team p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Form Styling */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control,
.form-select {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
}

.form-control,
.form-select {
    border-color: #b1adad;
}

.form-control:focus,
.form-select:focus {
    border-color: #6ec1e4;
    box-shadow: 0 0 0 0.2rem rgba(110, 193, 228, 0.25);
}

/* Toast Styling */
.toast {
    min-width: 300px;
}

a {
    color: #54595f;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    text-decoration: none;
}

@media (min-width: 768px) {

    .form-question-width-20 {
        width: 20%;
    }

    .form-question-width-30 {
        width: 30%;
    }

    .form-question-width-40 {
        width: 40%;
    }

    .form-question-width-60 {
        width: 60%;
    }

    .btn-main-contact {
        margin-top: 34px;
        width: 100%;
        align-self: end;
    }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .quotation-form-wrapper {
        padding: 30px 20px;
    }

    .nav-tabs .nav-link {
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: wrap;
    }

    .nav-tabs .nav-item {
        width: -webkit-fill-available;
    }

    .nav-tabs .nav-link.active {
        width: -webkit-fill-available;
    }

    .nav-tabs .nav-link {
        width: -webkit-fill-available;
    }

    .hero-section {
        min-height: 0;
        padding: 60px 0 115px 0;
    }

    .quotation-form-wrapper form::before {
        width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .office-card,
    .sales-office-card {
        padding: 20px;
    }
}