:root {

    --primary: #173B7A;
    --primary-dark: #102A59;

    --secondary: #2E7D32;

    --gold: #C99A2E;

    --light: #F5F7FA;

    --dark: #1F2937;

    --border: #E5E7EB;
}

* {
    box-sizing: border-box;
}

body {

    font-family: 'Inter', sans-serif;

    background: var(--light);

    color: var(--dark);

    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {

    font-family: 'Poppins', sans-serif;

}

.btn-primary {

    background: var(--primary);

    border-color: var(--primary);

}

.btn-primary:hover {

    background: var(--primary-dark);

    border-color: var(--primary-dark);

}

.text-primary {

    color: var(--primary) !important;

}

.bg-primary {

    background: var(--primary) !important;

}

.card {

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.04);

}

.card-header {

    background: #fff;

    border-bottom: 1px solid var(--border);

}

.footer {

    background: #fff;

    border-top: 1px solid var(--border);

    color: #6B7280;

}
/* =========================================================
   BALINESE DESIGN SYSTEM
   THK SMART LEARNING
   ========================================================= */

:root {
    --bali-red: #8b2f23;
    --bali-dark-red: #642018;
    --bali-gold: #c99a2e;
    --bali-gold-light: #e6c766;
    --bali-green: #315c3a;
    --bali-blue: #173b7a;
    --bali-cream: #f8f1df;
    --bali-sand: #efe3c5;
    --bali-dark: #241b17;

    --primary: var(--bali-blue);
    --secondary: var(--bali-green);
    --gold: var(--bali-gold);
}


/* =========================================================
   GLOBAL
   ========================================================= */

body {
    font-family: 'Inter', sans-serif;
    background: #faf9f5;
    color: var(--bali-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Poppins', sans-serif;
}

.section-title {
    color: var(--bali-dark);
    font-weight: 700;
}

.section-subtitle {
    color: #71665f;
}


/* =========================================================
   BALINESE TOP ORNAMENT
   ========================================================= */

.bali-top-border {
    height: 8px;

    background:
        repeating-linear-gradient(
            45deg,
            var(--bali-red) 0px,
            var(--bali-red) 12px,
            var(--bali-gold) 12px,
            var(--bali-gold) 24px,
            #f4ead2 24px,
            #f4ead2 36px
        );

    border-bottom: 2px solid var(--bali-gold);
}


/* =========================================================
   NAVBAR
   ========================================================= */

.bali-navbar {
    background: rgba(255,255,255,0.97);

    border-bottom: 1px solid #eadfc8;

    box-shadow:
        0 3px 20px rgba(72, 45, 28, 0.08);

    position: relative;

    z-index: 1000;
}

.bali-navbar .navbar-brand {
    color: var(--bali-blue) !important;
}

.bali-navbar .navbar-brand small {
    display: block;

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--bali-gold);

    font-weight: 600;

    margin-left: 31px;

    margin-top: -5px;
}

.bali-navbar .nav-link {
    color: #493c35;

    font-weight: 500;

    padding: 10px 15px !important;

    position: relative;
}

.bali-navbar .nav-link:hover {
    color: var(--bali-red);
}

.bali-navbar .nav-link::after {
    content: "";

    position: absolute;

    bottom: 2px;

    left: 15px;

    right: 15px;

    height: 2px;

    background: var(--bali-gold);

    transform: scaleX(0);

    transition: 0.3s;
}

.bali-navbar .nav-link:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   HERO
   ========================================================= */

.bali-hero {
    position: relative;

    min-height: 680px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(201,154,46,0.20),
            transparent 25%
        ),
        radial-gradient(
            circle at 10% 80%,
            rgba(49,92,58,0.12),
            transparent 25%
        ),
        linear-gradient(
            135deg,
            #fbf7ec 0%,
            #f4ead3 100%
        );
}


/* Ornamen kiri */

.bali-hero::before {
    content: "";

    position: absolute;

    left: -100px;

    top: 80px;

    width: 300px;

    height: 300px;

    border-radius: 50%;

    border: 35px solid rgba(139,47,35,0.05);

    box-shadow:
        0 0 0 25px rgba(201,154,46,0.04),
        0 0 0 60px rgba(49,92,58,0.03);
}


/* Ornamen kanan */

.bali-hero::after {
    content: "";

    position: absolute;

    right: -150px;

    bottom: -150px;

    width: 450px;

    height: 450px;

    border-radius: 50%;

    border: 60px solid rgba(201,154,46,0.06);
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 5;
}

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 16px;

    background: rgba(139,47,35,0.08);

    border: 1px solid rgba(139,47,35,0.15);

    color: var(--bali-red);

    border-radius: 50px;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 0.5px;
}

.hero-title {
    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 700;

    color: var(--bali-dark);

    letter-spacing: -1.5px;
}

.hero-title .highlight {
    color: var(--bali-red);

    position: relative;
}

.hero-title .highlight::after {
    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 100%;

    height: 5px;

    background: var(--bali-gold);

    border-radius: 5px;
}

.hero-description {
    font-size: 18px;

    line-height: 1.8;

    color: #665b53;

    max-width: 650px;
}


/* =========================================================
   BALINESE CTA
   ========================================================= */

.btn-bali {
    background: var(--bali-red);

    border: 2px solid var(--bali-red);

    color: white;

    padding: 13px 25px;

    border-radius: 10px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-bali:hover {
    background: var(--bali-dark-red);

    border-color: var(--bali-dark-red);

    color: white;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(139,47,35,0.25);
}

.btn-bali-outline {
    background: transparent;

    border: 2px solid #c9b99c;

    color: #55473e;

    padding: 13px 25px;

    border-radius: 10px;

    font-weight: 600;

    transition: 0.3s;
}

.btn-bali-outline:hover {
    border-color: var(--bali-gold);

    background: rgba(201,154,46,0.08);

    color: var(--bali-red);
}


/* =========================================================
   BALINESE HERO VISUAL
   ========================================================= */

.bali-visual {
    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    justify-content: center;
}


/* Main card */

.bali-learning-card {
    width: 440px;

    max-width: 100%;

    background: rgba(255,255,255,0.95);

    border-radius: 28px;

    padding: 35px;

    border: 1px solid #eadfc8;

    box-shadow:
        0 25px 60px rgba(67, 42, 27, 0.14);

    position: relative;

    z-index: 3;
}


/* =========================================================
   CANDI BENTAR STYLE
   ========================================================= */

.bali-gate {
    display: flex;

    justify-content: center;

    align-items: flex-end;

    height: 180px;

    gap: 14px;

    margin-bottom: 25px;
}

.gate-column {
    width: 80px;

    height: 150px;

    background:
        linear-gradient(
            90deg,
            #7d2920,
            #a83d2c,
            #70231c
        );

    border-radius: 8px 8px 2px 2px;

    position: relative;

    box-shadow:
        0 12px 25px rgba(70,35,25,0.2);
}

.gate-column::before {
    content: "";

    position: absolute;

    left: -12px;

    right: -12px;

    top: -25px;

    height: 30px;

    background: var(--bali-gold);

    clip-path: polygon(
        0 100%,
        50% 0,
        100% 100%
    );
}

.gate-column::after {
    content: "";

    position: absolute;

    left: 15px;

    right: 15px;

    top: 45px;

    bottom: 20px;

    border: 2px solid rgba(230,199,102,0.6);

    border-radius: 4px;
}

.gate-center {
    width: 80px;

    height: 125px;

    background:
        linear-gradient(
            90deg,
            #642018,
            #8b2f23,
            #642018
        );

    position: relative;

    clip-path: polygon(
        20% 100%,
        0 0,
        50% 15%,
        100% 0,
        80% 100%
    );
}


/* =========================================================
   GOLD ORNAMENT
   ========================================================= */

.bali-ornament-line {
    height: 4px;

    width: 120px;

    background: var(--bali-gold);

    margin: 18px auto;

    border-radius: 10px;

    position: relative;
}

.bali-ornament-line::before,
.bali-ornament-line::after {
    content: "◆";

    position: absolute;

    top: -9px;

    color: var(--bali-gold);

    font-size: 14px;
}

.bali-ornament-line::before {
    left: -20px;
}

.bali-ornament-line::after {
    right: -20px;
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.bali-feature {
    background: white;

    border: 1px solid #eadfc8;

    border-radius: 18px;

    padding: 25px;

    height: 100%;

    transition: 0.3s;

    position: relative;

    overflow: hidden;
}

.bali-feature::before {
    content: "";

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 4px;

    background:
        linear-gradient(
            90deg,
            var(--bali-red),
            var(--bali-gold),
            var(--bali-green)
        );
}

.bali-feature:hover {
    transform: translateY(-6px);

    box-shadow:
        0 15px 35px rgba(70,45,30,0.10);
}

.bali-feature-icon {
    width: 55px;

    height: 55px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    font-size: 25px;

    margin-bottom: 18px;
}

.icon-red {
    background: rgba(139,47,35,0.10);

    color: var(--bali-red);
}

.icon-green {
    background: rgba(49,92,58,0.10);

    color: var(--bali-green);
}

.icon-gold {
    background: rgba(201,154,46,0.15);

    color: #9b751b;
}


/* =========================================================
   THK SECTION
   ========================================================= */

.thk-section {
    background:
        linear-gradient(
            135deg,
            #f6efdf,
            #fbf8f0
        );

    position: relative;

    overflow: hidden;
}

.thk-card {
    background: white;

    border: 1px solid #e6d9bc;

    border-radius: 22px;

    padding: 35px;

    height: 100%;

    position: relative;

    overflow: hidden;
}

.thk-card .symbol {
    font-size: 40px;

    color: var(--bali-gold);
}


/* =========================================================
   BALINESE SECTION PATTERN
   ========================================================= */

.bali-pattern {
    position: relative;
}

.bali-pattern::before {
    content: "";

    position: absolute;

    inset: 0;

    opacity: 0.04;

    background-image:
        repeating-linear-gradient(
            45deg,
            var(--bali-red) 0,
            var(--bali-red) 2px,
            transparent 2px,
            transparent 15px
        );

    pointer-events: none;
}


/* =========================================================
   FOOTER
   ========================================================= */

.bali-footer {
    background:
        linear-gradient(
            135deg,
            #241b17,
            #38251d
        );

    color: #eee2cf;

    position: relative;

    overflow: hidden;
}

.bali-footer::before {
    content: "";

    display: block;

    height: 7px;

    background:
        repeating-linear-gradient(
            45deg,
            var(--bali-red) 0,
            var(--bali-red) 12px,
            var(--bali-gold) 12px,
            var(--bali-gold) 24px
        );
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .bali-hero {
        min-height: auto;

        padding: 80px 0;
    }

    .bali-visual {
        min-height: 400px;

        margin-top: 40px;
    }

    .hero-title {
        font-size: 45px;
    }

}

@media (max-width: 575px) {

    .bali-hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-description {
        font-size: 16px;
    }

    .bali-learning-card {
        padding: 25px;
    }

    .gate-column {
        width: 55px;
    }

    .gate-center {
        width: 55px;
    }

}