/* =========================================
   CONTACT SECTION
========================================= */

.contact-section {
    position: relative;
    padding: 70px 0;
    overflow: hidden;
}

/* Keep side spacing on the Bootstrap container */
.contact-section .container {
    padding-left: 15px;
    padding-right: 15px;
}


/* =========================================
   LEFT CONTENT
========================================= */

.contact-left {
    position: relative;
    padding-right: 30px;
}

.contact-small-title {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #153a78;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-small-title span {
    display: inline-block;
    width: 42px;
    height: 2px;
    background: #fdbb19;
}

.contact-heading {
    margin: 0 0 10px;
    color: #123778;
    font-size: 52px;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.contact-heading span {
    color: #fdbb19;
}

.contact-description {
    max-width: 520px;
    margin: 0 0 15px;
    color: #6b7895;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================
   CONTACT INFO
========================================= */

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-info-icon {
    width: 68px;
    height: 68px;
    min-width: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 26px;
    margin-right: 22px;
}

.phone-icon,
.location-icon {
    background: #eaf5ff;
    color: #123778;
}

.email-icon {
    background: #fff4dc;
    color: #123778;
}

.contact-info-content {
    padding-top: 2px;
    min-width: 0;
}

.contact-info-content h4 {
    margin: 0 0 3px;
    color: #123778;
    font-size: 18px;
    font-weight: 700;
}

.contact-info-content a {
    display: block;
    color: #526487;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 2px;
    word-break: break-word;
}

.contact-info-content a:hover {
    color: #fdbb19;
}

.contact-info-content p {
    margin: 0;
    color: #71809d;
    font-size: 13px;
    line-height: 1.5;
}

.contact-info-content .address {
    font-size: 14px;
}


/* =========================================
   WHATSAPP BUTTON
========================================= */

.whatsapp-button {
    width: 302px;
    max-width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1.5px solid #16b957;
    border-radius: 12px;
    color: #122d5e;
    background: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-button i:first-child {
    color: #16b957;
    font-size: 32px;
}

.whatsapp-button span {
    flex: 1;
    margin-left: 18px;
    font-size: 16px;
    font-weight: 600;
}

.whatsapp-button i:last-child {
    font-size: 16px;
}

.whatsapp-button:hover {
    background: #16b957;
    color: #ffffff;
}

.whatsapp-button:hover i:first-child {
    color: #ffffff;
}


/* =========================================
   FORM CARD
========================================= */

.contact-form-card {
    position: relative;
    width: 100%;
    padding: 28px 26px 25px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 15px;
    box-shadow:
        0 10px 35px rgba(31, 78, 121, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    margin-right: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.form-heading-line {
    width: 55px;
    height: 2px;
    background: #fdbb19;
    margin-bottom: 14px;
}

.contact-form-card h2 {
    margin: 0 0 5px;
    color: #123778;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.contact-form-card h2 span {
    color: #fdbb19;
}

.form-description {
    margin: 0 0 22px;
    color: #71809d;
    font-size: 15px;
    line-height: 1.5;
}


/* =========================================
   INPUT
========================================= */

.contact-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 45px;
    margin-bottom: 14px;
    border: 1px solid #d7dfeb;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.contact-input:focus-within {
    border-color: #1d5bbf;
    box-shadow: 0 0 0 3px rgba(29, 91, 191, 0.07);
}

.contact-field {
    margin-bottom: 14px;
}

.contact-field .contact-input {
    margin-bottom: 0;
}

.contact-input.is-invalid,
.contact-input.is-invalid:focus-within {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}

.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}

.contact-input > i:first-child {
    width: 48px;
    flex: 0 0 48px;
    text-align: center;
    color: #70809d;
    font-size: 16px;
}

.contact-input input,
.contact-input select {
    flex: 1;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 12px 0 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #526487;
    font-size: 13px;
}

.contact-input input::placeholder {
    color: #73809b;
}

.contact-input select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-input {
    padding-right: 38px;
}

.select-input .select-arrow {
    position: absolute;
    right: 15px;
    width: auto;
    flex: none;
    color: #687894;
    font-size: 11px;
    pointer-events: none;
}


/* =========================================
   TEXTAREA
========================================= */

.contact-textarea {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-height: 92px;
    margin-bottom: 18px;
    border: 1px solid #d7dfeb;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.3s ease;
}

.contact-textarea:focus-within {
    border-color: #1d5bbf;
    box-shadow: 0 0 0 3px rgba(29, 91, 191, 0.07);
}

.contact-textarea > i {
    width: 48px;
    flex: 0 0 48px;
    padding-top: 15px;
    text-align: center;
    color: #70809d;
    font-size: 16px;
}

.contact-textarea textarea {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 90px;
    padding: 13px 12px 10px 0;
    border: 0;
    outline: none;
    resize: vertical;
    background: transparent;
    color: #526487;
    font-size: 13px;
}

.contact-textarea textarea::placeholder {
    color: #73809b;
}


/* =========================================
   SUBMIT BUTTON
========================================= */

.contact-submit-btn {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 0;
    border-radius: 8px;
    background: #0751b8;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-submit-btn i {
    font-size: 17px;
}

.contact-submit-btn:hover {
    background: #123778;
    transform: translateY(-1px);
}


/* =========================================
   TOAST
========================================= */

.contact-toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1100;
    width: min(380px, calc(100vw - 2rem));
}

.contact-toast {
    width: 100%;
    max-width: none;
    color: #ffffff;
    background: #123778;
    border-left: 4px solid #fdbb19 !important;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(8, 43, 98, 0.28);
}

.contact-toast-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.contact-toast-icon {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #123778;
    background: #fdbb19;
    border-radius: 50%;
    font-size: 16px;
}

.contact-toast-message {
    flex: 1;
    min-width: 0;
}

.contact-toast-message strong {
    display: block;
    margin-bottom: 3px;
    color: #fdbb19;
    font-size: 15px;
}

.contact-toast-message p {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.45;
}

.contact-toast-close {
    align-self: flex-start;
    padding: 5px;
    background-color: transparent;
    filter: invert(1);
    opacity: 0.8;
}

.contact-toast-close:hover {
    opacity: 1;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {

    .contact-section {
        padding: 55px 0;
    }

    .contact-section .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .contact-left {
        padding-right: 0;
    }

    .contact-heading {
        font-size: 44px;
    }

    .contact-form-card {
        max-width: 650px;
        margin: 0 auto;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767.98px) {

    .contact-section {
        padding: 40px 0;
    }

    .contact-heading {
        font-size: 36px;
        letter-spacing: -0.5px;
    }

    .contact-description {
        font-size: 14px;
        max-width: 100%;
        margin-bottom: 28px;
    }

    .contact-info-item {
        margin-bottom: 20px;
    }

    .contact-info-icon {
        width: 55px;
        height: 55px;
        min-width: 55px;
        margin-right: 15px;
        font-size: 21px;
    }

    .contact-info-content h4 {
        font-size: 16px;
    }

    .contact-info-content a {
        font-size: 14px;
    }

    .contact-info-content p {
        font-size: 12px;
    }

    .contact-info-content .address {
        font-size: 12px;
    }

    .whatsapp-button {
        width: 100%;
        max-width: 302px;
    }

    .contact-form-card {
        padding: 23px 18px 20px;
        border-radius: 12px;
    }

    .contact-form-card h2 {
        font-size: 25px;
    }

    .form-description {
        font-size: 13px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 575.98px) {

    .contact-section .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .contact-heading {
        font-size: 32px;
    }

    .contact-small-title {
        font-size: 12px;
    }

    .contact-small-title span {
        width: 35px;
    }

    .contact-info-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
        margin-right: 12px;
    }

    .contact-info-content h4 {
        font-size: 15px;
    }

    .contact-form-card {
        margin: 0;
        padding: 22px 16px 20px;
    }

    .contact-form-card h2 {
        font-size: 23px;
    }

    .contact-input {
        height: 44px;
    }
}

.mar {
    margin: 0 !important;
}