* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E7D32; /* Green */
    --secondary-color: #4CAF50; /* Light Dark Green */
    --tertiary-color: #6D4C41; /* Brown */
    --white: #ffffff;
    --black: #000000;
    --gray-light: #f4f4f4;
    --text-color: #333;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.navbar.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    align-items: center;
}

.hamburger span {
    height: 4px;
    border-radius: 3px;
    background: var(--white);
    transition: 0.3s;
}

.hamburger span:nth-child(1) {
    width: 20px;
}

.hamburger span:nth-child(2) {
    width: 30px;
}

.hamburger span:nth-child(3) {
    width: 20px;
}

.hamburger.active span {
    background: #fff;
    width: 30px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Home Section */
.home {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    color: #fff;
    margin-top: 0;
    padding-top: 70px;
    padding-bottom: 80px;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    animation-name: fadeSlide;
    animation-duration: 1s;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.slide-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.slide-nav.prev-slide {
    left: 20px;
}

.slide-nav.next-slide {
    right: 20px;
}

.slide-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .slide-nav {
        display: none;
    }
}

.home-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.home-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.home-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 1px;
}

.home-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.btn {
    display: inline-block;
    padding: 10px 28px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.6);
}

@keyframes fadeSlide {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* Products Section */
.products {
    padding: 80px 0;
    background: #f4f4f4;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--tertiary-color);
    font-weight: 700;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-card h3 {
    color: var(--tertiary-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.product-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.key-features h4 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    color: #666;
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0;
    transform: translateX(-30px);
}

.feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.product-card.in-view .feature-item {
    animation: slideInFeature 0.8s ease forwards;
}

.product-card.in-view .feature-item:nth-child(1) {
    animation-delay: 0.2s;
}

.product-card.in-view .feature-item:nth-child(2) {
    animation-delay: 0.4s;
}

.product-card.in-view .feature-item:nth-child(3) {
    animation-delay: 0.6s;
}

.product-card.in-view .feature-item:nth-child(4) {
    animation-delay: 0.8s;
}

.product-card.in-view .feature-item:nth-child(5) {
    animation-delay: 1s;
}

/* About Section */
.about {
    padding: 80px 0;
    background: url('coc.avif') center/cover;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--tertiary-color);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2.5rem;
    color: var(--tertiary-color);
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
}

.section-subtitle.in-view {
    animation: fadeInText 1s ease forwards;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--secondary-color));
}

/* About Story */
.about-story {
    max-width: 900px;
    margin: 0 auto 60px;
    text-align: center;
}

.story-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: #8bc34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

.story-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.about-story.in-view p {
    animation: fadeInText 1.2s ease forwards;
}

.about-story.in-view p:nth-child(2) {
    animation-delay: 0.4s;
}

.about-story.in-view p:nth-child(3) {
    animation-delay: 0.8s;
}

.about-story.in-view p:nth-child(4) {
    animation-delay: 1.2s;
}

.about-story strong {
    color: var(--tertiary-color);
    font-weight: 700;
}

/* Leadership Section */
.leadership-section {
    margin: 60px 0;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.leader-card {
    background: #f9f9f9;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
}

.leadership-section.in-view .leader-card {
    animation: fadeInUp 1s ease forwards;
}

.leadership-section.in-view .leader-card:nth-child(1) {
    animation-delay: 0.2s;
}

.leadership-section.in-view .leader-card:nth-child(2) {
    animation-delay: 0.5s;
}

.leadership-section.in-view .leader-card:nth-child(3) {
    animation-delay: 0.8s;
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.leader-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    background: #8bc34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leader-icon svg {
    width: 50px;
    height: 50px;
    color: #fff;
}

.leader-card h4 {
    color: var(--tertiary-color);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.leader-title {
    color: var(--tertiary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.leader-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Vision & Mission */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 60px 0;
}

.vm-card {
    background: linear-gradient(135deg, #f5f5f5, #fff);
    padding: 3rem 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-50px);
}

.vision-mission.in-view .vm-card:nth-child(1) {
    animation: slideInLeft 1s ease forwards;
}

.vision-mission.in-view .vm-card:nth-child(2) {
    animation: slideInRight 1s ease forwards;
    animation-delay: 0.3s;
}

.vision-mission.in-view .vm-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.vm-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 1.5rem;
    background: #8bc34a;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.vm-card h3 {
    color: var(--tertiary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.vm-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1.05rem;
}

.vm-card ul {
    list-style: none;
    padding: 0;
}

.vm-card ul li {
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1rem;
}

.vm-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Core Values */
.core-values {
    margin: 60px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    opacity: 0;
    transform: scale(0.8);
}

.core-values.in-view .value-card {
    animation: zoomIn 0.8s ease forwards;
}

.core-values.in-view .value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.core-values.in-view .value-card:nth-child(2) {
    animation-delay: 0.3s;
}

.core-values.in-view .value-card:nth-child(3) {
    animation-delay: 0.5s;
}

.core-values.in-view .value-card:nth-child(4) {
    animation-delay: 0.7s;
}

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(76, 175, 80, 0.3);
}

.value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: #8bc34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    transform: rotateY(360deg);
}

.value-icon svg {
    width: 35px;
    height: 35px;
    color: #fff;
}

.value-card h4 {
    color: var(--tertiary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Highlights Section */
.highlights-section {
    margin: 60px 0;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f5f5f5, #fff);
    border-radius: 20px;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-item {
    text-align: center;
    padding: 1.5rem;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: scale(0.5);
}

.highlights-section.in-view .highlight-item {
    animation: zoomIn 0.8s ease forwards;
}

.highlights-section.in-view .highlight-item:nth-child(1) {
    animation-delay: 0.1s;
}

.highlights-section.in-view .highlight-item:nth-child(2) {
    animation-delay: 0.3s;
}

.highlights-section.in-view .highlight-item:nth-child(3) {
    animation-delay: 0.5s;
}

.highlights-section.in-view .highlight-item:nth-child(4) {
    animation-delay: 0.7s;
}

.highlight-item:hover {
    transform: scale(1.1);
}

.highlight-number {
    font-size: 3rem;
    font-weight: 800;
    color: #8bc34a;
    margin-bottom: 0.5rem;
}

.highlight-item p {
    color: #666;
    font-weight: 600;
    font-size: 1rem;
}

/* Community Section */
.community-section {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
    padding: 3rem 2rem;
    background: #8bc34a;
    border-radius: 20px;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
}

.community-section.in-view {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.community-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: heartbeat 1.5s infinite;
}

.community-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.community-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.community-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInText {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInFeature {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1);
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #f4f4f4;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--tertiary-color);
    font-weight: 700;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.contact-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-link:hover .contact-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-color));
    box-shadow: 0 5px 15px rgba(107, 68, 35, 0.3);
}

.contact-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.contact-item h3 {
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p {
    color: #666;
}

/* Public Service Section */
.service {
    padding: 80px 0;
    background: #fff;
}

.service h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--tertiary-color);
    font-weight: 700;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.service-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3 {
    padding: 1.5rem;
    color: var(--tertiary-color);
    text-align: center;
    font-weight: 600;
}

.service-card p {
    padding: 0 1.5rem 1.5rem;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--tertiary-color), var(--tertiary-color));
    color: #fff;
    text-align: center;
    padding: 2rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .home {
        height: 70vh;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #2d5016;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .home-content h1 {
        font-size: 2.2rem;
    }

    .home-content p {
        font-size: 1.3rem;
    }

    .btn {
        padding: 10px 28px;
        font-size: 0.9rem;
    }

    .products h2,
    .about h2,
    .service h2,
    .contact h2 {
        font-size: 2rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }

    .leadership-grid,
    .values-grid,
    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .highlight-number {
        font-size: 2.5rem;
    }

    .vm-card,
    .community-section {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .home-content h1 {
        font-size: 1.8rem;
    }

    .home-content p {
        font-size: 1.1rem;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.2rem;
    }
}
