/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2D5E3F;
    --secondary-color: #003D7A;
    --accent-color: #FFD700;
    --gold-color: #FFC700;
    --dark-color: #1a1a1a;
    --light-color: #f9fafc;
    --text-color: #2c3e50;
    --success-color: #25D366;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafc 100%);
    color: var(--text-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--accent-color);
}

.navbar {
    width: 100%;
    background: transparent;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

.logo-img {
    height: 48px;
    width: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    color: var(--secondary-color);
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 0;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 8px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--secondary-color);
    margin: 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section with Slider */
.hero {
    background: var(--dark-color);
    color: white;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slider-container {
    width: 100%;
    position: relative;
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    height: 600px;
}

.slider {
    display: flex;
    width: 100%;
    position: relative;
    transition: none;
}

.slide {
    min-width: 100%;
    position: absolute;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    width: 100%;
    left: 0;
    top: 0;
}

.slide img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.slide.active {
    display: flex;
    opacity: 1;
    z-index: 10;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 10px;
    max-width: 700px;
    backdrop-filter: blur(8px);
    margin: 0 auto;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.slide-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
    transition: background 0.3s ease;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-dots {
    text-align: center;
    padding: 20px 0;
    background: var(--light-color);
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--accent-color);
}

/* CTA Button */
.cta-btn {
    background: linear-gradient(135deg, var(--accent-color), var(--gold-color));
    color: #1a1a1a;
    padding: 12px 35px;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.cta-btn:hover {
    background: linear-gradient(135deg, var(--gold-color), var(--accent-color));
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #000;
}

.cta-btn.large {
    padding: 16px 50px;
    font-size: 1.15rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background: white;
}

.about h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: #555;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.info-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f9fafc 0%, #eef5f0 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--accent-color);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 35px rgba(45, 122, 92, 0.15);
    border-top-color: var(--primary-color);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.service-card ul {
    list-style: none;
}

.service-card ul li {
    padding: 0.5rem 0;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.service-card ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Products Section */
.products {
    padding: 5rem 0;
    background: white;
}

.products h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.product-category {
    margin-bottom: 4rem;
}

.product-category h3 {
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-category h3 i {
    color: var(--primary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: white;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-card h4 {
    padding: 1.5rem 1rem 0.5rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.product-card ul {
    list-style: none;
    padding: 0.5rem 1rem 1.5rem;
}

.product-card ul li {
    padding: 0.4rem 0;
    color: #666;
    font-size: 0.95rem;
    padding-left: 20px;
    position: relative;
}

.product-card ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.inverters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.inverter-item {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(45, 122, 92, 0.2);
    transition: all 0.3s ease;
}

.inverter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.inverter-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.component-item {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-color);
}

.component-item h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.component-item ul {
    list-style: none;
}

.component-item ul li {
    padding: 0.5rem 0;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.component-item ul li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.process {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--secondary-color), #005DB8);
    color: white;
}

.process h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.process h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Why Choose Us Section */
.why-choose {
    padding: 5rem 0;
    background: white;
}

.why-choose h2 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature:hover {
    background: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature:hover i {
    color: var(--dark-color);
}

.feature h4 {
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), #2DA878);
    color: white;
    text-align: center;
}

.contact h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.contact > .container > p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-info-card {
    background: rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-info-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Team Section */
.team {
    display: none;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-contact {
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.footer-contact span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 99;
}

.whatsapp-btn:hover {
    background: #1dbc41;
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 3px solid var(--accent-color);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .nav-menu a:hover {
        background: var(--light-color);
        color: var(--accent-color);
        text-decoration: none;
        text-underline-offset: 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo-img {
        height: 40px;
        width: 40px;
    }

    .nav-container {
        gap: 10px;
    }

    .slide-content {
        padding: 2rem;
    }

    .slide-content h1 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .slide-content h1 {
        font-size: 1.5rem;
    }

    .services h2, .products h2, .process h2, .why-choose h2, .contact h2 {
        font-size: 1.8rem;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .product-category h3 {
        font-size: 1.4rem;
    }

    .prev, .next {
        padding: 10px 15px;
        font-size: 1.2rem;
    }

    .nav-menu a {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1rem;
    }

    .logo-img {
        height: 35px;
        width: 35px;
    }

    .header {
        padding: 0.8rem 0;
    }

    .nav-container {
        padding: 0 15px;
    }
}
