/* About & Contact Pages - Auto Vredendal */

/* ===== ABOUT PAGE ===== */
.about-banner {
    padding-top: 40px;
    padding-bottom: 40px;
    text-align: center;
    background-color: #c9e4de;
    position: relative;
}
.about-banner__subtitle {
    padding: 0px 280px;
    margin-top: 20px;
}
@media only screen and (max-width: 991px) {
    .about-banner__subtitle { padding: 0px 30px; }
}
.about-banner__btn {
    margin: 5px;
}
@media only screen and (max-width: 767px) {
    .about-banner__btn { margin: 12px 50px; display: block; }
}
.about-banner__floating-image-left {
    position: absolute;
    left: 0;
    top: 100px;
    width: 260px;
}
@media only screen and (max-width: 1279px) {
    .about-banner__floating-image-left { display: none; }
}
.about-banner__floating-image-right {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 200px;
    z-index: 1;
}
@media only screen and (max-width: 1279px) {
    .about-banner__floating-image-right { display: none; }
}

.about-items {
    margin-top: 40px;
    margin-bottom: 10px;
    position: relative;
}
.about-items__item {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
    padding: 46px 60px;
    margin-bottom: 40px !important;
    border-radius: 26px;
    width: 90%;
    margin: 0 auto;
}
@media only screen and (max-width: 991px) {
    .about-items__item {
        grid-template-columns: repeat(1, 1fr);
        width: 100%;
        padding: 30px 30px;
        text-align: center;
    }
}
.about-items__image-block {
    display: flex;
    justify-content: center;
    align-items: center;
}
.about-items__image {
    width: 80%;
}
.about-items__item-one {
    border: 1px solid #f2aaae;
}
.about-items__item-one .about-items__item-title {
    color: #f2aaae;
}
.about-items__item-title {
    margin-bottom: 15px;
}
.about-items__item-two {
    background-color: #dbcdf0;
    z-index: 9;
}
.about-items__item-three {
    border: 1px solid #c9e4de;
}
@media only screen and (max-width: 991px) {
    .about-items__item-three { display: none; }
}
.about-items__item-three .about-items__item-title {
    color: #c9e4de;
}
@media only screen and (max-width: 991px) {
    .about-items__item-three .about-items__item-title { margin-top: 15px; }
}
.about-items__item-three .about-items__item-button {
    background-color: #c9e4de;
}
.about-items__item-buttons {
    margin-top: 30px;
}
@media only screen and (max-width: 991px) {
    .about-items__item-buttons { margin-bottom: 20px; }
}
.about-items__item-button {
    margin: 5px;
}
@media only screen and (max-width: 767px) {
    .about-items__item-button { margin: 12px 50px; display: block; }
}
.about-items__item-four {
    background-color: #faedcb;
    display: grid;
}
@media only screen and (max-width: 991px) {
    .about-items__item-four { display: none; }
}
.about-items__item-four-mobile {
    display: none;
}
@media only screen and (max-width: 991px) {
    .about-items__item-four-mobile { display: block; }
}
.about-items__item-three-mobile {
    display: none;
}
@media only screen and (max-width: 991px) {
    .about-items__item-three-mobile { display: block; }
}
.about-items__floating-image-one {
    position: absolute;
    top: 19.6%;
    right: 0;
    width: 230px;
    z-index: 0;
}
@media only screen and (max-width: 1279px) {
    .about-items__floating-image-one { display: none; }
}
.about-items__floating-image-two {
    position: absolute;
    left: 0;
    width: 144px;
    top: 40%;
}
@media only screen and (max-width: 1279px) {
    .about-items__floating-image-two { display: none; }
}
.about-items__floating-image-three {
    position: absolute;
    top: 81%;
    left: 0;
    width: 230px;
    z-index: 999;
}
@media only screen and (max-width: 1279px) {
    .about-items__floating-image-three { display: none; }
}
.about-items__floating-image-four {
    position: absolute;
    right: 0;
    top: 84%;
    width: 170px;
    z-index: 999;
}
@media only screen and (max-width: 1279px) {
    .about-items__floating-image-four { display: none; }
}

/* ===== CONTACT PAGE ===== */
.contact-us {
    position: relative;
    padding-bottom: 40px;
}
.contact-us__wrapper {
    display: grid;
    grid-gap: 20px;
    grid-template-columns: repeat(3, 1fr);
    padding-top: 40px;
    padding-bottom: 40px;
    margin: 0 auto;
    width: 90%;
}
@media only screen and (max-width: 991px) {
    .contact-us__wrapper { display: block; }
}
.contact-us__detail {
    display: flex;
}
.contact-us__icon {
    margin-right: 10px;
    width: 15px;
    height: 15px;
    object-fit: contain;
}
.contact-us__details {
    margin-top: 65px;
    padding-left: 20px;
}
@media only screen and (max-width: 991px) {
    .contact-us__details { margin-top: 25px; padding-left: 0px; }
}
.contact-us__details-link {
    display: block;
    margin-bottom: 1rem;
    color: #263238;
}
.contact-us__title {
    margin-bottom: 30px;
    color: #dbcdf0;
}
@media only screen and (max-width: 991px) {
    .contact-us__title { text-align: center; }
}
.contact-us__form {
    padding-right: 0px;
}
@media only screen and (max-width: 991px) {
    .contact-us__form { padding-right: 0px; }
}
.contact-us__image-block {
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-us__image {
    width: 500px;
}
@media only screen and (max-width: 991px) {
    .contact-us__image { width: 310px; }
}
.contact-us__floating-img-center {
    position: absolute;
    bottom: -60px;
    width: 260px;
    left: 30%;
    z-index: 1;
}
@media only screen and (max-width: 1279px) {
    .contact-us__floating-img-center { display: none; }
}
.contact-us__floating-img-right {
    position: absolute;
    top: 260px;
    right: 0;
    z-index: 0;
    width: 100px;
}
@media only screen and (max-width: 1279px) {
    .contact-us__floating-img-right { display: none; }
}
@media only screen and (min-width: 993px) and (max-width: 1130px) {
    .contact-us__form { padding-right: 130px; }
}

/* ===== CONTACT FORM CUSTOM STYLES ===== */
.contact-form {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
}
.contact-form .form-group {
    margin-bottom: 16px;
}
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #263238;
    font-size: 14px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form input[type="number"],
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s;
    background: #fafafa;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #c9e4de;
    outline: none;
    background: #fff;
}
.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 16px;
}
@media only screen and (max-width: 767px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}
.contact-form .btn-submit {
    display: inline-block;
    padding: 12px 40px;
    background-color: #dbcdf0;
    color: #1E1E18;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}
.contact-form .btn-submit:hover {
    background-color: #c9b8e8;
}

/* Pre-approval form section */
.preapproval-section {
    padding: 40px 0;
    background-color: #c6def1;
    position: relative;
}
.preapproval-section__wrapper {
    max-width: 70%;
    background-color: #fff;
    border-radius: 21px;
    padding: 40px;
    margin: 0 auto;
}
@media only screen and (max-width: 991px) {
    .preapproval-section__wrapper { max-width: 95%; padding: 25px; }
}
.preapproval-section__title {
    color: #dbcdf0;
    margin-bottom: 10px;
    text-align: center;
}
.preapproval-section__subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

/* Form alerts */
.form-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}
.form-alert--success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-alert--error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
