@import url('./fonts.css');

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

:root {
    --green: #137f4d;
    --green-light: #89c235;

}

.videoSection {
    width: 100%;
    height: 100vh;
    min-height: 800px;
    position: relative;
    background: url('./../imgs/bg-3.png') no-repeat center center/cover;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 40px;
    z-index: 0;
}

.videoSection video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
}

.content h1 {
    font-size: 4rem;
    color: #fff;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.1rem;
    color: #fff;
    line-height: 1.5;
    font-weight: 200 !important;
    margin-bottom: 20px;
}

header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 10px;
    background: #F5FFFD;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(2.4px);
    -webkit-backdrop-filter: blur(2.4px);
}

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

header .nav-item {
    margin: 5px 10px;
}

header .nav-link {
    min-width: 100px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

header .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--green);
    transition: height 0.3s ease;
    z-index: -1;
}

header .nav-link:hover {
    color: #fff;
}

header .nav-link:hover::before {
    height: 100%;
}

header .detail ul {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
    list-style: none;
}

header .detail ul li a {
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px;
}

header .detail ul li .icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    margin: 0px 15px;
    border-radius: 8px;
    background-color: rgba(18, 126, 77, 0.2);
}

header .detail ul li .icon i {
    color: var(--green);
    font-size: 1rem;
}

header .detail ul li .text p {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--green-light);
    /* color: #E5E7EB; */
    margin: 0;
}

header .detail ul li .text h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green);
    margin-bottom: 0;
}

/*  */
.statistics {
    padding: 100px 50px;
    /* background: #FAF9F9; */
}

.statistics-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.37) !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5.5px);
    -webkit-backdrop-filter: blur(5.5px);
    border-color: var(--green-light) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    display: flex;
    margin-bottom: 30px;
}

.statistics-card .icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
    border-radius: 8px;
    background-color: rgba(18, 126, 77, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 1px solid var(--green) !important; */
}

.statistics-card .icon i {
    color: var(--green);
    font-size: 1.3rem;
}

.statistics-card:hover {
    transform: translateY(-5px);
    background: #eee !important;
}

.statistics-card .card-body {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
}


.statistics-card .card-title {
    font-size: 1.5rem;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 0px;
}
.statistics-card .card-title sup {
    font-size: 0.9rem;
    color: var(--green-light);
    margin-left: 5px;
    font-weight: 400 !important;
}

.statistics-card p {
    font-size: 0.9rem;
    color: #000;
    font-weight: 400 !important;
    margin-bottom: 0;
}

.mobileSection {
    width: 100%;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-self: center;
}

.mobileSection .mobilePic {
    flex: 1 50%;
    background: url('./../imgs/bg-2.jpg')no-repeat;
    background-size: cover;
    background-position: center;

}

.mobileSection .mobileLink {
    flex: 1 50%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 50px 100px;
    background: url('./../imgs/bg-1.jpg');
    /* background-attachment: fixed; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 0;
}

.mobileSection .mobileLink::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.mobileSection .mobileLink h3 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.mobileSection .mobileLink p {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 200 !important;
}

.mobileSection .mobileLink div {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

/* Map Section Styles */
.mapSection {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    z-index: 0;
}

.mapSection::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./../imgs/texure.jpg') no-repeat;
    z-index: -1;
    opacity: 0.02;
}

.map-header {
    text-align: center;
    margin-bottom: 40px;
}

.map-header h2 {
    font-size: 2rem;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 5px;
}

.map-header p {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
}

#map {
    height: 600px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Custom marker styles */

.custom-marker i {
    color: var(--green);
    font-size: 1.1rem;
    display: block;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.leaflet-popup-content {
    font-family: 'Poppins', sans-serif;
}

.legend {
    font-family: 'Poppins', sans-serif;
}

/* Responsive map */
@media (max-width: 768px) {
    .map-header h2 {
        font-size: 2rem;
    }

    .map-header p {
        font-size: 1rem;
    }

    #map {
        height: 400px;
    }

    .mapSection {
        padding: 50px 0;
    }
}


.tabSection {
    padding: 100px 50px;
    background: #FAF9F9;
    background: url('./../imgs/bg-3.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.mainContainer{
    display: flex;
    padding: 40px 20px;
    align-items: start;
    /* background: rgba(255, 255, 255, 1) !important; */
    border-radius: 16px !important;
    /* From https://css.glass */
background: rgba(255, 255, 255, 0.4);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(5.9px);
-webkit-backdrop-filter: blur(5.9px);

}
#v-pills-tab .nav-link {
    color: var(--green);
    font-weight: 500;
    text-align: left;
    transition: color 0.3s ease;
    padding: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    border-radius: 12px;
    background: rgba(133, 133, 133, 0.1) ;
    border-radius: 16px !important;
}
#v-pills-tab .nav-link.active{
    border: 1px solid var(--green) !important;
    background: rgba(255, 255, 255, 1) !important;
}
#v-pills-tab .nav-link i {
    margin-right: 10px;
    color: var(--green);
    width: 40px;
    height: 40px;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    
}
#v-pills-tab .nav-link p{
    margin-bottom: 0;
}
.tab-content{
    padding:20px 30px;
    
}
.tab-content h3{
    font-size: 1.4rem;
    color: var(--green);
    font-weight: 700;
    margin-bottom: 20px;
}
.tab-content p{
    font-size: 1.1rem;
    color: #333;
    font-weight: 400 !important;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #0d4e2b 0%, #137f4d 50%, #1a9659 100%);
    color: #fff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./../imgs/bg.jpg') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

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

.footer-section h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #89c235;
    margin-bottom: 15px;
}

.footer-section h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #89c235;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(137, 194, 53, 0.3);
    display: inline-block;
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #89c235;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #89c235;
    padding-left: 5px;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: #89c235;
    font-size: 18px;
    margin-top: 2px;
    min-width: 20px;
}

.contact-item div {
    line-height: 1.5;
}

.contact-item strong {
    color: #89c235;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 2px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 25px 0;
    margin-top: 40px;
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #89c235;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 0;
    }
    
    .footer-section {
        margin-bottom: 30px;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 15px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-logo {
        max-width: 120px;
    }
}


/*  */

@media (max-width: 576px) {
    .videoSection {
        height: 900px;
        min-height: 700px;
        padding: 15px;
    }
    .videoSection .content{
        justify-content: end;
        padding-bottom: 120px;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .content p {
        font-size: 0.9rem;
    }
    
    header {
        padding: 5px;
    }
    
    header .container {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 10px;
    }
    
    header .detail ul {
        display: none;
    }
    
    .statistics {
        padding: 50px 20px;
    }
    
    .statistics-card {
        margin-bottom: 20px;
    }
    
    .mobileSection {
        flex-direction: column;
        height: 1000px;
    }
    
    .mobileSection .mobilePic,
    .mobileSection .mobileLink {
        flex: 1 100%;
        height:400px;
    }
    
    .mobileSection .mobileLink {
        padding: 30px 20px;
    }
    
    .mobileSection .mobileLink h3 {
        font-size: 2rem;
    }
    
    .tabSection {
        padding: 50px 20px;
    }
    
    .mainContainer {
        flex-direction: column;
        padding: 20px 10px;
    }
    
    #v-pills-tab {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .tab-content {
        padding: 10px 15px;
    }
    .img-fluid.footer-logo{
        max-width: 150px !important;
    }

}

@media (max-width: 768px) {
    .videoSection {
        height: 800px;
        min-height: 600px;
        padding: 20px;
    }
    .videoSection .content{
        justify-content: end;
        padding-bottom: 100px;
    }
    
    .content h1 {
        font-size: 2.5rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    header {
        padding: 5px;
    }
    
    header .container {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 10px;
    }
    
    header .detail ul {
        gap: 10px;
        padding-left: 0;
    }
    
    .statistics {
        padding: 50px 20px;
    }
    
    .statistics-card {
        margin-bottom: 20px;
    }
    
    .mobileSection {
        flex-direction: column;
        height: 1000px;
    }
    
    .mobileSection .mobilePic,
    .mobileSection .mobileLink {
        flex: 1 100%;
        height:400px;
    }
    
    .mobileSection .mobileLink {
        padding: 30px 20px;
    }
    
    .mobileSection .mobileLink h3 {
        font-size: 2rem;
    }
    
    .tabSection {
        padding: 50px 20px;
    }
    
    .mainContainer {
        flex-direction: column;
        padding: 20px 10px;
    }
    
    #v-pills-tab {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .tab-content {
        padding: 10px 15px;
    }
}

@media (max-width: 992px) {
    
    .videoSection {
        height: 800px;
        min-height: 600px;
        padding: 20px;
    }
    .videoSection .content{
        justify-content: end;
        padding-bottom: 100px;
    }
    
    .content h1 {
        font-size: 3rem;
    }
    
    .content p {
        font-size: 1rem;
    }
    
    header .detail ul {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .statistics {
        padding: 75px 30px;
    }
    
    .mobileSection .mobileLink {
        padding: 40px 50px;
    }
    
    .mobileSection .mobileLink h3 {
        font-size: 2.5rem;
    }
    
    .tabSection {
        padding: 75px 30px;
    }
    
    .mainContainer {
        padding: 30px 15px;
    }
    
    .tab-content {
        padding: 15px 20px;
    }
}

@media (min-width: 992px) and (max-width: 1024px) {
    .videoSection {
        height: 850px;
        min-height: 650px;
        padding: 30px;
    }
    
    .videoSection .content {
        justify-content: end;
        padding-bottom: 80px;
    }
    
    .content h1 {
        font-size: 2.2rem;
    }
    
    .content p {
        font-size: 1.05rem;
    }
    
    header .detail ul {
        gap: 12px;
    }
    
    .statistics {
        padding: 80px 40px;
    }
    
    .statistics-card {
        margin-bottom: 15px;
    }
    
    .mobileSection .mobileLink {
        padding: 45px 60px;
    }
    
    .mobileSection .mobileLink h3 {
        font-size: 2.7rem;
    }
    
    .tabSection {
        padding: 80px 40px;
    }
    
    .mainContainer {
        padding: 35px 20px;
    }
    
    .tab-content {
        padding: 18px 25px;
    }
    
    .footer {
        padding: 50px 0 0;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
}