.projects-main {
    padding: 32px 20px 56px;
    background: transparent;
}

.projects-header {
    text-align: center;
    margin-bottom: 24px;
}

.projects-header .svc-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    background: linear-gradient(90deg, #003a7d 0%, #2d7a3f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    letter-spacing: -0.03em;
    padding: 0.1em 0;
}

.projects-subtitle {
    display: block;
    color: #374151;
    font-size: 1.25rem;
    font-weight: 500;
    max-width: 800px;
    margin: 12px auto 0;
    line-height: 1.6;
}

/* --- Project Category Sections --- */
.project-category-section {
    margin-bottom: 40px;
}

.project-category-section:last-of-type {
    margin-bottom: 32px;
}

.category-header {
    text-align: center;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 32px 0;
}

.category-title {
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 0;
    letter-spacing: -0.01em;
    background: linear-gradient(90deg, #003a7d 0%, #2d7a3f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-decoration: none;
    padding: 0.1em 0;
}

.category-title em {
    font-style: italic;
}

.category-subtitle {
    display: none;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e85d5d 0%, #d4502a 100%);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-top: 10px;
    box-shadow: 0 2px 8px rgba(232, 93, 93, 0.25);
}

/* MSME Section Styling */
.msme-section .category-cards-container {
    opacity: 0.65;
}

.category-card-wrapper.disabled {
    cursor: not-allowed;
    pointer-events: none;
}

.category-card-visual.placeholder {
    background: linear-gradient(145deg, #f8f8f8 0%, #ececec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.placeholder-icon {
    width: 56px;
    height: 56px;
    color: #aaa;
    opacity: 0.7;
}

.placeholder-icon svg {
    width: 100%;
    height: 100%;
}

/* Projects CTA Button */
.projects-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 8px;
}

.btn-find-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 44px;
    background: var(--primary-gradient);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 2px;
    text-decoration: none;
    transition: filter 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 58, 125, 0.2);
}

.btn-find-more:hover {
    filter: brightness(1.1);
    box-shadow: 0 12px 32px rgba(0, 58, 125, 0.3);
}

.btn-find-more svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.btn-find-more:hover svg {
    transform: translateX(3px);
}

.category-cards-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
}

.projects-main .category-card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.projects-main .category-card {
    height: 100%;
    width: 100%;
}

/* --- Signature Projects Marquee Section --- */
.projects-marquee-section {
    width: 100%;
    margin-top: 56px;
    padding: 56px 0 88px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 0%, transparent 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.projects-marquee-section .marquee-section-title {
    text-align: center;
    font-size: 2.625rem;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 56px;
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0.1em 20px;
    letter-spacing: -0.03em;
}

.projects-marquee-section .marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 24px 0;
}

.projects-marquee-section .marquee-track {
    display: flex;
    width: fit-content;
    animation: projects-marquee-scroll 50s linear infinite;
    will-change: transform;
}

.project-marquee-item {
    display: flex;
    flex-direction: column;
    width: 360px;
    margin-right: 36px;
    flex-shrink: 0;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.project-marquee-item:hover {
    transform: translateY(-12px);
}

.project-marquee-item:hover .marquee-card-image {
    box-shadow: 0 20px 48px rgba(0, 58, 125, 0.16);
}

.project-marquee-item:hover .marquee-card-name {
    color: var(--primary-green);
}

/* Non-clickable marquee cards use muted text color */
.project-marquee-item:not(a) .marquee-card-name {
    color: #000;
}

.project-marquee-item:not(a):hover .marquee-card-name {
    color: #000;
}

.marquee-card-image {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 18px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
}

/* Shine effect on hover */
.marquee-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.25) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
}

.project-marquee-item:hover .marquee-card-image::after {
    left: 150%;
    transition: left 0.7s ease;
}

.marquee-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) contrast(1.05);
    transition: filter 0.5s ease,
        transform 0.5s ease;
}

.project-marquee-item:hover img {
    filter: brightness(1.02) contrast(1.08);
    transform: scale(1.03);
}

.marquee-card-name {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-align: center;
    white-space: normal;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

@keyframes projects-marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause on hover - smoother */
.projects-marquee-section .marquee-track:hover {
    animation-play-state: paused;
}

/* --- Tablet / iPad Pro Enhancements --- */
@media (min-width: 769px) {
    .projects-main {
        padding: 40px 40px 72px;
    }

    .projects-header {
        margin-bottom: 32px;
    }

    .projects-header .svc-heading {
        font-size: 3rem;
    }

    .category-cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }

    .project-category-section {
        margin-bottom: 48px;
    }

    .category-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 969px) {
    .projects-marquee-section .marquee-section-title {
        font-size: 4rem;
    }
}

/* --- True Desktop Enhancements --- */
@media (min-width: 1101px) {
    .projects-section {
        max-width: 1400px;
        margin: 0 auto;
    }

    .category-cards-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

    .project-category-section {
        margin-bottom: 56px;
    }

    .category-title {
        font-size: 1.375rem;
    }

    .category-header {
        margin-bottom: 24px;
    }
}

/* Responsive Scaling for Marquee */
@media (max-width: 768px) {
    .project-marquee-item {
        width: 280px;
        margin-right: 28px;
    }

    .marquee-card-image {
        height: 175px;
    }

    .marquee-card-name {
        font-size: 1rem;
    }

    .projects-marquee-section .marquee-section-title {
        font-size: 2rem;
    }

    .projects-marquee-section {
        margin-top: 40px;
        padding: 48px 0 72px;
    }
}

@media (max-width: 480px) {
    .projects-main {
        padding: 32px 16px 56px;
    }

    .category-card-content p {
        display: none;
    }

    .projects-marquee-section {
        padding: 40px 0 56px;
    }

    .projects-marquee-section .marquee-section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .project-marquee-item {
        width: 240px;
        margin-right: 20px;
    }

    .marquee-card-image {
        height: 150px;
    }

    .projects-header .svc-heading {
        font-size: 2.25rem;
    }

    .projects-header {
        margin-bottom: 40px;
    }

    .project-category-section {
        margin-bottom: 56px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .project-marquee-item:hover {
        transform: none;
    }

    .project-marquee-item:hover img {
        transform: none;
    }

    .btn-find-more:hover {
        transform: none;
    }

    .btn-find-more:hover svg {
        transform: none;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .projects-marquee-section .marquee-track {
        animation: none;
    }

    .project-marquee-item,
    .marquee-card-image,
    .marquee-card-image img,
    .btn-find-more,
    .btn-find-more svg {
        transition: none;
    }

    .project-marquee-item:hover,
    .project-marquee-item:hover img {
        transform: none;
    }
}