﻿/* ================= CONTACT HERO ================= */
.contact-hero {
    height: 70vh;
    background: linear-gradient(rgba(15,23,42,.65), rgba(30,58,138,.65)),
                url('images/carin.webp') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-hero p {
    font-size: 1.15rem;
    max-width: 700px;
    margin: 15px auto 0;
    opacity: .95;
}

/* ================= FORM SECTION ================= */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg,#f8fbff,#eef4ff);
}

.contact-card {
    max-width: 850px;
    margin: auto;
    background: white;
    padding: 50px;
    border-radius: 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
}

.contact-title {
    text-align: center;
    color: var(--primary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.contact-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
}

/* ================= GRID ================= */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.full {
    grid-column: span 2;
}

/* ================= INPUTS ================= */
.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #d8e0ef;
    border-radius: 12px;
    font-size: 1rem;
    transition: .3s ease;
    background: #fafcff;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(30,58,138,.08);
    background: white;
}

textarea {
    min-height: 170px;
    resize: vertical;
}

/* ================= BUTTON ================= */
.contact-btn {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: .3s ease;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,.12);
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){

    .contact-hero h1{
        font-size:2rem;
    }

    .contact-card{
        padding:30px;
    }

    .form-grid{
        grid-template-columns:1fr;
    }

    .full{
        grid-column:span 1;
    }
}