:root {
    --primary-blue: #4A90E2;
    --primary-orange: #FF8C42;
    --primary-yellow: #FFD93D;
    --primary-purple: #8E44AD;
    --primary-green: #2ECC71;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 1.15rem;
}

.logo-font {
    font-family: 'Fredoka One', cursive;
}

.navbar-brand {
    font-size: 2rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-orange), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section {
    background: linear-gradient(135deg, #E3F2FD 0%, #FFF3E0 50%, #F3E5F5 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Override khusus untuk section#home */
#educator.hero-section {
    min-height: auto; /* atau 0 jika kamu ingin tanpa batas minimum */
}
.navbar-spacer {
    height: 60px; /* height equal to navbar height */
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel-inner {
    position: relative;
}

#home .carousel-inner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    z-index: 2;
    max-width: 600px;
}

.carousel-caption h1,
.carousel-caption p {
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.text-bg-image {
    background-image: url('../img/carousel/1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
}

.text-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    z-index: -1;
}

.text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    -webkit-text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-section .carousel-inner {
    border-radius: 1rem;
    height: 100%;
}

.hero-section .carousel-inner img {
    height: 100%;
    object-fit: cover;
}

.text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    -webkit-text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.hero-section .carousel-inner {
    border-radius: 1rem;
}

.hero-section .carousel-inner img {
    height: 100%;
    object-fit: cover;
}

.text-shadow {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    -webkit-text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-yellow));
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.3);
}

.btn-success-custom {
    background: linear-gradient(45deg, var(--primary-green), var(--primary-blue));
    border: none;
    border-radius: 50px;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-success-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 140, 66, 0.3);
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.icon-playgroup { background: linear-gradient(45deg, var(--primary-blue), var(--primary-purple)); }
.icon-preschool { background: linear-gradient(45deg, var(--primary-orange), var(--primary-yellow)); }
.icon-kindergarten { background: linear-gradient(45deg, var(--primary-green), var(--primary-blue)); }

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-blue), var(--primary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.2rem;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    height: 250px;
    background: linear-gradient(45deg, #E3F2FD, #FFF3E0, #F3E5F5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.2rem;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: white;
    font-size: 1.5rem;
}

footer {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-purple));
    color: white;
    padding: 3rem 0 1rem;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.shape:nth-child(2) { top: 20%; right: 10%; animation-delay: 2s; }
.shape:nth-child(3) { bottom: 10%; left: 20%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.navbar-nav .nav-link {
    padding: 6px 12px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    color: #333; /* warna default teks */
}

/* Hover */
.navbar-nav .nav-link:hover {
    background-color: rgba(255, 140, 66, 0.1); /* oranye muda transparan */
    color: #FF8C42;
}

/* Active link */
.navbar-nav .nav-link.active {
    background-color: #FF8C42; /* warna aktif */
    color: white !important;
    font-weight: 600;
}

.glass-navbar {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: none;
    transition: opacity 0.3s ease;
}

.btn-outline-orange {
    color: white;
    /*color: var(--primary-orange);*/
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

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

.carousel-inner img {
    height: 400px; /* atau sesuaikan */
    object-fit: cover;
}

@media (max-width: 576px) {
    .center-nav .nav-item {
        margin: 5px 0;
    }

    .carousel  {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .btn-responsive {
        flex: 1 1 45%; /* Tombol sejajar, tapi tetap responsif di layar kecil */
        min-width: 140px; /* Agar tidak terlalu kecil di layar sempit */
        text-align: center;
        padding: 0.4rem 0.8rem !important;
        font-size: 0.85rem !important; /* sama dengan btn-sm */
        line-height: 1.5 !important;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        position: static;
        transform: none;
        max-width: 100%;
        padding: 1rem;
        /*background-color: rgba(0, 0, 0, 0.6);*/
        border-radius: 1rem;
        margin-top: 1rem;
        text-align: center;
    }

    .carousel-caption h1 {
        font-size: 1.6rem;
        margin-bottom: 0.5rem;
        color: #323232 !important;
    }

    .carousel-caption p {
        font-size: 1rem;
        margin-bottom: 1rem;
        color: #323232 !important;
    }

    .carousel-caption .btn {
        width: 100%;
        justify-content: center;
    }

    .carousel-caption h1,
    .carousel-caption p {
        text-shadow: none;
    }

    .navbar-brand { font-size: 1.5rem; }
    .section-title { font-size: 2rem; }
    .hero-section { min-height: 80vh; }

    .btn-responsive {
        flex: 1 1 45%; /* Tombol sejajar, tapi tetap responsif di layar kecil */
        min-width: 140px; /* Agar tidak terlalu kecil di layar sempit */
        text-align: center;
        padding: 0.4rem 0.8rem !important;
        font-size: 1rem; /* sama dengan btn-sm */
        line-height: 1.5 !important;
    }
    .btn-primary-custom {
        border-radius: 50px!important;
    }

    #home .carousel-inner::after {
        background-color: rgba(0, 0, 0, 0.0);
    }
}

@media (min-width: 769px) {
    .carousel-caption{
        margin-left: 2rem;
    }
}

@media (max-width: 991px) {
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 140, 66, 0.4); /* oranye muda transparan */
        color: white;
    }

    .nav-item {
        margin-bottom: .5rem !important;
    }
}

@media (max-width: 767.98px) {
    .bubble-wrapper {
        height: 350px !important;
    }

    .bubble-wrapper .position-absolute:nth-child(1) {
        width: 180px !important;
        top: 0;
        left: 10%;
    }

    .bubble-wrapper .position-absolute:nth-child(2) {
        width: 140px !important;
        top: 140px;
        left: 40%;
    }

    .bubble-wrapper .position-absolute:nth-child(3) {
        width: 100px !important;
        bottom: 0;
        right: 10%;
    }
}

.btn-responsive{
    padding: 10px 28px;
}

.bubble-wrapper {
    height: 550px;
    position: relative;
}

.bubble-wrapper .bubble {
    position: absolute;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.bubble.big {
    width: 280px;
    top: 0;
    left: 5%;
    z-index: 3;
}

.bubble.medium {
    width: 210px;
    top: 170px;
    left: 45%;
    z-index: 2;
}

.bubble.small {
    width: 150px;
    bottom: 0;
    right: 5%;
    z-index: 1;
}

@media (max-width: 768px) {
    .bubble.big { width: 180px; left: 10%; top: 0; }
    .bubble.medium { width: 150px; left: 50%; top: 120px; }
    .bubble.small { width: 100px; right: 10%; bottom: 0; }
}

@keyframes blub {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

.bubble img {
    animation: blub 3s ease-in-out infinite;
}

.bubble:nth-child(1) img {
    animation-delay: 0s;
    animation-duration: 4s;
}
.bubble:nth-child(2) img {
    animation-delay: 0.5s;
    animation-duration: 5s;
}
.bubble:nth-child(3) img {
    animation-delay: 1s;
    animation-duration: 6s;
}

.sarana-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s;
    overflow: hidden;
}

.sarana-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card-header-sarana {
    background: linear-gradient(135deg, #198754, #a3e5a3);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.5rem;
    border-bottom: none;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,0.3);
}

.activity-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    height: 100%;
    transition: transform 0.3s;
    overflow: hidden;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.kegiatan-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(63, 143, 216, 0.2);
}

.kegiatan-item:hover i {
    transform: scale(1.1);
}

.ekstra-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 131, 69, 0.2);
}

.ekstra-item:hover i {
    transform: scale(1.1);
}

.card-header-kegiatan {
    background: linear-gradient(135deg, #3f8fd8, #65c1f0);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.5rem;
    border-bottom: none;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,0.3);
}

.activity-card .list-group-item{
    background-color: #e6f0ff !important;
}

.bg-kegiatan{
    background-color: #e6f0ff !important;
}

.bg-sarana{
    background-color: #eaffea;
}

.bg-ekstra{
    background-color: #fff3e6;
}

.bg-ekstra-icon{
    background-color: #ff8345;
}

.card-header-ekstra {
    background: linear-gradient(135deg, #ff8345, #ffb07d);
    color: white;
    border-radius: 12px 12px 0 0 !important;
    padding: 1.5rem;
    border-bottom: none;
    box-shadow: inset 0 -2px 0 rgba(255,255,255,0.3);
}

.activity-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.schedule-card {
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    border: none;
    transition: all 0.3s ease;
}
.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.schedule-header {
    background: linear-gradient(135deg, #4e73df 0%, #224abe 100%);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: none;
    transition: all 0.3s ease;
}
.schedule-header:hover {
    background: linear-gradient(135deg, #3a64d1 0%, #1a3ca5 100%);
    cursor: default;
}
.table-responsive {
    border-radius: 0 0 15px 15px;
    overflow: hidden;
}
.table-hover tbody tr {
    transition: all 0.2s ease;
}
.table-hover tbody tr:hover {
    background-color: #e9f5ff;
    transform: scale(1.01);
}
table {
    margin-bottom: 0;
}
th {
    background-color: #f8f9fa;
    font-weight: 600;
    text-align: center;
}
.optional {
    color: #6c757d;
    font-style: italic;
    font-size: 0.85rem;
}
.time-col {
    width: 25%;
    white-space: nowrap;
}
.activity-col {
    width: 75%;
}
@media (max-width: 768px) {
    .col-lg-6 {
        margin-bottom: 2rem;
    }
}

.transition-transform {
    transition: transform 0.3s ease;
}
.hover\:scale-105:hover {
    transform: scale(1.05);
}

@media (max-width: 1440px) {
    html {
        font-size: 78%;
    }

    .container {
        max-width: 1080px;
    }

    section, .py-5, .my-5 {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }

    .col, [class*="col-"] {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media (max-width: 1200px) {
    html {
        font-size: 75%;
    }

    .container {
        max-width: 960px;
    }
}

/* Tambahkan ini untuk HP */
@media (max-width: 576px) {
    html {
        font-size: 90%; /* atau 100% */
    }
}

.shadow-logo {
    filter:
            drop-shadow(0 2px 2px rgba(0,0,0,0.3))
            drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    transition: filter 0.3s ease;
}

.shadow-logo:hover {
    filter:
            drop-shadow(0 3px 4px rgba(0,0,0,0.4))
            drop-shadow(0 6px 10px rgba(0,0,0,0.35));
}

.logo-almahyra{
    width:150px;
    height: 60px;
}

.logo-qiroati{
    width:auto;
    height: 60px;
}

img.rounded-4 {
    transition: transform 0.3s ease;
}
img.rounded-4:hover {
    transform: scale(1.03);
}



