* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #0f1b2d;
}

main {
    flex: 1;
}

/* Contact Section Styles */
.contact-section {
    padding: 40px 0;
    background-color: #f6f9f9;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Header */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 36px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.2;
}

.contact-description {
    font-size: 16px;
    color: #666;
    max-width: 80%;
    margin: 0 auto;
    line-height: 1.6;
}

.info-form-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 5.5fr) minmax(0, 4.5fr);
    gap: 30px;
}

/* Company Info */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #3f8274;
    width: 100% !important;
    min-width: 100px;
    box-sizing: border-box;
}

.info-title {
    font-size: 25px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.info-subtitle {
    font-size: 16px;
    font-weight: 530;
    color: #3f8274;
    margin-bottom: 12px;
    text-align: center;
}

.info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-label {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 3px;
}

.info-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

/* Map Container */
.map-container {
    background: #f6f9f9;
    padding: 5px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.map-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 20px;
}

.contact-map {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
    border-radius: 8px;
    margin-bottom: 15px;
}

.map-address {
    font-size: 13px;
    color: #666;
    margin: 0;
    text-align: center;
}

.contact-map iframe {
    width: 100% !important;
    height: 100%;
}

/* Contact Form */
.contact-form-wrapper {
    display: flex;
    align-items: stretch;
}

.form-card {
    background: #ffffff;
    padding: 28px 35px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.form-title {
    font-size: 25px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* =====================
   CUSTOM FLUENT FORMS STYLE
===================== */
.custom-fluent-style fieldset{
    display: flex ;
    flex-direction: column;
    gap: 20px;
}

.custom-fluent-style .fluentform {
    width: 100%;
}


.custom-fluent-style .ff-el-input--label,
.custom-fluent-style .ff-el-form-control-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    line-height: 1.35;
}

.custom-fluent-style .ff-el-input--label.ff-el-is-required label,
.custom-fluent-style .ff-el-input--label label {
    color: #1f2937 !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

.custom-fluent-style .ff-el-input--label.ff-el-is-required.asterisk-right label:after,
.custom-fluent-style .ff-el-input--label.ff-el-is-required.asterisk-left label:before,
.custom-fluent-style .ff-el-form-control-label .text-danger,
.custom-fluent-style .ff-el-input--label label .text-danger {
    color: #d2801d !important;
}

.custom-fluent-style .ff-el-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 15px;
    font-family: inherit;
    color: #1f2937;
    transition: all 0.3s ease;
}

.ff-el-form-control::placeholder{
    font-weight: 400;
}

.ff-btn-submit{
    font-weight: bold !important;
}

.custom-fluent-style .ff-el-form-control::placeholder {
    color: #a0a5ae;
}

.custom-fluent-style .ff-el-form-control:focus {
    border-color: #3f8274;
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(63, 130, 116, 0.1);
}

.custom-fluent-style textarea.ff-el-form-control {
    resize: vertical;
    min-height: 150px;
}

.custom-fluent-style .ff_submit_btn_wrapper {
    margin-top: 15px;
}

.custom-fluent-style .ff-btn-submit {
    width: 100%;
    padding: 18px 28px;
    background-color: #3f8274;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fluentform .ff-el-group {
    margin-bottom: 0px !important;
}

.custom-fluent-style .ff-btn-submit:hover {
    background-color: #3f8274;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(63, 130, 116, 0.3);
}

/* Responsive Design - Info & Form Section */
@media (max-width: 768px) {
    .contact-section {
        padding: 30px 0;
    }

    .contact-header {
        margin-bottom: 40px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-description {
        font-size: 15px;
    }

    .info-form-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-card {
        min-width: 100px;
    }

    .info-title {
        font-size: 20px;
    }

    .info-subtitle {
        font-size: 14px;
    }

    .map-container {
        padding: 20px;
    }

    .contact-map {
        height: 250px;
    }

    .form-card {
        padding: 35px 25px;
        height: auto;
    }

    .form-title {
        font-size: 24px;
    }

    .custom-fluent-style .ff-el-input--label,
    .custom-fluent-style .ff-el-form-control-label {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .custom-fluent-style .ff-el-form-control {
        padding: 12px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 15px 0;
    }

    .contact-section .container {
        padding: 0 12px;
    }

    .contact-header {
        margin-bottom: 20px;
    }

    .contact-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .contact-description {
        font-size: 12px;
        line-height: 1.5;
    }

    .info-card {
        padding: 16px;
        border-left: 3px solid #3f8274;
    }

    .info-title {
        font-size: 13px;
        margin-bottom: 1px;
    }

    .info-subtitle {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .info-item {
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .info-label {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .info-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .map-container {
        padding: 10px;
    }

    .contact-map {
        height: 160px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

    .map-title {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .map-address {
        font-size: 10px;
        line-height: 1.4;
    }

    .form-card {
        padding: 18px 14px;
        height: auto;
        border-radius: 12px;
    }

    .form-title {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .contact-form {
        gap: 14px;
    }

    .custom-fluent-style .ff-el-input--label,
    .custom-fluent-style .ff-el-form-control-label {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .custom-fluent-style .ff-el-form-control {
        padding: 9px 11px;
        font-size: 11px;
        border-radius: 5px;
    }

    .custom-fluent-style textarea.ff-el-form-control {
        min-height: 100px;
    }

    .custom-fluent-style .ff-btn-submit {
        padding: 11px 16px;
        font-size: 12px;
        border-radius: 5px;
    }
}
