

@media (max-width: 768px) {
    #second-page {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 60vh;
        padding: 0 15px;
        margin-top: 0;
    }

    #second-page .slides-wrapper {
        width: 100%;
        height: 50vh;
        overflow: hidden;
        position: relative;
        padding: 0;
    }

    #second-page .slides-container {
        display: flex;
        transition: transform 0.5s ease;
        gap: 15px;
        height: 100%;
    }

    #second-page .slide {
        width: 45vw;
        height: 45vh;
        min-height: 350px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    #second-page .slide-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #second-page .slide-content {
        padding: 15px;
        align-items: flex-start;
        justify-content: flex-end;
    }

    #second-page .slide-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        white-space: normal;
        text-align: left;
    }

    #second-page .slide-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: left;
        max-width: 90%;
    }

    .slider-controls-container {
        position: absolute;
        bottom: 15px;
        right: 15px;
        width: auto;
        margin-top: 0;
    }

    .round-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .headingg {
        font-size: 2rem;
        padding-left: 2vh;
        padding-top: 5vh;
        padding-bottom: 1vh;
    }
}

/* Style for the top right text */
.top-right-text {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    font-size: 1.5rem;
    color: #000;
    font-weight: bold;
}

/* ========== COLOR PALETTE ========== */
:root {
    --primary-color: #2b6cb0;
    --secondary-color: #1a4971;
    --accent-color: #68d391;
    --text-dark: #1a202c;
    --text-light: #f7fafc;
    --background-dark: #1a202c;
    --background-light: #edf2f7;
    --gradient-start: #e2e8f0;
    --gradient-end: #f7fafc;
}

/* ========== BASE STYLES ========== */
body {
    overflow-x: hidden;
    /* Prevent horizontal overflow */
    box-sizing: border-box;
    /* Ensure padding/margins are included in width */
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #3c3c3c;
    overflow-x: hidden;
    scroll-behavior: smooth;
    line-height: 1.6;
    background-color: white;
}

/* Ensure all elements respect box-sizing */
*,
*:before,
*:after {
    box-sizing: inherit;
}

/* ========== LOGO STYLES ========== */
.navbar-logo {
    position: relative;
    top: 50%;
    left: 0;
    height: 32px;
    display: flex;
    filter: brightness(0) saturate(100%) hue-rotate(0deg);
    align-items: center;
}

.navbar-logo img {
    height: 100%;
    width: auto;
    transition: transform 0.3s ease;
    filter: brightness(0) saturate(100%) hue-rotate(0deg);
}

.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%) hue-rotate(0deg);
}

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

/* ========== NAVBAR ========== */
#navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Light bottom border */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    /* Simple bottom shadow */
    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(190, 170, 170, 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: absolute;
    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: #085fd7;
}

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

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

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

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

#electron-video {
    width: 78%;
    padding-top: 9vh;
    /* max-width: 1126px; */
    height: 110%;
    display: block;
    z-index: 10;
}



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

#main-title {
    /* bottom: 100%; */
    /* right: 104%; */
    font-size: 45px;
    font-weight: 700;
        line-height: 2.2;

    color: #3c3c3c;
    margin: 0;
    /* line-height: 1; */
    letter-spacing: 2px;
}

#subtitle {
    padding-top: 28px;
    color: #3C3C3C;
    font-size: 30px;
    font-style: italic;
}

/* Responsive adjustments for first page */
@media (max-width: 1670px) {


    #main-title {
        font-size: 3.5rem;
    }

    #subtitle {
        font-size: 1.1rem;
        max-width: 350px;
    }


}

/* Second and Fourth Page Slider Fixes */
.features-slider-container,
.features-slider-container1 {
    width: 100%;
    position: relative;
    overflow: hidden;
    /* This will hide anything going outside */
    padding: 0 10px;
    /* Add some padding so content doesn't touch edges */
    box-sizing: border-box;
}

.features-slider,
.features-slider2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    padding: 0 5px;
    /* Reduced padding */
    box-sizing: border-box;
    will-change: transform;
    /* Optimize for animation */
}

.feature-slide,
.feature-slide2 {
    flex: 0 0 calc(100% - 20px);
    /* Full width minus margins on mobile */
    margin: 0 10px;
    /* Reduced margin on mobile */
    background-color: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    /* Reduced padding on mobile */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    height: auto;
    /* Let content determine height */
    min-height: 300px;
    /* Minimum height for consistency */
    box-sizing: border-box;
}

/* Adjust slider controls positioning */
.slider-controls-container,
.slider-controls-container1 {
    width: 100%;
    display: flex;
    justify-content: center;
    /* Center controls */
    padding: 20px 0;
    /* Add some vertical spacing */
    margin-top: 0;
}

/* Responsive adjustments */
@media (min-width: 480px) {

    .feature-slide,
    .feature-slide2 {
        flex: 0 0 calc(50% - 20px);
        /* 2 slides on small tablets */
    }
}

@media (min-width: 768px) {

    .feature-slide,
    .feature-slide2 {
        flex: 0 0 calc(33.33% - 20px);
        /* 3 slides on tablets */
    }
}

@media (min-width: 1024px) {

    .feature-slide,
    .feature-slide2 {
        flex: 0 0 calc(25% - 30px);
        /* 4 slides on desktop */
        margin: 0 15px;
        padding: 30px 25px;
    }

    .features-slider,
    .features-slider2 {
        padding: 0 20px;
    }
}

/* Specific adjustments for second page dark slides */
.feature-slide2 {
    background-color: #3b3b3b;
}

/* Fix for feature icons in second page */
.feature-icon2 img {
    width: 80px !important;
    position: relative !important;
    left: auto !important;
    bottom: auto !important;
    margin: 0 auto 15px !important;
    display: block !important;
}

/* Adjust text sizes for mobile */
@media (max-width: 768px) {
    .feature-title {
        font-size: 1.5rem;
    }

    .feature-title2 {
        font-size: 1.5rem;
    }

    .feature-desc,
    .feature-desc2 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .feature-title {
        font-size: 1.3rem;
    }

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

    .feature-desc,
    .feature-desc2 {
        font-size: 0.9rem;
    }
}



/* ========== SECOND PAGE (SLIDER) ========== */
#second-page {
    position: relative;
    height: auto;
    min-height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-bottom: 10px;
    background-color: white;
}

.features-slider-container {
    width: 100%;
    position: relative;
    overflow-x: hidden !important;
    /* Strictly enforce overflow hiding */

}

.features-slider2 {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.feature-slide2 {
    flex: 0 0 calc(25% - 30px);
    margin: 0 15px;
    background-color: #3b3b3b;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 76vh;
}

.feature-icon2 {
    display: flex;
    align-items: center;
}


.feature-icon2 img {
    width: 120px;
    position: relative;
    left: 281px;
    bottom: 33px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-title2 {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    padding-top: 2vh;
    transition: color 0.3s ease;
}

.feature-slide2:hover .feature-title2 {
    color: #8f9dad;
}

.feature-desc2 {
    font-size: 36px;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
}

/* Slider Controls */

/* Responsive adjustments */
@media (max-width: 1024px) {
    .feature-slide2 {
        flex: 0 0 calc(33.33% - 15px);
        min-height: 380px;
    }

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

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

    .feature-desc {
        font-size: 14px;
        color: #666;
        line-height: 1.5;
        margin: 0;
    }

}

@media (max-width: 768px) {
   
    .headingg {
        font-size: 2.5rem;
        padding-left: 2vh;
    }

    .feature-slide2 {
        flex: 0 0 calc(50% - 15px);
        min-height: 350px;
        padding: 25px 20px;
    }

    .feature-icon2 img {
        width: 100px;
    }

    .feature-title2 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .headingg {
        font-size: 2rem;
        padding-left: 1vh;
        margin-bottom: 20px;
    }

    #second-page {
        padding: 20px 10px;
    }

    .features-slider2 {
        padding: 0 10px;
        gap: 15px;
    }

    .feature-slide2 {
        flex: 0 0 calc(100% - 15px);
        min-height: 300px;
        padding: 20px 15px;
    }

    .feature-icon2 img {
        position: relative;
        width: 80px;
        /* right: 226vh; */
        left: 224px;
        bottom: 23px;
    }

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

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

    .slider-controls {
        gap: 15px;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    
    .slider-controls-container {
        bottom: 15px;
        /* Adjust for smaller screens */
        right: 15px;
    }

    .round-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slider-controls-container {
        bottom: 10px;
        /* Closer to bottom on small screens */
        right: 10px;
        transform: translateY(0);
        /* Remove any negative margins */
    }

    .round-button {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Device-Specific Adjustments */
@media only screen and (device-width: 390px) and (device-height: 844px) and (-webkit-device-pixel-ratio: 3) {

    /* iPhone 13 Pro */
    .slider-controls-container {
        bottom: 12px;
        right: 12px;
    }
}

@media only screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) {

    /* iPhone 11 */
    .slider-controls-container {
        bottom: 15px;
        right: 15px;
    }
}

@media only screen and (min-width: 360px) and (max-width: 412px) and (min-device-pixel-ratio: 2) {

    /* Samsung A15 and similar Android devices */
    .slider-controls-container {
        bottom: 10px;
        right: 10px;
    }
}



.slider-container {
    position: static;
    height: 100%;
    width: 100%;
    /* margin: -34px auto; */
    margin-top: 34px;
    overflow: hidden;
}

.slider-container1 {
    position: static;
    margin: 0 auto;
    top: 12px;
    overflow: hidden;
}


.slider {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease-in-out;
}

/* Add these styles to your CSS */
/* changing code of .slidecontrolscontainerbyanmol */
.slider-controls-container {
    position: absolute;
    bottom: 0px;
    /* Fixed distance from bottom */
    right: 20px;
    /* Fixed distance from right */
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
    /* Ensure buttons are above slides */
    padding: 0;
    width: auto;
    /* Allow natural width */
}

.slider-controls-container1 {
    width: 96%;
    display: flex;
    justify-content: flex-end;
    padding-right: 0px;
    padding-top: 0px;
    margin-top: 0%;
}

.slider-controls {
    display: flex;
    gap: 15px;
    /* Consistent gap between buttons */
}

.round-button {
    width: 50px;
    /* Slightly smaller for better mobile fit */
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    /* Slightly smaller font for mobile */
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    /* Subtle shadow for depth */
}

.round-button:hover {
    background-color: #000;
    color: #fff;
}

.headingg {
    padding-left: 3vh;
    font-size: 40px;
    padding-top: 6vh;
    font-weight: 600;
}

.dots-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dots-container1 {
    position: absolute;
    top: 507px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #dfdfdf;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    position: relative;
}

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

.dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color) 0%, transparent 100%);
    opacity: 0;
    border-radius: 50%;
}

.dot.active::after {
    animation: progress 3s linear forwards;
}

@keyframes progress {
    0% {
        opacity: 1;
        transform: scale(0);
    }

    100% {
        opacity: 0;
        transform: scale(2);
    }
}

/* Existing CSS remains unchanged except for the #third-page section */

/* Styles for third-page */
#third-page {
    position: relative;
    height: 128vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    box-sizing: border-box;
    margin-top: -13px;
}

/* Styles for the heading */
.heading {
    font-size: 3rem;
    font-weight: 600;
    position: absolute;
    /* Fixed to the viewport */
    top: 20px;
    /* Offset from the top */
    left: 20px;
    /* Offset from the left */
    margin: 0;
    /* Remove default margin */
    text-align: left;
    /* Align text to the left */
    z-index: 200;
    /* Ensure it stays above other elements like the navbar */
}

.product-container {
    text-align: center;
    position: relative;
    /* Needed for absolute positioning of the heading */
    top: 50px;
}

/* Style the h2 to be at the top-left */
.product-container h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #666666;
    position: absolute;
    /* Position relative to #third-page */
    top: 20px;
    /* Small offset from the top */
    left: 20px;
    /* Small offset from the left */
    margin: 0;
    /* Remove default margin */
    text-align: left;
    /* Ensure text aligns left */
}

.product-logo {
    position: relative;
    bottom: 345px;
    width: 903px;
    height: 550px;

}

.price-section {
    position: inherit;
    margin-top: -420px;
        padding-bottom: 3vh;
}

.price-button {
    background-color: #2b6cb0;
    /* Blue color from image */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 65px;
    font-size: 1rem;
    margin-right: 10px;
    height: 5.74vh;
    width: 20.46vh;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.price-button:hover {
    background-color: #1a4971;
    /* Darker shade on hover */
}

.buy-button {
    background-color: #ffffff;
    color: #2b6cb0;
    border: 2px solid #2b6cb0;
    padding: 10px 20px;
    border-radius: 65px;
    font-size: 1rem;
     height: 5.74vh;
    width: 20.46vh;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    background-color: #2b6cb0;
    color: white;
}

.specs-container {
    display: flex;
    flex-direction: column;
    margin-top: 49px;
    align-items: center;
    gap: 23px;
}

.spec-item {
    display: flex;
    flex-direction: row;
    /* Icon and text side by side */
    align-items: center;
    /* Vertically center icon and text */
    gap: 10px;
    /* Space between icon and text */
    font-size: 1rem;
    color: #333333;
}

.spec-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    /* Remove margin since no longer stacked */
}

/* Responsive adjustments */
@media (max-width: 480px) {

    .price-button {
    background-color: #2b6cb0;
    /* Blue color from image */
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 65px;
    margin-right: 10px;
    height: 5.74vh;
        width: 19.46vh;
    cursor: pointer;
    transition: background-color 0.3s ease;
}


.buy-button {
    background-color: #ffffff;
    color: #2b6cb0;
    border: 2px solid #2b6cb0;
    padding: 10px 20px;
    border-radius: 65px;
    font-size: 1rem;
     height: 5.74vh;
        width: 19.46vh;
    cursor: pointer;
    transition: all 0.3s ease;
}




    .product-container h2 {
        font-size: 1.5rem;
        left: 10px;
        /* Add padding for smaller screens */
    }

    .product-logo {
        width: 50vh;
        height: 37vh;
        padding-bottom: 11vh;
    }

    .price-button,
    .buy-button {
        padding: 8px 15px;
                font-size: 11px;
    }

    .specs-container {
        flex-direction: column;
        /* Already in column, no change needed */
        gap: 10px;
    }

    .spec-item {
        gap: 8px;
        /* Slightly smaller gap on mobile */
    }

    .spec-item img {
        width: 40px;
        height: 40px;
    }



}

/* ========== FOURTH PAGE (FEATURES SLIDER) ========== */
#fourth-page {
    position: relative;
    height: auto;
    min-height: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    /* Adjusted padding to remove extra space */
    box-sizing: border-box;
    margin-bottom: 10px;
    background-color: white;
    overflow-x: hidden;
    /* Ensure no overflow at the section level */
}

.features-slider-container {
    width: 100%;
    position: relative;
    overflow-x: hidden !important;
    /* Strictly enforce overflow hiding */
}

.features-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

.feature-slide {
    flex: 0 0 calc(25% - 10px);
    /* Reduced margin to minimize gaps */
    margin: 0 5px;
    /* Adjusted margin for tighter spacing */
    border-radius: 12px;
    padding: 20px 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 28.33vh; /* Adjust based on your viewport height */
  width: 39.72vh; /* Adjust based on your viewport height */
    box-sizing: border-box;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: left;
    margin-bottom: 10px;
}

.feature-icon img {
    width: 70px;
    height: 76px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-slide:hover .feature-title {
    color: #19528f;
}

.feature-title {
    font-size: 28px;
    font-weight: 600;
    text-align: left;

    color: #333;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.feature-desc {
    font-size: 20px;
    text-align: left;

    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Slider Controls */
.slider-controls-container1 {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-right: 0px;
    margin-top: 30px;
}

.slider-controls {
    display: flex;
        padding-right: 6vh;

}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .feature-slide {
        flex: 0 0 calc(33.33% - 10px);
        min-height: 250px;
        margin: 0 5px;
    }

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

    .feature-desc {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .slider-controls {
    display: flex;
    padding-right: 0vh;
}

    #fourth-page {
        padding: 30px 0;
    }

    .features-slider {
        padding: 0;
    }

    .feature-slide {
        flex: 0 0 calc(50% - 10px);
        margin: 0 5px;
        min-height: 230px;
        padding: 15px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-desc {
        font-size: 12px;
    }
}

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

    .features-slider {
        padding: 0;
    }

    .feature-slide {
        flex: 0 0 calc(100% - 10px);
        margin: 0 4px;
        height: 41vh;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .feature-icon img {
        width: 40px;
        height: 40px;
    }

    .feature-title {
        font-size: 20px;
    }

    .feature-desc {
        font-size: 20px;
    }

    .slider-controls-container1 {
        margin-top: 20px;
    }

    .round-button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .features-slider-container {
    width: 96%;
    position: relative;
    overflow-x: hidden !important;
    /* Strictly enforce overflow hiding */
}
}

/* ========== SIXTH PAGE (FOOTER) ========== */
#sixth-page {
    width: 100%;
    color: var(--text-light);
    background-color: #181818;
    padding: 64px 24px 32px;
    box-sizing: border-box;
    position: relative;
}

#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;
}

.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);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 1670px) {
    #main-title {
        font-size: 3rem;

        left: 15px;
        right: auto;
    }

    #subtitle {
        font-size: 1rem;
        right: 15px;
        left: auto;
        max-width: 300px;
    }


}


/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1180px) {
    #main-title {
        font-size: 3rem;
    }

    #subtitle {
        font-size: 1rem;
        max-width: 300px;
    }

    #electron-video {
        max-width: 600px;
    }

    #first-page {
        padding: 70px 15px 15px;
    }

    #electron-video {
        width: 155%;
        margin-top: -89px;
        max-width: 1254px;
        height: 100vh;
        display: block;
        z-index: 10;
        padding-right: 6vh;
    }

    .slider-container {
        position: static;
        height: 110%;
        width: 100%;
        /* margin: -34px auto; */
        margin-top: 34px;
        overflow: hidden;
    }

    #second-page {
        position: relative;
        padding-top: 80px;
        height: 72vh;
    }

    .slider-controls {
        display: flex;
        gap: 20px;
        padding-bottom: 1vh;
    }

    #third-page {
        height: 114vh;
    }

    #fourth-page {
        height: auto;
    }

    #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;
    }



    #navbar ul {
        gap: 8px;
    }

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

    .slide {
        flex: 0 0 33.33%;
    }

    #main-title {
        font-size: 3rem;

        left: 15px;
        right: auto;
    }

    #subtitle {
        font-size: 1rem;
        right: 15px;
        left: auto;
        width: 175px;
    }

    #dots-container {
        bottom: 20px;
    }

    .dots-container {
        display: none;
    }

    .dots-container1 {
        display: none;
    }

    .matter-content {
        position: relative;
        width: 112%;
        height: 100px;
        max-width: 90%;
        /* margin-bottom: -135px; */
        top: 3%;
    }

}

@media (max-width: 768px) {

    .slider-controls-container {
        width: 96%;
        display: flex;
        justify-content: flex-end;
        padding-right: 20px;
        margin-top: 2%;
    }


    #main-title {
        font-size: 2.5rem;
    }

    #subtitle {
        font-size: 0.9rem;
        max-width: 250px;
    }

    #electron-video {
        max-width: 135%;
        /* Full width on smaller screens */
        margin-top: 14vh;
    }

    .section-header1 h2 {
        font-size: 35px;
        font-weight: bold;
    }

    #first-page {
        padding: 60px 10px 10px;
    }

    #sixth-page {
        padding: 40px 12px 20px;
    }

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

    .slider-container1 {
        position: static;
        /* margin: 0 auto; */
        top: 12px;
        padding-top: 2vh;
    }

    .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;
    }

    /* Updated navbar styles to ensure logo is above */
    #navbar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: auto;
        background-color: white;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        /* Light bottom border */
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
        /* Simple bottom shadow */
        border-bottom: none;
        box-shadow: none;
        padding-top: 60px;
        z-index: 99;
    }

    .navbar-logo {
        display: none;
    }

    .logo1 {
        display: block;
        position: absolute;
        top: 14px;
        left: 24px;
        height: 32px;
        z-index: 101;
    }

    #hamburger {
        display: block;
        position: absolute;
        top: 20px;
        right: 24px;
        width: 28px;
        height: 20px;
        z-index: 101;
    }

    #navbar ul {
        position: fixed;
        top: -6px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: white;
        /* Ensure base background is white */
        padding: 0;
        margin: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border: none;
        z-index: 100;
        opacity: 1;
        /* Ensure full opacity */
    }

    #navbar ul.active {
        max-height: 318px;
        padding: 92px 0;
    }

    #navbar ul {
        position: absolute;
        top: 10px;
        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: 474px;
        padding: 10px 0;

        background-color: white;
        /* Ensure solid white background when active */
        opacity: 1;
        /* Reinforce full opacity when active */
    }

    #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;
        color: #181818;

    }

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

    /* Other responsive adjustments */
    .slide {
        flex: 0 0 50%;
    }

    .prev-btn,
    .next-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    #main-title {
        font-size: 3rem;

        left: 15px;
        right: auto;
    }

    #subtitle {
        font-size: 15px;
        right: 15px;
        left: auto;
        max-width: 300px;
    }

    .headingg {
        padding-left: 3vh;
        padding-top: 7vh;
        padding-bottom: 1vh;

        font-size: 34px;
    }

}

@media (max-width: 480px) {
    .slider-controls-container {

        margin-top: -4%;
    }


    #main-title {
        font-size: 2rem;
    }

    #subtitle {
        font-size: 0.8rem;
        max-width: 350px;
    }

    #electron-video {
        
        max-width: 163%;
        padding-right: 18px;
        border-radius: 8px;
        /* Smaller radius for small screens */
    }
}

@media (max-width: 480px) {
   

    .slider-container1 {
        position: static;
        /* margin: 0 auto; */
        top: 12px;
        padding-top: 2vh;
    }

    #main-title {
        font-size: 2rem;
        /* Adjusted for better fit */
        position: static;
        /* Remove absolute positioning */
        margin: 0;
        /* Reset margins */
        max-width: 100%;
        /* Full width of container */
    }

    #subtitle {
       font-size: 16px;
        position: static;
        /* margin-top: 5px; */
        /* max-width: 130%; */
                padding-top: 0vh;
        width: 76vh;
    }

    .matter-content {
        position: absolute;
        top: 77px;
        /* Position at the top */
        left: 50%;
        /* Center horizontally */
        transform: translateX(-50%);
        /* Offset by half its width */
        width: 90%;
        /* Responsive width */
        max-width: 400px;
        /* Prevent it from getting too wide */
        height: auto;
        /* Allow height to adjust */
        display: flex;
        flex-direction: column;
        /* Stack title and subtitle */
        align-items: center;
        /* Center content horizontally */
        text-align: center;
        /* Center text */
    }

    #first-page {
        /* padding: 50px 5px 5px; */
        height: 68vh;
    }


    .slide {
        flex: 0 0 100%;
    }

    .slide img {
        height: 567px;
    }

    .prev-btn,
    .next-btn {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    #sixth-page {
        padding: 32px 8px 16px;
    }

    .footer-top {
        gap: 16px;
    }

    .footer-tagline {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-social {
        gap: 12px;
    }

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

    .footer-links {
        gap: 16px;
    }

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

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

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

    #sixth-page {
        padding: 32px 8px 16px;
    }

    .footer-top {
        gap: 16px;
    }

    .footer-tagline {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .footer-social {
        gap: 12px;
    }

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

    .footer-links {
        gap: 16px;
    }

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

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

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

    /* Second Page Header Styles */
    #second-page {
        position: relative;
        padding-bottom: 9vh;
        height: 96vh;
        /* Creates space for the header */
    }

    #fourth-page {
        height: auto;
    }

}

/* Second Page Header Styles */
#second-page {
    position: relative;
    /* Creates space for the header */
}

.section-header {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 20;
}

.section-header h2 {
    color: #000;
    font-size: 2.5rem;
    font-weight: bold;
    margin: -34px 0px 0px 25px;
    text-align: right;
}

.section-header1 {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    z-index: 20;
}

.section-header1 h2 {
    color: #000;
    font-size: 2.5rem;
    font-weight: bold;
    margin: -34px 0px 0px 25px;
    text-align: right;
}

.buttons-container {
    display: flex;
    gap: 10px;
}

.round-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.round-button:hover {
    background-color: #000;
    color: #fff;
}

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

.spec-label-list {
    list-style: none;
    padding: 0;
    display: flex;
    margin-bottom: -198px;
    flex-direction: column;
    gap: 22px;
    align-items: flex-start;
}

.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;
    flex-shrink: 0;
    /* Prevent the icon from shrinking */
}

.spec-icon img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* Style for the label (e.g., "CPU") */
.spec-label {
    font-weight: 500;
    color: #333;
    min-width: 80px;
        font-size: 22px;

    /* Ensures consistent spacing between label and description */
}

/* Style for the description (e.g., "2.4 GHz hex-core CPU") */
.spec-desc {
    font-weight: 400;
    color: #666;
        font-size: 16px;

    /* Lighter color to distinguish from the label */
    margin-left: 100px;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .spec-label-list {
        gap: 18px;
        /* Slightly smaller gap on mobile */
    }

    .spec-label-list li {
        font-size: 0.9rem;
        /* Slightly smaller font on mobile */
    }

    .spec-icon img {
        width: 20px;
        height: 20px;
        /* Adjust icon size for mobile */
    }

    .spec-label {
        min-width: 70px;
        text-align: left;
        /* Adjust spacing for smaller screens */
    }

    .spec-desc {
        padding-left: 52px;
        width: 100%;
        text-align: left;
        margin-left: 0px;
    }
}

/* 
@media (max-width: 480px) {
    #main-title {
        font-size: rem;
        position: static;
        margin: 0;
        max-width: 100%;
    }

    #subtitle {
        font-size: 16px;
        margin-top: 5px;
        max-width: 100%;
    }

} */

/* ========== POPUP STYLES ========== */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent overlay */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.popup.active {
    display: flex;
}

.popup-content {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

.popup-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;
}

.popup-content p {
    font-size: 1rem;
    color: #666;
    margin: 0 0 20px 0;
}

.popup-content input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f5f5f5;
    color: #666;
    box-sizing: border-box;
}

.subscribe-button {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.subscribe-button:hover {
    background-color: #e0e0e0;
    color: #333;
}

/* Responsive Adjustments for Popup */
@media (max-width: 480px) {
    .popup-content {
        padding: 20px;
        max-width: 300px;
    }

    .popup-content h2 {
        font-size: 1.25rem;
    }

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

    .popup-content input[type="email"] {
        padding: 10px;
        font-size: 0.9rem;
    }

    .subscribe-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}



/* second page css starts */
/* ========== SECOND PAGE (SLIDER) ========== */
/* ========== SECOND PAGE (SLIDER) ========== */
#second-page {
    position: relative;
    width: 100%;
    height: 72vh;
    box-sizing: border-box;
    overflow-x: hidden;
    /* Match slides-container height */
}

#second-page * {
    box-sizing: border-box;
}

#second-page .slide {
    width: 357px;
    height: 550px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    /* Static depth shadow for popped-up box effect */
  
    /* Solid background for card effect */
    z-index: 1;
}

#second-page .slide-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    color: white;
    padding: 20px;
    z-index: 2;
    pointer-events: none;
}

#second-page .slide-img {
    
    object-fit: cover;
}

#second-page .slides-container {
    display: flex;
    transition: transform 0.5s ease;
    gap: 34px;
    height: 57vh;
}

#second-page .slides-wrapper {
    width: 100%;
    position: relative;
    padding: 0 10px;
}

#second-page .navigation {
    position: absolute;
    bottom: 20px;
    right: 53px;
    display: flex;
    gap: 10px;
    z-index: 3;
}


/* Responsive adjustments for second page slider */
@media (max-width: 1200px) {
    #second-page {
    position: relative;
    width: 100%;
    padding: 0px 20px;
    box-sizing: border-box;
    overflow-x: hidden;
    height: 54vh;
    /* Match slides-container height */
}


#second-page .slides-wrapper {
        width: 100%;
        height: 52vh;
    overflow: hidden;
    /* padding: 0 10px; */
    padding: 0 10px;
    padding-top: 1vh;
    padding-bottom: 1vh;
}

    #second-page .slides-container {
        display: flex;
        transition: transform 0.5s ease;
        gap: 10px;
        height: 57vh;
    }

    #second-page .slide {
        width: 300px;
        height: 450px;
        /* Adjust shadow for smaller screens */
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
    }
}

@media (max-width: 768px) {
    #second-page .slide {
        width: 45vw;
        height: 400px;
        /* Slightly reduce shadow */
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    #second-page .slide-content h3 {
        font-size: 1.2rem;
    }

    #second-page .slide-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #second-page .slides-wrapper {
    width: 100%;
        height: 58vh;
    overflow: hidden;
    position: relative;
    padding: 0 10px;
}
    #second-page {
        position: relative;
        width: 100%;
        /* padding: 0px 20px; */
        box-sizing: border-box;
        overflow-x: hidden;
        margin-top: -4vh;
        /* min-height: 7vh; */
        height: auto;
    }

    #second-page .slide {
        width: calc(100vw - 40px);
        max-height: 100vh;
        max-width: 72vw;
        /* Further reduce shadow for mobile */
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.15);
    }

    #second-page .slide-content {
        padding: 15px;
    }

    #second-page .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    #second-page .slide-content p {
        font-size: 0.8rem;
    }
}

/* second page css ends */
@media (max-width: 375px) {
    #second-page .slides-wrapper {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    position: relative;
    padding: 0 10px;
}}
/* Second Page Slider Text Alignment */

#second-page .slide-content h3 {
    font-size: 20px; /* Slightly smaller than text-xl for better fit */
    font-weight: bold;
    margin-bottom: 18px;
    color: #ffffff;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for long titles */
    max-width: 100%; /* Ensure it stays within slide width */
}

#second-page .slide-content p {
    font-size: 16px;
    color: #ffffff;
    line-height: 25px;
    text-align: left;
    margin: 0;
}

/* Ensure slide dimensions and layout are consistent */
#second-page .slide {
    height: 49.07vh;
  width: 20.78vw;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
   
    z-index: 1;
}

/* Responsive adjustments for second page slider */
@media (max-width: 1200px) {
    #second-page .slide {
        width: 300px;
        height:fit-content;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.25), 0 3px 6px rgba(0, 0, 0, 0.15);
    }

    #second-page .slides-container {
        height: 57vh;
    }

    #second-page .slide-content h3 {
        font-size: 1.1rem; /* Smaller font to fit in one line */
    }

    #second-page .slide-content p {
        font-size: 0.85rem;
        max-width: 85%; /* Slightly wider for smaller slides */
    }
}

@media (max-width: 768px) {
    #second-page .slide {
        width: 45vw;
        height: 400px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25), 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    #second-page .slide-content h3 {
        font-size: 1rem; /* Further reduced for smaller screens */
    }

    #second-page .slide-content p {
        font-size: 0.8rem;
        max-width: 90%; /* Adjust for narrower slides */
    }
}

@media (max-width: 480px) {
    #second-page {
        margin-top: -4vh;
        height: auto;
        min-height: 75vh;
    }

    #second-page .slides-wrapper {
        width: 100%;
        height: 67vh;
        overflow: hidden;
        position: relative;
        padding: 0 10px;
        padding-top: 1vh;
        padding-bottom: 1vh;
    }

    #second-page .slide {
        width: calc(100vw - 40px);
        max-width: 72vw;
        height: 100%;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25), 0 2px 3px rgba(0, 0, 0, 0.15);
    }

    #second-page .slide-content {
        padding: 15px;
    }

    #second-page .slide-content h3 {
        font-size: 0.95rem; /* Small enough to fit in one line on mobile */
        margin-bottom: 8px;
    }

    #second-page .slide-content p {
        font-size: 0.75rem;
        line-height: 25px;
        max-width: 100%; /* Maximize width for single slide */
    }
}

@media (max-width: 375px) {
    #second-page .slides-wrapper {
        height: 70vh;
    }

    #second-page .slide-content h3 {
        font-size: 0.9rem; /* Further adjustment for very small screens */
    }

    #second-page .slide-content p {
        font-size: 0.75rem;
        max-width: 95%;
    }
}