/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #303030;
    background: linear-gradient(135deg, #ffffff 0%, #ebebeb 50%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    padding-bottom: 22px;
    padding-top: 22px;
}

.containerup {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding-bottom: 22px;
}

.container2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    border-radius: 15px;
}

/* Header and Navigation */
/* Header and Navigation */
header {
    background-color: #54545471;
    color: #fff;
    padding: 1rem 0; /* Padding awal */
    position: fixed;
    width: 100%; /* Lebar penuh awal */
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
    outline: 2px solid rgba(255, 255, 255, 0.295);
    transition: all 0.3s ease; /* Transisi untuk semua properti */
    z-index: 1000;
    border-radius: 0; /* Pastikan radius awal 0 */
    box-shadow: none; /* Pastikan shadow awal tidak ada */
    margin: 0; /* Pastikan margin awal 0 */
    border-radius: 25px;
    transform: scale(0.9);
}

.header-scrolled {
    border-radius: 15px; /* Membulat di semua sisi (atas dan bawah) */
    margin: 10px 20px; /* Jarak dari atas (10px) dan dari samping (20px) */
    width: calc(100% - 40px); /* Mengurangi lebar sesuai margin kiri dan kanan */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background-color: #50505055;
    backdrop-filter: blur(10px);
    padding: 0.7rem 0; /* Mengurangi padding agar terlihat mengecil */
    transform: scale(0.98); /* Sedikit mengecil */
    /* top: 10px; */ /* Tidak perlu top di sini karena sudah ada margin-top */
}

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

nav h1 {
    font-size: 1.5rem;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #434343a0;
}

/* Dropdown menu styles */
nav ul li.dropdown {
    position: relative;
}

nav ul li.dropdown > a::after {
    content: " ▼";
    font-size: 0.6rem;
    margin-left: 4px;
}

nav ul li.dropdown:hover > ul.dropdown-menu {
    display: block;
}

nav ul li ul.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    backdrop-filter: blur(10px);
    left: 0;
    background-color: #33333386;
    border-radius: 0 0 12px 12px;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
}

nav ul li ul.dropdown-menu li {
    width: 100%;
}

nav ul li ul.dropdown-menu li a {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

nav ul li ul.dropdown-menu li a:hover {
    color: #434343a0;
    border-radius: 10px;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-toggle.active .hamburger-line {
    opacity: 10%;
}

/* Nav links for mobile */
.nav-links {
    display: flex;
    align-items: center;
}

/* Mobile navigation styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        margin-top: 90px;
        position: fixed;
        top: 0;
        right: -100%;
        background-color: rgba(48, 48, 48, 0.534);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 8px 20px;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        border-radius: 30px;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(10px);
    }

    /* Close button inside mobile menu */
    /* .nav-links .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: rgba(237, 97, 97, 0.8);
        border: none;
        border-radius: 50%;
        width: 35px;
        height: 35px;
        font-size: 18px;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transition: background-color 0.3s ease;
    } */

    /* .nav-links .mobile-menu-close:hover {
        background: rgba(237, 97, 97, 1);
    } */

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .nav-links li a {
        display: flex;
        align-items: center;
        padding: 15px;
        color: #fff;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

    .nav-links li a:hover {
        background-color: rgba(243, 156, 18, 0.2);
        color: #434343a0;
    }

    /* Hide text and show only icons on mobile */
    .nav-text {
        display: none;
    }

    .nav-links li a i {
        margin-right: 0;
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }

    /* Show text for language button in mobile */
    .language-btn .nav-text {
        display: inline;
    }

    /* Style button in mobile nav */
    .nav-links li button {
        display: flex;
        align-items: center;
        padding: 15px;
        color: #fff;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        background: none;
        border: none;
        width: 100%;
        justify-content: center;
        cursor: pointer;
    }

    .nav-links li button:hover {
        background-color: rgba(243, 156, 18, 0.2);
        color: #434343a0;
    }

    /* Dropdown menu for mobile */
    .dropdown-menu {
        position: static !important;
        transform: none !important;
        background-color: rgba(243, 156, 18, 0.1) !important;
        border-radius: 10px !important;
        margin-top: 10px;
        box-shadow: none !important;
        backdrop-filter: none !important;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        font-size: 1rem;
    }

    /* Skills section mobile adjustments */
    .skills-subgrid {
        grid-template-columns: 1fr;
    }

    .category-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .section#skills h2 {
        font-size: 40px;
        text-align: center;
    }
}



/* Sections */
.section {
    padding: 60px;
    margin: 10px 20px 20px 20px;
    width: calc(100% - 40px);
    border-radius: 15px;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #333;
}

/* About section */
.section#about {
    padding: 90px 0 60px 0;
}

.about-wrapper {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
}

.banner {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url(pixel-7089895_1280.png); */
    background: #eeceae;
    background: radial-gradient(circle,rgba(254, 250, 240, 1) 0%, rgba(186, 255, 248, 1) 100%);
    height: 400px;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 90px;
}

.bannerde {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url(pixel-7089895_1280.png); */
    background: #eeceae;
    background: radial-gradient(circle,rgba(254, 250, 240, 1) 0%, rgb(186, 216, 255) 100%);
    height: 400px;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 90px;
}

.bannerjp {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url(pixel-7089895_1280.png); */
    background: #eeceae;
    background: radial-gradient(circle,rgba(112, 0, 15, 1) 0%, rgba(227, 220, 220, 1) 100%);
    height: 400px;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 90px;
}

.bannerar {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-image: url(pixel-7089895_1280.png); */
    background: #f7efe7;
    background: radial-gradient(circle, rgb(255, 255, 255) 0%, rgb(162, 233, 148) 100%);
    height: 400px;
    overflow: hidden;
    border-radius: 30px;
    margin-bottom: 90px;
}

.banner .profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bannerde .profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.116);
}

.bannerjp .profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.bannerar .profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.about-card {
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    border-radius: 15px;
    min-height: 400px;
    padding-bottom: 20px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 400px;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.rotated .card-inner {
    transform: rotateY(360deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 400px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding-bottom: 70px;
    padding-top: 50px;
}

.card-front {
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-back {
    background-color: rgba(255, 255, 255, 0.9);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.card-back img {
    margin: 0 auto;
    display: block;
}

.about-card h2 {
    margin-bottom: 20px;
    font-size: 7rem;
    color: #333;
}

@media (max-width: 768px) {
    .about-card h2 {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .about-card h2 {
        font-size: 2.5rem;
    }
}

.about-card-back{
    margin-bottom: 20px;
    font-size: 3rem !important;
    color: #333;
}

.about-card p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
}

.about-text {
    text-align: center;
    font-weight: 500;
    line-height: 1.8rem;
    font-size: 1.3rem;
    padding-left: 34px;
    padding-right: 34px;
}


/* Skills carousel */
.skills-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    white-space: nowrap;
    position: relative;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.skills-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.skill-icon-img {
    width: 64px;
    height: 64px;
    margin: 0 10px;
}

.skill-icon {
    flex: 0 0 auto;
    font-size: 3rem;
    cursor: default;
    transition: transform 0.3s ease, color 0.3s ease;
    user-select: none;
}

.skill-icon:hover {
    transform: scale(1.3);
    color: #434343a0;
}

/* Certificates section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.certificate {
    background-color: rgba(249, 249, 249, 0.8);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Skills section */
.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-category {
    /* Container for each category */
}

.category-title {
    font-size: 1.5rem;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
}

.skills-subgrid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.skill {
    background-color: rgba(59, 59, 59, 0.8);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
}

.skill.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
    padding: 40px;
    font-size: 1.2em;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.skill.expanded img {
    width: 100px;
    margin-bottom: 20px;
}


.skill.expanded h3 {
    font-size: 2em;
    margin-bottom: 20px;
}

.skill.expanded p {
    font-size: 1.1em;
    line-height: 1.6;
    max-width: 600px;
    text-align: center;
}

.skill .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(237, 97, 97, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    display: none;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.skill.expanded .close-btn {
    display: block;
}

/* Overlay for expanded skill */
.skill-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.skill-overlay.active {
    opacity: 1;
    visibility: visible;
}

.skill::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(62, 62, 62, 0.7);
    filter: blur(4px);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 1;
}

.skill.clicked::before {
    animation: ripple 0.6s linear;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

.skill img {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.skill h3 {
    margin-bottom: 10px;
    color: #f39c12;
}

.skill p {
    font-size: 0.9rem;
    color: #ffffff;
    line-height: 1.4;
}

/* Skill Progress Bar */
.skill-progress {
    margin-top: 15px;
    width: 100%;
}

.progress-bar {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar::after {
    content: '';
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #f39c12, #e67e22);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Certificates section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.certificate {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Projects section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project {
    background-color: rgba(249, 249, 249, 0.8);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.btn {
    display: inline-block;
    background-color: #f39c12;
    color: #fff;
    padding: 9px 20px;
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    transform: scale(1);
}

.btn:hover {
    background-color: #434343a0;
    border-radius: 9px;
    transform: scale(1.1);
}

/* Contact section */
form {
    max-width: 500px;
    margin: 0 auto 40px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-card {
    background-color: rgba(200, 199, 199, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 35px;
    padding: 15px 0;
    display: flex;
    justify-content: center;
    outline: 2px solid rgba(228, 228, 228, 0.427);
    max-width: 500px;
    margin: 0 auto;
    margin-bottom: 12px;
}

.contact-icons {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

.contact-icons a {
    color: #303030;
    font-size: 1.8rem;
    transition: color 0.3s ease;
    padding-left: 20px;
    padding-right: 20px;
}

.contact-icons a:hover {
    color: #434343a0;
    transform: scale(1.1);
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 10px 20px 20px 20px;
    width: calc(100% - 40px);
}

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

.footer-logo {
    width: 200px;
    height: 112.5px; /* 200 * 9/16 */
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-logo {
        margin-bottom: 10px;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.preloader-logo {
    width: 90px;
    height: 90px;
    object-fit: cover;
    margin-bottom: 20px;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.loading-spinner::before,
.loading-spinner::after,
.loading-spinner {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #2f2f2fdd;
    animation: bounce 1.4s ease-in-out infinite both;
}

.loading-spinner::before {
    animation-delay: -0.32s;
}

.loading-spinner::after {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
        background-color: #2f2f2fdd;
    }
    40% {
        transform: scale(1);
        background-color: #f39c12;
    }
}

#preloader p {
    font-size: 18px;
    color: #333;
}

/* Development overlay */
#development-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(2px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.development-notice {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 300px;
}

.development-notice p {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #333;
}

#close-notice {
    background-color: #f39c12;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

#close-notice:hover {
    background-color: #434343a0;
}

/* Responsive design */
@media (max-width: 768px) {
    nav .container {
        flex-direction: column;
    }

    nav ul {
        margin-top: 10px;
    }

    nav ul li {
        margin-left: 0;
        margin-right: 20px;
    }

    .section {
        padding: 40px 0;
    }

    .section#about {
        padding: 90px 0 40px 0;
    }

    .about-wrapper {
        flex-direction: column;
        max-width: 100%;
    }

    .banner {
        width: 100%;
        height: 250px;
        border-radius: 15px 15px 0 0;
    }

    .banner .profile-img {
        width: 150px;
        height: 150px;
    }

    .about-container {
        width: 100%;
        border-radius: 0 0 15px 15px;
    }

    .skills-grid, .certificates-grid, .projects-grid {
        grid-template-columns: 1fr;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .section#skills h2 {
        font-size: 60px;
    }

    .section#certificates h2 {
        font-size: 1.2rem;
    }

    .section#projects h2 {
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 30px 0;
        margin: 5px 10px 10px 10px;
        width: calc(100% - 20px);
    }

    .section#about {
        padding: 70px 0 30px 0;
    }

    .banner, .bannerjp, .bannerar {
        height: 200px;
    }

    .banner .profile-img, .bannerjp .profile-img, .bannerar .profile-img {
        width: 120px;
        height: 120px;
    }

    .about-card h2 {
        font-size: 1.5rem;
    }

    .about-card-back {
        font-size: 2rem;
    }

    .about-text {
        font-size: 1rem;
        padding-left: 20px;
        padding-right: 20px;
    }

    .section#skills h2 {
        font-size: 40px;
    }

    .section#certificates h2 {
        font-size: 1rem;
    }

    .section#projects h2 {
        font-size: 25px;
    }

    .certificate embed, .certificate img {
        width: 200px;
    }

    .project img {
        width: 100%;
        height: auto;
        max-width: 400px;
        border-radius: 10px;
    }

    .footer-logo {
        width: 150px;
        height: 84px;
    }

    .contact-icons a {
        font-size: 1.5rem;
        padding-left: 10px;
        padding-right: 10px;
    }

    .proficiency-logo {
        width: 150px;
        height: 150px;
    }

    .percentage {
        font-size: 3rem;
    }
}

/* Fade in and fade out animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.fade-in {
    animation: fadeIn 1s forwards;
}

.fade-out {
    animation: fadeOut 1s forwards;
}

/* Language dropdown styles */
.language-btn {
    background: none;
    border: none;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-size: inherit;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.language-btn:hover {
    color: #434343a0;
}

.language-btn:focus {
    outline: none;
}

.dropdown-menu-dark .dropdown-item.active {
    background-color: #f39c12;
}

/* Disable image dragging and selection */
img {
    -webkit-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Language proficiency section */
.proficiency-card {
    text-align: center;
    color: rgb(0, 0, 0);
    max-width: 500px;
    margin: 0 auto 40px;
}

.proficiency-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    filter: blur(7px);
}



.percentage {
    font-size: 5rem;
    font-weight: bold;
    margin: 10px 0;
    color: #f39c12;
    text-shadow: 0 0 5px #f39c12, 0 0 10px #fec56a, 0 0 20px #ffffff;
}



