body {
    background: linear-gradient(to bottom right, #e8dff5, #fce1e4, #fcf4dd, #ddedea, #daeaf6);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding-bottom: 80px;
    padding-top: 70px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: linear-gradient(to right, #a3c0f5, #afaaf5, #DEB3E0);
}

.navbar.sticky {
    background: linear-gradient(to right, #9bb8ed, #a3c0f5, #DEB3E0);
}

.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 1.8rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav .navbar-brand {
    color: #ffffff !important;
}


.navbar-nav .nav-item .nav-link {
    font-size: 1.1rem;
    color: #ffffff;
    transition: color 0.3s ease;
}

.navbar-nav .nav-item .nav-link:hover {
    color: #FFDDE4;
}

.dropdown-menu {
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #DEB3E0;
    max-width: 90% auto;
}

.nav-item:hover .dropdown-menu {
    display: block;
    position: absolute;
    background-color: #DEB3E0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dropdown-menu .dropdown-item {
    padding: 10px 15px;
}

.dropdown-menu .dropdown-item:hover {
    background-color: #FEC6DF;
}

#story-content {
    background-color: #f7fafc94;
    border: 1px solid #FEC6DF;
    box-shadow: 0 4px 12px #FFDDE4;
    padding: 30px;
    border-radius: 10px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-up 0.6s ease-out forwards;
    width: 90%;
    margin: 0 auto;
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#story-content:hover {
    background-color: rgba(0, 0, 0, 0.1) ;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

#story-content img {
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-image 1s ease-out forwards 0.3s;
}

#story-content h5 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #A39FE1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-title 1s ease-out forwards 0.6s;
}

#story-content h6{ 
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: #7971e4;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-title 1s ease-out forwards 0.6s;
}

#story-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-text 1s ease-out forwards 0.9s;
}

@keyframes fade-in-image {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-title {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-text {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

#story-content .row {
    display: flex;
    justify-content: space-around;
}

footer {
    position: fixed;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2 rem;
    color: #ffffff;
    line-height: 1.6;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #a3c0f5, #afaaf5, #DEB3E0);
    color: var(--secondary-color);
    text-align: center;
    padding: 10px 0;
    border-top: 1px solid #dee2e6;
}
.footer text {
    color: #ffffff;
}

#text_tampil2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2 rem;
    color: #ffffff;
    animation: fade-in 1s ease-out;
}

#text_tampil1 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #9BB8ED;
    margin-bottom: 10px;
    animation: fade-in 1s ease-out;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.btn {
    background: linear-gradient(to right, #afaaf5, #9BB8ED);
    color: white;
    border: none;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(to right, #9BB8ED, #a3c0f5);
    transform: scale(1.05);
}

#halo {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: bold;
    color: #9BB8ED;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fade-in 1s ease-out;
}

#dina {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: bold;
    color: #A39FE1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fade-in 1s ease-out 0.5s;
}

.card {
    border: 2px solid #FEC6DF;
    border-radius: 12px;
    background-color: #e6e4f84d;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 20px;
}

.col-sm-12.col-md-4 {
    padding: 20px;
}

.card img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    opacity: 0;
    transform: translateY(20px);
    animation: fade-in-text 1s ease-out forwards 0.9s;
}


@media (max-width: 768px) {
    .col-sm-12.col-md-4 {
        padding: 10px;
    }
    .card {
        margin-bottom: 20px;
    }
    .card img {
        width: 100%;
        height: auto;
    }
}

.contact-section {
    background: linear-gradient(135deg, #D2E0FB, #FEF9D9);
    padding: 60px 0;
    text-align: center;
}

.contact-methods {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.contact-card {
    background-color: #9BB8ED;
    padding: 30px;
    margin: 15px;
    border-radius: 12px;
    width: 180px;
    transition: transform 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: scale(1.1);
}

.contact-card a {
    text-decoration: none;
    color: white;
}

.contact-card i {
    font-size: 40px;
    color: white;
}

.contact-card p {
    margin-top: 15px;
    font-weight: bold;
}

.footer {
    background-color: #9BB8ED;
    padding: 20px 0;
    text-align: center;
    color: white;
}
