:root {
    --primary: #f57c00;
    --primary-dark: #e65100;
    --primary-light: #ffb74d;
    --secondary: #28a745;
    --secondary-dark: #1e7e34;
    --dark: #333;
    --light: #fff;
    --light-bg: #f9f9f9;
    --medium-bg: #f0f0f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: var(--light);
    color: var(--dark);
}

header, section, footer {
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    /* Removed white-space: nowrap to allow wrapping on mobile */
}

h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 4px;
    background: var(--primary);
    bottom: -10px;
    left: 20%;
}

h3 {
    font-size: 26px;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 15px;
}

p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 18px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    margin: 15px 10px;
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: var(--primary);
    color: var(--light);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: rgba(245,124,0,0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.btn-cta {
    background: var(--secondary);
    color: var(--light);
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: auto; /* Ensure button width fits content */
    display: inline-block; /* Prevent stretching */
}

.btn-cta:hover {
    background: var(--secondary-dark);
}

.features, .benefits, .testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.feature, .benefit {
    flex: 1 1 300px;
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature:hover, .benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.feature i, .benefit i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.icon {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--primary);
}

.blog-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.post {
    flex: 1 1 350px;
    background: var(--medium-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.post-img {
    height: 200px;
    background: #ddd;
    background-size: cover;
    background-position: center;
}

.post-content {
    padding: 25px;
}

.testimonial {
    flex: 1 1 350px;
    background: var(--light);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 100px;
    color: rgba(245,124,0,0.1);
    position: absolute;
    top: -20px;
    left: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-top: 20px;
    display: block;
}

.form-container {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

form input[type="email"] {
    padding: 15px;
    width: 100%;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

form input[type="email"]:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(245,124,0,0.3);
}

form input[type="submit"] {
    width: 100%;
    padding: 15px;
    background: var(--secondary);
    color: var(--light);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

form input[type="submit"]:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.guarantee {
    background: rgba(40,167,69,0.1);
    border: 2px solid var(--secondary);
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.guarantee h3 {
    color: var(--secondary);
    margin: 0 0 10px;
}

footer {
    background: var(--dark);
    color: #bbb;
    font-size: 16px;
    padding: 50px 20px;
    text-align: center; /* Ensure footer content is centered */
}

footer .container {
    text-align: center; /* Explicitly center the container content */
}

footer p {
    text-align: center; /* Ensure footer paragraphs are centered */
    margin: 0 auto; /* Center the paragraphs horizontally */
    display: block; /* Makes margin auto work properly */
}

footer a {
    color: #bbb;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
    display: inline-block; /* Better spacing for links */
}

footer a:hover {
    color: var(--light);
}

.footer-links {
    margin: 20px auto;
    text-align: center;
    display: block;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    margin: 30px 0;
}

.stat {
    flex: 1 1 200px;
    padding: 20px;
    margin: 10px;
    background: rgba(245,124,0,0.1);
    border-radius: 10px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.results {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(245,124,0,0.1) 0%, rgba(40,167,69,0.1) 100%);
}

.result-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 0;
    gap: 30px;
}

.result-image {
    flex: 1 1 250px;
    max-width: 350px;
    text-align: center;
}

.result-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.result-image p {
    margin-top: 15px;
    font-style: italic;
}

.countdown {
    background: rgba(226,53,45,0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 30px auto;
    max-width: 600px;
}

.countdown h3 {
    color: #e2352d;
    margin-bottom: 15px;
}

.timer {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.countdown-text {
    font-size: 24px;
    font-weight: 700;
    color: #e2352d;
    padding: 15px;
}

/* Replacing table with flexbox for pricing options */
.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    max-width: 1200px;
}

.price-option {
    flex: 1 1 300px;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    background: white;
}

.price-option.popular {
    border: 3px solid var(--primary);
    z-index: 1;
}

.price-option.popular:before {
    content: 'MOST POPULAR';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
}

.price-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.price-header {
    margin-bottom: 20px;
}

.price-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
}

.price-value {
    font-size: 48px;
    font-weight: 700;
    margin: 20px 0 5px;
    position: relative;
    display: inline-block;
}

.price-value:before {
    content: '$';
    position: absolute;
    font-size: 24px;
    top: 5px;
    left: -15px;
}

.price-period {
    font-size: 16px;
    color: #666;
    display: block;
}

.price-features {
    margin: 30px 0;
    text-align: left;
}

.price-feature {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.price-feature:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 600;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 24px;
    margin-right: 10px;
}

.savings {
    background: rgba(40,167,69,0.1);
    color: var(--secondary);
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 15px;
}

.popular-package-btn {
    background: var(--secondary);
    color: var(--light);
    padding: 18px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: auto;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.popular-package-btn:hover {
    background: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: #f5f5f5;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.faq-question:after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: var(--primary);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 1000px;
}

.faq-item.active .faq-question:after {
    content: '-';
}

/* Hero section background overlay */
.hero-overlay {
    background: rgba(0,0,0,0.5);
    padding: 40px;
    border-radius: 15px;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

/* Animated elements */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Floating CTA button */
.floating-cta {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--primary);
    color: var(--light);
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.floating-cta i {
    margin-right: 5px;
}

/* Mobile styling for floating CTA */
@media (max-width: 768px) {
    .floating-cta {
        font-size: 14px;
        padding: 10px 20px;
        bottom: 15px;
        right: 15px;
    }
}

/* Responsive styles - Updated for mobile */
@media (max-width: 768px) {
    h1 {
        font-size: 32px; /* Reduced font size for mobile */
        padding: 0 10px; /* Added padding to prevent text touching edges */
    }
    
    h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 22px;
    }
    
    .hero-overlay {
        padding: 20px; /* Reduced padding on mobile */
        width: 90%; /* Ensure the overlay doesn't get cut off */
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        display: block;
        margin: 15px auto;
        max-width: 80%;
    }
    
    .feature, .benefit, .testimonial, .post {
        flex: 1 1 100%;
    }
    
    .timer {
        flex-wrap: wrap;
    }
    
    /* Force price options to stack on mobile */
    .price-option {
        flex: 1 1 100%;
        margin-bottom: 30px;
    }
    
    /* Adjust the "Most Popular" option on mobile */
    .price-option.popular {
        transform: scale(1.03);
        margin-top: 20px;
        margin-bottom: 20px;
    }
    
    /* Make sure the pricing options stack properly */
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    
    /* Adjust countdown and form container padding */
    .countdown, .form-container {
        padding: 15px;
        width: 90%;
    }
    @media (min-width: 768px) {
        .blog-content img {
          max-width: 700px; /* or another appropriate size */
          margin: 20px auto; /* centers the image */
        }
    }
    .countdown {
        background-color: #ffebee;
        padding: 30px 20px;
        border-radius: 10px;
        text-align: center;
        max-width: 600px;
        margin: 30px auto;
    }
    
    .countdown h3 {
        color: #e53935;
        font-size: 24px;
        margin-bottom: 20px;
        font-weight: 600;
    }
    
    .countdown h3 i {
        margin-right: 10px;
    }
    
    .timer-vertical {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0 auto 20px;
    }
    
    .time-block {
        margin-bottom: 0;
        text-align: center;
    }
    
    .time-number {
        font-size: 36px;
        font-weight: 700;
        color: #333;
        line-height: 1.2;
    }
    
    .time-label {
        font-size: 14px;
        font-weight: 600;
        color: #666;
        margin-bottom: 10px;
        text-transform: uppercase;
    }
    
    .countdown p {
        font-size: 18px;
        color: #333;
        margin-top: 10px;
    }
    
}