/* ===== CSS Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #0C3B5E;
    --honey-gold: #F4C542;
    --white: #FFFFFF;
    --charcoal: #333333;
    --light-gray: #F5F5F5;
    --border-gray: #E0E0E0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Fixed Navigation ===== */
.navbar {
    background-color: var(--dark-blue);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.nav-brand {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--honey-gold);
}

.btn-nav {
    background-color: var(--honey-gold);
    color: var(--dark-blue) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
}

.btn-nav:hover {
    background-color: #FFDB5C;
    color: var(--dark-blue) !important;
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--dark-blue) 0%, #165278 100%);
    color: var(--white);
    padding: 120px 20px 80px;
    text-align: center;
    margin-top: 60px;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--honey-gold);
    color: var(--dark-blue);
}

.btn-primary:hover {
    background-color: #FFDB5C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 197, 66, 0.4);
}

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

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--dark-blue);
}

/* ===== Intro Band (3-Column) ===== */
.intro-band {
    padding: 60px 20px;
    background-color: var(--light-gray);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.intro-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.intro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.intro-card h3 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.intro-card p {
    margin-bottom: 1.5rem;
    color: var(--charcoal);
}

.link-arrow {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.link-arrow:hover {
    color: var(--honey-gold);
}

/* ===== Content Pages ===== */
.content-section {
    padding: 100px 20px 60px;
    min-height: calc(100vh - 200px);
}

.content-section h1 {
    color: var(--dark-blue);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.content-section h2 {
    color: var(--dark-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* ===== Newsletter ===== */
.newsletter-sample {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.join-message {
    background-color: var(--honey-gold);
    color: var(--dark-blue);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.join-message h3 {
    margin-bottom: 1rem;
}

/* ===== Articles Grid ===== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.article-card {
    background-color: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.article-content p {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.article-content a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
}

.article-content a:hover {
    color: var(--honey-gold);
}

/* ===== Video Embed ===== */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin: 2rem 0;
    border-radius: 8px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== Forms ===== */
.form-container {
    max-width: 600px;
    margin: 2rem auto;
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-gray);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(12, 59, 94, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.btn-submit:hover {
    background-color: #165278;
    transform: translateY(-2px);
}

.form-message {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
    text-align: center;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== Rich Content Styling ===== */
.content-body,
.content-excerpt {
    word-wrap: break-word;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    color: var(--dark-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.content-body h2 {
    font-size: 1.8rem;
    border-bottom: 2px solid var(--honey-gold);
    padding-bottom: 0.5rem;
}

.content-body h3 {
    font-size: 1.4rem;
}

.content-body p {
    margin-bottom: 1rem;
}

.content-body ul,
.content-body ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-body li {
    margin-bottom: 0.5rem;
}

.content-body strong {
    font-weight: 600;
    color: var(--dark-blue);
}

.content-body em {
    font-style: italic;
}

.content-body a {
    color: var(--dark-blue);
    text-decoration: underline;
}

.content-body a:hover {
    color: var(--honey-gold);
}

.content-body blockquote {
    border-left: 4px solid var(--honey-gold);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

.content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}

.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.content-body table th,
.content-body table td {
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    text-align: left;
}

.content-body table th {
    background-color: var(--dark-blue);
    color: white;
    font-weight: 600;
}

.content-body table tr:nth-child(even) {
    background-color: var(--light-gray);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 2rem 20px;
    margin-top: auto;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--honey-gold);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .content-section {
        padding-top: 120px;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}
