.contact-page .contact-hero-container {

    padding-top: 180px;

    padding-bottom: 104px;

    background-color: var(--rp-headlines);

    color: var(--rp-white);

}



.contact-page .hero-content {

    gap: 20px !important;

    align-items: start !important;

    grid-template-columns: 1fr 1fr;

}



.contact-page .hero-content .hero-title {

    margin-top: 24px;

    margin-bottom: 12px;

}



.contact-page .hero-text {

    max-width: 511px;

}



.contact-page .hero-content .hero-description {

    margin-bottom: 28px;

}



.contact-page .hero-content .hero-badges img {

    height: 80px;

}



.contact-page .arrow-bottom {

    width: 220px;

    left: inherit;

    right: -100px;

}



.contact-page .arrow-bottom img {

    transform: rotateY(180deg);

}



/* Hero Section Form */

.contact-hero-form {

    width: 100%;

}



.contact-hero-form .hero-form-wrapper {

    padding: 50px 40px;

    background-color: var(--rp-bright-red);

    border-radius: 24px;

    max-width: 580px;

    margin-left: auto;

}



.contact-hero-form .hero-form-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    position: relative;

}



.contact-hero-form .hero-form-header h2 {

    color: var(--rp-white);

    font-size: var(--heading-mobile-lg-size);

    line-height: var(--heading-mobile-lg-line);

    max-width: 250px;

    position: relative;

    z-index: 2;

    margin-bottom: 24px;

}



.contact-hero-form .hero-form-wrapper .animated-image-container {

    width: 228px;

    position: absolute;

    right: 0;

    bottom: 0;

}



.contact-hero-form .hero-form-wrapper .animated-image-container .animated-image {

    position: relative;

    z-index: 1;

    width: 100%;

    height: auto;

}



.contact-hero-form .hero-form-wrapper .animated-image-container .asterisk-icon-rotate {

    position: absolute;

    top: inherit;

    left: inherit;

    right: 0;

    bottom: 15px;

    width: fit-content;

    height: fit-content;

    animation: spin 60s linear infinite;

}



@keyframes spin {

    from {

        transform: rotate(0deg);

    }



    to {

        transform: rotate(360deg);

    }

}



.contact-address-box {

    margin-bottom: 28px;

}



.contact-address-item img {

    width: 24px;

    height: 24px;

}



.contact-hero-form .checkbox_field {

    background-color: var(--rp-background);

    color: var(--rp-headlines);

    padding: 10px;

}



.contact-hero-form .form-check-input[type=checkbox] {



    background-color: var(--rp-background);

    color: #1C1B1F !important;

    accent-color: #1C1B1F !important;

    border-color: #1C1B1F;

}



.contact-hero-form .form-check-input:active {

    color: #1C1B1F !important;

}



/*.contact-hero-form .form-check-input:checked {*/

/*    background-color: #1C1B1F !important;*/

/*}*/



.contact-hero-form form .checkbox-container {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

}



/* Review Section */



.review-container {

    padding: 60px 20px;

}



.review-text {

    text-align: center;

}



.review-content {

    gap: 64px;

    display: flex;

    flex-direction: column;

}



.review-grid {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

}



.review-grid-item {

    width: 280px;

    background-color: var(--rp-white);

    padding: 40px;

    border-radius: 24px;

    gap: 12px;

    box-shadow: 0px 4px 10px 0px #0000000D;



}



.review-top-container,

.review-bottom-container {

    display: flex;

    flex-direction: column;

    gap: 12px;

}



.review-top-container img {

    width: 100px;

    height: auto;

}



.review-author {

    display: flex;

    align-items: center;

    gap: 10px;

}



.review-author img {

    width: 45px;

    height: 45px;

    border-radius: 50%;

    aspect-ratio: 1/1;

    object-fit: cover;

    background-color: var(--rp-pale-pink);

}



.review-author-info {

    gap: 6px;

}



/* Offices Section */



.contact-page .offices-section {

    background-color: var(--rp-headlines);

    color: var(--rp-white);

}



.contact-page .offices-section .section-header h2,

.contact-page .offices-section .section-header p {

    color: var(--rp-white);

}



.contact-page .office-list li .office-title-button,

.contact-page .office-list li p {

    color: var(--rp-white);

}



.contact-page .office-list li a {

    color: var(--rp-dark-pink);

}





/* Responsive Design */





/* Desktop (992px - 1399px) */

@media (min-width: 992px) and (max-width: 1399px) {



    /* Hero Section */



    .contact-hero-form .hero-form-wrapper {

        padding: 50px 20px;

    }



    .contact-hero-form .hero-form-wrapper .animated-image-container .animated-image {

        width: 250px;

        left: 60px;

    }



    .contact-page .arrow-bottom {

        width: 220px;

        left: inherit;

        right: -60px;

    }



    /* Review Section */



    .review-grid {

        grid-template-columns: repeat(3, 1fr);

    }



    .review-grid-item {

        width: 100%;

    }

}





/* Tablets (768px - 991px) */

@media (max-width: 991px) {



    /* Hero Section */



    .contact-page .hero-content {

        grid-template-columns: 1fr;

    }





    .contact-page .contact-hero-container {

        padding: 80px 20px;

    }



    .contact-page .hero-text {

        width: 100%;

    }



    .contact-hero-form .hero-form-wrapper {

        width: 100%;

        max-width: 100%;

    }



    .contact-hero-form .hero-form-wrapper .animated-image-container .animated-image {

        width: 250px;

        left: 60px;

    }



    /* Review Section */



    .review-grid {

        grid-template-columns: repeat(2, 1fr);

    }



    .review-grid-item {

        width: 100%;

    }



    .review-content {

        gap: 40px;

    }

}





@media (max-width: 1024px) and (min-width: 768px) {



    .contact-page .offices-section .row {

        display: flex;

        flex-direction: column;

    }



    .contact-page .offices-section .col-md-6 {

        width: 100%;

    }

}





/* Mobile (576px - 767px) */

@media (max-width: 767px) {



    /* Hero Section */



    .contact-hero-form .hero-form-wrapper .animated-image-container {

        display: none;

    }



    /* Review Section */



    .review-grid {

        grid-template-columns: repeat(1, 1fr);

    }



    .review-grid-item {

        width: 100%;

    }



    /*.contact-page .office-list ul {*/

    /*    grid-template-columns: repeat(1, 1fr);*/

    /*}*/



    .contact-page .contact-hero-form .hero-form-wrapper {

        padding: 50px 20px;

    }



    .contact-page .faq-container {

        padding: 50px 20px;

    }



    .contact-page .hero-text,

    .contact-page .hero-content {

        padding: 0;

    }



    .review-content.container {

        padding: 0;

    }



    /*.contact-page .offices-section .office-list ul {*/

    /*    grid-template-columns: repeat(1, 1fr);*/

    /*}*/



}