body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- HEADERS --- */
.top-header {
    background-color: #1b4d3e;
    display: flex;
    padding: 8px 0px;
    width: 100%;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.top-header-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30px;
    box-sizing: border-box;
}

.top-header-left, .top-header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-header-item {
    display: inline-flex; 
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 13px;
    text-decoration: none;
}

.top-header-item i {
    color: #f1c40f; 
}

.main-header {
    background-color: white; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: flex;
    padding: 10px 30px;
    justify-content: center; 
    align-items: center;
    width: 100%;
    z-index: 1000;
    box-sizing: border-box; 
    position: sticky;
    top: 0;
}

.header-content {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
}

.header-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.header-cct-logo {
    height: 50px; 
}

.header-school-name {
    color: #1b4d3e;
    font-family: 'Georgia', serif;
    font-size: 22px;
    font-weight: bold;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #1b4d3e;
    cursor: pointer;
}

.main-nav { 
    margin-left: auto; 
    margin-right: 0; 
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px
}

.main-nav ul li a {
    color: #1b4d3e;
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 18px;
    font-family: 'Transcity', sans-serif;
    letter-spacing: 1px;
}

.main-nav ul li a:hover {
    color: #f1c40f; 
}

/* --- DROPDOWN --- */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-top: 3px solid #1b4d3e;
    top: 100%;
}
.dropdown-content a {
    padding: 12px 16px;
    display: block;
    color: #1b4d3e;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.dropdown:hover .dropdown-content { 
    display: block; 
}

/* --- HERO BANNER --- */
.hero-section {
    height: 50vh;
    display: flex;
    align-items: center;
    text-align: left;
    padding-left: 8%;
    justify-content: flex-start;
    overflow: hidden;
    background: linear-gradient(90deg,rgb(17, 37, 16) 0%, rgba(27, 77, 62, 1) 38%, rgba(56, 163, 97, 1) 100%);
}

.hero-watermark {
    position: absolute;
    right: -10%;
    top: 45%;
    height: 750px;
    opacity: 0.15;
    transform: translateY(-50%);
}

.hero-content { 
    position: relative; 
    z-index: 2; 
    width: 100%; 
}

.hero-title { 
    color: white;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0px;
    margin-top: 0px;
}

.hero-subtitle { 
    color: white;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 30px;
}

/* --- GRIDS & CARDS --- */
.content-section { 
    padding: 50px 5%; 
}

.section-title { 
    font-size: 28px; 
    color: #1b4d3e; 
    margin-bottom: 30px; 
}

.program-grid, .events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.program-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s ease;
    height: 540px;
}

.event-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: 0.3s ease;
}

.program-card:hover, .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: #1b4d3e;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 12px;
}

.program-card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; 
    border-radius: 12px;
    border: 1.5px solid #1b4d3e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.card-front {
    background-color: white;
    color: #333;
}

.card-back {
    background-color: #1b4d3e;
    color: white;
    transform: rotateY(180deg);
}

.card-back h3 {
    margin-bottom: 10px;
    color: #f1c40f;
}

.logo-box img { 
    height: 100px; 
    width: 100px; 
    object-fit: contain; 
    margin-bottom: 15px; 
}

.event-icon { 
    background: #f1c40f; 
    color: white; 
    width: 45px; height: 45px; 
    border-radius: 50%; 
    display: flex;
    align-items: center; 
    justify-content: center; 
    margin: 0 auto 15px; 
}

.event-category-tag {
    font-size: 10px; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    border: 1px solid #ccc; 
    padding: 2px 10px; 
    border-radius: 20px;
}

/* --- FOOTER --- */
.system-footer {
    background: linear-gradient(90deg,rgb(17, 37, 16) 0%, rgba(27, 77, 62, 1) 38%, rgba(56, 163, 97, 1) 100%);
    color: white;
    padding: 60px 5% 20px;
    margin-top: auto;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-branding { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 20px; 
}

.footer-branding img { 
    height: 45px; 
}

.footer-links h4 { 
    border-bottom: 1px solid rgba(255,255,255,0.2); 
    padding-bottom: 10px; 
    color: #ffffff; 
}

.footer-links a, .footer-links p { 
    color: white; 
    text-decoration: none; 
    font-size: 14px; 
    margin-bottom: 10px; 
    display: block; 
    opacity: 0.8; 
}

.footer-links a:hover {
    opacity: 1; 
    text-decoration: underline; 
}

.footer-copyright {
    border-top: 1px dashed rgba(255,255,255,0.3);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.wincel-brand-small {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.wincel-brand-small:hover {
    opacity: 1;
}

.wincel-mini-logo-small {
    height: 20px;
}

/* --- RESPONSIVENESS --- */
@media (max-width: 992px) {
    .footer-main-grid { 
        grid-template-columns: 1fr 1fr; 
    }

    .header-school-name { 
        font-size: 18px; 
    }

}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; 
        width: 100%;
        background: white; 
        border-top: 2px solid #1b4d3e;
    }
    .main-nav.active { 
        display: block; 
    }

    .main-nav ul { 
        flex-direction: column;
        padding: 20px; 
        gap: 15px; 
    }

    .top-header-left, 
    .top-header-right {
        width: 100%;
        justify-content: center;
        padding-right: 0;
    }

    .top-header-item {
        white-space: normal;
        word-break: break-word;
        text-align: center;
    } 
    .hero-section {
        height: auto;
        padding: 100px 20px;
    }
    .header-school-name {
        font-size: 18px;
    }
    .hero-title {
        font-size: 28px;
    }

    .hero-watermark {
        left: 60%;
        top: 50%;
        height: 350%;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .footer-main-grid { 
        grid-template-columns: 1fr;
        text-align: center; 
    }

    .footer-branding {
        justify-content: center; 
    }

    .footer-copyright { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
}