﻿<style >
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --clr-primary: #1a1a2e;
    --clr-accent: #e94560;
    --clr-accent2: #0f3460;
    --clr-light: #f8f9fc;
    --clr-muted: #64748b;
    --clr-border: #e2e8f0;
    --clr-white: #ffffff;
    --font-head: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --radius-card: 16px;
    --radius-sm: 8px;
    --shadow-card: 0 4px 24px rgba(26,26,46,0.08);
    --shadow-hover: 0 16px 48px rgba(26,26,46,0.16);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--clr-white);
    color: var(--clr-primary);
    line-height: 1.6;
}

/* ─── NAV (matches ITMusketeers style) ─── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--clr-white);
    border-bottom: 1px solid var(--clr-border);
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-text {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: -0.3px;
}

    .nav-logo-text span {
        color: var(--clr-accent);
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

    .nav-links a {
        font-size: 14px;
        font-weight: 500;
        color: var(--clr-muted);
        text-decoration: none;
        letter-spacing: 0.2px;
        transition: color 0.2s;
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--clr-accent);
        }

.nav-cta {
    background: var(--clr-accent);
    color: var(--clr-white) !important;
    padding: 8px 20px;
    border-radius: 6px;
    transition: background 0.2s, transform 0.15s !important;
}

    .nav-cta:hover {
        background: #c73150 !important;
        transform: translateY(-1px);
    }

/* ─── HERO ─── */
.hero {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-accent2) 60%, #16213e 100%);
    padding: 100px 5% 80px;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 400px;
        height: 400px;
        border-radius: 50%;
        background: rgba(233,69,96,0.12);
        pointer-events: none;
    }

    .hero::after {
        content: '';
        position: absolute;
        bottom: -100px;
        left: -60px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background: rgba(15,52,96,0.3);
        pointer-events: none;
    }

.hero-inner {
    max-width: 760px;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: rgba(233,69,96,0.12);
    border: 1px solid rgba(233,69,96,0.3);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
}

    .hero-eyebrow::before {
        content: '';
        width: 6px;
        height: 6px;
        background: var(--clr-accent);
        border-radius: 50%;
        animation: pulse 1.8s infinite;
    }

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 800;
    color: var(--clr-white);
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

    .hero h1 em {
        font-style: normal;
        color: var(--clr-accent);
    }

.hero p {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.72);
    max-width: 560px;
    line-height: 1.7;
}

/* ─── STATS STRIP ─── */
.stats-strip {
    background: var(--clr-light);
    border-bottom: 1px solid var(--clr-border);
    padding: 32px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat {
    text-align: center;
    padding: 0 24px;
    border-right: 1px solid var(--clr-border);
}

    .stat:last-child {
        border-right: none;
    }

.stat-num {
    font-family: var(--font-head);
    font-size: 36px;
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 4px;
}

    .stat-num span {
        color: var(--clr-accent);
    }

.stat-label {
    font-size: 13px;
    color: var(--clr-muted);
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ─── PORTFOLIO SECTION ─── */
.portfolio-section {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 56px;
}

.section-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    color: var(--clr-primary);
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 16px;
    color: var(--clr-muted);
    max-width: 560px;
    font-weight: 300;
}

/* ─── FILTER TABS ─── */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1.5px solid var(--clr-border);
    background: transparent;
    color: var(--clr-muted);
    cursor: pointer;
    transition: all 0.2s;
}

    .filter-btn:hover {
        border-color: var(--clr-accent);
        color: var(--clr-accent);
    }

    .filter-btn.active {
        background: var(--clr-accent);
        border-color: var(--clr-accent);
        color: var(--clr-white);
    }

/* ─── PROJECT GRID ─── */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}

.project-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

    .project-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-hover);
        border-color: rgba(233,69,96,0.2);
    }

.card-preview {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--clr-light);
}

    .card-preview iframe {
        width: 200%;
        height: 200%;
        border: none;
        transform: scale(0.5);
        transform-origin: top left;
        pointer-events: none;
    }

.card-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26,26,46,0.7) 100%);
}

.card-preview-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    color: var(--clr-white);
}

.badge-web {
    background: rgba(233,69,96,0.85);
}

.badge-hrms {
    background: rgba(15,52,96,0.9);
}

.preview-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    flex-direction: column;
    gap: 10px;
}

    .preview-placeholder .site-initial {
        font-family: var(--font-head);
        font-size: 52px;
        font-weight: 800;
        opacity: 0.25;
    }

.card-body {
    padding: 24px 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-client {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 8px;
}

.card-title {
    font-family: var(--font-head);
    font-size: 20px;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 10px;
    line-height: 1.25;
}

.card-desc {
    font-size: 14px;
    color: var(--clr-muted);
    font-weight: 300;
    line-height: 1.65;
    flex: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--clr-border);
}

.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--clr-light);
    color: var(--clr-accent2);
    letter-spacing: 0.2px;
}

.card-footer {
    padding: 0 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--clr-accent);
    text-decoration: none;
    transition: gap 0.2s;
}

    .card-link:hover {
        gap: 10px;
    }

    .card-link svg {
        width: 16px;
        height: 16px;
        transition: transform 0.2s;
    }

    .card-link:hover svg {
        transform: translateX(3px);
    }

/* ─── FEATURED (HRMS) CARD ─── */
.project-card.featured {
    grid-column: span 2;
    flex-direction: row;
}

    .project-card.featured .card-preview {
        height: auto;
        flex: 0 0 320px;
    }

@media (max-width: 860px) {
    .project-card.featured {
        grid-column: span 1;
        flex-direction: column;
    }

        .project-card.featured .card-preview {
            flex: none;
            height: 220px;
        }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 540px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    nav .nav-links {
        display: none;
    }
}

/* ─── CTA SECTION ─── */
.cta-section {
    background: var(--clr-primary);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: -120px;
        left: 50%;
        transform: translateX(-50%);
        width: 600px;
        height: 600px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(233,69,96,0.15) 0%, transparent 70%);
        pointer-events: none;
    }

    .cta-section h2 {
        font-family: var(--font-head);
        font-size: clamp(28px, 4vw, 44px);
        font-weight: 800;
        color: var(--clr-white);
        letter-spacing: -0.5px;
        margin-bottom: 16px;
        position: relative;
    }

    .cta-section p {
        font-size: 16px;
        color: rgba(255,255,255,0.6);
        font-weight: 300;
        margin-bottom: 36px;
        position: relative;
    }

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--clr-accent);
    color: var(--clr-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    position: relative;
}

    .cta-btn:hover {
        background: #c73150;
        transform: translateY(-2px);
    }

/* ─── FOOTER ─── */
footer {
    background: var(--clr-primary);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 32px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

    footer p {
        font-size: 13px;
        color: rgba(255,255,255,0.4);
    }

    footer a {
        color: rgba(255,255,255,0.6);
        font-size: 13px;
        text-decoration: none;
        font-weight: 500;
    }

        footer a:hover {
            color: var(--clr-accent);
        }

/* ─── ANIMATIONS ─── */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeUp 0.5s ease both;
}

    .project-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .project-card:nth-child(2) {
        animation-delay: 0.12s;
    }

    .project-card:nth-child(3) {
        animation-delay: 0.19s;
    }

    .project-card:nth-child(4) {
        animation-delay: 0.26s;
    }

    .project-card:nth-child(5) {
        animation-delay: 0.33s;
    }

</style >
