/*
.container {
    max-width: 1920px;
    padding: 0 80px;
}

@media (max-width: 1152px) {
    .container {
        padding: 0 60px;
    }
}

@media (max-width: 599px) {
    .container {
        padding: 0 16px;
    }
}
*/

.contact-section {
    padding: 0rem 0 2rem;
    /* background: #f7f7fb; */
    font-family: 'Poppins' !important;
}

.contact-section__inner {
    display: grid;
    gap: 2rem;
    position: relative;
}
.contact-section__inner::before {
    display: grid;
    gap: 2rem;
    position: relative;
}
.contact-section__aside {
    display: flex;
    flex-direction: column;
}

.contact-section__info {
    background: #d71920;
    color: #fff;
    border-radius:0px;
    padding:5rem 2.5rem 12rem 2.5rem;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 80% 0, 100% 100%, 100% 100%, 0 100%);
}

.contact-section__eyebrow {
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.contact-section__title {
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    margin: 0;
    max-width: 16ch;
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
}

.contact-detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.contact-detail__icon {
    min-width: 2.5rem;
    min-height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1rem;
}

.contact-detail__icon--phone::before {
    content: "☎";
}

.contact-detail__icon--email::before {
    content: "✉";
}

.contact-detail__icon--location::before {
    content: "📍";
}

.contact-detail__label {
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.contact-detail__value {
    margin: 0;
    line-height: 1.8;
    font-size: 0.95rem;
    opacity: 0.96;
}

.contact-section__form-card {
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 24px 80px rgba(13, 36, 83, 0.12);
    padding: 2rem;
    margin-top: -2rem;
    z-index: 1;
}

.contact-section__form-card h3 {
    margin: 0 0 1.5rem;
    font-size: 1.6rem;
}

.contact-form {
    display: grid;
    gap: 0.6rem;
}

.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid #d2d2dd;
    background: transparent;
    padding: 0.9rem 0;
    outline: none;
    font-size: 1rem;
    color: #2a2a35;
}

.contact-form__field textarea {
    resize: vertical;
    height: 6rem;
    padding-top: 0.9rem;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 5.5rem minmax(0, 1fr);
    gap: 1rem;
}

.contact-form__field--small input {
    max-width: 100%;
    text-align: left;
}

.contact-form__verification {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 0.75rem;
    align-items: center;
}

.contact-form__verification-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: #f1f1f9;
    font-weight: 700;
    color: #14142b;
}

.contact-form__verification-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 3rem;
    width: 3rem;
    border-radius: 12px;
    border: 1px solid #d2d2dd;
    background: #fff;
    color: #d71920;
    cursor: pointer;
    font-size: 1.2rem;
}

.contact-form__field--verification input {
    padding: 0.9rem 0.9rem;
    border-bottom: 1px solid #d2d2dd;
}

.contact-form__submit {
    margin-top: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 100px;
    background: #d71920;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: fit-content;
    box-shadow: 0 10px 24px rgba(215, 25, 32, 0.24);
}

.contact-section__map {
    display: grid;
    gap: 1rem;
    margin-top: 2.5rem;
}

.contact-section__map-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 22px 52px rgba(13, 36, 83, 0.08);
}

.contact-section__map-title {
    margin: 0 0 0.75rem;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #14142b;
}

.contact-section__map-hours {
    margin: 0;
    color: #5f5f6d;
    line-height: 1.7;
    font-size: 0.95rem;
}

.contact-section__map-frame {
    position: relative;
    min-height:500px;
    overflow: hidden;
    border-radius:16px;
    box-shadow: 0 22px 52px rgba(13, 36, 83, 0.08);
}

.contact-section__map-frame iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.contact-form__error{
    color :#d71920
}

body.contact-success-modal-open {
    overflow: hidden;
}

.contact-toast {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translate(-50%, 1rem);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    background: #14142b;
    color: #fff;
    padding: 0.95rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 18px 40px rgba(20, 20, 43, 0.22);
    font-size: 0.95rem;
    font-weight: 600;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.contact-toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.contact-toast.is-error {
    background: #d71920;
}
.contact-form__success{
        color: #175517;
}

.contact-success-modal[hidden] {
    display: none !important;
}

.contact-success-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
    box-sizing: border-box;
}

.contact-success-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 23, 38, 0.45);
    backdrop-filter: blur(4px);
}

.contact-success-modal__dialog {
    position: relative;
    width: min(100%, 720px);
    margin-top: 1rem;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, 0.24);
    padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4.5rem);
    text-align: center;
    overflow: hidden;
    transform: scale(0.96);
    opacity: 0;
    transition: transform 180ms ease, opacity 180ms ease;
    z-index: 1;
}

.contact-success-modal.is-visible .contact-success-modal__dialog {
    transform: scale(1);
    opacity: 1;
}

.contact-success-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    color: #111827;
    font-size: 2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
}

.contact-success-modal__ornament {
    position: absolute;
    width: 8.5rem;
    height: 8.5rem;
    border-radius: 999px;
    opacity: 0.95;
    pointer-events: none;
    z-index: 0;
}

.contact-success-modal__ornament--top {
    top: 0;
    right: 0;
    background: #d6e5f8;
    border-top-right-radius: 18px;
    border-bottom-left-radius: 999px;
}

.contact-success-modal__ornament--bottom {
    left: 0;
    bottom: 0;
    background: #d8f4d9;
    border-bottom-left-radius: 18px;
    border-top-right-radius: 999px;
}

.contact-success-modal__icon {
    width: clamp(4.5rem, 8vw, 5.75rem);
    height: clamp(4.5rem, 8vw, 5.75rem);
    margin: 0 auto 1.5rem;
    color: #189d1f;
    position: relative;
    z-index: 1;
}

.contact-success-modal__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.contact-success-modal__title {
    margin: 0 auto 1rem;
    max-width: 12ch;
    color: #189d1f;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.contact-success-modal__message {
    margin: 0 auto;
    max-width: 26rem;
    color: #1f2937;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.55;
    position: relative;
    z-index: 1;
}

@media (max-width: 767px) {
    .contact-success-modal {
        padding: 0.75rem;
        align-items: center;
    }

    .contact-success-modal__dialog {
        width: min(100%, 100%);
        border-radius: 16px;
        padding: 3rem 1.25rem 2.25rem;
    }

    .contact-success-modal__ornament {
        width: 6.25rem;
        height: 6.25rem;
        opacity: 0.75;
    }

    .contact-success-modal__ornament--top {
        top: -1.1rem;
        right: -1.15rem;
    }

    .contact-success-modal__ornament--bottom {
        left: -1.35rem;
        bottom: -1.35rem;
    }

    .contact-success-modal__close {
        top: 0.75rem;
        right: 0.75rem;
    }

    .contact-success-modal__icon {
        margin-bottom: 1.1rem;
    }

    .contact-success-modal__title {
        max-width: 14ch;
        font-size: 1.9rem;
        margin-bottom: 0.85rem;
    }

    .contact-success-modal__message {
        max-width: 22rem;
        font-size: 1rem;
    }
}
@media (min-width: 768px) {
    .contact-section__inner {
        gap: 2.5rem;
    }

    .contact-section__form-card {
        margin-top: 3rem;
        position: absolute;
    right: 0;
    width: 55%;
    margin-left: 60%;
    background-color: #FBF8FF;
    }

    .contact-form__verification {
        grid-template-columns: auto auto minmax(14rem, 1fr);
    }
}

@media (min-width: 992px) {
    .contact-section__inner {
        grid-template-columns: 2fr 1.25fr;
        align-items: start;
    }

    .contact-section__aside {
        align-self: stretch;
    }
}

@media (max-width:767px){ 
    .contact-section__info {
  background: #d71920;
  color: #fff;
  border-radius: 0px;
  padding:2.5rem 2.5rem 6rem 2rem;
  position: relative;
  overflow: hidden;
  clip-path: none;
}
.contact-section__form-card { 
  margin-top: -5rem; 
}
}

@media (max-width:620px){ 

.contact-section__form-card {
padding: 2rem 1rem;

    }
    .contact-form__verification {
    grid-template-columns: repeat(2, 1fr);
    }
    .contact-form__field.contact-form__field--verification{
        grid-column: 1 / -1;
    }
}
