:root {
    --primary-color: #763cff;
    --secondary-color: #cf3cff;
    --background-color: #f8f9fa;
    --text-color: #000;
    --text-hover: #763cff;
    
    /* Notification Colors */
    --notification-bg: #ffffff;
    --notification-border: #e5e7eb;
    --notification-date: #6b7280;
    --notification-title: #1f2937;
    --notification-size: #9ca3af;
    --notification-badge: #f59e0b;
    --notification-badge-text: #92400e;
    --notification-hover: #f9fafb;
    
    /* Button Colors */
    --btn-primary-bg: #763cff;
    --btn-primary-hover: #6b35e6;
    --btn-secondary-bg: #f3f4f6;
    --btn-secondary-hover: #e5e7eb;
    --btn-secondary-text: #4b5563;
    
    /* Scroll to Top */
    --scroll-top-bg: var(--primary-color);
    --scroll-top-hover: var(--secondary-color);
}
/* Set Lato as default font family */
body {
    font-family: 'Lato', sans-serif;
}


/* Custom styles for preloader */
#preloader {
    transition: opacity 0.5s ease-in-out;
}

#preloader.fade-out {
    opacity: 0;
}



.marquee-container {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: marquee 20s linear infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes marquee {
    0% { 
        transform: translateX(0%);
        opacity: 1;
    }
    100% { 
        transform: translateX(-100%);
        opacity: 0.8;
    }
}

/* Marquee Styles */
.marquee-container {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

/* Updates Section */
.updates-section .grid {
    gap: 1.5rem;
}

/* Card Styles */
.update-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.update-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-0.25rem);
}

.update-card-header {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.update-card-header h3 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
}

.update-card-header i {
    color: white;
    font-size: 1.25rem;
    opacity: 0.9;
}

.update-card-body {
    padding: 0;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.update-card-content {
    overflow-y: auto;
    flex: 1;
    max-height: 400px;
    scrollbar-width: thin;
}

/* Badge animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    @apply bg-gray-100 rounded-full;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    @apply bg-gray-300 rounded-full transition-colors duration-200;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    @apply bg-gray-400;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .updates-section .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .updates-section .grid {
        grid-template-columns: 1fr;
    }
    
    .marquee-text {
        font-size: 0.85rem;
    }
    
    .update-card {
        margin: 0 -1rem;
        border-radius: 0;
    }
}






/* Notification Styles */
.notification-section {
    background: var(--notification-bg);
    border: 1px solid var(--notification-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Marquee container */
#notificationMarquee {
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

/* Hide scrollbar but allow scrolling */
.notification-section > div {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.notification-section > div::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.notification-item {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--notification-border);
    transition: all 0.2s ease;
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item:hover {
    background-color: var(--notification-hover);
}

.notification-date {
    color: var(--notification-date);
    font-size: 0.75rem;
}

.notification-title {
    color: var(--notification-title);
    font-weight: 500;
    margin: 0.25rem 0;
}

.notification-size {
    color: var(--notification-size);
    font-size: 0.75rem;
}

.notification-badge {
    background-color: var(--notification-badge);
    color: var(--notification-badge-text);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 9999px;
}




.group:hover .dropdown-menu {
    display: block;
    transition-delay: 0.1s;
}

.dropdown-menu {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Add padding to create larger hover area */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}




.clip-path-slant {
    clip-path: polygon(0 0, 100% 50%, 100% 100%, 0% 100%);
}

.iti {
    width: 100%;
}
.iti--separate-dial-code .iti__selected-flag {
    background-color: unset;
}


.hero-slider .custom-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.hero-slider .custom-nav {
    position: absolute;
    bottom: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.hero-slider .custom-nav:hover {
    border-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
    color: white !important;
}

.hero-slider .owl-prev {
    right: 70px;
}

.hero-slider .owl-next {
    right: 20px;
}




.news-carousel .custom-dots {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.news-carousel .custom-nav {
    position: absolute;
    bottom: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    background: rgba(255, 255, 255, 0) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease;
}

.news-carousel .custom-nav:hover {
    border-color: var(--primary-color) !important;
    background: var(--primary-color) !important;
    color: white !important;
}

.news-carousel .owl-prev {
    right: 70px;
}

.news-carousel .owl-next {
    right: 20px;
}




/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--scroll-top-bg);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--scroll-top-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


@media screen and (max-width: 767px) {
    .hero-slider .custom-nav {
        width: 30px;
        height: 30px;
    }
}
