/* ============================================
   HOMEPAGE ENHANCEMENTS CSS
   ALL NEW CLASS NAMES - ZERO CONFLICTS
   ============================================ */

/* Hero Carousel Styles (NEW) */

.homepage-hero-carousel {
    position: relative;
    width: 100%;
    /* INCREASED HEIGHT FOR BETTER LAPTOP VIEW */
    height: 630px; 
    overflow: hidden;
}

.hero-carousel-slide {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}
.hero-carousel-slide1 {
   height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/ourservices/electromechanical.webp);
}

.hero-carousel-slide2 {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/slider1e.jpg);
}
.hero-carousel-slide3 {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/ourservices/smarthome.webp);
}
.hero-carousel-slide4 {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/slider3.jpg);
}

.hero-carousel-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(255,107,53,0.3) 100%);
}

.hero-carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-carousel-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    animation: heroFadeInUp 0.8s ease;
}

.hero-carousel-text {
    font-size: 20px;
    margin-bottom: 30px;
    animation: heroFadeInUp 1s ease;
}

.hero-carousel-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    animation: heroFadeInUp 1.2s ease;
    flex-wrap: wrap;
}

@keyframes heroFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-hero-slides .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    transition: all 0.3s;
}

.main-hero-slides .owl-nav button:hover {
    background: rgba(255,107,53,0.9) !important;
}

.main-hero-slides .owl-nav .owl-prev {
    left: 20px;
}

.main-hero-slides .owl-nav .owl-next {
    right: 20px;
}

.main-hero-slides .owl-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.main-hero-slides .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    display: inline-block;
    margin: 0 5px;
    border-radius: 50%;
}

.main-hero-slides .owl-dots .owl-dot.active span {
    background: #ff6b35;
    width: 30px;
    border-radius: 10px;
}

/* Brands Showcase Styles (NEW) */
.homepage-brands-showcase {
    padding: 60px 0;
    background: white;
}

.brands-showcase-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a1a1a;
}

.brand-showcase-item {
    padding: 20px;
    text-align: center;
}

.brand-showcase-logo {
    width: 180px;
    height: 100px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s;
    font-size: 14px;
    color: #999;
    text-align: center;
    padding: 15px;
}

.brand-showcase-logo:hover {
    border-color: #ff6b35;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.brands-carousel-slider .owl-stage-outer {
    padding: 10px 0;
}

/* Mobile Navigation Enhancements (MOBILE ONLY) */
@media (max-width: 768px) {
    /* Mobile mega menu scroll enhancement */
    .megamenu-container {
        max-height: 400px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .megamenu-container::-webkit-scrollbar {
        width: 6px;
    }

    .megamenu-container::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .megamenu-container::-webkit-scrollbar-thumb {
        background: #ff6b35;
        border-radius: 3px;
    }
    .mlogo{
    height: 50px;
    width: 50px;
}

    /* Hero carousel mobile adjustments */
    .homepage-hero-carousel {
        height: 500px;
    }

    .hero-carousel-slide {
        height: 500px;
    }
    .hero-carousel-slide1 {
   height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/ourservices/electromechanical.webp);
}
.hero-carousel-slide2 {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/ourservices/slider2.jpeg);
}
.hero-carousel-slide3 {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/ourservices/slider3.jpeg);
}
.hero-carousel-slide4 {
    height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-image:url(./images/ourservices/slider4.jpeg);
}
    

    .hero-carousel-title {
        font-size: 32px;
        padding-top: 0px;
        padding-bottom: 15px;
    }

    .hero-carousel-text {
        font-size: 16px;
        padding-top: 19px;
       
    }

    .hero-carousel-buttons {
        flex-direction: column;
        width: 100%;
        margin: auto;
        display:grid;
        padding-top: 40px;

    }

    .hero-carousel-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    /* Footer mobile enhancements */
    .accordion-content {
        max-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: max-height 0.4s ease;
    }

    .accordion-content.open {
        max-height: 600px;
    }

    .accordion-content::-webkit-scrollbar {
        width: 6px;
    }

    .accordion-content::-webkit-scrollbar-track {
        background: #2a2a2a;
    }

    .accordion-content::-webkit-scrollbar-thumb {
        background: #ff6b35;
        border-radius: 3px;
    }
}

@media (max-width: 480px) {
    .hero-carousel-title {
        font-size: 28px;
    }

    .hero-carousel-text {
        font-size: 14px;
    }

    .brands-showcase-title {
        font-size: 28px;
    }

    .brand-showcase-logo {
        width: 150px;
        height: 80px;
        font-size: 12px;
    }
    .mlogo{
    height: 50px;
    width: 50px;
}
}

/* Desktop - All original styles remain unchanged */
@media (min-width: 769px) {
    /* Desktop navigation and footer stay exactly as uploaded */
    /* NO changes to desktop experience */
}
