/* ==========================================================================
   Base Styles & Variables
   ========================================================================== */
:root {
    --background-color: #ffffff;
    --text-color: #111827;
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-text: #6b7280;
    --section-bg-light: #f9fafb;
    --border-color: #e5e7eb;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.text-center { text-align: center; }

/* ==========================================================================
   Header & Navigation (Your New Layout)
   ========================================================================== */
.header {
    padding: 1rem 0; /* Controls the overall height of the navbar */
    border-bottom: 1px solid var(--border-color);
    background-color: var(--background-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* THIS IS THE KEY FIX */
    height: 50px; /* Give the navbar a fixed height */
}

/* --- Left Side: Logo --- */
.nav-left {
    display: flex;
    align-items: center; /* Also align items within this container */
    gap: 1.5rem; 
}

.logo-link {
    display: flex; 
    align-items: center;
    height: 100%; /* Make the link fill the navbar's height */
}

.logo-img {
    height: 60px;  /* SET YOUR LOGO HEIGHT HERE. Try 35px, 40px, or 45px. */
    width: auto;   /* Width will scale automatically to maintain aspect ratio. */
    display: block;
    transform: translateY(-9.5px);
}

/* --- Middle: Navigation Links --- */
.nav-center {
    display: flex;
    gap: 1.5rem;
}

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

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

/* --- Right Side: Action Button --- */
.nav-right {}

.btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

/* Secondary Button (Outline Style) */
.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* Add some space above the learn more buttons */
.learn-more-btn {
    margin-top: 1.5rem;
}
/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    text-align: center;
    padding: 6rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--secondary-text);
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

/* ==========================================================================
   Story, Products, Vision, Newsletter, Footer (No major changes needed)
   ========================================================================== */
.story-section { background-color: var(--section-bg-light); }
.story-content { max-width: 700px; margin: 0 auto; font-size: 1.1rem; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.feature-card { border: 1px solid var(--border-color); border-radius: 8px; padding: 2rem; background-color: #fff; }
.feature-title { margin-top: 0; font-size: 1.25rem; font-weight: 600;}
.feature-text { color: var(--secondary-text); }

.vision-section { text-align: center; }

.newsletter-form { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.newsletter-form input { padding: 0.8rem; border: 1px solid var(--border-color); border-radius: 6px; min-width: 300px; }
.newsletter-form button { background-color: var(--text-color); color: white; }

.footer { padding: 3rem 0; margin-top: 4rem; border-top: 1px solid var(--border-color); background-color: var(--section-bg-light); }
.footer-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.footer-column { flex: 1; min-width: 200px; }
.footer-heading { color: var(--text-color); font-size: 1.1rem; margin-bottom: 1rem; }
.footer-text, .footer-link { color: var(--secondary-text); text-decoration: none; font-size: 0.95rem; }
.footer-link:hover { color: var(--primary-color); }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: 0.5rem; }
.footer-copyright { text-align: center; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border-color); font-size: 0.9rem; color: #9ca3af; }
