:root {
    --primary-color: #8f1c77;
    --secondary-color: #F5F5F5;
    --accent-color: #333333;
    --pear: #e1dc2d;
}

body {
    background-color:#f3aeca;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--primary-color);
}

.text-gray-700 {
    color: #4a4a4a;
}

.text-gray-600 {
    color: #6b7280;
}

nav a {
    color: #16290f;
    position: relative;
    text-decoration: none;
    padding: 8px 0;
    transition: color 0.3s ease-in-out;
}

.hover-effect::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8f1c77;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-in-out;
}

.hover-effect:hover::after {
    transform: scaleX(1);
}

nav a.active-link {
    color: #8f1c77;
    font-weight: 600;
}

nav a.active-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8f1c77;
    transform: scaleX(1);
}

footer a {
    padding: 8px 0;
    display: inline-block;
}

input, textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    max-width: 350px;
    height: 100vh;
    background: white;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 50;
    overflow-y: auto;
}

#mobile-menu.translate-x-0 {
    transform: translateX(0);
}

#mobile-menu.-translate-x-full {
    transform: translateX(-100%);
}

#mobile-menu-backdrop {
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
    .mobile-menu a, .mobile-menu button {
        padding: 0.75rem 1rem;
        display: block;
        width: 100%;
        touch-action: manipulation;
    }

    #mobile-menu-button, #close-mobile-menu {
        padding: 0.5rem;
        touch-action: manipulation;
    }

    html {
        scrollbar-gutter: stable;
    }
}

@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: var(#f3aeca);
}
