/* ============================================
   CONTACT US SECTION - Version 1.0
   ============================================ */

.contact-us-section {
    padding: 0 120px;
    margin: 0 auto;
    color: #ffffff;
}

.contact-us-wrapper {
    background-color: #005b68;
    border-radius: 40px;
    padding: 64px 40px;
    max-width: 1200px;
}

.contact-us-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/* ============================================
   HEADER SECTION
   ============================================ */

.contact-header {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.contact-text-content {
    flex: 1;
    min-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-title {
    font-family: 'IvyOra Display', serif;
    font-size: 32px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0;
}

.contact-title .bold {
    font-weight: 700;
    font-style: normal;
}

.contact-title .italic {
    font-style: italic;
}

.contact-description {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0;
}

.contact-description p {
    color: #ffffff;
    margin: 0 0 16px 0;
}

.contact-description p:last-child {
    margin-bottom: 0;
}

.contact-header-image {
    flex-shrink: 0;
    width: 393px;
    height: 255px;
    border-radius: 24px 24px 24px 200px;
    overflow: hidden;
}

.contact-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   MAIN SECTION
   ============================================ */

.contact-main-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-section-heading {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-subtitle {
    font-family: 'IvyOra Display', serif;
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0;
}

.contact-subtitle .bold {
    font-weight: 700;
    font-style: normal;
}

.contact-subtitle .italic {
    font-style: italic;
}

.contact-subtext {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0;
    max-width: 530px;
}

/* ============================================
   CONTACT CONTENT (Form + Calendar)
   ============================================ */

.contact-content {
    display: flex;
    gap: 32px;
    align-items: center;
    min-height: 831px;
}

/* Form Container */
.contact-form-container {
    flex: 1;
    border: 1px solid #ffffff;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Inputs */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: #ffffff;
    border: none;
    border-radius: 41.58px;
    padding: 12px 16px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #403936;
    line-height: 1;
    letter-spacing: 0;
    outline: none;
}

.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
    color: #403936;
}

.form-textarea {
    border-radius: 16.632px;
    resize: vertical;
    min-height: 187px;
    padding: 16px;
}

/* Select Wrapper */
.form-select-wrapper {
    position: relative;
    width: 100%;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 15px;
    height: 15px;
    transition: transform 0.3s ease;
}

.form-select-wrapper.open .select-icon {
    transform: translateY(-50%) rotate(180deg);
}

/* Submit Button */
.contact-submit-btn {
    background: #ffffff;
    border: 1px solid #d4d2e3;
    border-radius: 100px;
    padding: 16px 24px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #005b68;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-submit-btn:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

/* Divider */
.contact-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-divider span {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0;
}

/* Calendar */
.contact-calendar {
    flex-shrink: 0;
    width: 361px;
    border-radius: 16px;
    overflow: hidden;
}

.contact-calendar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============================================
   RESPONSIVE - TABLET (768px - 1200px)
   ============================================ */

@media (max-width: 1200px) {
    .contact-us-section {
        padding: 0 60px;
    }

    .contact-header {
        gap: 32px;
    }

    .contact-text-content {
        min-width: 300px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 24px;
    }

    .contact-header-image {
        width: 340px;
        height: 220px;
        border-radius: 20px 20px 20px 150px;
    }

    .contact-content {
        min-height: auto;
    }

    .contact-calendar {
        width: 320px;
    }
}

/* ============================================
   RESPONSIVE - BELOW 1200px (Stack Form & Calendar)
   ============================================ */

@media (max-width: 1199px) {
    .contact-content {
        flex-direction: column;
        gap: 24px;
    }

    .contact-divider {
        display: none;
    }

    .contact-calendar {
        width: 100%;
        max-width: 500px;
    }

    .contact-form-container {
        width: 100%;
    }
}

/* ============================================
   RESPONSIVE - MOBILE (<768px)
   ============================================ */

@media (max-width: 767px) {
    .contact-us-section {
        padding: 0 16px;
        border-radius: 40px;
    }

    .contact-us-wrapper {
        padding: 40px 16px;
    }

    .contact-us-container {
        gap: 48px;
    }

    .contact-header {
        flex-direction: column;
        gap: 16px;
    }

    .contact-text-content {
        min-width: 100%;
        gap: 16px;
    }

    .contact-title {
        font-size: 24px;
        font-weight: 500;
    }

    .contact-description {
        font-size: 16px;
    }

    .contact-header-image {
        width: 100%;
        height: 153px;
        border-radius: 9.939px 9.939px 124.238px 9.939px;
    }

    .contact-main-section {
        gap: 24px;
    }

    .contact-section-heading {
        gap: 16px;
    }

    .contact-subtitle {
        font-size: 16px;
        font-weight: 700;
        font-style: italic;
    }

    .contact-subtext {
        font-size: 16px;
        max-width: 100%;
    }

    .contact-content {
        flex-direction: column;
        gap: 24px;
        min-height: auto;
    }

    .contact-form-container {
        padding: 16px;
        border-radius: 18px;
    }

    .contact-form {
        gap: 20px;
    }

    .form-input,
    .form-select {
        font-size: 16px;
        padding: 10px 16px;
        height: 41.58px;
    }

    .form-textarea {
        min-height: 95.635px;
        font-size: 16px;
    }

    .contact-submit-btn {
        padding: 13.663px 20.495px;
        height: 48px;
        border-radius: 30px;
    }

    .contact-divider {
        display: none;
    }

    .contact-calendar {
        width: 100%;
        max-width: 100%;
        aspect-ratio: 361 / 356;
    }

    .contact-calendar img {
        width: 100%;
        height: auto;
    }
}
