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

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

.container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* Updated to align main nav to right after removing user menu */
.main-nav {
    margin-left: auto;
}

.logo img {
    max-height: 144px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #008155;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    border-radius: 0 0 8px 8px;
}

.dropdown-menu li {
    margin: 0;
    border-bottom: 1px solid #e9ecef;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    text-align: left;
    color: #555;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #008155;
}

/* Desktop: Show dropdown on hover */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block !important;
    }
}

/* Mobile: Show dropdown when parent has active class */
@media (max-width: 768px) {
    .dropdown.active .dropdown-menu {
        display: block !important;
        position: static;
        box-shadow: none;
        min-width: auto;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
}

/* Hero Section */
.hero {
    height: 500px;
    background: url('../images/jimeng-2025-12-30-7823.jpg') no-repeat center center / cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 500"><defs><pattern id="grid" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M 50 0 L 0 0 0 50" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #008155;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #008155;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about {
    padding: 60px 0;
    background: url('../images/Website_design_Caroline2_Artboard 1.jpg') no-repeat center center / cover;
}

.section-title {
    color: #008155;
    font-size: 2rem;
    margin-bottom: 10px;
    text-align: center;
}

.section-subtitle {
    color: #008155;
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 8px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-text .section-title,
.about-text .section-subtitle {
    text-align: left;
}

.placeholder-image {
    background-color: #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    position: relative;
}

.placeholder-image i {
    font-size: 48px;
    color: #adb5bd;
}

.about-image .placeholder-image {
    height: 360px;
}

/* Carousel Section */
.carousel {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.carousel-container {
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide .placeholder-image.large {
    width: 100%;
    height: 480px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    cursor: pointer;
    transition: background-color 0.3s;
}

.carousel-indicators span.active {
    background-color: #008155;
}

/* Breadcrumb Styles (Site-wide Module) */
.breadcrumb {
    padding: 15px 0;
}

.breadcrumb .container {
    width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb-nav li {
    display: inline;
}

.breadcrumb-nav li::after {
    content: "|";
    margin: 0 10px;
    color: #6c757d;
}

.breadcrumb-nav li:last-child::after {
    content: "";
}

.breadcrumb-nav a {
    text-decoration: none;
    color: #6c757d;
    transition: color 0.3s;
}

.breadcrumb-nav a:hover {
    color: #008155;
}

.breadcrumb-nav .active {
    color: #008155;
}

/* Page Content Styles */
.page-content {
    padding: 60px 0;
    background-color: #fff;
    text-align: left;
}

.page-content h1 {
    color: #008155;
    font-size: 3.5rem;
    margin-bottom: 30px;
    text-align: left;
}

.page-content {
    text-align: left;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: #555;
}

.content-wrapper h2 {
    color: #008155;
    font-size: 1.5rem;
    margin: 30px 0 15px;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Sub Navigation Styles */
.sub-nav {
    background-color: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sub-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    border-radius: 8px;
    overflow: hidden;
}

.sub-nav li {
    margin: 0;
    flex: 1;
}

.sub-nav a {
    display: block;
    padding: 15px 20px;
    text-align: center;
    text-decoration: none;
    color: #555;
    background-color: #f8f9fa;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.sub-nav a:hover {
    background-color: #e9ecef;
    color: #008155;
.sub-nav a.active {
    color: #008155;
    background-color: #fff;
    border-right: 3px solid #008155;
}   font-weight: bold;
}

.content-wrapper li {
    margin-bottom: 10px;
}

/* Activity List Styles */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.activity-item {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #008155;
}

.activity-date {
    color: #008155;
    font-weight: bold;
    margin-bottom: 10px;
}

.activity-item h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #008155;
}

.activity-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #008155;
}

.activity-item h3 a {
    color: #008155;
    text-decoration: none;
}

.activity-item h3 a:hover {
    text-decoration: underline;
}

/* Activities Layout */
.activities-layout {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 30px;
    margin-top: 20px;
}

/* Yearly Navigation */
.yearly-nav {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    position: sticky;
    top: 20px;
    align-self: start;
}

.yearly-nav h3 {
    margin-bottom: 15px;
    color: #008155;
    font-size: 1.2rem;
}

.yearly-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yearly-nav li {
    margin-bottom: 10px;
}

.yearly-nav a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.yearly-nav a:hover {
    background-color: #e9ecef;
    color: #008155;
}

/* Event List */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.year-section {
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 30px;
}

.year-section:last-child {
    border-bottom: none;
}

.year-section h2 {
    color: #008155;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* Activity Detail Page */
.activity-detail {
    max-width: 800px;
    margin: 0 auto;
}

.activity-detail .activity-image {
    margin-bottom: 25px;
}

.activity-detail .activity-date {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: bold;
}

.activity-detail h1 {
    color: #008155;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.activity-detail .activity-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.back-to-activities {
    text-align: center;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .activities-layout {
        grid-template-columns: 1fr;
    }
    
    .yearly-nav {
        position: static;
        margin-bottom: 20px;
    }
    
    .year-section h2 {
        font-size: 1.5rem;
    }
    
    .activity-detail h1 {
        font-size: 2rem;
    }
}

/* Membership Styles (removed as content was deleted) */

/* Contact Banner */
.contact-banner {
    height: 300px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 21px;
    width: 9px;
    background-color: #ff4081;
    border-radius: 2px;
    font-size: 12px;
    line-height: 21px;
    text-align: center;
    color: white;
    font-weight: bold;
    left: 20px;
    top: 20px;
}

.contact-banner::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60px;
    width: 100px;
    height: 80px;
    background: #fff;
    opacity: 0.3;
    border-radius: 8px;
    border: 2px solid #4caf50;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-content h1 {
    color: #008155;
    font-size: 3rem;
    margin: 0;
}

/* Contact Content */
.contact-content {
    padding: 60px 0;
}

/* Contact Information */
.contact-info-section {
    max-width: 600px;
    margin: 0 auto 60px;
    text-align: center;
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.contact-icon.whatsapp {
    background-color: #25d366;
}

.contact-icon.email {
    background-color: #4caf50;
}

.contact-icon.facebook {
    background-color: #3b5998;
}

.contact-icon.wechat {
    background-color: #07c160;
}

.contact-text {
    text-align: left;
    color: #555;
    line-height: 1.6;
}

.contact-text p {
    margin: 5px 0;
}

.social-links-section {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Contact Form */
.contact-form-section {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.form-group.half {
    flex: 1;
    min-width: 200px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    font-size: 16px;
    background-color: #f8f9fa;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #008155;
}

.submit-group {
    text-align: center;
    margin-top: 40px;
}

.submit-btn {
    background-color: #008155;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #006D48;
}

/* Map Placeholder */
.map-placeholder {
    height: 300px;
    background-color: #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}

/* Background Content Styles */
.background-content {
    line-height: 1.8;
}

.background-image {
    margin: 20px 0;
    text-align: center;
}

/* Mission Content Styles */
.mission-items {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin: 30px 0;
}

.mission-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.mission-item:nth-child(even) {
    flex-direction: row-reverse;
}

.mission-item-content {
    flex: 1;
}

.mission-item h3 {
    color: #008155;
    margin-top: 0;
    margin-bottom: 10px;
}

.mission-item img {
    width: 300px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
}

/* Structure Content Styles */
.structure-content {
    line-height: 1.8;
}

.structure-diagram {
    margin: 30px 0;
    text-align: center;
}

.diagram-placeholder {
    height: 200px;
    background-color: #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
    margin-top: 15px;
}

.structure-leadership,
.structure-committees {
    margin: 30px 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Latest News Section */
.news {
    padding: 60px 0;
    background-color: #fff;
}

.news-content {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.news-item {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.news-date {
    color: #008155;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-title {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.news-preview {
    color: #666;
    font-size: 0.9rem;
}

.news-sidebar .placeholder-image {
    height: 200px;
    margin-bottom: 15px;
}

.sidebar-image {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

.news-button {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #008155;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #006D48;
}

/* Footer */
footer {
    background: url('../images/Website_design_Caroline2_Artboard 3.jpg') no-repeat center center / cover;
    color: #333;
    padding: 40px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 0;
}

footer > * {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    max-height: 120px;
    margin-bottom: 20px;
}

.footer-nav h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #008155;
}

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

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

.footer-nav a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #008155;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact .social-links {
    margin: 15px 0;
}

.footer-contact .social-icon {
    display: block;
    margin: 8px 0;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.footer-contact .social-icon i {
    margin-right: 10px;
    font-size: 20px;
}

.footer-contact .social-icon:hover {
    color: #008155;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #e9ecef;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content,
    .news-content {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    .mission-items {
        gap: 20px;
    }
    
    .mission-item {
        flex-direction: column !important;
        text-align: center;
    }
    
    .mission-item img {
        width: 100%;
        height: auto;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #fff;
        flex-direction: column;
        gap: 0;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .main-nav > ul.active {
        display: flex;
    }
    
    /* Logo size on mobile devices */
    .logo img {
        max-width: 80% !important;
        height: auto !important;
    }

    .main-nav li {
        margin: 0;
        border-bottom: 1px solid #e9ecef;
    }
    
    .main-nav a {
        display: block;
        padding: 15px 20px;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .sub-nav ul {
        flex-direction: column;
    }
    
    .sub-nav a {
        text-align: left;
        padding: 10px 15px;
    }
    
    .page-content h1 {
        font-size: 2.5rem;
        text-align: left;
    }
    
    .page-content {
        text-align: left;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        padding: 15px;
    }
}

/* Icons */
.icon-user::before { content: '👤'; }
.icon-search::before { content: '🔍'; }
.icon-message::before { content: '💬'; }
.icon-menu::before { content: '☰'; }
.icon-image::before { content: '🖼️'; }
.icon-facebook::before { content: '📘'; }
.icon-twitter::before { content: '🐦'; }
.icon-instagram::before { content: '📷'; }
.icon-youtube::before { content: '🎥'; }
.icon-whatsapp::before { content: '📱'; }
.icon-envelope::before { content: '📧'; }
.icon-wechat::before { content: '💬'; }
/* Force all link text to black */
a,
a:visited,
a:hover,
a:focus,
a:active {
    color: #000 !important;
}

