/* Alert Banner Styles */
.top-alert {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    background: linear-gradient(to right, #9333ea, #7c3aed);
    color: white;
    padding: 0.75rem 1rem;
    transition: transform 0.3s ease-in-out;
}

.top-alert.hidden {
    transform: translateY(-100%);
}

/* Header Styles */
.sticky-header {
    position: absolute;
    top: 48px; /* Height of the alert banner */
    left: 0;
    right: 0;
    z-index: 50;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-header.alert-hidden {
    top: 0;
}

.sticky-header.shadow-active {
    position: fixed;
    top: 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Initial state - header is visible */
.sticky-header {
    transform: translateY(0);
    opacity: 1;
}

/* State when scrolling down - header slides up and out */
.sticky-header.nav-hidden {
    transform: translateY(-100%);
    opacity: 0;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Remove fixed positioning and adjust padding */
body {
    padding-top: 0;
}

body.alert-hidden {
    padding-top: 0;
}

/* Adjust mobile menu positioning */
#mobile-menu {
    top: 72px; /* Header height */
}

body.alert-hidden #mobile-menu {
    top: 72px;
}

/* Adjust main content padding */
body {
    padding-top: 0;
}

body.alert-hidden {
    padding-top: 0;
}

/* Mobile menu positioning */
#mobile-menu {
    top: 72px; /* Header height */
    transition: top 0.3s ease;
}

body.alert-hidden #mobile-menu {
    top: 72px; /* Header height */
}

/* Enhance nav links visibility on transparent background */
.sticky-header nav a {
    color: rgba(31, 41, 55, 0.9);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.1);
    font-weight: 500;
    transition: all 0.2s ease;
}

.sticky-header nav a:hover {
    background: rgba(220, 38, 38, 0.1);
    color: rgb(220, 38, 38);
}

/* Logo enhancement for transparent header */
.sticky-header .text-red-700 {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Mobile menu backdrop adjustment */
#mobile-menu .bg-white\/90 {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Partner logos in slider */
.partners-slider img {
    max-height: 60px;
    width: auto;
    filter: grayscale(0);
    opacity: 1;
    transition: all 0.3s ease;
}

.partners-slider img:hover {
    transform: scale(1.05);
}

/* Ensure smooth transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Active/current page link styles */
.sticky-header nav a.text-amber-600,
.sticky-header nav a.font-semibold {
    color: rgb(220, 38, 38);
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
body {
    padding-top: 72px; /* height of the header */
}
/* slider dot colors */
.slider-dots button {
    background-color: #fcd34d;
    border-radius: 9999px;
    width: 12px;
    height: 12px;
    margin: 0 4px;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.slider-dots button.active {
    opacity: 1;
}

/* testimonials slider */
.testimonials-slider {
    overflow: hidden;
}
.testimonials-track {
    display: flex;
}
.testimonial-item {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    text-align: center;
}
