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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f7fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
    border-bottom: 1px solid rgba(243, 244, 246, 0.4);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 145px 13px 145px;
    height: 91px;
}

.logo {
    width: 196px;
    height: 62px;
}

.header-right {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.call-text {
    font-size: 18px;
    color: #31425e;
    letter-spacing: -0.4px;
    line-height: 16px;
}

.phone-button {
    background: #f4d576;
    color: #31425e;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    padding: 7px 60px;
    border-radius: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.phone-button:hover {
    background: #f2c94c;
    transform: translateY(-1px);
}

/* Main Content */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    background: #1263a2;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../imgs/background-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    padding: 0 134px 0 134px;
    width: 100%;
    max-width: 1440px;
    height: 100%;
}

.hero-main {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-left {
    flex: 1;
    max-width: 562px;
}

.hero-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 64px;
    line-height: 64px;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 18.59px;
    line-height: 28px;
    color: #ffffff;
    letter-spacing: -0.4px;
    margin-bottom: 20px;
    padding: 10px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 12.91px;
    line-height: 20px;
    letter-spacing: -0.4px;
}

.checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Form Card */
.hero-right {
    flex-shrink: 0;
    width: 552px;
}

.form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 33px;
    box-shadow: 0px 4px 24px -4px rgba(36, 51, 66, 0.08);
    border: 1px solid rgba(243, 244, 246, 0.4);
    backdrop-filter: blur(2px);
}

.form-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 20px;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 17px;
}

.form-subtitle {
    color: #4d6280;
    font-size: 14.88px;
    line-height: 24px;
    letter-spacing: -0.4px;
    margin-bottom: 17px;
}

.rate-form {
    margin-bottom: 17px;
}

.input-container {
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.location-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

input[type="tel"] {
    width: 100%;
    padding: 18px 17px 17px 49px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15.25px;
    color: #9ca3af;
    letter-spacing: -0.4px;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    outline: none;
    transition: all 0.3s ease;
}

input[type="tel"]:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    color: #333;
}

.cta-button {
    width: 100%;
    background: #f7cc4b;
    color: #31425e;
    border: none;
    border-radius: 9999px;
    padding: 12px 24px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 19.25px;
    line-height: 24px;
    letter-spacing: -0.4px;
    cursor: pointer;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1), 0px 4px 6px -4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #f2c94c;
    transform: translateY(-2px);
    box-shadow: 0px 15px 25px -3px rgba(0, 0, 0, 0.15), 0px 8px 10px -4px rgba(0, 0, 0, 0.1);
}

.cta-button:active {
    transform: translateY(0);
}

/* Trustpilot Widget */
.trustpilot-widget {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 36px;
    background: #ffffff;
}

.trustpilot-content {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.rating-text {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000000;
    text-transform: capitalize;
}

.stars-container {
    display: flex;
    gap: 2px;
}

.star {
    width: 22px;
    height: 20.625px;
    background: #00B67A;
    position: relative;
}

.star.half {
    background: linear-gradient(to right, #00B67A 50%, #DCDCE6 50%);
}

.review-count {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #000000;
}

.trustpilot-logo {
    font-family: 'Helvetica Neue', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #191919;
}

/* Providers Section */
.providers-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 2rem;
}

.providers-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 42px;
    line-height: 48px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 70px;
}

.providers-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.provider-logo {
    width: 200px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

/* Footer */
.footer {
    background: #ffffff;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
    padding: 16px 0;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 100px;
    height: 72px;
}

.security-badges {
    display: flex;
    gap: 16px;
    align-items: center;
}

.security-badges img {
    height: 40px;
    width: auto;
}

.footer-text {
    color: #4d6280;
    font-size: 11.25px;
    line-height: 16px;
    letter-spacing: -0.4px;
}

/* Form Validation Styles */
.input-container.error input {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input-container.success input {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.validation-message {
    font-size: 12px;
    margin-top: 4px;
    padding: 2px 0;
    transition: all 0.3s ease;
}

.validation-message.error {
    color: #ef4444;
}

.validation-message.success {
    color: #22c55e;
}

/* Button States */
.cta-button.ready {
    background: #22c55e;
    color: white;
}

.cta-button.loading {
    background: #9ca3af;
    color: white;
    cursor: not-allowed;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Notification */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border: 1px solid #22c55e;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    max-width: 350px;
}

.success-notification.show {
    transform: translateX(0);
}

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

.success-content h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.success-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* Animation Elements */
.animate-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-item {
    transition: transform 0.3s ease;
}

.provider-logo {
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .header-content {
        padding: 12px 50px 13px 50px;
    }
    
    .hero-content {
        padding: 0 50px;
        gap: 30px;
    }
    
    .hero-left {
        max-width: 450px;
    }
    
    .hero-right {
        width: 450px;
    }
    
    .footer-content {
        padding: 0 50px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        text-align: center;
        gap: 40px;
    }
    
    .hero-main {
        flex-direction: column;
        gap: 40px;
    }
    
    .hero-left,
    .hero-right {
        width: 100%;
        max-width: 600px;
        text-align: left;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 52px;
    }
    
    .providers-logos {
        gap: 20px;
    }
    
    .provider-logo {
        width: 150px;
        height: 60px;
    }

    .header-right {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .provider-logo {
        width: 200px;
        height: 75px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        height: auto;
    }
    
    .header-right {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .hero {
        padding: 40px 0;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-main {
        gap: 0rem;
    }
    
    .hero-title {
        font-size: 58px;
        line-height: 60px;
        text-align: left;
    }

    .hero-subtitle {
        text-align: left;
    }
    .form-card {
        padding: 25px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        height: auto;
    }
    
    .providers-section {
        margin-top: 40px;
    }
    
    .providers-logos {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px 15px;
        justify-items: center;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .provider-logo:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
        justify-self: center;
        transform: translateX(50%);
    }
    
    .provider-logo:nth-child(5) {
        grid-column: 3;
        grid-row: 2;
        justify-self: center;
        transform: translateX(-50%);
    }
}

/* Mobile Features List Styles */
.features-list-mobile {
    display: none;
    list-style: none;
    padding-top: 20px;
}

.features-list-mobile .feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4d6280;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: -0.4px;
    margin-bottom: 12px;
    text-align: left;
}

.features-list-mobile .feature-item:last-child {
    margin-bottom: 0;
}

.features-list-mobile .checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hero-left .features-list {
        display: none;
    }
    
    .features-list-mobile {
        display: block;
    }

    .providers-section {
        margin-top: 0px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-bottom: 50px;
    }

    .container {
        padding: 0 15px;
    }

    .header-right {
       display: none;
    }
    
    .hero-title {
        font-size: 48px;
        line-height: 50px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .form-card {
        padding: 20px 20px;
    }
    
    .phone-button {
        padding: 7px 30px;
        font-size: 14px;
    }

    .providers-title {
        margin-bottom: 20px;
    }

    .security-badges img {
        height: 30px;
        width: auto;
    }
} 

@media (max-width: 576px) {
    .providers-logos {
        grid-template-columns: 1fr 1fr;
        gap: 25px 20px;
        max-width: 400px;
    }
    .provider-logo:nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }
    
    .provider-logo:nth-child(2) {
        grid-column: 2;
        grid-row: 1;
    }
    
    .provider-logo:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }
    
    .provider-logo:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
        transform: none;
        justify-self: center;
    }
    
    .provider-logo:nth-child(5) {
        grid-column: 1 / -1;
        grid-row: 3;
        transform: none;
        justify-self: center;
    }
}