@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root{
    --orange:#ff7800;
    --black:#130f40;
    --light-color:#666;
    --box-shadow:0 .5rem 1.5rem rgba(0,0,0,.1);
    --border:.2rem solid rgba(0,0,0,.1);
    --outline:.1rem solid rgba(0,0,0,.1);
    --outline-hover:.2rem solid var(--black);
}

*{
    font-family: 'Poppins', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition: all .2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
}

body{
    background:#eee;
}

section{
    padding:2rem 9%;
}

.heading{
    text-align: center;
    padding:2rem;
    padding-bottom: 3rem;
    font-size: 3.5rem;
    color:var(--black);
}

.heading span{
    background: var(--orange);
    color:#fff;
    display: inline-block;
    padding:.5rem 3rem;
    clip-path: polygon(100% 0, 93% 50%, 100% 99%, 0% 100%, 7% 50%, 0% 0%);
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding:.8rem 3rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    border:.2rem solid var(--black);
    color:var(--black);
    cursor: pointer;
    background: none;
}

.btn:hover{
    background: var(--orange);
    color:#fff;
}

/* Home Section */
.home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to right, var(--orange), var(--black));
    background-position: center;
    background-size: cover;
    padding-top: 17rem;
    padding-bottom: 10rem;
    color: #fff; /* Ensure content is visible on the background */
}

.home .content {
    text-align: left;
    width: 50%;
}

.home .content h3 {
    color: #fff; /* Ensure content is visible on the background */
    font-size: 3rem;
}

.home .content h3 span {
    color: var(--black);
}

.home .content p {
    color: #fff; /* Ensure content is visible on the background */
    font-size: 1.7rem;
    padding: 1rem 0;
    line-height: 1.8;
}

.home .content .btn {
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    border: .2rem solid #fff; /* Ensure button is visible on the background */
    color: #fff;
    cursor: pointer;
    background: none;
}

.home .content .btn:hover {
    background: var(--orange);
    color: #fff;
}

.home .image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.home .image img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .home {
        flex-direction: column;
        text-align: center;
        background: linear-gradient(to bottom, var(--orange), var(--black));
    }

    .home .content {
        width: 100%;
        display: contents;
    }

    .home .image {
        width: 100%;
        margin-top: 2rem;
    }
}

/* Update the features section styles */
.features {
    background: var(--black);
    color: #fff;
    padding: 2rem 9%;
}

.features .heading {
    text-align: center;
    padding: 2rem 0;
    font-size: 3.5rem;
    color: #fff;
}

.features .features-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features .box-container {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.features .box-container .box {
    position: relative;
    width: 30rem;
    height: 30rem;
    padding: 2rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.features .box-container .box:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.features .box-container .box i {
    font-size: 5rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.features .box-container .box .feature-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.features .box-container .box h3 {
    font-size: 2.5rem;
    line-height: 1.8;
    color: var(--black);
}

.features .box-container .box p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--light-color);
    padding: 1rem 0;
}

.features .box-container .box .btn {
    margin-top: 1rem;
    display: inline-block;
    padding: .8rem 3rem;
    font-size: 1.7rem;
    border-radius: .5rem;
    border: .2rem solid var(--black);
    color: var(--black);
    cursor: pointer;
    background: none;
    transition: background 0.3s, color 0.3s;
}

.features .box-container .box .btn:hover {
    background: var(--orange);
    color: #fff;
}

/* Desktop view adjustments */
.products-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
}

.products-column {
    flex: 1;
    text-align: center;
}

.product-title {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Update the product card layout */
.product-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-radius: .5rem;
    padding: 1rem;
    box-shadow: var(--box-shadow);
    transition: .2s linear;
}

.product-card:hover {
    background: var(--orange);
}

.product-card img {
    width: 80px;
    height: 80px;
    border-radius: .5rem;
    margin-right: 1rem;
}

.product-info {
    text-align: left;
    flex: 1;
}

.product-info h3 {
    font-size: 1.6rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 1.4rem;
    color: var(--light-color);
    margin-bottom: .5rem;
}

/* Add styles for the price section */
.price {
    text-align: right;
    font-size: 1.6rem;
    color: var(--black);
    display: flex;
    flex-direction: column;
    font-weight: bold;
}

/* Show More Button */
.show-more-btn {
    display: block;
    width: fit-content;
    margin: 1rem auto 0;
    padding: 0.8rem 1.5rem;
    background: var(--black);
    color: #fff;
    font-size: 1.3rem;
    border-radius: .5rem;
    text-decoration: none;
    transition: .3s ease;
}

.show-more-btn:hover {
    background: var(--orange);
}

/* Divider */
.divider {
    width: 2px;
    background: lightgray;
    height: auto;
    align-self: stretch;
}

/* Align Discover All button in front of the heading in desktop view */
.heading {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
}

.discover-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--black);
    color: #fff;
    font-size: 1.5rem;
    border-radius: .5rem;
    text-decoration: none;
    transition: .3s ease;
    margin-left: 30px;
}

.discover-btn:hover {
    background: var(--orange);
}

.discover-heading{
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-size: 2.5rem;
    color:var(--black);
    padding:2rem 0;
}
/* Mobile view adjustments */
@media (max-width: 767px) {
    /* Stack the product sections vertically */
    .products-container {
        flex-direction: column;
        padding: 1rem 0;
    }

    /* Ensure each column takes full width */
    .products-column {
        width: 100%;
        text-align: center;
        margin-bottom: 2rem; /* Add space between sections */
    }

    /* Product list should also display in a single column */
    .products-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Add this line */
        background: #fff;
        border-radius: .5rem;
        padding: 1.5rem;
        box-shadow: var(--box-shadow);
        transition: .2s linear;
    }

    .product-card img {
        width: 60px;
        height: 60px;
        margin-right: 1rem;
    }

    .product-info {
        text-align: left;
        flex: 1; /* Add this line */
    }

    .product-info h3 {
        font-size: 2rem;
    }

    .product-info .price {
        font-size: 1.8rem;
    }

    /* Show More Button */
    .show-more-btn {
        display: block;
        width: fit-content;
        margin: 2rem auto;
        padding: 1rem 2rem;
        background: var(--black);
        color: #fff;
        font-size: 1.3rem;
        border-radius: .5rem;
        text-decoration: none;
        transition: .3s ease;
    }

    .show-more-btn:hover {
        background: var(--orange);
    }

    /* Align Discover All button under the heading in mobile view */
    .discover-btn {
        display: block;
        width: fit-content;
        margin: 1rem auto 2rem;
        padding: 1rem 2rem;
        background: var(--black);
        color: #fff;
        font-size: 1.5rem;
        border-radius: .5rem;
        text-decoration: none;
        transition: .3s ease;
    }

    .discover-btn:hover {
        background: var(--orange);
    }
    
    .discover-heading {
        display: block;
        text-align: center; /* Center the content in mobile view */
        font-size: 2.5rem;
        color: var(--black);
        padding: 2rem 0;
    }
}

/* media queries  */

@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding:2rem;
    }

    section{
        padding:2rem;
    }

}

@media (max-width:450px){

    html{
        font-size: 50%;
    }

    .heading{
        display: block;
        font-size: 2.5rem;
    }

}

/* Announcement Section */
.announcement-section {
    padding: 1rem 9%;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement {
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.announcement:hover {
    transform: translateY(-5px);
}

.development-notice {
    background-color: #fff8e1;
    border-left: 5px solid #ffc107;
}

.points-promo {
    background-color: #e8f5e9;
    border-left: 5px solid #4caf50;
}

.announcement i {
    font-size: 2.5rem;
    color: var(--orange);
}

.points-promo i {
    color: #4caf50;
}

.development-notice i {
    color: #ffc107;
}

.announcement p {
    margin: 0;
    font-size: 1.4rem;
    color: var(--black);
}

.translation-notice {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
}

.translation-notice i {
    color: #007bff;
}

.points-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.points-info h3 {
    font-size: 1.8rem;
    color: var(--black);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .announcement-section {
        padding: 1rem 2%;
    }
    
    .announcement {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .announcement i {
        margin-bottom: 1rem;
    }
}

/* Promotions Section */
.promotions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.flash-sale {
    flex: 1;
    background: var(--black);
    color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
}

.flash-sale-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--orange);
    margin-bottom: 1rem;
}

.countdown-timer {
    background: #fff;
    color: var(--black);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.flash-sale-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 1rem;
}

.flash-sale-card img {
    width: 150px;
    height: 200px;
    border-radius: 10px;
    margin-right: 20px;
}

.flash-sale-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.flash-sale-info p {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.flash-sale-pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.5rem;
}

.discount-badge {
    background: red;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.buy-now-btn {
    display: inline-block;
    margin-top: 1rem;
    background: var(--orange);
    color: #fff;
    padding: 0.7rem 1.5rem;
    text-align: center;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.buy-now-btn:hover {
    background: #ff8800;
}

.products-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    align-content: center;
}

/* Static Height for Product Cards */
.product-card.static-height {
    overflow: hidden; /* Hide overflow content */
}

.products-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.product-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between; /* Add this line */
}

.product-card img {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    margin-right: 1rem;
}

.product-info {
    flex: 1; /* Add this line */
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.product-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 1.4rem;
    color: var(--light-color);
    margin-bottom: .5rem;
}

.new-price {
    color: var(--black);
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #999;
}

/* See All Promos Button */
.see-all-promos-btn {
    display: block;
    width: fit-content;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background: var(--black);
    color: #fff;
    font-size: 1.5rem;
    border-radius: .5rem;
    text-decoration: none;
    transition: .3s ease;
}

.see-all-promos-btn:hover {
    background: var(--orange);
}

/* Mobile view adjustments for promotions section */
@media (max-width: 767px) {
    .promotions-container {
        flex-direction: column;
    }

    .products-grid {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .product-card {
        width: 100%;
    }
}

/* Flash Sale Card */
.flash-sale .new-price {
    color: var(--orange);
}

/* Platforms Section */
.platforms {
    padding: 2rem 9%;
    text-align: center;
}

.platforms .heading {
    font-size: 3.5rem;
    color: var(--black);
    margin-bottom: 2rem;
}

.platforms-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.platform-card {
    background: #f9f9f9;
    border: var(--border);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 1rem;
    width: 150px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.platform-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.platform-card p {
    font-size: 1.6rem;
    color: var(--black);
}

.platform-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

/* Media Queries */
@media (max-width: 768px) {
    .platforms-container {
        flex-direction: column;
        align-items: center;
    }

    .platform-card {
        width: 100%;
        max-width: 300px;
    }
}