/* File: style.css
   Purpose: Custom stylesheet for UPFSP website styling overrides
   Developer: Lyzfy Micro Systems SMC Limited | Founder Barry Harry +256702479341
   CEO Profile: https://linkedin.com/in/harrytheafrican
*/

body { 
    font-family: 'Inter', system-ui, sans-serif; 
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex-grow: 1;
}

/* Dropdown Menu CSS */
.dropdown:hover .dropdown-menu { 
    display: block; 
}

/* Hero Slider Animations */
.hero-slide { 
    transition: opacity 1s ease-in-out; 
}

/* Custom Background Pattern */
.bg-pattern { 
    background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23f26522" fill-opacity="0.05" fill-rule="evenodd"%3E%3Ccircle cx="3" cy="3" r="3"/%3E%3Ccircle cx="13" cy="13" r="3"/%3E%3C/g%3E%3C/svg%3E'); 
}

/* Partner Logo Carousel Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7))}
}
.slider-track {
    animation: scroll 40s linear infinite;
    display: flex;
    width: calc(250px * 14);
}
.slide {
    height: 100px;
    width: 250px;
}