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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

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

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

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.nav-brand h1 {
    background: linear-gradient(135deg, rgb(241, 129, 0) 0%, rgb(2, 40, 103) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
}

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

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

.nav-link:hover {
    color: rgb(241, 129, 0);
}

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

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

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, rgb(241, 129, 0), rgb(2, 40, 103));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(241, 129, 0, 0.3);
}

.btn-secondary {
    background: #fff;
    color: rgb(241, 129, 0);
    border: 2px solid rgb(241, 129, 0);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    background: rgb(241, 129, 0);
    color: white;
    transform: translateY(-2px);
}

.btn-disabled {
    background: #ccc;
    color: #666;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: not-allowed;
}

/* Hero Section */
.hero {
    background: rgb(2, 40, 103);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

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

.announcement {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, rgb(241, 129, 0) 0%, white 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: white;
    margin-top: 1rem;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 0 auto;
}

.stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: rgb(241, 129, 0);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Sections */
.about, .testimonials, .contact {
    padding: 80px 0;
    background: #fff;
}

.courses, .community {
    padding: 80px 0;
    background: rgb(241, 129, 0);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    background: rgba(241, 129, 0, 0.1);
    color: rgb(241, 129, 0);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.courses .section-badge,
.community .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000;
}

.courses .section-title,
.community .section-title {
    color: white;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.courses .section-description,
.community .section-description {
    color: rgba(255, 255, 255, 0.9);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.feature-card p {
    color: #666;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.course-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s;
}

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

.course-card.popular {
    border: 2px solid rgb(241, 129, 0);
}

.course-card.disabled {
    opacity: 0.6;
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(241, 129, 0);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.course-level {
    background: rgba(241, 129, 0, 0.1);
    color: rgb(241, 129, 0);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgb(241, 129, 0);
}

.course-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.course-description {
    color: #666;
    margin-bottom: 1rem;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
}

.course-features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    color: #666;
}

/* New course offerings */
.courses {
    background: linear-gradient(135deg, rgb(2, 40, 103), #0d1114);
}

.course-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(2, 40, 103, 0.12);
}

.course-card.popular {
    border: 2px solid rgb(241, 129, 0);
}

.course-header {
    justify-content: flex-start;
    gap: 1rem;
}

.course-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, rgb(2, 40, 103), rgb(241, 129, 0));
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.course-subtitle {
    min-height: 3.2rem;
    margin: -0.15rem 0 0.75rem;
    color: rgb(2, 40, 103);
    font-weight: 600;
}

.course-description {
    min-height: 5.8rem;
}

.course-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.course-topics span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(2, 40, 103, 0.07);
    color: rgb(2, 40, 103);
    font-size: 0.78rem;
    font-weight: 600;
}

.course-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-top: auto;
}

.course-pricing del {
    color: #777;
    font-size: 1rem;
}

.course-pricing strong {
    color: rgb(241, 129, 0);
    font-size: 2rem;
}

.registration-fee {
    margin: 0.25rem 0 1.5rem;
    color: rgb(2, 40, 103);
    font-size: 0.9rem;
    font-weight: 600;
}

.course-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.course-actions button {
    flex: 1;
    min-width: 150px;
}

.course-modal[hidden] {
    display: none;
}

.course-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.course-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 17, 20, 0.75);
    backdrop-filter: blur(4px);
}

.course-modal-content {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    border-radius: 16px;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.course-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 2rem;
    cursor: pointer;
}

.modal-course-kicker {
    color: rgb(241, 129, 0);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.course-modal h2 {
    margin: 0.35rem 0 0.25rem;
    color: rgb(2, 40, 103);
}

.modal-course-subtitle {
    margin-bottom: 1.25rem;
    color: #666;
    font-weight: 600;
}

.modal-course-section {
    margin-top: 1.5rem;
}

.modal-course-section h3 {
    margin-bottom: 0.5rem;
    color: rgb(2, 40, 103);
    font-size: 1.05rem;
}

.modal-course-section p,
.modal-course-section li {
    color: #555;
    font-size: 0.92rem;
}

.modal-course-section ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 1.5rem;
    padding-left: 1.2rem;
}

.modal-course-footer {
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e5e5;
}

.modal-course-fee strong {
    display: block;
    color: rgb(241, 129, 0);
    font-size: 1.6rem;
}

body.modal-open {
    overflow: hidden;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.stars {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #000;
    line-height: 1.6;
}

.testimonial-author strong {
    display: block;
    color: #000;
    font-weight: 600;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Community */
.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.community-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s;
}

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

.community-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.community-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.community-card p {
    color: #666;
    margin-bottom: 2rem;
}

/* Contact */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(241, 129, 0);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000;
}

.contact-info > p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    background: rgb(241, 129, 0);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-method h4 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-method a {
    color: rgb(241, 129, 0);
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

.contact-method span {
    color: #666;
}

/* Footer */
.footer {
    background: rgb(2, 40, 103);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    background: linear-gradient(135deg, rgb(241, 129, 0) 0%, white 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: rgb(241, 129, 0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .hero-buttons button {
        width: 100%;
        max-width: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .courses-grid,
    .features-grid,
    .testimonials-grid,
    .community-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .features-grid,
    .courses-grid,
    .testimonials-grid,
    .community-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .course-actions {
        flex-direction: column;
    }

    .course-actions button {
        width: 100%;
    }

    .course-modal-content {
        padding: 2rem 1.25rem 1.25rem;
    }

    .modal-course-section ul {
        grid-template-columns: 1fr;
    }

    .modal-course-footer {
        align-items: stretch;
        flex-direction: column;
    }
}

.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    font-family: inherit;
    background-color: white;
    color: black;
    transition: border-color 0.3s;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: rgb(241, 129, 0);
}

.form-group select option {
    padding: 8px;
    background-color: white;
    color: black;
}