/* Base Styles and Variables */
:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #4cc9f0;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f8f9fa;
    --background-dark: #212529;
    --white: #f9f9f9;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 20px;
    color: var(--text-light);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(67, 97, 238, 0.1);
    color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-coach {
    background-color: #2d5016;
    color: #ffffff !important;
}

.btn-coach:hover {
    background-color: #1e3510;
    color: #ffffff !important;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin-bottom: 10px;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* Header and Navigation */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 40px;
}

/* Nav Divider */
.nav-divider {
    height: 1px;
    background-color: #e0e5f0; /* Light bluish grey color */
    width: 100%;
    margin-top: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: #f0f4fa; /* light greyish blue */
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* How It Works Section */
.steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.step {
    flex: 1;
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
}

.step-icon {
    margin-bottom: 20px;
}

.step-icon img {
    width: 80px;
    height: 80px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature {
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Testimonials Section */
.testimonials {
    background-color: #f0f4fa; /* light greyish blue */
}

/* Pricing Section */
.pricing {
    background-color: var(--white);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 300px;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author {
    margin-top: 20px;
    text-align: center;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Pricing Plans */
.pricing-plans {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-plan {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    position: relative;
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 580px; /* Further increased fixed height for all pricing boxes */
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.pricing-plan.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-plan.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: var(--border-radius);
}

.plan-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.plan-price {
    margin: 20px 0;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.period {
    font-size: 1rem;
    color: var(--text-light);
}

.plan-features {
    padding: 30px;
    padding-bottom: 60px; /* Increased padding at the bottom for more space after the last bullet */
    flex-grow: 1; /* Allow features section to grow and fill the available space */
}

.plan-features ul {
    margin: 0;
    padding: 0;
}

.plan-features ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 5px;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.feature-checkmark {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 8px;
}

.plan-cta {
    padding: 0 30px 30px;
    text-align: center;
    margin-top: auto; /* Push to bottom of flex container */
}

.plan-cta .btn {
    width: 100%;
}

/* FAQ Section */

.faq-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
    color: #666;
}

/* Trusted By Section */
.trusted-by-section {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.trusted-by-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.trusted-by-logo {
    font-weight: bold;
    font-size: 24px;
    color: #666;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.trusted-by-logo:hover {
    opacity: 1;
}

/* Final Testimonial Section */
.final-testimonial-section {
    padding: 80px 0;
    background-color: #f5f9ff;
}

.final-testimonial {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote p {
    font-size: 24px;
    line-height: 1.6;
    font-style: italic;
    color: #333;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-quote p::before,
.testimonial-quote p::after {
    content: '"';
    font-size: 40px;
    color: var(--primary-color);
    opacity: 0.5;
}

.testimonial-author h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.testimonial-author p {
    font-size: 16px;
    color: #666;
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
}

.cta-content .btn {
    margin-top: 20px;
    background-color: var(--white);
    color: var(--primary-color);
}

.cta-content .btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-small {
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Trusted By Section */
.trusted-by-section {
    padding: 60px 0;
    background-color: var(--white);
    border-top: 1px solid #eee;
}

.trusted-by-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.trusted-by-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    min-width: 150px;
    height: 80px;
}

.company-name {
    font-weight: 600;
    font-size: 18px;
    color: var(--text-color);
}

/* Final Testimonial Section */
.final-testimonial-section {
    padding: 80px 0;
    background-color: #f0f4fa; /* light greyish blue */
    text-align: center;
}

.final-testimonial {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.testimonial-quote p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--text-color);
    margin: 0 auto 20px;
    position: relative;
    line-height: 1.6;
    max-width: 700px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin-top: 20px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonial-author p {
    color: var(--text-light);
    margin: 0;
}

/* SEO Content Section */
.seo-content {
    padding: 60px 0;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

.seo-content h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

.seo-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    text-align: center;
    color: #fff;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #fff;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-content .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
    font-size: 18px;
    padding: 15px 30px;
    margin-bottom: 15px;
}

.cta-content .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.cta-small {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 15px;
}

/* Footer */
.footer {
    background-color: var(--background-dark);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.footer-column h4 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-column ul li a:hover {
    color: var(--white);
}

/* Coach Page Specific Styles */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 0.9rem;
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
}

.earnings-tiers {
    display: flex;
    gap: 30px;
    justify-content: center;
}

.earning-tier {
    flex: 1;
    max-width: 350px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.earning-tier.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.tier-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.earning-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 20px 0 5px;
}

.earning-period {
    color: var(--text-light);
    margin-bottom: 30px;
}

.earning-tier ul {
    text-align: left;
    margin: 0;
    padding: 0;
}

.earning-tier li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.earning-tier li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.requirement-category {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.requirement-category h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.requirement-category ul {
    margin: 0;
    padding: 0;
}

.requirement-category li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.requirement-category li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    width: 100%;
    margin-top: 20px;
}

.form-note {
    text-align: center;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-plans {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-plan {
        width: 100%;
        max-width: 400px;
        margin-bottom: 30px;
    }
    
    .pricing-plan.featured {
        transform: scale(1);
    }
    
    .pricing-plan.featured:hover {
        transform: translateY(-10px);
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text, .hero-image {
        flex: none;
        width: 100%;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .testimonial {
        flex: 0 0 100%;
    }
}
