/* =========================
   CERTIFICATE PAGE BANNER
========================== */

.contact-banner {
    position: relative;
    width: 100%;
    height: 400px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background-image: url("../images/contact-banner.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* DARK OVERLAY */

.contact-banner-overlay {
    position: absolute;
    inset: 0;

    background: rgba(5, 12, 22, 0.32);
}


/* CONTENT */

.contact-banner-content {
    position: relative;
    z-index: 2;

    text-align: center;
}


.contact-banner-content h1 {
    margin: 0;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 40px;
    font-weight: 500;

    line-height: 1.2;
}


/* =========================
   TABLET
========================== */

@media (max-width: 768px) {

    .contact-banner {
        height: 300px;
    }

    .contact-banner-content h1 {
        font-size: 44px;
    }

}


/* =========================
   MOBILE
========================== */

@media (max-width: 480px) {

    .contact-banner {
        height: 230px;

        background-position: center;
    }

    .contact-banner-content h1 {
        font-size: 36px;
    }

}
/* ==============================
   CONTACT SECTION
================================= */

.contact-section {
    width: 100%;
    padding: 80px 1px;
    background: #ffffff;
}

.contact-wrapper {
    width: 100%;
    max-width: 1500px;
    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;

    padding: 0 100px;
    box-sizing: border-box;
}


/* ==============================
   LEFT SIDE
================================= */

.contact-form-area {
    width: 100%;
}

.section-heading {
    margin-bottom: 30px;
}

.section-heading span {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #9d3b29;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.section-heading h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    color: #242833;
    line-height: 1.2;
}

.section-heading h2 strong {
    color: #9d3b29;
    font-weight: 600;
}


/* ==============================
   FORM
================================= */

.contact-form {
    width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    width: 100%;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #c7c7c7;
    background: #fff;

    padding: 14px 18px;
    box-sizing: border-box;

    font-size: 17px;
    font-family: inherit;
    color: #333;

    outline: none;

    transition: all 0.3s ease;
}

.form-group input {
    height: 50px;
}

.form-group textarea {
    height: 130px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #9d3b29;
    box-shadow: 0 0 0 2px rgba(157, 59, 41, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9a9a9a;
}




/* ==============================
   BUTTON
================================= */

.submit-btn {
    background: #641307;
    color: #fff;

    border: none;

    padding: 12px 22px;

    font-size: 17px;
    font-family: Georgia, serif;

    cursor: pointer;

    transition: 0.3s ease;
}

.submit-btn:hover {
    background: #9d3b29;
}


/* ==============================
   MAP
================================= */

.contact-map {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}


/* ==============================
   TABLET
================================= */

@media (max-width: 1100px) {

    .contact-wrapper {
        padding: 0 40px;
        gap: 25px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .contact-map {
        height: 600px;
    }
}


/* ==============================
   MOBILE
================================= */

@media (max-width: 768px) {

    .contact-section {
        padding: 60px 0 20px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .section-heading span {
        font-size: 16px;
    }

    .contact-map {
        height: 400px;
    }

    .captcha-box {
        max-width: 100%;
    }
}


/* ==============================
   SMALL MOBILE
================================= */

@media (max-width: 480px) {

    .section-heading h2 {
        font-size: 26px;
    }

    .form-group input {
        height: 48px;
    }

    .form-group textarea {
        height: 120px;
    }

    .captcha-box {
        width: 100%;
    }

    .contact-map {
        height: 320px;
    }
}

.contact-map {
    width: 100%;
    height: 550px;
    overflow: hidden;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.contact-info-section {
    padding: 80px;
    background: #f7f7f7;
}

.contact-info-wrapper {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


/* CARD */

.contact-info-card {
    position: relative;

    min-height: 200px;
    padding: 20px;

    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;

    display: flex;
    align-items: flex-start;
    gap: 20px;

    box-sizing: border-box;

    transition: all 0.3s ease;
}


/* TOP ACCENT LINE */

.contact-info-card::before {
    content: "";
    position: absolute;

    top: 0;
    left: 35px;
    right: 35px;

    height: 3px;
    background: #78140d;

    border-radius: 0 0 5px 5px;

    opacity: 0;
    transition: all 0.3s ease;
}


/* HOVER */

.contact-info-card:hover {
    transform: translateY(-7px);
    border-color: #dddddd;
}

.contact-info-card:hover::before {
    opacity: 1;
}


/* ICON */

.info-icon {
    width: 58px;
    min-width: 58px;
    height: 58px;

    border-radius: 8px;

    background: #f4f4f4;
    border: 1px solid #e7e7e7;

    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 22px;
    color: #78140d;
}


/* CONTENT */

.info-content {
    padding-top: 3px;
}

.info-content span {
    display: block;

    margin-bottom: 8px;

    font-size: 16px;
    font-weight: 600;

    color: #232323;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-content h3 {
    margin: 0;

    font-size: 22px;
    font-weight: 500;

    color: #222;
    line-height: 1.4;
}

.info-content p {
    margin: 0;

    font-size: 17px;
    line-height: 1.7;

    color: #232323;
}


/* RESPONSIVE */

@media (max-width: 1100px) {

    .contact-info-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-info-card:last-child {
        grid-column: span 2;
    }
}


@media (max-width: 700px) {

    .contact-info-section {
        padding: 55px 0;
    }

    .contact-info-wrapper {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .contact-info-card {
        min-height: auto;
        padding: 28px 22px;
    }

    .contact-info-card:last-child {
        grid-column: span 1;
    }

    .info-content h3 {
        font-size: 19px;
    }

    .info-content p {
        font-size: 15px;
    }
}