/* --- CSS VARIABLES (Colors) --- */
:root {
    --primary-dark: #1f2937;    /* Dark Slate for background/text */
    --primary-blue: #06b6d4;    /* Teal/Cyan Accent */
    --accent-orange: #f97316;   /* Bright Orange */
    --accent-green: #10b981;    /* Emerald Green */
    --background-light: #f7f9fb;
    --section-bg: #ffffff;
    --text-color: #1f2937;
}

/* --- FONT IMPORTS --- */
/* Montserrat for bold headings (unique font) and Inter for clean body text */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@700;800;900&display=swap');

/* --- BASE STYLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- HEADER / NAVIGATION --- */
header {
    position: sticky;
    top: 0;
    z-index: 20;
    background-color: var(--primary-dark);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.875rem;
    font-weight: 800;
    color: white;
    letter-spacing: 0.05em;
}

header nav a {
    margin-left: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    transition: color 200ms ease;
}

header nav a:hover {
    color: var(--primary-blue);
}

/* --- MAIN CONTENT LAYOUT --- */
main {
    max-width: 1280px; /* Max width constraint */
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    margin-top: 3rem;
    padding: 1.5rem;
}

/* --- HERO SECTION: Colorful Box Style --- */
.hero {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.hero h2 .accent-color {
    color: var(--accent-orange);
}

.hero p {
    font-size: 1.125rem;
    font-weight: 300;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Button Style */
.hero button {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-dark);
    background-color: white;
    border-radius: 9999px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    transition: transform 300ms, background-color 300ms;
}

.hero button:hover {
    background-color: #f3f4f6;
    transform: scale(1.05);
}

/* --- INTRO SECTION (Why ELTx HUB?): Colorful Box Style --- */
.intro {
    background-color: var(--section-bg);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-left: 8px solid var(--accent-green); /* Unique border color */
}

.intro h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.intro p {
    font-size: 1rem;
    color: #4b5563;
}

/* --- FEATURES / PROGRAMS SECTION: Dynamic Grid with Colored Boxes --- */
.features {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.features h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2.5rem;
}

.feature-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}

/* Desktop and Tablet Responsive Layout */
@media (min-width: 640px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-box {
    background-color: var(--section-bg);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-top: 8px solid; /* Top border for accent color */
    transition: transform 300ms, box-shadow 300ms;
}

.feature-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 20px rgba(0, 0, 0, 0.15);
}

.feature-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-box p {
    color: #4b5563;
}

/* Individual Feature Box Colors */
.feature-box:nth-child(1) { border-color: var(--primary-blue); }
.feature-box:nth-child(1) h3 { color: var(--primary-blue); }

.feature-box:nth-child(2) { border-color: var(--accent-orange); }
.feature-box:nth-child(2) h3 { color: var(--accent-orange); }

.feature-box:nth-child(3) { border-color: var(--accent-green); }
.feature-box:nth-child(3) h3 { color: var(--accent-green); }

.feature-box:nth-child(4) { border-color: var(--primary-dark); }
.feature-box:nth-child(4) h3 { color: var(--primary-dark); }


/* --- TESTIMONIALS SECTION: Colorful Box Style --- */
.testimonials {
    background-color: #f3f4f6; /* Subtle light gray background */
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    border-right: 8px solid var(--primary-blue); /* Unique border color */
}

.testimonials h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.testimonial {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-blue);
}

.testimonial p {
    font-size: 1rem;
    font-style: italic;
    color: #4b5563;
}

.testimonial .author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-top: 0.5rem;
}

/* --- CTA SECTION: Colorful Box Style --- */
.cta {
    background-color: var(--primary-dark);
    color: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.125rem;
    color: #d1d5db;
    margin-bottom: 2rem;
}

.cta-button button {
    padding: 1rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    background-color: var(--primary-blue);
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
    transition: background-color 300ms, transform 300ms;
}

.cta-button button:hover {
    background-color: #0d9488;
    transform: scale(1.05);
}

/* --- FOOTER --- */
footer {
    background-color: #374151;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    color: #9ca3af;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.social-icons a:hover {
    color: var(--primary-blue);
    transition: color 200ms;
}

.footer-links p, .footer-links a {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.5;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transition: color 200ms;
}

/* Mobile Adjustments (Optional, but good practice) */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
    }
    .hero h2 {
        font-size: 2rem;
    }
    header nav {
        display: none; /* Hide navigation on small screens */
    }
  }
