/* Mobile Hero Section (< 1024px) */
#hero-mobile {
    min-height: 75vh;
    display: none;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 3rem;
    text-align: center;
    overflow: hidden;

}

@media (max-width: 1023px) {
    #hero-mobile {
        display: flex;
    }
}

/* Content Container */
.mobile-hero-content {
    position: relative;
    z-index: 5;
    max-width: 100%;
    margin: 0 auto;
}

/* Title area */
.mobile-hero-title {
    position: relative;
    z-index: 15;
    background: transparent;
}

/* Responsive content width */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-hero-content {
        max-width: 700px;
    }
    
    #hero-mobile {
        padding: 3rem 1.5rem;
    }
}

/* Title Styles */
.mobile-hero-title {
    font-size: clamp(2.2rem, 7vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
    text-align: left;
    background: rgba(0, 0, 0, 0.6);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}
.mobile-hero-title .mobile-brand-name {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

.mobile-hero-title .mobile-static-text {
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
}

/* Rotating Text */
.mobile-rotating-container {
    display: inline-block;
    position: relative;
    height: 2.4em;
    overflow: hidden;
    min-width: 350px;
    text-align: left;
    padding-left: 2rem;
    padding-bottom: 2rem;
}

/* Responsive rotating container */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-rotating-container {
        min-width: 450px;
        height: 2.4em;
    }
}

.mobile-rotating-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-weight: 700;
    white-space: normal;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.3);
    text-align: left;
    word-break: break-word;
    hyphens: auto;

}

/* Maximum contrast colors for dark background */
.mobile-rotating-text.sustainable { color: #00ff88; } /* Electric green */
.mobile-rotating-text.eco-friendly { color: #00ff00; } /* Pure lime */
.mobile-rotating-text.convenient { color: #00bfff; } /* Deep sky blue */
.mobile-rotating-text.community { color: #00ffff; } /* Cyan */
.mobile-rotating-text.iot { color: #ff00ff; } /* Magenta */

.mobile-rotating-text.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-rotating-text.exit {
    opacity: 0;
    transform: translateY(-100%);
}

/* Subtitle */
.mobile-hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: white;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: justify;
    position: relative;
    padding-top: 1rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.7);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.mobile-hero-subtitle::before {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--eco-green) 0%, var(--eco-accent) 100%);
    border-radius: 2px;
}

/* Responsive line width */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-hero-subtitle::before {
        width: 80px;
        background: linear-gradient(90deg, var(--eco-green) 0%, var(--eco-accent) 100%);
        top: -0.5rem;
    }
}

/* CTA */
.mobile-hero-cta {
    display: flex;
    justify-content: center;
}

.mobile-cta-button {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: var(--eco-green);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Responsive button padding */
@media (min-width: 768px) and (max-width: 1023px) {
    .mobile-cta-button {
        padding: 1.2rem 2.5rem;
    }
}

.mobile-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: white;
}

/* Background Images */
.mobile-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.mobile-hero-bg.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-hero-bg.exit {
    opacity: 0;
    transform: translateY(-100%);
}

/* Background images */
.mobile-hero-bg.sustainable {
    background-image: url('/asset/image/index/Hero/sustainable.png');
}

.mobile-hero-bg.eco-friendly {
    background-image: url('/asset/image/index/Hero/ecofriendly.png');
}

.mobile-hero-bg.convenient {
    background-image: url('/asset/image/index/Hero/Convenient.png');
}

.mobile-hero-bg.community {
    background-image: url('/asset/image/index/Hero/Community-Focused.png');
}

.mobile-hero-bg.iot {
    background-image: url('/asset/image/index/Hero/IoT-Enabled.png');
}

/* Background overlays */
.mobile-hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.mobile-hero-bg.sustainable::before {
    background: rgba(5, 111, 55, 0.7);
}

.mobile-hero-bg.eco-friendly::before {
    background: rgba(45, 143, 95, 0.7);
}

.mobile-hero-bg.convenient::before {
    background: rgba(75, 161, 248, 0.7);
}

.mobile-hero-bg.community::before {
    background: rgba(3, 74, 36, 0.7);
}

.mobile-hero-bg.iot::before {
    background: rgba(139, 92, 246, 0.7);
}

/* Progress Indicators */
.mobile-progress-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 15;
}

.mobile-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.mobile-progress-dot.active {
    background: white;
    transform: scale(1.2);
}