html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

section {
    scroll-margin-top: 80px;
}

:target {
    scroll-margin-top: 80px;
}

.header-jumbotron {
    min-height: 655px;
    background-image: url(landing.png);
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.socialButton {
    display: flex;
    align-items: center;
    gap: 25px;
    cursor: pointer;
}

.socialButton i {
    font-size: 1.9em;
    text-decoration: none;
    color: rgb(255, 255, 255);
    transition: 0.3s;
    opacity: 0.5;
    transform: translateY(0);
}

.socialButton i:hover {
    opacity: 1;
    transform: translateY(-4px);
}

.navbar-social .navbar-brand {
    color: #fff;
    font-weight: bold;
}

.navbar-social .navbar-brand:hover {
    color: #fff;
}

.navbar-social .navbar-nav .nav-link {
    color: #fff;
}

.navbar-social .navbar-nav .nav-link:hover {
    color: #f97316;
}

footer {
    min-height: 300px;
}

.card-animation-cont {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

/* Navigation Arrows */
.card-animation-cont .slick-prev,
.card-animation-cont .slick-next {
    width: 50px;
    height: 50px;
    background: rgba(230, 126, 34, 0.9);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10;
}

.card-animation-cont .slick-prev {
    left: 10px;
}

.card-animation-cont .slick-next {
    right: 10px;
}

.card-animation-cont .slick-prev:before,
.card-animation-cont .slick-next:before {
    font-family: 'slick';
    font-size: 30px;
    color: white;
    opacity: 1;
}

.card-animation-cont .slick-prev:hover,
.card-animation-cont .slick-next:hover {
    background: rgba(230, 126, 34, 1);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
}

/* Dots styling */
.card-animation-cont .slick-dots {
    bottom: -40px;
}

.card-animation-cont .slick-dots li button {
    background-color: #e67e22 !important;
    opacity: 0.5 !important;
    border: none !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 4px !important;
}

.card-animation-cont .slick-dots li.slick-active button {
    background-color: #f97316 !important;
    opacity: 1 !important;
}

body.dark-mode .card-animation-cont .slick-dots li button {
    background-color: #fff !important;
    opacity: 0.5 !important;
}

body.dark-mode .card-animation-cont .slick-dots li.slick-active button {
    background-color: #f97316 !important;
    opacity: 1 !important;
}

.card-animation-cont .slick-dots li button:before {
    display: none !important;
}

/* Card Styles Enhancement */
.card-animation-cont .card {
    position: relative;
    height: 370px;
    width: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.98);
    margin: 20px auto;
    --animation-order: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.card-animation-cont .slick-center .card {
    transform: scale(1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-animation-cont .card::after {
    content: "";
    position: absolute;
    height: 90%;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.3));
    z-index: 1;
    transition: 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

.card-animation-cont .card img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    transform-origin: center;
    transition: 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    filter: brightness(0.95);
}

.card-animation-cont .card .info {
    position: absolute;
    box-sizing: border-box;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2;
    width: 100%;
    height: 75%;
    display: flex;
    flex-direction: column;
    padding: 25px;
    color: #333;
    border-radius: 15px;
    transform: translateY(68%);
    transition: 0.5s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    box-shadow: 0 -10px 20px rgba(0,0,0,0.1);
}

.card-animation-cont .card .info strong {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.card-animation-cont .card .info .sub-title {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
    font-weight: 500;
    color: #666;
}

.card-animation-cont .card .info hr {
    margin: 15px 0;
    border: none;
    height: 1px;
    background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0.2), rgba(0,0,0,0.1));
}

.card-animation-cont .card .hide-info {
    transform: translateY(25px);
    opacity: 0;
    transition: 0.4s;
    transition-delay: 0.2s;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

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

.card-animation-cont .card:hover > .info {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.98);
}

.card-animation-cont .card:hover > img {
    transform: scale(1.1);
    filter: brightness(1);
}

.card-animation-cont .card:hover::after {
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.card-animation-cont .card:hover .hide-info {
    opacity: 1;
    transform: translateY(0);
}

@media only screen and (max-width: 830px) {
    .card-animation-cont {
        padding: 20px;
    }
    
    .card-animation-cont .card {
        width: 100%;
        height: 350px;
    }

    .card-animation-cont .slick-prev,
    .card-animation-cont .slick-next {
        width: 40px;
        height: 40px;
    }

    .card-animation-cont .slick-prev {
        left: 5px;
    }

    .card-animation-cont .slick-next {
        right: 5px;
    }
}

.input-cont {
    position: relative;
    display: flex;
    flex-flow: column-reverse;
    justify-content: center;
    border: 0;
    cursor: text;
    transition: 0.2s;
}

.input-cont input {
    padding: 5px 1px;
    width: 250px;
    font-size: 15px;
    border: 0;
    background-color: rgb(0, 0, 0, 0);
    outline: 0;
    font-size: 15px;
    border-bottom: 1px solid rgb(150, 150, 150);
    color: rgb(0, 0, 0, 1);
}

.input-cont input::-webkit-input-placeholder {
    opacity: 0;
}

.input-cont input::-moz-placeholder {
    color: transparent !important;
}

.input-cont::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    transition: 0.3s;
}

.input-cont:focus-within::after {
    transform: scaleX(1);
    background-color: rgb(0, 0, 0) !important;
}

.input-cont input + label {
    transform-origin: left;
    color: rgb(120, 120, 120);
    cursor: text;
    font-size: 15px;
    user-select: none;
    pointer-events: none;
    transform: translate(0, 120%) scale(1);
    transition: all 0.2s;
}

.input-cont input:not(:placeholder-shown) + label,
.input-cont input:focus + label {
    transform: translate(0, 20%) scale(0.8);
}

.rating {
    display: flex;
    width: 100%;
    justify-content: center;
    overflow: hidden;
    flex-direction: row-reverse;
    height: 150px;
    position: relative;
}

.rating-0 {
    filter: grayscale(100%);
}

.rating > input {
    display: none;
}

.rating > label {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-top: auto;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 76%;
    transition: 0.3s;
}

.rating > input:checked ~ label,
.rating > input:checked ~ label ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.rating > input:not(:checked) ~ label:hover,
.rating > input:not(:checked) ~ label:hover ~ label {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.emoji-wrapper {
    width: 100%;
    text-align: center;
    height: 100px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.emoji-wrapper:before,
.emoji-wrapper:after {
    content: "";
    height: 15px;
    width: 100%;
    position: absolute;
    left: 0;
    z-index: 1;
}

.emoji-wrapper:before {
    top: 0;
    background: rgb(255, 255, 255);
}

.emoji-wrapper:after {
    bottom: 0;
    background: rgb(255, 255, 255);
}

.emoji {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: 0.3s;
}

.emoji > svg {
    margin: 15px 0;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

#rating-1:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-100px);
}

#rating-2:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-200px);
}

#rating-3:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-300px);
}

#rating-4:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-400px);
}

#rating-5:checked ~ .emoji-wrapper > .emoji {
    transform: translateY(-500px);
}

.feedback {
    max-width: 360px;
    background-color: #ffffff;
    width: 100%;
    padding: 30px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.fonts {
    font-family: "Passion One", cursive;
}

.bg-dark {
    background-color: black !important;
}

.typing-text {
    overflow: hidden;
    border-right: 1px solid #000;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 2px;
    animation: typing 2s steps(20, end), blink-caret 0.5s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #000 }
}

.typewriter {
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .15em;
    font-size: 2em;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 4s ease-in-out forwards;
}

@keyframes fadeIn {
    from { opacity: 0 }
    to { opacity: 1 }
}

/* Styling untuk floating order badge */
.order-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    font-weight: bold;
    user-select: none;
}

.order-badge:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #0056b3, #004094);
    box-shadow: 0 4px 15px rgba(19, 75, 139, 0.4);
}

.order-badge:active {
    transform: scale(0.95);
}

/* Animasi bounce */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.order-badge {
    animation: bounce 2s infinite;
}

/* Media query untuk perangkat mobile */
@media (max-width: 768px) {
    .order-badge {
        bottom: 15px;
        right: 15px;
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

.containerg {
    height: auto;
    width: 100%;
    max-height: none;
    max-width: 1280px;
    min-height: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 20px;
}

@media (min-width: 768px) {
    .containerg {
        flex-direction: row;
        justify-content: space-around;
        min-height: 600px;
        min-width: 1000px;
    }
}

/* Card responsive styles */
.card1-border, .borderg {
    height: auto;
    width: 100%;
    max-width: 290px;
    background: transparent;
    border-radius: 10px;
    transition: border 1s;
    position: relative;
    margin: 10px auto;
}

.big-card, .cardg {
    height: auto;
    width: 100%;
    max-width: 300px;
    background: #808080;
    border-radius: 10px;
    transition: background 0.8s;
    overflow: hidden;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    aspect-ratio: 3/4;
}

@media (max-width: 768px) {
    .card1-border {
        height: auto;
        max-width: 100%;
        margin: 10px 20px;
    }

    .big-card {
        height: auto;
        max-width: 100%;
    }

    .card1, .card0 {
        background-size: cover;
    }

    .card1:hover, .card0:hover {
        background-size: 120%;
    }
}

/* Add responsive navigation */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-tabs .nav-item {
        margin-bottom: 5px;
    }

    .nav-tabs .nav-link {
        border-radius: 5px;
        text-align: center;
    }
}

/* Add responsive text sizing */
@media (max-width: 768px) {
    .typewriter {
        font-size: 1.5em;
    }

    h1, h2, h3 {
        font-size: calc(1.2rem + 1vw);
    }

    p {
        font-size: 0.9rem;
    }
}

/* Make images responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive order badge */
@media (max-width: 768px) {
    .order-badge {
        font-size: 14px;
        padding: 8px 16px;
        bottom: 10px;
        right: 10px;
    }
}

/* Add responsive table styles */
@media (max-width: 768px) {
    .table-responsive {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* * {
    box-sizing: border-box;
} */

.card1 {
    background: url("rikobgmerah.jpg") center center no-repeat;
    background-size: 300px;
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
    animation-delay: 0.3s;
}

/* Modern Card Styles */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.card img {
    transition: transform 0.3s ease;
}

.card:hover img {
    transform: scale(1.05);
}

/* Modern Button Styles */
.btn-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-modern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-modern:hover::after {
    width: 300px;
    height: 300px;
}

/* Section Transitions */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Form Styles */
.form-control {
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.form-control:focus {
    box-shadow: none;
    border-bottom-color: #f97316;
}

/* Modern Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    color: white;
    padding: 4rem 0;
}

.social-icons a {
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.social-icons a:hover {
    background: #f97316;
    transform: translateY(-5px);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .card {
        margin-bottom: 2rem;
    }
    
    .btn-modern {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .social-icons {
        justify-content: center;
        margin-top: 2rem;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid #f97316;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    position: relative;
}

.loader::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 3px solid transparent;
    border-top-color: rgba(249, 115, 22, 0.2);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Modern Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Modern Grid System */
.grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Modern Shadow Effects */
.shadow-modern {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.shadow-modern:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Modern Border Radius */
.rounded-modern {
    border-radius: 15px;
}

/* Modern Transitions */
.transition-modern {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modern Background Effects */
.bg-gradient-modern {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

/* Modern Text Effects */
.text-gradient {
    background: linear-gradient(135deg, #f97316, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Modern Hover Effects */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Modern Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
}

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

/* Modern Button Hover Effects */
.btn-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-hover:hover::after {
    width: 300px;
    height: 300px;
}

/* Modern Form Input Styles */
.input-modern {
    border: none;
    border-bottom: 2px solid #e2e8f0;
    border-radius: 0;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.input-modern:focus {
    box-shadow: none;
    border-bottom-color: #f97316;
}

/* Modern Section Styles */
.section-modern {
    padding: 6rem 0;
    position: relative;
}

.section-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.05));
    z-index: -1;
}

/* Modern Footer Styles */
.footer-modern {
    background: linear-gradient(135deg, #1a1a1a, #000000);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #f97316, #ff6b6b, #4834d4);
}

.footer-modern .text-gradient {
    background: linear-gradient(135deg, #f97316, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.footer-modern .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-modern .social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-modern .social-icons a:hover {
    background: #f97316;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.4);
}

.footer-modern .footer-links a {
    position: relative;
    padding-left: 1.5em;
    display: inline-block;
    transition: color 0.3s;
}

.footer-modern .footer-links a::before {
    content: '→';
    position: absolute;
    left: 0.2em;
    top: 50%;
    transform: translateY(-50%);
    color: #f97316;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 1em;
}

.footer-modern .footer-links a:hover .arrow {
    opacity: 1;
    transform: translateX(0) scale(1.08);
    filter: drop-shadow(0 0 10px #ff6b6b99);
}

.footer-modern .footer-contact li {
    transition: all 0.3s ease;
}

.footer-modern .footer-contact li:hover {
    transform: translateX(10px);
}

.footer-modern .footer-contact i {
    color: #f97316;
    width: 20px;
    text-align: center;
}


.footer-modern hr {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border: none;
    height: 1px;
}

@media (max-width: 768px) {
    .footer-modern {
        padding: 3rem 0;
    }
    
    .footer-modern .social-icons {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-modern h3, 
    .footer-modern h4 {
        text-align: center;
    }
    
    .footer-modern p {
        text-align: center;
    }
    
    .footer-modern .footer-links,
    .footer-modern .footer-contact {
        text-align: center;
    }
    
    .footer-modern .footer-contact li {
        justify-content: center;
    }
}

/* Scroll Animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-animation.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-100px);
}

.fade-in-right {
    transform: translateX(100px);
}

.fade-in-up {
    transform: translateY(50px);
}

.stagger-animation {
    transition-delay: calc(var(--animation-order, 0) * 100ms);
}

/* Add animation to cards */
.card-animation-cont .card {
    --animation-order: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.card-animation-cont .card:nth-child(2) {
    --animation-order: 2;
}

.card-animation-cont .card:nth-child(3) {
    --animation-order: 3;
}

.card-animation-cont .card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Screen Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hover Effects */
.card:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Modern Tab Styling */
.nav-tabs {
    border: none;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.nav-tabs .nav-item {
    margin: 0;
}

.nav-tabs .nav-link {
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-tabs .nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-tabs .nav-link.active {
    background: linear-gradient(135deg, #f97316, #ff6b6b);
    color: white;
    box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
}

/* Tab Content Styling */
.tab-content {
    padding: 20px;
}

.tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-pane.show {
    opacity: 1;
    transform: translateY(0);
}

/* Profile Card Styling */
.profile-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

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

.profile-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f97316;
}

.profile-info h3 {
    margin: 0;
    color: #333;
    font-size: 1.5rem;
}

.profile-info p {
    margin: 5px 0 0;
    color: #666;
}

/* Experience Card Styling */
.experience-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #f97316;
}

.experience-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.experience-title {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.experience-company {
    color: #f97316;
    font-weight: 500;
}

.experience-date {
    color: #666;
    font-size: 0.9rem;
}

.experience-description {
    color: #555;
    line-height: 1.6;
}

/* Certificate Card Styling */
.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px 0;
}

.certificate-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.certificate-image {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.certificate-content {
    padding: 20px;
}

.certificate-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 10px;
}

.certificate-issuer {
    color: #f97316;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.certificate-date {
    color: #666;
    font-size: 0.85rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-tabs {
        flex-direction: column;
        padding: 5px;
    }

    .nav-tabs .nav-link {
        width: 100%;
        text-align: center;
    }

    .profile-header {
        flex-direction: column;
        text-align: center;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .experience-date {
        margin-top: 5px;
    }

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

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
}

.footer-link-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    position: relative;
    padding-left: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1em;
    transition: color 0.5s cubic-bezier(0.4,0,0.2,1), text-shadow 0.5s cubic-bezier(0.4,0,0.2,1), background 0.5s cubic-bezier(0.4,0,0.2,1);
    border-radius: 8px;
}

.footer-link-item .arrow {
    display: inline-block;
    background: linear-gradient(90deg, #f97316, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    font-size: 1.18em;
    font-weight: bold;
    opacity: 0;
    transform: translateX(18px) scale(0.85);
    transition: opacity 0.3s cubic-bezier(0.4,0,0.2,1) 0.08s, filter 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.3s cubic-bezier(0.4,0,0.2,1) 0.08s;
    filter: drop-shadow(0 0 3px #f97316aa);
    pointer-events: none;
}

.footer-link-item:hover {
    background: linear-gradient(90deg, #f97316, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-fill-color: transparent !important;
    text-shadow: 0 2px 16px #ff6b6b33, 0 1px 6px #f9731633 !important;
    outline: none !important;
    filter: drop-shadow(0 2px 8px #ff6b6b22) !important;
}

.footer-link-item:active {
    background: linear-gradient(90deg, #f97316, #ff6b6b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-fill-color: transparent !important;
    text-shadow: 0 2px 16px #ff6b6b33, 0 1px 6px #f9731633 !important;
    outline: none !important;
    filter: drop-shadow(0 2px 8px #ff6b6b22) !important;
}

.footer-link-item:focus {
    outline: none;
}

.footer-link-item.active {
    background: none !important;
    -webkit-text-fill-color: unset !important;
    color: #fff !important;
    text-shadow: none !important;
    outline: none !important;
    filter: none !important;
}

@media (max-width: 600px) {
    .footer-links {
        align-items: center;
    }
    .footer-link-item {
        font-size: 1em;
        padding: 0.12em 0.3em;
    }
    .footer-link-item .arrow {
        font-size: 1em;
    }
}

.footer-modern .footer-links a::before {
    content: none;
}

.footer-link-item:hover .arrow,
.footer-link-item:active .arrow {
    opacity: 1;
    transform: translateX(0) scale(1.08);
    filter: drop-shadow(0 0 10px #ff6b6b99);
}

.footer-link-item .arrow::before {
    content: '←';
}

/* Minimalist Dark/Light Toggle Button */
.theme-toggle-minimal {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    background: rgba(255,255,255,0.5);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #6366f1;
    box-shadow: 0 2px 8px rgba(99,102,241,0.08);
    transition: background 0.2s, color 0.2s, opacity 0.2s;
    opacity: 0.5;
    cursor: pointer;
}
.theme-toggle-minimal:hover, .theme-toggle-minimal.active {
    background: #6366f1;
    color: #fff;
    opacity: 1;
}

body.dark-mode {
    background: #18181b !important;
    color: #f3f4f6 !important;
}

body.dark-mode .experience-card,
body.dark-mode .certificate-card,
body.dark-mode .profile-card,
body.dark-mode .card,
body.dark-mode .card-animation-cont .card {
  background: #23272f !important;
  color: #f3f4f6 !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.35) !important;
  border: 1px solid #2d323c !important;
}
body.dark-mode .experience-card .experience-title,
body.dark-mode .certificate-title,
body.dark-mode .profile-info h3 {
  color: #fff !important;
}
body.dark-mode .experience-card .experience-company,
body.dark-mode .certificate-issuer {
  color: #f97316 !important;
}
body.dark-mode .tab-content,
body.dark-mode section,
body.dark-mode .feedback {
  background: #23272f !important;
  color: #f3f4f6 !important;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25) !important;
}
body.dark-mode .form-control,
body.dark-mode textarea.form-control {
  background: #18181b !important;
  color: #f3f4f6 !important;
  border-color: #343a40 !important;
  border-radius: 8px;
  margin-bottom: 8px;
}
body.dark-mode .form-control:focus,
body.dark-mode textarea.form-control:focus {
  background: #23272f !important;
  color: #fff !important;
  border-color: #6366f1 !important;
}
body.dark-mode .btn,
body.dark-mode .btn-primary {
  background: #0d6efd !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 2px 8px #18181b33 !important;
}
body.dark-mode .footer-modern, body.dark-mode footer {
  background: linear-gradient(135deg, #18181b, #000000) !important;
  color: #fff !important;
}
body.dark-mode .bg-white,
body.dark-mode .bg-light,
body.dark-mode .bg-body,
body.dark-mode .bg-f8f9fa {
  background: #23272f !important;
  color: #f3f4f6 !important;
}
body.dark-mode .border,
body.dark-mode .border-light {
  border-color: #343a40 !important;
}
body.dark-mode .card-animation-cont {
  background: #18181b !important;
  border-radius: 24px !important;
  box-shadow: none !important;
}
body.dark-mode .card-animation-cont .card {
  background: #23272f !important;
  color: #f3f4f6 !important;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}
body.dark-mode .card-animation-cont .card .info {
  background: #23272f !important;
  color: #f3f4f6 !important;
  border-radius: 0 0 16px 16px;
}
body.dark-mode .card-animation-cont .card strong,
body.dark-mode .card-animation-cont .card .sub-title,
body.dark-mode .card-animation-cont .card .text {
  color: #f3f4f6 !important;
}
body.dark-mode .feedback .emoji-wrapper:before,
body.dark-mode .feedback .emoji-wrapper:after {
  background: transparent !important;
}

@media (max-width: 600px) {
  .theme-toggle-minimal {
    bottom: 24px !important;
    right: 24px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.4rem !important;
  }
}

body.dark-mode #biodata,
body.dark-mode .tab-content {
  background: transparent !important;
  box-shadow: none !important;
}

body.dark-mode .nav-tabs {
  background: #18181b !important;
  border-radius: 16px !important;
  border: none !important;
}

body.dark-mode .section-header,
body.dark-mode .section-header h2,
body.dark-mode .text-4xl {
  color: #fff !important;
  text-shadow: 0 2px 8px #18181b88;
}

/* Dark mode: pastikan teks abu-abu menjadi putih */
body.dark-mode .experience-description,
body.dark-mode .profile-info p,
body.dark-mode .certificate-date {
  color: #ffffff !important;
}

/* Dark mode: tanggal di pojok kanan atas (experience-date) menjadi putih */
body.dark-mode .experience-date {
  color: #ffffff !important;
}

/* Dark mode: label dan input kustom agar teksnya putih */
body.dark-mode .input-cont input + label,
body.dark-mode .input-cont input {
  color: #f3f4f6 !important;
}

/* Dark mode: placeholder textarea/input terlihat jelas */
body.dark-mode textarea::placeholder,
body.dark-mode .form-control::placeholder,
body.dark-mode input::placeholder {
  color: #cbd5e1 !important; /* abu-abu terang */
  opacity: 1 !important;
}

/* SweetAlert2 text di dark mode */
body.dark-mode .swal2-popup {
    color: #f3f4f6 !important; /* teks jadi putih abu */
  }
  
  body.dark-mode .swal2-title {
    color: #f9fafb !important; /* judul "Berhasil!" */
  }
  
  body.dark-mode .swal2-html-container {
    color: #d1d5db !important; /* teks deskripsi */
  }
  