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

body {
    font-family: 'Open Sans', sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.6;
}

/* Top Navigation */
.top-nav {
    background-color: #f5f5f5;
    padding: 10px 40px;
    text-align: right;
}

.portal-link {
    color: #2C7A7B;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.portal-link:hover {
    color: #1a5555;
    text-decoration: underline;
}

/* Header */
.header {
    padding: 30px 40px;
    text-align: center;
}

.header-title {
    display: inline-block;
    border: 2px solid #333333;
    padding: 15px 40px;
}

.header-title h1 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 40px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 1.2;
    background-color: #e0e0e0;
    min-height: 350px;
    border-radius: 4px;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    padding: 20px;
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 2px;
    color: #666666;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #2C7A7B;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 16px;
    color: #666666;
    line-height: 1.8;
}

/* Community Section */
.community {
    padding: 60px 40px;
    background-color: #ffffff;
}

.section-title {
    font-size: 13px;
    letter-spacing: 3px;
    color: #666666;
    margin-bottom: 40px;
    font-weight: 500;
    text-align: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.card {
    text-align: center;
}

.card-image {
    width: 100%;
    height: 250px;
    background-color: #e0e0e0;
    margin-bottom: 25px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Light blue tint for third card like in mockup */
.card:nth-child(3) .card-image {
    background-color: #d4e8e8;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 15px;
}

.card-description {
    font-size: 14px;
    color: #666666;
    line-height: 1.7;
    padding: 0 10px;
}

/* Board Members Section */
.board-members {
    padding: 60px 40px;
    background-color: #f5f5f5;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.member-card {
    text-align: center;
}

.member-image {
    width: 150px;
    height: 150px;
    background-color: #cccccc;
    margin: 0 auto 20px;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.member-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 5px;
}

.member-title {
    font-size: 14px;
    color: #2C7A7B;
    font-weight: 500;
}

/* Footer */
.footer {
    background-color: #2C7A7B;
    color: #ffffff;
    text-align: center;
    padding: 30px 40px;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image {
        width: 100%;
        min-height: 300px;
    }
    
    .hero-content {
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 10px 20px;
    }
    
    .header {
        padding: 20px;
    }
    
    .header-title {
        padding: 12px 25px;
    }
    
    .header-title h1 {
        font-size: 18px;
    }
    
    .hero {
        padding: 20px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .community,
    .board-members {
        padding: 40px 20px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 500px;
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
}

/* Image placeholder styling (shows when images don't load) */
.hero-image,
.card-image,
.member-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 14px;
}

.hero-image img[src=""],
.card-image img[src=""],
.member-image img[src=""],
.hero-image img:not([src]),
.card-image img:not([src]),
.member-image img:not([src]) {
    display: none;
}
