/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007bff; /* Blue */
    --secondary-color: #6c757d; /* Gray */
    --accent-color: #28a745; /* Green for CTAs */
    --background-color: #f8f9fa;
    --text-color: #343a40;
    --font-family: 'Poppins', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s;
}

a:hover {
    color: #0056b3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links a {
    margin-left: 25px;
    font-weight: 600;
    color: var(--text-color);
    padding: 5px 0;
}

.nav-links a.cta-button {
    background-color: var(--accent-color);
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.nav-links a.cta-button:hover {
    background-color: #218838;
}

/* --- Hero Section --- */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 50px;
    min-height: 70vh;
    gap: 40px;
}

.hero-content {
    max-width: 55%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.cta-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.hero-image {
    max-width: 40%;
    height: 300px; /* Placeholder height */
    background-color: var(--background-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: var(--secondary-color);
}

/* --- Features Section --- */
.features-section {
    padding: 60px 50px;
    background-color: var(--background-color);
    text-align: center;
}

.features-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: var(--text-color);
}

.feature-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.feature-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 280px; /* Ensures cards are not too small */
    transition: transform 0.3s;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--secondary-color);
}

/* --- Footer --- */
.footer {
    padding: 20px 50px;
    background-color: var(--text-color);
    color: white;
    text-align: center;
    font-size: 0.9rem;
}

.footer .social-links a {
    color: #adb5bd;
    margin: 0 10px;
}

.footer .social-links a:hover {
    color: white;
}

/* --- Responsiveness (Media Queries) --- */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 40px 20px;
    }

    .hero-content, .hero-image {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .nav-links {
        margin-top: 10px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .nav-links a {
        margin: 5px 0;
        padding: 8px 0;
        border-bottom: 1px solid #eee;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a.cta-button {
        margin-top: 10px;
        text-align: center;
    }

    .feature-grid {
        flex-direction: column;
    }

    .feature-card {
        min-width: unset;
        width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-primary {
        padding: 10px 20px;
        font-size: 1rem;
    }

    .features-section {
        padding: 40px 20px;
    }
}