@charset "UTF-8";

/* Price Page Specific Styles */
.price-intro-section {
    padding: 60px 0 100px;
}

:root {
    --price-yellow: #ffb100;
    --price-bg-yellow: #fffdf0;
    --price-table-header-bg: #ffe7ad;
    /* Light yellowish for th */
}

/* Price Card Container */
.price-card {
    background-color: var(--price-bg-yellow);
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto 60px;
    /* Card shadow/border logic if requested? Image implies just flat color background but let's make it look contained */
}

.price-card:last-child {
    margin-bottom: 0;
}

.price-card.yellow-theme {
    background-color: #fff9e6;
    /* Very light yellow white */
}

/* Card Main Title "English Course" */
.price-card-title-box {
    text-align: center;
    margin-bottom: 30px;
}

.price-card-title {
    display: inline-block;
    border: 3px solid var(--price-yellow);
    border-radius: 50px;
    padding: 2px 80px;
    font-size: 28px;
    font-weight: 700;
    color: var(--price-yellow);
    background: #fff;
    min-width: 400px;
}

/* Initial Cost Row (Entrance / Facility) */
.initial-cost-row {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    border-bottom: 2px solid var(--price-yellow);
    padding-bottom: 40px;
    flex-wrap: wrap;
    /* Safe for mobile */
}

.cost-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cost-label {
    background-color: var(--price-yellow);
    color: #fff;
    font-weight: bold;
    padding: 8px 30px;
    border-radius: 30px;
    font-size: 18px;
    min-width: 140px;
    text-align: center;
}

.cost-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.cost-note {
    font-weight: normal;
    font-size: 12px;
    margin-left: 10px;
    color: #666;
}

/* Tables Container */
.price-tables-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.price-table-block {
    width: 100%;
}

/* Header Pill "Course Fee ..." */
.table-header-pill {
    background-color: var(--price-yellow);
    color: #fff;
    border-radius: 50px;
    padding: 5px 40px;
    text-align: center;
    margin: 0 auto 20px;
    /* Slight overlap or spacing? Image shows it sitting on top maybe? No, just above */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 500px;
}

.pill-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.pill-subtitle {
    font-size: 14px;
    font-weight: bold;
    opacity: 0.9;
}

/* Table Style */
.price-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.price-table th,
.price-table td {
    border: 1px solid #666;
    padding: 25px 10px;
    text-align: center;
    width: 25%;
    /* 4 columns */
}

.price-table th {
    background-color: #fceebc;
    /* Light beige/yellow */
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.price-table td {
    font-size: 22px;
    font-weight: 700;
    color: #333;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .price-card {
        padding: 40px 20px;
        margin: 0 5px 60px;
        /* Add side margins for card on mobile */
    }

    .price-card-title {
        min-width: auto;
        width: 100%;
        padding: 10px 20px;
        /* Compress */
        font-size: 22px;
    }

    .initial-cost-row {
        flex-direction: column;
        align-items: center;
        /* Center items */
        gap: 30px;
    }

    .cost-item {
        flex-direction: column;
        gap: 10px;
    }

    .table-header-pill {
        min-width: 90%;
        width: 100%;
        padding: 10px;
        border-radius: 30px;
    }

    .price-table th,
    .price-table td {
        padding: 15px 5px;
    }

    .price-table th {
        font-size: 14px;
    }

    .price-table td {
        font-size: 16px;
    }
}

/* Blue Theme Definitions */
:root {
    --price-blue: #26bce6;
    /* Cyan blue from image */
    --price-bg-blue: #eefbff;
    /* Very light cyan bg */
    --price-table-header-bg-blue: #cceeff;
    /* Light blue header */
}

.price-card.blue-theme {
    background-color: var(--price-bg-blue);
}

.blue-theme .price-card-title {
    border-color: var(--price-blue);
    color: var(--price-blue);
}

.blue-theme .cost-label {
    background-color: var(--price-blue);
}

.blue-theme .initial-cost-row {
    border-bottom-color: var(--price-blue);
}

.blue-theme .table-header-pill {
    background-color: var(--price-blue);
}

.blue-theme .price-table th {
    background-color: #bceeff;
    /* Light blue */
}


/* 5 Column Table Handling */
.price-table.col-5 th,
.price-table.col-5 td {
    width: 20%;
    /* 5 columns */
}

/* Mobile override for 5 cols to prevent squishing */
@media (max-width: 768px) {

    .price-table.col-5 th,
    .price-table.col-5 td {
        font-size: 13px;
        /* Slightly smaller for 5 cols */
        padding: 10px 2px;
    }
}

/* Green Theme Definitions (Spot Course) */
:root {
    --price-green: #8cc63f;
    /* Fresh green from image */
    --price-bg-green: #f3ffe5;
    /* Very light green bg */
    --price-table-header-bg-green: #dcfabd;
    /* Light green header */
}

.price-card.green-theme {
    background-color: var(--price-bg-green);
}

.green-theme .price-card-title {
    border-color: var(--price-green);
    color: var(--price-green);
}

.green-theme .cost-label {
    background-color: var(--price-green);
}

.green-theme .initial-cost-row {
    border-bottom-color: var(--price-green);
}

.green-theme .table-header-pill {
    background-color: var(--price-green);
}

.green-theme .price-table th {
    background-color: #dcfabd;
    /* Custom light green */
    font-size: 16px;
    /* Slightly smaller for detailed headers */
    line-height: 1.4;
}

.green-theme .th-time {
    display: block;
    font-size: 14px;
    font-weight: normal;
}


/* Pink Theme Definitions (Discount System) */
:root {
    --price-pink: #f7a0b0;
    /* Pink from branding */
    --price-bg-pink: #fff0f5;
    /* Very light pink bg */
}

.price-card.pink-theme {
    background-color: var(--price-bg-pink);
}

.pink-theme .price-card-title {
    border-color: var(--price-pink);
    color: var(--price-pink);
}

/* Discount Table */
.discount-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid #666;
}

.discount-table th,
.discount-table td {
    border: 1px solid #666;
    padding: 20px;
    text-align: left;
}

.discount-table th {
    background-color: #fddde6;
    /* Light pink header cell */
    color: #333;
    font-weight: 700;
    width: 25%;
    text-align: center;
    vertical-align: middle;
}

.discount-table td {
    font-size: 16px;
    line-height: 1.6;
}

.discount-table .note {
    font-size: 13px;
    color: #666;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .green-theme .price-table th {
        font-size: 12px;
        padding: 5px;
    }

    .green-theme .th-time {
        font-size: 11px;
    }

    .discount-table th,
    .discount-table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }

    .discount-table th {
        border-bottom: 1px solid #ccc;
        /* Separator */
        padding: 10px;
        text-align: left;
    }

    .discount-table td {
        border-top: none;
        padding: 15px 15px 30px;
    }
}