/* Basic Reset & Body Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: #2c3e50; /* Dark blue/grey */
    color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 28px;
    color: #fff;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db; /* Bright blue */
}

.menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, #3498db, #2980b9); /* Blue gradient */
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hero-content {
    max-width: 700px;
    text-align: center;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin: 0 10px;
}

.primary-btn {
    background-color: #2ecc71; /* Green */
    color: #fff;
    border: 2px solid #2ecc71;
}

.primary-btn:hover {
    background-color: #27ae60;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Sections General Styling */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-child(even) { /* Apply a different background to alternate sections */
    background-color: #ecf0f1; /* Light grey */
}

h3 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* Features Section */
.features-section .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #3498db;
}

.feature-item p {
    font-size: 16px;
    color: #555;
}

/* How It Works Section */
.how-it-works-section .steps-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.step-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    flex: 1 1 300px; /* Allows items to grow/shrink but maintain min-width */
    max-width: 380px; /* Prevents them from getting too wide on large screens */
}

.step-item span {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #3498db;
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.step-item h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #2c3e50;
}

.step-item p {
    font-size: 16px;
    color: #555;
}

/* Benefits Section */
.benefits-section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 40px auto 0 auto;
}

.benefits-section ul li {
    background-color: #fff;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: left;
    display: flex;
    align-items: center;
    flex: 1 1 350px; /* Allows items to grow/shrink but maintain min-width */
    font-size: 18px;
    color: #333;
}

.benefits-section .checkmark {
    color: #2ecc71; /* Green */
    font-size: 24px;
    margin-right: 15px;
    font-weight: bold;
}

/* Contact Section */
.contact-section {
    background-color: #2c3e50; /* Dark blue/grey */
    color: #fff;
    padding: 80px 0;
}

.contact-section h3 {
    color: #fff;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left; /* Align form elements to the left */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
}

.form-group textarea {
    resize: vertical;
}

.contact-form .primary-btn {
    display: block;
    width: 100%;
    padding: 15px;
    font-size: 18px;
    text-align: center;
    border: none;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 15px;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
}

.social-links img {
    width: 30px;
    height: 30px;
    border-radius: 50%; /* Make placeholder icons round */
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h2 {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    nav {
        display: none; /* Hide nav by default on mobile */
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    nav.active { /* Show nav when active */
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block; /* Show hamburger icon on mobile */
        position: absolute;
        right: 20px;
        top: 15px;
    }

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .btn {
        display: block;
        width: 80%;
        margin: 15px auto;
    }

    .feature-grid, .steps-grid {
        grid-template-columns: 1fr; /* Stack columns on smaller screens */
    }

    .benefits-section ul li {
        flex: 1 1 90%; /* Allow items to take more width */
    }

    .contact-form {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 28px;
    }
    .hero-content p {
        font-size: 16px;
    }
    h3 {
        font-size: 28px;
    }
    .feature-item h4, .step-item h4 {
        font-size: 20px;
    }
}