/* --- DESIGN TOKENS --- */
:root {
    /* Colors */
    --clr-primary: #065f46;
    /* Dark Green for primary text/headings */
    --clr-secondary: #10b981;
    /* Lighter Green */
    --clr-accent-red: #f43f5e;
    /* Pinkish Red for highlights and buttons */
    --clr-bg-light: #f8fafc;
    /* Off-white background */

    /* Section Backgrounds */
    --clr-bg-hero: #d1fae5;
    /* Soft Mint/Green */
    --clr-bg-blue: #e0f2fe;
    /* Soft Blue for "Mengapa memilih" */
    --clr-bg-sand: #fef3c7;
    /* Soft yellow/sand for contact */

    /* Card Colors */
    --clr-card-red: #ffe4e6;
    --clr-card-blue: #e0f2fe;
    --clr-card-yellow: #fef9c3;
    --clr-card-green: #dcfce7;

    /* Typography */
    --font-heading: 'Fredoka', cursive, sans-serif;
    --font-body: 'Nunito', sans-serif;

    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1.5rem;
    --space-lg: 3rem;
    --space-xl: 5rem;

    /* Box Shadow */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.08);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --radius-circle: 50%;
}

/* --- RESET & GLOBALS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg-light);
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Bootstrap Overrides & Helpers */
.text-primary-custom {
    color: var(--clr-primary) !important;
}

.text-secondary-custom {
    color: var(--clr-secondary) !important;
}

.bg-primary-custom {
    background-color: var(--clr-primary) !important;
}

.bg-secondary-custom {
    background-color: var(--clr-secondary) !important;
}

.hover-primary:hover {
    color: var(--clr-primary) !important;
}

.hover-secondary:hover {
    color: var(--clr-secondary) !important;
}

.text-inherit {
    color: inherit;
}

.transition-all {
    transition: all 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: var(--space-xl) 0;
    position: relative;
}

/* Typography styles */
h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.section-title span {
    color: var(--clr-secondary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto var(--space-lg);
}

.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mt-md {
    margin-top: var(--space-md);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary {
    background-color: var(--clr-primary);
    color: white;
}

.btn-primary:hover {
    background-color: #044031;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(6, 95, 70, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-primary);
}

.btn-outline:hover {
    color: var(--clr-secondary);
}

.btn-outline-primary {
    border-color: var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline-primary:hover {
    background-color: var(--clr-primary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    box-shadow: var(--shadow-sm);
    color: var(--clr-primary);
}

/* --- HEADER / NAVBAR --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    background-color: transparent;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-primary);
    letter-spacing: -0.5px;
}

.logo-icon {
    color: var(--clr-secondary);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-list a {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--clr-accent-red);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-list a:hover::before,
.nav-list a.active::before {
    width: 100%;
}

/* Hide default Bootstrap dropdown caret */
.dropdown-toggle::after {
    display: none !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-primary);
    cursor: pointer;
}

/* Dropdown specific */
.dropdown {
    position: relative;
}

.nav-chevron {
    font-size: 0.8rem;
    margin-left: 2px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block !important;
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
    color: var(--clr-primary) !important;
}

.dropdown-menu a::before {
    display: none !important;
}

.dropdown-menu a:hover {
    background-color: var(--clr-bg-light);
    color: var(--clr-secondary) !important;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, #e6fdf5 0%, var(--clr-bg-hero) 100%);
    min-height: 100vh;
    padding-top: 140px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Badge at the top of content */
.hero-badge {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(6, 95, 70, 0.12);
    color: var(--clr-primary);
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(6, 95, 70, 0.04);
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.15;
    font-family: var(--font-heading);
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.highlight-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1;
    padding: 0 15px;
    margin-left: 20px;
}

.highlight-text {
    color: white !important;
    position: relative;
    z-index: 2;
    font-size: 4.2rem;
}

.highlight-wrapper::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10px;
    width: calc(100% - 10px);
    height: 90%;
    background-color: var(--clr-accent-red);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    transform: rotate(-3deg);
    z-index: -1;
    opacity: 0.95;
    box-shadow: 0 6px 15px rgba(244, 63, 94, 0.25);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--clr-primary);
    font-weight: 600;
    opacity: 0.9;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #475569;
    max-width: 540px;
    line-height: 1.65;
}

/* Image section container */
.hero-img-container {
    position: relative;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 1.5rem;
}

.hero-img-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 90%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(244, 63, 94, 0.15));
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: pulseBg 6s infinite alternate;
}

@keyframes pulseBg {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.6;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.9;
    }
}

.hero-img-container:hover {
    transform: translateY(-8px);
}

.hero-image-wrapper {
    position: relative;
}

.hero-img {
    border-radius: 2rem;
    box-shadow: 0 25px 50px rgba(6, 95, 70, 0.15), 0 0 0 10px rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.5s ease;
    object-fit: cover;
    aspect-ratio: 4/3;
    width: 100%;
}

.hero-img-container:hover .hero-img {
    box-shadow: 0 30px 60px rgba(6, 95, 70, 0.2), 0 0 0 12px rgba(255, 255, 255, 0.9);
}

/* Floating Info Cards on Image */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 14px 22px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(6, 95, 70, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

.floating-badge:hover {
    transform: scale(1.08) translateY(-5px) !important;
    box-shadow: 0 20px 40px rgba(6, 95, 70, 0.18), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    z-index: 20;
}

.badge-1 {
    top: 12%;
    left: -20px;
    animation-delay: 0s;
}

.badge-2 {
    bottom: 15%;
    right: -10px;
    animation-delay: -3s;
}

.badge-icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.floating-badge:hover .badge-icon-circle {
    transform: rotate(10deg) scale(1.1);
}

.bg-success-light {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.bg-warning-light {
    background: linear-gradient(135deg, #fef9c3 0%, #fde047 100%);
    color: #b45309;
}

.badge-text-box {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.badge-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1.2;
    margin-bottom: 2px;
}

.badge-sub {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.2;
    font-weight: 500;
}

.play-btn-wrapper {
    position: absolute;
    bottom: -20px;
    left: -20px;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--clr-accent-red);
    color: white;
    border: 6px solid white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

/* Decor in Hero */
.hero-decorative-shape {
    position: absolute;
}

.decorative-circle-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    top: -100px;
    right: -50px;
}

.decorative-circle-2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef08a 0%, #fde047 100%);
    bottom: 20%;
    left: 5%;
    filter: blur(8px);
    opacity: 0.7;
}

.wave-bottom,
.wave-top-blue,
.wave-bottom-blue,
.wave-top-cloud,
.wave-bottom-sea {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom {
    bottom: 0;
}

.wave-bottom svg,
.wave-top-blue svg,
.wave-bottom-blue svg,
.wave-top-cloud svg,
.wave-bottom-sea svg,
.footer-decor-wave svg {
    position: relative;
    display: block;
    width: calc(150% + 1.3px);
    height: 90px;
}

.wave-bottom .shape-fill {
    fill: var(--clr-bg-light);
}

/* --- INTRO SECTION --- */
.intro {
    background-color: var(--clr-bg-light);
}

.intro-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.tv-frame {
    position: relative;
    border: 12px solid var(--clr-primary);
    border-radius: 40px;
    overflow: hidden;
    padding: 8px;
    background-color: var(--clr-primary);
}

.tv-frame::before,
.tv-frame::after {
    content: '';
    position: absolute;
    top: -20px;
    width: 10px;
    height: 40px;
    background-color: var(--clr-primary);
    border-radius: 5px;
}

.tv-frame::before {
    left: 20%;
    transform: rotate(-30deg);
}

.tv-frame::after {
    right: 20%;
    transform: rotate(30deg);
}

.tv-img {
    border-radius: 20px;
    width: 100%;
    height: auto;
}

.play-btn-small {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--clr-secondary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s;
}

.play-btn-small:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.quote-box {
    position: relative;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
    font-style: italic;
    color: #475569;
}

.quote-icon {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 2rem;
    color: var(--clr-secondary);
    background-color: white;
    padding: 0 10px;
}

.illustration-family {
    margin-top: 2rem;
    text-align: right;
}

/* --- FEATURES SECTION --- */
.features {
    background-color: var(--clr-bg-blue);
    position: relative;
    padding: var(--space-xl) 0 calc(var(--space-xl) + 50px);
}

.wave-top-blue {
    top: -1px;
}

.wave-top-blue .shape-fill {
    fill: var(--clr-bg-light);
}

.wave-bottom-blue {
    bottom: 0;
}

.wave-bottom-blue .shape-fill {
    fill: var(--clr-bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.feature-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: var(--radius-lg);
    border: 2px dashed rgba(6, 95, 70, 0.2);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

/* --- PROFIL PAGE COMPONENTS --- */
.page-title-profil {
    font-family: var(--font-heading);
    color: #023047;
    /* Dark blue/green custom */
    font-size: 3rem;
}

.profil-subtitle p {
    color: var(--clr-primary);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.tv-frame-profil {
    position: relative;
    padding: 15px;
    border: 6px solid #064e3b;
    border-radius: 12% / 20%;
    /* Creates a slight curved TV body */
    background-color: #064e3b;
    z-index: 1;
}

.tv-frame-profil::before,
.tv-frame-profil::after {
    content: '';
    position: absolute;
    top: -25px;
    width: 6px;
    height: 40px;
    background-color: #064e3b;
    border-radius: 5px;
}

.tv-frame-profil::before {
    left: 25%;
    transform: rotate(-30deg);
}

.tv-frame-profil::after {
    right: 25%;
    transform: rotate(30deg);
}

.tv-frame-profil img {
    border-radius: 8% / 15%;
    width: 100%;
}

.quote-giant {
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--clr-secondary);
    line-height: 0;
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    margin-bottom: 20px;
}

.profil-text {
    color: #0f766e;
    font-weight: 500;
}

.profil-box-white {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 2;
}

.profil-list-marker {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.profil-list-marker li {
    margin-bottom: 0.5rem;
    color: #334155;
}

/* Ekstrakurikuler Blobs */
.ekstra-card {
    position: relative;
    padding: 3.5rem 3rem;
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
}

.ekstra-card:hover {
    transform: translateY(-10px);
}

/* Blob Shapes & Colors */
.blob-pink {
    background-color: #fca5a5;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.blob-green {
    background-color: #bbf7d0;
    border-radius: 64% 36% 27% 73% / 55% 58% 42% 45%;
}

.blob-orange {
    background-color: #fed7aa;
    border-radius: 41% 59% 51% 49% / 50% 50% 50% 50%;
}

.blob-purple {
    background-color: #e9d5ff;
    border-radius: 53% 47% 41% 59% / 46% 54% 53% 47%;
}

.blob-teal {
    background-color: #2dd4bf;
    border-radius: 41% 59% 45% 55% / 46% 54% 53% 47%;
}

.ekstra-img-wrap {
    width: 75%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 15px;
    border: 3px solid rgba(255, 255, 255, 0.5);
    margin: 15px auto 0;
}

.ekstra-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ekstra-title {
    font-family: var(--font-heading);
    color: #023047;
    font-size: 1.1rem;
    margin: 0;
}

.blob-teal .ekstra-title {
    color: white;
}

.ekstra-icon {
    width: 30px;
    height: 30px;
    background: var(--clr-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -15px;
    z-index: 2;
    font-size: 0.8rem;
    border: 2px solid white;
}

/* Wave line separator */
.squiggly-divider {
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 10" width="40" height="10"><path d="M0,5 Q10,0 20,5 T40,5" fill="none" stroke="%23cbd5e1" stroke-width="1.5"/></svg>') repeat-x;
    margin: 1.5rem 0;
}


.feature-card:hover {
    transform: translateY(-10px);
    background-color: white;
    border-style: solid;
}

.feature-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(6, 95, 70, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--clr-secondary);
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-desc {
    font-size: 0.9rem;
    color: #475569;
}

/* --- ANIMALS/CLASSES SECTION --- */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.class-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 3px dashed;
    position: relative;
    transition: all 0.3s;
}

.class-card.color-red {
    border-color: var(--clr-accent-red);
    background-color: var(--clr-card-red);
}

.class-card.color-blue {
    border-color: #3b82f6;
    background-color: var(--clr-card-blue);
}

.class-card.color-yellow {
    border-color: #eab308;
    background-color: var(--clr-card-yellow);
}

.class-card.color-green {
    border-color: var(--clr-secondary);
    background-color: var(--clr-card-green);
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.class-header h3 {
    font-size: 1.2rem;
}

.class-header .age {
    display: inline-block;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 2px 10px;
    border-radius: 20px;
    margin-top: 5px;
}

.class-img-wrapper {
    margin: 1rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.class-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.class-body p {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.class-arrow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border: 3px solid;
}

.class-card.color-red .class-arrow {
    border-color: var(--clr-accent-red);
    color: var(--clr-accent-red);
}

.class-card.color-blue .class-arrow {
    border-color: #3b82f6;
    color: #3b82f6;
}

.class-card.color-yellow .class-arrow {
    border-color: #eab308;
    color: #eab308;
}

.class-card.color-green .class-arrow {
    border-color: var(--clr-secondary);
    color: var(--clr-secondary);
}


/* --- PROGRAMS SECTION --- */
.programs-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.program-icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--clr-accent-red);
    color: white;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
}

.programs-right p {
    margin-bottom: 1rem;
    color: #475569;
}

/* --- TEAM SECTION --- */
.bg-light-dots {
    background-image: radial-gradient(var(--clr-secondary) 2px, transparent 2px);
    background-size: 30px 30px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    text-align: center;
}

.member-img-wrapper {
    width: 150px;
    height: 150px;
    margin: 1rem auto 0;
    border-radius: 50%;
    padding: 5px;
    background-color: white;
}

.member-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.border-yellow {
    border: 4px solid #fef08a;
}

.border-blue {
    border: 4px solid #bfdbfe;
}

.border-green {
    border: 4px solid #bbf7d0;
}

.view-all-link {
    font-family: var(--font-heading);
    color: var(--clr-secondary);
    font-size: 1.1rem;
}

.view-all-link:hover {
    color: var(--clr-primary);
}

/* --- NEWS SECTION --- */
.news {
    background-color: #e0f2fe;
    /* Cloud background equivalent */
    position: relative;
    padding-bottom: 0;
}

.wave-top-cloud {
    top: -1px;
}

.wave-top-cloud .shape-fill {
    fill: var(--clr-bg-light);
}

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

.news-card {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

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

.news-img-wrapper {
    position: relative;
    height: 200px;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--clr-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.news-body {
    padding: 1.5rem;
    text-align: center;
}

.news-title {
    font-size: 1.25rem;
}

.wave-bottom-sea {
    position: relative;
    margin-top: -5px;
    z-index: 2;
}

.wave-bottom-sea .shape-fill {
    fill: var(--clr-bg-sand);
}

/* --- CONTACT SECTION --- */
.contact {
    background-color: var(--clr-bg-sand);
    padding-top: 2rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.color-green {
    color: var(--clr-secondary);
}

.color-red {
    color: var(--clr-accent-red);
}

/* --- FOOTER --- */
.footer {
    background-color: white;
    padding-top: 3rem;
    position: relative;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo p {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
}

.footer-links {
    display: flex;
}

.footer-links ul {
    width: 50%;
}

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

.footer-links a:hover {
    color: var(--clr-secondary);
}

.footer-social {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--clr-primary);
}

.footer-social a:hover {
    color: var(--clr-secondary);
    transform: scale(1.1);
}

.footer-chat {
    text-align: right;
}

.btn-chat {
    background-color: #25D366;
    /* WhatsApp color */
    color: white;
    border: none;
}

.btn-chat:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 1.5rem 0;
    position: relative;
    z-index: 2;
}

.footer-decor-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.footer-decor-wave .shape-fill {
    fill: var(--clr-primary);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .features-card.mt-md {
        margin-top: 0;
    }

    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-member.mt-md {
        margin-top: 0;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-chat {
        text-align: left;
        margin-top: 1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        padding: 1.5rem;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        margin-top: 1rem;
        backdrop-filter: blur(10px);
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-list {
        gap: 0.5rem;
        text-align: center;
        align-items: center;
        flex-direction: column !important;
        display: flex !important;
    }
    .nav-list a {
        padding: 0.75rem 0;
        display: inline-block;
        width: 100%;
    }
    .nav-list a::before {
        display: none;
    }
    .dropdown-menu {
        position: static !important;
        text-align: center;
        border: 1px solid rgba(0,0,0,0.05);
        box-shadow: none;
        background-color: var(--clr-bg-light);
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none; /* Let bootstrap handle display block */
    }
    .dropdown-menu.show {
        display: block !important;
    }
    .dropdown-menu a {
        padding: 0.5rem 1rem !important;
    }
    .nav-actions {
        display: flex !important;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    .nav-actions .btn {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .hero-container,
    .intro-container,
    .programs-container,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

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

    .highlight-text {
        font-size: 2.7rem;
    }

    .floating-badge {
        display: none !important;
    }

    .hero-description {
        margin: 0 auto 1.5rem !important;
    }

    .intro-right {
        order: -1;
    }

    /* Text above TV on mobile */
    .tv-frame {
        max-width: 400px;
        margin: 0 auto;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
    }

    .footer-links ul {
        width: 100%;
        margin-left: 0 !important;
        margin-bottom: 1rem;
    }
}

/* --- ALUR PENDAFTARAN --- */
.alur-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
    text-decoration: none;
}

.alur-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.alur-btn-blue {
    background-color: #5bb4e5;
}

.alur-btn-orange {
    background-color: #f1a454;
}

.alur-btn-green {
    background-color: #6bbe67;
}

.alur-section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #0f393b;
    line-height: 1;
    margin-bottom: 0;
    text-align: center;
}

.alur-section-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: #1e293b;
    margin-top: 0px;
    text-align: center;
}

.alur-section-desc {
    font-size: 0.9rem;
    color: #334155;
    max-width: 600px;
    margin: 1rem auto;
    text-align: center;
}

.alur-step-container {
    position: relative;
    padding: 2rem 1rem;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

.alur-step-number-bg {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    z-index: 1;
    line-height: 1;
    pointer-events: none;
}

.alur-step-content {
    position: relative;
    z-index: 2;
}

.alur-step-icon {
    color: #4ade80;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
}

.alur-step-icon i {
    font-size: 3rem;
}

.alur-step-icon img {
    height: 60px;
    object-fit: contain;
    margin: 0 auto;
}

.alur-step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.alur-step-desc {
    font-size: 0.85rem;
    color: #475569;
}

.wave-bg-light-blue {
    background-color: #e0f0f5;
}

.wave-bg-light-green {
    background-color: #e2f2da;
}

/* Base utility */
.text-xs {
    font-size: 0.85rem;
}

.ml-4 {
    margin-left: 2rem;
}

.rounded-pill {
    border-radius: 50px;
}

/* Alur Buttons */
.alur-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    line-height: 1.5;
}

.alur-btn-blue {
    background-color: #38bdf8;
    color: white;
}
.alur-btn-blue:hover {
    background-color: #0284c7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3) !important;
}

.alur-btn-orange {
    background-color: #fb923c;
    color: white;
}
.alur-btn-orange:hover {
    background-color: #ea580c;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3) !important;
}

.alur-btn-green {
    background-color: #4ade80;
    color: white;
}
.alur-btn-green:hover {
    background-color: #16a34a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3) !important;
}