:root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a8a;
    --accent: #0d9488;
    --accent-light: #14b8a6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.125rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.75;
}

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

a:hover {
    color: var(--primary-dark);
}

/* Navigation */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.logo-text {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 92px;
    width: auto;
}

/* Make logo slightly smaller on narrow screens */
@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }
    .logo {
        font-size: 1.25rem;
    }

    .logo-text {
        letter-spacing: -0.01em;
    }
}

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

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

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

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--gray-900);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2.5rem;
    align-items: center;
    padding: 6rem 32px;
    min-height: 72vh;
}

@media (min-width: 1024px) {
    .hero {
        grid-template-columns: 0.9fr 1.6fr;
        gap: 2rem;
    }

    .hero-image {
        justify-self: end;
    }

    .hero-image img {
        width: 100%;
        max-width: 980px;
        max-height: 760px;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
    line-height: 1.1;
    max-width: 72ch;
}

.hero-content .subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

.hero-content {
    padding-left: 32px;
}

@media (min-width: 1024px) {
    .hero-content {
        padding-left: 48px;
        max-width: 720px;
    }
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-image img {
    width: 100%;
    max-width: 880px;
    max-height: 720px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 0;
}

.hero-logo-image {
    object-fit: contain;
}

/* Resources Section */
.resources {
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(30, 64, 175, 0.03) 0%, rgba(13, 148, 136, 0.03) 100%);
}

.resource-intro {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2rem;
}

.resource-intro p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

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

.resource-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.resource-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.resource-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.resource-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

/* Pillars Section */
.pillars {
    background: var(--gray-50);
    padding: 5rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

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

.pillar-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-100);
}

.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.pillar-icon {
    margin-bottom: 1.5rem;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 70px;
    height: 70px;
}

.pillar-card h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.pillar-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Stats Section */
.quick-stats {
    padding: 4rem 0;
}

.quick-stats h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.quick-stats .section-subtitle {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

    /* small-screen hero image handled by the rules above; override removed for consistency */

.stat p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.cta h2,
.cta p {
    color: var(--white);
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 4rem 24px;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.75rem;
    font-size: 2.75rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

/* Content Section */
.content {
    padding: 3rem 0;
    min-height: 400px;
}

/* Cards & Boxes */
.vision-box,
.mou-section {
    background: var(--gray-50);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary);
}

.cta-box {
    background: var(--gray-50);
    padding: 3rem 2.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    margin: 3.5rem 0;
    border: 2px solid var(--gray-200);
}

.cta-box h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
}

/* Lists */
.rationale-list,
.requirements {
    list-style: none;
    margin: 1.5rem 0;
}

.rationale-list li,
.requirements li {
    margin-bottom: 1.5rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-700);
}

.rationale-list li::before,
.requirements li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.25rem;
}

.rationale-list ul,
.requirements ul {
    list-style: none;
    margin-top: 0.75rem;
    padding-left: 1.5rem;
}

.rationale-list ul li::before {
    content: '○';
    color: var(--accent);
}

/* Grid Layouts */
.principles-grid,
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.principle-box,
.benefit {
    background: var(--white);
    border: 1px solid var(--gray-200);
    padding: 2rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.principle-box:hover,
.benefit:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.principle-box h3,
.benefit h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.principle-box p,
.benefit p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Timeline */
.consortia-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.consortium-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.consortium-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.consortium-card h3 {
    color: var(--primary);
    margin-bottom: 1.75rem;
    font-size: 1.25rem;
}

.timeline-compact {
    margin: 1.5rem 0;
}

.timeline-point {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--gray-200);
}

.timeline-point:last-child {
    border-bottom: none;
}

.timeline-point .year {
    display: block;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-point p {
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.outcome {
    font-weight: 600;
    color: var(--accent);
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 2px solid var(--accent);
}

/* Focus Areas */
.focus-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.focus-item {
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.05) 0%, rgba(13, 148, 136, 0.05) 100%);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.focus-item h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.focus-item p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Join Steps */
.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--gray-900);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.step p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Publications */
.publications-list {
    margin: 2.5rem 0;
}

.publication {
    background: var(--white);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.publication:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.publication h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.publication p {
    margin: 0;
    font-style: italic;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.insights {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: var(--radius-lg);
    list-style: none;
    border: 1px solid var(--gray-200);
}

.insights li {
    margin-bottom: 1rem;
    padding-left: 1.75rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.95rem;
}

.insights li:last-child {
    margin-bottom: 0;
}

.insights li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2.5rem 0;
}

.contact-info,
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
}

.contact-detail {
    margin-bottom: 2.5rem;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail h3 {
    color: var(--primary);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.contact-detail p {
    margin: 0.5rem 0;
    color: var(--gray-600);
    font-size: 0.95rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    color: var(--primary);
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--gray-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-note {
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Footer */
footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-section a:hover {
    color: var(--accent-light);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        padding: 0.75rem 1.5rem;
    }

    .nav-links a.active::after {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 16px;
        min-height: auto;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .pillars-grid,
    .stats-grid,
    .principles-grid,
    .benefits-grid,
    .consortia-comparison,
    .focus-areas,
    .join-steps {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header {
        padding: 2.5rem 16px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .nav-links li {
        padding: 2.5rem 16px;
    }

    .logo-text {
        display: none;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links li {
        padding: 0.5rem 1rem;
    }

    .page-header {
        padding: 2.5rem 0;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .cta {
        padding: 3rem 0;
    }

    .pillars {
        padding: 3rem 0;
    }
}
