@charset "utf-8";
/* CSS Document */

:root {
    --primary-green: #1E6031;
    --secondary-green: #009639;
    --primary-gold: #E0A70D;
    --secondary-gold: #FFD700;
    --white: #FFFFFF;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
}

/* Header Styles */
.top-header {
    background: var(--primary-green);
    padding: 15px 0;
    border-bottom: 3px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-section img {
    height: 80px;
    width: auto;
}

.site-title h1 {
    font-size: 1.4rem;
    color: var(--white);
    margin: 0;
    font-weight: 600;
    line-height: 1.2;
}

.site-title h2 {
    font-size: 1.8rem;
    color: var(--secondary-gold);
    margin: 0;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-green);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* Navigation Bar */
.navbar-custom {
    background: var(--white);
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-custom.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.navbar-brand-custom {
    display: none;
    align-items: center;
    gap: 10px;
    color: var(--primary-green);
    font-weight: 700;
    font-size: 1.4rem;
    text-decoration: none;
}

.navbar-brand-custom img {
    height: 40px;
}

.navbar-custom.sticky .navbar-brand-custom {
    display: flex;
}

.navbar-custom .navbar-nav .nav-link {
    color: var(--primary-green);
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
    color: var(--primary-gold);
}

.navbar-custom .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover::after {
    width: 80%;
}

.search-icon {
    color: var(--primary-green);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-icon:hover {
    color: var(--primary-gold);
}

/* Hero Section */
.hero-section {
    background: var(--primary-green);
    padding: 0;
    width: 100%;
}

.carousel-container {
    max-width: 100%;
    margin: 0 auto;
}

.carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-gold);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: var(--primary-gold);
}

/* News Update Section */
.news-section {
    padding: 50px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-gold);
}

.news-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.news-card img {
    height: 200px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 20px;
}

.news-date {
    color: var(--primary-gold);
    font-size: 0.9rem;
    font-weight: 600;
}

.news-card h5 {
    color: var(--primary-green);
    font-weight: 700;
    margin: 10px 0;
}

.btn-read-more {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: var(--secondary-green);
    transform: translateX(5px);
}

/* Features Section */
.features-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--secondary-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--white);
}

.feature-card h4 {
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer h5 {
    color: var(--secondary-gold);
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-green);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    background: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-content {
    width: 90%;
    max-width: 600px;
}

.search-input {
    width: 100%;
    padding: 20px;
    font-size: 1.5rem;
    border: 3px solid var(--primary-gold);
    border-radius: 50px;

    outline: none;
}

.close-search {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 1366px) {
    .navbar-custom .navbar-toggler {
        border-color: var(--primary-green);
    }

    .navbar-custom .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30, 96, 49, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 1024px) {
    .social-links {
        display: none;
    }

    .top-header .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }

    .header-content {
        justify-content: flex-start;
    }

    .logo-section {
        width: 100%;
    }

    .site-title {
        flex: 1;
        width: 100%;
    }

    .site-title h1 {
        font-size: 0.9rem;
    }

    .site-title h2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 786px) {
    .site-title h1 {
        font-size: 0.8rem;
    }

    .site-title h2 {
        font-size: 1.2rem;
    }

    .logo-section img {
        height: 55px;
    }

    .carousel-item img {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .section-title h2 {
        font-size: 1.8rem;
    }

    .carousel-item img {
        height: 250px;
    }
}

/* Program Cards Styling */
.program-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.program-card {
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.program-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-green);
}

.program-card p {
    flex-grow: 1;
    margin-bottom: 15px;
}

.learn-more {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 600;
    margin-top: auto;
    transition: all 0.3s ease;
}

.program-card:hover .learn-more {
    transform: translateX(5px);
}

.program-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon {
    transition: transform 0.3s ease;
}

/* Section Title Enhancement */
.section-title p {
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Accessibility improvements */
.program-link:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 4px;
}

.program-link:focus .program-card {
    transform: translateY(-10px);
}