:root {
    --edu-gold: #D4B483;
    --edu-green: #145A32;
    --edu-green-light: rgba(20, 90, 50, 0.08);
    --edu-text: #333333;
    --edu-muted: #7a7a7a;
    --edu-divider: #e8e8e8;
    --edu-bg: #f9f8f6;
    --edu-white: #ffffff;
}

/*******************************/
/******* Intro Section *********/
/*******************************/
.edu-intro {
    background: linear-gradient(135deg, var(--edu-green) 0%, #1e7a48 100%);
    color: var(--edu-white);
    padding: 64px 24px;
    text-align: center;
}

.edu-intro-inner {
    max-width: 720px;
    margin: 0 auto;
}

.edu-intro-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--edu-gold);
    margin-bottom: 16px;
}

.edu-intro h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--edu-white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.edu-intro p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 12px;
}


/*******************************/
/******* Courses Section *******/
/*******************************/
.edu-section {
    background: var(--edu-bg);
    padding: 0 24px;
}

.edu-courses-grouped {
    max-width: 820px;
    margin: 0 auto;
}

.edu-courses {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

/*******************************/
/******* Accordion *************/
/*******************************/
.edu-cat-section {
    border-bottom: 1px solid var(--edu-divider);
}

.edu-cat-section:last-child {
    border-bottom: none;
}

.edu-cat-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    gap: 16px;
}

.edu-cat-header:hover .edu-cat-title {
    color: #0f4226;
}

.edu-cat-header-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.edu-cat-count {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--edu-gold);
}

.edu-cat-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--edu-green);
    margin: 0;
    line-height: 1.2;
}

.edu-cat-chevron {
    font-size: 16px;
    color: var(--edu-green);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.edu-cat-section.open .edu-cat-chevron {
    transform: rotate(180deg);
}

.edu-cat-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding-bottom: 0;
}

.edu-cat-section.open .edu-cat-body {
    max-height: 9999px;
    padding-bottom: 48px;
}

.edu-category-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0 4px;
}

.edu-category-divider-line {
    flex: 1;
    height: 1px;
    background: var(--edu-divider);
}

.edu-category-divider-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--edu-gold);
    white-space: nowrap;
}

/*******************************/
/********* Course Card *********/
/*******************************/
.edu-card {
    background: var(--edu-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s;
}

.edu-card:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}

/* Image placeholder */
.edu-card-img {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}


.edu-card-img i {
    font-size: 36px;
    opacity: 0.5;
    position: relative;
}

.edu-card-img span {
    position: relative;
    font-size: 13px;
    opacity: 0.7;
}

.edu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Card body */
.edu-card-body {
    padding: 36px 40px;
}

.edu-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.edu-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.edu-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.edu-badge-level {
    background: var(--edu-green-light);
    color: var(--edu-green);
    border: 1px solid rgba(20, 90, 50, 0.2);
}

.edu-badge-cert {
    background: rgba(212, 180, 131, 0.15);
    color: #8a6e3a;
    border: 1px solid rgba(212, 180, 131, 0.4);
}

.edu-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--edu-green);
    margin: 0 0 16px 0;
    line-height: 1.3;
}

.edu-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.edu-meta-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: var(--edu-muted);
}

.edu-meta-item i {
    font-size: 12px;
    color: var(--edu-gold);
}

.edu-price-badge {
    margin-left: auto;
    color: var(--edu-green);
    font-size: 22px;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.edu-price-inquiry {
    margin-left: auto;
    font-size: 13px;
    color: var(--edu-muted);
    font-style: italic;
    align-self: center;
}

.edu-divider {
    height: 1px;
    background: var(--edu-divider);
    margin: 20px 0;
}

.edu-card-desc {
    font-size: 15px;
    color: var(--edu-text);
    line-height: 1.8;
    margin-bottom: 20px;
}

.edu-card-desc p {
    margin-bottom: 12px;
}

.edu-card-desc p:last-child {
    margin-bottom: 0;
}

/* Includes chips */
.edu-includes {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.edu-include-chip {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    background: var(--edu-green-light);
    border-radius: 8px;
    font-size: 13px;
    color: var(--edu-green);
    font-weight: 500;
}

.edu-include-chip i {
    font-size: 11px;
    color: var(--edu-gold);
}


/* Signup scroll link */
.edu-signup-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--edu-green);
    text-decoration: none;
    border-bottom: 1px solid rgba(20, 90, 50, 0.3);
    padding-bottom: 2px;
    transition: color 0.2s, border-color 0.2s;
}

.edu-signup-link:hover {
    color: #0f4226;
    border-color: #0f4226;
    text-decoration: none;
}

.edu-signup-link i {
    font-size: 11px;
}

/*******************************/
/******* Why Choose Us *********/
/*******************************/
.edu-why {
    background: var(--edu-white);
    padding: 64px 24px;
}

.edu-why-inner {
    max-width: 820px;
    margin: 0 auto;
}

.edu-why-header {
    text-align: center;
    margin-bottom: 40px;
}

.edu-why-header .edu-intro-label {
    color: var(--edu-gold);
    filter: brightness(0.75);
}

.edu-why-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--edu-green);
    margin-bottom: 0;
}

.edu-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.edu-why-item {
    background: var(--edu-bg);
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
}

.edu-why-icon {
    width: 54px;
    height: 54px;
    background: var(--edu-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.edu-why-icon i {
    font-size: 20px;
    color: var(--edu-gold);
}

.edu-why-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--edu-green);
    margin-bottom: 8px;
}

.edu-why-item p {
    font-size: 13px;
    color: var(--edu-muted);
    line-height: 1.7;
    margin: 0;
}

/*******************************/
/********* CTA Footer **********/
/*******************************/
.edu-cta-section {
    background: linear-gradient(135deg, var(--edu-green) 0%, #1e7a48 100%);
    padding: 64px 24px;
    text-align: center;
}

.edu-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.edu-cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--edu-white);
    margin-bottom: 16px;
}

.edu-cta-section p {
    font-size: 15px;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 8px;
}

.edu-cta-contacts {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 28px;
}

.edu-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--edu-white);
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.edu-contact-link:hover {
    background: rgba(255,255,255,0.25);
    color: var(--edu-white);
    text-decoration: none;
}

.edu-contact-link i {
    font-size: 16px;
    color: var(--edu-gold);
}

.edu-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    transition: color 0.2s, border-color 0.2s;
    cursor: pointer;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    padding: 0 0 2px 0;
}

.edu-back-link:hover {
    color: var(--edu-white);
    border-bottom-color: var(--edu-white);
    text-decoration: none;
}

.edu-back-link.hidden {
    display: none;
}

/*******************************/
/******* Gallery Section *******/
/*******************************/
.edu-gallery-section {
    background: var(--edu-bg);
    padding: 64px 24px;
}

.edu-gallery-inner {
    max-width: 600px;
    margin: 0 auto;
}

.edu-gallery-header {
    text-align: center;
    margin-bottom: 48px;
}

.edu-gallery-header .edu-intro-label {
    color: var(--edu-gold);
    filter: brightness(0.75);
}

.edu-gallery-header h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--edu-green);
    margin-bottom: 16px;
}

.edu-gallery-header p {
    font-size: 15px;
    color: var(--edu-muted);
    line-height: 1.8;
    margin: 0;
}

/* Carousel */
.edu-gallery-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.edu-carousel-container {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 3/4;
    background: #f0f0f0;
}

.edu-carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    height: 100%;
}

.edu-carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.edu-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.edu-carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--edu-green);
    color: var(--edu-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.edu-carousel-btn:hover {
    background: #0f4226;
    transform: scale(1.1);
}

.edu-carousel-btn i {
    margin: 0;
}

/* Dots */
.edu-carousel-dots {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.edu-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(20, 90, 50, 0.3);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.edu-carousel-dot.active {
    background: var(--edu-green);
}

/*******************************/
/********* Responsive **********/
/*******************************/
@media (max-width: 768px) {
    .edu-intro h2 {
        font-size: 24px;
    }

    .edu-card-body {
        padding: 24px 20px;
    }

    .edu-card-img {
        height: 220px;
    }

    .edu-card-title {
        font-size: 19px;
    }

    .edu-price-badge {
        font-size: 18px;
        padding: 6px 14px;
    }

    .edu-card-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .edu-price-badge,
    .edu-price-inquiry {
        margin-left: 0;
    }

    .edu-why-grid {
        grid-template-columns: 1fr;
    }

    .edu-gallery-header h2 {
        font-size: 22px;
    }

    .edu-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .edu-cta-contacts {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .edu-section {
        padding: 0 16px 40px;
    }

    .edu-courses {
        gap: 32px;
    }

    .edu-cat-title {
        font-size: 18px;
    }

    .edu-gallery-section {
        padding: 40px 16px;
    }

    .edu-gallery-header h2 {
        font-size: 20px;
    }

    .edu-gallery-header p {
        font-size: 14px;
    }

    .edu-gallery-carousel {
        gap: 12px;
    }

    .edu-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
