/************************* Hero Section Styles *************************/
.contact-hero-section {
    padding: 60px 20px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-hero-content {
    display: flex;
    align-items: center;
    max-width: 1170px;
    width: 100%;
}

.contact-hero-image {
    flex: 1;
    padding: 20px;
}

.contact-hero-image img {
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
}

.contact-hero-text {
    flex: 1;
    text-align: left;
    padding: 20px;
    text-align: center;
}

.contact-hero-text h1 {
    font-size: 80px;
    font-weight: 700;
    margin-bottom: 0.5em;
    background: var(--main-heading-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.contact-hero-text p {
    font-size: 26px;
    color: #333;
    font-weight: 700;
}

/********************** Responsive Styles ***********************/
@media screen and (max-width: 1200px) {
    .contact-hero-section {
        padding: 60px 30px 10px;
    }

    .contact-hero-text h1 {
        font-size: 70px;
    }
}

@media screen and (max-width: 768px) {
    .contact-hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .contact-hero-text {
        padding: 20px 0;
        text-align: center;
    }

    .contact-hero-image img {
        width: 60%;
        margin: 0 auto;
    }

    .contact-hero-text h1 {
        font-size: 60px;
    }

    .contact-hero-text p {
        font-size: 20px;
    }
}

@media screen and (max-width: 576px) {
    .contact-hero-section {
        padding: 50px 30px 10px;
    }

    .contact-hero-image img {
        width: 90%;
        margin: 0 auto;
    }

    .contact-hero-text h1 {
        font-size: 40px;
    }


    .contact-hero-text p {
        font-size: 16px;
    }
}

/************************* Contact Section Styles *************************/
.contact-section {
    text-align: center;
    padding: 10px 20px 30px;
}

.section-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 80px;
    max-width: 1170px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 12px;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    width: 100%;
    max-width: 480px;
    height: auto;
    text-align: left;
    background-color: #fff;
    border: 3px solid #8bc34a;
    padding: 30px 40px;
    border-radius: 24px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #79AB3D;
}

.contact-form form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: large;
    text-align: left;
}

:dir(rtl) .contact-form form label {
    text-align: right;
}

.contact-form form input,
.contact-form form textarea {
    resize: none;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 15px;
}

.contact-form form textarea {
    height: 190px;
}

.contact-form form button {
    display: block;
    width: 100%;
    background-color: #79AB3D;
    color: white;
    font-size: 25px;
    font-weight: bold;
    padding: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form form button:hover {
    background-color: #678a2c;
}

.contact-info {
    flex: 1;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    line-height: 1.6;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 10px;
}

.contact-details i {
    margin-right: 10px;
    margin-left: 10px;
    color: #79AB3D;
    margin-bottom: 0;
}

.social-media-icons {
    margin-top: 20px;
}

.social-media-icons a {
    font-size: 30px;
    color: #79AB3D;
    margin-right: 15px;
    text-decoration: none;
}

.social-media-icons a:hover {
    color: #678a2c;
}

.social-media-icons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.social-media-icons img {
    width: 30px;
    height: auto;
}

/********************** Responsive Styles ***********************/
@media (max-width: 1200px) {
    .contact-section {
        text-align: center;
        padding: 20px 30px;
    }

    .contact-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 40px;
        margin: 0 auto;
        padding: 20px;
        align-items: center
    }

    .contact-form {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        height: auto;
        text-align: left;
        padding: 30px 25px;
        position: relative;
    }
}

@media (max-width: 850px) {
    .contact-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex-wrap: wrap;
        gap: 50px;
        margin: 0 auto;
        padding: 20px;
    }

    .social-media-icons {
        display: flex;
        justify-content: center;
    }

    .contact-form {
        flex: 1;
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 500px;
    }

    .contact-form form textarea {
        height: 200px;
    }

    .contact-details p {
        margin: 0;
        font-size: 16px;
        display: flex;
        align-items: center;
        width: auto;
        margin-bottom: 15px;
    }

    .contact-details i {
        margin-bottom: 10px;
    }
}

@media (max-width: 450px) {
    .contact-section {
        text-align: center;
        padding: 20px 35px;
    }

    .contact-form {
        height: 450px;
        padding: 30px 20px;
    }

    .contact-form form textarea {
        height: 120px;
    }

    .contact-container {
        padding: 0;
        gap: 30px;
    }

    .social-media-icons {
        justify-content: center;
    }

    .contact-details i {
        margin-bottom: 2px;
    }

    .contact-details p {
        margin-bottom: 15px;
        font-size: 12px;
    }
}