* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Solar Hero Section */
.solar-hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), 
                url('https://images.unsplash.com/photo-1509391366360-2e959784a276?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: solarHeroGlow 4s ease-in-out infinite alternate;
}

@keyframes solarHeroGlow {
    from { filter: brightness(1); }
    to { filter: brightness(1.1); }
}

.solar-hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: solarFadeInUp 1.5s ease-out;
}

@keyframes solarFadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solar-hero h1 {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: solarTextGlow 3s ease-in-out infinite alternate;
}

/* @keyframes solarTextGlow {
    from { text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); }
    to { text-shadow: 2px 2px 20px rgba(52, 152, 219, 0.8); }
} */

.solar-hero p {
    font-size: 1.4rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.solar-energy-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* .solar-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #3498db;
    border-radius: 50%;
    animation: solarFloat 6s linear infinite;
} */

/* @keyframes solarFloat {
    from {
        transform: translateY(100vh) translateX(-50px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    to {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
} */

/* Solar Company Section */
.solar-company-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.solar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.solar-company-content {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: solarSlideIn 1s ease-out;
}

@keyframes solarSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.solar-company-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.solar-company-image:hover {
    transform: scale(1.05);
}

.solar-company-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.solar-company-text {
    flex: 1;
    padding: 20px;
}

.solar-company-text h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.solar-company-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 2px;
}

.solar-company-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.solar-dewa-section {
    background: white;
    padding: 40px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: solarPulse 2s ease-in-out infinite alternate;
}

@keyframes solarPulse {
    from { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); }
    to { box-shadow: 0 15px 40px rgba(52, 152, 219, 0.2); }
}

.solar-dewa-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.solar-logo {
    width: 150px;
    height: 80px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.solar-logo:hover {
    transform: scale(1.05);
}



.solar-container h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    animation: solarBounceIn 1s ease-out;
}


.solar-app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.solar-app-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.solar-app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(52, 152, 219, 0.3);
}

.solar-app-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.solar-app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solar-app-image:hover img {
    transform: scale(1.1);
}

.solar-app-content {
    padding: 30px;
}

.solar-app-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #3498db;
}

.solar-app-content p {
    line-height: 1.6;
    opacity: 0.9;
}

/* Solar System Types Section */
.solar-systems {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.solar-system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.solar-system-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    animation: solarFadeInStagger 1s ease-out;
}

@keyframes solarFadeInStagger {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.solar-system-card:hover {
    transform: translateY(-15px);
}

.solar-system-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.solar-system-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.solar-system-image:hover img {
    transform: scale(1.1);
}

.solar-system-content {
    padding: 30px;
}

.solar-system-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.solar-system-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #3498db;
    border-radius: 2px;
}

.solar-system-content p {
    line-height: 1.7;
    color: #666;
}

/* Solar Loading Animation */

.solar-container h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    animation: solarBounceIn 1s ease-out;
}

.solar-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(135deg, #3498db, #2980b9); */
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: solarLoadingFade 2s ease-out 3s forwards;
}

@keyframes solarLoadingFade {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.solar-spinner {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: solarSpinLoader 1s linear infinite;
}

@keyframes solarSpinLoader {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .solar-hero h1 {
        font-size: 2.5rem;
    }

    .solar-hero p {
        font-size: 1.1rem;
    }

    .solar-company-content {
        flex-direction: column;
        gap: 30px;
    }

    .solar-applications h2 {
        font-size: 2rem;
    }

    .solar-app-grid,
    .solar-system-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .solar-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .solar-hero h1 {
        font-size: 2rem;
    }

    .solar-company-text h2 {
        font-size: 2rem;
    }

    .solar-app-grid {
        grid-template-columns: 1fr;
    }

    .solar-system-grid {
        grid-template-columns: 1fr;
    }

    .solar-app-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .solar-app-card {
        min-width: auto;
    }
}