/* Custom Styles for CREVANTO Website */
.logo{
    width:13rem;
    display:flex;
    align-items: center;
    height: 100%;    
    img{ 
        width:100%;
        height:auto;
    }
}
/* Navigation Active State */
.active-nav {
    color: rgb(17 24 39);
    border-bottom: 2px solid rgb(17 24 39);
}

/* Smooth Page Transitions */
.page-section {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message Styles */
.error-message {
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

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

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus {
    outline: 2px solid rgb(17 24 39);
    outline-offset: 2px;
}

/* Hover Effects for Cards */
.hover\:shadow-lg {
    transition: box-shadow 0.3s ease;
}

/* Custom Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    line-height: 1.6;
}

/* Responsive Image Loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Loading State for Form */
.form-loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Mobile Navigation Enhancements */
@media (max-width: 768px) {
    nav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }
}

/* Print Styles */
@media print {
    nav,
    footer,
    .no-print {
        display: none;
    }
}

/* Utility Classes */
.hidden {
    display: none ;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Container Max Widths */
.container-custom {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-custom {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-custom {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}
