body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:
        "SF Pro Text",
        "SF Pro Icons",
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}

nav {
    width: 100%;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    position: fixed;
    margin-top: -70px;
    z-index: 9999;
    opacity: 0.85;
    cursor: pointer;
}

nav>ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

nav>ul>li>a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    font-size: 12px;
}

.navAppleLogo {
    margin-top: 5px;
}

.nav-under-bar {
    margin-top: 70px;
}

.nav-under-bar>ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.nav-under-bar>ul>li {
    text-align: center;
    font-size: 12px;
    cursor: pointer;

}

.nav-under-bar>ul>li>p {
    margin-top: 5px;
    color: gray;
}

.navunder2 {
    margin-top: -10px;
    text-align: center;
    width: 100%;
    background-color: #F5F5F7;
}

.navunder2>p {
    padding: 15px;
    font-size: 14px;
    color: rgb(0, 0, 0, 0.8);
}



.explore {
    width: 100%;
    height: fit-content;
    padding-bottom: 150px;
    background-color: #fff;

}

.explore>p {
    padding: 20px;
    font-size: 75px;
    font-weight: 600;
    margin-left: 300px;
    font-style: normal;
    font-optical-sizing: auto;
    width: fit-content;
}


:root {
    --apple-blue: #0071e3;
    --background-color: #f5f5f7;
    --card-background: #fff;
    --text-primary: #000;
    --text-secondary: #6e6e73;
    --border-color: #d2d2d7;
}


.product-grid {
    margin-top: -50px;
    display: flex;
    overflow: auto;
    scrollbar-width: none;
}

/* Individual Product Card */
.product-card {
    background-color: #Fff;
    border-radius: 18px;
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 15px;
    margin-right: -30px;
}

/* .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
} */

.product-image img {

    width: 400px;
    height: 400px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: 35px;
    margin-bottom: 1rem;
    cursor: pointer;
}

.product-image img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-info h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.chip-info,
.description {
    color: #000;
    font-size: 1.0rem;
    line-height: 1.4;
    width: 500px;
    margin: 0.5rem auto;
}

.chip-info {
    color: var(--text-primary);
    font-weight: 545;
}


.color-swatches {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 1rem 0;
    height: 10px;
    /* Reserve space */
}

.color-swatches span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}


.pricing {
    margin: 1rem 0;
}

.pricing p {
    margin: 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.pricing .monthly {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-actions {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

/* Buttons */
.btn {
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 999px;
    transition: background-color 0.2s ease;
}

.btn-primary {
    background-color: var(--apple-blue);
    color: #fff;
    padding: 0.6rem 1.2rem;
}

.btn-primary:hover {
    background-color: #0077ed;
}

.btn-link {
    color: var(--apple-blue);
    position: relative;
    padding-right: 12px;
}

.btn-link::after {
    content: '>';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-weight: bold;
}

/* Utility Class for JS */
.hide {
    display: none;
}

.scroll-btn {
    width: fit-content;
    display: flex;
    height: fit-content;
    margin-left: 93%;
    margin-top: 20px;
    gap: 10px;
}

.scroll-btn img {
    cursor: pointer;
    background-color: #ECECF0;
    border-radius: 50%;
}

.shop-mac {
    width: 100%;
    height: fit-content;
    padding-bottom: 150px;
    background-color: #F5F5F7;

}



.why-apple {
    width: 100%;
    height: fit-content;
    margin-top: -50px;
    padding-bottom: 100px;
    background-color: #F5F5F7;
}

.why-apple>p {
    padding: 20px;
    font-size: 56px;
    font-weight: 600;
    margin-left: 300px;
    padding-top: 100px;
    font-style: normal;
    font-optical-sizing: auto;
    width: fit-content;
}

.why-apple>a {
    width: fit-content;
    text-decoration: none;
    position: absolute;
    left: 80%;
    top: 150%;
    color: #0077ff;
}

.why-apple>a:hover {
    text-decoration: underline;
}





.carousel-track {
    display: flex;
    gap: 24px;
    overflow: hidden;
    /* scroll-snap-type: x mandatory; */
    padding: 20px 10px 40px 10px;
    /* Bottom padding for shadow/hover space */
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
}

/* --- The White Card --- */
.card {
    flex: 0 0 300px;
    /* Fixed width */
    height: 480px;
    /* Fixed height */
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    cursor: pointer;

    /* Animation for hover lift */
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* --- Typography --- */
.eyebrow {
    font-size: 15px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 10px;
}

.headline {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.subtext {
    font-size: 35px;
    color: #1d1d1f;
}

.subtext span {
    font-size: 19px;
    color: #6e6e73;
    /* Gray text for details */
    display: block;
    margin-top: 8px;
}

/* --- Bottom Visual Area --- */
.card-visual {
    height: 300px;
    width: 100%;
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: relative;
}

.card-visual img {
    object-fit: contain;
}

/* --- Plus Button (Black) --- */
.plus-btn {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 30px;
    height: 30px;
    background-color: #1d1d1f;
    /* Black background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s ease;
}

.card:hover .plus-btn {
    transform: scale(1.1);
}

.scroll-btn {
    width: fit-content;
    display: flex;
    height: fit-content;
    margin-left: 85%;
    margin-top: 20px;
    gap: 10px;
}

.scroll-btn img {
    cursor: pointer;
    background-color: #ECECF0;
    border-radius: 50%;
}



.get-to {
    width: 100%;
    background-color: #FFF;
    display: flex;
    flex-direction: column;
}

.get-to>p {
    font-size: 52px;
    font-weight: 550;
    margin-left: 300px;
    padding-top: 80px;
    font-style: normal;
    font-optical-sizing: auto;
    width: fit-content;
}


.carousel-wrapper1 {
    width: 100%;
    position: relative;
}

/* --- The Track --- */
.carousel-track1 {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 10px 40px 10px;
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
}

.carousel-track1::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

/* --- The Dark Card --- */
.card1 {
    flex: 0 0 380px;
    /* Card Width */
    height: 700px;
    /* Card Height */
    background-color: #000000;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card1:hover {
    transform: translateY(-8px);
}

/* --- Text Content --- */
.card-content1 {
    position: relative;
    z-index: 2;
    /* Ensures text is above image */
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.eyebrow1 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    /* Apple Gray */
    margin-bottom: 8px;
}

.headline1 {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.1;
    color: #f5f5f7;
    /* Off-white */
}

/* --- Images/Backgrounds --- */
.card-image1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

/* Zoom effect on image hover */
.card1:hover .card-image {
    transform: scale(1.05);
}

/* Specific positioning for specific cards */
.img-bottom1 {
    object-position: bottom center;
    top: 20%;
    /* Push image down so text is clear */
    height: 80%;
}

.img-chip1 {
    width: 60%;
    height: auto;
    left: 20%;
    top: 40%;
}

/* --- The Plus Button (White) --- */
.plus-btn1 {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    /* White button */
    border: none;
    color: black;
    /* Black Icon */
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

/* --- Navigation Controls --- */
.nav-container1 {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 10px;
    padding-right: 10px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #e8e8ed;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.nav-btn:hover {
    background-color: #d2d2d7;
}

.nav-btn svg {
    width: 14px;
    fill: #1d1d1f;
}


.help-me {
    width: 100%;
    height: 100vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    margin-top: 0px;
}

.help-me>p {
    padding: 20px;
    font-size: 52px;
    font-weight: 550;
    margin-left: 250px;
    padding-top: 80px;
    font-style: normal;
    font-optical-sizing: auto;
    width: fit-content;
}

.question {
    width: 73%;
    height: 450px;
    display: flex;
    flex-direction: row;
    background-color: #F5F5F7;
    border-radius: 35px;
    margin-left: 250px;
    cursor: pointer;
    transform: translateY(0);
    background-image: url('/images/watch-images/imgi_18_banner_watch_studio__flxoj26afcia_large.jpg');
    background-repeat: no-repeat;
    background-size: cover;

    /* THE IMPORTANT PART: Smoothly animate ANY changes to CSS properties */
    /* 'all' means animate transform AND box-shadow simultaneously */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.question:hover {
    transform: translateY(-12px);
    /* Make shadow deeper and softer to create illusion of height */
}

.question>div {
    display: flex;
    flex-direction: column;
    width: 500px;
    z-index: 2;
}

.question>div>:first-child {
    font-size: 28px;
    font-weight: 600;
    margin-top: 150px;
    text-align: center;
}

.question>div>:nth-child(2) {
    margin-left: 130px;
    margin-top: -15px;
    font-size: 18px;
    color: #3a3a3c;
    text-align: left;
}

.question>div>a {
    margin-left: 110px;
    width: fit-content;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 999px;
    transition: background-color 0.2s ease;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.question>div>button:hover {
    background-color: #D4824C;
}


.significant {
    width: 100%;
    margin-top: -150px;
    height: fit-content;
    background-color: #fff;
    display: flex;
    flex-direction: column;
}

.significant>p {
    padding: 20px;
    font-size: 55px;
    font-weight: 550;
    margin-left: 270px;
    font-style: normal;
    font-optical-sizing: auto;
    width: fit-content;
}


.feature-container {
    width: 73%;
    height: 750px;
    margin-left: 250px;
    background-color: #f5f5f7;
    /* Apple Light Gray Background */
    border-radius: 30px;
    display: flex;
    align-items: center;
    /* Vertically center items */
    gap: 60px;
    overflow: hidden;
}

/* --- Left Side: Text Accordion --- */
.accordion-wrapper {
    margin-left: 100px;
    margin-right: 100px;
    width: 450px;
    /* Takes up 50% space */
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid #d2d2d7;
    overflow: hidden;
}

/* Remove border from the last item */
.accordion-item:last-child {
    border-bottom: none;
}

/* Header (The clickable part) */
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.accordion-title {
    font-size: 29px;
    font-weight: 600;
    color: #1d1d1f;
}

/* The Arrow Icon */
.icon {
    width: 18px;
    height: 18px;
    transition: transform 0.4s ease;
    fill: #86868b;
    /* Gray arrow */
}

/* --- The Content (Hidden by default) --- */
.accordion-content {
    max-height: 0;
    /* Hidden initially */
    opacity: 0;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    margin-top: -30px;
    /* Smooth slide effect */
    color: #424245;
    font-size: 20px;
    line-height: 1.5;
    padding-right: 20px;
    /* Prevent text hitting the edge */
}

.accordion-content p {
    padding-bottom: 24px;
}

/* --- Active State (When clicked) --- */

/* Rotate arrow 180deg when active */
.accordion-item.active .icon {
    transform: rotate(180deg);
    fill: #1d1d1f;
    /* Darker arrow when active */
}

/* Reveal content when active */
.accordion-item.active .accordion-content {
    max-height: 300px;
    /* Enough height to fit the text */
    opacity: 1;
}

/* --- Right Side: Image --- */
.image-wrapper {
    flex: 1.2;
    /* Takes up slightly more space than text */
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    /* Drop shadow for the device */
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .feature-container {
        flex-direction: column-reverse;
        /* Image on top for mobile */
        padding: 30px;
        gap: 40px;
    }

    .accordion-title {
        font-size: 20px;
    }
}


.image-column {
    flex: 2.0;
    position: relative;
    height: 700px;
    /* Set fixed height for the image area */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stack images on top of each other */
.feature-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    /* Hidden by default */
    transform: scale(0.98);
    /* Slightly shrunk */
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* The Visible Image */
.feature-image.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}



.link-list {
    width: 100%;
    height: fit-content;
    background-color: #FAFAFC;
    padding-bottom: 70px;
}

.link-list>p {
    padding: 20px;
    font-size: 55px;
    font-weight: 550;
    margin-left: 240px;
    padding-top: 50px;
    font-style: normal;
    font-optical-sizing: auto;
    width: fit-content;
}

.list {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin-left: 240px;
    margin-top: 50px;
}

.list>div>ul>li {
    list-style: none;
    margin-bottom: 0px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}


footer {
    display: flex;
    flex-direction: column;
}

footer :first-child {
    width: 75%;
    font-size: 12px;
    color: #6e6e73;
    margin-top: 20px;
    margin-left: 220px;
    text-align: left;

}

hr {
    width: 75%;
    border: none;
    border-top: 1px solid #d2d2d7;
    margin-left: 215px;
    margin-top: 20px;
}

footer>div>p:last-child {
    font-size: 12px;
    color: #6e6e73;
    margin-left: 610px;
}


.slide-up {
    opacity: 0;
    /* Move the element 50px down */
    transform: translateY(50px);
    /* Add a smooth transition */
    transition: opacity 0.3s ease-out, transform 0.8s ease-out;
}

/* 2. Final (visible) state */
.slide-up.active {
    opacity: 1;
    /* Move the element back to its original position */
    transform: translateY(0);
}