.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    border: 1px solid #e0e0e0;
}

/* IMAGE */
.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* HOVER ZOOM */
.project-card:hover img {
    transform: scale(1.1);
}

/* OVERLAY CONTENT */
.project-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    padding: 10px;
    background:  linear-gradient(129deg, #4e4e50, #38393b, #323336be, #413842c4,rgba(123, 119, 123, 0.733), #b8b8b8b9);
    color: #fff;
    transform: translateY(72%); /* 🔥 hidden by default */
    transition: 0.4s ease;
}

/* SHOW ON HOVER */
.project-card:hover .project-content {
    transform: translateY(0);
}

/* TITLE ALWAYS VISIBLE */
.project-content h2 {
    margin: 0;
    font-size: clamp(0.7rem, 2vw, 1.2rem);
    font-weight: 600;
    color: white;
    text-align: center;
}

/* DESCRIPTION */
.project-content p{
    font-size: clamp(0.6rem, 2vw, 1rem);
    margin-top: 8px;
    opacity: 0;
    transition: 0.3s ease;
}

/* SHOW TEXT ON HOVER */
.project-card:hover .project-content p {
    opacity: 1;
}
.project-card:hover .project-content h2 {
    font-size: clamp(0.8rem, 2vw, 1.3rem);
    text-align: left;
    font-weight: 900;
}

/* BUTTONS */
.project-buttons {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.slide-btn {
    padding: 2px 6px;
    font-size:clamp(0.5rem, 2vw, 0.8rem);
    /* background: var(--primary); */
    border-bottom: 1px solid var(--primary);
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.slide-btn:hover {
    background: rgba(100, 171, 219, 0.527);
}

.slide-btn:hover::after {
    width: 100%;
}


.marquee-container {
    width: 100%;
    overflow: hidden; 
    padding: 2rem 0;
}

.marquee-inner {
    display: flex;
    gap: 1rem; 
    animation: scroll 20s linear infinite; 
    width: fit-content;
}


.project-card {
    background: #ffffff;
    border: 1px solid #cacaca;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 320px; 
    height: 200px; 
    position: relative;
    transition: transform 0.3s ease;
}

/* 4. Pause animation on hover */
.marquee-inner:hover {
    animation-play-state: paused;
}

/* 5. The Keyframes */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%); 
    }
}



/* what i do */
.what-i-do {
    padding: 10px 10px;
    /* background: #0f172a; */
    color: #000000;
    text-align: center;
     border: 1px solid #cbd5e1;
    border-radius: 12px;
  margin-top: 10px;
     background: var(--gradient);
}



.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card {
    /* background: #1e293b; */
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s ease;
    box-shadow: 0 5px 18px 0px rgba(192, 191, 191, 0.2);
}

.service-card:hover {
    transform: translateY(-10px);
    /* background: #334155; */
}

.icon {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 3px;
}

.service-card h3 {
    margin-bottom: 0;
    font-size: clamp(0.7rem, 2vw, 1.5rem);
    color: var(--primary);
    font-weight: 600;
}

.service-card p {
    font-size: clamp(0.6rem, 2vw, 1rem);
    color: #222e55;
}

/* Mobile */
@media (max-width: 600px) {
    .section-title {
        font-size: 26px;
    }
    .projects-list {
        padding: 0px 0;
    }
    .project-card{
        min-width: 180px;
    }
    .project-content,.project-card, .project-card img{
        height: 130px;
    }
    .services-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}
.service-card {
    padding: 8px;
}
.marquee-container {
    padding:0;

}}