@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@300;400;600;700;900&display=swap');

:root {
    --color-primary: #005FA8;
    /* Tillotson Logo Dark Blue */
    --color-primary-light: #3DA2FE;
    /* Tillotson Nav Light Blue */
    --color-accent: #C62828;
    /* Tillotson Red */
    --color-accent-dark: #9E2020;
    --color-bg-main: #FFFFFF;
    /* Pure White */
    --color-bg-card: #F8F9FA;
    /* Light Gray for cards */
    --color-bg-alt: #F0F2F5;
    /* Alternating section background */
    --color-text-main: #222222;
    /* Dark Gray/Black */
    --color-text-muted: #555555;
    --color-border: #E0E0E0;
    --font-sans: 'Titillium Web', sans-serif;
    --font-heading: 'Titillium Web', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--color-primary);
}

h1 {
    color: #ffffff;
}

/* Hero heading stays white */

.text-gradient {
    color: var(--color-primary);
}

.text-blue {
    color: var(--color-primary-light);
}

/* Layout Utility */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
    position: relative;
    background-color: var(--color-bg-main);
}

/* Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
    border-top: 5px solid var(--color-primary);
    /* Official Tillotson Identity */
    background: #ffffff;
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0;
}

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

.brand-logo img {
    height: 100px;
    width: auto;
    transition: var(--transition-smooth);
}

.navbar.scrolled .brand-logo img {
    height: 60px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--color-primary-light);
    transition: var(--transition-fast);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 100;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 10px 20px -10px rgba(198, 40, 40, 0.5);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -10px rgba(198, 40, 40, 0.6);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

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

/* Regional Contacts Grid */
.regional-contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-card h4 {
    color: var(--color-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-primary-light);
    padding-bottom: 0.5rem;
}

.contact-card p.facility-name {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-main);
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-links a {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

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

.contact-links svg {
    margin-right: 10px;
    flex-shrink: 0;
}

/* Map Section */
/* Hero Section */
.hero {
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/t4wallpaper4.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 95, 168, 0.9) 0%, rgba(22, 34, 42, 0.7) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: #ffffff;
}

.hero p {
    font-size: 1.5rem;
    color: #f0f2f5;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Logo Strip */
.logo-strip {
    background: #ffffff;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}

.logo-strip p {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 700;
}

.strip-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
    flex-wrap: wrap;
}

.strip-logos img {
    max-height: 120px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.strip-logos img:hover {
    transform: scale(1.05);
}

.dark-logo-badge {
    background: #1a1a1a;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.dark-logo-badge img {
    max-height: 80px;
}

.dark-logo-badge:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.dark-logo-badge:hover img {
    transform: none;
    /* prevent double scaling */
}

/* Standard Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Philosophy Section */
.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philo-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.philo-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.philo-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature-item {
    background: var(--color-bg-card);
    padding: 2rem;
    border-left: 6px solid var(--color-primary-light);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

/* Pathway 2-Column Intro */
.pathway-intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.pathway-intro-text {
    text-align: left;
}

.pathway-intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.pathway-subtitle {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.pathway-desc {
    font-size: 1.1rem;
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.pathway-result {
    font-size: 1.25rem;
    font-style: italic;
    font-weight: 700;
    color: var(--color-text-main);
    padding-left: 1rem;
    border-left: 4px solid var(--color-primary);
}

/* Pathway Highlight Box */
.pathway-highlight-box {
    margin: 0;
    width: 100%;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.pathway-checklist {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.pathway-checklist li {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    color: var(--color-text-main);
}

.pathway-checklist .check {
    color: var(--color-primary);
    margin-right: 12px;
    font-size: 1.2rem;
}

.pathway-conclusion {
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-main);
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.pathway-conclusion strong {
    color: var(--color-primary);
    display: block;
    margin-top: 0.5rem;
    font-size: 1.15rem;
}

/* Category Cards */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary-light);
    box-shadow: 0 20px 40px rgba(0, 95, 168, 0.1);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    opacity: 0.9;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
    opacity: 1;
}

.card-content {
    padding: 2.5rem 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.card .age-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--color-primary-light);
    color: #ffffff;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    align-self: flex-start;
}

.card p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.card-spec {
    background: var(--color-bg-card);
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    margin-top: auto;
}

.card-spec strong {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
    font-weight: 800;
}

.card-spec span {
    color: var(--color-text-main);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Technical Dashboard */
.tech-dashboard {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    padding: 4rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.tech-dashboard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
}

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

.tech-item {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-border);
    transition: var(--transition-fast);
}

.tech-item:hover {
    border-left-color: var(--color-primary-light);
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
}

.tech-item span.label {
    display: block;
    font-family: var(--font-sans);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.tech-item span.value {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary);
}

/* Partners & Tracks */
.partner-section {
    position: relative;
    background: var(--color-bg-main);
}

.partner-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-image: url('../assets/track-partnership.png');
    background-size: cover;
    background-position: center;
    border-radius: 16px 0 0 16px;
}

.partner-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-bg-main) 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
}

.partner-content {
    width: 50%;
    padding-right: 4rem;
    position: relative;
    z-index: 2;
}

.partner-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.partner-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.partner-list {
    list-style: none;
    margin-bottom: 3rem;
}

.partner-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-main);
    font-weight: 600;
}

.partner-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-size: 0.8rem;
    top: 4px;
}

/* Dynamic News Layout */
.news-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    min-height: 500px;
}

.news-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--color-text-muted);
    font-size: 1.2rem;
}

.featured-news {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.featured-img-wrapper {
    height: 350px;
    width: 100%;
    overflow: hidden;
}

.featured-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.featured-news:hover .featured-img-wrapper img {
    transform: scale(1.05);
}

.featured-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.featured-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.news-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
}

.featured-content p {
    color: var(--color-text-main);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.view-all {
    color: var(--color-primary-light);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-list-item {
    display: flex;
    gap: 1.5rem;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition-fast);
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.news-list-item:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-list-img {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.news-list-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-list-content {
    display: flex;
    flex-direction: column;
}

.news-list-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-main);
    line-height: 1.3;
}

.news-list-item:hover .news-list-content h4 {
    color: var(--color-primary);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.director-card {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-accent);
    margin-top: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.director-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.director-card p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: #ffffff;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    color: var(--color-text-main);
    font-family: var(--font-sans);
    transition: var(--transition-fast);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary-light);
    box-shadow: 0 0 0 3px rgba(61, 162, 254, 0.2);
    background: #ffffff;
}

/* Footer */
footer {
    background: var(--color-primary);
    padding: 4rem 0 2rem;
    color: #ffffff;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-content p {
    color: #e0f0ff;
}

.footer-logos {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 2rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
}

.footer-logos img {
    height: 40px;
    transition: var(--transition-fast);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0f0ff;
    font-size: 0.9rem;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1024px) {

    .category-grid,
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .philosophy-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .partner-bg {
        position: relative;
        width: 100%;
        height: 300px;
        border-radius: 16px;
        margin-bottom: 2rem;
    }

    .partner-content {
        width: 100%;
        padding-right: 0;
    }

    .category-grid,
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .tech-dashboard {
        padding: 2rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        display: flex;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 4rem;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}

/* News Article Reader */
.news-article {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.article-header {
    padding: 4rem 4rem 2rem;
    text-align: center;
}

.article-date {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-primary-light);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.article-title {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-transform: none;
    /* overriding the default h1 uppercase for better readability */
}

.article-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.article-hero-image {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    padding: 4rem;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--color-text-main);
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body b,
.article-body strong {
    color: var(--color-primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .article-header {
        padding: 2rem 2rem 1rem;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-body {
        padding: 2rem;
    }
}

/* Nav Social */
.nav-social {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.nav-social a {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
}

.nav-social a::after {
    display: none;
}

/* Next Event Banner */
.next-event {
    padding: 2rem 0;
    background: var(--color-bg-alt);
}

.event-banner {
    display: flex;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.event-banner-img {
    flex: 1;
    min-height: 250px;
}

.event-banner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-banner-content {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.event-badge {
    background: var(--color-accent);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.event-banner-content h2 {
    font-size: 2.2rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.event-date {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

/* Logo Placeholders */
.logo-placeholder {
    width: 150px;
    height: 80px;
    background: #e0e0e0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 2px dashed #bdbdbd;
}

.logo-placeholder span {
    font-size: 0.85rem;
    color: #757575;
    font-weight: 700;
    text-transform: uppercase;
}

/* Map Container */
.map-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-border);
}

.map-wrapper {
    width: 100%;
    height: auto;
    min-height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-wrapper svg {
    width: 100%;
    height: auto;
}

/* Highlight states */
.map-wrapper path {
    fill: #e0e0e0;
    stroke: #ffffff;
    stroke-width: 1;
}

#FL,
#TX,
#CA,
#TN,
#OH,
.fl,
.tx,
.ca,
.tn,
.oh {
    fill: var(--color-primary) !important;
    cursor: pointer;
    transition: var(--transition-fast);
}

#FL:hover,
#TX:hover,
#CA:hover,
#TN:hover,
#OH:hover,
.fl:hover,
.tx:hover,
.ca:hover,
.tn:hover,
.oh:hover {
    fill: var(--color-primary-light) !important;
}

@media (max-width: 768px) {
    .event-banner {
        flex-direction: column;
    }

    .nav-social {
        margin-left: 0;
        justify-content: center;
    }

    .map-wrapper {
        min-height: 300px;
    }
}

@media (max-width: 1024px) {
    .regional-contacts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .regional-contacts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .pathway-intro {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .pathway-intro-text {
        text-align: center;
    }
    
    .pathway-result {
        border-left: none;
        padding-left: 0;
        border-top: 4px solid var(--color-primary);
        padding-top: 1rem;
        display: inline-block;
    }
}