/* =========================================================
   GENERAL RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
    overflow-x: hidden;
}


img {
    max-width: 100%;
    display: block;
}


a {
    text-decoration: none;
}



/* =========================================================
   HEADER
========================================================= */

.header {
    width: 100%;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.10);
    position: relative;
    z-index: 1000;
}


.header-container {
    width: 92%;
    max-width: 1300px;
    margin: auto;

    min-height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================================
   LOGO
========================================================= */

.logo img {
    width: 180px;
    height: auto;
}


/* =========================================================
   NAVIGATION
========================================================= */

.navigation ul {
    list-style: none;

    display: flex;
    align-items: center;

    gap: 10px;
}


.navigation ul li a {

    display: block;

    padding: 10px 16px;

    color: #333;

    font-size: 16px;
    font-weight: 600;

    border-radius: 5px;

    transition: all 0.3s ease;
}


.navigation ul li a:hover {

    background: #f0f7f0;

    color: #198754;
}



/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {

    background: #198754 !important;

    color: #ffffff !important;

    padding: 10px 22px !important;

    border-radius: 5px !important;
}


.login-btn:hover {

    background: #146c43 !important;

}



/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.menu-toggle {

    display: none;

    width: 45px;
    height: 40px;

    border: none;

    background: transparent;

    cursor: pointer;

    padding: 7px;
}


.menu-toggle span {

    display: block;

    width: 100%;

    height: 3px;

    margin: 5px 0;

    background: #198754;

    border-radius: 3px;

}



/* =========================================================
   HERO SECTION
========================================================= */

.hero {

    min-height: 360px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 70px 20px;

    background:
        linear-gradient(
            rgba(0, 70, 35, 0.78),
            rgba(0, 70, 35, 0.78)
        ),
        url("../images/slideone.jpg");

    background-size: cover;

    background-position: center;
}


.hero-content {

    width: 100%;
    max-width: 950px;

    margin: auto;

}


.hero h1 {

    color: #ffffff;

    font-size: clamp(30px, 5vw, 52px);

    line-height: 1.2;

    margin-bottom: 20px;

    font-weight: 700;

}


.hero p {

    color: #ffffff;

    font-size: clamp(16px, 2vw, 20px);

    line-height: 1.7;

    max-width: 850px;

    margin: auto;

}



/* =========================================================
   IMAGE SLIDER
========================================================= */

.slider {

    width: 100%;

    max-width: 1400px;

    margin: 0 auto;

    position: relative;

    overflow: hidden;

    background: #000;
}


.slides {

    display: none;

    width: 100%;
}


.slides img {

    width: 100%;

    height: clamp(250px, 45vw, 600px);

    object-fit: cover;

}



/* =========================================================
   SLIDE ANIMATION
========================================================= */

.fade {

    animation-name: fade;

    animation-duration: 1.5s;

}


@keyframes fade {

    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }

}



/* =========================================================
   SLIDER DOTS
========================================================= */

.slider-dots {

    position: absolute;

    bottom: 20px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    gap: 8px;

}


.dot {

    width: 11px;
    height: 11px;

    background: rgba(255, 255, 255, 0.6);

    border-radius: 50%;

    display: block;

    transition: 0.3s;

}


.dot.active {

    background: #198754;

    transform: scale(1.2);

}



/* =========================================================
   COMPANY SECTION
========================================================= */

.company {

    padding: 70px 20px;

    background: #f7f9f7;
}


.company-container {

    width: 92%;

    max-width: 1300px;

    margin: auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 30px;

}



/* =========================================================
   COMPANY CARDS
========================================================= */

.card {

    background: #ffffff;

    padding: 35px 30px;

    border-radius: 12px;

    box-shadow:
        0 5px 20px
        rgba(0, 0, 0, 0.08);

    text-align: center;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.13);

}


.card-icon {

    width: 60px;
    height: 60px;

    margin: 0 auto 20px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e8f5e9;

    font-size: 28px;

}


.card h2 {

    color: #198754;

    font-size: 25px;

    margin-bottom: 18px;

}


.card p {

    color: #555;

    font-size: 16px;

    line-height: 1.8;

    text-align: left;

}



/* =========================================================
   FOOTER
========================================================= */

footer {

    background: #123d28;

    color: #ffffff;

    padding: 40px 20px;

    text-align: center;

}


.footer-content {

    width: 92%;

    max-width: 1000px;

    margin: auto;

}


.footer-content h3 {

    font-size: 24px;

    margin-bottom: 10px;

}


.footer-content p {

    margin-bottom: 8px;

    font-size: 15px;

}


.copyright {

    margin-top: 20px;

    opacity: 0.85;

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {


    .header-container {

        min-height: 75px;

    }


    .logo img {

        width: 150px;

    }


    .navigation ul {

        gap: 3px;

    }


    .navigation ul li a {

        padding: 9px 10px;

        font-size: 14px;

    }


    .company-container {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .history {

        grid-column:
            1 / -1;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {


    /* HEADER */

    .header-container {

        width: 90%;

        min-height: 70px;

    }


    .logo img {

        width: 135px;

    }


    /* SHOW HAMBURGER */

    .menu-toggle {

        display: block;

    }


    /* MOBILE NAVIGATION */

    .navigation {

        position: absolute;

        top: 70px;

        left: 0;

        width: 100%;

        background: #ffffff;

        box-shadow:
            0 5px 10px
            rgba(0, 0, 0, 0.10);

        display: none;

    }


    .navigation.active {

        display: block;

    }


    .navigation ul {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 20px 20px;

    }


    .navigation ul li {

        width: 100%;

    }


    .navigation ul li a {

        width: 100%;

        padding: 13px 15px;

        border-bottom:
            1px solid #eeeeee;

    }


    .login-btn {

        text-align: center;

        margin-top: 10px;

        border-bottom: none !important;

    }



    /* HERO */

    .hero {

        min-height: 350px;

        padding: 55px 20px;

    }


    .hero h1 {

        font-size: 31px;

    }


    .hero p {

        font-size: 16px;

        line-height: 1.6;

    }



    /* SLIDER */

    .slides img {

        height: 260px;

    }


    .slider-dots {

        bottom: 12px;

    }


    .dot {

        width: 9px;

        height: 9px;

    }



    /* COMPANY */

    .company {

        padding: 50px 15px;

    }


    .company-container {

        width: 100%;

        grid-template-columns: 1fr;

        gap: 20px;

    }


    .history {

        grid-column: auto;

    }


    .card {

        padding: 30px 22px;

    }


    .card h2 {

        font-size: 23px;

    }


    .card p {

        font-size: 15px;

        line-height: 1.7;

    }



    /* FOOTER */

    footer {

        padding: 35px 15px;

    }


    .footer-content h3 {

        font-size: 20px;

    }


    .footer-content p {

        font-size: 14px;

    }

}



/* =========================================================
   SMALL PHONES
========================================================= */

@media (max-width: 400px) {


    .logo img {

        width: 120px;

    }


    .hero {

        min-height: 320px;

    }


    .hero h1 {

        font-size: 27px;

    }


    .hero p {

        font-size: 15px;

    }


    .slides img {

        height: 220px;

    }


    .card {

        padding: 25px 18px;

    }

}
