/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

.active-link {
    color: #f39c12;
    font-weight: 600;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}

.navbar {
    padding: 10px 0;
    /* reduced height */
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo1 {
    height: auto;
    /* adjusted size */
    width: 100px;
    object-fit: contain;
}


.logo span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f39c12;
}

/* Nav */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
    position: relative;
}

.nav-link:hover {
    color: #f39c12;
}
@media (max-width: 768px) {
    .logo1 {
        width: 75px;
    }
}
/* WhatsApp Button */
.whatsapp-nav {
    width: 45px;
    height: 45px;
    background: #25D366;
    border-radius: 50%;
    display: flex;

    text-decoration: none !important;

    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    transition: 0.3s;
}

.whatsapp-nav:hover {
    background: #1ebe5d;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
}

@media (max-width:992px) {

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0f1a24;
        padding: 90px 25px 30px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        transition: .35s ease;
        z-index: 1100;
    }

    .nav-menu.active {
        right: 0;
    }

    /* dark overlay */
    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 1050;
    }

    .hamburger {
        display: block;
        z-index: 1200;
    }

}




/* Slide controls */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 3;
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover,
.next:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dots-container {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.dot.active,
.dot:hover {
    background: #fff;
    transform: scale(1.2);
}

/* Swipe indicator for mobile */
.swipe-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    z-index: 3;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

/* Offers Section */
.offers {
    padding: 2rem 0;
    background: #f8f9fa;
}

.offers h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Grid */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

/* Card */
.offer-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* Image - Fully Visible */
.offer-card img {
    width: 100%;
    height: auto;
    /* IMPORTANT */
    object-fit: contain;
    /* No cropping */
    background: #fff;
    display: block;
}

/* Content */
.offer-content {
    padding: 1.5rem;
    flex-grow: 1;
}

.offer-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.offer-content p {
    color: #666;
    margin-bottom: 1rem;
}

/* Price */
.price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

.new-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #e74c3c;
}

/* Button */
.offer-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #f39c12;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: 0.3s ease;
}

.offer-btn:hover {
    background: #e67e22;
}

/* About Section */
.about {
    padding: 2rem 0;
    background: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    
}

.features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature i {
    color: #27ae60;
    font-size: 1.2rem;
}

.feature span {
    font-weight: 500;
    color: #333;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
    padding: 2rem 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    color: #f39c12;
    font-size: 1.5rem;
    margin-top: 0.3rem;
}

.contact-item h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-item p {
    color: #666;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f39c12;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: #f39c12;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #e67e22;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #f39c12;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f39c12;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #34495e;
    color: #fff;
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #f39c12;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Media Queries for Touch Devices */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .slideshow-hero {
        margin-top: 70px;
        /* Enhanced touch support for mobile */
        touch-action: pan-y;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide arrows on mobile for better swipe experience */
    .prev,
    .next {
        display: none;
    }

    /* Show swipe indicator on mobile */
    .swipe-indicator {
        display: block;
    }

    .slide-content {
        padding: 0 15px;
    }
}

/* Hide swipe indicator on desktop */
@media (min-width: 769px) {
    .swipe-indicator {
        display: none;
    }
}

/* Additional responsive styles - keeping your existing media queries */
@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }

    .slideshow-hero {
        height: 100vh;
    }

    .slide-content {
        max-width: 1000px;
    }

    .slide-content h1 {
        font-size: 3.5rem;
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

@media (min-width: 1281px) and (max-width: 1440px) {
    .container {
        max-width: 1280px;
    }

    .slide-content h1 {
        font-size: 3.2rem;
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        max-width: 1200px;
    }

    .slide-content h1 {
        font-size: 3rem;
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .about-content {
        gap: 2.5rem;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .slideshow-hero {
        margin-top: 72px;
        height: 80vh;
    }

    .slide-content {
        max-width: 800px;
    }

    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content p {
        font-size: 1.1rem;
    }

    .prev,
    .next {
        padding: 8px 12px;
        font-size: 1rem;
    }

    .offers {
        padding: 4rem 0;
    }

    .offers h2,
    .about-text h2,
    .contact h2 {
        font-size: 2.2rem;
        margin-bottom: 2.5rem;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .about {
        padding: 4rem 0;
    }

    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .about-image img {
        height: 350px;
    }

    .contact {
        padding: 4rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 601px) and (max-width: 768px) {
    .slideshow-hero {
        margin-top: 70px;
        height: 70vh;
    }

    .slide-content {
        max-width: 600px;
        padding: 0 30px;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .offers {
        padding: 3.5rem 0;
    }

    .offers h2,
    .about-text h2,
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }


    .about {
        padding: 3.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image img {
        height: 300px;
    }

    .contact {
        padding: 3.5rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (min-width: 481px) and (max-width: 600px) {
    .logo {
        font-size: 1.3rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .slideshow-hero {
        height: 60vh;
    }

    .slide-content {
        max-width: 500px;
        padding: 0 25px;
    }

    .slide-content h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .slide-content p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .offer-badge {
        padding: 4px 10px;
        font-size: 0.8rem;
        margin-bottom: 10px;
    }

    .cta-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .offers {
        padding: 3rem 0;
    }

    .offers h2,
    .about-text h2,
    .contact h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    

    .offer-content {
        padding: 1.2rem;
    }

    .about {
        padding: 3rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-image img {
        height: 250px;
    }

    .contact {
        padding: 3rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .footer {
        padding: 2.5rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (min-width: 321px) and (max-width: 480px) {
    .nav-menu li {
        margin: 0.5rem 0;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo i {
        font-size: 1.4rem;
        margin-right: 8px;
    }

    .slideshow-hero {
        height: 50vh;
    }

    .slide-content {
        max-width: 400px;
        padding: 0 20px;
    }

    .slide-content h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .offer-badge {
        padding: 3px 8px;
        font-size: 0.75rem;
        margin-bottom: 8px;
    }

    .cta-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .dots-container {
        bottom: 15px;
        gap: 8px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }

    .offers {
        padding: 2.5rem 0;
    }

    .offers h2,
    .about-text h2,
    .contact h2 {
        font-size: 1.6rem;
        margin-bottom: 1.5rem;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    

    .offer-content {
        padding: 1rem;
    }

    .offer-content h3 {
        font-size: 1.1rem;
    }

    .offer-content p {
        font-size: 0.9rem;
    }

    .new-price {
        font-size: 1.3rem;
    }

    .about {
        padding: 2.5rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .about-text p {
        font-size: 0.95rem;
    }

    .about-image img {
        height: 220px;
    }

    .feature {
        gap: 0.8rem;
    }

    .feature span {
        font-size: 0.9rem;
    }

    .contact {
        padding: 2.5rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .contact-item {
        margin-bottom: 1.5rem;
    }

    .contact-item h3 {
        font-size: 1rem;
    }

    .contact-item p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1.2rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 12px;
        font-size: 1rem;
    }

    .footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .footer-section h3 {
        font-size: 1rem;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        line-height: 35px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        top: 65px;
        padding: 1rem 0;
    }

    .nav-menu li {
        margin: 0.3rem 0;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo i {
        font-size: 1.3rem;
        margin-right: 6px;
    }

    .slideshow-hero {
        margin-top: 65px;
        height: 45vh;
    }

    .slide-content {
        max-width: 300px;
        padding: 0 15px;
    }

    .slide-content h1 {
        font-size: 1.5rem;
        margin-bottom: 0.4rem;
    }

    .slide-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .offer-badge {
        padding: 2px 6px;
        font-size: 0.7rem;
        margin-bottom: 6px;
    }

    .cta-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .dots-container {
        bottom: 10px;
        gap: 6px;
    }

    .dot {
        width: 6px;
        height: 6px;
    }

    .offers {
        padding: 2rem 0;
    }

    .offers h2,
    .about-text h2,
    .contact h2 {
        font-size: 1.4rem;
        margin-bottom: 1.2rem;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    

    .offer-content {
        padding: 0.8rem;
    }

    .offer-content h3 {
        font-size: 1rem;
    }

    .offer-content p {
        font-size: 0.8rem;
    }

    .old-price {
        font-size: 0.9rem;
    }

    .new-price {
        font-size: 1.2rem;
    }

    .offer-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .about {
        padding: 2rem 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .about-text p {
        font-size: 0.85rem;
    }

    .about-image img {
        height: 200px;
    }

    .feature {
        gap: 0.6rem;
    }

    .feature i {
        font-size: 1rem;
    }

    .feature span {
        font-size: 0.8rem;
    }

    .contact {
        padding: 2rem 0;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-item {
        margin-bottom: 1.2rem;
    }

    .contact-item i {
        font-size: 1.2rem;
    }

    .contact-item h3 {
        font-size: 0.9rem;
    }

    .contact-item p {
        font-size: 0.8rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .submit-btn {
        padding: 10px;
        font-size: 0.9rem;
    }

    .footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-section h3 {
        font-size: 0.9rem;
    }

    .footer-section ul li {
        margin-bottom: 0.3rem;
    }

    .footer-section ul li a {
        font-size: 0.8rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-links a {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 0.8rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) and (orientation: landscape) {
    .slideshow-hero {
        height: 100vh;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1rem;
    }

    .offers {
        padding: 2rem 0;
    }

    .about {
        padding: 2rem 0;
    }

    .contact {
        padding: 2rem 0;
    }
}

@media print {

    .header,
    .prev,
    .next,
    .dots-container,
    .hamburger,
    .swipe-indicator {
        display: none !important;
    }

    .slideshow-hero {
        margin-top: 0;
        height: auto;
        page-break-inside: avoid;
    }

    .slide {
        position: static;
        display: block !important;
        height: auto;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }

    .slide::after {
        display: none;
    }

    .slide-content {
        position: static;
        transform: none;
        color: #333;
        text-align: left;
        padding: 1rem 0;
    }

    body {
        color: #000;
        background: #fff;
    }

    .offers,
    .about,
    .contact {
        padding: 1rem 0;
    }
}

.solar-hero {
    padding: 20px 20px 60px;
}

.hero-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

/* LEFT */
.hero-left h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.hero-left p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 28px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* RIGHT */
.hero-right {
    position: relative;
}

/* Slideshow adapts to image size */
.slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    /* reduced */
}

/* Slides behave like normal images */
.slide {
    display: none;
    width: 100%;
    height: auto;
    /* key */
    object-fit: contain;
    /* key */
}

/* Active slide */
.slide.active {
    display: block;
}


/* Buttons (reuse yours) */
.btn {
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
}

.primary-btn {
    background: #f39c12;
    color: #fff;
}

.secondary-btn {
    border: 2px solid #f39c12;
    color: #f39c12;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }
}

/* Navigation arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    font-size: 1.8rem;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 5;
}

.slide-nav:hover {
    background: rgba(0, 0, 0, 0.65);
}

.slide-nav.prev {
    left: 8px;
}

.slide-nav.next {
    right: 8px;
}

/* Arrow Styling */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}

.nav:hover {
    background: #f1f1f1;
}

.prev {
    left: 12px;
}

.next {
    right: 12px;
}

.form-buttons {
    display: flex;
    gap: 1rem;
}

.form-buttons button,
.form-buttons a {
    flex: 1;
    text-align: center;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: #25D366;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.services-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 80vh;
    background: #f8f9fa;
}

/* Sidebar */
.services-sidebar {
    background: #1f2933;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.services-sidebar h3 {
    color: #fff;
    margin-bottom: 15px;
}

.service-tab {
    background: transparent;
    border: none;
    color: #ccc;
    text-align: left;
    padding: 12px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
    font-size: 15px;
}

.service-tab:hover {
    background: #2c3e50;
    color: #fff;
}

.service-tab.active {
    background: #f39c12;
    color: white;
}

/* Content */
.services-content {
    padding: 35px;
}

.service-panel {
    display: none;
}

.service-panel.active {
    display: block;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

@media(max-width:900px) {
    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }

    .service-tab {
        white-space: nowrap;
    }
}

/* GRID */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 25px;
}

/* CARD */
.solar-card {
    background: #ffffff;
    padding: 22px;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all .35s ease;
    position: relative;
    border: 1px solid #eee;
}

.solar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

/* Highlight Card */
.solar-card.highlight {
    border: 2px solid #f7b500;
    transform: scale(1.03);
}

/* Badge */
.badge {
    position: absolute;
    top: -10px;
    left: 18px;
    background: #f7b500;
    color: #000;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

/* Typography */
.solar-card h3 {
    margin-top: 10px;
    margin-bottom: 12px;
}

.specs {
    background: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 14px;
}

.solar-card ul {
    padding-left: 18px;
    margin: 8px 0 14px 0;
}

.backup {
    font-size: 13px;
    font-weight: 600;
    color: #1b7f3b;
}

/* CTA */
.service-cta {
    text-align: center;
    margin-top: 35px;
}

.contact-btn {
    background: #111;
    color: #fff;
    padding: 14px 34px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.contact-btn:hover {
    background: #f7b500;
    color: #000;
}

/* MOBILE IMPROVEMENT */
@media(max-width:600px) {
    .solar-card {
        padding: 18px;
    }

    .solar-card.highlight {
        transform: none;
    }
}

.form-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.form-modal.active {
    display: flex;
}

.modal-box {
    background: #fff;
    padding: 30px 35px;
    border-radius: 14px;
    width: 360px;
    text-align: center;
    animation: pop .25s ease;
}

@keyframes pop {
    from {
        transform: scale(.85);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.modal-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}

.email-btn {
    background: #f59e0b;
    color: white;
}

.whatsapp-btn {
    background: #22c55e;
    color: white;
}

.offer-actions {
    display: flex;
    justify-content: center;
    /* horizontal center */
    align-items: center;
    /* vertical alignment */
    gap: 18px;
    /* spacing between buttons */
    margin-top: 20px;
    flex-wrap: wrap;
    /* prevents overflow on small screens */
}

.gallery {
    padding: 60px 5%;
    align-items:center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

/* tablet landscape */
@media (max-width:1400px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* tablet portrait */
@media (max-width:1000px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* mobile */
@media (max-width:700px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* small mobile */
@media (max-width:420px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-item {
    overflow: hidden;
    border-radius: 14px;
    background: #ddd;
    aspect-ratio: 1 / 1;
    /* makes all boxes equal */
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

/* hover zoom */
.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-item::after {
    content: "View";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .3s;
    font-weight: 600;
}

.gallery-item:hover::after {
    opacity: 1;
}.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

@media (min-width:1400px) {

    .hero-container {
        max-width: 1300px;
        margin: auto;
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(6, 1fr);
    }

}

@media (max-width:1200px) {

    .hero-container {
        gap: 40px;
    }

    .hero-left h1 {
        font-size: 2.3rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

@media (max-width:992px) {

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #0f1a24;
        padding: 90px 25px 30px;
        display: flex;
        flex-direction: column;
        gap: 18px;
        transition: .35s ease;
        z-index: 1100;
    }

    .nav-menu.active {
        right: 0;
    }

    /* dark overlay */
    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 1050;
    }

    .hamburger {
        display: block;
        z-index: 1200;
    }

}







@media (max-width:768px) {

    .hero-left h1 {
        font-size: 2rem;
    }

    .hero-left p {
        font-size: .95rem;
    }

    

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width:576px) {


    @media (max-width:992px) {
        .gallery-grid {
            grid-template-columns: repeat(4, 1fr);
        }
    }

    @media (max-width:768px) {
        .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    

    .gallery-item {
        aspect-ratio: 1/1;
        overflow: hidden;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width:1100px) {

    .services-layout {
        grid-template-columns: 1fr;
    }

    /* sidebar becomes top scroll menu */
    .services-sidebar {
        position: relative;
        top: 0;
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding: 12px;
        background: #1f2a35;
        border-radius: 0 0 14px 14px;
    }

    .services-sidebar h3 {
        display: none;
    }

    .service-tab {
        white-space: nowrap;
        flex: 0 0 auto;
        padding: 10px 18px;
        border-radius: 10px;
    }

    /* 2 column cards */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:768px) {

    .panel-header h2 {
        font-size: 1.6rem;
    }

    .panel-header p {
        font-size: 0.95rem;
    }

    /* single column cards */
    .service-grid {
        grid-template-columns: 1fr;
    }

    .solar-card {
        padding: 18px;
    }

    /* buttons full width */
    .contact-btn,
    .btn.primary-btn {
        width: 100%;
        justify-content: center;
    }

    .service-cta {
        padding: 10px 0 25px;
    }

}

@media (max-width:480px) {

    .panel-header {
        text-align: left;
    }

    .badge {
        font-size: 12px;
        padding: 4px 10px;
    }

    .solar-card h3 {
        font-size: 1.25rem;
    }

    .solar-card ul {
        font-size: 0.9rem;
        padding-left: 18px;
    }

    .specs {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }
}

.services-sidebar::-webkit-scrollbar {
    height: 6px;
}

.services-sidebar::-webkit-scrollbar-thumb {
    background: #f39c12;
    border-radius: 20px;
}

/* TABLET FIX — VERY IMPORTANT */
@media (max-width:1024px) {

    .services-layout {
        display: block;
    }

    /* sidebar becomes top tabs */
    .services-sidebar {
        position: relative;
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 12px;
        gap: 10px;
        border-radius: 0 0 14px 14px;
    }

    /* remove desktop height behavior */
    .services-sidebar {
        height: auto;
    }

    /* buttons become horizontal pills */
    .service-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 18px;
    }

    /* content full width */
    .services-content {
        width: 100%;
        margin-top: 20px;
    }

}

@media (max-width:1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:640px) {
    .service-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:1024px) {
    .services-sidebar h3 {
        display: none;
    }
}

/* default (desktop) */
.hamburger {
    display: none;
}

/* tablet & mobile */
@media (max-width:1024px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }

    .hamburger span {
        width: 26px;
        height: 3px;
        background: #2c3e50;
        border-radius: 3px;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width:1024px) {

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 260px;
        background: #0f1a24;
        transition: .35s;
    }

    .nav-menu.active {
        right: 0;
    }

}

/* ===== MOBILE NAV SYSTEM ===== */
@media (max-width:1024px) {

    /* overlay */
    body.menu-open::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        backdrop-filter: blur(2px);
        z-index: 998;
    }

    /* side drawer */
    .nav-menu {
        position: fixed;
        top: 0;
        left: -280px;
        /* hidden off screen */
        width: 280px;
        /* fixed width — important */
        height: 100vh;
        background: #07141f;
        padding: 90px 25px 30px;
        display: flex;
        flex-direction: column;
        gap: 22px;
        transition: .35s ease;
        z-index: 999;
    }

    /* open state */
    .nav-menu.active {
        left: 0;
        
    }

    /* links visibility fix */
    .nav-menu .nav-link {
        color: #ffffff;
        font-size: 1.05rem;
        opacity: 1;
    }

    /* whatsapp icon spacing */
    .whatsapp-nav {
        margin-top: auto;
        font-size: 28px;
    }
}.slideshow {
    touch-action: pan-y; /* allow vertical scroll but detect horizontal swipe */
    user-select: none;
}@media (max-width:480px){
    .gallery-grid{
        
        margin: 0 auto;   /* hard center */
    }
}/* ================= LIGHTBOX FIXED ================= */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.lightbox.active {
    display: flex;
}

.lb-image {
    max-width: 92%;
    max-height: 90vh;
    object-fit: contain;
}

/* Navigation Buttons */
.lb-prev,
.lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 22px;
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.lb-prev:hover,
.lb-next:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-50%) scale(1.05);
}

.lb-prev { left: 25px; }
.lb-next { right: 25px; }

/* Close Button */
.lb-close {
    position: absolute;
    top: 20px;
    right: 25px;
    width: 42px;
    height: 42px;
    font-size: 20px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .25s;
}

.lb-close:hover {
    background: rgba(255,255,255,0.3);
}

/* Mobile Adjustments */
@media (max-width:768px) {
    .lb-prev,
    .lb-next {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lb-close {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

a:hover {
    transform: translateY(-3px);
}.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: #fff;
    height: 60px;
    width: 60px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    transition: width .35s ease;
    z-index: 9999;
    border-radius:50px;
   transition:all .3s ease;
   animation:pulseBtn 1.5s infinite;
}

.wa-icon {
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    transition: transform .3s ease;
}

.wa-text {
    white-space: nowrap;
    opacity: 0;
    padding-right: 18px;
    font-weight: 600;
    transition: opacity .25s ease;
}

/* Hover Effect */
.floating-whatsapp:hover {
    width: 190px;
}

.floating-whatsapp:hover .wa-text {
    opacity: 1;
}

.floating-whatsapp:hover .wa-icon {
    transform: translateX(6px);
}@media (max-width: 768px) {
    floating-whatsapp {
        display: none !important;
    }
    .wa-text {
        display: none;
    }
}.contact-map {
    margin-top: 20px;
}

.contact-map h3 {
    margin-bottom: 12px;
}

.contact-map iframe {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);}
.contact-map-F iframe {
    width: 100%;
    height: 100px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}@media (max-width: 768px) {
    .contact-map iframe {
        height: 220px;
    }
}
.gallery-load-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
        text-align: center;

    flex-wrap: wrap; /* important for mobile */
}

.gallery-load-controls button {
    padding: 12px 28px;
    border: none;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    min-width: 140px;
}

#loadMoreBtn {
    background: #25D366;
    color: #fff;
}

#hideBtn {
    background: #e74c3c;
    color: #fff;
}

.gallery-load-controls button:hover {
    transform: translateY(-3px);
}@media (max-width: 768px) {
    .gallery-load-controls {
        gap: 15px;
        margin-top: 30px;
    }

    .gallery-load-controls button {
        padding: 10px 22px;
        min-width: 120px;
    }
}.video-item {
    position: relative;
    cursor: pointer;
}

.gallery-video {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.25);
    border-radius: 12px;
    transition: all .3s ease;
}

.video-overlay i {
    font-size: 55px;
    color: white;
    opacity: 0.85;
    transition: transform .3s ease;
}

.video-item:hover .video-overlay {
    background: rgba(0,0,0,0.4);
}

.video-item:hover .video-overlay i {
    transform: scale(1.15);
}.lb-video {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
}



/* ================================
   OUR CUSTOMERS SECTION
================================= */

.our-customers {
    padding: 90px 20px;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #2c3e50;
}

.section-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 60px;
}

.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.customer-card {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-height: 200px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.customer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.customer-logo {
    height: 90px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-logo img {
    max-height: 75px;
    max-width: 100%;
    object-fit: contain;
}

.customer-logo.no-image {
    background: #edf2f7;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    margin: 0 auto 18px;
    font-weight: 600;
    font-size: 22px;
    color: #2c3e50;
}

.customer-name {
    font-weight: 600;
    font-size: 15px;
    color: #2c3e50;
}

.installation-highlight {
    text-align: center;
    background: #34495e;
    padding: 40px;
    border-radius: 14px;
    color: white;
    margin-top:20px;
}

.installation-highlight h3 {
    font-size: 1.9rem;
    font-weight: 700;
}

/* ================================
   MOBILE RESPONSIVE
================================= */

@media (max-width: 768px) {

    .section-title {
        font-size: 1.9rem;
    }

    .customer-card {
        padding: 25px 15px;
        min-height: 170px;
    }

    .installation-highlight h3 {
        font-size: 1.4rem;
    }
    .installation-highlight {
        padding:20px;
        margin-top:10px;
    }
.customer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    
}
}/* ================================
   LARGE SCREENS (1200px+)
================================= */
@media (min-width: 1200px) {
    .customer-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 35px;
    }
}

/* ================================
   LAPTOPS (992px – 1199px)
================================= */
@media (max-width: 1199px) {
    .customer-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 30px;
    }
}

/* ================================
   TABLETS (768px – 991px)
================================= */
@media (max-width: 991px) {
    .customer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

/* ================================
   MOBILE (Below 768px)
================================= */
@media (max-width: 767px) {
    .customer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .customer-card {
        padding: 10px 15px;
        min-height: 160px;
    }

    .customer-name {
        font-size: 14px;
    }
}



.customer-actions {
    text-align: center;
    margin-top: 40px;
}

.btn-load,
.btn-hide {
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin: 0 10px;
    transition: .3s ease;
}

.btn-load {
    background: #2ecc71;
    color: white;
}

.btn-load:hover {
    background: #27ae60;
}

.btn-hide {
    background: #e74c3c;
    color: white;
}

.btn-hide:hover {
    background: #c0392b;
}

@media (max-width: 768px) {
    .customer-actions {
        margin-top: 30px;
    }

    .btn-load,
    .btn-hide {
        padding: 10px 22px;
        font-size: 14px;
        margin: 8px 5px;
    }
}