body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #edf4ec;
}


/* Header Section */
.contact-page-header {
    position: relative;
    background: url("../images/header-image/header-1.jpg") no-repeat center center/cover;
    text-align: center;
    padding: 30px 0;
    color: white;
    font-size: 22px;
    margin-top: 80px;
}

/* Overlay Effect */
.contact-page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.733); /* Dark overlay for better readability */
}


/* Header Content (Ensuring it is above the overlay) */
.contact-page-header h1,
.contact-page-header .header-links {
    position: relative;
    z-index: 1;
}

/* Centering Navigation Links */
.contact-page-header .header-links {
    margin-top: 10px;
    justify-content: center;
    color: rgb(208, 206, 206);
}

/* Navigation Links Styling */
.contact-page-header .header-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

.contact-page-header .header-links a:hover {
    color: #f0a105;
    transition: 1s ease;
}

/* Highlight Active Link */
.contact-page-header .header-links a.active {
    text-decoration: underline;
    color: #f0a105;
}






/* Contact Details Styling */
.contact-page-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 70px 0;
}

.contact-pair {
    display: flex;
    justify-content: space-between;
    width: 60%;
    padding: 20px 0;
}

.contact-item {
    width: 48%;
    padding: 10px;
    background: #faf6ed;
    border-radius: 5px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.contact-item span{
    font-weight: 600;
    margin-right: 5px;
}

.contact-item i {
    font-size: 18px;
    margin-right: 8px;
    color: #054a01;
}

.contact-item a {
    color: #054a01;
    text-decoration: underline;
    font-weight: 700;
}


/* Contact Form Styling */
.contact-page-form {
    text-align: center;
    margin: 40px auto;
    width: 50%;
}

.contact-page-form h2 {
    margin-bottom: 20px;
    font-family: Geneva;
    font-weight: 700;
}

.contact-form-group-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.contact-form-group {
    width: 48%;
    text-align: left;
}

.contact-form-group.full-width {
    width: 100%;
    text-align: left;
}

.contact-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-form-group input, .contact-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form-group textarea {
    resize: none;
}

.contact-submit-btn {
    width: 20%;
    padding: 12px;
    background: #f0a105; /* Dark Blue */
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: 0.8s ease-in-out;
}

.contact-submit-btn:hover {
    opacity: 0.7;
    transition: 0.5s ease;
}

.contact-submit-spinner {
    display: none; /* Initially hide the spinner */
    margin-right: 5px; /* Adjust spacing as needed */
}

.fa-spinner {
    font-size: 20px; /* Adjust size as needed */
    color: var(--text-color-widget);
}








/* ========== 1230px - 1450px ========== */
@media (max-width: 1450px) and (min-width: 1230px) {
    .contact-page-form {
        width: 55%;
    }

    .contact-pair {
        width: 65%;
    }
}

/* ========== 1025px - 1230px ========== */
@media (max-width: 1230px) and (min-width: 1025px) {
    .contact-page-header {
        margin-top: 60px;
    }


    .contact-page-form {
        width: 60%;
    }

    .contact-pair {
        width: 70%;
    }

    .contact-form-group-container {
        flex-direction: row;
    }
}

/* ========== 850px - 1024px ========== */
@media (max-width: 1024px) and (min-width: 850px) {
    .contact-page-form {
        width: 75%;
    }

    .contact-pair {
        width: 80%;
    }

    .contact-form-group-container {
        flex-direction: column;
    }

    .contact-form-group {
        width: 100%;
        margin-bottom: 15px;
    }

    .contact-submit-btn {
        width: 40%;
    }
}

/* ========== 601px - 1024px ========== */
@media (max-width: 1024px) and (min-width: 601px) {
    .contact-page-form {
        width: 80%;
    }

    .contact-pair {
        width: 85%;
        flex-direction: column;
    }

    .contact-item {
        width: 100%;
        margin-bottom: 10px;
    }

    .contact-form-group-container {
        flex-direction: column;
    }

    .contact-form-group {
        width: 100%;
        margin-bottom: 15px;
    }

    .contact-submit-btn {
        width: 45%;
    }
}

/* ========== 600px and below ========== */
@media (max-width: 600px) {

    .contact-page-header {
        margin-top: 60px;
        font-size: 18px;
    }

    .contact-page-header h1 {
        font-size: 22px;
    }


    .contact-page-form {
        width: 90%;
    }

    .contact-pair {
        width: 95%;
        flex-direction: column;
    }

    .contact-item {
        width: 100%;
        font-size: 14px;
    }

    .contact-form-group-container {
        flex-direction: column;
    }

    .contact-form-group {
        width: 100%;
        margin-bottom: 15px;
    }

    .contact-submit-btn {
        width: 50%;
        font-size: 15px;
    }
}

/* ========== 400px and below ========== */
@media (max-width: 400px) {

    .contact-page-header {
        margin-top: 60px;
        font-size: 16px;
    }

    .contact-page-header h1 {
        font-size: 20px;
    }


    .contact-page-form h2 {
        font-size: 20px;
    }

    .contact-submit-btn {
        width: 70%;
        font-size: 14px;
        padding: 10px;
    }

    .contact-item {
        font-size: 13px;
    }

    .contact-form-group label {
        font-size: 14px;
    }
}

/* ========== 340px and below ========== */
@media (max-width: 340px) {

    .contact-page-header {
        margin-top: 60px;
        font-size: 14px;
    }

    .contact-page-header h1 {
        font-size: 18px;
    }


    .contact-page-form {
        width: 95%;
    }

    .contact-page-form h2 {
        font-size: 18px;
    }

    .contact-item {
        font-size: 12.5px;
    }

    .contact-submit-btn {
        width: 85%;
        font-size: 13px;
    }

    .contact-form-group input,
    .contact-form-group textarea {
        font-size: 14px;
    }

    .contact-form-group label {
        font-size: 13px;
    }
}
