/* Basic reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f9f9f9;
    padding-top: 110px;
    color: #333;
    text-align: justify;
}


/* Header styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #161948;
    position: fixed;
    top: 0;
    width: 100%;
    left: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

/* Logo styling */
.logo img {
    width: 150px;
}

/* Main section styling */
.projects {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.project-item {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.project-item h2 {
    margin-bottom: 10px;
    color: #161948;
    font-size: 24px;
}


.project-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Adjusting the space between the paragraph and videos */
.project-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-top: 15px; /* Add space between the video and the paragraph */
    margin-bottom: 60px; /* Ensure enough space below paragraph */
}
/* Footer */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #dedede;
    font-size: 14px;
    color: #333;
}
/* Client Logos Grid */
.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    justify-items: center;
    padding: 40px 0;
}

.client-logo img {
    max-width: 150px; /* Control the max size of the logos */
    width: 100%;
    height: auto;
    filter: grayscale(100%); /* Optional: Make logos grayscale for a clean look */
    transition: filter 0.3s ease; /* Smooth hover transition */
}

.client-logo img:hover {
    filter: none; /* Restore original colors on hover */
}
/* Container for logos */
.logo-slider {
    overflow: hidden; /* Hide overflowing logos */
    width: 100%; /* Full-width container */
    margin: 0 auto;
    padding: 20px 0;
    background-color: #f9f9f9;
    position: relative;
}

/* Track that moves the logos */
.logo-track {
    display: flex;
    width: max-content; /* Ensure the width of the track fits all logos */
    animation: scroll 30s linear infinite;
}

/* Individual logo styling */
.client-logo {
    flex: 0 0 150px;
    margin: 0 20px;
}

.client-logo img {
    width: 100%;
    height: auto;
}

/* Keyframes for the smooth scrolling animation */
@keyframes scroll {
    0% {
        transform: translateX(0); /* Start at the beginning */
    }
    100% {
        transform: translateX(-50%); /* Move left until half the content scrolls out */
    }
}

/* Responsive design adjustments */
@media (max-width: 768px) {
    .client-logo {
        flex: 0 0 120px; /* Smaller logos on mobile */
    }
}
.clients {
    padding-top: 20px;
}