/* Global font family */
* {
    font-family: 'Poppins', sans-serif;
}

/* Hide mobile images on desktop, show on mobile */
.mobile_image {
    display: none;
}

.main_text h1 {
    color: #d10000;
}

.charger_U5000_one .main_text .text_holder {
    color: #d10000;
}

.text-center {
    text-align: center !important;
}

.black {
    color: black;
}

.ps-5 {
    padding-left: 30px !important;
}

.pe-5 {
    padding-right: 30px !important;
}

.text-red {
    color: #d10000 !important;
}

.icon {
    height: 90px;
    width: auto;
}

.hero-text {
    position: absolute;
    z-index: 999;
    bottom: -60%;
    left: 0;
    height: 100%;
    width: 100%;
    top: unset;
    margin-top: 0;
}

.icon_holder.text-start.ps-5.black {
    padding-top: 200px;
}


.relative {
    position: relative;
}

.text-card.brown-bg.text-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 99;
    background: linear-gradient(45deg, #846243, #a68654);
    transform: translate(-50%, -50%);
    color: white;
    padding: 40px 60px;
    border-radius: 20px;
    font-family: sans-serif;
    max-width: 400px;
}

ul#navigation a {
    font-size: 17px;
}

/* Audio Section Styles */
.audio-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.audio-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 800px;
}

.sound-waves {
    position: relative;
    width: 100%;
    height: 200px;
    margin-bottom: 40px;
}

.wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.wave-1 {
    width: 100px;
    height: 100px;
    border-color: rgba(0, 255, 255, 0.8);
    animation-delay: 0s;
}

.wave-2 {
    width: 150px;
    height: 150px;
    border-color: rgba(138, 43, 226, 0.6);
    animation-delay: 0.4s;
}

.wave-3 {
    width: 200px;
    height: 200px;
    border-color: rgba(0, 255, 255, 0.4);
    animation-delay: 0.8s;
}

.wave-4 {
    width: 250px;
    height: 250px;
    border-color: rgba(138, 43, 226, 0.3);
    animation-delay: 1.2s;
}

.wave-5 {
    width: 300px;
    height: 300px;
    border-color: rgba(0, 255, 255, 0.2);
    animation-delay: 1.6s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.audio-text h2 {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.audio-text p {
    font-size: 20px;
    color: black;
    margin: 0;
    font-weight: 400;
}

/* MagSafe Section Styles */
.magsafe-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.split-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.image-half {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.image-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

.mode-label {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(74, 120, 140, 0.9);
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    z-index: 5;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.image-overlay {
    display: none;
}

.gym-image {
    background: none;
}

.golf-image {
    background: none;
}

.magsafe-content {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
    color: white;
    padding: 30px 60px;
    background: rgba(74, 120, 140, 0.85);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: none;
    max-width: 900px;
    width: auto;
}

.magsafe-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
    color: #ffffff;
}

.magsafe-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

/* Portable Section Styles */
.portable-section {
    position: relative;
    min-height: 100vh;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portable-section .main_img,
.portable-section .mobile_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.portable-section .main_img img,
.portable-section .mobile_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portable-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 120px 0 100px;
    gap: 60px;
}

.speed-text {
    flex: 1;
}

.speed-text h2 {
    font-size: 80px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1;
    text-align: left;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.speed-indicator {
    background: rgba(140, 140, 140, 0.35);
    padding: 22px 40px 28px 40px;
    border-radius: 14px;
    backdrop-filter: blur(20px);
    text-align: left;
    min-width: 300px;
    margin-right: 0;
}

.level-label {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 14px;
    font-weight: 400;
    opacity: 0.95;
}

.speed-bars {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    height: 65px;
}

.bar {
    width: 28px;
    background: #4A8FE2;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.bar-1 {
    height: 20%;
}

.bar-2 {
    height: 40%;
}

.bar-3 {
    height: 60%;
}

.bar-4 {
    height: 80%;
}

.bar-5 {
    height: 100%;
}

.speed-indicator p {
    font-size: 18px;
    color: #ffffff;
    margin: 0;
    font-weight: 400;
    line-height: 1.4;
}

/* Playtime Section Styles */
.playtime-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.playtime-section .main_img,
.playtime-section .mobile_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.playtime-section .main_img img,
.playtime-section .mobile_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: none;
}

.playtime-content {
    position: relative;
    z-index: 10;
    padding: 0 100px 80px 100px;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}

.playtime-content h2 {
    font-size: 72px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px 0;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.playtime-content p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.product-info-card {
    position: absolute;
    right: 580px;
    bottom: 180px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 24px 30px;
    border-radius: 16px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 350px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.dot-indicator {
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
}

.product-code {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.8;
}

.product-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.product-spec {
    font-size: 14px;
    opacity: 0.8;
    margin: 0;
    font-weight: 400;
}

/* Branding Section Styles */
.branding-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.branding-section .main_img,
.branding-section .mobile_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.branding-section .main_img img,
.branding-section .mobile_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.branding-content {
    position: absolute;
    top: 50%;
    left: 80px;
    transform: translateY(-50%);
    z-index: 10;
}

.branding-content h2 {
    font-size: 64px;
    font-weight: 700;
    color: #333333;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.text-card.green-bg.text-center {
    position: absolute;
    top: 25%;
    left: 50%;
    z-index: 99;
    background: linear-gradient(45deg, #73bea5, #75b8c1);
    transform: translate(-50%, -50%);
    color: white;
    padding: 40px 80px;
    border-radius: 20px;
    font-family: sans-serif;
}

.text-card h3 {
    font-size: 40px;
    margin: 0;
    line-height: 42px;
}

.text-card p {
    font-size: 20px;
}

.hero-text h3 {
    font-size: 50px;
    line-height: 60px;
    margin-bottom: 20px;
}

/* New hero layout styles to match the design */
.charger_U5000_one {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
}

.charger_U5000_one .main_img,
.charger_U5000_one .mobile_image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.charger_U5000_one .main_img img,
.charger_U5000_one .mobile_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 30px;
    padding: 0 60px 80px 60px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    z-index: 10;
}

.product-card {
    background: rgba(62, 100, 119, 0.9);
    color: #ffffff;
    padding: 20px 32px;
    border-radius: 12px;
    max-width: 360px;
    min-width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(8px);
}

.product-card .dot {
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -5px;
}

.product-code {
    font-size: 13px;
    opacity: 0.95;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 24px;
    margin: 0 0 6px 0;
    line-height: 1.2;
    font-weight: 700;
}

.product-sub {
    font-size: 14px;
    opacity: 0.95;
    margin: 0;
    line-height: 1.4;
}

.hero-heading {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.hero-heading h1,
.hero-text h1 {
    font-size: 50px;
    line-height: 1.15;
    margin: 0;
    font-weight: 800;
    color: #ffffff;
    text-align: right;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    font-family: 'Poppins', sans-serif;
    flex: 1;
    order: 2;
    background: linear-gradient(90deg, rgba(80, 120, 100, 0.4) 0%, rgba(100, 140, 130, 0.5) 50%, rgba(80, 120, 100, 0.4) 100%);
    padding: 25px 40px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
}

/* Position hero-text over the large hero image */
.charger_U5000_one .hero-text {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
}

.charger_U5000_one .ps-5.pe-5 {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* allow inner elements to receive pointer events */
.hero-content>* {
    pointer-events: auto;
}

/* Position icons on the left */
.icon_holder.text-right {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
    margin-top: 0;
    width: auto;
    pointer-events: auto;
    z-index: 10;
    order: 1;
}

.icon_holder ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
    align-items: center;
}

.icon_holder ul li {
    margin: 0;
}

.icon_holder ul li img {
    width: 50px;
    height: 50px;
    transition: transform 0.2s;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.icon_holder ul li img:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 1200px) {
    .hero-heading h1 {
        font-size: 52px;
    }

    .product-title {
        font-size: 22px;
    }

    .hero-content {
        padding: 0 40px 60px 40px;
        gap: 25px;
    }

    .icon_holder ul {
        gap: 15px;
    }

    .icon_holder ul li img {
        width: 45px;
        height: 45px;
    }
}

@media screen and (max-width: 767px) {

    /* Mobile layout - image on top, content below */
    .charger_U5000_one,
    .charger_U5000_two,
    .charger_U5000_three,
    .charger_U5000_four,
    .portable-section,
    .playtime-section,
    .branding-section,
    .audio-section,
    .magsafe-section {
        position: relative;
        min-height: auto !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
    }

    /* Show mobile image, hide desktop image */
    .main_img {
        display: none !important;
    }

    .mobile_image {
        display: block !important;
        position: relative !important;
        width: 100%;
        height: auto !important;
        order: 1;
    }

    .mobile_image img {
        width: 100%;
        height: auto !important;
        object-fit: contain !important;
        display: block;
    }

    /* Hero section - first section */
    .charger_U5000_one .hero-text {
        position: relative !important;
        top: auto !important;
        bottom: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        order: 2;
        padding: 30px 20px;
        background: white;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        padding: 0;
        height: auto;
        gap: 20px;
    }

    .product-card {
        max-width: 100%;
        min-width: auto;
        padding: 20px;
        border-radius: 10px;
        order: 1;
        margin-bottom: 20px;
        text-align: center;
    }

    .hero-heading {
        width: 100%;
        text-align: center;
        order: 2;
        align-items: center;
    }

    .hero-heading h1 {
        font-size: 28px;
        line-height: 1.2;
        color: #333 !important;
        text-shadow: none;
        text-align: center;
        background: none;
        padding: 0;
    }

    .icon_holder.text-right {
        position: relative !important;
        left: auto !important;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        order: 3;
    }

    .icon_holder ul {
        justify-content: center;
    }

    .icon_holder ul li img {
        width: 40px;
        height: 40px;
    }

    .icon_holder.black img {
        filter: none !important;
    }

    /* Audio section mobile styles */
    .audio-section .mobile_image {
        order: 1;
    }

    .audio-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        order: 2;
        padding: 40px 20px;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        text-align: center;
    }

    .sound-waves {
        height: 150px;
        margin-bottom: 30px;
    }

    .wave-1 {
        width: 60px;
        height: 60px;
    }

    .wave-2 {
        width: 90px;
        height: 90px;
    }

    .wave-3 {
        width: 120px;
        height: 120px;
    }

    .wave-4 {
        width: 150px;
        height: 150px;
    }

    .wave-5 {
        width: 180px;
        height: 180px;
    }

    .audio-text h2 {
        font-size: 28px;
    }

    .audio-text p {
        font-size: 16px;
    }

    /* MagSafe section mobile styles */
    .magsafe-section {
        min-height: auto !important;
        height: auto !important;
        display: flex;
        flex-direction: column;
    }

    .magsafe-section .mobile_image {
        display: block !important;
        position: relative !important;
        width: 100%;
        height: auto !important;
        order: 1;
    }

    .magsafe-section .mobile_image img {
        width: 100%;
        height: auto !important;
        object-fit: contain !important;
    }

    .split-image-container {
        display: none !important;
    }

    .mode-label {
        display: none;
    }

    .magsafe-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        order: 2;
        padding: 40px 20px;
        max-width: 100%;
        border-radius: 0;
        text-align: center;
        background: rgba(74, 120, 140, 0.9);
    }

    .magsafe-content h2 {
        font-size: 28px;
    }

    .magsafe-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Portable section mobile styles */
    .portable-section .mobile_image {
        order: 1;
    }

    .portable-content {
        position: relative !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        order: 2;
        text-align: center;
        max-width: 100%;
        padding: 40px 20px;
        background: white;
        border-radius: 0;
        flex-direction: column;
        gap: 30px;
    }

    .audio-content * {
        color: white !important;
    }

    .speed-text h2 {
        font-size: 36px;
        color: #333;
        text-shadow: none;
    }

    .speed-indicator {
        background: rgba(240, 240, 240, 0.95);
        min-width: auto;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .speed-bars {
        height: 60px;
        gap: 10px;
    }

    .bar {
        width: 28px;
    }

    .speed-indicator p {
        font-size: 16px;
    }

    /* Playtime section mobile styles */
    .playtime-section .mobile_image {
        order: 1;
    }

    .playtime-section {
        align-items: flex-end;
    }

    .playtime-content {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        order: 2;
        padding: 40px 20px;
        text-align: center;
        background: transparent;
    }

    .playtime-content h2 {
        font-size: 36px;
        color: #ffffff;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }

    .playtime-content p {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    /* Branding section mobile styles */
    .branding-section .mobile_image {
        order: 1;
    }

    .branding-content {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        order: 2;
        text-align: center;
        padding: 40px 20px;
        background: white;
    }

    .branding-content h2 {
        font-size: 36px;
        color: #333;
        text-shadow: none;
    }
}

.text-blue {
    color: #3d9df9;
}

.charger_U5000_one .main_text .icon_holder {
    padding: 700px 0 0 0;
    width: 580px;
    float: left;
}

.text-green {
    color: #bffe00 !important;
}

.invert {
    filter: invert(1);
}

.text-right {
    text-align: right !important;
}

.text-start {
    text-align: start;
}

.w-50 {
    width: 50%;
}

.ms-auto {
    margin-left: a;
}

.text-white {
    color: white !important;
}

.float-right {
    float: right !important;
}

.charger_U5000_four .main_text .text_holder {
    text-align: start;
    color: #c0ff00;
    padding-left: 0;
}

.charger_U5000_five .main_text {
    margin-top: -1040px;
}

.text-black {
    color: black;
}

.bg-white-50 {
    background-color: rgba(255, 255, 255, 0.5) !important;
    padding: 20px 0;
}

@media screen and (max-width: 767px) {
    .charger_U5000_one .main_text .icon_holder {
        padding: 0;
        width: 100%;
        float: left;
    }


    .text_holder.text-white.text-right.hero-heading {
        display: flex;
        flex-direction: column;
    }

    .speed-indicator * {
        color: black !important;
    }

    .playtime-content * {
        color: black !important;
    }

    .ps-5.pe-5 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    * {
        box-sizing: border-box;
    }

    .hero-text h1.text-white.bold {
        text-align: center;
    }

    .icon_holder.text-right.black li:nth-child(1) img {
        filter: invert(1) !important;
    }

    .icon_holder.text-right.black {
        width: 100%;
        margin-left: auto !important;
    }

    .sound-waves {
        display: none;
    }

    .portable-content {
        background: transparent;
    }

    h2 {
        font-size: 26px !important;
    }

    .footer,
    .copyright {
        width: 100%;
    }

    .copyright {
        padding-top: 20px;
    }

    .text-card {
        position: relative !important;
        transform: unset !important;
        border-radius: unset !important;
        max-width: 95% !important;
        top: unset !important;
        left: unset !important;
        padding: 20px !important;
        margin: 20px auto !important;
        float: left !important;
    }

    .text-card h3 {
        font-size: 24px !important;
        line-height: 24px !important;
    }

    .text-card p {
        font: 16px !important;
    }

    .hero-text {
        position: absolute;
        z-index: 999;
        bottom: -35%;
        left: 0;
        height: 100%;
        width: 100%;
        top: unset;
        margin-top: 0;
        font-size: 30px !important;
        text-align: left !important;
    }

    .hero-text h3 {
        font-size: 35px;
        line-height: 40px;
        margin-bottom: 0;
    }

    .hero .text_holder {
        text-align: left !important;
    }
}