.opening-text h1 {
    margin-left: 60px;
    color: #A8FFE3;
    margin-bottom: -30px;
    font-size: 50px;
}

.opening-text p {
    margin-left: 60px;
    color: #ffffff;
    font-size: 25px;
    font-weight: 500;
}


.deals-intro {
    text-align: center;
    margin-bottom: 32px;
    padding: 32px 16px 0;
}

.deals-intro h2 {
    font-size: 40px;
    font-weight: bold;
    color: #A8FFE3;
    margin-bottom: 10px;
    margin-top: 30px;
}

.deals-intro p {
    font-size: 25px;
    color: white;
    font-weight: 600;
    margin-bottom: -30px;
}

.deals {
    width: 100%;
    background-color: black;
    padding: 60px 0;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

.deals-slide {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #181818;
    border-radius: 24px;
    padding: 40px;
    width: 90%;
    margin: auto;
    max-width: 1400px;
    gap: 40px;
    color: white;
}

.deals-slide.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.deals-image {
    flex: 1;
}

.deals-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.deals-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.deals-text h3 {
    font-size: 32px;
    margin: 0;
}

.deals-text p {
    font-size: 28px;
    line-height: 1.5;
    margin: 0;
}


.highlight {
    color: #A8FFE3;
    font-weight: 700;
}

.deal-offer {
    font-size: 20px;
    font-weight: 600;
    color: #72ffd8; 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.deals-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    position: relative;
    margin-top: 4px;
    gap: 16px;
}

/* carousel nav */

.deals-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    position: relative;
}

.deals-slides {
    position: relative;
    width: 100%;
    height: auto;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    border-radius: 0%;
    padding: 0;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.arrow:hover {
    opacity: 1;
}

.arrow-left {
    left: 32px;
    max-width: calc(50% - 40px);
}

.arrow-right {
    right: 32px;
    max-width: calc(50% - 40px);
}

.arrow img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.deals-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 20px;
}

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

.dot.active {
    background-color: #A8FFE3;
}

.featured-intro h1 {
    font-size: 50px;
    display: flex;
    justify-content: center;
    color: #A8FFE3;
    margin-bottom: -30px;
    
}

/* deals cards */

.featured-deals {
    padding: 60px 20px;
    background-color: #000000; 
    text-align: center;
}

.featured-intro h1 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-card {
    display: inline-block;
    background-color: #1d1d1d; 
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.6);
    padding: 20px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    position: relative;
    width: 300px;
    margin: 0 auto;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #A8FFE3;
    color: black;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.product-image {
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: 12px;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin: 8px 0;
}

.product-description {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 16px;
}

.product-pricing {
    margin-bottom: 8px;
}

.original-price {
    text-decoration: line-through;
    color: #777;
    display: block;
}

.discounted-price {
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
}

/* closing section */

.closing-text {
    text-align: center;
    margin: 60px 0 80px 0;
    font-family: 'Poppins', sans-serif;
    color: white;
}

.closing-text p {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.join-btn {
    background-color: #A8FFE3; 
    color: black;
    padding: 14px 36px;
    font-weight: 600;
    font-size: 18px;
    border-radius: 30px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.join-btn:hover {
    background-color: #17a344;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    .product-card {
        width: 100%;
        margin: 0;
    }

    .deals-slide {
        flex-direction: column !important;
        padding: 20px !important;
        gap: 20px !important;
        max-width: 90%;
        margin: 0 auto;
    }

    .deals-image,
    .deals-text {
        width: 100% !important;
        text-align: center !important;
    }

    .deals-image img {
        max-height: 250px;
        object-fit: contain;
        border-radius: 12px;
    }

    .deals-text h3 {
        font-size: 1.8em;
    }

    .deals-text p {
        font-size: 1.1em;
    }

    .arrow-left {
        left: 8px !important;
    }

    .arrow-right {
        right: 8px !important;
    }

    .opening-text h1,
    .opening-text p {
        margin-left: 0;
        text-align: center;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
}
