* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: white;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 10px auto;
    padding: 0 20px;
}

.container2 {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 20px;
}

.diy-h3{
    font-weight: bold;
    color: #0b8e44!important;
}

a:link {
    text-decoration: none;
    color: black;
}

header {
    background: linear-gradient(135deg, #f5f8f5, #ffffff);
    color: black;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo h1 {
    font-size: 20px;
    font-weight: 400;
    color: black;
}


.logo-img img{
    width: 130px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}
.nav-links a {
    color: black;
    font-size: 1.2em;
    text-decoration: none;
    transition: all 0.3s ease;
}
.nav-links .active{
   color: #0b8e44 !important;
    font-weight: bold;
}

.nav-links a:hover {
    color: #0b8e44;
}


.hero {
    background: linear-gradient(rgb(94, 172, 99), rgba(255, 255, 255, 0.7));
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #3f553f;
}

.btn {
    display: inline-block;
    background: #2c7744;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #1f5c35;
    transform: translateY(-3px);
}


.about {
    padding:0;
    margin-top: 50px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #00a73b;
    font-size: 2.2rem;
}
.section-title2 {
    text-align: left;
    margin-bottom: 20px;
    color: #00a73b;
    font-size: 1.8rem;
    line-height: 1.0em;
}

.section-title3 {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 50px;
    color: white;
    font-size: 1.8rem;
    line-height: 1.0em;
    background: #00a13a;
    padding: 20px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    text-align: justify;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}


.services {
    padding: 5px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}
.services-grid .service-list{
    font-size: 1.2em;
}

.service-card {
    background: white;
    padding: 5px;
    transition: all 0.3s ease;
    font-size: 20px;
    line-height: 1.2em;
}


.service-card img {
   width: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: #2c7744;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}


.technologies {
    padding: 0;
    background-color: white;
}
.methine {
    padding: 20px;
}
.methine img{
    width: 100%;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tech-item {
    text-align: center;
    padding: 10px 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
.tech-item .mp{
    font-weight: bold;
    color: #0b8e44;
    font-size: 20px;
    line-height: 1.2em;
    margin-bottom: 10px;
}
.tech-item .sp{
    font-weight: normal;
    line-height: 1.2em;
}


.tech-icon img{
  width: 100%;
}

.tech-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.applications {
    padding: 20px 0;
    background-color: white;
}
.applications .scenarios-header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}
.applications .scenarios-header .desc{
    font-size: 1.3em;
    text-align: justify;
    padding: 0 10px;
}
.applications .scenarios-header .pic{
    padding: 0;
}
.applications .scenarios-header .pic2 img{
    width: 100%;
}


.applications .scenarios-cons img{
    width: 100%;
}
.applications .scenarios-cons .s-title{
    font-size: 1.4em;
    padding: 20px 0;
    font-weight: 500;
    margin-top: 20px;
}
.applications .scenarios-cons .in-title{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    text-align: center;
    color: #0b8e44;
    font-size: 1.3em;
    line-height: 1.3em;
    gap: 20rpx;
}
.applications .scenarios-cons .in-title p{
   padding: 10px;
   margin-bottom: 20px;
    text-align: left;
}
.applications .scenarios-cons .in-title p img{
    padding: 10px;
}


.contact {
    padding: 10px 0;
    background-color: white;
}

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details a {
    color: #272727;
    text-decoration: none;
    display: inline-block;
    margin: 0 15px;
    font-weight: 500;
    font-size: 2.0em;
}

.contact-details a:hover {
    color: #1a4b28;
}

.contact .pics {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin: 20px 0;
}
.contact .pics img{
   width: 450px;
}


footer {
    background: #121212;
    color: white;
    padding: 20px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
.footer-content a:link {
    text-decoration: none;
    color: #ffffff;
}

.footer-logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
}
.footer-logo img {
   width: 100px;
}

.copyright {
    font-size: 1.2rem;
    color: #ffffff;
    text-align: left;
}

.footer-links {
    display: flex;
    list-style: none;
    margin-bottom: 30px;
}

.footer-links li {
    margin: 0 15px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover {
    color: white;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, #5eac63 0%, #46d670 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    border: none;
    outline: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}



.back-to-top:active {
    transform: translateY(0) scale(0.95);
}
.arrow {
    width: 20px;
    height: 20px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(-45deg);
    margin-top: 5px;
}
@media (max-width: 768px) {
    header {
        padding: 5px 0;
    }
    .logo{
        margin-bottom: 20px;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        gap: 10px;
    }
    .logo.hidden{
        display: none;
        visibility: hidden;
    }
    .logo-img img{
        width: 80px;
    }


    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-links {
        margin-top: 0;
    }

    .nav-links li {
        margin: 0 10px;

        text-align: center;
    }

    .nav-links a {
        font-size: 1.0em;
    }

    .about-content {
        flex-direction: column;
    }

    .hero {
        padding: 20px 0;
    }
    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .diy-h3{
        text-align: center;
    }


    .section-title2 {
        margin-bottom: 10px;
        color: #00a73b;
        font-size: 1.6rem;
        line-height: 1.0em;
    }

    .section-title3 {
        margin-bottom: 20px;
        font-size: 1.3rem;
        line-height: 1.2em;
        background: #00a13a;
        padding: 10px;
    }
    .services-grid {
        gap: 0;
    }

    .applications .scenarios-header .desc{
        font-size: 1.2em;
        text-align: justify;
        padding: 0 10px;
        line-height: 1.3em;
    }

    .applications .scenarios-header{
        display: flex;
        flex-direction: column;
    }
    .applications .scenarios-header .pic img{
        width: 100%;
    }
    .applications .scenarios-cons .s-title{
        font-size: 1.2em;
        padding: 20px 0;
        font-weight: 500;
        line-height: 1.3em;
        text-align: justify;
    }
    .applications .scenarios-cons .in-title{
        font-size: 1.2em;
        line-height: 1.2em;
        gap: 20rpx;
        flex-direction: column;
    }
    .contact .pics {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .contact-details a {
        font-size: 1.0em;
    }
    .footer-logo {
        display: none;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 30px;
        height: 30px;
    }
}