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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #2c5530;
    font-size: 1.5rem;
}

.nav-logo a {
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2c5530;
}

.nav-cta {
    background: #2c5530;
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: background 0.3s;
}

.nav-cta:hover {
    background: #1e3a21;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-content {
    text-align: center;
    margin-bottom: 60px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: white;
    color: #2c5530;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5530;
}

.hero-endorsements {
    text-align: center;
}

.hero-endorsements h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: white;
}

.endorsement-logos {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.endorsement-item {
    text-align: center;
    max-width: 150px;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 15px;
    border: 2px solid rgba(255,255,255,0.2);
}

.endorsement-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.3;
    color: white;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: #4a7c59;
}

.footer-section p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #2c5530;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* Courses Section */
.courses {
    padding: 80px 0;
    background: white;
}

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

.courses h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.5rem;
    color: #2c5530;
}

.courses-intro {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.2rem;
    color: #666;
}

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

.course-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.course-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(44, 85, 48, 0.1);
    border-color: #2c5530;
}

.course-card h3 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.course-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.course-btn {
    background: #2c5530;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.course-btn:hover {
    background: #1e3a21;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

body.modal-open {
    overflow: hidden;
}

.modal-content {
    background: white;
    margin: 5% auto;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

#modalBody {
    display: flex;
    flex-direction: column;
    max-height: 80vh;
}

@media (max-height: 768px) {
    .modal-content {
        max-height: 90vh;
    }
    
    #modalBody {
        max-height: 90vh;
    }
}

#modalBody h2 {
    padding: 30px 30px 20px;
    margin: 0;
    flex-shrink: 0;
    color: #2c5530;
    border-bottom: 1px solid #eee;
}

.modal-details {
    flex: 1;
    overflow-y: auto;
    padding: 0 30px;
    min-height: 0;
}

.modal-enroll {
    padding: 20px 30px 30px;
    flex-shrink: 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}



.modal-details h4 {
    color: #2c5530;
    margin: 15px 0 10px;
}

.modal-details ul {
    padding-left: 20px;
    margin-bottom: 15px;
}



.enroll-btn {
    background: #2c5530;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.enroll-btn:hover {
    background: #1e3a21;
}

/* Enrollment Page */
.enrollment-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

.enrollment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.enrollment-header {
    text-align: center;
    margin-bottom: 50px;
}

.enrollment-header h1 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 15px;
}

.enrollment-header p {
    font-size: 1.1rem;
    color: #666;
}

.enrollment-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    color: #2c5530;
    margin-bottom: 25px;
    font-size: 1.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5530;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.terms-link {
    color: #2c5530;
    text-decoration: none;
}

.terms-link:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    background: #2c5530;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #1e3a21;
}

.course-selection-note {
    margin-bottom: 20px;
    color: #666;
    font-style: italic;
}

.course-checkboxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.course-checkbox {
    margin-bottom: 0;
    padding: 10px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s, background-color 0.3s;
    cursor: pointer;
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.course-checkbox:has(.info-btn) {
    justify-content: space-between;
}

.course-checkbox:has(input:checked) {
    border-color: #2c5530;
    background-color: rgba(44, 85, 48, 0.05);
}

.course-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.info-btn {
    background: #e9ecef;
    color: #666;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    margin-left: 5px;
    vertical-align: middle;
}

.info-btn:hover {
    background: #dee2e6;
}

.error-message {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
}

.pricing-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid #e9ecef;
}

.pricing-summary h4 {
    color: #2c5530;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.pricing-line.discount {
    color: #28a745;
    font-weight: 600;
}

.pricing-line.total {
    border-top: 2px solid #2c5530;
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1.1rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.faq h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: #2c5530;
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

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

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    margin: 0;
    color: #333;
    font-size: 1.1rem;
}

.faq-toggle {
    font-size: 1.5rem;
    color: #2c5530;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

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

.faq-item.active .faq-answer {
    max-height: 200px;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .enrollment-form {
        padding: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .course-checkboxes {
        grid-template-columns: 1fr;
    }

    .enrollment-header h1 {
        font-size: 2rem;
    }
}

/* Pricing Page */
.pricing-section {
    padding: 120px 0 80px;
    background: #f8f9fa;
    min-height: 100vh;
}

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

.pricing-header {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-header h1 {
    font-size: 2.5rem;
    color: #2c5530;
    margin-bottom: 15px;
}

.pricing-header p {
    font-size: 1.1rem;
    color: #666;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

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

.pricing-card.featured {
    border: 3px solid #2c5530;
    transform: scale(1.05);
}

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

.pricing-card h3 {
    color: #2c5530;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.price {
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    color: #666;
}

.amount {
    font-size: 3rem;
    font-weight: bold;
    color: #2c5530;
}

.period {
    font-size: 1rem;
    color: #666;
}

.savings {
    color: #28a745;
    font-weight: 600;
    margin-bottom: 20px;
}

.features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
}

.features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

.features li:before {
    content: "✓";
    color: #2c5530;
    font-weight: bold;
    margin-right: 10px;
}

.pricing-btn {
    background: #2c5530;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
    width: 100%;
}

.pricing-btn:hover {
    background: #1e3a21;
}

.pricing-features {
    text-align: center;
    margin-bottom: 60px;
}

.pricing-features h2 {
    color: #2c5530;
    margin-bottom: 40px;
    font-size: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.feature-item h4 {
    color: #2c5530;
    margin-bottom: 15px;
}

.pricing-faq h2 {
    text-align: center;
    color: #2c5530;
    margin-bottom: 40px;
    font-size: 2rem;
}

.payment-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.payment-option {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.payment-option h4 {
    color: #2c5530;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-header h1 {
        font-size: 2rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 200px;
        text-align: center;
    }

    .endorsement-logos {
        gap: 20px;
    }

    .endorsement-item {
        max-width: 120px;
    }

    .logo-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
/* Topic Badges */
.topics-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.topic-badge {
    background: #8b7355;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}