body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

header {
    background: #f4f4f4;
    padding: 1.7em 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-sizing: border-box; /* Include padding in the width calculation */
}

nav {
    width: 100%;
    box-sizing: border-box;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    width: fit-content;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #007bff;
}

.banner {
    background: url('Get_Shein_Gift_Card.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    margin-left: -20px; /* Compensate for the body padding */
    margin-right: -20px; /* Compensate for the body padding */
    width: calc(100% + 40px); /* Adjust for the negative margins */
    box-sizing: border-box;
}

main {
    padding: 20px;
}

h2 {
    text-align: center;
    color: #444;
    font-size: 2em;
    margin-bottom: 50px;
}

.card-container, .how-it-works-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 300px)); /* Set min and max width for the cards */
    gap: 20px;
    justify-content: center; /* Center the grid items */
    padding: 0 15px;
    max-width: 960px; /* Adjust this value based on your preference */
    margin: 0 auto; /* Center the container */
}

@media screen and (max-width: 768px) {
    .card-container, .how-it-works-container {
        grid-template-columns: 1fr;
    }
}



.card {
    background: #fff;
    border: none;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.card h3 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 1.5em;
    color: #555;
}

.card p {
    font-size: 1em;
    color: #666;
}

.btn-get-now {
    background-color: #886AB4;
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.btn-get-now:hover {
    background-color: #565656;
}

#how-it-works {
    background: #f4f4f4;
    padding: 40px 20px;
    text-align: center;
}




.how-it-works-step {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.how-it-works-step:hover {
    transform: translateY(-10px);
}

.how-it-works-step .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    color: white;
}

.how-it-works-step h3 {
    font-size: 1.4em;
    color: #555;
    margin: 10px 0;
}

.how-it-works-step p {
    font-size: 1em;
    color: #666;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

@media screen and (max-width: 768px) {
    .banner {
        padding: 30px 10px;
    }

    nav ul {
        display: block;
        text-align: center;
    }

    nav ul li {
        display: block;
        margin: 5px 0;
    }

    .banner h1 {
        font-size: 1.8em;
    }

    .banner p {
        font-size: 1em;
    }

    .card-container {
        grid-template-columns: 1fr;
    }
}


#faq {
    background: #f4f4f4;
    padding: 40px 0px;
    text-align: center;
}

.faq-container {
    margin: 20px auto; /* Centers the container */
    max-width: 960px; /* Adjust to your preference */
}
.faq-question, .faq-answer {
    text-align: center;
}
.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    background-color: #3D3D3D;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    width: 80%;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #565656;
}

.faq-answer {
    padding: 10px 20px;
    display: none;
    background-color: #fff;
    border-radius: 5px;
    margin-top: 5px;
        width: 90%;

}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

/* Responsive nav styles */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    nav ul {
        flex-direction: column;
        display: none;
        position: absolute;
        background-color: #fff;
        top: 60px;
        right: 0;
        width: 100%;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

    nav ul li {
        display: block;
        margin: 10px 0;
        text-align: center;
    }

    nav ul li a {
        padding: 10px 20px;
        display: block;
    }
}

.icon {
    /* Common styles for all icons */
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #007bff;
    color: white;
}

.icon-card {
    /* Specific styles for the card icon */
    background-image: url('1.png'); /* Replace with actual path */
}

.icon-payment {
    /* Specific styles for the payment icon */
    background-image: url('2.png'); /* Replace with actual path */
}

.icon-delivery {
    /* Specific styles for the delivery icon */
    background-image: url('3.png'); /* Replace with actual path */
}





footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footer-links li {
    margin: 0 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #007bff;
}

@media screen and (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        margin-top: 10px;
    }

    .footer-links li {
        margin-bottom: 5px;
    }
}



.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-content {
    position: relative;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
}

#progress-container {
    width: 100%;
    background-color: #eee;
    margin-top: 20px;
}

#progress-bar {
    height: 20px;
    background-color: #007bff;
    width: 0%;
}
#progress-status {
    margin-top: 10px;
    color: #333;
    font-size: 16px;
}

.status-success {
    color: green;
}
.survey-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10000; /* Above the blurred content */
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 10px; /* Optional: for rounded corners */
    padding: 20px; /* Spacing inside the container */
    max-width: 90%; /* Ensure it doesn't exceed the popup's width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: adds a subtle shadow for depth */
}


.popup-content.blur {
    filter: blur(5px);
}

.btn-unlock {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.btn-unlock:hover {
    background-color: #0056b3;
}


.code-style {
    font-family: 'Courier New', monospace; /* Gives a typical 'code' appearance */
    font-size: 20px; /* Adjust as needed */
    color: #333;
    margin-bottom: 10px;
}











.content-section {
    max-width: 800px; /* Adjust width as needed */
    margin: 0 auto; /* Centers the section */
    padding: 20px;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.content-section h1 {
    color: #333;
    font-size: 2em;
    margin-bottom: 20px;
}

.content-section h2 {
    color: #444;
    font-size: 1.5em;
    margin-top: 20px;
}

.content-section h3 {
    color: #555;
    font-size: 1.3em;
    margin-top: 15px;
}

.content-section p, .content-section ul {
    color: #666;
    font-size: 1em;
    line-height: 1.6;
}

.content-section ul {
    list-style-type: disc;
    margin-left: 20px;
}






.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.contact-info p {
    font-size: 1em;
    color: #666;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: #3D3D3D;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #565656;
}

