/* =========================================================
   1. GLOBAL RESET AND VARIABLES
========================================================= */

:root {
    --primary-green: #16a661;
    --primary-dark: #073a31;
    --deep-green: #052b25;
    --light-green: #43e990;
    --accent-green: #38ef91;

    --white: #ffffff;
    --off-white: #f5f8f6;
    --text-dark: #17372c;
    --text-grey: #5d6d66;

    --border-light: rgba(255, 255, 255, 0.22);
    --shadow-soft: 0 12px 35px rgba(0, 0, 0, 0.15);
    --shadow-medium: 0 18px 45px rgba(0, 0, 0, 0.25);

    --container-width: 1250px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;

    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

    background-color: var(--off-white);
    color: var(--text-dark);

    line-height: 1.6;
}


img {
    max-width: 100%;
}


a {
    color: inherit;
}


.container {
    width: 100%;
    max-width: var(--container-width);

    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================================
   2. HEADER AND NAVIGATION
========================================================= */

.site-header,
header {
    position: relative;
    z-index: 1000;

    width: 100%;

    background:
        linear-gradient(
            135deg,
            #075d3c 100%,
            #075d3c 100%
        );

    border-bottom: 1px solid rgba(255, 255, 255, 0.16);

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.18);
}


.header-container {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
    padding: 0 25px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.main-navigation {
    width: 100%;
}


.main-navigation ul,
nav ul {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    list-style: none;
}


.main-navigation ul li,
nav ul li {
    position: relative;
}


.main-navigation ul li a,
nav ul li a {
    position: relative;

    display: block;

    padding: 17px 18px;

    color: rgba(255, 255, 255, 0.94);

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.2px;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


.main-navigation ul li a::after,
nav ul li a::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 9px;

    width: 0;
    height: 2px;

    background: #a7ffd0;

    border-radius: 20px;

    transform: translateX(-50%);

    transition: width 0.3s ease;
}


.main-navigation ul li a:hover,
.main-navigation ul li a.active,
nav ul li a:hover,
nav ul li a.active {
    color: #ffffff;

    background-color: rgba(255, 255, 255, 0.10);

    border-radius: 7px;
}


.main-navigation ul li a:hover::after,
.main-navigation ul li a.active::after,
nav ul li a:hover::after,
nav ul li a.active::after {
    width: calc(100% - 35px);
}

/* ==============================
CERTIFICATES SECTION
============================== */

.panel {
max-width: 1100px;
margin: 60px auto;
padding: 40px 25px;
background: #ffffff;
border-radius: 14px;
box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
text-align: center;
}

.panel h2 {
font-size: 32px;
color: #123b5d;
margin: 0 0 35px;
font-weight: 700;
position: relative;
}

.panel h2::after {
content: "";
display: block;
width: 75px;
height: 4px;
background: #16a085;
margin: 12px auto 0;
border-radius: 5px;
}

/* Certificate Cards */

.certificate-list {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 25px;
}

.certificate {
background: #f8fbfd;
border: 1px solid #e1eaf0;
border-radius: 12px;
padding: 30px 20px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
min-height: 175px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate {
transform: translateY(-5px);
box-shadow: 0 8px 22px rgba(18, 59, 93, 0.12);
border-color: #16a085;
}

.certificate h3 {
color: #123b5d;
font-size: 21px;
margin: 0 0 25px;
font-weight: 600;
}

/* View / Download Button */

.certificate a {
display: inline-block;
background: #123b5d;
color: #ffffff;
text-decoration: none;
padding: 12px 20px;
border-radius: 6px;
font-size: 14px;
font-weight: 600;
transition: background 0.3s ease;
}

.certificate a {
background: #16a085;
color: #ffffff;
}

/* Tablet Responsive */

@media (max-width: 900px) {
.certificate-list {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
}

.panel {
    margin: 40px 20px;
    padding: 30px 20px;
}

}

/* Mobile Responsive */

@media (max-width: 600px) {
.panel {
margin: 25px 12px;
padding: 25px 15px;
}

.panel h2 {
    font-size: 26px;
    margin-bottom: 25px;
}

.certificate-list {
    grid-template-columns: 1fr;
    gap: 16px;
}

.certificate {
    padding: 25px 15px;
    min-height: 150px;
}

.certificate h3 {
    font-size: 19px;
    margin-bottom: 20px;
}

.certificate a {
    padding: 11px 16px;
    font-size: 14px;
}

}
/* =========================================================
   9. FOOTER
========================================================= */
.site-footer,
footer {
    position: relative;

    padding: 34px 20px;

    background:
        linear-gradient(
            135deg,
            #142d23 0%,
            #0b231b 100%
        );

    color: #ffffff;

    text-align: center;

    border-top: 1px solid rgba(67, 233, 144, 0.22);
}


.footer-content {
    width: 100%;
    max-width: 1100px;

    margin: 0 auto;
}


.footer-content > p:first-child {
    color: rgba(255, 255, 255, 0.88);

    font-size: 14px;
    letter-spacing: 0.2px;
}


.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 18px;

    margin: 18px 0;
}


.social-icons a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;

    text-decoration: none;

    font-size: 18px;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.social-icons a:hover {
    color: #ffffff;

    background: #18a85f;

    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(24, 168, 95, 0.30);
}


.social-icons a[aria-label*="Facebook"]:hover {
    background-color: #1877f2;
}


.social-icons a[aria-label*="X"]:hover {
    background-color: #111111;
}


.social-icons a[aria-label*="LinkedIn"]:hover {
    background-color: #0a66c2;
}


.footer-credit {
    margin-top: 5px;

    color: rgba(255, 255, 255, 0.48);

    font-size: 12px;
}


/* =========================================================
   10. ANIMATIONS
========================================================= */

@keyframes mainRingRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes mainLogoFloat {
    0%,
    100% {
        transform:
            translateX(-50%)
            translateY(0);
    }

    50% {
        transform:
            translateX(-50%)
            translateY(-8px);
    }
}


/* =========================================================
   11. TABLET RESPONSIVE
========================================================= */

@media screen and (max-width: 1050px) {

    .company-sections {
        grid-template-columns: repeat(2, 1fr);

        gap: 40px 28px;
    }


    .horizontal-line {
        display: none;
    }


    .vertical-line {
        height: 50px;
    }


    .company-card {
        margin-top: 38px;
    }


    .card-line {
        top: -43px;

        height: 38px;
    }


    .vision-content {
        gap: 40px;
    }


    .vision-image img {
        height: 440px;
    }
}


@media screen and (max-width: 768px) {

    .header-container {
        padding: 5px 15px;
    }


    .main-navigation ul,
    nav ul {
        gap: 3px;
    }


    .main-navigation ul li a,
    nav ul li a {
        padding: 11px 12px;

        font-size: 14px;
    }


    .hero-banner::after {
        height: 60px;
    }


    .nature-philosophy {
        min-height: 420px;

        padding: 65px 18px 105px;
    }


    .nature-philosophy h1 {
        font-size: 42px;
    }


    .nature-philosophy h1 span {
        font-size: 45px;
    }


    .nature-description {
        font-size: 15px;
    }


    .nature-leaves {
        font-size: 120px;
    }


    .intro-section-bg {
        padding: 90px 0 70px;
    }


    .intro-content {
        margin-bottom: 100px;
    }


    .main-company-box {
        min-width: 310px;

        padding: 58px 30px 27px;
    }


    .main-company-box h3 {
        font-size: 25px;
    }


    .main-logo-wrapper,
    .main-logo-ring {
        width: 125px;
        height: 125px;
    }


    .main-logo-wrapper {
        top: -76px;
    }


    .main-logo-circle {
        width: 106px;
        height: 106px;
    }


    .vision-section {
        padding: 75px 0;
    }


    .vision-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .vision-image {
        max-width: 650px;

        margin: 0 auto;
    }


    .vision-image img {
        height: 390px;
    }
}


/* =========================================================
   12. MOBILE RESPONSIVE
========================================================= */

@media screen and (max-width: 600px) {

    .container {
        padding: 0 16px;
    }


    .site-header,
    header {
        position: relative;
    }


    .header-container {
        padding: 8px 10px;
    }


    .main-navigation ul,
    nav ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        width: 100%;

        gap: 5px;
    }


    .main-navigation ul li a,
    nav ul li a {
        padding: 10px 7px;

        text-align: center;

        font-size: 13px;
    }


    .main-navigation ul li a::after,
    nav ul li a::after {
        bottom: 5px;
    }


    .hero-banner img {
        width: 100%;
        height: auto;

        object-fit: contain;
    }


    .hero-banner::after {
        height: 45px;
    }


    .nature-philosophy {
        min-height: auto;

        padding: 55px 15px 95px;
    }


    .quote-top-decoration {
        gap: 15px;

        margin-bottom: 20px;
    }


    .quote-mark {
        font-size: 42px;
    }


    .nature-philosophy h1 {
        font-size: 35px;
        line-height: 1.22;
    }


    .nature-philosophy h1 span {
        margin-top: 8px;

        font-size: 38px;
    }


    .nature-description {
        margin-top: 22px;

        font-size: 14px;
        line-height: 1.8;
    }


    .quote-bottom-decoration {
        margin-top: 25px;
    }


    .nature-leaves {
        font-size: 90px;

        opacity: 0.12;
    }


    .nature-curve {
        bottom: -60px;

        height: 115px;
    }


    .intro-section-bg {
        padding: 75px 0 60px;
    }


    .intro-content {
        margin-bottom: 95px;
    }


    .intro-content h2 {
        font-size: 32px;
    }


    .intro-lead {
        font-size: 15px;
        line-height: 1.75;
    }


    .main-company-box {
        width: calc(100% - 15px);
        min-width: 0;

        padding: 54px 18px 25px;

        border-radius: 18px;
    }


    .main-company-box h3 {
        font-size: 22px;
    }


    .main-company-box p {
        font-size: 14px;
    }


    .main-logo-wrapper,
    .main-logo-ring {
        width: 112px;
        height: 112px;
    }


    .main-logo-wrapper {
        top: -68px;
    }


    .main-logo-circle {
        width: 95px;
        height: 95px;
    }


    .vertical-line {
        height: 45px;
    }


    .company-sections {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .company-card {
        min-height: 320px;

        margin-top: 38px;
        padding: 58px 20px 25px;
    }


    .company-card h3 {
        min-height: auto;

        font-size: 18px;
    }


    .card-line {
        top: -43px;

        height: 38px;
    }


    .vision-section {
        padding: 65px 0;
    }


    .vision-text h2 {
        font-size: 32px;
    }


    .vision-text p,
    .vision-text .vision-lead {
        font-size: 15px;
    }


    .vision-points li {
        padding:
            13px
            13px
            13px
            45px;

        font-size: 14px;
    }


    .vision-image {
        padding-left: 8px;
    }


    .vision-image::before {
        top: 12px;
        left: -5px;

        border-radius: 16px;
    }


    .vision-image img {
        height: 300px;

        border-radius: 16px;
    }


    .site-footer,
    footer {
        padding: 30px 15px;
    }
}


/* =========================================================
   13. VERY SMALL MOBILE
========================================================= */

@media screen and (max-width: 390px) {

    .main-navigation ul,
    nav ul {
        grid-template-columns: 1fr 1fr;
    }


    .main-navigation ul li a,
    nav ul li a {
        font-size: 12px;
    }


    .nature-philosophy h1 {
        font-size: 30px;
    }


    .nature-philosophy h1 span {
        font-size: 33px;
    }


    .main-company-box {
        width: 100%;
    }


    .main-company-box h3 {
        font-size: 20px;
    }


    .company-card {
        padding-left: 16px;
        padding-right: 16px;
    }


    .vision-image img {
        height: 250px;
    }
}


/* =========================================================
   14. REDUCED MOTION ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

    .main-logo-wrapper,
    .main-logo-ring {
        animation: none;
    }
}
/* mobile resolve */
@media (max-width: 768px) {
    .hero-banner {
        height: auto !important;
        min-height: 0 !important;
    }

    .hero-banner img {
        width: 100%;
        height: auto !important;
        display: block;
        object-fit: contain;
    }
}