/* Visually hide an element, but keep it accessible to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

body {
    font-family: 'Inter', sans-serif;
}

header {
    transition: box-shadow 0.3s ease-in-out;
}

.slider-item {
    display: none;
    transition: opacity 1s ease-in-out;
}
.slider-item.active {
    display: block;
}

/* Custom scrollbar for product section */
.overflow-x-auto::-webkit-scrollbar {
    height: 8px;
}

.overflow-x-auto::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.overflow-x-auto::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.overflow-x-auto::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Animation for scroll */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease-out forwards;
}

/* Button styles */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
    color: #fff;
    background-color: #10B981;
    border-color: #10B981;
}

.btn-primary:hover {
    background-color: #059669;
    border-color: #047857;
}

/* Form styles */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #4B5563;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #4B5563;
    background-color: #fff;
    border-color: #10B981;
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgb(16 185 129 / 25%);
}

/* Footer styles */
footer a:hover {
    text-decoration: underline;
}

.logo img {
    max-width: 200px;
    transition: max-width 0.3s ease-in-out;
}

@media (max-width: 768px) {
    .logo img {
        max-width: 150px;
    }
}

.main-logo {
    max-width: 200px;
}

@media (max-width: 768px) {
    .main-logo {
        max-width: 150px;
    }
}