body {
    background-color: #fefcfa;
}

html,
body {
    height: 100%;
    margin: 0;
}

.page-wrapper {
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1;
}

/* ============================= */
/* CONTACT FORM */
/* ============================= */
.contact-section {
    padding: 80px 20px;
    display: flex;
    justify-content: center;
}

.contact-container {
    background: rgb(255, 255, 255);
    max-width: 1000px;
    width: 100%;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
}

.contact-heading {
  color: #122b45;
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-subtext {
    margin-bottom: 30px;
    color: #000000d6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-subheading {
    width: 100%;
    margin: 25px 0 10px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #123c35;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e2e2e2;
    font-size: 16px;
    transition: 0.2s ease;
    background: #fafafa;
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #1BA39C;
    background: white;
    box-shadow: 0 0 0 3px #1BA39C;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-button {
    background: #1BA39C;
    color: rgb(255, 255, 255);
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px #1ba39cd4;
}

/* Hide honeypot */
.honeypot {
    display: none;
}

/* ============================= */
/* PRIVACY CONSENT */
/* ============================= */
.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;

    margin-top: 0.5rem;
    margin-bottom: 0.5rem;

    text-align: left;
}

.consent-group input[type="checkbox"] {
    margin-top: 3px;

    width: 18px;
    height: 18px;

    accent-color: #1BA39C;

    cursor: pointer;
}

.consent-group label {
    color: rgba(0, 0, 0, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.consent-group a {
    color: #1ba39cd4;
    text-decoration: none;
}

.consent-group a:hover {
    color: #00bfff;
}

/* MOBILE */

@media (max-width: 600px) {

    .consent-group {
        align-items: flex-start;
    }

    .consent-group label {
        font-size: 0.9rem;
    }

}
/* ============================= */
/* RESPONSIVE CONTACT FORM */
/* ============================= */

/* Tablets */
@media (max-width: 992px) {
    .contact-container {
        padding: 40px 30px;
        border-radius: 14px;
    }

    .contact-heading {
        font-size: 28px;
    }
}

/* Phones */
@media (max-width: 600px) {

    .contact-section {
        padding: 50px 15px;
    }

    .contact-container {
        padding: 30px 20px;
        border-radius: 12px;
        box-shadow: none;
    }

    .contact-heading {
        font-size: 24px;
    }

    .contact-subtext {
        font-size: 14px;
    }

    .input-group input,
    .input-group textarea {
        font-size: 15px;
        padding: 12px 14px;
    }

    textarea {
        min-height: 120px;
    }

    .contact-button {
        font-size: 15px;
        padding: 12px;
    }
}



/* ============================= */
/* CONTACT POPUP */
/* ============================= */
.contact-popup {
    display: none;

    position: fixed;
    inset: 0;

    justify-content: center;
    align-items: center;

    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);

    z-index: 9999;
}

.contact-popup-content {
    width: 90%;
    max-width: 450px;

    padding: 40px 35px;

    text-align: center;

    background: #ffffff;

    border-radius: 16px;

    border-top: 5px solid #1BA39C;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);

    animation: popupFade 0.3s ease;
}

.contact-popup-content h3 {
    margin-bottom: 15px;

    color: #122b45;

    font-size: 30px;
    font-weight: 700;
}

.contact-popup-content p {
    margin-bottom: 30px;

    color: rgba(0, 0, 0, 0.75);

    line-height: 1.7;

    font-size: 15px;
}

#close-contact-popup {
    background: #1BA39C;

    color: #ffffff;

    border: none;

    padding: 14px 30px;

    border-radius: 10px;

    font-size: 15px;
    font-weight: 600;

    cursor: pointer;

    transition: all 0.3s ease;
}

#close-contact-popup:hover {
    transform: translateY(-2px);

    background: #168b85;

    box-shadow:
        0 8px 20px rgba(27, 163, 156, 0.25);
}

#close-contact-popup:active {
    transform: translateY(0);
}

/* ============================= */
/* ANIMATION */
/* ============================= */

@keyframes popupFade {

    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ============================= */
/* MOBILE */
/* ============================= */

@media (max-width: 600px) {

    .contact-popup-content {
        padding: 30px 25px;
    }

    .contact-popup-content h3 {
        font-size: 24px;
    }

    .contact-popup-content p {
        font-size: 14px;
    }

}