@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;0,1000;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900;1,1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    font-family: 'Nunito', sans-serif;
    scroll-behavior: smooth;
}

:root-old {
    /* Light Theme */
    --primary: #40d5e9;
    --teal: rgb(92, 218, 176);
    --background: #ffffff;
    --background2: #f5f5f5;
    --black: #000000;
    --light: #313131;
    --light2: #e6e6e6;
    --fixedlight: #e6e6e6;
    --gradient: linear-gradient(144deg, rgba(64,223,219,1) 0%, rgba(207,51,169,1) 100%);
    --gradient2: linear-gradient(168deg, rgb(55, 65, 214) 0%, rgb(231, 73, 126) 100%);

    --transition: .4s ease;
}

.dark-theme-old {
    /* Dark Theme */
    --primary: #56c6d4;
    --teal: rgb(92, 218, 176);
    --background: #1e1e1e;
    --background2: #2c2c2c;
    --black: #ffffff;
    --light: #e0e0e0;
    --light2: #454545;
    --fixedlight: #e6e6e6;
    --gradient: linear-gradient(144deg, rgba(64,223,219,1) 0%, rgba(207,51,169,1) 100%);
    --gradient2: linear-gradient(168deg, rgb(55, 65, 214) 0%, rgb(231, 73, 126) 100%);

    --transition: .4s ease;
}

:root {
    /* Light Theme */
    --primary: #4A90E2;         /* Bright Blue */
    --navBlurContrast: rgb(0, 21, 45);         /* Bright Blue */
    --navBlurContrastBg: rgba(0, 21, 45, 0.331);         /* Bright Blue */
    --teal: #3AAFA9;            /* Soft Teal */
    --background: #FFFFFF;      /* White */
    --background2: #F1F1F1;     /* Light Gray */
    --black: #333333;           /* Darker Gray */
    --light: #474747;           /* Light Gray */
    --light2: #F0F0F0;          /* Very Light Gray */
    --fixedlight: #E0E0E0;      /* Soft Light */
    --gradient: linear-gradient(-95deg, #00c6ff, #0072ff); /* Cool Ocean Gradient */
    --gradient2: linear-gradient(145deg, #00c6ff, #0072ff); /* Cool Ocean Gradient */
    --nav: linear-gradient(145deg, #0072ff, #0073ff25); /* Cool Ocean Gradient */
    --transition: .4s ease;
    --blur: blur(12px);
}

.dark-theme {
    /* Dark Theme */
    --primary: #4C89D4;         /* Soft Blue */
    --navBlurContrast: #ff0062;         /* Bright Blue */
    --navBlurContrastBg: #ff00623c;         /* Bright Blue */
    --teal: #1F8A75;            /* Darker Teal */
    --background: #1F1F1F;      /* Very Dark Gray */
    --background2: #2A2A2A;     /* Dark Gray */
    --black: #E6E6E6;           /* Off-White */
    --light: #D1D1D1;           /* Light Gray */
    --light2: #484848;          /* Darker Gray */
    --fixedlight: #E0E0E0;      /* Light Gray */
    --gradient: linear-gradient(145deg, #230f0046, #ee0979); /* Neon Glow Gradient */
    --gradient2: linear-gradient(-95deg, #230f0046, #ee0979); /* Neon Glow Gradient */
    --nav: linear-gradient(145deg, #99003b, #0073ff25); /* Cool Ocean Gradient */
    --transition: .4s ease;
    --blur: blur(12px);
}

::-moz-selection { /* Code for Firefox */
    color: var(--light2);
    background: var(--primary);
}

::selection {
    color: var(--light2);
    background: var(--primary);
}

body, .container, button {
    transition: background-color 0.4s ease, color 0.4s ease;
}

.theme-toggle-button {
    transition: color 0.4s ease, background-color 0.4s ease;
}

body {
    background: var(--background);
    color: var(--light);
}

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background-color: var(--background2);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--primary);
    border-radius: 6px;
}

h1 { font-size: 60px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.1rem; }
h5 { font-size: .95rem; }
h1, h2, h3, h4, h5 { 
    /* color: var(--black); */
    line-height: 1.1;
}

a {
    color: var(--black);
    transition: var(--transition);
}

section {
    padding: 8rem 0;
}
section>h2 {
    text-align: center;
}
section>p {
    text-align: center;
    width: 40%;
    margin: .5rem auto 4rem;
}

p {
    line-height: 150%;
    font-size: 17px;
    /* text-align: justify; */
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.btn {
    display: inline-block;
    width: fit-content;
    padding: 16px 32px;
    border: 2px solid var(--navBlurContrast);
    cursor: pointer;
    background: var(--primary);
    color: var(--black);
    border-radius: 7px;
    font-size: 18px;
    transition: var(--transition);
    border-left: 4px solid var(--navBlurContrast);
    border-bottom: 4px solid var(--navBlurContrast); 
}
.btn:hover {
    background: var(--gradient2);
    border: 2px solid var(--navBlurContrast);
    /* border-color: var(--gradient);
    transform: translateY(-.2rem);
    box-shadow: 0 0 1rem var(--primary); */
}
.btn-white {
    background: transparent;
    border-color: var(--black);
    border-radius: 7px;
    box-sizing: border-box;
    border-left: 4px solid var(--navBlurContrast);
    border-bottom: 4px solid var(--navBlurContrast); 
}
.btn-white:hover {
    background: var(--gradient2);
    border: 2px solid var(--navBlurContrast);
    /* border-bottom: 5px solid var(--navBlurContrast); */
    /* color: var(--background);
    border-color: var(--background);
    box-shadow: 0 0 1rem var(--primary); */
}
.btn-sm {
    padding: 10px 20px;
    font-size: 17px;
}
.btn-sm:hover {
    border-color: var(--background);
    color: var(--background);
}

/* --- card --- */
.card {
    background: var(--background3);
    padding: 1.5rem;
    border: 2px solid transparent;
    border-radius: 9px;
    transition: var(--transition);
    box-sizing: border-box;
    border-left: 5px solid var(--navBlurContrast); 
    border-bottom: 5px solid var(--navBlurContrast); 
}
.card:hover {
    background: transparent;
    border: 2px solid var(--navBlurContrast);
    /* border-bottom: 8px solid var(--navBlurContrast); */
}
.card-primary {
    background: transparent;
    border-color: var(--black);
}
.card-primary:hover {
    background: var(--gradient);
    color: #ffffff;
    cursor: pointer;
}
.container {
    max-width: 1420px;
    width: 90%;
    margin: 0 auto;
}

/* --- navbar --- */
nav {
    height: 5rem;
    width: 100%;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.nav-scroll {
    background: var(--nav);
    backdrop-filter: var(--blur);
    -webkit-backdrop-filter: var(--blur);
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.4);
    color: var(--fixedlight);
    z-index: 15;
}
.nav-scroll .logo {
    color: var(--fixedlight);
}
.nav-scroll .nav-links a {
    color: var(--fixedlight);
}
.nav-scroll .nav-links a:hover {
    color: var(--black);
}
.nav-scroll .language-select-wrapper select {
    background-color: var(--navBlurContrast);
    color: var(--navBlurContrast);
    border: 1px solid var(--navBlurContrast);
    appearance: none;
}

.nav-scroll .language-select-wrapper i {
    color: var(--navBlurContrast);
}

.nav-scroll #language-selector {
    color: var(--navBlurContrast);
    border: 1px solid var(--navBlurContrast);
    border-bottom: 3px solid var(--navBlurContrast);
    font-variant: normal;
    border-left: 3px solid var(--navBlurContrast);
    border-bottom: 3px solid var(--navBlurContrast);
}

.nav-scroll #language-selector:hover {
    background-color: var(--navBlurContrastBg);
    color: var(--navBlurContrast);
    border: 1px solid var(--navBlurContrast);
    /* border-bottom: 3px solid var(--navBlurContrast); */
}

.nav-scroll .language-select-wrapper::after {
    color: var(--navBlurContrast);
}

.nav-scroll .theme-toggle-button {
    color: var(--navBlurContrast);
    background-color: transparent;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    color: var(--primary);
}
.menu-button {
    display: none;
}
.theme-toggle-button {
    background-color: transparent;
    color: var(--primary);
    font-size: 1.3rem;
    width: 24px;
    text-align: center; 
    cursor: pointer;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 3rem;
    list-style: none;
}
.nav-links li a {
    color: var(--black);
    font-size: 17px;
    transition: var(--transition);
    display: inline-block;
}
.nav-links li a:hover {
    transform: translateY(-.2rem);
    color: var(--primary);
    border-bottom: 1px solid #008080;
    /* border-radius: 15px; */
}
.nav-options {
    display: flex;
    align-items: center;
    gap: 1rem;
    list-style: none;
}
.language-select-wrapper {
    padding-right: 0;    
    display: flex;
    align-items: center;
    gap: 5px;
}

.language-select-wrapper i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

#language-selector {
    padding: 5px 10px;
    width: 12em;
    border-radius: 5px;
    border: 1px solid var(--primary);
    font-size: 1rem;
    outline: none;
    appearance: none;
    text-align: center;
    background-color: transparent;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

#language-selector:hover {
    background-color: var(--primary);
    color: var(--background2);
}

.menu-bar {
    display: none;
}

/* --- header --- */
header {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: grid;
    align-items: center;
}
.header-container {
    display: grid;
    grid-template-columns: auto 450px;
    align-items: center;
    height: 100%;
    padding-top: 2.5rem;
    gap: 2%;
    position: relative;
}
.header-left h2 {
    margin: 1rem 0;
}
.header-left p {
    font-size: 19px;
    width: 94%;
    margin: .5rem 0 2rem;
}
.header-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 450px;
}
.hero-image {
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--gradient);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    z-index: 12;
}
.hero-image img {
    position: relative;
}
.round {
    width: 100%;
    height: 100%;
    position: absolute;
    border-color: var(--primary) transparent;
    border-style: solid;
    border-radius: 50%;
    border-width: 4px 4px 0 0;
    animation: roundAnimation infinite linear 10s;
}
@keyframes roundAnimation{
    to {
        transform: rotate(360deg);
    }
}
.moon {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    right: 60px;
    top: 40px;
    box-shadow: 0 0 1rem var(--primary);
}
.social-links {
    margin-left: 1em;
    position: absolute;
    bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.social-links a {
    font-size: 2rem;
    color: var(--black);
    transition: var(--transition);
}
.social-links a:hover {
    color: var(--primary);
    transform: translateY(-.2rem);
}
.HireMe {
    margin-left: 15px;
}

/* --- about --- */
#About {
    background: var(--background2);
}
.about-container {
    margin-top: 2rem;
    width: 70%;
}
.about-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    text-align: center;
    gap: 4%;
}
.about-card {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}
.about-card span {
    padding: .8rem;
    width: fit-content;
    margin: 0 auto;
    font-size: 1.1rem;
    display: flex;
    border-radius: .4rem;
}
.about-container h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.about-container p {
    margin-bottom: .7rem;
    text-align: justify;
}

.about-text-container button {
    position: absolute;
    right: 11em;
    border-radius: 12px;
}

/* --- skills --- */
#Skills h2 {
    margin-bottom: 5rem;
}
.skills-container {
    display: grid;
    grid-template-columns: 40% auto;
    gap: 4%;
}
.skills-left {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4%;
}
.skill-card {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: .8rem;
}
.skill-card span {
    font-size: 2rem;
}
.skills-right {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}
.skills-right h3 {
    display: flex;
    justify-content: end;
}
.skills-right .skill-btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.skills-right .skill-btn-container .skill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    flex: 1 1 calc(33.333% - 10px);
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}


/* --- portfolio --- */
#Portfolio {
    background: var(--background2);
}
.portfolio-tabs {
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.tab-active {
    background: var(--primary);
    border-color: var(--background);
    color: var(--background);
}
.portfolio-projects {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 3%;
}
.project {
    display: flex;
    flex-direction: column;
    gap: .8rem;
    background: var(--light2);
    border-top: 2px solid var(--navBlurContrast);
    border-right: 2px solid var(--navBlurContrast);
}
.project:hover {
    transition: var(--transition);
    background: var(--background);
    border: 2px solid var(--navBlurContrast);
}
.project img {
    border-radius: .8rem;
}
.project-action {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.project-action a:first-child {
    color: var(--background);
}


/* --- contact --- */
.container-contact {
    width: 60%;
    display: grid;
    grid-template-columns: 8rem auto;
    gap: 3%;
}
.contact-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: column;
}
.contact-left a {
    font-size: 1.6rem;
}
form input, textarea {
    width: 100%;
    padding: 1.4rem;
    background: transparent;
    border: 2px solid var(--background2);
    border-radius: .8rem;
    margin-bottom: 1rem;
    font-size: 16px;
    color: var(--black);
    resize: none;
}
form input:focus, textarea:focus{
    border-color: var(--black);
}

/* --- footer --- */
footer {
    background: var(--gradient2);
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--fixedlight);
    transition: var(--transition);
}
.footer-container i {
    color: red;
}


/* --- responsive --- */
@media (max-width: 1200px) {
    h1 {
        font-size: 46px;
    }
}

@media (max-width: 1024px) {
    section>p {
        width: 60%;
    }

    /* --- navbar --- */
    nav {
        background: var(--gradient);
    }
    .logo {
        color: var(--fixedlight);
        padding-right: .5em;
    }
    .language-select-wrapper::after,
    .language-select-wrapper,
    .language-select-wrapper i,
    .nav-links {
        display: none;
    }
    .language-select-wrapper {
        display: block;
    }
    #language-selector {
        /* position: fixed; */
        width: 7em;
        display: block;
        top: 5em;
        left: 0;
        color: var(--fixedlight);
    }
    .theme-toggle-button {
        display: inline-block;
        background: transparent;
        color: var(--fixedlight);
        font-size: 1.3rem;
        transition: var(--transition);
        margin-left: .7em;
        width: 24px;
        text-align: center; 
    }
    .menu-button {
        display: inline-block;
        background: transparent;
        color: var(--light);
        font-size: 1.3rem;
        transition: var(--transition);
        position: fixed;
        bottom: 2.2em;
        right: 0;
        background-color: var(--background);
        padding: .2em .4em;
        border-top: 2px solid var(--light);
        border-left: 2px solid var(--light);
        border-top-left-radius: 20px;
    }

    /* --- menu bar --- */
    .menu-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 5.3rem;
        align-items: center;
        justify-content: center;
        background: var(--background);
        z-index: 2;
        transition: var(--transition);
        border-top: 2px solid var(--light);
    }
    .menu-btn-none {
        bottom: -1%;
        transition: var(--transition);
    }
    .menu-none {
        bottom: -8%;
        transition: var(--transition);
    }
    .menubar-container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 4rem;
        justify-content: center;
    }
    .menubar-container a {
        font-size: 1.6rem;
        color: var(--light);
        transition: var(--transition);
    }
    /* .menu-bar a[href="#"] i {
        font-size: 1.6em;
    } */
    .menubar-container a:hover {
        transform: scale(1.2);
    }
    
    /* --- header --- */
    header {
        height: 100%;
    }
    .header-container {
        grid-template-columns: 1fr;
        padding: 0;
        padding-bottom: 5rem;
        text-align: center;
    }
    .header-left a {
        margin-bottom: 1.5rem;
    }
    .header-right {
        width: 400px;
        height: 400px;
        margin: 0 auto;
        grid-row: 1;
        padding-top: 12rem;
        margin-bottom: 7rem;
    }
    .moon {
        right: 45px;
    }
    
    /* --- about --- */
    .about-container {
        width: 80%;
    }
    .about-cards {
        gap: 2%;
    }

    /* --- portfolio --- */
    .portfolio-projects {
        grid-template-columns: 1fr 1fr;
        margin-bottom: 5rem;
    }

    /* --- contact --- */
    .container-contact {
        width: 80%;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 36px;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    p {
        font-size: 16px;
    }
    .btn {
        padding: 12px 26px;
    }

    /* --- navbar --- */
    nav {
        height: 4rem;
    }
    .logo h3 {
        font-size: 1.5rem;
    }
    .menu-button {
        font-size: 1.5rem;
    }

    /* --- menu bar --- */
    .menu-bar {
        height: 3.5rem;

    }
    .menubar-container {
        gap: 3.5rem;
        justify-content: space-between;
    }
    .menubar-container a {
        font-size: 1.3rem;
    }

    /* --- header --- */
    header {
        height: 100%;
    }
    .header-right {
        width: 280px;
        height: 280px;
    }
    .moon {
        height: 1.5rem;
        width: 1.5rem;
        right: 20px;
        top: 35px;
    }
    .header-container {
        padding-bottom: .5rem;
    }
    .header-container p {
        width: 100%;
    }
    .social-links {
        justify-content: center;
        position: relative;
        padding-top: 1.5rem;
        padding-bottom: 2rem;
    }
    .header-left {
        padding-top: 2rem;
    }
    .HireMe {
        margin-left: 0;
    }

    /* --- about --- */
    .about-container {
        width: 90%;
    }
    .about-cards {
        grid-template-columns: 1fr 1fr;
        gap: 4%;
        padding-bottom: 2rem;
    }
    #toggle-button {
        margin-bottom: .7em;
    }

    /* --- skills --- */
    .skills-container {
        grid-template-columns: 1fr;
        margin-top: -3rem;
    }
    .skills-right {
        margin-top: 2rem;
    }

    /* --- portfolio --- */
    .portfolio-tabs {
        gap: 1rem;
    }
    .portfolio-tabs .btn-sm {
        padding: 8px 18px !important;
    }
    .portfolio-projects {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        margin-bottom: -5rem;
    }

    /* --- contact --- */
    .container-contact {
        width: 90%;
        grid-template-columns: 1fr;
    }
    .contact-left {
        flex-direction: row;
        justify-content: center;
        margin-bottom: 2rem;
    }
}

/* Element transition */
/* Fade Effect */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out forwards;
}

/* Horizontal Slide */
@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    70% {
        transform: translateX(-.5em);
        opacity: .9;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    30% {
        transform: translateX(.5em);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    70% {
        transform: translateX(.5em);
        opacity: .9;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-in-out forwards;
}

.slide-out-left {
    animation: slideOutLeft 0.5s ease-in-out forwards;
}

.slide-out-right {
    animation: slideOutRight 0.5s ease-in-out forwards
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-in-out forwards
}

/* Vertical Slide */
@keyframes slideInDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    70% {
        transform: translateY(10px);
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    30% {
        transform: translateY(10px);
        opacity: 1;
    }
    100% {
        transform: translateY(-100%);
        opacity: 0;
    }
}

.slide-in-down {
    animation: slideInDown 0.5s ease-in-out forwards;
}

.slide-out-up {
    animation: slideOutUp 0.5s ease-in-out forwards;
}

.slide-out-down {
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.slide-in-up {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

/* Fade */
.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

/* Slide Effect */
.slide-in {
    transform: translateX(0);
    transition: transform 0.5s ease-in-out;
}

.slide-out {
    transform: translateX(-100%);
    transition: transform 0.5s ease-in-out;
}

/* Zoom Effect */
@keyframes zoomIn {
    0% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes zoomOut {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0.9);
    }
}

.zoom-in {
    animation: zoomIn 0.5s ease-in-out forwards;
}

.zoom-out {
    animation: zoomOut 0.5s ease-in-out forwards;
}

/* Zoom Fade In Effect */
@keyframes zoomFadeIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Zoom Fade Out Effect */
@keyframes zoomFadeOut {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(0.9);
        opacity: 0;
    }
}

.zoom-fade-in {
    animation: zoomFadeIn 0.4s ease-in-out forwards;
}

.zoom-fade-out {
    animation: zoomFadeOut 0.4s ease-in-out forwards;
}

/* General transition effect */
.transition-fade {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.transition-slide {
    transform: translateY(-10px); /* Slide up effect */
    transition: transform 0.5s ease-in-out;
}

/* Ensure the button starts fully opaque or in its original position */
.btn-visible {
    opacity: 1;
    transform: translateY(0);
}
