
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: bold;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #667eea;
    flex-shrink: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s;
    font-size: clamp(0.9rem, 2vw, 1rem);
}

nav ul li a:hover {
    opacity: 0.8;
}

/* Banner Styles */
.banner {
    margin-top: 80px;
    background-image: url("../images/banner.png");
    background-size: cover;
    background-position: center;
    min-height: 500px;
    height: clamp(400px, 60vh, 500px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    padding: 2rem;
}
.banner-content {
    background: rgba(255, 255, 255, 0.5); /* semi‑transparent box */
    padding: 25px 40px;
    border-radius: 10px;
    max-width: 800px;
}
.banner-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.banner-content p {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    opacity: 0.95;
}

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #0891b2;
}

/* Services Section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    /* color: #333; */
    color: #fdc50e;
}

.service-card p {
    color: #666;
    line-height: 1.8;
}

/* About Section */
.about-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
    margin-bottom: 4rem;
}

.about-section h2 {
    color:  #fdc50e;
    margin-bottom: 1.5rem;
}

.about-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #0891b2;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
}

/* Footer Styles */
footer {
    background:linear-gradient(135deg, #0e7490 0%, #0891b2 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #fdc50e;
    /* color: black; */
}

.footer-section p,
.footer-section ul {
    color: white;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: gainsboro;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: white;
}


:root {
    --item-width: 300px;
    --gap: 30px;
}

.collaborators-section {
    padding: 50px 20px;
    text-align: center;
    overflow: hidden; /* Hide overflow for the slider */
    background: #f9f9f9;
}

.collaborators-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--gap);
    flex-wrap: wrap; /* Default grid behavior */
    max-width: 1200px;
    margin: 0 auto;
}

.collaborator-item {
    width: 300px;
    height: 200px;
    flex-shrink: 0;    
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.collaborator-item img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.6;
}

.collaborator-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* --- Rotary/Slider Styles (Active only if > 4 items) --- */
.is-rotary {
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    animation: scroll 20s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-1 * (var(--item-width) + var(--gap)) * 5)); }
}

/* Pause animation on hover */
.collaborators-container:hover {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}