/* --- Root Variables (consistent with your theme) --- */
:root {
    --text: #000B58;
    --primary-dark: #0D1B2A;
    --header: #1B263B;
    --navlink: #e6f3ff;
    --teal: #006562;
    --teal-glow: #00656280;
    --yellow: #FDEB9E;
    --logo: #9daec2;
    --white: #ffffff;
    --headind2: "Chelsea Market", system-ui;
    --font-main: "DM Serif Text", serif;
    --para: "Funnel Sans", sans-serif;
    --transition: all 0.3s ease-in-out;
}

/* --- Body Background --- */
body {
    background-color: #f4f8fb; /* Light grayish blue to make the card pop */
    font-family: var(--para);
    color: var(--primary-dark);
    margin: 0;
}

/* --- Contact Section Layout --- */
.contact-container {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.glass-card {
    background: var(--white);
    max-width: 1000px;
    width: 100%;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 11, 88, 0.1);
}

/* --- Left Side: Contact Info --- */
.contact-info {
    flex: 1;
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.contact-info h2 {
    font-family: var(--font-main);
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--yellow);
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: var(--teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: bold;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--yellow);
    color: var(--primary-dark);
    border-color: var(--yellow);
    transform: translateY(-3px);
}

/* --- Right Side: Contact Form --- */
.contact-form {
    flex: 1.4;
    padding: 50px;
    background: var(--white);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e1e8ef;
    border-radius: 10px;
    font-family: var(--para);
    font-size: 1rem;
    color: var(--primary-dark);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 4px var(--teal-glow);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* Styled Select Arrow */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000B58' 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 15px center;
}

/* --- Submit Button --- */
.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 15px var(--teal-glow);
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(13, 27, 42, 0.2);
}

/* --- Responsive Adjustments --- */
@media (max-width: 850px) {
    .glass-card {
        flex-direction: column;
    }
    
    .contact-info {
        padding: 40px;
    }

    .contact-form {
        padding: 40px;
    }
}

@media (max-width: 480px) {
    .contact-info h2 {
        font-size: 2rem;
    }
    
    .contact-container {
        padding: 20px 10px;
    }
}