:root {
    --white-color: #fff;
    --black-color: #000;
    --blue-color: #0071e3;
    --footerp-color: #0000008F;
    --footerh-color: #000000E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    width: 100%;
    background-color: var(--white-color);
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
}

ul {
    list-style-type: none;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    border: none;
    padding: 7px 15px;
    border-radius: 15px;
    background-color: transparent;
    border: 1.5px solid var(--blue-color);
    color: var(--blue-color);
    cursor: pointer;
    transition: all 0.5s ease;
}

.btn:hover {
    background-color: var(--blue-color);
    color: var(--white-color);
    transform: scale(1.1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

/* Header section starts here */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999;
}

#nav-links {
    display: none;
}

#logo i {
    font-size: 1.3rem;
}

#navbar {
    display: flex;
    gap: 25px;
}

#navbar i {
    font-size: 1.3rem;
    color: var(--footerp-color);
}


/* Media Queries for tablet  */

@media (min-width: 768px) and (max-width: 1024px) {}


/* Media Queries for desktop */
@media (min-width: 1025px) {
    header {
        justify-content: center;
        gap: 40px;
    }

    #logo i {
        font-size: 1.2rem;
    }

    #navbar {
        gap: 30px;
    }

    #navbar i {
        font-size: 1.2rem;
    }

    #nav-links {
        display: inline-block;
        padding-top: 2px;
    }

    #nav-menu {
        display: none;
    }

    #nav-links ul {
        display: flex;
        gap: 40px;
    }

    #nav-links a {
        color: var(--footerp-color);
        font-size: 0.8rem;
    }
}

/* Header section ends here */


/*  Hero section starts here */
#hero {
    width: 100%;
    margin-top: 43px;
}

#hero-1 {
    width: 100%;
    height: 80vh;
    background-image: url(Assets/Main_images/hero1_img.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 30px 15px;
    text-align: center;
}

#hero-1 h1 {
    font-size: 2rem;
}

#hero-1 p {
    font-size: 1rem;
}

#hero-1 button {
    margin-top: 10px;
    font-size: 0.9rem;
}

#hero-2 {
    width: 100%;
    height: 75vh;
    background-color: var(--black-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 25px 15px;
    gap: 5px;
    background-image: url(Assets/Main_images/hero2_img.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

#hero-2 h1 {
    color: var(--white-color);
}

#hero-2 p {
    color: var(--white-color);
    font-size: 1.1rem;
}

.hero-2-button {
    margin-top: 10px;
    font-size: 0.9rem;
}

.blue-btn {
    background-color: var(--blue-color);
    color: var(--white-color);
    margin-right: 10px;
}




/* Media Queries for tablet  */

@media (min-width: 768px) and (max-width: 1024px) {

    #hero-1 {
        height: 70vh;
        padding: 50px 30px;
    }

    #hero-1 h1 {
        font-size: 3rem;
    }

    #hero-1 p {
        font-size: 1.3rem;
    }

    #hero-1 button {
        font-size: 1.1rem;
    }

    #hero-2 {
        padding: 35px 15px;
    }

    #hero-2 h1 {
        font-size: 3rem;
    }

    #hero-2 p {
        font-size: 1.8rem;
    }

    .hero-2 button {
        font-size: 1.3rem;
    }
}



/* Media Queries for desktop */
@media (min-width: 1025px) {

    #hero-1 {
        background-image: url(Assets/Main_images/hero1_img.jpg);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    #hero-1 {
        height: 80vh;
        padding: 50px 30px;
    }

    #hero-1 h1 {
        font-size: 3.6rem;
    }

    #hero-1 p {
        font-size: 1.6rem;
    }

    #hero-1 button {
        font-size: 1.1rem;
    }

    #hero-2 {
        padding: 35px 15px;
        height: 70vh;
        background-image: url(Assets/Main_images/hero2_lap_img.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }

    #hero-2 h1 {
        font-size: 3.1rem;
    }

    #hero-2 p {
        font-size: 1.7rem;
    }

    .hero-2 button {
        font-size: 1rem;
    }
}


/*  Hero section ends here  */


/* Products Section starts here */
#products {
    display: grid;
    gap: 10px;
    padding: 10px;
    grid-template-columns: 1fr;
    align-items: center;
    justify-content: center;
}

.product {
    background-color: #f5f5f6;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    padding: 35px 15px;
    transition: transform 1s ease;
}

.product1 {
    background-image: url(Assets/product_images/product0_img.jpg);
}

.product2 {
    background-image: url(Assets/product_images/product2_img.jpg);
}

.product3 {
    background-image: url(Assets/product_images/product3_img.jpg);
}

.product4 {
    background-image: url(Assets/product_images/product4_img.jpg);
}

.product5 {
    background-image: url(Assets/product_images/product5_img.jpg);
}

.product6 {
    background-image: url(Assets/product_images/product6_img.jpg);
}

.product7 {
    background-image: url(Assets/product_images/product7_img.jpg);
}

.product3 img {
    max-width: 220px;
}

.product5 img {
    max-width: 180px;
}

.product7 img {
    max-width: 130px;
}

.product-content h1 {
    color: var(--black-color);
    font-size: 2rem;
}

.product-content p {
    color: var(--black-color);
    font-size: 1.1rem;
    font-weight: 400;
    margin-top: 5px;
}

.product-content button {
    margin-top: 10px;
    font-size: 0.9rem;
}

.blue-btn {
    background-color: var(--blue-color);
    color: var(--white-color);
    margin-right: 10px;
}

.product:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Media Queries for tablet  */

@media (min-width: 768px) and (max-width: 1024px) {
    #products {
        grid-template-columns: repeat(2, 1fr);
    }

    .product1 {
        grid-column: span 2;
        height: 650px;
        background-image: url(Assets/product_images/product1_img.jpg);
    }

    .product1 h1 {
        font-size: 3rem;
    }

    .product1 p {
        font-size: 1.6rem;
    }

    .product1 button {
        font-size: 1.1rem;
    }

}

/* Media Queries for desktop */
@media (min-width: 1025px) {
    #products {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .product1 {
        grid-column: span 2;
        height: 300px;
        background-image: url(Assets/product_images/product1_img.jpg);

    }

    .product {
        height: 550px;
    }


    .product-content h1 {
        font-size: 2.5rem;
    }

    .product-content p {

        font-size: 1.3rem;
    }

    .product-content button {
        font-size: 1rem;
    }

    .product1 h1 {
        font-size: 4rem;
    }

    .product1 p {
        font-size: 1.8rem;
    }

    .product3 img {
        max-width: 260px;
    }

    .product5 img {
        max-width: 200px;
    }

    .product7 img {
        max-width: 150px;
    }

}

/*  Products section ends here  */

/* Slider Section starts here */
#slider {
    width: 100%;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#slider-container {
    margin: 10px;
    background-color: var(--white-color);
    display: flex;
    position: relative;
    gap: 20px;
    transform: translateX(calc(50% - 137.5px));
    animation: slide 25s linear infinite;
}

#slider-container:hover {
    animation-play-state: paused;
}

.slide {
    height: 500px;
    flex: 0 0 275px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0px;
    box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.388);
}

.slide-content {
    text-align: center;
    color: white;
}

.slide-content h3 {
    font-size: 1.5rem;
}

.slide-content button {
    background-color: var(--white-color);
    color: black;
    margin-top: 10px;
    border: 0.5px solid black;
}

.slide-image img {
    max-width: 100px;
}

.slide1 {
    background-image: url(Assets/appletv_images/appletv1_img.jpg);
}

.slide2 {
    background-image: url(Assets/appletv_images/appletv2_img.jpg);
}

.slide3 {
    background-image: url(Assets/appletv_images/appletv3_img.jpg);
}

.slide4 {
    background-image: url(Assets/appletv_images/appletv4_img.jpg);
}

.slide5 {
    background-image: url(Assets/appletv_images/appletv5_img.jpg);
}

.slide6 {
    background-image: url(Assets/appletv_images/appletv6_img.jpg);
}

@keyframes slide {
    0% {
        transform: translateX(calc(50% - 137.5px));
    }

    50% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(calc(50% - 137.5px));
    }
}

/* media Queries for small phones */

@media (max-width:375px) {

    #slider-container {
        animation: slide-small 25s linear infinite;
    }

    @keyframes slide-small {
        0% {
            transform: translateX(calc(50%));
        }

        100% {
            transform: translateX(calc(-230%));
        }
    }
}

/* Media Queries for tablet  */

@media (min-width: 768px) and (max-width: 1024px) {

    #slider {
        justify-content: baseline;
    }

    #slider-container {
        animation: slide 55s linear infinite;
    }

    .slide {
        height: 368px;
        flex: 0 0 690px;
        align-items: center;
        justify-content: space-between;
        padding: 20px 15px;
        background-size: cover;
        flex-direction: row-reverse;
        align-items: end;
    }

    .slide-image img {
        display: none;
    }

    .slide1 {
        background-image: url(Assets/appletv_images/new1_img.jpg);
    }

    .slide2 {
        background-image: url(Assets/appletv_images/new2_img.jpg);
    }

    .slide3 {
        background-image: url(Assets/appletv_images/new3_img.jpg);
    }

    .slide4 {
        background-image: url(Assets/appletv_images/new4_img.jpg);
    }

    .slide5 {
        background-image: url(Assets/appletv_images/new5_img.jpg);
    }

    .slide6 {
        background-image: url(Assets/appletv_images/new6_img.jpg);
    }

    .slide-content {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 20px;
        margin-bottom: 5px;
    }

    .slide-content h3 {
        display: none;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .slide-image img {
        max-width: 80px;
    }

}



/* Media Queries for desktop */

@media (min-width: 1025px) {

    #slider-container {
        animation: slide 75s linear infinite;
    }

    .slide {
        height: 668px;
        flex: 0 0 1250px;
        align-items: center;
        justify-content: space-between;
        padding: 20px 15px;
        background-size: cover;
        flex-direction: row-reverse;
        align-items: end;
    }

    .slide-image img {
        max-width: 100px;
    }

    .slide1 {
        background-image: url(Assets/appletv_images/new1_img.jpg);
    }

    .slide2 {
        background-image: url(Assets/appletv_images/new2_img.jpg);
    }

    .slide3 {
        background-image: url(Assets/appletv_images/new3_img.jpg);
    }

    .slide4 {
        background-image: url(Assets/appletv_images/new4_img.jpg);
    }

    .slide5 {
        background-image: url(Assets/appletv_images/new5_img.jpg);
    }

    .slide6 {
        background-image: url(Assets/appletv_images/new6_img.jpg);
    }

    .slide-content {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        gap: 20px;
        margin-bottom: 35px;
    }

    .slide-content p {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .slide-image img {
        display: none;
    }

}

/*  Slider section ends here  */


/*  Footer section starts here */
footer {
    width: 100%;
    background-color: #f5f5f7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#footer-paragraphs {
    width: 90%;
    padding: 10px 0px;
    border-bottom: 1px solid #00000028;
    line-height: 1.2;
    margin-bottom: 20px;
}

#footer-paragraphs p {
    font-size: 0.75rem;
    margin-bottom: 12px;
    color: var(--footerp-color);
}

#footer-dropdown {
    width: 90%;
}

.dropdown {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px;
    border-bottom: 1px solid #00000036;
}

.dropdown p {
    font-size: 0.75rem;
    color: #000000bd;
}

.dropdown i {
    font-size: 25px;
    color: #000000d6;
}

#footer-trademark {
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0px;
}

#footer-trademark p {
    font-size: 0.75rem;
    color: var(--footerp-color);
}

#footer-trademark p a {
    color: var(--blue-color);
    text-decoration: underline;
}

#footer-trademark div ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2px;
}

#footer-trademark div a {
    color: var(--footerp-color);
    font-size: 0.75rem;
    border-right: 2px solid #0000008F;
    padding-right: 5px;
}

.footer-links {
    display: none;
}

.apple-store {
    display: none;
}

/* Media Queries for tablet  */

@media (min-width: 768px) and (max-width: 1024px) {
    footer {
        padding: 10px 15px;
    }

    #footer-paragraphs {
        width: 100%;
    }

    #footer-dropdown {
        width: 100%;
    }

    #footer-dropdown div {
        width: 100%;
    }

    #footer-trademark {
        width: 100%;
    }

}



/* Media Queries for desktop */
@media (min-width: 1025px) {
    footer {
        padding: 10px 15px;
    }

    #footer-paragraphs {
        width: 70%;
    }

    #footer-dropdown {
        width: 70%;
        display: flex;
    }

    #footer-dropdown .dropdown {
        display: none;
    }

    #footer-dropdown div {
        width: 70%;
    }

    #footer-trademark {
        width: 70%;
    }

    #footer-dropdown .apple-store {
        display: block;
        width: 60%;
        align-items: flex-start;
    }

    #footer-dropdown .footer-links {
        display: block;
        width: 60%;
        align-items: flex-start;
    }

    .footer-links h5 {
        margin-top: 20px;
        margin-bottom: 5px;
        color: var(--footerh-color);
        font-weight: 500;
    }

    .footer-links a {
        color: var(--footerp-color);
        font-size: 0.75rem;
    }

    .apple-store h5 {
        margin-top: 20px;
        margin-bottom: 5px;
        color: var(--footerh-color);
        font-weight: 500;
    }

    .apple-store a {
        color: var(--footerp-color);
        font-size: 0.75rem;
    }
}

/*  Footer section ends here  */