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

    }

    html,
    body {
        width: 100%;
        overflow-x: hidden;
        /* Prevent horizontal scrolling */
    }

    body {
        margin: 0 auto;
        /* Center the body */
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        color: var(--text-dark);
        scroll-behavior: smooth;
        line-height: 1.6;
    }



    .hero-content {
            position: absolute;
    width: 90%;
    height: 100px;
    /* max-width: 90%; */
    /* margin-bottom: -135px; */
    top: 11%;
    display: flex;
    justify-content: space-between;
    }

    .hero-headline {
        color: #3c3c3c;
        font-size: 45px;
        font-weight: 700;
            line-height: 2.2;

        letter-spacing: 1px;
        margin: 0;
    }

    .hero-quote {
        font-weight: 400;
        font-style: normal;
        color: #3C3C3C;
        font-size: 30px;
        font-style: italic;
        text-align: right;
    padding-top: 28px;
    }

    @media (max-width: 768px) {
           .hero-content {
        position: relative;
        width: 90%;
        height: 111px;
        /* max-width: 90%; */
        /* margin-bottom: -135px; */
        top: 7%;
        display: flex
;
        justify-content: space-between;
    }

        .hero-section {
            padding: 15px;
            min-height: 100px;
        }

        .hero-content {
            flex-direction: column;
            align-items: center;
        }

        .hero-headline {
            font-size: 2.5rem;
            text-align: center;
        }

        .hero-quote {
            font-size: 1.125rem;
            text-align: center;
        }
    }

    @media (max-width: 1024px) {
        .hero-headline {
            font-size: 3.125rem;
        }

        .hero-quote {
            font-size: 1.25rem;
        }
    }


    @media (max-width: 480px) {
        .hero-headline {
            font-size: 2rem;
        }

        .hero-quote {
            font-size: 16px;
        }
    }




    /* Mobile devices (max-width: 768px) */
    @media screen and (max-width: 768px) {
        .devices-container {
            flex-direction: column;
            align-items: center;
        }

        .devices-right {
            order: -1;
            /* Moves devices-right to the top */
            text-align: center;
            margin-bottom: 20px;
            /* Space between devices-right and smart-home-section */
        }

        #smart-home-section {
            width: 100%;
        }

        .devices-description {
            max-width: 100%;
            padding: 0 20px;
        }

        .devices-tagline {
            font-size: 20px;
        }

        .devices-text {
            font-size: 14px;
        }
    }




    .spec-labels {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
    }

    .spec-label-list {
        list-style: none;
        padding: 0;
        margin-top: 293px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        /* Align items to the start for consistent icon positioning */
    }

    .spec-label-list li {
        display: flex;
        align-items: center;
        font-size: 1rem;
        color: #333;
        margin: 0;
        width: 100%;
        /* Ensure all list items take the same width for alignment */
    }

    .spec-icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-right: 10px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        flex-shrink: 0;
        /* Prevent the icon from shrinking */
    }

    /* Ensure the img inside spec-icon is properly sized */
    .spec-icon img {
        width: 24px;
        height: 24px;
        vertical-align: middle;
    }

    /* ========== COLOR PALETTE ========== */
    :root {
        --primary-color: #2b6cb0;
        /* Professional blue */
        --secondary-color: #1a4971;
        /* Darker blue for hover */
        --accent-color: #68d391;
        /* Green accent for highlights */
        --text-dark: #1a202c;
        /* Near-black for text */
        --text-light: #f7fafc;
        /* Off-white for light backgrounds */
        --background-dark: #1a202c;
        /* Dark background for navbar/footer */
        --background-light: #edf2f7;
        /* Light background for sections */
        --gradient-start: #e2e8f0;
        /* Soft gradient start */
        --gradient-end: #f7fafc;
        /* Soft gradient end */
    }

    /* ========== BASE STYLES ========== */
    body {
        margin: 0;
        padding: 0;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        color: var(--text-dark);
        overflow-x: hidden;
        scroll-behavior: smooth;
        line-height: 1.6;
    }

    /* ========== LOGO STYLES ========== */
    .logo1 {
        height: 32px;
        position: fixed;
        top: 14px;
        left: 24px;
        display: none;
        z-index: 102;
        transition: transform 0.3s ease;
    }

    .logo1:hover {
        transform: scale(1.05);
    }

    #logo {
        position: fixed;
        top: 14px;
        left: 24px;
        height: 32px;
        width: auto;
        z-index: 101;
        display: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    #logo:hover {
        transform: scale(1.05);
        opacity: 0.95;
    }

    .scrolled #logo {
        display: block;
    }

    /* ========== LOGO STYLES ========== */
    .navbar-logo {
        position: relative;
        top: 50%;
        left: 0;
        height: 32px;
        display: flex;
        filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(748%) hue-rotate(177deg) brightness(94%) contrast(93%);
        /* Approximates #181818 */
        align-items: center;
    }

    .navbar-logo img {
        height: 100%;
        width: auto;
        transition: transform 0.3s ease;
        filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(748%) hue-rotate(177deg) brightness(94%) contrast(93%);
        /* Approximates #181818 */
    }

    .navbar-logo img:hover {
        transform: scale(1.05);
    }

    .logo1 {
        height: 32px;
        position: fixed;
        top: 14px;
        left: 24px;
        display: none;
        z-index: 102;
        transition: transform 0.3s ease;
        filter: brightness(0) saturate(100%) invert(8%) sepia(10%) saturate(748%) hue-rotate(177deg) brightness(94%) contrast(93%);
        /* Approximates #181818 */
    }

    .logo1:hover {
        transform: scale(1.05);
    }

    /* ========== NAVBAR ========== */
    #navbar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        border-bottom: 1px solid rgba(224, 224, 224, 0.8);
        height: 60px;
        z-index: 100;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
        width: 100%;
        display: flex;
        align-items: center;
        backdrop-filter: blur(5px);
        transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }

    #navbar:hover {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    #navbar ul {
        list-style: none;
        margin: 0 auto;
        padding: 0 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 1280px;
        gap: 16px;
    }

    #navbar li {
        flex: none;
    }

    #navbar a {
        text-decoration: none;
        color: #181818;
        font-size: 0.95rem;
        font-weight: 500;
        padding: 12px 16px;
        line-height: 64px;
        transition: color 0.3s ease, background-color 0.3s ease;
        border-radius: 6px;
        position: relative;
    }

    #navbar a:hover {
        color: rgb(71, 160, 233);
        background-color: rgba(255, 255, 255, 0.05);
    }

    #navbar a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 12px;
        left: 50%;
    }

    #navbar a:hover::after {
        width: 50%;
        left: 25%;
    }

    /* ========== HAMBURGER MENU ========== */
    #hamburger {
        display: none;
        position: fixed;
        top: 20px;
        right: 24px;
        width: 28px;
        height: 20px;
        z-index: 1000;
        cursor: pointer;
    }

    #hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #181818;
        margin: 4px 0;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    #hamburger:hover span {
        background-color:rgb(71, 160, 233);
    }

    #hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color:rgb(71, 160, 233);
    }

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

    #hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color:rgb(71, 160, 233);
    }

    /* ========== RESPONSIVE STYLES ========== */
    @media (max-width: 1024px) {
        #navbar ul {
            gap: 8px;
        }

        #navbar a {
            font-size: 0.9rem;
            padding: 8px 12px;
        }
    }

    @media (max-width: 768px) {
        #navbar {
            border-bottom: none;
            box-shadow: none;
        }

        .navbar-logo {
            display: none;
        }

        .logo1 {
            display: block;
        }

        #hamburger {
            display: block;
        }

        #navbar ul {
            position: fixed;
            top: 60px;
            left: 0;
            width: 100%;
            flex-direction: column;
            background-color: #ffffff;
            padding: 0;
            margin: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            border: none;
        }

        #navbar ul.active {
            max-height: 400px;
            padding: 10px 0;
        }

        #navbar li {
            width: 100%;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
        }

        #navbar ul.active li {
            opacity: 1;
            transform: translateY(0);
        }

        #navbar a {
            font-size: 1rem;
            padding: 18px 1px;
            line-height: normal;
            border-bottom: none;
            margin: 0;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #181818;
        }
    }

    /* ========== HAMBURGER MENU ========== */
    #hamburger {
        display: none;
        position: absolute;
        top: 20px;
        right: 24px;
        width: 28px;
        height: 20px;
        z-index: 1000;
        cursor: pointer;
    }

    #hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #000000;
        margin: 4px 0;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    #hamburger:hover span {
        background-color:rgb(71, 160, 233);
    }

    #hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background-color:rgb(71, 160, 233);
    }

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

    #hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background-color:rgb(71, 160, 233);
    }

    /* ========== FIRST PAGE ========== */
    #first-page {
        position: relative;
        height: 100vh;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        margin-bottom: 0;
    }

    .smart-home-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
            padding-top: 24vh;

        max-width: 1800px;
    }

    .smart-home-content {
        flex: 1;
        padding-right: 20px;
    }

    .atomic-os-section {
        text-align: center;
    }

    .atomic-os-section h2 {
        font-size: 40px;
        font-weight: bold;
        color: #333;
        margin-bottom: 10px;
    }

    .atomic-os-section .quote {
        font-size: 30px;
        color: #666;
        line-height: 1.5;
    }

    .smart-home-image-container {
        flex: 1;
        display: flex;
        justify-content: flex-end;
    }

    .smart-home-image {
        max-width: 100%;
        height: auto;
    }

    /* Responsive adjustments for smaller screens */
    @media (max-width: 480px) {
        .smart-home-image-container {
            max-width: 100%;
            /* Full width on small screens */
            padding: 0 10px;
            /* Optional padding for spacing */
        }

        .smart-home-image {
            width: 100%;
            height: auto;
            max-width: 400px;
            /* Prevent over-scaling on small screens */
            margin: 0 auto;
            /* Center image */
        }
    }

    /* High-DPI display optimization */
    @media (-webkit-min-device-pixel-ratio: 2),
    (min-resolution: 192dpi) {
        .smart-home-image {
            image-rendering: auto;
            /* Let browser optimize for retina displays */
        }
    }


    /* #second-page,
    #third-page,
    #fourth-page,
    #fifth-page,
    #sixth-page,
    #seventh-page,
    #eighth-page,
    #ninth-page,
    #tenth-page,
    #eleventh-page {
        margin-top: 3vh;
    } */

    /* modified */
    /* #second-page {
        position: relative;
        width: 100%;
        min-height: 100vh;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        background-color: rgb(255, 255, 255);
    } */




    /* Second Page - Devices Section */
    #second-page {
        position: relative;
        width: 100%;
        min-height: 70vh;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        background-color: rgb(255, 255, 255);
        overflow-x: hidden;
        /* Prevent horizontal overflow */
    }

    #second-page .devices-container {
        display: flex;
        flex-direction: row;
        align-items: anchor-center;
        width: 100%;
        max-width: 1425px;
        margin: 0 auto;
        box-sizing: border-box;
        gap: 167px;
    }

    #smart-home-section {
        position: relative;
        width: 100%;
        min-height: auto;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        background-color: transparent;
        flex: 1;
        max-width: 50%;
        /* Adjusted to fit alongside .devices-right */
        margin: 0;
        padding: 0;
    }

    #smart-home-section .devices-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        /* 3 columns for desktop */
        width: 100%;
        /* Use full width of the parent */
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        gap: 20px;
    }

    .devices-description {
        /* padding-top: 13vh; */
        max-width: 100%;
        width: 86vh;
    }

    .device-item {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        /* Make width responsive */
        max-width: 150px;
        /* Limit max size */
        height: 150px;
        background-color: #ffffff;
        border: 1px solid #000000;
        border-radius: 10px;
        transition: transform 0.3s ease;
        box-sizing: border-box;
    }

    .device-item:hover {
        transform: translateY(-5px);
    }

    .device-item.grey {
        background-color: #d3d3d3;
    }

    .device-item.grey .device-icon {
        opacity: 0.5;
    }

    .device-item .device-icon {
        opacity: 1;
    }

    .device-item img.device-icon {
        width: 69px;
        height: 72px;
        object-fit: contain;
        margin-bottom: 29px;
        margin-left: 13px;
    }

    .device-item p {
        font-size: 16px;
        color: #333;
        font-weight: 600;
        padding-left: 1vh;
        margin: 0;
        text-align: center;
    }

    .status-icon {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 30px;
        height: 36px;
        cursor: pointer;
    }

    .devices-right {
        flex: 1;
        max-width: 50%;
        /* Adjusted to fit alongside #smart-home-section */
        text-align: center;
    }

    .devices-title {
        font-size: 40px;
        text-align: center;
        font-weight: 600;
        padding-top: 3vh;
        color: #000;
        line-height: 1.4;
    }

    .devices-tagline {
        font-size: 35px;
        font-weight: 600;
        padding-top: 5vh;
        /* Reduced padding to avoid excessive spacing */
        color: #000;
        margin-bottom: 20px;
        font-style: normal;
        line-height: 1.2;
    }

    .devices-text {
        font-size: 30px;
        color: #555;
        line-height: 1.6;
        text-align: center;
        width: 100%;
        /* Use full width instead of fixed 105vh */
        margin: 0 auto;
        /* Center the text */
    }


    /* Responsive Adjustments for Second Page */
    @media (max-width: 1024px) {
        #second-page .devices-container {
            padding: 60px 30px;
            gap: 30px;
        }

        #smart-home-section {
            max-width: 45%;
        }

        #smart-home-section .devices-container {
            grid-template-columns: repeat(2, 1fr);
            /* 2 columns for tablet */
            gap: 15px;
        }

        .device-item {
            max-width: 140px;
            height: 140px;
        }

        .device-item img.device-icon {
            width: 60px;
            height: 63px;
            margin-bottom: 20px;
            margin-left: 10px;
        }

        .device-item p {
            font-size: 1.2rem;
        }

        .status-icon {
            width: 28px;
            height: 34px;
        }

        .devices-right {
            max-width: 55%;
            padding-right: 0;
        }

        .devices-title {
            font-size: 2.2rem;
            margin-bottom: 20px;
        }

        .devices-tagline {
            font-size: 1.8rem;
            padding-top: 3vh;
        }

        .devices-text {
            font-size: 1.2rem;
            max-width: 500px;
        }
    }

    @media (max-width: 768px) {
        #second-page {
            min-height: auto;
            padding: 40px 0;
        }

        #second-page .devices-container {
            flex-direction: column;
            align-items: center;
            padding: 20px;
            gap: 20px;
        }

        #smart-home-section {
            max-width: 100%;
            order: 2;
        }

        #smart-home-section .devices-container {
            grid-template-columns: repeat(2, 1fr);
            /* 2 columns for mobile */
            gap: 10px;
            width: 100%;
        }

        .device-item {
            max-width: 120px;
            height: 120px;
        }

        .device-item img.device-icon {
            width: 50px;
            height: 52px;
            margin-bottom: 15px;
            margin-left: 8px;
        }

        .device-item p {
            font-size: 1rem;
        }

        .status-icon {
            width: 24px;
            height: 30px;
        }

        .devices-right {
            order: 1;
            max-width: 100%;
            margin-bottom: 20px;
        }

        .devices-title {
            font-size: 1.8rem;
        }

        .devices-tagline {
            font-size: 1.5rem;
            padding-top: 2vh;
        }

        .devices-text {
            font-size: 1rem;
            max-width: 90%;
        }
    }

    @media (max-width: 480px) {
        #second-page {
            padding: 30px 0;
        }

        #second-page .devices-container {
            padding: 20px 10px;
            gap: 15px;
        }

        #smart-home-section .devices-container {
            grid-template-columns: 1fr;
            /* 1 column for small screens */
            gap: 8px;
            width: 100%;
        }

        .device-item {
            max-width: 100px;
            height: 100px;
        }

        .device-item img.device-icon {
            width: 40px;
            height: 42px;
            margin-bottom: 10px;
            margin-left: 6px;
        }

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

        .status-icon {
            width: 20px;
            height: 24px;
            top: 8px;
            right: 8px;
        }

        .devices-title {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .devices-tagline {
            font-size: 1.2rem;
            padding-top: 1vh;
        }

        .devices-text {
            font-size: 0.9rem;
            max-width: 100%;
        }
    }

    /* Fourth Page - Device Compatibility Section */

    /* Fifth Page - Graph Section */
    #fifth-page {
        position: relative;
        width: 100%;
        /* min-height: 23vh; */
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 80px 20px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .graph-section-container {
        width: 100%;
        max-width: 1200px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .graph-content {
        margin-bottom: 60px;
        max-width: 800px;
    }

    .graph-content h2 {
        font-size: 35PX;
        font-weight: 600;
        color: #333;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .graph-subtitle {
        font-size: 1.1rem;
        color: #555;
        line-height: 1.6;
        margin: 0 auto;
    }



    .graph-image-container {
        width: 87%;
        max-width: 775px;
        border-radius: 12px;
        overflow: hidden;
    }

    .graph-image {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        .graph-content h2 {
            font-size: 2.2rem;
        }

        .graph-subtitle {
            font-size: 1rem;
        }

        .graph-image-container {
            max-width: 800px;
        }
    }

    @media (max-width: 768px) {
        #fifth-page {
            padding: 60px 20px;
            height: 80vh;
        }

        .graph-content {
            margin-bottom: 60px;
        }

        .graph-content h2 {
            font-size: 2rem;
        }

        .graph-image-container {
            max-width: 100vw;
        }

    }

    @media (max-width: 480px) {
        .graph-content h2 {
            font-size: 1.7rem;
        }

        .graph-subtitle {
            font-size: 0.9rem;
        }

        #fifth-page {
            padding: 16px 0px;
        }
    }

    /* Sixth Page */
    #sixth-page {
        position: relative;
        width: 100%;
        min-height: 85vh;
        height: auto;
        display: flex;
        justify-content: center;
        /* align-items: center; */
        /* padding: 80px 20px; */
        box-sizing: border-box;
        /* background-color: rgb(229, 229, 229); */
        overflow-x: hidden;
    }


    .app-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(275px, 0fr));
        gap: 6px;
        width: 47%;
        max-width: 627px;
        position: relative;
        left: 55%;
        bottom: 177px;
    }

    .app-icon1 {
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
        /* Adjusted shadow for mobile */
        right: 39px;
        height: 44.35vh;
        width: 26.88vh;
    }

    .app-icon2 {
        border-radius: 10px;
        top: 100px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
        /* Adjusted shadow for mobile */
        height: 44.35vh;
        width: 26.88vh;
    }

    .app-icon3 {
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
        /* Adjusted shadow for mobile */
        height: 44.35vh;
        width: 26.88vh;
        right: 21px;
    }

    .app-icon4 {
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.1);
        /* Adjusted shadow for mobile */
        top: 83px;
        height: 44.35vh;
        width: 26.88vh;
    }

    /* Sixth Page - App Grid Responsive Adjustments for to App Icons Visibility */
    @media (max-width: 1024px) {
        .app-grid {
            display: 100%;
            grid-template-columns: repeat(2, 1fr);
            /* 2x2 for layout four icons */
            width: 100%;
            gap: 20px;
            padding: 20px;
            width: 100%;
            max-width: 600px;
            /* Reduced to ensure fit */
            margin: 0px auto;
        }

        .app-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            /* Center icons */
            justify-content: center;
            width: 100%;
            height: auto;
            min-height: 120px;
            /* Smaller for tablet fit */
            box-sizing: border-box;
        }

        .app-item img.app-icon1,
        .app-item img.app-icon2,
        .app-item img.app-icon3,
        .app-item img.app-icon4 {
            width: 100%;
            max-width: 80px;
            /* Smaller icons for tablet */
            height: auto;
            object-fit: contain;
        }

        .app-item p {
            font-size: 0.95rem;
            margin-top: 8px;
            text-align: center;
        }
    }

    @media (max-width: 768px) {
        .app-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            /* padding: 15px; */
            max-width: 65%;
        }

        .app-item {
            min-height: 100px;
        }

        .app-item img.app-icon1,
        .app-item img.app-icon2,
        .app-item img.app-icon3,
        .app-item img.app-icon4 {
            max-width: 70px;
        }

        .app-item p {
            font-size: 0.9rem;
            margin-top: 6px;
        }
    }

    @media (max-width: 480px) {
        .app-grid {
            grid-template-columns: repeat(2, 1fr);
            /* gap: 10px; */
            /* padding: 10px; */
            padding-right: 58vh;
        }

        .app-item {
            min-height: 80px;
        }

        .app-item img.app-icon1,
        .app-item img.app-icon2,
        .app-item img.app-icon3,
        .app-item img.app-icon4 {
            max-width: 148px;
            padding-right: 18vh;
            /* height: 36vh; */
            position: relative;
            top: 182px;
        }

        .app-item p {
            font-size: 0.85rem;
            margin-top: 5px;
        }
    }


    /* Eighth Page - Socket and Plug Section */
    #eighth-page {
        width: 100%;
        min-height: 96vh;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 80px 20px;
        box-sizing: border-box;
        background-color: rgb(230 230 230);
        overflow-x: hidden;
    }

    #eighth-page>div {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 1710px;
    }

    .socket-container {
        flex: 1;
        max-width: 50%;
        aspect-ratio: 1 / 1;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .socket {
        width: 100%;
        max-width: 500px;
        /* Limit maximum size */
        height: auto;
        position: relative;
        /* Changed from absolute to relative for better control */
    }

    .socket img {
        width: 100%;
        height: auto;
        object-fit: contain;
        position: relative;
        top: -7px;
        left: 136px;
        transform: none;
    }

    .plug {
        position: absolute;
        width: 60%;
        max-width: 300px;
        /* Limit maximum size */
        height: auto;
        cursor: pointer;
        z-index: 10;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Center the plug */
        transition: transform 0.5s ease;
    }

    .plug img {
        width: 188%;
        height: auto;
        object-fit: contain;
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .plugged-in {
        transform: translate(-50%, -50%) translateX(-20%);
        /* Adjusted for subtle movement */
    }

    .plugged-out {
        transform: translate(-50%, -50%) translateX(-60%);
        /* Adjusted for subtle movement */
    }

    /* Remove rotation for simplicity and consistency */
    #eighth-page .plug {
        transform: translate(-50%, -50%);
        /* Center without rotation */
        transition: transform 0.5s ease;
    }

    #eighth-page .plugged-in {
        transform: translate(-50%, -50%) translateX(-20%);
    }

    #eighth-page .plugged-out {
        transform: translate(-50%, -50%) translateX(-60%);
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        #eighth-page>div {
            max-width: 900px;
            gap: 30px;
        }

        .socket-container {
            max-width: 45%;
        }

        .socket {
            max-width: 400px;
        }

        .plug {
            max-width: 250px;
        }
    }

    @media (max-width: 768px) {
        #eighth-page {
            padding: 40px 16px;
            min-height: auto;
            height: auto;
        }

        #eighth-page>div {
            flex-direction: column;
            gap: 20px;
            max-width: 600px;
        }

        .socket-container {
            order: 2;
            max-width: 80%;
            transform: scale(0.9);
            /* Slightly scale down to fit */
        }

        .socket {
            max-width: 350px;
        }

        .plug {
            max-width: 200px;
        }

        .text-content {
            order: 1;
            margin-bottom: 20px;
        }

        .graph-section {
            order: 3;
            transform: scale(0.9);
        }
    }

    /* Graph Section */
    .graph-section {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Mobile Mockup Styles */
    .mobile-mockup {
        position: relative;
        width: 250px;
        height: 480px;
        background-color: #ffffff;
        border: 10px solid #3c3c3c;
        border-radius: 40px;
        box-shadow: 0 10px 70px rgba(0, 0, 0, 0.466);
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    .mobile-mockup::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 143px;
        height: 42px;
        background-color: #3c3c3c;
        border-radius: 0 0 15px 15px;
    }

    .mobile-mockup .graph-container {
        width: 90%;
        height: 80%;
        background-color: #f8f9fa;
        border-radius: 10px;
        overflow: hidden;
        position: relative;
        z-index: 1;
    }

    .mobile-mockup .graph-container canvas {
        width: 100% !important;
        height: 100% !important;
    }

    /* Text Content */
    .text-content {
        max-width: 73vh;
        flex: 1;
        text-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .text-content h2 {
        font-size: 35px;
        font-weight: 600;
        color: #333;
        margin: 0 0 20px;
        line-height: 1.2;
        max-width: 90%;
        width: 67vh;
    }

    .text-content .subtitle {
        font-size: 1.2rem;
        color: #555;
        line-height: 1.6;
        margin: 0;
        max-width: 90%;
    }



    @media screen and (max-width: 480px) {
        #eighth-page {
            padding: 20px 10px;
        }

        .asdf {
            width: 90vw;
        }

        .socket {
            width: 90vw;
        }

        .socket img {
            width: 100%;
            left: 25%;
            bottom: -74px;
        }

        .plug img {
            width: 109vw;
            bottom: -41vw;
            /* right: -47px; */
            left: -46%;
        }

        .mobile-mockup {
            width: 225px;
            height: 431px;
            border-radius: 20px;
        }

        .mobile-mockup::before {
            width: 100px;
            height: 30px;
            border-radius: 0 0 10px 10px;
        }

        .text-content h2 {
            font-size: 20px;
        }

        .text-content .subtitle {
            font-size: 0.8rem;
        }
    }

    /* Ninth Page - Unified Interface Section */
    #ninth-page {
        position: relative;
        width: 100%;
        min-height: 85vh;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding-top: 13vh;
        box-sizing: border-box;
        background-color: rgb(248 248 248);
        overflow-x: hidden;
    }

    .unified-interface-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1545px;
        margin: 0 auto;
        padding: 0 40px;
        box-sizing: border-box;
    }


    .unified-interface-content {
        flex: 1;
        max-width: 500px;
        text-align: left;
        padding-right: 40px;
    }

    .unified-interface-title {
        font-size: 3rem;
        font-weight: 700;
        color: #333;
        width: 281%;
        bottom: 170px;
        position: relative;
        left: 159px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .unified-interface-desc {
        font-size: 1.2rem;
        color: #555;
        line-height: 1.6;
        margin: 0;
        margin-bottom: 230px;
    }

    .unified-interface-image-container {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
    }

    .unified-interface-image {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        .unified-interface-container {
            padding: 0 30px;
        }

        .unified-interface-content {
            padding-right: 20px;
        }

        .unified-interface-title {
            font-size: 2.5rem;
        }

        .unified-interface-desc {
            font-size: 1.1rem;
        }
    }

    @media (max-width: 768px) {
        #ninth-page {
            padding: 60px 20px;
        }

        .unified-interface-container {
            flex-direction: column;
            padding: 0 20px;
        }

        .unified-interface-content {
            max-width: 100%;
            padding-right: 0;
            margin-bottom: 40px;
            text-align: center;
        }

        .unified-interface-title {
            font-size: 2rem;
        }

        .unified-interface-desc {
            font-size: 1rem;
        }

        .unified-interface-image-container {
            width: 100%;
            height: 50vh;
        }

        .unified-interface-image {
            position: relative;
            max-width: 100%;
            max-height: 100%;
        }
    }

    @media (max-width: 480px) {
        #ninth-page {
            padding: 50px 15px;
        }

        .unified-interface-title {
            font-size: 1.7rem;
        }

        .unified-interface-desc {
            font-size: 0.9rem;
        }

        .unified-interface-image-container {
            height: 40vh;
        }
    }

    /* Slider dots styling */
.slider-dots-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
}

.slider-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Navigation dots (left/right) */
.nav-dot {
    background-color: rgba(255, 255, 255, 0.2);
    color: rgb(0, 0, 0);
    font-size: 18px;
}

.nav-dot:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.nav-dot:active {
    transform: scale(0.9);
}



/* Center dot (indicator) */
.active-dot {
    width: 12px;
    height: 12px;
    background-color: rgb(0, 0, 0);
    cursor: default; /* Not clickable */
}
    /* Tenth Page - Family Sharing Section */
    #tenth-page {
        position: relative;
        width: 100%;
        min-height: 85vh;
        flex-direction: column;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 80px 20px;
        box-sizing: border-box;
        background-color: rgb(248 248 248);
        overflow-x: hidden;
    }

    .privacy-features-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
        box-sizing: border-box;
        text-align: center;
    }

    .privacy-title {
        font-size: 3rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 40px;
        line-height: 1.2;
    }

    .privacy-features {
        display: flex;
        justify-content: space-between;
        width: 100%;
    max-width: 951px;
        gap: 20px;
    }

    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
    }

    .feature-number {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        border: 2px solid #333;
        border-radius: 50%;
        font-size: 1.5rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 15px;
    }

    .feature-text {
        font-size: 1.2rem;
        color: #333;
        font-weight: 500;
        margin: 0;
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        .privacy-features-container {
            padding: 0 30px;
        }

        .privacy-title {
            font-size: 2.5rem;
        }

        .feature-text {
            font-size: 1.1rem;
        }

        .feature-number {
            width: 45px;
            height: 45px;
            font-size: 1.4rem;
        }
    }

    @media (max-width: 768px) {
        #tenth-page {
            padding: 60px 20px;
        }

        .privacy-features-container {
            padding: 0 20px;
        }

        .privacy-title {
            font-size: 2rem;
        }

        .privacy-features {
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

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

        .feature-number {
            width: 40px;
            height: 40px;
            font-size: 1.3rem;
        }
    }

    @media (max-width: 480px) {
        #tenth-page {
            padding: 50px 15px;
        }

        .privacy-title {
            font-size: 1.7rem;
        }

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

        .feature-number {
            width: 35px;
            height: 35px;
            font-size: 1.2rem;
        }
    }

    .family-sharing-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        margin-top: 76px;
        padding: 0 40px;
        box-sizing: border-box;
    }

    .family-sharing-content {
        flex: 1;
        max-width: 500px;
        text-align: left;
        padding-right: 40px;
    }

    .family-sharing-title {
        font-size: 3rem;
        font-weight: 700;
        color: #333;
        margin: 0;
        line-height: 1.2;
    }

    .family-sharing-graph {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .graph-image {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Responsive Adjustments */
    @media (max-width: 1024px) {
        .family-sharing-container {
            padding: 0 30px;
        }

        .family-sharing-content {
            padding-right: 20px;
        }

        .family-sharing-title {
            font-size: 2.5rem;
        }
    }

    @media (max-width: 768px) {
        #tenth-page {
            padding: 60px 20px;
        }

        .family-sharing-container {
            flex-direction: column;
            padding: 0 20px;
        }

        .family-sharing-content {
            max-width: 100%;
            padding-right: 0;
            margin-bottom: 40px;
            text-align: center;
        }

        .family-sharing-title {
            font-size: 2rem;
        }

        .family-sharing-graph {
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        #tenth-page {
            padding: 50px 15px;
        }

        .family-sharing-title {
            font-size: 1.7rem;
        }
    }

    /* Eleventh Page - Footer */
    #eleventh-page {
        width: 100%;
        background-color: #0a0a0a;
        color: #ffffff;
        padding: 80px 0 0;
        position: relative;
        margin-top: 10px;
    }

    #footer {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0;
    }

    .footer-top {
        display: flex;
        flex-wrap: wrap;
        gap: 48px;
        padding-bottom: 48px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-brand {
        flex: 1;
        min-width: 240px;
    }

    .footer-tagline {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 24px;
        max-width: 280px;
    }

    .footer-social {
        display: flex;
        gap: 16px;
    }

    .footer-links {
        flex: 2;
        display: flex;
        flex-wrap: wrap;
        gap: 48px;
    }

    /* ========== RESPONSIVE DESIGN FOR FOOTER ========== */
    @media (max-width: 1024px) {
        #sixth-page {
            padding: 48px 16px 24px;
        }

        .footer-top {
            gap: 32px;
        }

        .footer-brand {
            min-width: 200px;
        }

        .footer-tagline {
            font-size: 0.9rem;
            max-width: 100%;
        }

        .social-link img {
            width: 22px;
            height: 22px;
        }

        .footer-links {
            gap: 32px;
        }

        .link-group {
            min-width: 140px;
        }

        .link-title {
            font-size: 0.95rem;
        }

        .link-group a {
            font-size: 0.85rem;
        }
    }

    @media (max-width: 768px) {
        #sixth-page {
            padding: 40px 12px 20px;
        }

        .footer-top {
            flex-direction: column;
            align-items: center;
            gap: 24px;
            text-align: center;
        }

        .footer-brand {
            min-width: 100%;
        }

        .footer-tagline {
            font-size: 0.85rem;
            margin-bottom: 16px;
        }

        .footer-social {
            justify-content: center;
        }

        .footer-links {
            flex-direction: column;
            gap: 24px;
            width: 100%;
        }

        .link-group {
            min-width: 100%;
            text-align: center;
        }

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

        .link-group a {
            font-size: 0.8rem;
        }

        .social-link img {
            width: 20px;
            height: 20px;
        }
    }

    /* Sixth Page - App Store Section (Responsive Adjustments for 468px) */
    @media (max-width: 480px) {
        #sixth-page {
            padding: 30px 10px;
            min-height: 60vh;
            height: auto;
            overflow-x: hidden;
        }

        .app-store-container {
            flex-direction: column;
            align-items: center;
            width: 100%;
            max-width: 100%;
            padding: 0 10px;
        }

        .app-store-content {
            width: 100%;
            padding: 0 10px;
            text-align: center;
            margin-bottom: 20px;
        }

        .app-store-title {
            font-size: 1.8rem;
            width: 100%;
            max-width: 100%;
            margin-bottom: 10px;
        }

        .app-store-desc {
            font-size: 1rem;
            width: 100%;
            max-width: 100%;
            padding: 0 10px;
        }

        .app-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            /* Maintain 2x2 grid */
            gap: 10px;
            /* Reduced gap for better fit */
            width: 100%;
            /* Full width of container */
            max-width: 100%;
            /* Ensure it fits viewport */
            padding: 0;
            /* Remove excessive padding */
            position: static;
            /* Remove relative positioning */
            left: 0;
            bottom: 0;
            margin: 0 auto;
            /* Center the grid */
        }

        .app-item {
            min-height: 80px;
            /* Ensure sufficient height for images */
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .app-item img.app-icon1,
        .app-item img.app-icon2,
        .app-item img.app-icon3,
        .app-item img.app-icon4 {
            max-width: 120px;
            /* Appropriate size for small screens */
            height: auto;
            /* Maintain aspect ratio */
            border-radius: 10px;
            /* Consistent border radius */
            position: static;
            /* Remove absolute positioning */
            top: 0;
            right: 0;
            padding: 0;
            /* Remove padding */
            object-fit: contain;
            /* Ensure images fit properly */
        }
    }

    .social-link {
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .social-link img {
        width: 24px;
        height: 24px;
        filter: brightness(0.8);
        transition: filter 0.3s ease;
    }

    .social-link:hover {
        transform: translateY(-3px);
    }

    .social-link:hover img {
        filter: brightness(1);
    }


    .link-group {
        flex: 1;
        min-width: 160px;
    }

    .link-title {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 16px;
        color: var(--text-light);
    }

    .link-group ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .link-group li {
        margin-bottom: 10px;
    }

    .link-group a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.9rem;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .link-group a:hover {
        color:rgb(71, 160, 233);
    }

    /* ========== RESPONSIVE DESIGN ========== */
    @media (max-width: 1200px) {
        .smart-home-container {
            padding: 0 30px;
        }

        .smart-home-content {
            padding-right: 20px;
        }

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

        .atomic-os-section h2 {
            font-size: 2.2rem;
        }

        .smart-home-image {
            max-width: 90%;
        }
    }

    @media (max-width: 1024px) {
        #navbar ul {
            gap: 8px;
        }

        #navbar a {
            font-size: 0.9rem;
            padding: 8px 12px;
        }

        .devices-container {
            flex-direction: column;
            gap: 40px;
        }

        .devices-right {
            max-width: 100%;
            text-align: center;
        }

        .devices-title {
            margin-bottom: 30px;
        }

        .app-screenshots {
            gap: 20px;
        }

        .screenshot-item {
            min-width: 180px;
            max-width: 250px;
        }

        .device-items {
            gap: 40px;
        }

        .device-item {
            max-width: 180px;
        }

        .device-icon {
            width: 100px;
            height: 100px;
        }

        .energy-insights-container {
            gap: 30px;
        }

        .text-content h2 {
            font-size: 2.2rem;
        }

        .text-content .subtitle {
            font-size: 1rem;
        }

        .graph-container {
            max-width: 45%;
        }

        .energy-usage-container h2 {
            font-size: 2.2rem;
        }

        .energy-usage-container .subtitle {
            font-size: 1rem;
        }

        .graph-container {
            max-width: 700px;
        }

        .privacy-tagline {
            font-size: 2.8rem;
        }

        .privacy-features {
            gap: 30px;
        }

        .feature-number-circle {
            width: 50px;
            height: 50px;
            font-size: 1.5rem;
        }

        .feature-title {
            font-size: 1.3rem;
        }

        .family-members {
            gap: 40px;
        }


    }

    @media (max-width: 992px) {
        .smart-home-content {
            max-width: 400px;
        }

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

        .atomic-os-section h2 {
            font-size: 2rem;
        }

        .atomic-os-section .tagline {
            font-size: 1.3rem;
        }
    }

    @media (max-width: 768px) {
        #navbar {
            border-bottom: none;
            box-shadow: none;
        }

        .navbar-logo {
            display: none;
        }

        .logo1 {
            position: absolute;
        }

        #logo {
            display: none;
        }

        #hamburger {
            display: block;
        }

        #navbar ul {
            position: fixed;
            top: 0px;
            left: 0;
            width: 100%;
            flex-direction: column;
            background-color: #ffffff;
            padding: 0;
            margin: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            border: none;
        }

        #navbar ul.active {
            max-height: 562px;
            padding: 10px 0;
        }

        #navbar li {
            width: 100%;
            opacity: 0;
            transform: translateY(-10px);
            transition: opacity 0.3s ease 0.2s, transform 0.3s ease 0.2s;
        }

        #navbar ul.active li {
            opacity: 1;
            transform: translateY(0);
        }

        #navbar a {
            font-size: 1rem;
            padding: 13px 1px;
            line-height: normal;
            border-bottom: none;
            margin: 0;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        #first-page {
            height: auto;
            min-height: 90vh;
            padding: 80px 0;
        }

        .smart-home-container {
            flex-direction: column;
            height: auto;
            padding: 0 20px;
            margin-top: 40px;
        }

        .smart-home-content {
            max-width: 100%;
            padding-right: 0;
            margin-bottom: 40px;
            text-align: center;
        }

        .smart-home-image-container {
            width: 100%;
            height: 50vh;
            margin-top: 20px;
        }

        .smart-home-image {
            position: relative;
            max-width: 100%;
            max-height: 100%;
        }

        .devices-container {
            padding: 60px 30px;
        }

        .devices-row {
            gap: 20px;
        }

        .device-item img {
            width: 30px;
            height: 30px;
        }

        .devices-title {
            font-size: 1.7rem;
        }

        .devices-tagline {
            font-size: 1.5rem;
        }

        .app-compatibility-container {
            padding: 60px 20px;
        }

        .app-title {
            font-size: 2rem;
        }

        .app-text {
            font-size: 1rem;
        }

        .screenshot-item {
            min-width: 150px;
            max-width: 200px;
        }

        .device-compatibility-content h2 {
            font-size: 2rem;
        }

        .device-compatibility-content .tagline {
            font-size: 1rem;
        }

        .device-items {
            flex-direction: column;
            gap: 30px;
        }

        .device-item {
            max-width: 150px;
        }

        .device-icon {
            width: 80px;
            height: 80px;
        }

        .energy-insights-container {
            flex-direction: column;
            gap: 0px;
            padding: 60px 15px;
        }

        .text-content {
            max-width: 100%;
            text-align: center;
        }

        .text-content h2 {
            font-size: 1.8rem;
        }

        .text-content .subtitle {
            font-size: 0.9rem;
        }

        .graph-container {
            max-width: 100%;
            width: 100%;
        }

        .energy-usage-container {
            padding: 60px 15px;
        }

        .energy-usage-container h2 {
            font-size: 1.8rem;
        }

        .energy-usage-container .subtitle {
            font-size: 0.9rem;
        }

        .graph-container {
            max-width: 100%;
            width: 100%;
        }

        .text-content h2 {
            font-size: 1.8rem;
        }

        .text-content .subtitle {
            font-size: 0.9rem;
        }

        .graph-container {
            max-width: 100%;
        }

        .privacy-tagline {
            font-size: 2.2rem;
        }

        .privacy-features {
            flex-direction: column;
            align-items: center;
            gap: 50px;
            margin-bottom: 60px;
        }

        .privacy-feature {
            max-width: 100%;
        }

        .family-title {
            font-size: 1.3rem;
        }

        .family-members {
            gap: 30px;
        }



        .link-group {
            min-width: 140px;
        }
    }

    @media (max-width: 576px) {
        .smart-home-content h1 {
            font-size: 2.5rem;
        }

        .atomic-os-section h2 {
            font-size: 1.8rem;
        }

        .atomic-os-section .tagline {
            font-size: 1.1rem;
        }

        .atomic-os-section .quote {
            font-size: 1rem;
        }

        .smart-home-image-container {
            height: 40vh;
        }
    }

    @media (max-width: 480px) {
        .smart-home-content h1 {
            font-size: 2.2rem;
        }

        /* 
        .smart-home-image-container {
            height: 456vh;
        } */

        .device-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: start;
            justify-content: center;
            width: 10px;
            height: 10px;
            background-color: #ffffff;
            border: 1px solid #ddd;
            border-radius: 10px;
            transition: transform 0.3s ease;
            box-sizing: border-box;
        }

        .smart-home-image {
            width: 100vw;
            height: 27vh;
            /* object-fit: contain;
            position: absolute; */
            right: 0;
        }


        .atomic-os-section h2 {
            font-size: 1.5rem;

            font-size: 1.5rem;
            font-weight: 600;
            width: 100%;
            color: #333;
            /* margin-bottom: 15px; */
            line-height: 1.2;
        }




        .atomic-os-section {
            width: 85vw;
            padding-bottom: 18%;
        }

        .atomic-os-section .quote {
            font-size: 1.5rem;
            color: #666;
            font-style: normal;
            margin-bottom: 0px;
            margin-left: 2vw;
        }


        .app-compatibility-container {
            padding: 50px 15px;
        }

        .app-title {
            font-size: 1.7rem;
        }

        .app-text {
            font-size: 0.9rem;
        }

        .app-screenshots {
            flex-direction: column;
            gap: 20px;
        }

        .screenshot-item {
            min-width: 100%;
            max-width: 100%;
        }

        .device-compatibility-content h2 {
            font-size: 1.7rem;
        }

        .device-compatibility-content .tagline {
            font-size: 0.9rem;
        }

        .device-item h3 {
            font-size: 1.2rem;
        }

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

        .device-icon {
            width: 60px;
            height: 60px;
        }

        .image-container {
            padding: 0 10px;
            gap: 10px;
        }

        .image-container img {
            max-width: 250px;
        }

        .text-content h2 {
            font-size: 1.5rem;
        }

        .text-content .subtitle {
            font-size: 0.85rem;
        }

        .graph-container {
            padding: 5px;
        }

        .privacy-tagline {
            font-size: 1.8rem;
        }

        .feature-number-circle {
            width: 45px;
            height: 45px;
            font-size: 1.3rem;
        }

        .family-members {
            flex-direction: column;
            gap: 20px;
        }

        .member {
            margin-bottom: 15px;
        }


        .link-group {
            min-width: 100%;
        }
    }


    /* Seventh Page - Energy Insights Section */
    #seventh-page {
        position: relative;
        width: 100%;
        min-height: 68vh;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        background-color: rgb(255, 255, 255);
        overflow-x: hidden;
    }

    .energy-insights-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        max-width: 1818px;
        /* gap: 20vh; */
        margin: 0 auto;
        padding: 0 40px;
        box-sizing: border-box;
    }

    .energy-insights-content {
        flex: 1;
        max-width: 816px;
        text-align: center;
        margin-left: 0;
    }

    .insights-title {
        font-size: 35px;
        font-weight: 700;
        color: #333;
        width: 100%;

        /* margin-bottom: 20px; */
        /* line-height: 1.2; */
        display: flex;
        /* text-transform: uppercase; */
        justify-content: center;
    }

    .insights-subtitle {
        font-size: 35px;
        font-weight: 700;
        color: #333;
        width: 75vh;
        margin-bottom: 15px;
    }

    .insights-desc {
        font-size: 25px;
        color: #555;
        line-height: 1.6;
        width: 75vh;
        margin: 0;
    }

    .energy-insights-slider {
        flex: 1;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    height: 66vh;
        padding-top: 1vh;
        padding-bottom: 1vh;
        margin-left: 203px;
    }

    .energy-slider-container {
        position: relative;
        width: 100%;
        height: 70%;
        overflow: hidden;
    }

    .slider-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .slider-item.active {
        opacity: 1;
    }

    .video-slide,
    .slideshow-slide {
        width: 100%;
        height: 44vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .insights-video {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    /* Slideshow Styles for Cross-Device Compatibility */
    .slideshow {
        width: 100%;
        max-width: 1200px;
        /* Limit max width for large screens */
        margin: 0 auto;
        /* Center the slideshow */
        position: relative;
        overflow: hidden;
        /* Prevent images from overflowing */
        aspect-ratio: 16 / 9;
        /* Maintain consistent aspect ratio */
        height: 45vh;
        /* Allow height to adjust based on content */
    }

    .slideshow-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* Ensure SVGs scale properly without cropping */
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 1vh;
        padding-bottom: 1vh;
        opacity: 0;
        /* Hide all images by default */
        transition: opacity 1s ease-in-out;
        /* Smooth fade transition */
    }

    .slideshow-image.active {
        opacity: 1;
        /* Show active image */
        position: relative;
        /* Ensure active image is visible */
    }

    /* Responsive adjustments for smaller screens */
    @media (max-width: 768px) {
        .slideshow {
            aspect-ratio: 4 / 3;
            /* Adjust for smaller screens */
            max-width: 100%;
            padding: 0 10px;
        }

        .slideshow-image {
            width: 100%;
    height: 85%;
            /* Allow height to adjust */
        }

        .insights-desc {
            font-size: 25px;
            color: #555;
            line-height: 1.6;
            width: 100%;
            margin: 0;
        }
    }

    @media (max-width: 480px) {

        .insights-subtitle {
            font-size: 35px;
            font-weight: 700;
            color: #333;
            width: 100vh;
            margin-bottom: 15px;
        }

        .insights-desc {
            font-size: 25px;
            color: #555;
            line-height: 1.6;
            width: 100%;
            margin: 0;
        }

        .energy-insights-slider {
            flex: 1;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content:end;
            align-items: center;
            overflow: hidden;
            height: 51vh;
            padding-top: 1vh;
            padding-bottom: 1vh;
            margin-left: 203px;
        }

        .energy-slider-container {
            position: relative;
            width: 100%;
            height: 70%;
            overflow: hidden;
        }

        .video-slide,
        .slideshow-slide {
            width: 100%;
            height: 44vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .slideshow {
            aspect-ratio: 1 / 1;
            /* Square for very small screens */
            padding: 0 5px;
        }

        .insights-subtitle {
            font-size: 35px;
            font-weight: 700;
            color: #333;
            width: 43vh;
            margin-bottom: 15px;
        }
    }

    .slider-dots {
        display: flex;
        justify-content: center;
        gap: 12px;
        margin-top: 20px;
        height: 2vh;
    }

    .dot {
        width: 15px;
        height: 15px;
        background-color: #bbb;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }

    .dot.active {
        background-color:rgb(71, 160, 233);
        transform: scale(1.2);
    }

    .dot:hover {
        background-color: #555;
        transform: scale(1.1);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        #seventh-page {
                    padding-bottom: 5vh;
            min-height: 75vh;
            height: auto;
        }

        .energy-insights-container {
            flex-direction: column;
            justify-content: flex-start;
            width: 100%;
            max-width: 600px;
            height: 82vh;
            padding: 0 15px;
        }

        .energy-insights-content {
            order: 1;
            margin-bottom: 20px;
            text-align: center;
            max-width: 100%;
            max-height: 0vh;
        }

        .energy-insights-slider {
            order: 2;
            width: 100%;
            height: 40vh;
            margin-left: 0;
        }

        .insights-title {
            font-size: 1rem;
            text-align: center;
        }

        .insights-subtitle {
            font-size: 1.5rem;
                    width: 100%;

        }

        .insights-desc {
            font-size: 1rem;
        }
    }

    /* Seventh Page - Energy Insights Section (Slider Dots Fix for 480px) */
    @media (max-width: 480px) {
        #seventh-page .slider-dots {
            margin-top: -10vh;
            /* Adjusted to prevent overlap */
            gap: 10px;
            /* Slightly increased for better spacing */
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            z-index: 10;
            /* Ensure dots are above other elements */
        }

        #seventh-page .slider-dots .dot {
            width: 0px;
            /* Slightly larger for better touch target */
            height: 0px;
            background-color: #bbb;
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            padding: 8px;
            /* Increase clickable area without affecting visual size */
            box-sizing: content-box;
            /* Ensure padding doesn't affect dot size */
            /* Temporary border for debugging */
            border: 1px solid transparent;
            /* Remove after testing */
        }

        #seventh-page .slider-dots .dot.active {
            background-color:rgb(71, 160, 233);
            transform: scale(1.2);
        }

        #seventh-page .slider-dots .dot:hover {
            background-color: #555;
            transform: scale(1.1);
        }


    }


    .smart-home-image {
        /* Ensure the image maintains its aspect ratio */
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;

        /* Prevent blurring by ensuring proper scaling */
        image-rendering: -webkit-optimize-contrast;
        /* For WebKit browsers */
        image-rendering: crisp-edges;
        /* Standard property */
        image-rendering: pixelated;
        /* For pixel art */

        /* Smooth scaling for high-resolution images */
        -ms-interpolation-mode: nearest-neighbor;
        /* For IE */
        object-fit: contain;
    }

    /* For high-DPI displays (retina) */
    @media (-webkit-min-device-pixel-ratio: 2),
    (min-resolution: 192dpi) {
        .smart-home-image {
            /* Use a higher resolution version of the image if available */
            image-rendering: auto;
            /* Let browser decide best rendering */
        }
    }

    /* Mobile-specific adjustments */
    @media (max-width: 768px) {
        .smart-home-image-container {
            width: 100%;
            height: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0 20px;
            box-sizing: border-box;
        }

        .smart-home-image {
            /* For mobile, you might want to serve a different optimized image */
            width: 100%;
            height: auto;
            max-width: 400px;
            /* Adjust based on your design */
        }
    }

    @media (max-width: 480px) {
        .smart-home-image {
            /* For very small screens */
            max-width: 300px;
        }
    }

    /* Third Page - App Compatibility Section */
    #third-page {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 80px 0px;
        box-sizing: border-box;
        min-height: 85vh;
        height: auto;
        overflow-x: hidden;
    }

    .phone-slider-wrapper {
        width: 127%;
    }

    .app-compatibility-container {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 0px;
        box-sizing: border-box;
    }

    .app-compatibility-content {
        text-align: center;
        max-width: 1283px;
    }

    .app-title {
        font-size: 35px;
        font-weight: 700;
        color: #000;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .app-text {
        font-size: 30px;
        width: 128vh;
        color: #555;
        line-height: 1.6;
        margin: 0;
    }

    .phone-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 138px;
        width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
        user-select: none;
        touch-action: pan-x;
        cursor: grab;
    }

    .phone-grid::-webkit-scrollbar {
        display: none;
    }

    .phone-grid:active {
        cursor: grabbing;
    }

    .phone-item {
        flex: 1;
        min-width: 200px;
        max-width: 282px;
    }

    .phone-item img {
        width: 100vh;
        height: auto;
        object-fit: contain;
        border-radius: 10px;
    }

    /* Third Page - App Compatibility Section Responsive Adjustments */
    @media (max-width: 1024px) {
        #third-page {
            padding: 60px 20px;
        }

        .app-title {
            font-size: 2.2rem;
        }

        .app-text {
            font-size: 1.2rem;
            width: 100%;
            max-width: 600px;
        }
    }

    @media (max-width: 768px) {
        #third-page {
            padding: 40px 15px;
            min-height: auto;
        }

        .app-title {
            font-size: 1.8rem;
        }

        .app-text {
            font-size: 1rem;
            max-width: 90%;
        }
    }

    @media (max-width: 480px) {
        .phone-grid {
    display: flex
;
    flex-direction: row;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    touch-action: pan-x;
    cursor: grab;
}

        .phone-item img {
            width: 100vh;
            height: 85vh;
            object-fit: contain;
            border-radius: 10px;
        }

        #third-page {
            padding: 30px 10px;
        }

        .app-title {
            font-size: 1.5rem;
        }

        .app-text {
            font-size: 0.9rem;
            max-width: 100%;
        }

        .phone-slider-wrapper {
            width: 100vh;
        }
    }


    @media (max-width: 768px) {

        #smart-home-section .devices-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            width: 67vw;
            max-width: 100%;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            gap: 20px;
        }
    }


    @media (max-width: 480px) {

        /* Second Page - Devices Section */
        #second-page .devices-container {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            width: 96%;
            max-width: 100%;
            margin: 0 auto;
            padding: 0px 0px;
            box-sizing: border-box;
            gap: 1px;
        }

        #smart-home-section {
            position: relative;
            width: 100%;
            min-height: auto;
            height: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            background-color: transparent;
            flex: 1;
            max-width: 56%;
            margin: 0;
            padding: 0;
        }



        .device-item {
            position: relative;
            display: flex;
            flex-direction: column;
            align-items: start;
            justify-content: center;
            width: 29vw;
            height: 13vh;
            background-color: #ffffff;
            border: 1px solid #ddd;
            border-radius: 10px;
            transition: transform 0.3s ease;
            box-sizing: border-box;
        }

        .device-item img.device-icon {
            width: 69px;
            height: 72px;
            object-fit: contain;
            margin-bottom: 29px;
            margin-left: 13px;
        }

        .devices-right {
            flex: 1;
            max-width: 100vw;
            text-align: left;
        }



        .devices-tagline {
            font-size: 2rem;
            font-weight: 600;
            color: #000;
            margin-bottom: 20px;
            font-style: normal;
            text-align: center;
            line-height: 1.2;
        }

        .devices-text {
            font-size: 1.5rem;
            color: #555;
            line-height: 1.6;
            font-style: normal;
            text-align: center;

        }


        #smart-home-section {
            position: relative;
            width: 1vw;
            min-height: auto;
            height: auto;
            display: flex;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            background-color: transparent;
            flex: 1;
        }

        #smart-home-section .devices-container {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            width: 25vw;
            max-width: 100%;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            gap: 20px;
        }

        .device-item:hover {
            transform: translateY(-5px);
        }

        .device-item.grey {
            background-color: #d3d3d3;
        }

        /* custom added start */
        .device-item.grey .device-icon {
            /* Add styles for the "off" state, if needed */
            opacity: 0.5;
        }

        .device-item .device-icon {
            /* Add styles for the "on" state, if needed */
            opacity: 1;
        }

        /* custom added end */



        .device-item img.device-icon {
            width: 15vw;
            height: 7vh;
            object-fit: contain;
            margin-bottom: -25px;
            margin-left: 13px;
        }

        .device-item p {
            font-size: 0.9rem;
            color: #333;
            font-weight: 600;
            padding-top: 26px;
            padding-left: 5px;
            margin: 0;
            text-align: left;
        }

        .status-icon {
            position: absolute;
            top: 10px;
            right: 2px;
            width: 2px;
            height: 2px;
            cursor: pointer;
        }
    }

    /* smarthomeresponsivecode.css */
    /* Fourth Page - Device Compatibility Section */

    /* Debug border to confirm CSS application */
    #fourth-page .device-compatibility-container {
        border: 0px solid rgb(0, 0, 0);
        /* Remove after testing */
    }

    /* Base styles */
    #fourth-page .device-compatibility-container {
        width: 100%;
        max-width: 1553px;
        margin: 0 auto;
        text-align: center;
        padding: 80px 20px;
        box-sizing: border-box;
    }

    #fourth-page .device-compatibility-content h2 {
        font-size: 35px;
        font-weight: 700;
        color: #333;
        margin-bottom: 10px;
    }

    #fourth-page .device-compatibility-content .tagline {
        font-size: 30px;
        color: #555;
        phone-weight: 400;
        line-height: 1.6;
        max-width: 1509px;
        margin: 0 auto;
    }

    #fourth-page .device-comparison {
        display: flex;
        justify-content: center;
        gap: 30px;
        align-items: stretch;
        max-width: 853px;
        margin-left: auto;
        margin-right: auto;
    }

    #fourth-page .device-card {
        background-color: #ffffff;
        padding: 20px;
        text-align: center;
        box-sizing: border-box;
    }

    #fourth-page .device-specs-header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #fourth-page .device-card h3 {
        font-size: 1.8rem;
        font-weight: 600;
        color: #333;
        margin: 0 0 0px;
    }

    #fourth-page .device-logo {
        width: auto;
        height: 26vh;
        object-fit: contain;
    }

    #fourth-page .device-icon-placeholder {
        display: none;
    }

    #fourth-page .device-specs {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #fourth-page .device-specs li {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
        text-align: left;
        padding-left: 10px;
    }

    #fourth-page .device-specs .spec-icon {
        display: none;
    }

    #fourth-page .spec-labels {
        text-align: left;
        background-color: #ffffff;
        padding: 20px;
    }

    #fourth-page .spec-label-list {
        list-style: none;
        padding: 0;
        padding-top: 31vh;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    #fourth-page .spec-label-list li {
        font-size: 1rem;
        font-weight: 500;
        color: #333;
        display: flex;
        align-items: center;
    }

    #fourth-page .spec-label-list .spec-icon img {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    /* Highlight "Not Compatible" items */
    #fourth-page .device-specs li:not(:first-child):not(:nth-child(3)):not(:nth-child(4)):not(:nth-child(5)):not(:nth-child(6)):not(:nth-child(7)) {
        color: #000000;
        opacity: 0.7;
    }

    /* Desktop styles */
    @media (min-width: 769px) {
        #fourth-page .device-comparison {
            flex-wrap: nowrap;
            justify-content: space-between;
        }

        #fourth-page .device-card {
            width: 320px;
            width: 282px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        #fourth-page .spec-labels {
            width: 320px;
        }

        #fourth-page .device-specs li:hover {
            color: var(--accent-color, #007bff);
        }
    }

    /* Mobile styles */
    @media (max-width: 768px) {
        #fourth-page .device-compatibility-container {
            padding: 30px 10px;
        }

        #fourth-page .device-comparison {
            flex-direction: row;
            /* Three columns */
            flex-wrap: nowrap;
            /* No wrapping */
            gap: 10px;
            overflow-x: visible;
            /* No horizontal scrolling */
            scroll-snap-type: none;
            /* No snapping */
            justify-content: center;
            max-width: 100%;
        }

        #fourth-page .device-card {
            width: 100px;
            /* Narrow columns */
            padding: 10px;
        }

        #fourth-page .spec-labels {
            width: 100px;
            padding: 10px;
        }

        #fourth-page .device-card h3 {
            font-size: 1rem;
        }

        #fourth-page .device-logo {
            width: 60px;
            height: 50px;
        }

        #fourth-page .device-specs li {
            font-size: 0.7rem;
            padding-left: 5px;
        }

        #fourth-page .spec-label-list li {
            font-size: 0.7rem;
        }

        #fourth-page .spec-label-list .spec-icon img {
            width: 14px;
            height: 14px;
            margin-right: 5px;
        }

        #fourth-page .device-compatibility-content h2 {
            font-size: 1.8rem;
        }

        #fourth-page .device-compatibility-content .tagline {
            font-size: 0.9rem;
        }
    }

    /* Small mobile styles */
    @media (max-width: 480px) {
        #fourth-page .device-compatibility-container {
            padding: 20px 8px;
        }

        #fourth-page .device-comparison {
            gap: 6px;
        }

        #fourth-page .device-card {
            width: 137px;
            /* Narrower for small screens */
            padding: 8px;
        }

        #fourth-page .spec-labels {
            width: 84px;
            padding: 0px;
            padding-top: 125px;
        }

        #fourth-page .device-card h3 {
            font-size: 0.9rem;
        }

        #fourth-page .device-logo {
            width: 181px;
            height: 119px;
        }

        #fourth-page .anmolcode {
            padding-bottom: 9px;
        }

        #fourth-page .device-specs li {
            font-size: 0.65rem;
            padding-left: 4px;
        }

        #fourth-page .spec-label-list li {
            font-size: 0.65rem;
        }

        #fourth-page .spec-label-list .spec-icon img {
            width: 12px;
            height: 12px;
        }

        #fourth-page .device-compatibility-content h2 {
            font-size: 1.6rem;
        }

        #fourth-page .device-compatibility-content .tagline {
            font-size: 0.85rem;
        }

        #fourth-page .spec-label-list {
            list-style: none;
            padding: 0;
            padding-top: 23px;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 13px;
        }

    }


    @media (max-width: 768px) {

        .app-icon1 {
            border-radius: 10px;
            position: relative;
            right: 227px;
            top: 177px;
            height: 317px;
            width: 195px;
        }

        .app-icon2 {
            border-radius: 10px;
            position: relative;
            top: 182px;
            height: 261px;
            width: 173px;
            right: 318px;
        }

        .app-icon3 {
            border-radius: 10px;
            height: 316px;
            width: 196px;
            top: 157px;
            right: 223px;
            position: relative;
        }

        .app-icon4 {
            border-radius: 10px;
            position: relative;
            height: 261px;
            top: 108px;
            right: 316px;
            width: 170px;
        }
    }



    /* css from anmolok */
    /* Sixth Page - App Store Section (Text Only) */
    #sixth-page .app-store-content {
        width: 53%;
        display: flex;
        padding-top: 28vh;
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
        max-width: 72%;
        box-sizing: border-box;
        ;
    }

    .app-store-title {
        font-size: 35px;
        text-align: center;
        /* color: var(--text-dark); */
        width: 100%;
        /* margin-bottom: 20px; */
        /* overflow-wrap: break-word; */
        /* word-break: break-word; */
        /* padding-top: 24vh; */
    }

    #sixth-page .app-store-desc {
        font-size: 25px;
        color: var(--text-dark);
        line-height: 1.6;
        overflow-wrap: break-word;
        /* Wrap long words */
        word-break: break-word;
    }

    /* Tablet devices (max-width: 1024px) */
    @media (max-width: 1024px) {
        #sixth-page .app-store-content {
            width: 40%;
        }

        #sixth-page .app-store-title {
            font-size: 2.2rem;
        }

        #sixth-page .app-store-desc {
            font-size: 1rem;
        }
    }

    /* Mobile devices (max-width: 768px) */
    @media (max-width: 768px) {
        #sixth-page .app-store-content {
            width: 100%;
            max-width: 100%;
            /* Ensure text fits viewport */
            align-items: center;
            text-align: center;
            padding: 0 15px;
            /* Prevent text from touching edges */
            box-sizing: border-box;
        }

        #sixth-page .app-store-title {
            font-size: 2rem;
        }

        #sixth-page .app-store-desc {
            font-size: 1rem;
            padding-left: 20px;
            padding-right: 20px;
        }
    }

    /* Small mobile devices (max-width: 480px) */
    @media (max-width: 480px) {

        #sixth-page .app-store-content {
            width: 100%;
            padding: 0 10px;
            /* Tighter padding for small screens */
        }

        #sixth-page .app-store-title {
            font-size: 1.8rem;
        }

        #sixth-page .app-store-desc {
            font-size: 1rem;
            padding-left: 20px;
            padding-right: 20px;
            width: 42vh;

        }
    }

    /* @media (min-width: 1025px) {
    #sixth-page {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 80px 20px;
    }

    .app-store-container {
        display: flex;
        justify-content: space-between;
        height: 100%;
        width: 100%;
        max-width: 90%;
        margin: 0 auto;
        flex-direction: row;
    }

    .app-store-content {
        align-self: flex-start;
        margin-bottom: 20px;
    }

    .app-grid {
        align-self: flex-end;
        position: static;
        left: auto;
        bottom: auto;
        margin-top: auto;
    }
} */

    @media (min-width: 1025px) {
        #sixth-page {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 80px 20px;
            min-height: 100vh;
            height: auto;
            overflow: hidden;
            /* Prevent scrollbar */
        }

        .app-store-container {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            height: 100%;
            width: 100%;
            max-width: 95%;
            margin: 0 auto;
        }

        .app-store-content {
            align-self: flex-start;
            margin-bottom: 20px;
        }

        .app-grid {
            align-self: flex-end;
            position: static;
            left: auto;
            bottom: auto;
            margin-top: auto;
        }
    }


    /* css for 7th 8th and bulb section start */

    @media (max-width: 768px) {

        /* Eighth Page */
        #eighth-page {
            display: flex;
            flex-direction: column;
            padding: 40px 16px;
            min-height: 100vh;
            height: auto;
            overflow: hidden;
        }

        #eighth-page .flex.flex-col.md\:flex-row {
            flex-direction: column;
            gap: -45px;
            justify-content: flex-start;
            align-items: center;
            width: 100%;
            height: auto;
            max-width: 600px;
            margin: 0 auto;
        }

        .text-content {
            /* Matches HTML class */
            order: 1;
            width: 100%;
            text-align: center;
        }

        .socket-container {
            order: 2;
            width: 100%;
            transform: scale(0.85);
            /* Reduce size to fit */
            max-height: 200px;
            /* Limit height to fit */
        }

        .graph-section {
            order: 3;
            width: 100%;
            transform: scale(0.85);
            /* Reduce size to fit */
        }

        /* Bulb Power Section */
        .bulb-power-section {
            min-height: auto;
            /* Allow content-driven height */
            height: auto;
            overflow: hidden;
            background-color: #000000;
            /* Maintain background */
        }

        .bulb-power-section .power-container {
            flex-direction: column !important;
            /* Override embedded flex-direction */
            justify-content: flex-start !important;
            align-items: center !important;
            width: 100%;
            max-width: 600px;
            margin: 0 auto;
        }



        .bulb-power-section .text-container {
            order: 1;
            width: 100%;
            text-align: center;
            margin-bottom: 20px;
            text-align: center;
        }

        .bulb-power-section .text-container p {
            width: 100% !important;
            /* Override embedded width */
            font-size: 1.2rem !important;
            /* Adjust font size for mobile */
        }

        .bulb-power-section .bulb-and-slider {
            order: 2;
            width: 100%;
            transform: scale(0.8);
            /* Reduce size to fit */
            margin-bottom: 20px;
        }

        .bulb-power-section .bulb-container {
            width: 200px !important;
            /* Reduce size for mobile */
            height: 150px !important;
            margin: 0 auto;
        }

        .bulb-power-section .bulb-image {
            width: 300px !important;
            /* Adjust bulb size */
            top: -187px !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
            /* Center image */
        }

        .bulb-power-section .light-effect {
            width: 180px !important;
            height: 145px !important;
            top: 4vw !important;
            left: 50% !important;
            transform: translateX(-50%) !important;
        }

        .bulb-power-section .slider-container {
            width: 100% !important;
            /* Adjust slider width */
            padding-top: 9vh !important;
            padding-left: 0 !important;
            /* Center slider */
        }

        .bulb-power-section .mockup-container {
            order: 3;
            width: 100%;
            transform: scale(0.8);
            /* Reduce size to fit */
        }

        .bulb-power-section .iphone-mockup {
            width: 218px !important;
            height: 400px !important;
            border-radius: 30px !important;
        }

        .bulb-power-section .iphone-notch {
            width: 100px !important;
            height: 20px !important;
            left: 50px !important;
        }


    }

    /* responsive code for 9th page by rajat kuchara  */
    @media (max-width: 480px) {

        #ninth-page {
            padding: 40px 15px;
            /* Slightly reduce padding for smaller screens */
            min-height: 70vh;
            /* Reduce min-height to fit smaller screens better */
        }

        .unified-interface-container {
            flex-direction: column;
            /* Already set at 768px, ensuring it remains */
            padding: 0 10px;
            /* Reduce padding for tighter fit on small screens */
            gap: 20px;
            /* Add gap between stacked elements */
        }

        .unified-interface-content {
            max-width: 100%;
            /* Ensure full width */
            padding-right: 0;
            /* Remove padding to maximize space */
            margin-bottom: 20px;
            /* Adjust margin for better spacing */
            text-align: center;
            /* Center-align text for better readability */
        }

        .unified-interface-title {
            font-size: 1.5rem;
            /* Slightly smaller font size for better fit */
            width: 100%;
            /* Reset width to fit container */
            left: 0;
            /* Reset positioning */
            bottom: 0;
            /* Reset positioning */
            margin-bottom: 10px;
            /* Adjust spacing below title */
            position: relative;
            /* Ensure proper stacking */
        }

        .unified-interface-desc {
            font-size: 0.85rem;
            /* Smaller font size for better readability */
            line-height: 1.5;
            /* Adjust line height for better text flow */
            margin-bottom: 20px;
            /* Reduce margin to fit content better */
        }

        .unified-interface-image-container {
            height: 30vh;
            /* Reduce height to fit smaller screens */
            width: 100%;
            /* Ensure full width */
        }

        .unified-interface-image {
            max-width: 90%;
            /* Slightly reduce max-width to avoid overflow */
            max-height: 100%;
            /* Ensure image fits within container */
        }
    }

    @media (max-width: 480px) {
        #ninth-page {
            padding: 40px 15px;
            /* Slightly reduce padding for smaller screens */
            min-height: 70vh;
            /* Reduce min-height to fit smaller screens better */
        }

        .unified-interface-container {
            flex-direction: column;
            /* Already set at 768px, ensuring it remains */
            padding: 0 10px;
            /* Reduce padding for tighter fit on small screens */
            gap: 20px;
            /* Add gap between stacked elements */
        }

        .unified-interface-content {
            max-width: 100%;
            /* Ensure full width */
            padding-right: 0;
            /* Remove padding to maximize space */
            margin-bottom: 20px;
            /* Adjust margin for better spacing */
            text-align: center;
            /* Center-align text for better readability */
        }

        .unified-interface-title {
            font-size: 1.5rem;
            /* Slightly smaller font size for better fit */
            width: 100%;
            /* Reset width to fit container */
            left: 0;
            /* Reset positioning */
            bottom: 0;
            /* Reset positioning */
            margin-bottom: 10px;
            /* Adjust spacing below title */
            position: relative;
            /* Ensure proper stacking */
        }

        .unified-interface-desc {
            font-size: 0.85rem;
            /* Smaller font size for better readability */
            line-height: 1.5;
            /* Adjust line height for better text flow */
            margin-bottom: 20px;
            /* Reduce margin to fit content better */
        }

        .unified-interface-image-container {
            height: 30vh;
            /* Reduce height to fit smaller screens */
            width: 100%;
            /* Ensure full width */
        }

        .unified-interface-image {
            max-width: 90%;
            /* Slightly reduce max-width to avoid overflow */
            max-height: 100%;
            /* Ensure image fits within container */
        }
    }