/* --- Main Layout --- */
.contact-section {
/*    height: 65vh;*/
    min-height: 700px;
    /*padding-left: 0.5rem;*/  /* px-2 */
    /*padding-right: 0.5rem;*/ /* px-2 */
    --tw-space-y-reverse: 0;
    margin-top: calc(5rem * calc(1 - var(--tw-space-y-reverse)));
    margin-bottom: calc(5rem * calc(1 - var(--tw-space-y-reverse)));

}

.contact-section .contact-card {
    height: 100%;
    background-color: #ffffff;      /* bg-white */
    border-radius: 0.5rem;          /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* shadow-lg */
    overflow: hidden;               /* overflow-hidden */
}

.contact-grid {
    display: grid;
    grid-template-columns: 100%; /* grid-cols-1 */
    height: 100%;
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    overflow: hidden;
}

/* --- Form Container (Left Side) --- */
.contact-form-container {
    padding: 1.5rem; /* p-6 */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-content {
    max-width: 36rem; /* max-w-xl (approx) */
}

.contact-form-container h2 {
    font-size: 1.5rem;              /* text-2xl */
    line-height: 2rem;
    color: var(--daikin-dark-navy);
    margin-bottom: 0.75rem;         /* mb-3 */
    font-weight: 500;
}

.contact-form-container .subtitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;          /* mb-6 */
    font-weight: 400;
}

/* --- Form Styles --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}

.form-grid-2-col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem; /* gap-3 */
}

.form-group label {
    display: block;
    font-size: 0.875rem;            /* text-sm */
    line-height: 1.25rem;
    font-weight: 500;               /* font-medium */
    color: var(--gray-700);
    margin-bottom: 0.25rem;         /* mb-1 */
}

.required-asterisk {
    color: var(--red-500);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    border: 1px solid var(--gray-300);
    font-size: 0.875rem;
    line-height: 1.25rem;
    border-radius: 0.375rem;        /* rounded-md */
    padding: 0.5rem 0.75rem;        /* px-3 py-2 */
    font-weight: 400;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--daikin-blue);
    box-shadow: 0 0 0 2px var(--daikin-light-blue); /* ring-2 ring-daikin-blue (simulated) */
}

.form-checkbox-group {
    display: flex;
    flex-direction: column;
}

.form-checkbox-group label {
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    margin-bottom: 0;
    font-weight: 400;
}
.form-checkbox-group input[type="checkbox"] {
    height: 1rem; /* h-4 */
    width: 1rem;  /* w-4 */
    border-radius: 0.25rem;
}


.submit-button {
    width: 100%;
    background-color: var(--daikin-blue);
    color: white;
    padding-top: 0.75rem;           /* py-2 (approx) */
    padding-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 600;
    border: none;
    border-radius: 0.5rem;          /* rounded-lg */
    transition: all 0.2s ease-in-out; /* transition-all duration-200 */
    cursor: pointer;
}
.submit-button:hover {
    background-color: var(--daikin-dark-navy);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); /* hover:shadow-lg */
}


/* --- Info Panel (Right Side) --- */
.contact-info-panel {
    display: flex;
}

.contact-info-image-container {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.full-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g-recaptcha {
    width: 100%;
}


.g-recaptcha > div {
    width: 100% !important;
}

.g-recaptcha > div iframe {
    width: 100% !important;
}

/* --- Responsive Media Queries --- */

@media (min-width: 768px) { /* md: */
    .contact-section {
        padding-left: 0;
        padding-right: 0;
    }
    .form-grid-2-col {
        grid-template-columns: 1fr 1fr; /* md:grid-cols-2 */
    }
}

@media (min-width: 1024px) { /* lg: */
    .contact-grid {
        grid-template-columns: repeat(5, 1fr); /* lg:grid-cols-5 */
    }
    .contact-form-container {
        grid-column: span 3 / span 3; /* lg:col-span-3 */
    }
    .contact-info-panel {
        grid-column: span 2 / span 2; /* lg:col-span-2 */
    }
    .contact-info-image-container {
        grid-column: span 2 / span 2;
    }
}
