/* ===================================
   CONTACT PAGE STYLES
   =================================== */

:root {
    --color-contact-teal: #1BA89C;
    --color-contact-orange: #f37021;
    --color-contact-bg-light: #F2F2F2;
    --color-contact-text: #333333;
    --color-contact-card-bg: #fff5ed;
}

/* Hero Section */
.contact-hero {
    background-color: var(--color-contact-teal);
    padding: var(--space-24) 0 60px;
    color: white;
    min-height: auto;
}

.contact-hero__title {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.contact-hero__subtitle {
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 400;
    color: white;
}

/* Page Section Background */
.contact-section {
    background-color: #ffffff;
    padding: 80px 0 100px;
}

/* Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.contact-info,
.contact-fields-container {
    width: 100%;
}

.form-fields-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Bottom part spanning across */
.form-bottom {
    grid-column: span 2;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* Info Cards */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    max-width: 500px;
    /* Limit overall width to make cards smaller */
}

.info-card {
    background-color: #fff0e6;
    padding: 25px 15px;
    border-radius: 35px;
    text-align: center;
    transition: transform 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card__icon svg {
    width: 38px;
    height: 38px;
}

.info-card__icon {
    margin-bottom: 12px;
}

.info-card__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.info-card__content {
    font-size: 0.85rem;
    color: #333;
    line-height: 1.3;
    margin-bottom: 8px;
    font-weight: 500;
}

.info-card__content a {
    color: #333;
    text-decoration: underline;
}

.info-card__meta {
    font-size: 0.75rem;
    color: #888;
    line-height: 1.3;
    font-weight: 400;
}

/* Map */
.contact-map {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
}

/* Form Styling */
.contact-form-container {
    background: white;
    padding: 0;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: left;
    color: #000;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group--full {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-group--full label {
    align-self: flex-start;
    margin-left: 0;
    margin-bottom: 5px;
}

.form-group--full textarea {
    width: 100%;
}

.form-group label {
    font-weight: 800;
    font-size: 1.15rem;
    color: #1a1a1a;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 20px 25px;
    border-radius: 100px;
    border: 1.5px solid #f0f0f0;
    background: #fff;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.form-group textarea {
    border-radius: 30px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-contact-teal);
    box-shadow: 0 15px 40px rgba(27, 168, 156, 0.1);
    transform: translateY(-2px);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 25px center;
}

/* Bottom part spanning across */
.form-bottom {
    grid-column: span 2;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.form-group--centered {
    width: 100%;
    max-width: 1000px;
    margin-bottom: 40px;
}

.form-group--centered label {
    font-weight: 800;
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 15px;
    display: block;
    text-align: left;
}

.form-group--centered textarea {
    width: 100%;
    min-height: 250px;
    padding: 30px;
    border-radius: 40px;
    /* Large radius like the photo */
    border: 1px solid #f0f0f0;
    background: #fff;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group--centered textarea:focus {
    outline: none;
    border-color: var(--color-contact-teal);
    box-shadow: 0 20px 60px rgba(27, 168, 156, 0.1);
}

.form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.btn-submit {
    padding: 22px 80px;
    background: linear-gradient(to right, #f37021, #ffb347);
    /* Orange gradient from photo */
    color: white;
    border: none;
    border-radius: 100px;
    font-size: 1.6rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 400px;
    box-shadow: 0 15px 35px rgba(243, 112, 33, 0.3);
    font-family: 'Poppins', sans-serif;
}

.btn-submit:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(243, 112, 33, 0.4);
}

.form-disclaimer {
    margin-top: 25px;
    font-size: 0.9rem;
    color: #999;
    text-align: center;
    max-width: 500px;
}

/* Responsive */
/* Responsive Updates */
@media (max-width: 1024px) {
    .header {
        position: fixed !important;
        top: 0 !important;
    }

    .contact-hero {
        padding-top: var(--space-32);
    }

    .contact-hero__title {
        font-size: 3.5rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .form-bottom {
        grid-column: span 1;
        margin-top: 40px;
    }

    .info-cards {
        max-width: 100%;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-hero__title {
        font-size: 2.5rem;
    }

    .contact-hero__subtitle {
        font-size: 1.1rem;
        padding: 0 20px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .info-card {
        aspect-ratio: auto;
        padding: 30px 20px;
        flex-direction: row;
        text-align: left;
        align-items: center;
        gap: 20px;
        justify-content: flex-start;
    }

    .info-card__icon {
        margin-bottom: 0;
    }

    .info-card__title {
        font-size: 1.25rem;
    }

    .contact-form-container {
        padding: 0;
    }

    .form-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
        text-align: center;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .btn-submit {
        width: 100%;
        min-width: unset;
        font-size: 1.3rem;
        padding: 18px 40px;
    }

    .form-bottom {
        margin-top: 30px;
    }

    .contact-map iframe {
        height: 350px !important;
    }
}

/* Form Response Messages */
.form-response {
    display: none;
    padding: 15px 25px;
    border-radius: 12px;
    margin: 20px 0;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    width: 100%;
    max-width: 600px;
    animation: fadeIn 0.4s ease-out;
}

.form-response.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-response.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .contact-hero__title {
        font-size: 2rem;
    }

    .info-card {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}