/* ========== Top Logo Section ========== */
.header-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
    gap: 20px;
}

.logo {
    max-width: 150px;
}

.logotext h1 {
    font-size: 2.1rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    font-family: "Segoe UI";
}

.motto {
    color: green;
    font-family: "Alex Brush", cursive;
    font: bold;
    font-size: 2rem;
    margin-top: 5px;
}

/* ========== Navigation Bar ========== */
.navbar {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    margin-left: 150px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 40px;
    padding: 0;
    margin: 0;
}

.nav-list li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #000;
    font-weight: 400;
    font-size: 1.3em;
    padding: 10px 5px;
    font-family: "Segoe UI";
    transition: color 0.3s ease;
}

.nav-list li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 10px;
    height: 2px;
    width: 0%;
    background-color: rgb(80, 155, 80);
    transition: width 0.3s ease;
}

.nav-list li a:hover {
    color: rgb(80, 155, 80);
}

.nav-list li a:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
        margin-left: 0;
    }

    .nav-list {
        gap: 10px;
    }

    .nav-list li a {
        font-size: 1.1em;
        padding: 8px 0;
    }
}


/*================Hero Section===========*/
.event-hero {
    background-image: url("../images/building1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.event-hero .overlay {
    background-color: rgba(0, 0, 0, 0.54); /* Dull black effect */
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI';
}

.event-hero h1 {
    color: #fff;
    font-size: 2.3rem;
    font-weight: bold;
    z-index: 1;
    text-transform: uppercase;
    padding: 10px 60px;
    border: 2px solid #ffffffb0;
    background-color: rgba(255, 255, 255, 0.212);
    border-radius: 6px;
}
/* ========== Upcoming Events Section ========== */
/* ========= Announcement Section ========== */
.announcement {
    background-color: #f5fff8;
    padding: 60px 20px;
    font-family: "Segoe UI", sans-serif;
    color: #222;
}

.announcement .container {
    max-width: 900px;
    margin: auto;
    background: #ffffff;
    border-left: 5px solid #2e7d32;
    border-radius: 10px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.announcement h1 {
    font-size: 2.4rem;
    color: #2e7d32;
    margin-bottom: 10px;
    font-weight: 700;
}

.announcement .date {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    font-style: italic;
}

.announcement h2 {
    margin-top: 30px;
    color: #055708;
    font-size: 1.5rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}

.announcement p {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 10px;
    color: #333;
}

.styled-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
    color: #2e7d32;
}

.styled-list li {
    margin-bottom: 8px;
    font-weight: 500;
}

.download-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 18px;
    background-color: #2e7d32;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.download-btn i {
    margin-right: 8px;
}

.download-btn:hover {
    background-color: #1b5e20;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .announcement .container {
        padding: 20px;
    }

    .announcement h1 {
        font-size: 1.8rem;
    }

    .announcement h2 {
        font-size: 1.3rem;
    }

    .download-btn {
        font-size: 0.95rem;
        padding: 8px 14px;
    }
}

/*=============Back to Homepage========*/
.back-home-wrapper {
    text-align: center;
    margin-top: 30px;
}

.back-home-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1b5e20;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    font-size: 1rem;
}

.back-home-btn i {
    margin-right: 8px;
}

.back-home-btn:hover {
    background-color: #32ce3c;
}


/*============Image Banner of Event==========*/
.event-poster-container {
  text-align: center;
}

.event-poster-img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* ========== Divider Icon ========== */
.divider-with-icon {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: rgb(96, 165, 96);
    margin: 60px 0;
}

.divider-with-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 4px;
    border-radius: 50%;
    border: 2px solid rgb(96, 165, 96);
    width: 36px;
    height: 36px;
    background-image: url("../images/greenribbion.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========== Footer ========== */
.footer {
    background: linear-gradient(to right, #4caf50, #2e7d32);
    color: white;
    padding: 60px 20px 20px;
    font-family: "Segoe UI", sans-serif;
    position: relative;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-col {
    flex: 1;
    min-width: 250px;
    margin: 20px;
}

.footer-logo img {
    height: 90px;
    margin-bottom: 10px;
    margin-left: 70px;
    background-color: white;
    padding: 8px;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer .social-icons p {
    font-size: 16px;
    color: white;
    margin-top: 0px;
}

.social-icons {
    display: inline-flex;
    justify-content: right;
    gap: 20px;
    align-items: center;
}

.social-icons img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 16px;
    border-bottom: 2px solid white;
    display: inline-block;
    padding-bottom: 4px;
}

.footer ul {
    padding: 0;
    list-style: none;
}

.footer li {
    margin-bottom: 8px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffeb3b;
}

.footer p {
    margin: 8px 0;
    font-size: 14px;
    color: #e0f2f1;
}

.footer-post {
    margin-bottom: 16px;
}

.footer-post .post-title {
    font-weight: bold;
    color: #ffffff;
}

.footer-post .post-date {
    font-size: 13px;
    color: #c8e6c9;
}

.footer-col p i {
    margin-right: 8px;
}

.footer-bottom {
    text-align: center;
    background-color: #1b5e20;
    padding: 16px;
    font-size: 14px;
    margin-top: 30px;
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #1b5e20;
    color: white;
    padding: 12px 14px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.back-to-top:hover {
    background-color: #004d00;
}

/* ========== Responsive Styles ========== */
@media (max-width: 768px) {
    .logotext h1 {
        font-size: 1.5rem;
    }

    .motto {
        font-size: 1.2rem;
    }

    .event-hero h1 {
        font-size: 2rem;
    }

}

@media (max-width: 480px) {
    .logotext h1 {
        font-size: 1.2rem;
    }

    .motto {
        font-size: 1rem;
    }

    .event-hero {
        height: 250px;
    }

    .event-hero h1 {
        font-size: 1.5rem;
    }
}
/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

    .footer-col {
        width: 100%;
        max-width: 300px;
    }

    .footer-logo img {
        margin-right: 80px;
        width: 70px;
        height: auto;
    }

    .footer-bottom {
        text-align: center;
        padding: 10px 20px;
    }

    .footer-bottom span {
        display: block;
        margin-top: 5px;
    }

    .back-to-top {
        right: 20px;
        bottom: 20px;
    }
}
