/* =========================================
   EINS ENERGY
   Main Stylesheet
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #17251f;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================================
   HEADER
========================================= */

.header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 700;
}

.logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.logo strong {
    font-weight: 800;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s;
}

nav a:hover {
    color: #27ae60;
}


/* =========================================
   BUTTON
========================================= */

.btn {
    display: inline-block;
    padding: 14px 28px;
    background: #20a95a;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 700;
    transition: 0.3s;
    border: 2px solid #20a95a;
}

.btn:hover {
    background: #168747;
    border-color: #168747;
    transform: translateY(-2px);
}

.btn-small {
    padding: 10px 20px;
}

.btn-outline {
    background: transparent;
    color: #20a95a;
}

.btn-outline:hover {
    color: #ffffff;
}

.btn-light {
    background: #ffffff;
    color: #159447;
    border-color: #ffffff;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(
            120deg,
            #f3fbf6 0%,
            #ffffff 55%,
            #eaf8f0 100%
        );
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.hero-label {
    display: inline-block;
    color: #20a95a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: #20a95a;
}

.hero p {
    max-width: 560px;
    color: #64736b;
    font-size: 18px;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.energy-card {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            #b9efce,
            #50c77e 45%,
            #158f4b 100%
        );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 30px 70px rgba(32, 169, 90, 0.25);
}

.sun {
    font-size: 90px;
    margin-bottom: 20px;
}

.energy-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff;
}

.energy-info span {
    font-size: 18px;
}

.energy-info strong {
    font-size: 60px;
    line-height: 1;
}

.energy-info small {
    font-size: 14px;
}


/* =========================================
   STATS
========================================= */

.stats {
    background: #16251e;
    color: #ffffff;
    padding: 35px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.stat {
    border-right: 1px solid #3a4b42;
}

.stat:last-child {
    border-right: none;
}

.stat strong {
    display: block;
    font-size: 32px;
    color: #54d889;
}

.stat span {
    color: #bdc8c2;
    font-size: 14px;
}


/* =========================================
   GENERAL SECTION
========================================= */

.section {
    padding: 100px 0;
}

.section-title {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-title > span,
.section-label {
    color: #20a95a;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-title h2 {
    font-size: 42px;
    line-height: 1.2;
    margin: 12px 0 18px;
}

.section-title h2 strong {
    color: #20a95a;
}

.section-title p {
    color: #718078;
}


/* =========================================
   SOLUTIONS
========================================= */

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.solution-card {
    padding: 40px 30px;
    border: 1px solid #e6eee9;
    border-radius: 12px;
    background: #ffffff;
    transition: 0.3s;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.icon {
    width: 65px;
    height: 65px;
    border-radius: 12px;
    background: #e7f8ed;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 25px;
}

.solution-card h3 {
    font-size: 23px;
    margin-bottom: 12px;
}

.solution-card p {
    color: #718078;
    margin-bottom: 20px;
}

.solution-card a {
    color: #20a95a;
    font-weight: 700;
}


/* =========================================
   ABOUT
========================================= */

.about {
    padding: 100px 0;
    background: #f5faf7;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    height: 450px;
    border-radius: 15px;
    overflow: hidden;
    background: #20a95a;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}



.about-box {
    color: #ffffff;
    text-align: center;
    font-size: 60px;
    font-weight: 800;
}

.about-box strong {
    display: block;
    font-size: 28px;
    letter-spacing: 6px;
}

.about-text h2 {
    font-size: 44px;
    line-height: 1.2;
    margin: 15px 0 25px;
}

.about-text p {
    color: #69766f;
    margin-bottom: 20px;
}


/* =========================================
   PROJECTS
========================================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.project-card {
    height: 330px;
    border-radius: 12px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #163d28,
            #20a95a
        );
    position: relative;
}

.project-content {
    position: absolute;
    bottom: 0;
    padding: 30px;
    color: #ffffff;
}

.project-content span {
    font-size: 13px;
    opacity: 0.7;
}

.project-content h3 {
    font-size: 25px;
    margin: 5px 0 10px;
}

.project-content p {
    opacity: 0.85;
}


/* =========================================
   CTA
========================================= */

.cta {
    padding: 90px 0;
    text-align: center;
    background: #20a95a;
    color: #ffffff;
}

.cta h2 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta h2 span {
    display: block;
    color: #d7ffe6;
}

.cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    opacity: 0.9;
}


/* =========================================
   CONTACT
========================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.contact h2 {
    font-size: 42px;
    line-height: 1.2;
    margin: 15px 0 20px;
}

.contact p {
    color: #718078;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #dce5df;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
    outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #20a95a;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form button {
    cursor: pointer;
}


/* =========================================
   FOOTER
========================================= */

.footer {
    background: #14231c;
    color: #ffffff;
    padding-top: 60px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 50px;
    padding-bottom: 40px;
}

.footer h3 {
    margin-bottom: 10px;
}

.footer p {
    color: #aebbb4;
}

.footer-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.footer-links a {
    color: #c5cec9;
    font-size: 14px;
}

.footer-links a:hover {
    color: #54d889;
}

.copyright {
    text-align: center;
    border-top: 1px solid #314239;
    padding: 20px;
    color: #8d9b94;
    font-size: 13px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 900px) {

    nav {
        display: none;
    }

    .hero-content,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-image {
        margin-top: 30px;
    }

    .solutions-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat {
        border-right: none;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }
}


@media (max-width: 500px) {

    .hero h1 {
        font-size: 40px;
    }

    .energy-card {
        width: 280px;
        height: 280px;
    }

    .sun {
        font-size: 60px;
    }

    .energy-info strong {
        font-size: 45px;
    }

    .section-title h2,
    .about-text h2,
    .contact h2,
    .cta h2 {
        font-size: 32px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        text-align: center;
    }
}




/* =========================================
   SOLUTIONS PAGE
========================================= */

.solution-hero {
    padding: 110px 0;
    background:
        linear-gradient(
            120deg,
            #edf9f2,
            #ffffff
        );
}

.solution-hero h1 {
    max-width: 850px;
    font-size: 58px;
    line-height: 1.1;
    margin: 15px 0 25px;
}

.solution-hero h1 span {
    display: block;
    color: #20a95a;
}

.solution-hero p {
    max-width: 700px;
    color: #68766f;
    font-size: 18px;
}


/* =========================================
   SOLUTION DETAIL
========================================= */

.solution-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    margin-bottom: 120px;
}

.solution-detail.reverse .solution-detail-image {
    order: 2;
}

.solution-detail.reverse .solution-detail-content {
    order: 1;
}

.solution-detail-image {
    min-height: 430px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.solar-bg {
    background:
        linear-gradient(
            135deg,
            #168d4a,
            #65d38e
        );
}

.battery-bg {
    background:
        linear-gradient(
            135deg,
            #162f43,
            #2782b4
        );
}

.hybrid-bg {
    background:
        linear-gradient(
            135deg,
            #7a5a12,
            #e4b52d
        );
}

.telecom-bg {
    background:
        linear-gradient(
            135deg,
            #31235d,
            #7454c9
        );
}

.management-bg {
    background:
        linear-gradient(
            135deg,
            #174c43,
            #38a996
        );
}

.solution-number {
    position: absolute;
    right: 30px;
    bottom: 20px;
    color: rgba(255,255,255,0.25);
    font-size: 100px;
    font-weight: 900;
}

.solution-detail-content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin: 12px 0 25px;
}

.solution-detail-content h2 strong {
    color: #20a95a;
}

.solution-detail-content p {
    color: #68766f;
    margin-bottom: 18px;
}

.solution-detail-content ul {
    list-style: none;
    margin: 25px 0 30px;
}

.solution-detail-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 600;
}

.solution-detail-content li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #20a95a;
    font-weight: bold;
}


/* =========================================
   WHY EINS
========================================= */

.why-eins {
    padding: 100px 0;
    background: #f5faf7;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid #e4ece7;
}

.why-card h3 {
    margin: 18px 0 10px;
    font-size: 20px;
}

.why-card p {
    color: #718078;
    font-size: 14px;
}

.why-card .icon {
    margin-bottom: 0;
}


/* =========================================
   SOLUTIONS RESPONSIVE
========================================= */

@media (max-width: 900px) {

    .solution-hero h1 {
        font-size: 45px;
    }

    .solution-detail {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 80px;
    }

    .solution-detail.reverse .solution-detail-image {
        order: 1;
    }

    .solution-detail.reverse .solution-detail-content {
        order: 2;
    }

    .solution-detail-image {
        min-height: 320px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 500px) {

    .solution-hero {
        padding: 80px 0;
    }

    .solution-hero h1 {
        font-size: 38px;
    }

    .solution-detail-content h2 {
        font-size: 34px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

}



