/* Custom styles for Iffuso Innovations */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #8b5cf6, #ec4899);
    border-radius: 4px;
}

/* Projects carousel */
.projects-carousel {
    position: relative;
    overflow: hidden;
}

.project-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.project-slide.active {
    display: block;
    opacity: 1;
}

/* Carousel navigation */
.carousel-nav {
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.5;
}

.carousel-nav:hover,
.carousel-nav.active {
    transform: scale(1.5);
    opacity: 1;
}

/* Gradient text animation */
@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

h1 {
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

/* Card hover effects */
.project-slide > div > div:first-child {
    transition: transform 0.3s ease;
}

.project-slide:hover > div > div:first-child {
    transform: translateX(10px);
}

/* Link button glow effect */
a[href^="https://"] {
    position: relative;
    overflow: hidden;
}

a[href^="https://"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

a[href^="https://"]:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projects-carousel .project-slide .grid {
        text-align: center;
    }
    
    .projects-carousel .project-slide h3 {
        font-size: 2rem !important;
    }
    
    .projects-carousel .project-slide p {
        font-size: 1rem !important;
    }
}

/* Footer styles */
footer {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9));
}

/* Navbar styles */
nav {
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.5);
}

