/* FEATURES */
.features {
    padding: 60px 20px;
    text-align: center;
    perspective: 1000px; /* enables 3D effect */
}

.features h2 span {
    color: #F37021;
}

/* GRID */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* CARD BASE */
.feature-card {
    background: #000000;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    position: relative;

    /* floating animation */
    animation: floatCard 4s ease-in-out infinite;
}

/* ICON */
.feature-card img {
    width: 60px;
    margin-bottom: 10px;
    transition: transform 0.4s ease;
}

/* HOVER 3D EFFECT */
.feature-card:hover {
    transform: rotateY(10deg) rotateX(10deg) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.feature-card:hover img {
    transform: translateZ(30px) scale(1.1);
}

/* FLOAT ANIMATION */
@keyframes floatCard {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* SHOWCASE */
.solar-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #f9f9f9, #eef5ff);
}

/* IMAGE SIDE */
.showcase-img {
    flex: 1;
    max-width: 500px;
    perspective: 1000px;
}

.showcase-img img {
    width: 100%;
    height: 390px;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

/* 3D hover image */
.showcase-img img:hover {
    transform: scale(1.05) rotateY(8deg) rotateX(4deg);
}

/* TEXT CARD */
.showcase-text {
    flex: 1;
    max-width: 500px;

    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.showcase-text:hover {
    transform: translateY(-5px);
}

/* HEADINGS */
.showcase-text h4 {
    color: #F37021;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.showcase-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #000000;
}
.showcase-text p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* LIST */
.showcase-text ul {
    list-style: none;
    color: #555;
    padding: 0;
    margin: 15px 0;
}

.showcase-text ul li {
    margin: 8px 0;
    font-weight: 500;
}

/* BUTTON */
.showcase-text button {
    padding: 12px 20px;
    background: #F37021;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.showcase-text button:hover {
    background: #d85f1b;
    transform: scale(1.05);
}

/* PRODUCTS */
.products {
    padding: 60px 20px;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    padding: 20px;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background: #fff;
    transition: 0.3s;
    text-align: center;
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card button {
    margin-top: 10px;
    padding: 8px 15px;
    background: #F37021;
    border: none;
    color: white;
}
.product-card:hover {
    transform: translateY(-5px);
}
.product-card h3 {
    margin: 10px 0 5px;
}
.product-card p {
    font-size: 14px;
    color: #555;
    padding: 0 10px;
}
.product-card button {
    margin: 10px 0 15px;
    padding: 8px 15px;
    background: #F37021;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
}
/* 📱 MOBILE VIEW */
@media (max-width: 768px) {

    .solar-showcase {
        flex-direction: column;
        text-align: center;
        padding: 50px 15px;
    }

    .showcase-text {
        max-width: 100%;
        padding: 20px;
    }

    .showcase-img {
        max-width: 100%;
    }

    .showcase-text ul {
        padding: 0;
    }

    .showcase-text ul li {
        text-align: left;
        display: inline-block;
        width: 100%;
    }

    .showcase-text button {
        width: 100%;
        margin-top: 10px;
    }
}