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

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

/* Header Styles */
header {
    background-color: rgba(255, 255, 255, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo h2 {
    color: #4CAF50;
    font-weight: 600;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #4CAF50;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e3f2fd 0%, #c8e6c9 100%);
    min-height: 100vh; /* Changed to min-height to accommodate all content */
    display: flex;
    align-items: flex-start; /* Changed to align content to top */
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    padding-top: 100px; /* Add padding at the top to account for fixed header */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #2e7d32;
    font-weight: 700;
    text-align: center; /* Default center alignment */
}

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Override text alignment for legal content */
.legal-content h1,
.legal-content p {
    text-align: left;
}

.cta-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-btn:hover {
    background-color: #388E3C;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background-color: white;
}

.features .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: #2e7d32;
}

/* Benefits Section */
.benefits {
    padding: 5rem 2rem;
    background-color: #e8f5e9;
}

.benefits .container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2e7d32;
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-item h3 {
    margin-bottom: 1rem;
    color: #2e7d32;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 2rem;
    background-color: #f9f9f9;
}

.testimonials .container {
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-card h4 {
    color: #757575;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    text-align: center;
}

.contact .container {
    max-width: 800px;
    margin: 0 auto;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2e7d32;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

/* Legal Content */
.legal-content {
    text-align: left;
    font-size: 1rem; /* Regular text size */
    max-width: 800px; /* Restrict width for better readability */
    margin: 0 auto 60px auto; /* Add top margin to account for fixed header, center horizontally */
}

.legal-content h1 {
    text-align: left;
    font-size: 1.8rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content p {
    text-align: left;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.legal-content a {
    color: #4CAF50;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 2rem;
}

footer a {
    color: #a5d6a7;
    text-decoration: none;
}

footer a:hover {
    color: #e8f5e9;
    text-decoration: underline;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    .nav-links {
        margin-top: 1rem;
    }
    
    .nav-links li {
        margin: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}