* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #4a5568;
    background: 
        url('abstract_7.jpeg') center/cover no-repeat fixed;
}

header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2563eb;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #2563eb;
}

main {
    margin-top: 4rem;
}

#hero {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    text-align: center;
    padding: 6rem 2rem;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Logo Carousel */
.logo-carousel {
    margin: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: flex;
    animation: scroll 30s linear infinite;
    width: calc(200px * 8); /* width of one logo * number of logos */
}

.logo-slide {
    height: 60px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.logo-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-slide img {
    max-height: 40px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s ease;
}

.logo-slide:hover img {
    filter: grayscale(0) brightness(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 4)); /* Move by half the width */
    }
}

/* Pause animation on hover */
.logo-carousel:hover .logo-track {
    animation-play-state: paused;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: #ffffff;
    color: #2563eb;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
}

#features {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

#features h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8fafc;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #2563eb;
    margin-bottom: 1.5rem;
}

.companies-label {
    margin: 1.5rem 0 1rem;
    color: #4a5568;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.company-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 70px;
}

.company-logo:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.company-logo:hover img {
    filter: grayscale(0) brightness(1);
}

#contact {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: #f8fafc;
    margin-top: 4rem;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
