* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

.about-header-container {
    width: 100%;
    border-bottom: none;
    margin: 0;
}

.about-top-bar {
    height: 5px;
    background-color: rgb(0, 73, 0);
}

.about-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                      url('../image/Container.png'); /* ← path corrected */
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-top: none;
    border-bottom: 2px solid #fff;
    margin: 0;
}

.about-hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.about-hero-section p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.about-nav {
    background-color: rgb(209, 209, 209);
    display: flex;
    justify-content: center;
    padding: 0rem 2rem;
    overflow-x: auto;
    overflow-y: hidden;
}

.about-nav-line {
    height: 2px;
    background-color: rgb(255, 255, 255);
}

.about-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    width: 100%;
    flex-wrap: nowrap;
    align-items: center;
}

.about-nav ul li {
    display: inline-block;
    white-space: nowrap;
    margin: 0;
}

.about-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.about-nav ul li a:hover {
    background-color: rgb(153, 153, 153);
}

.about-nav ul li:first-child a {
    background-color: rgb(0, 95, 8);
    color: #ffffff;
}

.about-nav ul li:first-child a:hover {
    background-color: rgb(0, 59, 5);
}

.about-vision-mission-container {
    width: 100%;
    display: flex;
    color: #333;
}

.about-vision-mission-container .text-content,
.about-vision-mission-container .image-content {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-vision-mission-container .text-content {
    background-color: rgb(0, 82, 7);
    color: white;
    padding: 2rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-vision-mission-container .text-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-vision-mission-container .text-content p {
    font-size: 1rem;
    line-height: 1.4;
}

.about-vision-mission-container .image-content img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

#mission {
    flex-direction: row-reverse;
}

.principles-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    background-color: #ffffff;
}

.principles-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
}

.principles-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.principles-text-content {
    flex: 1;
    padding-right: 2rem;
}

.principles-text-content h2 {
    font-size: 2rem;
    color: rgb(0, 51, 4);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid rgb(0, 51, 4);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.principles-text-content p {
    color: rgb(5, 5, 5);
    font-weight: 400;
    margin-bottom: 1.5rem;
    padding-left: 1rem;
}

.principles-text-content ul {
    list-style-position: outside;
    padding-left: 1.5rem;
}

.principles-text-content ul li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: rgb(80, 79, 79);
}

.principles-image-content {
    flex: 1;
    display: flex;
    justify-content: center;
}

.principles-image {
    margin-top: 3rem;
    margin-left: 3rem;
    width: 110%;
    height: 110%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .about-hero-section {
        height: 40vh;
    }
    .about-hero-section h1 {
        font-size: 2rem;
    }
    .about-hero-section p {
        font-size: 1rem;
    }
    .about-nav {
        padding: 0.5rem 0;
        overflow-x: hidden;
    }
    .about-nav ul {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
    }
    .about-nav ul li a {
        padding: 0.75rem 1rem;
        width: 100vw;
        text-align: center;
    }
    .about-vision-mission-container {
        flex-direction: column;
    }
    #mission {
        flex-direction: column;
    }
    .about-vision-mission-container .text-content,
    .about-vision-mission-container .image-content {
        width: 100%;
    }
    .about-vision-mission-container .text-content {
        padding: 2rem;
    }
    .about-vision-mission-container .text-content h2 {
        font-size: 1.8rem;
    }
    .principles-section {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0 1rem;
    }
    .principles-content-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .principles-text-content {
        padding-right: 0;
        padding-bottom: 2rem;
        width: 100%;
    }
    .principles-text-content h2 {
        font-size: 1.8rem;
    }
    .principles-image-content {
        width: 100%;
        padding: 1rem 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .principles-image {
        margin: 0;
        width: 100%;
        height: auto;
        max-width: 700px;
        border-radius: 5px;
    }
}