@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body */
body {
    background: linear-gradient(135deg, #fff1eb, #ace0f9);
    color: #222;
    min-height: 100vh;
}

/* Header */
header {
    background: linear-gradient(135deg, #ff512f, #dd2476, #ff9a44);
    background-size: 300% 300%;
    animation: gradientMove 6s ease infinite;
    color: white;
    text-align: center;
    padding: 35px 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Home Header with Image */
.home-header {
    background: url("solar1.jpg") no-repeat center center/cover;
    padding: 90px 15px;
    text-align: center;
    position: relative;
}

/* Dark overlay */
.home-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Hero Content */
.hero {
    position: relative;
    z-index: 2;
    color: white;
}

/* Big Logo */
.home-logo {
    width: 160px;
    max-width: 190%;
    margin-bottom: 15px;
}

/* Title */
.hero h1 {
    font-size: 42px;
    text-shadow: 2px 2px 8px black;
}

/* Subtitle */
.hero p {
    font-size: 18px;
    margin-top: 5px;
}


/* Header Animation */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

header h1 {
    font-size: 32px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

header p {
    margin-top: 10px;
    font-size: 18px;
}

/* Navbar */
nav {
    background: #111827;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

nav a {
    color: white;
    padding: 15px 22px;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover,
nav a.active {
    background: linear-gradient(135deg, #ff512f, #ff9a44);
    border-radius: 6px;
}

/* Container */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 15px;
}

/* Card */
.card {
    background: linear-gradient(135deg, #ffffff, #f8fbff);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
    transition: 0.4s;
    border-left: 6px solid #ff512f;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

/* Button */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff512f, #ff9a44);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 18px;
    transition: 0.3s;
    box-shadow: 0 6px 20px rgba(255, 81, 47, 0.6);
}

.btn:hover {
    transform: scale(1.05);
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Box */
.box {
    background: linear-gradient(135deg, #fff7f0, #ffffff);
    padding: 25px;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    font-weight: 500;
}

.box:hover {
    background: linear-gradient(135deg, #ff512f, #ff9a44);
    color: white;
    transform: translateY(-7px);
}

/* Footer */
footer {
    background: #111827;
    color: white;
    text-align: center;
    padding: 20px;
}

/* WhatsApp Button */
.whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white;
    font-size: 28px;
    padding: 12px 16px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    text-decoration: none;
    z-index: 999;
}

.whatsapp:hover {
    transform: scale(1.1);
}

/* Slider */
.slider {
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.slides {
    display: flex;
    width: 300%;
    animation: slide 12s infinite;
}

.slides img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* Slider Animation */
@keyframes slide {
    0% {
        margin-left: 0;
    }

    33% {
        margin-left: 0;
    }

    38% {
        margin-left: -100%;
    }

    66% {
        margin-left: -100%;
    }

    71% {
        margin-left: -200%;
    }

    100% {
        margin-left: -200%;
    }
}

/* Responsive */
@media(max-width:768px) {

    header h1 {
        font-size: 32px;
    }

}

/* Header with Logo */
.main-header {
    padding: 25px 15px !important;
}

.header-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.logo {
    width: 200px;
    /* change size if needed */
    height: auto;
}