/* ===== Global ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
}

/* ===== HEADER ===== */
.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

.top-header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #0d6630;
}

.top-header .tagline {
    font-size: 1rem;
    color: #555;
}

/* ===== SLIDER ===== */
.slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-bottom: 0;
    /* make sure no gap */
}

.slides {
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 12px;
}

.overlay h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.overlay p {
    font-size: 1.3rem;
}

.navigation {
    position: absolute;
    width: 100%;
    top: 50%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

/* ===== Split Sections ===== */
section.split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 80vh;
    padding: 3rem 2rem;
    overflow: hidden;
}

section.split.reverse {
    flex-direction: row-reverse;
}

section.split .text {
    flex: 1;
    padding: 2rem;
}

section.split .text h2 {
    font-size: 2.5rem;
    color: #0d6630;
    margin-bottom: 1rem;
}

section.split .text p,
section.split .text ul {
    font-size: 1.2rem;
    color: #333;
}


/* about section*/
.about-section {
    padding: 6rem 2rem;
    text-align: center;
}

.about-section .section-title,
.policy-section .section-title,
.products-section .section-title,
.mission-section .section-title {
    font-size: 2.8rem;
    color: #0d6630;
    margin-bottom: 3rem;
}

.about-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    max-width: 350px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.about-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    color: #0d6630;
    margin-bottom: 1rem;
}

.about-card p {
    font-size: 1.1rem;
    color: #444;
}


/* Mission Section */
.bg-mission {
    background: linear-gradient(to right, #f3f7f3, #e8f5e9);
    padding: 6rem 2rem;
    text-align: center;
}



.mission-steps {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
}

.mission-step {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    position: relative;
}

.icon-circle {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #0d6630;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission-step h3 {
    font-size: 1.5rem;
    color: #0d6630;
    margin-bottom: 1rem;
}

.mission-step p {
    font-size: 1.1rem;
    color: #444;
}

/* Connector line (like a timeline) */
.mission-steps::before {
    content: "";
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: #0d6630;
    z-index: 0;
}

.mission-step {
    z-index: 1;
}

.policy-section {
    text-align: center;
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.policy-circles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.policy-circle {
    background: white;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.policy-circle:hover {
    transform: translateY(-8px);
}

.policy-circle span {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.policy-circle h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: #2c2c2c;
}

.policy-circle p {
    font-weight: bold;
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

/* Images with rounded corners */
section.split .image {
    flex: 1;
}

section.split .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    /* rounded corners */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    /* soft shadow */
}

/* Background alternates */
.bg-light {
    background: #fdfdfd;
}

.bg-alt {
    background: #f3f7f3;
}

/* ===== Scroll Animation ===== */
.fade-in {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s, transform 1s;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* Products Section */
.products-section {
    padding: 50px 20px;
    background: #f9f9f9;
    color: #2c2c2c;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #0d6630;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    /* horizontal scroll on small screens */
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling on iOS */
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
    /* ensures table doesn’t shrink too much */
}

.products-table th,
.products-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.products-table th {
    background-color: #0d6630;
    color: #fff;
    font-weight: 600;
    position: sticky;
    /* keeps header visible on scroll */
    top: 0;
    z-index: 2;
}

.products-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

.products-table tr:hover {
    background-color: #e0f2e9;
}

.products-table td {
    font-size: 1rem;
    vertical-align: top;
}



/* ===== FOOTER ===== */
.footer {
    background: #1a1a1a;
    color: #f5f5f5;
    padding: 50px 40px;
}

.footer h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #a5d6a7;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-row p {
    font-size: 1.1rem;
    margin: 8px 0;
}

.footer-row strong {
    color: #fff;
}

.footer-row a {
    color: #a5d6a7;
    font-weight: 500;
    text-decoration: none;
    margin-left: 5px;
}

.footer-row a:hover {
    text-decoration: underline;
}

.footer-copy {
    margin-top: 30px;
    text-align: center;
    font-size: 1rem;
    color: #bbb;
    border-top: 1px solid #333;
    padding-top: 15px;
}

/* Mobile responsive for foother*/
@media (max-width: 768px) {
    .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Mobile adjustments for table*/
@media (max-width: 768px) {
    .products-table {
        font-size: 0.9rem;
        min-width: 700px;
        /* allow horizontal scroll */
    }

    .products-table th,
    .products-table td {
        padding: 6px 8px;
        font-size: 0.8rem;
    }


}