/* truquote.ca styles.css */

/* Variables for Brand Colors */
:root {
    --deep-ocean-blue: #0A3F5C;
    --teal-green: #1A7B7A;
    --goldenrod-yellow: #F2C84B;
    --light-grey: #E0E0E0;
    --charcoal-grey: #333333;
}

/* Global Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--charcoal-grey);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f8f8f8;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    color: var(--deep-ocean-blue);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header - Hero Section */
.hero {
    background-color: var(--deep-ocean-blue);
    color: white;
    text-align: center;
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.hero::before { /* Subtle pattern/texture for the hero */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}

.hero .container {
    position: relative; /* Ensure content is above pseudo-element */
    z-index: 1;
}

.hero-headline {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtext {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background-color: var(--goldenrod-yellow);
    color: var(--deep-ocean-blue);
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #e0b63c; /* Slightly darker yellow */
    transform: translateY(-2px);
}

.trust-signals {
    margin-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.signal {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Form Section */
.form-section {
    background-color: white;
    padding: 2rem;
    margin: 2rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    max-width: 700px;
}

.form-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--teal-green);
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step h3 {
    color: var(--deep-ocean-blue);
    margin-top: 0;
    border-bottom: 2px solid var(--light-grey);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-section label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--deep-ocean-blue);
}

.form-section input[type="text"],
.form-section input[type="email"],
.form-section input[type="tel"],
.form-section select,
.form-section textarea {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 1.5rem;
    border: 1px solid var(--light-grey);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-section textarea {
    resize: vertical;
}

.form-section select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230A3F5C%22%20d%3D%22M287%2C114.7L159.2%2C242.5c-4.5%2C4.5-10.1%2C6.7-15.8%2C6.7c-5.7%2C0-11.3-2.1-15.8-6.7L5.4%2C114.7c-9.1-9.1-9.1-23.7%2C0-32.8c9.1-9.1%2C23.7-9.1%2C32.8%2C0l110%2C110L254.2%2C81.9c9.1-9.1%2C23.7-9.1%2C32.8%2C0C296.2%2C91%2C296.2%2C105.6%2C287%2C114.7z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1em;
    padding-right: 2.5em; /* Space for the custom arrow */
}

.form-section button {
    margin-top: 1rem;
    margin-right: 1rem;
    width: auto;
}

.form-section button.prev-step-button {
    background-color: var(--light-grey);
    color: var(--charcoal-grey);
}

.form-section button.prev-step-button:hover {
    background-color: #c9c9c9;
}

.form-section button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Footer */
footer {
    background-color: var(--charcoal-grey);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-subtext {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

    .trust-signals {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .signal {
        width: fit-content;
    }

    .form-section {
        margin: 1rem;
        padding: 1.5rem;
    }

    .form-section input, .form-section select, .form-section textarea {
        width: calc(100% - 20px); /* Adjust for padding */
    }

    .form-section button {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}
