@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

* {
    margin: 0;
    padding: 0;
    font-family: Poppins;
}

#contact-page-hero {
    background-image: url(/hms/assets/contact/contact-hero.webp);
    background-size: cover;
    background-position: 50% 80%;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    position: relative;
    top: -75px;
    overflow: hidden;
}

#contact-page-hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

#contact-page-hero > * {
    position: relative;
    z-index: 2;
}

#contact-page-hero .content-overlay {
    position: relative;
    z-index: 3;
    top: 80px;
    left: 50px;
    color: black;
}

#contact-page-hero .title-h3 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    left: -102px;
    display: inline-block;
}

#contact-page-hero .title-h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: transform 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

#contact-page-hero .title-h3:hover::after {
    transform: scaleX(1);
}

.card-branch {
    transition: box-shadow 0.1s ease-in-out, border-bottom 0.1s ease-in-out,
        color 0.1s ease-in-out;
}
.card-branch:hover {
    box-shadow: 2px -2px 5px #999;
    border-bottom: 2px solid #e9833a;
    color: #0068a7;
}
.card-branch:hover .hover-bold {
    font-weight: 500;
}

#cta-contact {
    display: flex;
    width: 100%;
    height: 2.875rem;
    padding-top: 17px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #eceff2;
    text-align: center;
}

.decs-cta-contact img {
    vertical-align: middle;
    margin-right: 8px;
}
.decs-cta-contact {
    color: #010a5a;
    text-align: center;
    font-size: 0.90088rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.6875rem;
}

@media (max-width: 767px) {
    .footer-office {
        text-align: center;
    }

    #contact-page-hero .title-h3 {
        left: -12px;
    }
}

.accordion-button::after {
    display: none !important;
}

.accordion-button.no-arrow:focus {
    box-shadow: none;
}

.toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}
.toggle-icon.fade-out {
    opacity: 0;
    transform: rotate(90deg);
}
.toggle-icon.fade-in {
    opacity: 1;
    transform: rotate(0deg);
}

.toggle-icon {
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.toggle-icon.fa-plus {
    transform: rotate(0deg);
}
.toggle-icon.fa-minus {
    transform: rotate(180deg);
}

/* FORM */
.contact-card {
    overflow: hidden;
    background-color: #f8f9fa;
    box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.contact-info {
    background: linear-gradient(
        180deg,
        rgba(16, 129, 198, 0.8) 0%,
        #1059c6 75%
    );
    border-radius: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.title-form {
    color: #777777;
}

.icon-box {
    background-color: #ff8534;
    color: #fff;
    width: 42px;
    height: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 0 60px 0 rgba(0, 0, 0, 0.1);
}

.icon-box svg {
    width: 22px;
    height: 22px;
}

.contact-card .col-md-7 {
    color: #777777;
    background-color: #ffffff;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-card .col-md-7 h4 {
    color: #000;
    font-weight: 700;
}

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

.form-control:focus,
.form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.1);
}

.form-control::placeholder {
    color: #777777;
    opacity: 0.8;
}

#first_name,
#email,
#whatsapp,
#company {
    background-color: #eceff1;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #007bff;
    font-size: 16px;
    z-index: 5;
}

.btn-primary {
    background-color: linear-gradient(
        180deg,
        rgba(16, 129, 198, 0.8) 0%,
        #1059c6 75%
    );
    border: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .contact-info {
        border-bottom-left-radius: 0;
        border-top-right-radius: 1rem;
    }
}
