/* --- Global Styles & Setup --- */
:root {
    --color-primary: #1C3E5A; /* Dark Professional Blue */
    --color-secondary: #E3B04B; /* Warm Gold/Mustard Accent */
    --color-text: #333333;
    --color-light-bg: #F8F8F8;
    --color-white: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 1.5em;
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

/* --- Buttons/CTAs --- */
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.95rem;
    text-align: center;
}

.cta-button.primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: 2px solid var(--color-secondary);
}

.cta-button.primary:hover {
    background-color: #D4A13A; /* Slightly darker gold */
    color: var(--color-white);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.cta-button.secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.cta-button.ghost {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.cta-button.ghost:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}


/* --- Header & Navigation --- */
.main-header {
    background-color: var(--color-white);
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: baseline;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-right: 15px;
}

.powered-by {
    font-size: 0.75rem;
    color: #999;
}

nav a {
    margin-left: 20px;
    color: var(--color-primary);
    font-weight: 600;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--color-secondary);
}

/* --- Hero Section --- */
.hero-section {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 80px 0;
    background-image: url('placeholder-hero.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: left;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(23 58 82); /* Dark overlay to make text readable */
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-section h1 {
    font-size: 3rem;
    max-width: 700px;
    margin-bottom: 10px;
}

.sub-headline {
    font-size: 1.2rem;
    margin-bottom: 25px;
    max-width: 600px;
    font-weight: 400;
}

.hero-pitch {
    font-size: 1rem;
    margin-left: 20px;
    font-style: italic;
    font-weight: 600;
    color: #ffe8c2;
}

.hero-cta-group {
    display: flex;
    align-items: center;
}

/* --- Featured Spotlights Section --- */
.featured-spotlights {
    padding: 60px 0;
    background-color: var(--color-light-bg);
}

.spotlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.spotlight-card {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensures borders are clean */
}

.spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* NEW: Image Wrapper for Uniform Logo Sizing */
.image-wrapper {
    width: 100%;
    height: 150px;
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding: 20px;
    background-color: var(--color-white);
    border-bottom: 1px solid #eee;
}

.spotlight-card img {
    /* Image sizing within the wrapper */
    max-width: 100%;
    max-height: 100%;
    width: auto; /* Maintains original aspect ratio */
    height: auto;
    object-fit: contain; /* Ensures the whole logo is visible */
    transition: transform 0.3s;
}

.spotlight-card h3 {
    font-size: 1.4rem;
    margin: 15px 15px 5px;
    color: var(--color-primary);
}

.spotlight-card .category {
    font-size: 0.85rem;
    color: var(--color-secondary);
    margin: 0 15px 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.spotlight-card .snippet {
    padding: 0 15px;
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    min-height: 40px;
    flex-grow: 1; /* Ensures the "read more" button is at the bottom */
}

.spotlight-card .read-more {
    display: block;
    text-align: center;
    padding: 15px;
    background-color: #f2f2f2;
    color: var(--color-primary);
    font-weight: 600;
    transition: background-color 0.2s;
    border-top: 1px solid #eee;
}

.spotlight-card .read-more:hover {
    background-color: #e0e0e0;
}

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

/* --- Call to Action / About Section --- */
.about-cta-section {
    background-color: var(--color-primary);
    padding: 60px 0;
    text-align: center;
}

.cta-box {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.cta-box h2 {
    color: var(--color-primary);
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.cta-box strong {
    color: var(--color-secondary);
}

/* --- Footer --- */
footer {
    background-color: #222;
    color: #ccc;
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-content a {
    color: #ccc;
    margin-left: 15px;
}

.footer-content a:hover {
    color: var(--color-secondary);
}

img.logo {
    width: 300px;
    position: absolute;
    right:0;
    top:0;
}


/* --- Media Queries for Responsiveness --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    nav {
        margin-top: 10px;
    }

    nav a {
        margin: 0 8px;
        display: inline-block;
        margin-bottom: 5px;
    }

    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
        max-width: 100%;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: center;
    }

    .hero-pitch {
        margin: 15px 0 0 0;
    }

    .cta-button.primary {
        width: 100%;
        margin-bottom: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-top: 10px;
    }
