/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    width: 100%;
}

.hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 20% 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 50%;
    text-align: left;
    padding: 0;
}

.hero-form {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 40%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.hero-form > div {
    max-height: 400px !important;
}

#_lg_form_ {
    height: auto !important;
    max-height: 400px !important;
}

#_lg_form_ > iframe {
    height: 400px !important;
    max-height: 400px !important;
}

.hero-form iframe {
    max-height: 400px !important;
}

.hero-form #_lg_form_,
.hero-form > div,
.hero-form iframe,
.hero-form form,
.hero-form * {
    max-height: 100% !important;
    overflow: visible !important;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

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

.hero-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 2;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    color: white;
    font-size: 2rem;
}

.step h3 {
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
}

/* Ensure the Learn More button is centered */
.how-it-works .cta-buttons {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    text-align: center;
}

.how-it-works .btn {
    margin: 0 auto;
}

/* Help Options Section */
.help-options {
    padding: 80px 0;
    background: var(--background);
}

.help-options h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.help-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.help-card:hover {
    transform: translateY(-5px);
}

.help-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.help-card h3 {
    margin-bottom: 1rem;
}

.help-card p {
    color: var(--text-secondary);
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-column {
    display: grid;
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-flex {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-content, .hero-form {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .feature-grid, .process-steps, .help-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .feature-grid,
    .help-grid,
    .process-steps,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .features,
    .how-it-works,
    .help-options,
    .testimonials {
        padding: 60px 0;
    }

    .features h2,
    .how-it-works h2,
    .help-options h2,
    .testimonials h2 {
        font-size: 2rem;
    }
}
