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

body {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    flex-direction: column;
}

.nav-brand {
    flex: 0 0 auto;
    padding: 20px 20px 10px 20px;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-item {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-item:hover {
    transform: translateY(-2px);
    border-bottom-color: rgba(255,255,255,0.3);
}

.nav-overview { background-color: #2c5282; }
.nav-data { background-color: #3182ce; }
.nav-study { background-color: #4299e1; }
.nav-statements { background-color: #63b3ed; }
.nav-contact { background-color: #90cdf4; color: #2c5282; }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    color: white;
    text-align: center;
    padding: 120px 0 80px;
    margin-top: 280px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-logo {
    flex: 0 0 auto;
}

.university-logo {
    max-width: 200px;
    height: auto;
    filter: brightness(1.1);
}

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

.researcher-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #e2e8f0;
}

.university {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #cbd5e1;
}

.tagline {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f1f5f9;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/* Mobile responsiveness for hero */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .university-logo {
        max-width: 150px;
        margin-top: 20px;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .researcher-name {
        font-size: 1.3rem;
    }
    
    .university {
        font-size: 1.1rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-light {
    background-color: #fff;
    color: #333;
}

.section-dark {
    background-color: #1e3a5f;
    color: #fff;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.section p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-text {
    margin-top: 40px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #90cdf4;
    margin-bottom: 15px;
}

.stat-text {
    font-size: 1rem;
    line-height: 1.5;
}

/* Call-out Box */
.callout-box {
    background: rgba(255,255,255,0.1);
    border: 2px solid #4299e1;
    border-radius: 15px;
    padding: 40px;
    margin: 40px 0;
    text-align: left;
}

.callout-box h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    margin-top: 30px;
    color: #90cdf4;
    border-bottom: 2px solid #4299e1;
    padding-bottom: 10px;
    font-weight: bold;
}

.callout-box h3:first-child {
    margin-top: 0;
}

.callout-box h4 {
    font-size: 1.3rem;
    margin: 25px 0 15px;
    color: #90cdf4;
}

.callout-box ul {
    margin: 15px 0 25px 0;
    padding-left: 0;
    list-style: none;
}

.callout-box li {
    margin-bottom: 15px;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 18px 20px;
    border-radius: 8px;
    border-left: 5px solid #4299e1;
    font-weight: 500;
}

.callout-box .registration-notice {
    background: #4299e1;
    color: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.registration-link {
    color: white !important;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 15px 30px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.registration-link:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.callout-box .contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #4299e1;
}

.eligibility, .participation-details, .registration-section {
    margin: 25px 0;
}

.participation-details p {
    margin: 10px 0;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
}

.honorarium {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid #4299e1;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
}

.registration-notice {
    text-align: center;
    font-style: italic;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.contact-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
}

.email-contact {
    font-size: 1.2em;
    margin-top: 10px;
}

.email-contact a {
    color: #90cdf4;
    text-decoration: underline;
    font-weight: bold;
}

.ethics-note {
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    opacity: 0.8;
}

/* Plain Language Statements */
.pls-section {
    margin: 40px 0;
    text-align: left;
}

.pls-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #2c5282;
}

.easy-read {
    background: #e6f3ff;
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #2c5282;
}

.easy-read p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    text-align: left;
    margin-bottom: 15px;
}

.pls-link {
    color: #2c5282;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.pls-link:hover {
    border-bottom-color: #2c5282;
}

/* Contact */
.contact-email {
    color: #2c5282;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.contact-email:hover {
    border-bottom-color: #2c5282;
}

/* Footer */
.footer {
    background: #1a202c;
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

/* Links in dark sections */
.section-dark a {
    color: #90cdf4;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom-color 0.3s ease;
}

.section-dark a:hover {
    border-bottom-color: #90cdf4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
    
    .hero {
        padding: 100px 0 60px;
        margin-top: 240px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .call-out-box {
        padding: 25px;
    }
    
    .call-out-box h3 {
        font-size: 1.5rem;
    }
    
    .easy-read p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .call-out-box {
        padding: 20px;
    }
    
    .stats-grid {
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .section-dark {
        background-color: #000;
    }
    
    .nav-item {
        border: 1px solid #fff;
    }
    
    .stat-item {
        border: 1px solid rgba(255,255,255,0.3);
    }
}

