/* ==========================================================================
   Moneii Chunta Co., Ltd. - Global CSS Stylesheet
   ========================================================================== */

/* ==========================================================================
   ផ្នែកទី១៖ កូដ CSS សម្រាប់ Computer (Desktop Base Styles)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Root Variables & Reset
   -------------------------------------------------------------------------- */


:root {
    --primary-green: #0a7337;
    --light-green: #eaf3ed;
    --accent-yellow: #fbbc05;
    --text-dark: #333333;
    --text-light: #ffffff;
    --gray-bg: #f8f9fa;
    --input-bg: #f2f2f2;
    --acc-bg: #f2f2f2;
    --icon-box-bg: #eaf3ed;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Kantumruy Pro', sans-serif; 
}

body { 
    background-color: var(--gray-bg); 
    color: var(--text-dark); 
    line-height: 1.6; 
}

/* --------------------------------------------------------------------------
   2. Header & Navigation 
   -------------------------------------------------------------------------- */
.page-header {
    background-color: var(--primary-green);
    color: var(--text-light);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    position: relative; 
    z-index: 999; 
}

/* Footer  */
footer {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 25px 5% 25px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    /* gap: 30px; */
}

header { 
    position: relative; 
    z-index: 999; 
    display: flex; 
    justify-content: flex-end; /* ដូរពី space-between មកជា flex-end វិញ */
    align-items: center; 
    padding-left: 5%;
    padding-right: 5%;
    background: linear-gradient(rgba(0,0,0,0.6), transparent); 
    gap: 30px; /* បន្ថែមបន្ទាត់នេះ ដើម្បីកំណត់គម្លាតរវាង Menu និង ទង់ជាតិកុំឲ្យជាប់គ្នាពេក */
}


.page-header header { 
    background: none; 
    /* padding: 15px 5%;  */
}

.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    margin-right: auto; /* បន្ថែមបន្ទាត់នេះសំខាន់បំផុត៖ ដើម្បីរុញ Logo ទៅឆ្វេងឲ្យអស់ ហើយទាញអ្នកដទៃទៅស្តាំជុំគ្នា */
}

.logo h2 { 
    color: var(--accent-yellow); 
    font-weight: 700; 
    font-size: 1.5rem; 
}

nav ul { 
    list-style: none; 
    display: flex; 
    gap: 40px; 
    align-items: center; 
    margin: 0;
}

nav a { 
    color: var(--text-light); 
    text-decoration: none; 
    font-weight: 500; 
    transition: 0.3s; 
    font-size: 1.1rem; 
}

nav a:hover, 
nav a.active { 
    color: var(--accent-yellow); 
}

.headset-icon i { 
    font-size: 1.5rem; 
    background: rgba(255,255,255,0.2); 
    padding: 10px; 
    border-radius: 50%; 
    transition: 0.3s; 
}

.headset-icon i:hover { 
    background: var(--accent-yellow); 
    color: var(--text-dark); 
}

.mobile-menu-btn { 
    display: none; 
    font-size: 2rem; 
    color: var(--accent-yellow); 
    cursor: pointer; 
}

.lang-switcher { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    /* margin-left: 10px; 
    padding-left: 20px; 
    border-left: 1px solid rgba(255,255,255,0.3);  */
}

.lang-btn { 
    width: 30px; 
    height: 30px; 
    border-radius: 50%; 
    overflow: hidden; 
    cursor: pointer; 
    /* border: 2px solid transparent;  */
    transition: 0.3s; 
    display: flex; 
    justify-content: center; 
    align-items: center;
}

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

.lang-btn:hover, 
.lang-btn.active { 
    border-color: var(--accent-yellow); 
    transform: scale(1.1); 
}

/* --------------------------------------------------------------------------
   3. Hero Section (ទំព័រដើម)
   -------------------------------------------------------------------------- */
.hero-section { 
    position: relative; 
    height: 100vh; 
    min-height: 600px; 
    color: var(--text-light); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
}

.hero-bg-video { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: -2; 
}

.video-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    /* background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));  */
    z-index: -1; 
}

.hero-content { 
    position: relative; 
    z-index: 10; 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    padding: 0 20px; 
}

.hero-content h1 { 
    font-size: 3rem; 
    margin-bottom: 25px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
    line-height: 1.4; 
}

.btn-yellow { 
    background-color: var(--accent-yellow); 
    color: var(--text-dark); 
    padding: 12px 35px; 
    border: none; 
    border-radius: 5px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    cursor: pointer; 
    text-decoration: none; 
    transition: 0.3s; 
}

.btn-yellow:hover { 
    background-color: #e5a900; 
}

/* --------------------------------------------------------------------------
   4. Features (ទស្សនវិស័យ បេសកកម្ម គុណតម្លៃ)
   -------------------------------------------------------------------------- */
.features-green { 
    background-color: var(--primary-green); 
    color: var(--text-light); 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    padding: 20px 2%; 
    text-align: center; 
    align-items: stretch; 
    overflow: hidden;
}

.feature-box { 
    padding: 15px; 
    border-right: 1px solid rgba(255,255,255,0.3); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    height: 100%; 
}

.feature-box:last-child { 
    border-right: none; 
}

.feature-box i { 
    font-size: 3.2rem; 
    color: var(--accent-yellow); 
    /* margin-bottom: 15px;  */
}

.feature-box h3 { 
    margin-bottom: 15px; 
    font-size: 1.6rem; 
    font-weight: 700; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2); 
}

.feature-box p { 
    font-size: 1rem; 
    font-weight: 500; 
    opacity: 1; 
    line-height: 1.7; 
    text-align: center; 
    margin: 0; 
}

.feature-list { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
    text-align: left; 
    padding: 0; 
    margin: 0 auto; 
    width: 100%;
}

.feature-list li { 
    font-size: 0.95rem; 
    color: var(--text-light); 
    display: flex; 
    align-items: flex-start; 
    gap: 6px; 
    font-weight: 500; 
    white-space: normal; 
    line-height: 1.5;
}

.feature-list li::before { 
    content: "\f058"; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    font-size: 1.1rem; 
    color: var(--accent-yellow); 
    margin-top: 2px;
}

.feature-list li strong { 
    color: var(--accent-yellow); 
}

/* --------------------------------------------------------------------------
   5. Services (អត្ថប្រយោជន៍ម្ចាស់ចម្ការ)
   -------------------------------------------------------------------------- */
.services-section { 
    padding: 20px 5%; 
    text-align: center; 
    background-color: #fff;
}

.services-section h2 { 
    color: var(--primary-green); 
    margin-bottom: 15px; 
    font-size: 1.8rem;
}

.services-section > p { 
    color: #555; 
    margin-bottom: 30px; 
    font-size: 1.1rem; 
    max-width: 900px; 
    margin-left: auto; 
    margin-right: auto;
}

.services-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 15px; 
    max-width: 900px; 
    margin: 0 auto; 
    align-items: stretch; 
}

.service-card { 
    background: #f2f2f2; 
    padding: 25px 20px; 
    border-radius: 12px; 
    transition: 0.3s; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    text-align: center; 
    height: 100%; 
}

.service-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 8px 25px rgba(0,0,0,0.1); 
}

.service-card i { 
    font-size: 2.8rem; 
    color: var(--primary-green); 
    margin-bottom: 15px; 
    transition: 0.3s; 
}

.service-card h3 { 
    color: var(--primary-green); 
    font-size: 1.3rem; 
    margin-bottom: 15px; 
    font-weight: 700; 
}

.service-list { 
    list-style: none; 
    display: flex; 
    flex-direction: column; 
    gap: 4px; 
    text-align: left; 
    padding: 0; 
    margin: auto; 
}

.service-list li { 
    font-size: 1.05rem; 
    color: var(--text-dark); 
    display: flex; 
    align-items: flex-start; 
    gap: 10px; 
    font-weight: 500; 
}

.service-list li::before { 
    content: "\f058"; 
    font-family: "Font Awesome 6 Free"; 
    font-weight: 900; 
    font-size: 1rem; 
    color: var(--accent-yellow); 
    margin-top: 3px; 
}

/* --------------------------------------------------------------------------
   6. Projects Cards (កាតគម្រោង)
   -------------------------------------------------------------------------- */
.projects-section, 
.projects-page-section { 
    /* padding: 50px 5%;  */
    padding: 25px 5%; 
    text-align: center; 
    background-color: var(--gray-bg); 
}

.projects-page-section {
    background-color: #fff;
}

.projects-section h2, 
.projects-header h2 { 
    color: var(--primary-green); 
    font-size: 1.8rem; 
    margin-bottom: 10px;
}

.projects-section > p, 
.projects-header p { 
    max-width: 800px; 
    margin: 0 auto 25px; 
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.filter-container { 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    max-width: 900px; 
    margin: 0 auto 20px; 
    gap: 10px; 
    padding-right: 10px; 
}

.filter-container label { 
    font-weight: 500; 
    color: #555; 
}

.filter-select { 
    padding: 8px 15px; 
    border: 1px solid #ddd; 
    border-radius: 6px; 
    font-family: 'Kantumruy Pro', sans-serif; 
    font-size: 1rem; 
    color: var(--text-dark); 
    background-color: #f8f9fa; 
    cursor: pointer; 
    outline: none; 
}

.projects-container { 
    display: grid; 
    grid-template-columns: 1fr; 
    grid-auto-rows: 1fr; 
    gap: 10px; 
    max-width: 900px; 
    margin: 0 auto; 
}

.project-card { 
    display: flex; 
    background: #fff; 
    border-radius: 12px; 
    border: 1px solid #eee; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.04); 
    text-align: left; 
    transition: 0.3s; 
    height: 100%; 
    padding: 15px; 
    gap: 25px; 
}

.project-card:hover { 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
}

.project-img { 
    flex: 1.6; 
    background-color: #ddd; 
    min-height: 280px; 
    background-size: cover; 
    background-position: center; 
    position: relative; 
    border-radius: 10px; 
}

.zoom-icon { 
    position: absolute; 
    top: 15px; 
    right: 15px; 
    background: rgba(0,0,0,0.5); 
    color: #fff; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.2rem; 
    opacity: 0; 
    transition: 0.3s; 
}

.project-img:hover .zoom-icon { 
    opacity: 1; 
}

/*thumnail image slide by each project */
.img-1 { background-image: url('../assets/images/projects/01borapeat/project01.png?q=80&w=800&auto=format&fit=crop'); }
.img-2 { background-image: url('../assets/images/projects/02greenhouse/project02.jpg?q=80&w=800&auto=format&fit=crop'); }
.img-3 { background-image: url('../assets/images/projects/04/project04.jpg?q=80&w=800&auto=format&fit=crop'); }
.img-4 { background-image: url('../assets/images/projects/03/project03.jpg?q=80&w=800&auto=format&fit=crop'); }
.img-5 { background-image: url('../assets/images/projects/05/project05.jpg?q=80&w=800&auto=format&fit=crop'); }
.img-mp-1 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=800&auto=format&fit=crop'); cursor: pointer; }
.img-mp-2 { background-image: url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?q=80&w=800&auto=format&fit=crop'); cursor: pointer; }

/* ផ្នែក Project Info ខាងស្តាំ */
.project-info { 
    flex: 1; 
    padding: 10px 10px 10px 0; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
}

.project-info h3 { 
    color: var(--primary-green); 
    margin-bottom: 20px; 
    text-align: left; 
    font-size: 1.35rem;
}

.specs-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
    margin-bottom: 20px; 
}

.spec-item { 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-start; 
    gap: 8px; 
    background: transparent; 
    border: none; 
    text-align: left; 
    height: auto; 
    padding: 0px 10px; 
}

.spec-item i{ 
    font-size: 1.3rem; 
    color: var(--primary-green); 
    width: 25px; 
    text-align: center;
}

.spec-item span { 
    font-size: 0.95rem; 
    font-weight: 600; 
    color: var(--text-dark); 
}

.crop-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px; 
    margin-bottom: 20px; 
}

.crop-item { 
    display: flex; 
    flex-direction: row; 
    align-items: center; 
    justify-content: flex-start; 
    gap: 12px; 
    background: transparent; 
    border: none; 
    height: auto; 
    padding: 5px 10px; 
}

.crop-item img { 
    width: 35px; 
    height: 35px; 
    border-radius: 50%; 
    object-fit: cover; 
    border: 2px solid #ddd; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.crop-item span { 
    font-size: 0.95rem; 
    font-weight: 600; 
    color: var(--text-dark); 
}

.btn-outline { 
    align-self: flex-end; 
    display: inline-block; 
    background: transparent; 
    color: var(--primary-green); 
    padding: 5px 0; 
    border: none; 
    text-decoration: none; 
    font-size: 1rem; 
    font-weight: 600; 
    transition: 0.3s; 
    margin-top: auto;
}

.btn-outline:hover { 
    background: transparent; 
    color: var(--accent-yellow); 
    border-color: transparent;
}

/* --------------------------------------------------------------------------
   7. Project Detail & Top Gallery (ទំព័រលម្អិតគម្រោង)
   -------------------------------------------------------------------------- */

.top-gallery-section { 
    max-width: 1250px; 
    margin: 40px auto 0; 
    padding: 0 5%; 
}

.gallery-wrapper { 
    margin-bottom: 20px; 
}

.main-img-container { 
    position: relative; 
    width: 100%; 
    height: 500px; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
}

.main-img-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: 0.3s ease-in-out; 
}

.slider-btn { 
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%); 
    background: rgba(0,0,0,0.4); 
    color: #fff; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    font-size: 1.8rem; 
    cursor: pointer; 
    z-index: 10; 
    transition: 0.3s; 
}

.slider-btn:hover { 
    background: var(--accent-yellow); 
    color: #fff; 
    transform: translateY(-50%) scale(1.1); 
}

.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

.slider-dots { 
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    display: flex; 
    gap: 8px; 
    z-index: 10; 
}

.dot { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    background-color: rgba(255, 255, 255, 0.5); 
    cursor: pointer; 
    transition: 0.3s; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); 
}

.dot.active { 
    background-color: var(--accent-yellow); 
    transform: scale(1.2); 
}

.thumbnails { 
    display: flex; 
    gap: 10px; 
    margin-top: 15px; 
    overflow-x: auto; 
    padding-bottom: 10px; 
}

.thumbnails::-webkit-scrollbar { 
    height: 6px; 
}

.thumbnails::-webkit-scrollbar-thumb { 
    background: #ccc; 
    border-radius: 10px; 
}

.thumbnail { 
    flex: 1; 
    height: 90px; 
    min-width: 130px; 
    object-fit: cover; 
    border-radius: 8px; 
    cursor: pointer; 
    opacity: 0.5; 
    transition: 0.3s; 
}

.thumbnail.active, 
.thumbnail:hover { 
    opacity: 1; 
    border: 3px solid var(--primary-green); 
}

.detail-container { 
    display: flex; 
    gap: 40px; 
    padding: 30px 5% 0px; 
    max-width: 1250px; 
    margin: 0 auto; 
    background-color: #fff; 
}

.main-content{ 
    flex: 7; 
}
/* ត្រូវប្រាកដថាអ្នកមានប្រកាសពណ៌ទាំងនេះ បើមានហើយមិនបាច់ថតចម្លងទេ */
/* ត្រូវប្រាកដថាអ្នកមានប្រកាសពណ៌ទាំងនេះ បើមានហើយមិនបាច់ថតចម្លងទេ */


.main-content a.back-to-project { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    font-size: 1.1rem; 
    color: #666; 
    text-decoration: none; 
    margin-bottom: 20px; 
    font-weight: 500; 
    transition: 0.3s; 
    background-color: var(--gray-bg); 
    padding: 8px 20px; 
    border-radius: 30px; 
    border: 1px solid #eee; 
}

.main-content a.back-to-project:hover { 
    color: var(--text-light); 
    background-color: var(--primary-green); 
    border-color: var(--primary-green); 
}
/* .main-content a .back-to-project { display: inline-flex; align-items: center; gap: 8px; font-size: 1.1rem; color: #666; text-decoration: none; margin-bottom: 20px; font-weight: 500; transition: 0.3s; background-color: var(--gray-bg); padding: 8px 20px; border-radius: 30px; border: 1px solid #eee; }
.main-content a .back-to-project:hover { color: var(--text-light); background-color: var(--primary-green); border-color: var(--primary-green); } */

.sidebar { 
    flex: 3; 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
}

.project-title, 
.benefit-title { 
    color: var(--primary-green); 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
}

.project-desc, 
.benefit-desc { 
    font-size: 1.05rem; 
    color: #444; 
    line-height: 1.8; 
    margin-bottom: 30px; 
    text-align: justify; 
}

.accordion-item { 
    border: 1px solid #e0e0e0; 
    border-radius: 8px; 
    margin-bottom: 12px; 
    overflow: hidden; 
}

.accordion-header { 
    background-color: var(--acc-bg); 
    padding: 15px 25px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    cursor: pointer; 
    transition: background 0.3s; 
}

.accordion-header:hover { 
    background-color: #e8e8e8; 
}

.accordion-header h3 { 
    color: var(--primary-green); 
    font-size: 1.2rem; 
}

.accordion-header i { 
    color: #888; 
    transition: transform 0.3s; 
    
}

.accordion-header.active i { 
    transform: rotate(180deg); 
}

.accordion-body { 
    /* padding: 25px;  */
    background-color: #fff; 
    display: block; 
}

.feature-grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 10px; 
    list-style: none; 
}

.feature-grid li { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 1rem; 
    color: #333; 
}

.feature-grid li i { 
    font-size: 8px; 
    color: #555; 
}

/* តារាង និង Legend */
.legend-box { 
    background: #fff; 
    padding: 15px; 
    border: 1px dashed #ccc; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    font-size: 0.95rem; 
    line-height: 1.7; 
}

.legend-box ul { 
    list-style: none; 
    margin-bottom: 15px; 
}

.legend-title { 
    font-weight: 600; 
    color: var(--primary-green); 
    margin-bottom: 5px;
}

.icon-lg { 
    display: inline-flex; 
    justify-content: center; 
    align-items: center; 
    width: 25px; 
    height: 25px; 
    border-radius: 50%; 
    color: #fff; 
    font-size: 12px; 
    margin-right: 8px;
}

.bg-green { background-color: #2ecc71; }
.bg-blue { background-color: #3498db; }
.bg-orange { background-color: #e67e22; }
.bg-purple { background-color: #9b59b6; }
.bg-yellow { background-color: #f1c40f; color: #333;}

.schedule-table { 
    width: 100%; 
    border-collapse: collapse; 
    text-align: center; 
    border: 1px solid #e0e0e0; 
}

.schedule-table th, 
.schedule-table td { 
    border: 1px solid #e0e0e0; 
    padding: 10px 5px; 
    font-size: 0.95rem; 
}

.schedule-table th { 
    background-color: #f9f9f9; 
    color: #333; 
    font-weight: 600;
}

.week-cell { 
    vertical-align: middle; 
    font-weight: 600; 
    background-color: #fafafa;
}

.activity-icons { 
    display: flex; 
    justify-content: center; 
    gap: 5px; 
}

/* Sidebar List */
.sidebar-title-header { 
    font-size: 1.2rem; 
    color: #fff; 
    background-color: var(--primary-green); 
    margin-bottom: 10px; 
    padding: 15px; 
    border-radius: 8px; 
    text-align: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

.sidebar-item { 
    background: #fff; 
    border-radius: 10px; 
    overflow: hidden; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
    transition: 0.3s; 
    border: 1px solid #eee; 
    display: flex; 
    align-items: center; 
    padding: 12px; 
    gap: 15px; 
    text-decoration: none; 
    cursor: pointer;
}
.sidebar-item:hover, 
.sidebar-item.active { 
    transform: translateX(-5px); 
    box-shadow: 0 5px 15px rgba(10, 115, 55, 0.15); 
    border-color: var(--primary-green); 
    background-color: #f4f9f6; 
}

.sidebar-item img { 
    width: 80px; 
    height: 80px; 
    object-fit: cover; 
    border-radius: 8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    border: 2px solid #fff; 
}

.sidebar-item-info { 
    flex: 1; 
    text-align: left; 
}

.sidebar a{ 
text-decoration: none;
}

.sidebar-item-info h4 { 
    color: var(--text-dark); 
    font-size: 0.95rem; 
    margin: 0; 
    font-weight: 600; 
    line-height: 1.4; 
    transition: 0.3s; 
}

.sidebar-item:hover .sidebar-item-info h4, 
.sidebar-item.active .sidebar-item-info h4 { 
    color: var(--primary-green); 
}

/* --------------------------------------------------------------------------
   8. About Company Page
   -------------------------------------------------------------------------- */
.about-section { 
    padding: 60px 5%; 
    max-width: 1000px; 
    margin: 0 auto; 
    text-align: center; 
    background-color: #fff;
}

.about-section h2 { 
    color: var(--primary-green); 
    font-size: 1.8rem; 
    margin-bottom: 30px; 
}

.about-section p { 
    font-size: 1.05rem; 
    line-height: 1.9; 
    color: #444; 
    margin-bottom: 20px; 
    text-align: justify; 
    text-align-last: center; 
}

.map-section { 
    padding: 60px 5%; 
    background-color: var(--gray-bg); 
    display: flex; 
    justify-content: center; 
}

.map-container { 
    background: #fff; 
    padding: 30px; 
    border-radius: 12px; 
    width: 100%; 
    max-width: 1000px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
}

.map-container h3 { 
    color: var(--primary-green); 
    font-size: 1.4rem; 
    margin-bottom: 20px; 
}

.map-frame { 
    width: 100%; 
    height: 400px; 
    border-radius: 8px; 
    overflow: hidden; 
    border: 1px solid #ddd; 
}

.map-frame iframe { 
    width: 100%; 
    height: 100%; 
    border: none; 
}

/* --------------------------------------------------------------------------
   9. Contact Page
   -------------------------------------------------------------------------- */
.contact-consultant { 
    padding: 15px 5% 1px; 
    text-align: center; 
    max-width: 800px; 
    margin: 0 auto; 
    background-color: #fff;
}

.contact-consultant h2 { 
    color: var(--primary-green); 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
}

.contact-consultant p { 
    font-size: 1.05rem; 
    color: #555; 
    margin-bottom: 30px; 
}

.social-consultant-icons { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
    margin-bottom: 20px; 
}

.social-consultant-icons a { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    color: #fff; 
    font-size: 2rem; 
    text-decoration: none; 
    transition: 0.3s; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

.social-consultant-icons a:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 6px 15px rgba(0,0,0,0.2); 
}

.icon-messenger { background: linear-gradient(45deg, #00B2FF, #006AFF); }
.icon-line { background-color: #00C300; }
.icon-telegram { background-color: #0088cc; }
.icon-wechat { background-color: #07C160; }

.contact-form-section { 
    padding: 20px 5% 40px; 
    max-width: 800px; 
    margin: 0 auto; 
    text-align: center; 
    background-color: #fff;
}

.contact-form-section h2 { 
    color: var(--primary-green); 
    font-size: 1.6rem; 
    margin-bottom: 30px; 
}

.contact-form { 
    display: flex; 
    flex-direction: column; 
    gap: 20px; 
}

.contact-form input, 
.contact-form textarea { 
    width: 100%; 
    padding: 18px 20px; 
    border: none; 
    border-radius: 8px; 
    background-color: var(--input-bg); 
    font-size: 1rem; 
    color: var(--text-dark); 
    outline: none; 
    transition: 0.3s; 
}

.contact-form input:focus, 
.contact-form textarea:focus { 
    box-shadow: 0 0 0 2px var(--primary-green); 
}

.contact-form textarea { 
    resize: vertical; 
    min-height: 150px; 
}

.btn-submit { 
    background-color: var(--accent-yellow); 
    color: #fff; 
    padding: 18px; 
    border: none; 
    border-radius: 8px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: 0.3s; 
    text-transform: uppercase; 
}

.btn-submit:hover { 
    background-color: #e08b0e; 
    transform: translateY(-2px); 
}

/* --------------------------------------------------------------------------
   10. Lightbox Modal
   -------------------------------------------------------------------------- */
.lightbox { 
    display: none; 
    position: fixed; 
    z-index: 9999; 
    padding-top: 50px; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
}

.lightbox-content { 
    margin: auto; 
    display: block; 
    max-width: 90%; 
    max-height: 85vh; 
    border-radius: 10px; 
    object-fit: contain; 
}

.close-lightbox { 
    position: absolute; 
    top: 20px; 
    right: 35px; 
    color: #f1f1f1; 
    font-size: 40px; 
    font-weight: bold; 
    cursor: pointer; 
    transition: 0.3s; 
}

.close-lightbox:hover { 
    color: #fff; 
}

/* --------------------------------------------------------------------------
   11. Partners, Supported By & Footer
   -------------------------------------------------------------------------- */
.partners-supporters-section {
    display: flex;
    gap: 40px;
    padding: 20px 5%;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

.partners-container, 
.supporters-container {
    flex: 1;
    min-width: 0; 
}

.partners-container h2, 
.supporters-container h2 {
    color: var(--primary-green);
    font-size: 1.2rem;
    /* margin-bottom: 25px; */
    text-align: center;
}

.logo-scroll-wrapper {
    overflow-x: auto;
    cursor: grab;
    scrollbar-width: none; 
    -ms-overflow-style: none; 
    padding: 10px 0;
}

.logo-scroll-wrapper::-webkit-scrollbar {
    display: none; 
}

.logo-scroll-wrapper:active {
    cursor: grabbing; 
}

.logo-track {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    pointer-events: none; 
    justify-content: center;
    align-items: center;
    display: flex;
}

.logo-track img {
    height: 50px;
     /* height: 70px; */
    width: auto;
    object-fit: contain;
    /* filter: grayscale(100%);
    opacity: 0.7; */
    transition: 0.3s;
    user-select: none; 
    -webkit-user-drag: none;
}

.logo-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer  */
/* footer {
    background-color: var(--primary-green);
    color: var(--text-light);
    padding: 25px 5% 25px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
} */

.footer-left h3 {
    font-size: 1.2rem;
    margin-bottom: 0px;
    font-weight: 700;
}

.footer-left p {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.contact-details {
    display: flex;
    gap: 25px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    align-items: center;
}

.contact-details span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-details span i {
    background: #fff;
    color: var(--primary-green);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
}

.footer-right {
    text-align: right;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

/* Hover Effect ថ្មីសម្រាប់ Icon ក្នង Footer */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-icons a.yt { background-color: #ff0000; }
.social-icons a.fb { background-color: #1877f2; }
.social-icons a.tg { background-color: #0088cc; }

.social-icons a:hover {
    transform: translateY(-5px) scale(1.15); /* លោតឡើងនិងរីកធំបន្តិច */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    filter: brightness(1.1); /* ធ្វើឲ្យពណ៌ភ្លឺជាងមុន */
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ==========================================================================
   ផ្នែកទី២៖ កូដ CSS សម្រាប់ទូរស័ព្ទដៃ (Responsive / Mobile Styles)
   ========================================================================== */

/* --------------------------------------------------------------------------
   អេក្រង់ទំហំតូចជាង 992px (Tablet / ទូរស័ព្ទអេក្រង់ធំ)
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .detail-container { 
        flex-direction: column; 
    }
    
    .sidebar { 
        display: grid; 
        grid-template-columns: repeat(2, 1fr); 
        gap: 20px;
    }
    
    .sidebar-title-header { 
        grid-column: span 2; 
        margin-bottom: 0;
    }
    
    .feature-grid { 
        grid-template-columns: 1fr; 
    }
}

/* --------------------------------------------------------------------------
   អេក្រង់ទំហំតូចជាង 900px (ទូរស័ព្ទដៃទូទៅ)
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    /* Mobile Menu Settings & Dropdown Fix */
    .mobile-menu-btn { 
        display: block; 
        position: relative;
        z-index: 1000;
    }
    
    nav { 
        position: absolute; 
        top: 100%; 
        left: 0; 
        width: 100%; 
        background-color: var(--primary-green); 
        /* ប្រើប្រព័ន្ធ display: none និង block ជាមួយ animation ទើបដំណើរការលើ Desktop Resize */
        display: none; 
        /* padding: 20px 0;  */
        box-shadow: 0 10px 15px rgba(0,0,0,0.3); 
        z-index: 999; 
        border-top: 1px solid rgba(255,255,255,0.1); 
    }
    
    nav.show-mobile-menu { 
        display: block; 
        animation: slideDown 0.3s ease forwards; 
    }
    
    @keyframes slideDown { 
        from { opacity: 0; transform: translateY(-10px); } 
        to { opacity: 1; transform: translateY(0); } 
    }
    
    nav ul { 
        display: flex; 
        flex-direction: column; 
        gap: 0; 
        padding: 10px 0; 
        align-items: stretch; 
    }
    
    nav ul li { 
        text-align: center; 
        border-bottom: 1px solid rgba(255,255,255,0.05); 
    }
    
    nav ul li:last-child { 
        border-bottom: none; 
    }
    
    nav a:not(.lang-btn) { 
        display: block; 
        padding: 15px; 
        width: 100%; 
        transition: 0.3s; 
    }
    
    nav a:hover { 
        background-color: rgba(255,255,255,0.1); 
    }
    
    .headset-icon { 
        display: block; 
        padding: 15px; 
    }
    
    .headset-icon i { 
        background: transparent; 
        padding: 0; 
    }
    
    .lang-switcher { 
        justify-content: center; 
        /* padding: 15px; 
        border-left: none; 
        margin: 0;  */
        display: flex; 
        gap: 15px; 
    }
    
    .lang-btn { 
        width: 35px !important; 
        height: 35px !important; 
        padding: 0 !important; 
        display: flex !important; 
    }
    
    .features-green { 
        grid-template-columns: 1fr; 
        padding: 40px 5%; 
    }
    
    .feature-box { 
        border-right: none; 
        border-bottom: 1px solid rgba(255,255,255,0.2); 
        padding: 20px 10px; 
        height: auto; 
    }
    
    .services-grid { 
        grid-template-columns: 1fr; 
    }
    
    .service-card { 
        height: auto; 
    }
    
    .project-card { 
        flex-direction: column; 
        min-height: auto; 
        height: auto; 
        padding: 15px; 
        gap: 15px; 
    }
    
    .project-img { 
        min-height: 250px; 
        flex: auto; 
        width: 100%; 
    }
    
    .project-info { 
        padding: 5px 0 0 0; 
    }
    
    .specs-grid, 
    .crop-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
    
    .hero-content h1 { 
        font-size: 2rem; 
    }

    .partners-supporters-section {
        flex-direction: column;
        gap: 50px;
    }
    
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-details {
        justify-content: center;
        flex-direction: column;
        gap: 6px;
    }
    
    .footer-right {
        text-align: center;
        margin-top: 20px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   អេក្រង់ទំហំតូចជាង 768px (ទូរស័ព្ទខ្នាតតូច)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .sidebar { 
        grid-template-columns: 1fr; 
    }
    
    .sidebar-title-header { 
        grid-column: span 1;
    }
    
    .main-img-container { 
        height: 300px; 
    }
    
    .benefit-main-img { 
        height: 250px; 
    }
}

/* កំណត់ទម្រង់រួមសម្រាប់ Icon ទាំងអស់ដើម្បីឱ្យវាស្គាល់ Width និង Height */
.iconsize, 
.iconarea, 
.icon196, 
.iconfemale, 
.iconpipe, 
.iconroad {
    display: inline-block; /* ចំណុចសំខាន់បំផុតដើម្បីឱ្យវាបង្ហាញរូបភាព */
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 20px auto; /* អាចដូរទៅជា contain ឬ 100% បើចង់ឱ្យរូបពេញប្រអប់ */
    width: 25px;
    height: 25px;
}

/* ហៅរូបភាពមកដាក់តាម Class នីមួយៗ */
.iconsize   { background-image: url("../components/common/size.png"); }
.iconarea   { background-image: url("../components/common/area.png"); }
.icon196    { background-image: url("../components/common/196.png"); }
.iconfemale { background-image: url("../components/common/female.png"); }
.iconpipe   { background-image: url("../components/common/pipe.png"); }
.iconroad   { background-image: url("../components/common/road.png"); }

.iconplant, 
.icontakecare,
.iconmarket 
{
    display: inline-block; /* ចំណុចសំខាន់បំផុតដើម្បីឱ្យវាបង្ហាញរូបភាព */
    background-repeat: no-repeat;
    background-position: center center;
    /* background-size: 20px auto; អាចដូរទៅជា contain ឬ 100% បើចង់ឱ្យរូបពេញប្រអប់ */
    /* width: 25px;
    height: 25px; */
    background-size: 40px auto;
    width: 50px;
    height: 59px;
}

.iconplant{ background-image: url("../components/common/plant.png"); }
.icontakecare{ background-image: url("../components/common/takecare.png"); }
.iconmarket{ background-image: url("../components/common/market.png"); }

.iconview,
.icontgoal,
.iconvalue
{
    display: inline-block; /* ចំណុចសំខាន់បំផុតដើម្បីឱ្យវាបង្ហាញរូបភាព */
    background-repeat: no-repeat;
    background-position: center center;
    /* background-size: 20px auto; អាចដូរទៅជា contain ឬ 100% បើចង់ឱ្យរូបពេញប្រអប់ */
    /* width: 25px;
    height: 25px; */
background-size: 65px auto;
    width: 100px;
    height: 100px;
}

.iconview{ background-image: url("../components/common/eye.png"); }
.icontgoal{ background-image: url("../components/common/mission.png"); }
.iconvalue{ background-image: url("../components/common/diamond.png"); }

/* ==========================================================================
   រៀបចំទីតាំង ទង់ជាតិ និងប៊ូតុង Menu ให้อៅទន្ទឹមគ្នា
   ========================================================================== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px; /* គម្លាតរវាងទង់ជាតិ និងប៊ូតុង Menu */
}

/* កែប្រែទង់ជាតិបន្តិចសម្រាប់ទូរស័ព្ទដៃកុំឲ្យរុញគ្នា */
@media (max-width: 900px) {
    .header-actions {
        gap: 15px; 
    }
    .lang-switcher { 
        padding: 0; 
        margin: 0; 
        display: flex; 
        gap: 10px; 
    }
    .lang-btn { 
        width: 30px !important; 
        height: 30px !important; 
    }
}