/* General Body Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

/* Header Styles */
.main-header {
    background-color: #0056b3; /* Darker blue for contrast */
    color: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.main-header h1 {
    margin: 0;
    font-size: 1.8em;
    display: flex;
    align-items: center;
}

.main-header h1 i {
    margin-right: 10px;
    font-size: 1.2em;
}

.main-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.main-header nav ul li {
    margin-left: 25px;
}

.main-header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px; /* Space for underline effect */
}

.main-header nav ul li a:hover {
    color: #e2e6ea;
    border-bottom: 2px solid #e2e6ea;
}

/* Hero Section */
.hero-section {
    background-color: #0b8cfa; /* Primary blue */
    color: #fff;
    padding: 80px 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    text-align: left;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    color: #fff;
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary {
    background-color: #28a745; /* Green */
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #218838;
    transform: translateY(-2px);
}

/* Section Styling */
section {
    padding: 60px 0;
    text-align: center;
}

section:nth-of-type(even) {
    background-color: #e9ecef; /* Light gray for alternating sections */
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #0056b3; /* Darker blue */
    position: relative;
    padding-bottom: 10px;
}

section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #007bff;
    border-radius: 2px;
}

/* Overview and Features Grid */
.overview-grid, .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.overview-item, .feature-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overview-item:hover, .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.overview-item i, .feature-item i {
    font-size: 3em;
    color: #007bff;
    margin-bottom: 20px;
}

.overview-item h3, .feature-item h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #0056b3;
}

.overview-item p, .feature-item p {
    font-size: 1em;
    color: #555;
}

/* Benefits Section */
.benefits-section ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.benefits-section ul li {
    background-color: #fff;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    font-size: 1.1em;
}

.benefits-section ul li i {
    color: #28a745; /* Green checkmark */
    margin-right: 15px;
    font-size: 1.5em;
}

/* Contact Section */
.contact-section p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #0056b3;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Include padding in element's total width and height */
    font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.contact-form .btn-primary {
    width: auto; /* Override 100% width for general buttons */
    padding: 12px 30px;
    cursor: pointer;
    font-size: 1.1em;
    display: block; /* Make it a block element to center with margin auto */
    margin: 0 auto; /* Center the button */
}


/* Footer Styles */
.main-footer {
    background-color: #343a40; /* Dark gray */
    color: #fff;
    padding: 30px 0;
    text-align: center;
    font-size: 0.9em;
}

.main-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.main-footer p {
    margin: 0 0 15px 0;
}

.social-icons a {
    color: #fff;
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        text-align: center;
    }

    .main-header nav ul {
        margin-top: 20px;
        flex-direction: column;
        align-items: center;
    }

    .main-header nav ul li {
        margin: 0 0 10px 0;
    }

    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 40px;
    }

    section h2 {
        font-size: 2em;
    }

    .overview-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-header h1 {
        font-size: 1.5em;
    }

    .hero-content h2 {
        font-size: 2em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .overview-item, .feature-item, .benefits-section ul li, .contact-form {
        padding: 20px;
    }
}
