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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Container: mobile-first */
.container {
    width: 100%;
    max-width: 480px; /* mobile default */
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Header Styles */
.header {
    padding: 15px 0 0 0;
    text-align: center;
    background: linear-gradient(to right, #0056b3, #0069d9);
    margin: 0 -20px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.logo h1 {
    margin-bottom: 15px;
    padding: 10px 0;
    font-size: 26px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: 1px;
}

.header-banner {
    width: 100%;
    height: 220px;
    overflow: hidden;
    margin-bottom: 0;
}

.header-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 0 0 30px 0;
    background-color: #f0f7ff;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.banner-image {
    width: 100%;
    margin-bottom: 0;
    position: relative;
}

.banner-image img {
    width: 100%;
    height: auto;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    object-fit: cover;
}

.banner-image img.main-banner {
    max-height: 250px;
    object-position: center;
}

.hero-content {
    padding: 20px;
    background: linear-gradient(to bottom, rgba(240, 247, 255, 0.9), #f0f7ff);
    position: relative;
    z-index: 2;
}

.hero .car-image.hero-car {
    margin: 0 auto 20px;
    max-width: 90%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.hero .car-image.hero-car img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 200px;
    object-fit: cover;
}

.hero h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0056b3;
}

.hero p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.shield-icon {
    margin-bottom: 15px;
}

.shield-icon img {
    width: 80px;
    height: 80px;
}

/* Form Section */
.form-section {
    background-color: #ffffff;
    background-image: url('images/pattern.svg');
    background-repeat: repeat;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(0, 86, 179, 0.2);
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 247, 255, 0.9));
    border-radius: 12px;
    z-index: -1;
}

.form-section h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #0056b3;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    background-color: rgba(255, 255, 255, 0.9);
}

.form-group input:focus,
.form-group select:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 3px 8px rgba(0, 86, 179, 0.15);
    transform: translateY(-2px);
}

.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(to right, #0056b3, #0069d9);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(to right, #004494, #0056b3);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 86, 179, 0.3);
}

/* Thank You Section */
.thank-you-section {
    display: none;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.thank-you-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: linear-gradient(to right, #0056b3, #0069d9);
    color: white;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
    margin-top: 10px;
    width: 100%;
    max-width: 250px;
}

.quote-btn:hover {
    background: linear-gradient(to right, #004494, #0056b3);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 86, 179, 0.4);
}

.check-icon {
    margin-bottom: 20px;
}

.check-icon img {
    width: 80px;
    height: 80px;
}

.thank-you-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0056b3;
}

.thank-you-section p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background-color: #28a745;
    color: white;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.call-btn:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.4);
}

.call-btn .phone-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* How It Works Section */
.how-it-works {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
    background-image: linear-gradient(to bottom, #ffffff, #f0f7ff);
}

.how-it-works h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #0056b3;
    position: relative;
}

.how-it-works h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #0056b3;
    margin: 10px auto 0;
    border-radius: 2px;
}

.car-image {
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.car-image img {
    width: 100%;
    height: auto;
    display: block;
}

.car-image img.car-banner {
    max-height: 200px;
    object-fit: cover;
    object-position: center;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.step-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.step-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: #0056b3;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    flex: 1;
}

/* Why Trust Us Section */
.why-trust-us {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    background-image: linear-gradient(to bottom, #ffffff, #f8f9fa);
}

.why-trust-us h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #0056b3;
    position: relative;
}

.why-trust-us h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: #0056b3;
    margin: 10px auto 0;
    border-radius: 2px;
}

.trust-points {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.trust-point {
    display: flex;
    align-items: center;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid #0056b3;
}

.trust-point:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.trust-point .trust-icon {
    width: 40px;
    height: 40px;
    margin-right: 15px;
    object-fit: contain;
}

.trust-point p {
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

/* Call to Action Section */
.cta-section {
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 35px 25px;
    background: linear-gradient(to right, rgba(0, 86, 179, 0.9), rgba(0, 56, 116, 0.9));
}

.cta-section h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .call-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-section .call-btn i {
    margin-right: 8px;
}

.cta-section .call-btn:hover {
    background-color: #218838;
}

/* Footer */
.footer {
    padding: 25px 0;
    text-align: center;
    margin-top: 40px;
    background: linear-gradient(to right, #f8f9fa, #f0f7ff);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}

.footer p {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 25px;
}

.footer-links a {
    font-size: 14px;
    color: #0056b3;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #0069d9;
    transform: translateY(-2px);
}

.footer-call-action {
    margin-top: 20px;
}

.footer .call-btn {
    padding: 12px 24px;
    font-size: 16px;
    margin: 0 auto;
}

/* Small devices (mobile) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .form-section,
    .thank-you-section,
    .why-trust-us {
        padding: 20px;
    }
    
    .form-group input,
    .form-group select,
    .submit-btn,
    .call-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .trust-point i {
        font-size: 18px;
    }
    
    .trust-point p,
    .step p {
        font-size: 15px;
    }
}

/* Tablet: make content wider and use multi-column for steps/trust */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 30px;
    }

    .header {
        margin: 0 -30px 28px;
    }

    .header-banner {
        height: 320px;
    }

    .hero h2 {
        font-size: 34px;
    }
    .hero p {
        font-size: 17px;
    }

    .hero .car-image.hero-car img {
        max-height: 260px;
    }

    .form-section {
        padding: 36px 32px;
    }

    .form-group input,
    .form-group select {
        padding: 16px 18px;
        font-size: 17px;
    }

    .submit-btn {
        padding: 18px;
        font-size: 18px;
        border-radius: 40px;
    }

    /* Steps become horizontal two-column layout (wrap) */
    .steps {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    .step {
        flex: 1 1 calc(50% - 10px);
        min-width: 280px;
    }

    .trust-points {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .cta-content {
        padding: 40px 35px;
    }

    .cta-section p {
        max-width: 520px;
    }
}

/* Desktop / large screens: increase spacing and columns */
@media (min-width: 1024px) {
    .container {
        max-width: 980px;
        padding: 0 40px;
    }

    .header {
        margin: 0 -40px 32px;
    }

    .header-banner {
        height: 420px;
    }

    .hero {
        padding-bottom: 40px;
    }

    .hero h2 {
        font-size: 42px;
    }
    .hero p {
        font-size: 18px;
    }

    .hero .car-image.hero-car img {
        max-height: 320px;
    }

    .form-section {
        padding: 48px 40px;
    }

    .form-group input,
    .form-group select {
        padding: 16px 18px;
        font-size: 17px;
    }

    .submit-btn {
        padding: 18px;
        font-size: 18px;
    }

    .steps {
        gap: 24px;
    }
    .step {
        flex: 1 1 calc(33% - 16px);
        min-width: 220px;
    }

    .trust-points {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .cta-content {
        padding: 48px 40px;
    }
}

/* Animation for form submission */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}
/* Ensure the page uses full width on larger screens */
.container {
    width: 100%;
    max-width: 1200px; /* keeps content nicely centered on desktops */
    margin: 0 auto;
    padding: 0 20px;
}

/* Make header banner image responsive */
.header-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Adjust layout for tablets and desktops */
@media (min-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 40px 20px;
    }

    .form-section form {
        max-width: 600px;
        margin: 0 auto;
    }

    .steps {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .step {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 18px;
    }

    .container {
        max-width: 1400px;
    }
}
/* Default mobile style */
.header-banner-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}
.submit-btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #0056b3, #004494);
}

.call-btn {
  display: inline-block;
  margin-top: 20px;
  background: #28a745;
  color: white;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.call-btn:hover {
  background: #218838;
}


