@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* Contact Page */
.contact-page {
    background-color: rgba(69, 120, 130, 0.14);
    min-height: 100vh;
    padding: 120px 30px 60px;
}

.contact-wrapper {
    width: 1380px;
    max-width: 100%;
    min-height: 768px;
    margin: 0 auto;
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 1440px) {
    .contact-wrapper {
        width: 100%;
        min-height: 716px;
        padding: 40px 30px;
    }
    .contact-title,
    .contact-container {
        width: 100%;
    }
}

.contact-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 22px; /* old value was 32px */
    line-height: 110%;
    letter-spacing: -0.02em;
    color: #1A5259;
    width: 1142px;
    max-width: 100%;
    margin: 0 auto 40px; /* old was 20px */
    text-transform: uppercase;
}

.contact-container {
    display: flex;
    gap: 10px;
    width: 1142px;
    max-width: 100%;
    min-height: 472px;
    margin: 0 auto;
}

/* Form Section */
.contact-form-section {
    flex: 1;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
}

.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    /* margin-bottom: 25px; */
}

.form-group {
    display: flex;
    flex-direction: column;
}
/* 
.form-group-full {
    margin-bottom: 25px;
} */

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter Variable', 'Inter', sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 14px;
    line-height: 14px;
    letter-spacing: -0.15px;
    color: #1A5259;
    margin-bottom: 10px;
}

.form-group label svg {
    color: #1A5259;
}

.form-group label span {
    color: #1A5259;
}

.form-group input,
.form-group textarea {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: #333;
    padding: 15px 14px;
    border: none;
    border-bottom: 1px solid rgba(26, 82, 89, 0.5);
    background: rgba(69, 120, 130, 0.07);
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: #1A5259;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox */
/* .form-group-checkbox {
    margin: 30px 0;
} */

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #1A5259;
    border-radius: 4px;
    position: relative;
    transition: background-color 0.2s ease;
}

.checkbox-label input:checked + .checkmark {
    background-color: #1A5259;
}

.checkbox-label input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Submit Button */
.form-submit {
    display: flex;
    align-items: center;
    gap: 0;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 25px;
    background: transparent;
    border: 1px solid #1A5259;
    border-radius: 50px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #1A5259;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: rgba(26, 82, 89, 0.1);
}

.btn-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: rgba(69, 120, 130, 0.2);
    border-radius: 50%;
    color: #1A5259;
    margin-left: -1px;
}

/* Form Messages */
.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    display: none;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
}

/* Field Errors */
.field-error {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: #dc3545;
    margin-top: 5px;
    min-height: 16px;
}

.form-group.has-error input,
.form-group.has-error textarea {
    border-bottom-color: #dc3545;
}

/* Card Section */
.contact-card {
    width: 320px;
    flex-shrink: 0;
    background-color: #1A5259;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
}

/* Card Rows */
.contact-card-row {
    width: 100%;
}

.contact-card-row-0 {
    height: 100px;
    position: relative;
    overflow: hidden;
}

.contact-card-row-1 {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.contact-card-row-2 {
    height: 100px;
    position: relative;
    /* overflow: hidden; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Circle Wrapper */
.contact-card-circle-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-circle {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card-row-0 .contact-card-circle {
    object-position: bottom;
}

.contact-card-row-2 .contact-card-circle {
    object-position: top;
}

.contact-card-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.contact-card-logo img {
    width: 39px;
    height: 38px;
}

.contact-card-content {
    text-align: center;
}

.contact-card h2 {
    font-family: 'Cabinet Grotesk', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 15px;
}

.contact-card p {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.contact-card-btn {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: #FFD88A;
    border-radius: 50%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 2;
}

.contact-card-btn:hover {
    background-color: #f5c96a;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
        gap: 15px;
    }

    .contact-card {
        width: 100%;
        border-radius: 20px;
        min-height: 300px;
    }

    .contact-card-row-1 {
        padding: 50px 30px;
    }

    .contact-form-section {
        border-radius: 20px;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 100px 20px 40px;
    }

    .contact-form-section {
        padding: 30px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .contact-page {
        padding: 0px !important;
    }

    .contact-form-section {
        padding: 20px;
    }

    .contact-title {
        font-size: 22px;
    }

    .form-row {
        gap: 0px;
    }

    .btn-submit {
        padding: 0 20px;
        font-size: 14px;
    }

    .contact-card {
        border-radius: 20px;
        min-height: 472px;
    }

    .contact-card-row-1 {
        padding: 40px 20px;
    }

    .contact-card-content {
        width: 100%;
        max-width: 240px;
        margin: 0 auto;
    }

    .contact-card h2 {
        margin-bottom: 12px;
    }

    .contact-card-btn {
        width: 70px;
        height: 70px;
    }
}

/* Hide reCAPTCHA badge (branding included in form text per Google TOS) */
.grecaptcha-badge {
    visibility: hidden !important;
}
