* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body{
    font-family:'Poppins',sans-serif;
    line-height:1.2
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 700;
    line-height: 1.1;
    
}
.validated {
    border-color: #198754 !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCA4IDgnPjxwYXRoIGZpbGw9JyMxOTg3NTQnIGQ9J00yLjMgNi43My42IDQuNTNjLS40LTEuMDQuNDYtMS40IDEuMS0uOGwxLjEgMS40IDMuNC0zLjhjLjYtLjYzIDEuNi0uMjcgMS4yLjdsLTQgNC42Yy0uNDMuNS0uOC40LTEuMS4xeicvPjwvc3ZnPg==) !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}
.error-border {
    border-color: red !important;
}
.valmessage{
    text-align: center;
    color: red;
    font-size: 1rem;
    min-height: 24px;
    margin-bottom:10px;
}
.hero-section {
background: rgb(255, 255, 255) url(/assets/images/hero-cars.png);
background-size: cover;
background-position: center bottom;
height: 800px;
position: relative;
overflow: hidden;
margin-top:70px;
}

.navbar {
background: #081D3A !important;
backdrop-filter: blur(10px);
padding: 1rem 0;
}

.navbar-brand {
font-size: 1.8rem;
font-weight: bold;
color: white !important;
}

.navbar-nav .nav-link {
color: white !important;
font-weight: 500;
margin: 0 1rem;
transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
color: #ff6b35 !important;
}

.btn-start-quote {
background: transparent;
border: 2px solid #ff6b35;
color: #ff6b35;
padding: 0.5rem 1.5rem;
border-radius: 25px;
font-weight: 600;
transition: all 0.3s ease;
}

.btn-start-quote:hover {
background: #ff6b35;
color: white;
}

.hero-content {
position: relative;
z-index: 10;
padding-top: 6rem;
}
.hero-section .btn {
    padding: 15px 10px;
    width: 200px;
    height: 50px;
    line-height: 1.2;
}
.main-heading {
font-size: 3.8rem;
font-weight: 700;
color: white;
text-align: center;
margin-bottom: 2rem;
line-height: 1.1;
}

.sub-heading {
font-size: 1.3rem;
color: rgba(255, 255, 255, 0.9);
text-align: center;
margin-bottom: 3rem;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

.question-card {
background: white;
border-radius: 20px;
padding: 2rem;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
max-width: 900px;
margin: 0 auto;
position: relative;
z-index: 20;
display: flex;
}

.question-title {
display: flex;
align-items: center;
font-size: 1.5rem;
font-weight: 700;
color: #1a202c;
margin-bottom: 0rem;
max-width: 400px;
}

.question-icon {
background: #f7fafc;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
align-items: center;
justify-content: center;
margin-right: 1rem;
font-size: 1.5rem;
color: #2d3748;
}

.answer-buttons {
display: flex;
gap: 1rem;
justify-content: center;
align-items: center;
}

.btn-yes {
background: #ff6b35;
border: none;
color: white;
padding: 1rem 3rem;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-yes:hover {
background: #e55a2b;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-no {
background: transparent;
border: 2px solid #e2e8f0;
color: #4a5568;
padding: 1rem 3rem;
border-radius: 50px;
font-size: 1.1rem;
font-weight: 600;
transition: all 0.3s ease;
}

.btn-no:hover {
border-color: #cbd5e0;
background: #f7fafc;
transform: translateY(-2px);
}

/* Footer Styles */
.footer-section {
    background: #2A2A2A;
    color: #b8b8b8;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-link {
    color: #b8b8b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ff6b35;
}

.footer-logo {
    margin-bottom: 0.7rem;
}

.footer-logo h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.disclaimer {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: #b8b8b8;
}

.operator-info {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #b8b8b8;
}

.validation-info, .validation-info a {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #b8b8b8;
    text-decoration: none;
}

.copyright {
    font-size: 0.9rem;
    color: #b8b8b8;
    margin: 0;
}

/* Features Section Styles */
.features-section {
    background: #fff;
    padding: 3rem 0;
    position: relative;
}

.car-main-image {
    width: 100%;
    height: auto;
    max-width: 1800px;
    object-fit: contain;
}

.agents-overlay {
    border-radius: 0%;
    padding: 20px;
    z-index: 10;
}

.agents-overlay-img {
    width: 400px;
    height: auto;
    border-radius: 0%;
    object-fit: cover;
}

.features-content {
    padding: 2rem 0;
}

.features-heading {
    font-size: 2.4rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.features-description {
    font-size: 1.1rem;
    color: #718096;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.features-section .btn-cta {
    background: #ff6b35;
    border: none;
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    will-change: transform, box-shadow;
}

.features-section .btn-cta:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.features-row {
    margin-top: 0rem;
    padding-top: 0rem;
    position:relative;
    text-align: center;
}

.features-content-container .features-content {        
    border-radius: 20px;
    background: #f0f0f0;
}
.features-content-container  {
    position: absolute;
    top: 30%;
    left: 0px;
    right: 0px;
}

.feature-item {
    text-align: center;
    padding: 1rem;
}

.feature-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-text {
    font-size: 0.95rem;
    color: #718096;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
}
/* Featured Providers Section */
    .providers-section {
        background: #e5e7eb;
        padding: 3rem 0;
        text-align: center;
    }

    .providers-title {
        font-size: 1.8rem;
        font-weight: 400;
        color: #9ca3af;
        margin-bottom: 2.5rem;
        text-align: center;
    }

    .providers-logos {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 3rem;
        margin-bottom: 2rem;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .provider-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
    }

    .logo-img {
        height: auto;
        max-height: 40px;
        width: auto;
        object-fit: contain;
        opacity: 1;
        transition: opacity 0.2s ease;
        max-width: 160px;
        margin: auto;
        filter: contrast(40%);
    }

    .logo-img:hover {
        opacity: 1;
    }

    .others-badge {
        background: white;
        color: #6b7280;
        padding: 0.75rem 2rem;
        border-radius: 25px;
        font-size: 0.95rem;
        font-weight: 500;
        display: inline-block;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

/* How It Works Section */
    .how-it-works-section {
        background: #081D3A;
        color: white;
        padding: 5rem 0;
        position: relative;
    }

    .how-it-works-content {
        padding-right: 2rem;
    }

    .section-label {
        color: #ff6b35;
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 1px;
        margin-bottom: 0rem;
        text-transform: uppercase;
    }

    .section-heading {
        font-size: 2.5rem;
        font-weight: 700;
        color: white;
        margin-bottom: 1.5rem;
        line-height: 1.2;
        margin-left: -5px;
    }

    .section-description {
        font-size: 1.1rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.2;
        margin-bottom: 2.5rem;
    }

    .btn-cta-alt {
        background: #ff6b35;
        border: none;
        color: white;
        padding: 1rem 2.5rem;
        border-radius: 50px;
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.2s ease;
        box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    }

    .btn-cta-alt:hover {
        background: #e55a2b;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
        color: white;
    }

    .quote-cards {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        max-width: 480px;
        margin-left: auto;
    }

    .quote-card {
        background: white;
        border-radius: 12px;
        padding: 0.5rem 1rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
     .quote-card.one {margin-left:0}
     .quote-card.two {margin-left:2rem}
     .quote-card.three {margin-left:4rem}

    .quote-card-content {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .quote-logo {
        height: 30px;
        width: auto;
        object-fit: contain;
        max-width: 120px;
    }

    .quote-price {
        display: flex;
        align-items: baseline;
        gap: 0.3rem;
    }

    .price {
        font-size: 1.8rem;
        font-weight: 700;
        color: #2d3748;
    }

    .period {
        font-size: 0.9rem;
        color: #718096;
    }

    .savings-badge {
        background: #4299e1;
        color: white;
        padding: 0.75rem 1rem;
        border-radius: 8px;
        text-align: center;
        min-width: 80px;
    }

    .savings-text {
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.2;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 3rem;
        padding: 2rem;
        border-radius: 20px;
        background: #23344C;
        backdrop-filter: blur(10px);
    }

    .step-item {
        text-align: left;
        padding: 1.5rem;
        border-radius: 12px;
        background: #FFF;
    }

    .step-number {
        background: rgba(255, 255, 255, 0.1);
        color: #7A8EAA;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 1rem;
        border: 1px solid #7A8EAA;
    }
    .step-header{
        display:flex;
        align-items: center;
        gap: 20px;
    }
    .step-title {
        font-size: 1.3rem;
        font-weight: 600;
        color: #081D3A;
        margin-bottom: 1rem;
    }

    .step-description {
        font-size: 0.95rem;
        color: #081D3A;
        line-height: 1.2;
    }
   
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #212529;
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: #212529;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.faq-question:hover {
    color: #0d6efd;
}

.faq-icon {
    transition: transform 0.3s ease;
}
.faq-icon img{
    max-width:24px;
}

.faq-icon.rotated {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 20px;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.6;
    display: none;
}

.faq-answer.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.form-wizard{
    background: #EEF0F2;
    padding-top: 120px;
    padding-bottom: 50px;
}

.form-container {
    max-width: 900px;
    margin: 0px auto 0px;
    padding: 40px 30px;
    border-radius: 30px;
    background: #FFF;
}

.progress-bar-container {
    margin-bottom: 50px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
}

.progress-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #dee2e6;
    z-index: 1;
}

.progress-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background-color: #007bff;
    width: 25%;
    z-index: 2;
}

.progress-step {
    display: flex;
    align-items: center;
    z-index: 3;
    background-color: #ffffff;
    padding: 0 10px;
}

.step-circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}

.step-circle.active {
    background-color: #007bff;
}

.step-circle.inactive {
    background-color: #dee2e6;
}

.step-text {
    font-size: 14px;
    color: #6c757d;
}

.step-text.active {
    color: #007bff;
    font-weight: 500;
}

.main-title {
    font-size: 2.6rem;
    font-weight: 700;
    color: #212529;
    text-align: center;
    max-width: 600px;
    margin: 5px auto 35px;
    line-height: 1.2;
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.button-pill {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 15px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: #495057;
}

.button-pill-yes, .button-pill-no {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 15px 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: #495057;
}

.button-pill.active,
.button-pill-yes.active,
.button-pill-no.active {
    border-color: #fd7e14;
    background-color: #fd7e14;
    color: #fff;
}

.step-error {
    color: red;
    font-size: 0.9em;
}

.insurance-option:hover {
    border-color: #fd7e14;
    background-color: #fd7e14;
    color: #fff;
}

.insurance-option.selected {
    border-color: #007bff;
    background-color: #007bff;
    color: white;
}

.bottom-row {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.bottom-option {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    padding: 15px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: #495057;
}

.bottom-option:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
}

.bottom-option.selected {
    border-color: #007bff;
    background-color: #007bff;
    color: white;
}

.button-container, .button-submit {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-back {
    background-color: #adb5bd;
    border: none;
    border-radius: 50px;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 220px;
    width: 100%;
}

.btn-back:hover {
    background-color: #95a0a8;
}

.btn-continue, .btn-still, .btn-continue-end {
    background-color: #052f68;
    border: none;
    border-radius: 50px;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 220px;
    width: 100%;
}
.btn-continue-end {
    background-color: #fd7e14;
}

.btn-continue:hover {
    background-color: #fd7e14;
}
.form-content-wrapper {
   margin-bottom: 60px;
}
.description-text {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.input-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.inputfield {
    width: 100%;
    padding: 20px 25px;
    font-size: 16px;
    border: 1px solid #96989a;
    border-radius: 10px;
    background-color: white;
    color: #495057;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.input-label {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #adb5bd;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s ease;
    background-color: transparent;
    padding: 0;
}

.input-label.active {
    top: 0;
    left: 20px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #007bff;
    background-color: #fff;
    padding: 0 5px;
    z-index: 10;
}

.ff-options-grid {
  display: grid;
  gap: clamp(10px, 1.6vw, 16px);
}

.ff-options-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.ff-options-grid.three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 720px;
  margin-inline: auto;
}
.ff-options-grid.two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
    margin-inline: auto;
}
.consent-container {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.1;
    margin: 40px auto 0px;
    max-width: 600px;
    text-align: center;
}

.result-container {
    background: linear-gradient(135deg, #4285f4 0%, #5a9bff 100%);
}

.advertiser-label {
    color: white;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
    opacity: 0.9;
}

.result-main-heading {
    color: white;
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 5px;
    line-height: 1.1;
}

.main-subtext {
    color: white;
    font-size: 16px;
    margin-bottom: 35px;
    opacity: 0.9;
    font-weight: 400;
}

.quote-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}


.quote-card:last-child {
    margin-bottom: 0;
}

.progressive-logo {
    margin-right: 20px;
    min-width: 100px;
    text-align: center;
    width: 180px;
}
.progressive-logo img, .insurance-logos img{
    max-width:180px;
    width:100%;
}
.insurance-logos {
    margin-right: 20px;
}

.logo-item {
    font-size: 11px;
    color: #666;
    font-weight: 600;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}
.quote-content {
    flex-grow: 1;
}

.quote-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.quote-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.view-all-btn {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.view-all-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
}

.left-content {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.progress-section {
    margin-bottom: 50px;
}

.progress-header {
    color: #1e7ae8;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
}

.progress-bar-custom {
    height: 6px;
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-pill {
    height: 100%;
    background-color: #1e7ae8;
    width: 25%;
    border-radius: 10px;
    transition: width 0.3s ease;
}
.progress-circle {
    width:20px;
    height: 20px;
    background-color: #1e7ae8;
    border-radius: 50%;
}
.form-field {
    margin-bottom: 60px;
}

.form-label {
    font-size: 16px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 15px;
    display: block;
    text-align: left;
}

.dropdown-container {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.custom-select {
    width: 100%;
    padding: 15px 20px;
    font-size: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background-color: white;
    color: #6c757d;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 20px;
    transition: all 0.3s ease;
}

.input-group {
    position: relative;
}

.form-control {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    background: white;
    transition: border-color 0.2s ease;
}

.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.1);
}

.input-group-text {
    background: #f8f9fa;
    border: 2px solid #dee2e6;
    border-left: none;
    border-radius: 0 8px 8px 0;
    color: #6c757d;
    font-size: 16px;
    padding: 15px 18px;
}

.info-text {
    color: #6c757d;
    font-size: 15px;
    margin-top: 15px;
    text-align: left;
}
.input-section {
    text-align: left;
    margin-bottom: 40px;
}

.input-g-label{
    margin-bottom:5px;
}
.example-text {
    font-size: 14px;
    color: #666;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 0px;
    line-height: 1;
}

.manual-link {
    font-size: 14px;
    color: #666;
    text-align: left;
    margin-bottom: 40px;
}

.manual-link span {
    color: #4A90E2;
    text-decoration: underline;
    cursor: pointer;
}

.manual-link span:hover {
    color: #357ABD;
}
        
.result-section .quote-content {
    padding: 10px;
}

.result-section .price-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-section .monthly-payment, .result-section .full-payment {
    text-align: center;
    width: 180px;
}

.result-section .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.result-section .price-label {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-section .policy-total {
    color: #666;
    font-size: 0.85rem;
}

.result-section .savings {
    color: #28a745;
    font-size: 0.85rem;
    font-weight: 600;
}

.result-section .view-policy-btn {
    background-color: #ff6b35;
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    padding: 12px 30px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
}

.result-section .view-policy-btn:hover {
    background-color: #e55a2b;
    color: white;
    text-decoration: none;
}

.result-section .safeco-text {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
    text-align:center;
}
.action-content {flex:1;text-align: center;}
.or-divider {
    width: 40px;
    text-align: center;
}
select:focus {
  border-color: #e0e0e0; 
  outline: 0;
}

select:active {
  border-color: #e0e0e0;
  outline: 0;
}
select option:checked {
  background-color: #e0e0e0; 
  color: #fff;
 outline: 0;
}
.inputfield:focus {
    color: #212529;
    background-color: #fff;
    outline: 0;
    box-shadow: none;
}

input:-webkit-autofill {
  background-color: #fff !important; /* set your own background */
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important; /* override browser yellow */
  -webkit-text-fill-color: #000 !important; /* text color */
  transition: background-color 5000s ease-in-out 0s; /* prevents flashing */
}

/* On focus while autofilled */
input:-webkit-autofill:focus {
    background-color: #fff !important; /* set your own background */
  -webkit-box-shadow: 0 0 0 1000px #e6f0ff inset !important; /* example light blue */
  -webkit-text-fill-color: #000 !important;
}

.disabled{
    opacity: 0.3;
}


#ads-container a{
    text-decoration: none;
    color: #222;
}
.ad-details ul{
    padding-left: 0px;
    list-style: none;
}
.ad-action {
    text-align: center;
}
.ad-container {
    padding: 10px 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    background-color: #fff;
    max-width: 900px;
}

.top-rating-border {
    border-bottom: 2px solid #007bff;
    margin-bottom: 15px;
    padding-bottom: 5px;
}

.top-rating-border span {
    font-weight: 600;
    color: #007bff;
    font-size: 14px;
}

.ad-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.ad-logo img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.ad-details h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
    color: #333;
}
.ad-details ul li{
    margin-bottom:3px;
}
.ad-details ul {
    list-style: none;
    margin: 0;
    padding-left: 0px;
    color: #555;
    font-size: 15px;
}

.ad-action {
    text-align: center;
}

.ad-action .quote-button {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}
.ad-action .quote-button:hover {
    background-color: #e55a2b;
    color: white;
    text-decoration: none;
}

.ad-action .compare-link {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .ad-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


@media (max-width: 991.98px) {
  .ff-options-grid.four {
    grid-template-columns: repeat(3, 1fr);
  }
}


@media (max-width: 768px) {
  .ff-options-grid.four,
  .ff-options-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }    
    .features-content-container {
        position: relative; 
    }   
    .price-section {
        flex-direction: column;
        gap: 15px;
    }

    .main-heading {
        font-size: 2.5rem;
    }

    .question-card {
        margin: 0 1rem;
        padding: 1.5rem;
    }

    .answer-buttons {
        flex-direction: column;
        align-items: center;
        margin-top: 20px;
        justify-content: center;
    }

    .btn-yes, .btn-no {
        width: 200px;
    }

    .question-title {
        font-size: 1.4rem;
        text-align: center;
    }

    .question-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-logo h2 {
        font-size: 1.6rem;
    }

    .disclaimer,
    .operator-info,
    .validation-info,
    .copyright {
        font-size: 0.8rem;
    }
    .features-section {
        padding: 3rem 0;
    }

    .features-heading {
        font-size: 2.2rem;
        text-align: center;
    }

    .features-description {
        text-align: center;
        font-size: 1rem;
    }

    .agents-overlay {
        top: -10px;
    }

    .agents-image {
        width: 120px;
        height: 120px;
    }

    .features-content {
        text-align: center;
        margin-top: 0rem;
    }

    .btn-cta {
        width: 100%;
        max-width: 300px;
    }

    .features-row {
        margin-top: 2rem;
        padding-top: 2rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    .feature-text {
        font-size: 0.9rem;
    } 
    .providers-section {
        padding: 2rem 0;
    }

    .providers-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .providers-logos {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .provider-logo {
        min-width: 120px;
    }

    .logo-img {
        max-height: 35px;
    }

    .others-badge {
        font-size: 0.9rem;
        padding: 0.6rem 1.5rem;
    }
    .how-it-works-section {
        padding: 3rem 0;
    }

    .how-it-works-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 2rem;
    }

    .section-heading {
        font-size: 2rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .quote-cards {
        max-width: 100%;
        margin: 0;
    }

    .quote-card {
        text-align: center;
        gap: 1rem;
    }

    .quote-card-content {
        gap: 1.5rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .step-item {
        text-align: center;
        padding: 1rem;
    }

    .step-title {
        font-size: 1.1rem;
    }

    .step-description {
        font-size: 0.9rem;
    }
    .quote-card.two {margin-left:0rem}
    .quote-card.three {margin-left:0rem}
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-question {
        font-size: 1.1rem;
        padding: 18px 20px;
    }
    
    .faq-answer {
        padding: 0 20px 18px;
    }
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .main-title {
        font-size: 2.2rem;
        margin-bottom: 30px;
    }
    .description-text {
        font-size: 1rem;
        margin-bottom: 40px;
        padding: 0 10px;
    }
    .zip-input {
    padding: 16px 20px;
    font-size: 16px;
    }
    .insurance-option,
    .bottom-option {
        font-size: 14px;
        padding: 12px 20px;
    }
    
    .progress-steps {
        padding: 0 10px;
    }
    
    .step-text {
        font-size: 12px;
    }
    
    .button-container, .button-submit {
        align-items: center;
    }
    
    .btn-back,
    .btn-continue {
        width: 100%;
        margin: 5px 0;
        max-width: 220px;
    }
    .btn-back, .btn-continue.max-btn {
        width: max-content;
        max-width: 220px;
    } 
    .agents-overlay-img {
        max-width: 400px;
        width:100%;

    } 
    .features-content {
        padding: 1rem 0;
    } 
    .navbar-nav   {
        display:none;
    }
    .navbar-collapse {
        flex-basis: auto;
        flex-grow: initial;
        align-items: center;
    }       

} 
@media (max-width: 567px) {
    .question-card {
    flex-direction: column;
    }
    .quote-card {
        flex-direction: column;
    }     
}


@media (max-width: 480px) {
    .car-main-image {
        display:none;
    }
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ff-options-grid.four, .ff-options-grid.three {
        grid-template-columns: repeat(1, 1fr);
    }    
    .bottom-row {
        flex-direction: column;
        align-items: center;
    }
    .main-title {
        font-size: 2rem;
    }
    
    .input-container {
        padding: 0 15px;
    }
    
    .input-wrapper {
        max-width: none;
    }
    .question-card {
    flex-direction: column;
    }
    .main-heading {
        font-size: 2.0rem;
    }
}

/* Validation states for email and phone fields */
.green-border {
    border-color: #28a745 !important;
}

.error-border {
    border-color: #dc3545 !important;
}

.input_validated {
    background-color: #f0fff4;
}

#phone-validate.green-border::after {
    content: "✓";
    color: #28a745;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.validation-indicator {
    position: relative;
}
