/* Contact Page Styles */

.contact-page-section {
    padding: 74px 0 75px;
    margin-top: 0;
    background-color: #F9F9F9;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: flex-start;
}

.contact-form-column {
    width: calc(50% - 15px);
    max-width: calc(50% - 15px);
    background: #FFFFFF;
    padding: 50px;
    border-radius: 30px;
}

.contact-info-column {
    width: calc(50% - 15px);
    max-width: calc(50% - 15px);
}

/* Typography Overrides for Contact */
.sub-heading {
    color: #ED2230;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: "Josefin Sans", sans-serif;
    letter-spacing: 0;
}

.contact-form-column .primary-heading {
    margin-bottom: 20px;
    color: #333333;
}

.contact-description {
    color: #333333;
    margin-bottom: 50px;
    font-size: 16px;
    line-height: 1.6;
    padding: 0 0 50px;
    border-bottom: 1px solid #F3F3F3;
}

/* Form Styles */
.main-contact-form {
    width: 100%;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.wide {
    margin-bottom: 20px;
}

.form-group label {
    font-family: "Josefin Sans", sans-serif;
    color: #ED2230;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background-color: #F8F8F8;
    border-radius: 50px;
    font-family: "Josefin Sans", sans-serif;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #F0F0F0;
    box-shadow: 0 0 0 2px rgba(237, 34, 48, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
    border-radius: 20px;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ED2230;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-family: "Josefin Sans", sans-serif;
    font-size: 14px;
    color: #000000;
    cursor: pointer;
}

.submit-btn {
    border: none;
    cursor: pointer;
    min-width: 201px;
    padding: 15px 12px;
    transition: all 0.3s ease-in-out;
}

.hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 20px;
}


.info-card {
    background-color: #F9F9F9;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-box {
    width: 70px;
    height: 70px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box img {
    width: 24px;
    height: 24px;
}

.card-details h5 {
    color: #ED2230;
    font-size: 24px;
    font-family: "Josefin Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-details a {
    color: #333;
    font-size: 18px;
    font-family: "Josefin Sans", sans-serif;
    text-decoration: none;
    font-weight: 500;
}

.card-details a:hover {
    color: #ED2230;
}

/* Responsiveness */
@media screen and (max-width: 1024px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-form-column,
    .contact-info-column {
        width: 100%;
        max-width: 100%;
    }

    .contact-form-column .primary-heading {
        font-size: 42px;
    }
}

@media screen and (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .contact-description {
        padding: 0 0 30px;
        margin-bottom: 30px;
    }

    .contact-form-column {
        padding: 30px;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .submit-btn {
        width: 100%;
    }

    .contact-form-column .primary-heading {
        font-size: 36px;
    }

    .info-card {
        display: grid;
        grid-template-columns: 50px 1fr;
    }

    .icon-box {
        width: 100%;
        height: 50px;
    }

    .contact-page-section {
        padding: 50px 0;
    }
}

@media screen and (max-width: 550px) {
    .info-card {
        padding: 15px;
        gap: 10px;
    }

    .card-details a {
        overflow-wrap: anywhere;
    }
}