/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 2.2em;
    color: #333; /* Make titles black */
}

h2 {
    font-size: 1.8em;
    color: #333; /* Make titles black */
}

h3 {
    font-size: 1.4em; /* Smaller card titles */
    color: #007BFF; /* Keep subheader titles blue */
}

.cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

/* Introduction Section */
.weight-loss-intro-section {
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background: #f0f4f8;
}

.intro-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.intro-text {
    max-width: 600px;
    flex: 1 1 50%;
}

@media (max-width: 768px) {
    .weight-loss-intro-section {
        flex-direction: column;
        text-align: center;
    }
    
    .intro-text, .intro-image {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .intro-image img {
        margin-bottom: 20px;
    }
}

/* Animations */
.animate-slide-in {
    opacity: 0;
    transform: translateY(20px);
    animation: slide-in 0.8s forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes slide-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* How It Works Section */
.weight-loss-how-it-works {
    background-color: #f4f4f4;
    padding: 60px 20px;
}

.how-it-works-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.how-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.how-card:hover {
    transform: translateY(-5px);
}

.how-card h3 i {
    margin-right: 10px;
    color: #007BFF;
}

/* Why Choose Us Section */
.weight-loss-why-choose-us {
    padding: 60px 20px;
}

.why-choose-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.why-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
}

.why-card h3 i {
    margin-right: 10px;
    color: #007BFF;
}

/* Success Stories Section */
.weight-loss-success-stories {
    background-color: #e9ecef;
    padding: 60px 20px;
}

.success-stories-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.success-slide {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
}

.success-slide h4 {
    color: #007BFF;
}

/* What You’ll Get Section */
.weight-loss-what-you-get {
    padding: 60px 20px;
}

.what-you-get-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.get-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.get-card:hover {
    transform: translateY(-5px);
}

.get-card h3 i {
    margin-right: 10px;
    color: #007BFF;
}

/* FAQ Section */
.weight-loss-faq {
    background-color: #f4f4f4;
    padding: 60px 20px;
}

.faq-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faq-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-5px);
}

.faq-card h3 i {
    margin-right: 10px;
    color: #007BFF;
}

/* Call to Action Section */
.weight-loss-cta {
    padding: 60px 20px;
    text-align: center;
    background-color: #007BFF;
    color: white;
}

.cta-card {
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-card h2 {
    margin-bottom: 20px;
    color: white; /* Ensure title is readable */
}

.cta-card p {
    margin-bottom: 20px;
}
