:root {
    --primary: #0088CC;
    --secondary: #06d6a0;
    --text-main: #1a1a1a;

}

[data-theme="dark"] {
    --text-main: #ffffff;

}

.syne-font {
    font-family: 'Syne', sans-serif;
}

/* Page Background */
.page-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0, 136, 204, 0.05), transparent, rgba(6, 214, 160, 0.05));
    /* Emerald to Cyan */
    z-index: -1;
    pointer-events: none;
}


/* Project Card */
.project-card {
    border-radius: 1.5rem;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    transition: all 0.5s;
}

.project-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
}

/* Image Area */
.card-img-wrapper {
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.project-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

/* Gradient Overlay */
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    z-index: 1;
}

/* Content */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
}

/* Category */
.card-category {
    color: #10b981;
    font-weight: 500;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Title */
.card-title {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Desc */
.card-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tags */
.tech-pill {
    padding: 0.25rem 0.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    font-size: 0.75rem;
}

/* External Link Icon */
.external-link-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: linear-gradient(to right, #0088cc91, #06d69e9a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    opacity: 0;
    transform: translate(0, 10px);
    transition: all 0.3s;
    z-index: 3;
}

.project-card:hover .external-link-btn {
    opacity: 1;
    transform: translate(0, 0);
}



/*****PortfolioDetails*****/
.linkallwork {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.linkallwork a {
    color: var(--text-main);
    transition: all 0.7s ease;
}

.linkallwork a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.work-content .work-category {
    color: #858585;
    font-size: 12px;
    margin-bottom: 6px;
}

.work-content .work-title {
    font-size: 35px;
    margin-bottom: 6px;
}

.work-content .work-desc {
    text-align: justify;
}

.card-img-wrapper {
    display: grid;
    grid-column: 1 / span 2;
}

.project-item img {
    border-radius: 6px;
    object-fit: cover;
}

.replaceItem img {
    width: 100%;
    height: 100%;
    margin: 0 0 5px 0;
}

.work-content .tech-tag {
    background: #0088cc16;
    border: 1px solid #0088cc7e !important;
}