﻿:root {
    --primary-green: #1BBD36;
    --secondary-green: #16A32E;
    --dark-green: #0D5E1C;
    --light-green: #E8F5E9;
    --dark: #212529;
    --light: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.bg-primary-green {
    background-color: var(--primary-green) !important;
}

.text-primary-green {
    color: var(--primary-green) !important;
}



.servicesBtn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px !important;
    background-color: #1bbd36;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.4s;
    transition: background 0.3s ease;
}

    .servicesBtn:hover {
        background-color: var(--dark-green);
        border-color: var(--dark-green);
        transform: translateY(-3px) !important;
        transition: all 0.4s;
        box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    }

.card-text{
    text-align:justify;
}
/* Hero Section */
.hero-section {
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-green) 0%, white 100%);
    display: flex;
    align-items: center;
}

.hero-content {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Three.js Background */
#threejs-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

    .section-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 50px;
        height: 3px;
        background: var(--primary-green);
    }

.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    margin-bottom: 2rem;
    background: white;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(27, 189, 54, 0.15);
    }

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-green);
}

.service-card .card-body {
    padding: 2rem;
}

/* Floating Tech Icons Animation */
.tech-icons-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.tech-icon {
    position: absolute;
    color: var(--light-green);
    opacity: 0.3;
    font-size: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    margin-right: 1.5rem;
    transition: color 0.3s;
}
.social-icons a {
    color: white;
/*    background: rgba(255,255,255,0.1) !important;*/
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    transition: all 0.3s;
}

    .social-icons a:hover {
        background: var(--primary-green);
        transform: translateY(-3px);
    }

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {

    .nav-max-witdh {
        max-width: 100% !important;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }
}
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-left: 10%;
    background: linear-gradient(to right, rgb(7 7 8 / 85%), rgb(125 154 133 / 85%)), url('/assets/img/Service2.jpg') no-repeat center center/cover;
    color: white;
}
@media (min-width: 320px) and (max-width: 575px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .hero-content {
        margin-top: 45%;
    }

    .hero-section {
        height: 350px !important;
    }

    .hero-content {
        margin-top: 10% !important;
    }

    .hero-title {
        font-size: 1.3rem !important;
    }

    .servicesBtn {
        padding: 6px 12px !important;
    }

    #services {
        padding-top: 15% !important;
        padding-bottom: 15% !important;
    }
    .service-card .card-body{
        padding: 0 !important;
    }
    .service-card h3{
        font-size:1.3rem !important;
    }
}

@media (min-width: 576px) and (max-width: 992px) {
    .nav-max-witdh {
        max-width: 100% !important;
    }

    .hero-section {
        height: 80vh !important;
        padding-left: 0 !important;
    }

    .hero-content {
        max-width: 100% !important;
    }

    .hero-section-content {
        text-align: center;
    }

    .hero-title {
        font-size: 1.7rem !important;
        max-width: 100% !important;
        margin-top: 51px !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
/*        width: 50%;*/
        justify-self: center;
        line-height: 1.7;
        margin-top: 22px !important;
        margin-bottom: 10px;
    }

    .service-card .card-body {
        padding: 2rem !important;
    }

    .services-section {
        padding-bottom: 52px !important;
        padding-top: 40px !important;
    }

    servicesBtn {
        margin-top: -15px !important;
    }
}