/* =====================================================
   TABARAK BIMBEL
   CSS
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f4f8f7;
    color: #064f48;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}


/* =====================================================
   VARIABLES
===================================================== */

:root {

    --green: #006d62;
    --green-dark: #004f48;
    --green-light: #e6f4f1;

    --turquoise: #13b8bd;
    --turquoise-dark: #079da2;

    --orange: #f5ae25;
    --orange-light: #fff1d2;

    --white: #ffffff;
    --gray: #71828a;
    --gray-light: #f1f5f4;

    --shadow:
        0 10px 30px rgba(0, 74, 67, 0.08);
}


/* =====================================================
   PAGE
===================================================== */

.bimbel-page {
    width: 100%;
    max-width: 1180px;
    margin: auto;
    background: #f7faf9;
    min-height: 100vh;
    padding-bottom: 100px;
}


/* =====================================================
   HEADER
===================================================== */

.bimbel-header {

    height: 85px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 35px;

    background: white;

    position: sticky;
    top: 0;

    z-index: 100;

    box-shadow:
        0 3px 15px rgba(0, 0, 0, 0.04);
}

.logo-area {
    display: flex;
    align-items: center;
}

.logo-bimbel {

    width: 180px;
    height: auto;

    object-fit: contain;
}

.notification-btn {

    position: relative;

    width: 52px;
    height: 52px;

    border: none;
    border-radius: 50%;

    background: white;

    color: var(--green);

    font-size: 22px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.08);

    cursor: pointer;
}

.notification-btn span {

    position: absolute;

    width: 9px;
    height: 9px;

    background: #ed3d3d;

    border-radius: 50%;

    top: 8px;
    right: 10px;
}


/* =====================================================
   HERO
===================================================== */

.bimbel-hero {

    margin: 20px;

    min-height: 310px;

    border-radius: 25px;

    overflow: hidden;

    position: relative;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            100deg,
            #005f56 0%,
            #08796d 48%,
            rgba(7, 121, 109, 0.5) 100%
        );

    box-shadow: var(--shadow);
}

.hero-content {

    position: relative;
    z-index: 2;

    width: 55%;

    padding: 45px;
    color: white;
}

.hero-label {

    display: inline-block;

    background: var(--orange);

    color: #123f3a;

    font-weight: 800;

    font-size: 13px;

    padding: 9px 18px;

    border-radius: 30px;

    margin-bottom: 15px;
}

.hero-content h1 {

    font-family: Georgia, serif;

    font-size: clamp(40px, 6vw, 65px);

    line-height: 0.95;

    margin-bottom: 20px;
}

.hero-content h1 span {
    color: var(--orange);
}

.hero-content p {

    max-width: 450px;

    font-size: 17px;

    line-height: 1.6;

    margin-bottom: 25px;
}

.hero-button {

    display: inline-flex;

    align-items: center;
    gap: 15px;

    background: var(--orange);

    color: #17463f;

    padding: 14px 20px;

    border-radius: 35px;

    font-weight: 800;

    transition: 0.3s;
}

.hero-button i {

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: white;

    border-radius: 50%;
}

.hero-button:hover {
    transform: translateY(-3px);
}

.hero-decoration {

    position: absolute;

    right: -50px;
    bottom: -80px;

    width: 440px;
    height: 440px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.28),
            rgba(255,255,255,0)
        );

    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(255,255,255,0.8);

    font-size: 180px;
}


/* =====================================================
   QUICK MENU
===================================================== */

.quick-menu {

    margin: 0 20px 35px;

    background: white;

    border-radius: 22px;

    padding: 18px;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 15px;

    box-shadow: var(--shadow);
}

.quick-item {

    text-align: center;

    padding: 12px;

    border-radius: 15px;

    transition: 0.3s;
}

.quick-item:hover {
    background: var(--green-light);
}

.quick-item.active {
    background: var(--green-light);
}

.quick-icon {

    width: 52px;
    height: 52px;

    margin: auto auto 8px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #e3f3f0;

    color: var(--green);

    font-size: 21px;
}

.quick-item span {

    font-size: 13px;

    font-weight: 700;

    color: #174f49;
}


/* =====================================================
   SECTION
===================================================== */

.section {

    padding: 10px 25px 35px;
}

.section-title {

    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 20px;
}

.small-title {

    display: block;

    color: var(--turquoise);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

    margin-bottom: 4px;
}

.section-title h2 {

    font-family: Georgia, serif;

    color: var(--green-dark);

    font-size: 30px;
}

.section-title > a {

    color: var(--green);

    font-weight: 700;

    font-size: 14px;

    display: flex;

    align-items: center;

    gap: 8px;
}


/* =====================================================
   PROGRAM CARD
===================================================== */

.program-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.program-card {

    background: white;

    border-radius: 20px;

    padding: 20px;

    display: flex;

    gap: 18px;

    box-shadow: var(--shadow);

    transition: 0.3s;
}

.program-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 15px 35px rgba(0, 80, 70, 0.13);
}

.program-icon {

    flex: 0 0 60px;

    width: 60px;
    height: 60px;

    border-radius: 18px;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 24px;
}

.turquoise {

    background: #dcf5f4;

    color: var(--turquoise-dark);
}

.orange {

    background: var(--orange-light);

    color: var(--orange);
}

.program-content {
    flex: 1;
}

.program-badge {

    display: inline-block;

    background: var(--green-light);

    color: var(--green);

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 800;

    margin-bottom: 7px;
}

.orange-badge {

    background: var(--orange-light);

    color: #c1840c;
}

.program-content h3 {

    font-size: 18px;

    color: #104f49;

    margin-bottom: 8px;
}

.program-content p {

    font-size: 13px;

    line-height: 1.5;

    color: var(--gray);

    margin-bottom: 12px;
}

.program-link {

    color: var(--green);

    font-size: 12px;

    font-weight: 800;

    display: inline-flex;

    gap: 7px;

    align-items: center;
}


/* =====================================================
   BENEFIT
===================================================== */

.benefit-section {

    padding: 45px 25px;

    background:
        linear-gradient(
            135deg,
            #eaf8f6,
            #ffffff
        );
}

.center-title {
    justify-content: center;
    text-align: center;
}

.benefit-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 15px;
}

.benefit-card {

    background: white;

    border-radius: 18px;

    padding: 25px 15px;

    text-align: center;

    box-shadow: var(--shadow);
}

.benefit-icon {

    width: 55px;
    height: 55px;

    margin: auto auto 12px;

    border-radius: 50%;

    background: #e0f4f1;

    color: var(--green);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 21px;
}

.benefit-card h3 {

    color: var(--green-dark);

    font-size: 15px;

    margin-bottom: 7px;
}

.benefit-card p {

    color: var(--gray);

    font-size: 12px;

    line-height: 1.5;
}


/* =====================================================
   PRICE FILTER
===================================================== */

.price-filter {

    display: flex;

    gap: 8px;

    overflow-x: auto;

    padding-bottom: 10px;

    margin-bottom: 18px;
}

.price-filter::-webkit-scrollbar {
    display: none;
}

.filter-btn {

    border: none;

    background: white;

    color: #37645e;

    border-radius: 30px;

    padding: 10px 18px;

    white-space: nowrap;

    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.05);

    transition: 0.3s;
}

.filter-btn.active {

    background: var(--green);

    color: white;
}


/* =====================================================
   PRICE GRID
===================================================== */

.price-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.price-card {

    background: white;

    border-radius: 20px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transition: 0.3s;
}

.price-card:hover {
    transform: translateY(-3px);
}

.price-header {

    padding: 17px 20px;

    color: white;

    font-size: 15px;

    font-weight: 800;

    position: relative;
}

.turquoise-header {
    background: var(--turquoise);
}

.orange-header {
    background: var(--orange);
}

.price-body {
    padding: 10px 20px 15px;
}

.price-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding: 13px 0;

    border-bottom: 1px solid #edf1f0;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row strong {

    display: block;

    color: #225a54;

    font-size: 14px;
}

.price-row small {

    display: block;

    color: #98a4a6;

    font-size: 10px;

    margin-top: 3px;
}

.price-row b {

    color: var(--green);

    font-size: 15px;

    white-space: nowrap;
}


/* =====================================================
   LEARNING SECTION
===================================================== */

.learning-section {

    padding: 40px 25px;

    background: #f1f8f7;
}

.learning-box {

    background: var(--turquoise);

    color: white;

    border-radius: 25px;

    padding: 30px;
}

.learning-heading {

    text-align: center;

    margin-bottom: 25px;
}

.learning-heading > span {

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;
}

.learning-heading h2 {

    font-family: Georgia, serif;

    font-size: 28px;

    margin-top: 8px;
}

.learning-heading strong {
    color: #fff0bd;
}

.learning-list {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 13px 30px;
}

.learning-list div {

    display: flex;

    gap: 10px;

    align-items: center;

    font-size: 14px;

    font-weight: 600;
}

.learning-list i {

    color: white;

    font-size: 17px;
}


/* =====================================================
   REGISTER
===================================================== */

.register-section {

    padding: 35px 25px;
}

.register-content {

    background:
        linear-gradient(
            110deg,
            var(--green-dark),
            var(--green)
        );

    border-radius: 24px;

    padding: 25px 30px;

    color: white;

    display: flex;

    align-items: center;

    gap: 20px;
}

.register-icon {

    width: 60px;
    height: 60px;

    border-radius: 18px;

    background: rgba(255,255,255,0.15);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 25px;
}

.register-content span {

    font-size: 10px;

    letter-spacing: 1.5px;

    font-weight: 800;
}

.register-content h2 {

    font-family: Georgia, serif;

    font-size: 25px;

    margin: 3px 0;
}

.register-content p {

    color: #d9eeea;

    font-size: 12px;
}

.register-button {

    margin-left: auto;

    background: var(--orange);

    color: #194b45;

    padding: 13px 20px;

    border-radius: 30px;

    font-weight: 800;

    display: flex;

    gap: 8px;

    align-items: center;

    white-space: nowrap;
}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    text-align: center;

    padding: 35px 25px 110px;

    background: white;
}

.footer-logo img {

    width: 170px;

    max-width: 100%;

    margin-bottom: 15px;
}

.footer p {

    max-width: 400px;

    margin: auto;

    color: var(--gray);

    font-size: 12px;

    line-height: 1.6;
}

.social-links {

    display: flex;

    justify-content: center;

    gap: 10px;

    margin: 20px 0;
}

.social-links a {

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: var(--green);

    color: white;

    display: flex;

    align-items: center;
    justify-content: center;
}

.footer small {

    color: #99a4a5;

    font-size: 10px;
}


/* =====================================================
   BOTTOM NAVIGATION
===================================================== */

.bottom-nav {

    position: fixed;

    left: 50%;

    bottom: 12px;

    transform: translateX(-50%);

    width: min(700px, calc(100% - 20px));

    background: #006d62;

    border-radius: 25px;

    padding: 12px 10px;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    z-index: 999;

    box-shadow:
        0 10px 30px rgba(0,70,60,0.25);
}

.bottom-nav a {

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 5px;

    color: white;

    font-size: 10px;

    font-weight: 600;

    opacity: 0.95;
}

.bottom-nav i {
    font-size: 19px;
}

.bottom-nav a.active {
    color: var(--orange);
}

.bottom-nav a:hover {
    color: var(--orange);
}


/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 850px) {

    .program-grid,
    .price-grid {
        grid-template-columns: 1fr;
    }

    .benefit-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .hero-content {
        width: 65%;
    }

    .hero-decoration {
        opacity: 0.4;
    }
}


/* =====================================================
   RESPONSIVE MOBILE
===================================================== */

@media (max-width: 600px) {

    body {
        background: #f5f8f7;
    }

    .bimbel-page {
        max-width: 100%;
    }

    .bimbel-header {

        height: 70px;

        padding: 10px 18px;
    }

    .logo-bimbel {
        width: 145px;
    }

    .notification-btn {

        width: 44px;
        height: 44px;

        font-size: 19px;
    }


    /* HERO */

    .bimbel-hero {

        margin: 12px;

        min-height: 300px;

        border-radius: 20px;
    }

    .hero-content {

        width: 75%;

        padding: 30px 22px;
    }

    .hero-label {
        font-size: 10px;
        padding: 7px 12px;
    }

    .hero-content h1 {
        font-size: 43px;
    }

    .hero-content p {
        font-size: 13px;
        line-height: 1.5;
    }

    .hero-button {

        padding: 11px 14px;

        font-size: 12px;
    }

    .hero-decoration {

        right: -110px;

        width: 330px;
        height: 330px;

        font-size: 130px;
    }


    /* QUICK MENU */

    .quick-menu {

        margin: 0 12px 25px;

        padding: 12px;

        gap: 5px;

        border-radius: 18px;
    }

    .quick-item {
        padding: 7px 3px;
    }

    .quick-icon {

        width: 42px;
        height: 42px;

        font-size: 17px;
    }

    .quick-item span {
        font-size: 10px;
    }


    /* SECTION */

    .section {
        padding: 5px 12px 25px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .small-title {
        font-size: 9px;
    }

    .section-title > a {
        font-size: 11px;
    }


    /* PROGRAM */

    .program-card {

        padding: 15px;

        gap: 12px;

        border-radius: 17px;
    }

    .program-icon {

        flex: 0 0 48px;

        width: 48px;
        height: 48px;

        font-size: 19px;

        border-radius: 14px;
    }

    .program-content h3 {
        font-size: 15px;
    }

    .program-content p {
        font-size: 11px;
    }


    /* BENEFIT */

    .benefit-section {
        padding: 30px 12px;
    }

    .benefit-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap: 10px;
    }

    .benefit-card {

        padding: 18px 10px;

        border-radius: 15px;
    }

    .benefit-icon {

        width: 45px;
        height: 45px;

        font-size: 17px;
    }

    .benefit-card h3 {
        font-size: 13px;
    }

    .benefit-card p {
        font-size: 10px;
    }


    /* PRICE */

    .price-grid {
        gap: 12px;
    }

    .price-header {
        padding: 13px 15px;

        font-size: 13px;
    }

    .price-body {
        padding: 8px 15px 10px;
    }

    .price-row {
        padding: 11px 0;
    }

    .price-row strong {
        font-size: 12px;
    }

    .price-row b {
        font-size: 12px;
    }


    /* LEARNING */

    .learning-section {
        padding: 25px 12px;
    }

    .learning-box {
        padding: 22px 17px;

        border-radius: 20px;
    }

    .learning-heading h2 {
        font-size: 22px;
    }

    .learning-list {

        grid-template-columns: 1fr;

        gap: 10px;
    }

    .learning-list div {
        font-size: 12px;
    }


    /* REGISTER */

    .register-section {
        padding: 25px 12px;
    }

    .register-content {

        flex-wrap: wrap;

        padding: 20px;

        border-radius: 20px;
    }

    .register-icon {

        width: 48px;
        height: 48px;
    }

    .register-content h2 {
        font-size: 21px;
    }

    .register-content p {
        font-size: 11px;
    }

    .register-button {

        width: 100%;

        justify-content: center;

        margin-left: 0;

        font-size: 12px;
    }


    /* FOOTER */

    .footer {
        padding-bottom: 100px;
    }


    /* NAV */

    .bottom-nav {

        bottom: 8px;

        border-radius: 20px;

        padding: 10px 5px;
    }

    .bottom-nav i {
        font-size: 17px;
    }

    .bottom-nav a {
        font-size: 8px;
    }

}


/* =====================================================
   SMALL PHONE
===================================================== */

@media (max-width: 380px) {

    .hero-content {
        width: 82%;
    }

    .hero-content h1 {
        font-size: 37px;
    }

    .quick-item span {
        font-size: 9px;
    }

    .program-content p {
        display: none;
    }

}