
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #172c3d;
    background: white;
}

a {
    text-decoration: none;
}

header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 15px #00000010;
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #17364a;
    font-size: 23px;
}

.logo span, footer span {
    color: #0ba879;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #455665;
    font-weight: bold;
    font-size: 14px;
}

.nav-links a:hover {
    color: #0ba879;
}

.nav-btn, .main-btn {
    background: #0ba879;
    color: white;
    padding: 14px 22px;
    border-radius: 7px;
    display: inline-block;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.nav-btn:hover, .main-btn:hover {
    background: #087d5c;
    transform: translateY(-3px);
}

.menu-btn {
    display: none;
    border: none;
    background: none;
    font-size: 25px;
    cursor: pointer;
}

.hero {
    min-height: 570px;
    background: linear-gradient(120deg, #0d2639, #12544f);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 65px 8%;
    overflow: hidden;
}

.hero-content {
    max-width: 570px;
}

.tagline {
    color: #0bb783;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.hero .tagline {
    color: #5ce0b5;
}

.hero h1 {
    font-size: 55px;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span, .about-content h2 span,
.contact-content h2 span {
    color: #15bd8a;
}

.hero-text {
    color: #d2e1e4;
    line-height: 1.8;
    max-width: 490px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.outline-btn {
    border: 1px solid white;
    color: white;
    padding: 14px 22px;
    border-radius: 7px;
}

.hero-features {
    display: flex;
    gap: 25px;
    margin-top: 35px;
    font-size: 12px;
    color: #d1e5df;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.battery-cap {
    width: 60px;
    height: 20px;
    background: #b9ceca;
    margin: auto;
    border-radius: 8px 8px 0 0;
}

.battery {
    width: 210px;
    height: 270px;
    border: 7px solid #d7e9e1;
    border-radius: 22px;
    background: linear-gradient(140deg, #f1fff8, #a6c8b9);
    color: #153c43;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 15px 25px 35px #0005;
    transform: rotate(-7deg);
}

.battery span {
    font-size: 90px;
    color: #0ba879;
}

.battery h2 {
    letter-spacing: 3px;
}

.battery p {
    font-size: 10px;
    margin-top: 10px;
}

.categories, .products, .why-us {
    padding: 90px 8%;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading>p:first-child {
    color: #0ba879;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 35px;
    margin: 15px 0;
}

.section-heading h2 span {
    color: #0ba879;
}

.section-heading p:last-child {
    color: #7a8792;
    line-height: 1.7;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-card {
    padding: 25px 20px;
    border: 1px solid #e4ece9;
    border-radius: 12px;
    transition: .3s;
}

.category-card:hover {
    transform: translateY(-7px);
    border-color: #0ba879;
    box-shadow: 0 12px 25px #00000010;
}

.category-card div {
    font-size: 35px;
}

.category-card h3 {
    margin: 15px 0 8px;
    font-size: 17px;
}

.category-card p {
    color: #7c8994;
    font-size: 13px;
}

.products, .why-us {
    background: #f4f9f7;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.filter {
    border: 1px solid #dce9e4;
    background: white;
    padding: 11px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
}

.filter.active, .filter:hover {
    background: #0ba879;
    color: white;
    border-color: #0ba879;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: 13px;
    overflow: hidden;
    border: 1px solid #e6eeeb;
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px #00000012;
}

.product-image {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-image span {
    font-size: 65px;
}

.product-image small {
    font-weight: bold;
    letter-spacing: 2px;
}

.lithium { background: #d9f5e9; }
.solar { background: #d9efff; }
.dry { background: #fff0d8; }
.tubular { background: #e7e5ff; }
.accessories { background: #e1edf3; }
.inverter { background: #e1f2e5; }

.product-info {
    padding: 22px;
}

.product-info h3 {
    margin-bottom: 10px;
}

.product-info p {
    color: #7c8994;
    font-size: 13px;
    margin-bottom: 20px;
}

.inquire {
    width: 100%;
    border: none;
    border-top: 1px solid #e6eeeb;
    background: white;
    padding-top: 15px;
    text-align: left;
    color: #0ba879;
    font-weight: bold;
    cursor: pointer;
}

.about {
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-image {
    height: 350px;
    background: linear-gradient(130deg, #0d3545, #087b62);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 18px;
}

.about-icon {
    background: #e0f7eb;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 90px;
}

.about-content h2, .contact-content h2 {
    font-size: 39px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.about-content>p:not(.tagline),
.contact-content>p:not(.tagline) {
    color: #788692;
    line-height: 1.8;
    margin-bottom: 17px;
}

.about-content .main-btn {
    margin-top: 15px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    background: white;
    border: 1px solid #e5eeea;
    padding: 25px 20px;
    border-radius: 12px;
}

.why-card span {
    font-size: 30px;
    color: #0ba879;
}

.why-card h3 {
    margin: 15px 0 10px;
}

.why-card p {
    font-size: 13px;
    color: #788692;
    line-height: 1.7;
}

.contact {
    padding: 90px 8%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.contact-detail span {
    font-size: 25px;
    background: #e6f8f1;
    padding: 12px;
    border-radius: 10px;
}

.contact-detail small {
    color: #84919b;
    font-size: 10px;
}

.contact-detail h3 {
    font-size: 15px;
    margin-top: 5px;
}

form {
    background: #f5f9f7;
    padding: 30px;
    border-radius: 15px;
}

form h2 {
    margin-bottom: 20px;
}

form label {
    display: block;
    font-size: 13px;
    font-weight: bold;
    margin: 13px 0 7px;
}

form input, form select, form textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce7e2;
    border-radius: 7px;
    outline: none;
    font-family: Arial, sans-serif;
}

form input:focus, form select:focus, form textarea:focus {
    border-color: #0ba879;
}

form button {
    width: 100%;
    margin-top: 20px;
}

footer {
    background: #102b3d;
    color: white;
    text-align: center;
    padding: 35px 15px;
}

footer h2 {
    margin-bottom: 10px;
}

footer p {
    color: #b8cbd0;
    font-size: 13px;
}

footer .copyright {
    margin-top: 20px;
    font-size: 11px;
}

@media(max-width: 900px) {
    .category-grid, .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 43px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 650px) {
    .navbar {
        padding: 17px 5%;
    }

    .menu-btn {
        display: block;
    }

    .nav-btn {
        display: none;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        padding: 22px;
        background: white;
        flex-direction: column;
        gap: 20px;
    }

    .nav-links.show {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 65px 7%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons, .hero-features {
        justify-content: center;
    }

    .hero-image {
        margin-top: 35px;
    }

    .categories, .products, .why-us, .about, .contact {
        padding: 65px 6%;
    }

    .section-heading h2 {
        font-size: 29px;
    }

    .category-grid, .product-grid, .why-grid {
        grid-template-columns: 1fr;
    }

    .about, .contact {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-content h2, .contact-content h2 {
        font-size: 32px;
    }
}
