﻿/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* GLOBAL */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff5ec 100%);
    color: #2c3e50;
    line-height: 1.6;
}

section {
    padding: 60px 0;
}

/* INTRO CARD */
.info-card {
    max-width: 80%;
    margin: 0 auto 40px;
    background: white;
    border-radius: 20px;
    padding: 50px;
    border: 2px solid #f5a623;
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

.tagline {
    font-size: 1.4em;
    color: #ff8c42;
    font-weight: 600;
    margin-bottom: 30px;
    line-height: 1.4;
}

.description {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

    .description strong {
        color: #2c3e50;
        font-weight: 600;
    }

.call-to-action {
    font-size: 1.1em;
    color: #666;
    font-weight: 500;
    margin-top: 20px;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffaa33, #ff8c42);
    margin: 30px auto;
    border-radius: 2px;
}

/* FORM CARD */
.form-card.two-col-form {
    max-width: 80%; /* Perfect width for centered form */
    margin: 0 auto;
    padding: 40px 50px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    animation: fadeInUp 0.8s ease;
}

/* FORM STRUCTURE */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px 40px; /* Balanced spacing */
    align-items: start;
}

.full-width {
    grid-column: 1 / -1;
}

.form-section {
    width: 100%;
    margin-bottom: 17px;
}

    .form-section label {
        display: block;
        font-size: 1.1em;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 12px;
    }

/* INPUTS */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 7px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    font-family: inherit;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

    /* INPUT FOCUS */
    input:focus,
    textarea:focus,
    select:focus {
        outline: none;
        border-color: #ff8c42;
        box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.12);
    }

/* CHECKBOXES */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: 0.2s ease;
    cursor: pointer;
}

    .checkbox-item:hover {
        background: #fff5ec;
        transform: translateX(5px);
    }

    .checkbox-item input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 12px;
        cursor: pointer;
        accent-color: #ff8c42;
    }

    .checkbox-item label {
        margin: 0;
        font-size: 1em;
        cursor: pointer;
    }

/* BUTTON */
.submit-btn {
    width: 65%;
    padding: 10px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(255, 140, 66, 0.3);
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 30px rgba(255, 140, 66, 0.4);
    }

/* NOTES & SMALL TEXT */
.note {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
    margin-top: 8px;
}

.required {
    color: #ff8c42;
    font-size: 0.9em;
}

.optional {
    color: #aaa;
    font-weight: 400;
}

.emoji {
    font-size: 1.2em;
    margin-right: 8px;
}

/* SUCCESS MESSAGE */
.success-message {
    display: none;
    background: #4caf50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 20px;
    animation: fadeInUp 0.5s ease;
}

/* ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
    .form-card.two-col-form {
        max-width: 95%;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-section label {
        font-size: 0.9em;
    }

    .info-card {
        padding: 30px;
        max-width: 95%;
    }
    .submit-btn {
        font-size:1em !important;
    }
        .tagline {
        font-size: 1.2em;
    }

    .description,
    .call-to-action {
        font-size: 1em;
    }
}
