/* 
* Car Capital Connect Landing Page Styles
* ------------------------------
*/

/* Global Styles & Reset */
:root {
    --primary-color: #003366;
    --secondary-color: #ffa500;
    --accent-color: #00a86b;
    --light-bg: #f7f7f7;
    --dark-text: #333333;
    --light-text: #ffffff;
    --grey-text: #666666;
    --border-radius: 5px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Make capitalized text bold for better highlighting */
h1, h2, h3, h4, h5, h6, .solution-item h3, .step-content h3, .metric-label, .quota-label {
    text-transform: uppercase;
    font-weight: 800;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Header */
header {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    color: var(--light-text);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.header-cta {
    font-size: 1rem;
    color: var(--light-text);
}

.header-cta strong {
    color: var(--light-text);
    font-weight: 700;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    background-color: #ffb733;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.hero-image {
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
}

.performance-chart {
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    width: 100%;
    height: auto;
}

/* Pain Points Section */
.pain-points {
    background: linear-gradient(135deg, #ff3019 0%, #cf0404 100%);
    padding: 60px 0;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.pain-points::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.pain-points h2 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-weight: 800;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.pain-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: flex-start;
    transform: translateY(0);
    transition: all 0.3s ease;
    border-left: 4px solid #dc3545;
}

.pain-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.pain-icon {
    color: #dc3545;
    font-size: 1.8rem;
    margin-right: 15px;
    min-width: 30px;
}

.pain-text h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #dc3545;
    font-weight: 700;
}

.pain-text p {
    color: var(--dark-text);
    font-weight: 500;
}

/* Solutions Section */
.solutions {
    padding: 60px 0;
}

.solutions h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.solution-highlight {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 25px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 20px;
    box-shadow: var(--box-shadow);
}

.solution-highlight p {
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
}

.solution-item {
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    position: relative;
}

.solution-item:hover {
    transform: translateY(-5px);
}

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.solution-item:hover .solution-icon {
    opacity: 1;
    transform: scale(1.1);
}

.solution-item h3 {
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.exclusive {
    background-color: #e8f4ff;
    border-left: 4px solid var(--primary-color);
}

.exclusive h3 {
    color: var(--primary-color);
}

.exclusive .solution-icon {
    color: var(--primary-color);
}

.verification {
    background-color: #e8fff4;
    border-left: 4px solid var(--accent-color);
}

.verification h3 {
    color: var(--accent-color);
}

.verification .solution-icon {
    color: var(--accent-color);
}

.credit {
    background-color: #fff8e8;
    border-left: 4px solid var(--secondary-color);
}

.credit h3 {
    color: var(--secondary-color);
}

.credit .solution-icon {
    color: var(--secondary-color);
}

.delivery {
    background-color: #f0e8ff;
    border-left: 4px solid #6a4cc6;
}

.delivery h3 {
    color: #6a4cc6;
}

.delivery .solution-icon {
    color: #6a4cc6;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light-bg);
    padding: 60px 0;
}

.how-it-works h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.step {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: flex-start;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--light-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Metrics Container */
.metrics-container {
    background: linear-gradient(135deg, #003366 0%, #004d99 100%);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.metrics-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.metrics-container h3 {
    color: white;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.6rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-item {
    text-align: center;
    padding: 25px 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.metric-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.metric-item:hover .metric-icon {
    opacity: 1;
    transform: scale(1.1);
    color: var(--secondary-color);
}

.metric-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary-color), transparent);
}

.metric-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.metric-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.metric-label {
    font-weight: 800;
    color: var(--dark-text);
    font-size: 1.1rem;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.metric-description {
    color: var(--grey-text);
    font-size: 0.9rem;
    font-style: italic;
}

/* Testimonial Section */
.testimonial {
    padding: 60px 0;
    background-color: #f0f7ff;
}

.testimonial h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.testimonial-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-item {
    background-color: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    max-width: 500px;
    transition: transform 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

.quote-mark {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
    opacity: 0.5;
    text-align: center;
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.6;
}

.author-name {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-company {
    color: var(--grey-text);
}

/* Calculator Section */
.calculator {
    padding: 80px 0;
    background: linear-gradient(135deg, #e8f4ff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.calculator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 8%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.4) 0%, transparent 8%);
    opacity: 0.6;
    pointer-events: none;
}

.calculator-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.calculator-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.calculator-header h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.calculator-header p {
    color: var(--grey-text);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.calculator-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 51, 102, 0.15);
    overflow: hidden;
    margin: 0 auto;
    max-width: 1100px;
    border: 1px solid rgba(0, 51, 102, 0.08);
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calculator-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 51, 102, 0.2);
}

.calculator-inputs {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    background-color: #ffffff;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.03);
}

.calculator-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(248, 250, 252, 0.7);
    transition: all 0.3s ease;
}

.calculator-input-group:hover {
    background-color: rgba(240, 247, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.05);
}

.calculator-input-group label {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.calculator-input-group:hover label {
    color: #004d99;
}

.calculator-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    transition: all 0.3s ease;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.calculator-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.calculator-slider::-webkit-slider-thumb:hover {
    background: #002a54;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.calculator-slider::-moz-range-thumb:hover {
    background: #002a54;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.slider-value-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-label {
    color: var(--grey-text);
    font-size: 0.9rem;
}

.slider-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    background-color: #f0f7ff;
    padding: 4px 12px;
    border-radius: 4px;
    min-width: 70px;
    text-align: center;
}

.calculator-results {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e1f0ff 100%);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    border-left: 1px solid rgba(0, 51, 102, 0.08);
}

.calculator-results::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
}

.calculator-results h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #d7e5f5;
    padding-bottom: 15px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
}

.result-item {
    margin-bottom: 30px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.08);
    transition: all 0.3s ease;
}

.result-item:hover {
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(0, 51, 102, 0.12);
    transform: translateY(-3px);
}

.result-label {
    color: var(--dark-text);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.result-value.highlight {
    color: #00a86b;
    font-size: 3rem;
}

.result-value.updated {
    animation: pulse-update 0.7s ease;
}

@keyframes pulse-update {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        color: #00a86b;
    }

    100% {
        transform: scale(1);
    }
}

.result-description {
    color: var(--grey-text);
    font-size: 0.9rem;
}

.calculator-cta-button {
    display: inline-block;
    background: linear-gradient(to right, #00a86b, #00c278);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 16px 30px;
    border-radius: 8px;
    text-align: center;
    margin: 25px 0 15px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 168, 107, 0.3);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: none;
    width: 100%;
}

.calculator-cta-button:hover {
    background: linear-gradient(to right, #00b975, #00d382);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 168, 107, 0.4);
    color: white;
}

.calculator-cta-button::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.calculator-cta-button:hover::after {
    opacity: 1;
    transform: translateX(60%) skewX(-20deg);
}

.result-disclaimer {
    color: var(--grey-text);
    font-size: 0.8rem;
    text-align: center;
    font-style: italic;
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
}

@media (max-width: 767px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .pain-grid,
    .solution-grid,
    .steps-container,
    .metrics-grid,
    .quota-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 40px 0;
    }

    .calculator-container {
        flex-direction: column;
        padding: 0;
    }

    .calculator-inputs,
    .calculator-results {
        width: 100%;
        border-radius: 0;
    }

    .calculator-results::before {
        width: 100%;
        height: 4px;
        top: 0;
        background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    }

    .calculator-input-group {
        padding: 15px;
    }

    .result-item {
        padding: 12px;
    }

    .result-value {
        font-size: 2.2rem;
    }

    .result-value.highlight {
        font-size: 2.6rem;
    }

    .calculator-header h2 {
        font-size: 1.8rem;
    }

    .calculator-results h3 {
        font-size: 1.6rem;
    }

    .form-container {
        padding: 25px 20px;
    }
}

/* Additional Mobile Responsiveness */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 12px 20px;
        font-size: 1rem;
    }

    .pain-item,
    .solution-item,
    .step,
    .testimonial-item {
        padding: 15px;
    }

    .calculator-inputs {
        padding: 25px 15px;
    }

    .calculator-results {
        padding: 25px 15px;
    }

    .result-value {
        font-size: 2rem;
    }

    .result-value.highlight {
        font-size: 2.4rem;
    }

    .calculator-cta-button {
        padding: 14px 20px;
        font-size: 1rem;
    }

    .form-header h2,
    .calculator-header h2,
    section h2 {
        font-size: 1.6rem;
    }

    .call-emphasis {
        font-size: 1.1rem;
        padding: 15px 20px;
    }

    .thank-you-message {
        padding: 30px 20px;
    }

    .thank-you-message h3 {
        font-size: 1.6rem;
    }
    
    /* Improved mobile form spacing */
    .form-container {
        padding: 30px 20px;
    }
    
    .form-row {
        gap: 15px;
    }
    
    form {
        gap: 20px;
    }
    
    .form-checkbox {
        padding: 12px;
    }
    
    .form-group {
        margin-bottom: 0;
    }
    
    /* Ensure tap targets are at least 48px */
    .quota-item {
        padding: 20px 15px;
    }
    
    .quota-icon {
        margin-bottom: 15px;
    }
}

/* Lead Form Section */
.lead-form {
    background: linear-gradient(135deg, #001a33 0%, #003366 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    color: var(--light-text);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) inset;
}

.lead-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.lead-form::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.05) 0%, transparent 15%);
    pointer-events: none;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.form-header h2 {
    font-size: 2.4rem;
    color: var(--light-text);
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.form-header p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.call-emphasis {
    margin: 30px 0;
    padding: 25px 35px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffb733 100%);
    color: var(--primary-color);
    border-radius: var(--border-radius);
    display: inline-block;
    font-size: 1.4rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    animation: pulse 2s infinite;
    border-left: 4px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 165, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 165, 0, 0);
    }
}

.thank-you-message {
    background: linear-gradient(to bottom, #ffffff, #f9fbff);
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(0, 51, 102, 0.1);
    animation: fadeIn 0.6s ease-out forwards;
}

.thank-you-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 6px 6px 0 0;
}

.thank-you-message h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
    position: relative;
    display: inline-block;
}

.thank-you-message h3::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.thank-you-message p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--grey-text);
    line-height: 1.6;
}

.callback-time {
    background-color: #f0f7ff;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 25px 0;
    border-left: 4px solid var(--primary-color);
    text-align: left;
}

.callback-time strong {
    color: var(--primary-color);
    font-weight: 700;
}

.urgency-message {
    background-color: #fff8e8;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 25px 0;
    border-left: 4px solid var(--secondary-color);
    text-align: left;
    font-weight: 600;
    color: #d14836;
    animation: pulse 2s infinite;
}

/* Quota Options */
.quota-options {
    margin: 40px 0;
    padding: 20px;
    background-color: rgba(0, 51, 102, 0.8);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.quota-options h3 {
    margin-bottom: 25px;
    color: var(--light-text);
    font-size: 1.4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.quota-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.quota-item {
    background: linear-gradient(to bottom, #ffffff, #f5f9ff);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.quota-icon {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.quota-item:hover .quota-icon {
    opacity: 1;
    transform: scale(1.1);
    color: var(--secondary-color);
}

.quota-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quota-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.quota-item:hover::before {
    opacity: 1;
}

.quota-item.active {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, #f0f7ff, #ffffff);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.2);
}

.quota-item.active::before {
    opacity: 1;
    height: 6px;
    background: var(--primary-color);
}

.quota-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.quota-item:hover .quota-value,
.quota-item.active .quota-value {
    color: #004d99;
    transform: scale(1.05);
}

.quota-label {
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--dark-text);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.quota-description {
    font-size: 0.9rem;
    color: var(--grey-text);
    transition: all 0.3s ease;
}

.quota-item:hover .quota-description {
    color: var(--dark-text);
}

.form-container {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    padding: 50px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: translateY(0);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.form-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.form-container::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 20px;
    right: 20px;
    height: 12px;
    background: linear-gradient(to right, var(--secondary-color), var(--accent-color));
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.form-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 16px;
    pointer-events: none;
}

form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    margin-bottom: 5px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

input,
select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 1.05rem;
    font-family: 'Open Sans', sans-serif;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    color: var(--dark-text);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    min-height: 56px; /* Ensure minimum height for better tap targets on mobile */
}

input:hover,
select:hover {
    border-color: #c8d4e6;
    background-color: #f0f5fa;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 51, 102, 0.1), 0 8px 20px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

/* Form validation styling */
input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

input:invalid:not(:placeholder-shown):focus,
select:invalid:not(:placeholder-shown):focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

/* Accessibility focus styles */
input:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #f0f7ff;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.form-checkbox input {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    accent-color: var(--primary-color);
}

.form-checkbox label {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.submit-button {
    background: linear-gradient(to right, var(--accent-color), #00c278);
    color: white;
    font-weight: 800;
    font-size: 1.2rem;
    padding: 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 168, 107, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    min-height: 64px; /* Ensure minimum height for better tap targets on mobile */
}

.submit-button:hover {
    background: linear-gradient(to right, #00b975, #00d382);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 168, 107, 0.5);
}

.submit-button:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 168, 107, 0.4);
}

.submit-button::after {
    content: '';
    display: block;
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.submit-button:hover::after {
    opacity: 1;
    transform: translateX(60%) skewX(-20deg);
}

.submit-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 168, 107, 0.3), 0 10px 25px rgba(0, 168, 107, 0.4);
}

.privacy-policy {
    margin-top: 20px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    line-height: 1.5;
}

.privacy-policy a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: all 0.3s ease;
}

.privacy-policy a:hover {
    color: white;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: white;
    color: var(--dark-text);
    padding: 50px 0 30px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
    border-top: 1px solid rgba(0, 51, 102, 0.1);
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--accent-color);
}

.footer-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    opacity: 0.8;
    font-weight: 600;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.copyright {
    border-top: 1px solid rgba(0, 51, 102, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    color: var(--grey-text);
}

/* Responsive Styles */
@media (min-width: 768px) {
    .hero .container {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
        align-items: center;
    }

    .hero-content {
        margin-bottom: 0;
        margin-right: 30px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) {
    .testimonial-slider {
        flex-wrap: nowrap;
    }
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeIn {
    animation: fadeIn 0.5s ease forwards;
}