/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #e0f7fa, #ffebee);
    color: #333;
    padding: 10px;
}

/* Offer Container */
.offer-container {
    max-width: 650px;
    text-align: center;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s;
}

.offer-container:hover {
    transform: translateY(-5px);
}

/* Step Header */
header h1 {
    font-size: 1.6em;
    color: #34495e;
    margin-bottom: 10px;
}

.subheading {
    font-size: 0.95em;
    color: #7f8c8d;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    background-color: #dfe6e9;
    height: 8px;
    border-radius: 5px;
    margin: 10px 0 20px;
    overflow: hidden;
}

.progress {
    width: 33%;
    background-color: #27ae60;
    height: 100%;
    transition: width 0.6s ease;
}

/* Trust Badges */
.trust-badges {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.trust-badges img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
}

.trust-badges img:hover {
    transform: scale(1.1);
}

/* Offer Description */
.offer-description p {
    font-size: 1em;
    margin-bottom: 20px;
    color: #444;
}

/* Benefits Section */
.offer-benefits h2 {
    font-size: 1.4em;
    color: #2c3e50;
    margin-bottom: 15px;
}

/* Benefit Cards */
.benefit-cards {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #f5f9fd;
    padding: 20px;
    width: 45%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #d1e7ff;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px) scale(1.05);
}

.card img {
    width: 30px;
    height: 30px;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.1em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9em;
    color: #5d6d7e;
}

/* CTA Button */
#claim-offer {
    margin-top: 25px;
    padding: 12px 30px;
    background-color: #3498db;
    color: #fff;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

#claim-offer:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

/* Social Proof */
.social-proof {
    margin-top: 30px;
    font-style: italic;
    color: #666;
}

.trusted-animation {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Rotating Text Animation */
.animated-text {
    display: inline-block;
    font-weight: bold;
    color: #e74c3c; /* Red color */
    animation: fade-in-out 4s infinite;
}

@keyframes fade-in-out {
    0%, 20%, 80%, 100% {
        opacity: 0;
    }
    40%, 60% {
        opacity: 1;
    }
}

/* Fade-out and fade-in effects for smooth transitions */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in;
}

/* Button color change and pulse effect */
#claim-offer.pulse {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive Font Sizes and Layout Adjustments */
@media (max-width: 768px) {
    .card {
        width: 100%;
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 15px;
    }

    .card img {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }

    .card h3 {
        font-size: 1em;
    }

    .card p {
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    .offer-container {
        padding: 20px;
    }

    .card {
        flex-direction: column;
        text-align: center;
        padding: 10px;
    }

    .card h3 {
        font-size: 0.95em;
    }

    .card p {
        font-size: 0.8em;
    }

    .card img {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }
}
