/* =============================================
   MINERS Website - Main Stylesheet
   Inspired by IEA design
   ============================================= */

/* CSS Variables for easy customization */
:root {
    --primary-navy: #1e3a5f;
    --primary-dark: #152a45;
    --accent-teal: #0891b2;
    --accent-light: #06b6d4;
    --accent-green: #01958a;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --bg-light: #f8fafc;
    --bg-gray: #f1f5f9;
    --white: #ffffff;
    --border-color: #e5e7eb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* =============================================
   HEADER & NAVIGATION
   ============================================= */

header {
    background-color: var(--bg-gray);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 60px;
    max-width: 100%;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.logo-text-group {
    display: flex;
    flex-direction: column;
}

.logo-tagline {
    font-size: 0.7rem;
    font-style: italic;
    color: var(--text-gray);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin-top: -2px;
}

.logo-text span {
    color: var(--accent-teal);
}

.header-ucl-logo {
    height: 65px;
    width: auto;
}

.hero-partner-logo img[alt="UCL"] {
    max-height: 100px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 50px;
    align-items: center;
}

nav a {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 10px 0;
    position: relative;
}

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

nav a.active {
    color: var(--text-dark);
}

nav a.active::after,
nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-green);
}

/* Contact button in nav */
nav a.nav-contact {
    background-color: var(--accent-green);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
}

nav a.nav-contact:hover {
    background-color: #017a72;
    color: var(--white);
}

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

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary-navy);
}

/* =============================================
   HERO INTRO SECTION
   ============================================= */

.hero-intro {
    padding: 60px 20px 50px;
    background-color: var(--white);
}

.hero-intro-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.hero-intro-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.hero-intro-description {
    padding-top: 10px;
}

.hero-intro-description p {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Partner logos row (horizontal, below title/description) */
.hero-partners-row {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.partners-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.partners-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 30px;
}

.hero-partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-partner-logo img {
    max-height: 60px;
    width: auto;
    opacity: 0.85;
    transition: all 0.2s ease;
}

.hero-partner-logo:hover img {
    opacity: 1;
    transform: scale(1.1);
}

.hero-partner-placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    color: var(--text-gray);
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
}

/* =============================================
   FEATURED REPORT SECTION
   ============================================= */

.featured-report {
    padding: 0;
}

.featured-report-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 450px;
}

.featured-report-info {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.featured-report-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/report-bg-pattern.png') center/cover;
    opacity: 0.1;
    pointer-events: none;
}

.featured-report-info > * {
    position: relative;
    z-index: 1;
}

.report-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 20px;
}

.featured-report-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-report-info p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 30px;
}

.featured-report-cover {
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.featured-report-cover img {
    max-width: 100%;
    max-height: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.report-cover-placeholder {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-gray);
}

.featured-report-cover.no-image .report-cover-placeholder {
    display: block;
}

.featured-report-cover.no-image {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
}

.placeholder-content {
    background: white;
    padding: 40px 60px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.placeholder-content span {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.placeholder-content small {
    color: var(--text-gray);
}

/* =============================================
   HERO SECTION (legacy - for other pages)
   ============================================= */

.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #017a72;
    color: var(--white);
}

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

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

/* =============================================
   SECTIONS
   ============================================= */

section {
    padding: 60px 20px;
}

section.bg-gray {
    background-color: var(--bg-gray);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =============================================
   CARDS
   ============================================= */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.card-content {
    padding: 25px;
}

.card-tag {
    display: inline-block;
    background-color: var(--bg-gray);
    color: var(--accent-green);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.card h3 {
    font-size: 1.25rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.card-date {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* Pillar and Workstream Image Cards */
.pillar-image,
.workstream-image {
    position: relative;
}

.pillar-image img,
.workstream-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pillar-placeholder,
.workstream-placeholder {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.partner-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-green);
    margin-bottom: 12px;
}

.funding-project-number {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-style: italic;
    margin: 0;
}

/* Partners Grid (main section) */
.partners-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.partner-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 250px;
    flex: 1;
    max-width: 300px;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.partner-logo-large {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.partner-logo-large img {
    max-height: 80px;
    max-width: 180px;
    width: auto;
}

.partner-placeholder-large {
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
}

.partner-card h3 {
    color: var(--primary-navy);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.partner-card p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin: 0;
}

/* =============================================
   STATS SECTION
   ============================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-teal);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
}

/* =============================================
   TEAM PAGE
   ============================================= */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-teal));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    font-weight: 600;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.team-card h3 {
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.team-role {
    color: var(--accent-teal);
    font-weight: 500;
    margin-bottom: 10px;
}

.team-institution {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-bio {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* =============================================
   PUBLICATIONS PAGE
   ============================================= */

.publications-list {
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: box-shadow 0.2s ease;
}

.publication-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.publication-year {
    background: var(--primary-navy);
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.publication-content h3 {
    color: var(--primary-navy);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.publication-authors {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.publication-journal {
    color: var(--accent-teal);
    font-style: italic;
    font-size: 0.9rem;
}

.publication-links {
    margin-top: 10px;
    display: flex;
    gap: 15px;
}

.publication-links a {
    font-size: 0.9rem;
    font-weight: 500;
}

/* =============================================
   CONTACT PAGE
   ============================================= */

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-gray);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-details .icon {
    width: 40px;
    height: 40px;
    background: var(--bg-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-teal);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-teal);
}

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

/* =============================================
   FOOTER
   ============================================= */

footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 0;
}

/* Footer Partners Row */
.footer-partners {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.footer-partner-logo {
    display: flex;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.footer-partner-logo:hover {
    opacity: 1;
}

.footer-partner-logo img {
    max-height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-partner-text {
    display: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px 30px;
}

.footer-brand p {
    opacity: 0.8;
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--accent-green);
}

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

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* =============================================
   TEAM MEMBER MODAL
   ============================================= */

.team-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.team-modal-overlay.active {
    display: flex;
}

.team-modal {
    background: var(--white);
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-gray);
    cursor: pointer;
    line-height: 1;
}

.team-modal-close:hover {
    color: var(--text-dark);
}

.team-modal-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.team-modal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.team-modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-modal-title h2 {
    color: var(--primary-navy);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.team-modal-role {
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 3px;
}

.team-modal-institution {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.team-modal-body {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.team-modal-section {
    margin-bottom: 20px;
}

.team-modal-section h4 {
    color: var(--primary-navy);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.team-modal-section p {
    color: var(--text-gray);
    line-height: 1.7;
}

.team-modal-section ul {
    list-style: none;
    padding: 0;
}

.team-modal-section ul li {
    color: var(--text-gray);
    padding: 4px 0;
    padding-left: 15px;
    position: relative;
}

.team-modal-section ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
}

.team-modal-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.team-modal-links .btn {
    padding: 6px 16px;
    font-size: 0.85rem;
}

.btn-outline {
    display: inline-block;
    padding: 10px 25px;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

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

/* =============================================
   TIMELINE
   ============================================= */

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 40px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-green), var(--accent-teal));
    border-radius: 1px;
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -40px;
    top: 5px;
    width: 18px;
    height: 18px;
    background: var(--white);
    border: 3px solid var(--accent-green);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:first-child .timeline-marker {
    background: var(--accent-green);
}

.timeline-content {
    background: var(--white);
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.timeline-content h3 {
    color: var(--primary-navy);
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.timeline-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin: 0;
}

/* =============================================
   PAGE HEADER (for inner pages)
   ============================================= */

.page-header {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(8, 145, 178, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(1, 149, 138, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 60% 0%, rgba(8, 145, 178, 0.1) 0%, transparent 40%),
        linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: -60%;
    left: -5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.page-header-wave svg {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 60px;
}

.page-header-curve {
    position: absolute;
    width: 140%;
    height: 250px;
    left: -20%;
    top: 10%;
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 0 50% 50%;
}

.page-header-curve:nth-child(2) {
    top: 30%;
    left: -10%;
    width: 130%;
    border-bottom-width: 1px;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.page-header-curve:nth-child(3) {
    top: 45%;
    left: -15%;
    width: 130%;
    height: 150px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.page-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul.active {
        display: flex;
    }

    nav li {
        border-bottom: 1px solid var(--border-color);
    }

    nav a {
        display: block;
        padding: 15px 0;
    }

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

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

    /* Hero Intro responsive */
    .hero-intro {
        padding: 40px 20px 40px;
    }

    .hero-intro-row {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 30px;
    }

    .hero-intro-title h1 {
        font-size: 2.5rem;
    }

    .hero-partners-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding-top: 25px;
    }

    .partners-logos {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 20px;
    }

    /* Featured Report responsive */
    .featured-report-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .featured-report-info {
        padding: 40px 25px;
    }

    .featured-report-info h2 {
        font-size: 1.6rem;
    }

    .featured-report-cover {
        padding: 30px 20px;
        min-height: 300px;
    }

    .partners-grid {
        flex-direction: column;
        align-items: center;
    }

    .partner-card {
        max-width: 100%;
        width: 100%;
    }

    .footer-partners-row {
        gap: 30px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .publication-item {
        flex-direction: column;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}
