/* --- New styles for the logo --- */
.logo-container {
    display: flex;         /* This is the key: it forces items into a row. */
    align-items: center;   /* This vertically centers the logo and the name. */
    gap: 12px;             /* This adds a clean space between the logo and name. */
}

/* Style the logo image itself */
.logo-image {
    height: 60px; /* Adjust this value to make your logo bigger or smaller */
}

/* Style the text name */
.logo-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color); /* Uses your existing color variable */
    text-decoration: none;
}

/* --- 1. Global Styles & Color Palette --- */
/* Change your website's colors here! */
:root {
    --primary-color: #007bff; /* Main brand color (blue) */
    --secondary-color: #343a40; /* Dark gray for text */
    --background-color: #f8f9fa; /* Light gray for backgrounds */
    --light-color: #ffffff; /* White */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--light-color);
}

h1, h2, h3 {
    margin-top: 0;
}

section {
    padding: 60px 20px;
    text-align: center;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* --- 2. Header and Navigation --- */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--secondary-color);
}

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

.nav-links li {
    padding-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- 3. Hero Section --- */
.hero {
    background-color: var(--primary-color);
    color: var(--light-color);
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--light-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
}

/* --- 4. Features Section --- */
.features {
    background-color: var(--background-color);
}

.features-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    max-width: 300px;
}

.feature-item i {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- 5. About Section --- */
.about {
    background-color: var(--light-color);
}

.about-content {
    max-width: 800px;
    margin: auto;
}

/* --- 6. Final CTA & Footer --- */
.cta-final {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.cta-final .cta-button {
    background-color: var(--primary-color);
    color: var(--light-color);
}

footer {
    background-color: #1c1c1c;
    color: var(--light-color);
    text-align: center;
    padding: 20px;
}

/* --- 7. Responsive Design for Mobile --- */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide nav links on mobile for simplicity */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .features-grid {
        flex-direction: column;
        align-items: center;
    }
}