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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

header {
    background-color: #1a365d;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    text-align: center;
    margin-bottom: 1rem;
}

.logo h1 {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
}

.logo p {
    font-size: 1.2rem;
    color: #e2e8f0;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #63b3ed;
}

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

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 54, 93, 0.9), transparent);
    color: white;
    padding: 3rem 2rem 2rem;
    text-align: center;
}

.hero-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-overlay p {
    font-size: 1.3rem;
}

.intro {
    padding: 3rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 2rem;
    border-radius: 10px;
    text-align: center;
    background-color: white;
}

.intro h2 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.topic-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.topic-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
    padding-bottom: 1.5rem;
}

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

.topic-card h3 {
    color: #1a365d;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.topic-card p {
    padding: 0 1rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: #1a365d;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #2c5282;
}

.page-hero {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.page-hero h2 {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    background: rgba(26, 54, 93, 0.8);
    padding: 1rem 2rem;
    border-radius: 4px;
}

.content {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 2rem;
    background-color: white;
}

.content-with-image {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.content-with-image .text h3 {
    color: #1a365d;
    margin: 1.5rem 0 0.5rem;
    font-size: 1.3rem;
}

.content-with-image .text ul {
    margin: 1rem 0 1rem 2rem;
}

.content-with-image .text li {
    margin-bottom: 0.8rem;
}

.content-with-image .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info {
    background-color: #edf2f7;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.contact-info h3 {
    color: #1a365d;
    margin: 1.5rem 0 0.5rem;
}

.contact-info h3:first-child {
    margin-top: 0;
}

.page-hero.no-image {
    background: linear-gradient(135deg, #1a365d 0%, #2c5282 100%);
    height: auto;
    padding: 4rem 2rem;
}

.page-hero.no-image h2 {
    position: static;
    transform: none;
    background: transparent;
    text-shadow: none;
}

.content.no-images {
    padding-top: 1rem;
}

.members-intro {
    background-color: #edf2f7;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.members-intro h3 {
    color: #1a365d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.members-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.member {
    background-color: #1a365d;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.2rem;
}

.members-text {
    color: #4a5568;
    font-style: italic;
}

.text-only p {
    margin-bottom: 1rem;
}

footer {
    background-color: #1a365d;
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
    }
    
    .hero-overlay h2 {
        font-size: 1.8rem;
    }
    
    .page-hero h2 {
        font-size: 1.5rem;
        padding: 0.5rem 1rem;
    }
    
    .content-with-image {
        grid-template-columns: 1fr;
    }
}