@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

body {
    display: flex;
    justify-content: center;  /* Centers horizontally */
    align-items: center;      /* Centers vertically */
    margin: 0;                /* Remove default margin */
    padding: 0;
    font-family: 'Tajawal', sans-serif;
    background-color: #f4f4f4;
    direction: rtl;           /* Right-to-left text */
}

/* Smooth Scroll for Sections */
html {
    scroll-behavior: smooth;
    
}


.container {
    width: 100%;
    max-width: 600px;
    margin: 0;
    padding: 0;
    justify-content: center;  /* Centers horizontally */
    align-items: center;      /* Centers vertically */
}


header {
    background-color: #ff6600;
    color: white;
    text-align: center;
    padding: 20px 10px;
}

header h1 {
    margin: 0;
    font-size: 24px;
}

.product-img {
    width: 40%; /* Reduce the width while keeping it responsive */
    max-width: 600px; /* Ensure it doesn't get too large on bigger screens */
    height: auto; /* Maintain aspect ratio */
    margin: 25px auto; /* Center and reduce vertical spacing */
    display: block; /* Ensure proper alignment */
}



.timer {
    background-color: #fff2e6;
    color: #d9534f;
    text-align: center;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

.timer-2 {
    background-color: #fff2e6;
    color: #d9534f;
    text-align: center;
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
}

.content-section {
    background: white;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


.cta-button {
    display: block;
    width: 100%;
    max-width: 300px; /* To add some visual balance */
    background-color: #fc8637b2;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin: 20px auto; /* Center the button */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 1.5s infinite alternate;
}

.cta-button:hover {
    background-color: #e55500;
    transform: scale(1.05); /* Slight zoom effect on hover */
}



@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1); /* Slight enlargement for the "pulse" effect */
    }
}

footer {
    text-align: center;
    font-size: 14px;
    color: #777;
    margin-top: 20px;
}

.mobile-hide {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    header h1 {
        font-size: 20px;
    }

    .timer {
        font-size: 18px;
        padding: 10px;
    }

    .timer-2 {
        font-size: 18px;
        padding: 10px;
    }

    .cta-button {
        font-size: 16px;
        padding: 12px;
    }

    footer {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 18px;
        padding: 15px;
    }

    .timer {
        font-size: 16px;
        padding: 8px;
    }

    
    .timer-2 {
        font-size: 16px;
        padding: 8px;
    }

    .cta-button {
        font-size: 14px;
        padding: 10px;
    }

    .content-section {
        padding: 15px;
    }

    footer {
        font-size: 10px;
    }
}


/* General Styles */
.review {
    background-color: #f9f9f9;
    padding: 10px 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-style: italic;
}

.review strong {
    color: #ff6600;
}

.content-section ul {
    list-style-type: disc;
    padding-left: 20px;
}

.content-section ul li {
    margin-bottom: 10px;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-section h3 {
    font-size: 18px;
    color: #ff6600;
    margin-bottom: 10px;
    text-decoration: underline;
}

.hero-section {
    text-align: center;
    background-color: #ff6600;
    color: white;
    padding: 30px 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.hero-section h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.hero-section p {
    font-size: 18px;
    margin-bottom: 20px;
}

.benefits-section {
    text-align: center;
    margin-bottom: 20px;
}

.benefits {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.benefit {
    width: 120px;
    text-align: center;
}

.benefit img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.benefit p {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.faq-section {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
}

details {
    margin-bottom: 10px;
}

summary {
    cursor: pointer;
    font-weight: bold;
    color: #ff6600;
}

summary:hover {
    text-decoration: underline;
}

.scarcity-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.scarcity {
    background-color: #ff2600;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 80%;
    text-align: center;
}

.scarcity .label {
    font-size: 22px;
    font-weight: normal;
    color: #fff;
    margin-right: 10px;
    text-transform: uppercase;
}

.scarcity strong {
    font-size: 24px;
    color: #fff;
}

.hook-section {
    background-color: #fff2e6;
    border: 1px solid #ffcc99;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.hook-section h2 {
    color: #d9534f;
    font-size: 24px;
    margin-bottom: 10px;
}

.hook-section p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 10px;
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #fff2e6;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 120px;
}

.badge img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.badge p {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

.price-section {
    text-align: center;
    margin: 30px 0;
}

.price-section h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    font-size: 20px;
    color: #d9534f;
}

.new-price {
    font-size: 22px;
    font-weight: bold;
    color: #ff6600;
}

.order-form {
    background-color: #f9f9f9;
    padding: 10px 10px 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

.order-form h3 {
    text-align: center;
    font-size: 22px;
    margin-bottom: 20px;
}

.order-form label {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
}

.order-form input {
    width: 97%;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 16px;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: block;
    text-align: right;
}

.order-form input:focus {
    border-color: #ff6600;
    outline: none;
}

.order-form button {
    display: block;
    width: 100%;
    background-color: #ff6600;
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border: none;
}

.order-form button:hover {
    background-color: #e55500;
}

/* Media Queries for Responsiveness */

/* Mobile Devices */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 18px!important;
    }
    .hero-section p {
        font-size: 15px!important;
    }

    .review {
        padding: 8px 12px;
        font-size: 14px;
    }

    .content-section p {
        font-size: 14px;
    }

    .scarcity-container {
        flex-direction: column;
        align-items: center;
    }


    .scarcity {
        width: 90%;
        font-size: 13px;
    }

    .scarcity .label {
        font-size: 14px;
    }

    
    .scarcity strong {
        font-size: 16px;
        font-weight: bold;
    }

    .content-section h3 {
        font-size: 16px;
    }

    .benefits {
        flex-direction: column;
        gap: 15px;
    }

    .benefit {
        width: 100%;
    }

    .faq-section h2 {
        font-size: 18px;
    }

    .faq-section details {
        font-size: 14px;
    }

    .hook-section h2 {
        font-size: 20px;
    }

    .price-section h2 {
        font-size: 20px;
    }

    .order-form {
        width: 100%;
    }

    .order-form h3 {
        font-size: 19px!important;
    }

    .order-form label {
        font-size: 16px;
    }

    .order-form input {
        font-size: 14px;
    }

    .order-form button {
        font-size: 16px;
    }
}

/* Tablet Devices */
@media (max-width: 1024px) {
    .hero-section h1 {
        font-size: 18px!important;
    }
    .hero-section p {
        font-size: 15px!important;
    }

    .scarcity-container {
        flex-direction: column;
        align-items: center;
    }

    
    .scarcity {
        width: 80%;
    }

    
    .benefits {
        flex-direction: row;
        gap: 15px;
    }

    .benefit {
        width: 120px;
    }

    .faq-section h2 {
        font-size: 20px;
    }

    .price-section h2 {
        font-size: 22px;
    }

    .order-form {
        width: 90%;
    }

    .order-form h3 {
        font-size: 22px;
    }

    .order-form input {
        font-size: 15px;
    }

    .order-form button {
        font-size: 18px;
    }
}

/* Sticky CTA Button styles */
.cta-container {
    position: fixed;
    bottom: 20px; /* Distance from the bottom of the screen */
    left: 50%; /* Position from the left */
    transform: translateX(-50%); /* Offset by 50% to center it horizontally */
    z-index: 9999; /* Ensure it's always on top */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Ensures the container spans the entire width */
}

/* Button Design */
.cta-button-2 {
    display: block;
    width: 100%;
    max-width: 320px; /* Max-width for visual balance */
    background-color: #ff6600; /* Bold and bright color */
    color: white;
    text-align: center;
    padding: 15px 30px; /* Added horizontal padding for a better look */
    border-radius: 50px; /* Rounded corners for a more modern design */
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    margin: 0 auto; /* Center the button */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer; /* Add a cursor pointer to indicate it's clickable */
}

/* Hover effects */
.cta-button-2:hover {
    background-color: #e55500; /* Darker shade for hover effect */
    transform: translateY(-5px); /* Button lifts up slightly */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* More prominent shadow for hover */
}

/* Focus effect for accessibility */
.cta-button-2:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.5); /* Outline for accessibility */
}

/* Mobile and Tablet Responsive Design */
@media (max-width: 768px) {
    .cta-button-2 {
        max-width: 320px; /* Slightly smaller button for smaller devices */
        padding: 12px 24px; /* Adjust padding for mobile view */
        font-size: 16px; /* Slightly smaller text for mobile */
    }
}

@media (max-width: 480px) {
    .cta-button-2 {
        max-width: 300px; /* Even smaller button on smaller screens */
        padding: 10px 20px; /* Adjust padding further */
        font-size: 14px; /* Font size adjustment for very small screens */
    }
}

.star-rating {
    display: inline-block;
    font-size: 20px;
    color: #ffcc00;
    margin-top: 5px;
}

.star-rating::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: linear-gradient(90deg, #ffcc00 calc(var(--rating) * 20%), #ddd calc(var(--rating) * 20%));
    -webkit-background-clip: text;
    color: transparent;
}

.star-rating[data-rating="1"] {
    --rating: 1;
}

.star-rating[data-rating="2"] {
    --rating: 2;
}

.star-rating[data-rating="3"] {
    --rating: 3;
}

.star-rating[data-rating="4"] {
    --rating: 4;
}

.star-rating[data-rating="5"] {
    --rating: 5;
}

.total-rating {
    margin-top: 20px;
    font-size: 18px;
    color: #333;
}


footer {
    background-color:rgb(44, 44, 43);
    color:rgb(255, 240, 217);
    text-align: center;
    padding: 20px;
    margin-top: 0; /* Remove space above the footer */
}

footer p {
    font-size: 1rem;
}

footer a {
    color: #d86100;
    text-decoration: none;
}

        
        
/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    overflow: auto;
    padding-top: 60px;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 450px;
    color: #666; /* Set the text color to grey */
    text-align:right;
}

.close {
    color: #aaa;
    float: left;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.social-media-links {
    margin-top: 10px;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    transition: all 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}