/* Style for the terms and conditions link in the quote form */
.terms-link {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.terms-link:hover,
.terms-link:focus {
    color: #0056b3;
    /* fallback or a slightly darker shade for hover */
    text-decoration: underline;
}

:root {
    --background: #0a0a0a;
    --foreground: #fafafa;
    --primary: #facc15;
    --primary-light: #fef08a;
    --card: #18181b;
    --border: #27272a;
    --muted: #737373;
    --radius: 12px;
    --input-bg: #2a2a2a;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--background);
    color: var(--foreground);
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
}

.quote-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 2rem;
    margin-top: 40px;
}

.quote-section {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary), #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.quote-form {
    background-color: var(--card);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    text-align: left;
    border: 1px solid var(--border);
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-section {
    background: rgba(39, 39, 42, 0.4);
    padding: 1.5rem;
    border-radius: var(--radius);

    margin-bottom: 1.5rem;
    flex: 1;
}

.form-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h2::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--input-bg);
    color: var(--foreground);
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.additional-info {
    max-width: 800px;
    margin: 0 auto;
}

.form-check {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    gap: 0.75rem;
}

.form-check input {
    width: auto;
    accent-color: var(--primary);
}

.form-check label {
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0;
}

.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.submit-btn {
    width: 50%;
    background-color: var(--primary);
    color: #000;
    font-weight: 600;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.submit-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.3);
}

.note {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    margin-top: 1.5rem;
}

.footer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-stats div {
    background-color: var(--card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.footer-stats strong {
    font-size: 1.5rem;
    color: var(--primary);
    display: block;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .quote-container {
        padding: 1rem;
    }

    .quote-form {
        padding: 1.5rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .submit-btn {
        width: 100%;
    }

    .footer-stats {
        grid-template-columns: 1fr;
    }
}