
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg-dark: #050816;
    --bg-dark-soft: #0b1020;
    --bg-card: rgba(15, 23, 42, 0.9);
    --accent: #4f46e5;
    --accent-2: #ec4899;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-soft: rgba(148, 163, 184, 0.3);
    --radius-xl: 24px;
    --shadow-3d: 0 20px 40px rgba(0,0,0,0.6);
    --transition-fast: 0.25s ease-out;
}

html, body {
    height: 100%;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at top, #1f2937 0, #020617 55%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & nav */

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(22px);
    background: linear-gradient(90deg, rgba(15,23,42,0.96), rgba(15,23,42,0.85));
    border-bottom: 1px solid rgba(148,163,184,0.2);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo-3d {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    position: relative;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: radial-gradient(circle at top left, #4f46e5, #0b1020);
    box-shadow: 0 14px 30px rgba(15,23,42,0.9);
    overflow: hidden;
}

.logo-3d::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.12), transparent 55%);
    mix-blend-mode: screen;
}

.logo-main {
    position: relative;
}

.logo-accent {
    position: relative;
    margin-left: 0.25rem;
    color: var(--accent-2);
}

.main-nav {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.92rem;
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    position: relative;
    transition: var(--transition-fast);
}

.main-nav a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.main-nav a:hover,
.main-nav a.active {
    color: #e5e7eb;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    border-color: rgba(148,163,184,0.6);
}

/* Mobile nav */

.nav-toggle {
    display: none;
    width: 32px;
    height: 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle span {
    display: block;
    height: 3px;
    border-radius: 999px;
    background: #e5e7eb;
}

/* Hero */

.hero {
    position: relative;
    padding: 4rem 0 3rem;
    overflow: hidden;
}

.hero-bg-3d {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at 10% 0%, rgba(79,70,229,0.45), transparent 55%),
            radial-gradient(circle at 90% 20%, rgba(236,72,153,0.35), transparent 60%);
    opacity: 0.85;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-2);
    margin-bottom: 0.7rem;
}

.hero-title {
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-title span {
    background: linear-gradient(120deg, #4f46e5, #ec4899);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 530px;
    margin-bottom: 1.8rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.hero-tags span {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.3);
    background: rgba(15,23,42,0.7);
}

/* Buttons */

.btn-3d {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: none;
    outline: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    transform: translateY(0);
    box-shadow: 0 14px 24px rgba(0,0,0,0.55);
    transition: transform 0.17s ease-out, box-shadow 0.17s ease-out, background 0.17s ease-out, color 0.17s ease-out;
}

.btn-3d.primary {
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    color: #f9fafb;
}

.btn-3d.ghost {
    background: rgba(15,23,42,0.8);
    color: var(--text-main);
    border: 1px solid rgba(148,163,184,0.4);
}

.btn-3d.small {
    padding: 0.55rem 1rem;
    font-size: 0.85rem;
}

.btn-3d.full {
    width: 100%;
}

.btn-3d:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(0,0,0,0.7);
}

.btn-3d:active {
    transform: translateY(1px);
    box-shadow: 0 8px 14px rgba(0,0,0,0.5);
}

/* 3D card */

.card-3d {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    isolation: isolate;
    perspective: 1100px;
}

.card-layer {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(79,70,229,0.65), rgba(15,23,42,0.96));
    box-shadow: var(--shadow-3d);
    transform-origin: center;
    z-index: -2;
}

.card-layer.layer1 {
    transform: rotateX(16deg) rotateY(-18deg) translate(10px, 10px);
    opacity: 0.6;
}

.card-layer.layer2 {
    transform: rotateX(10deg) rotateY(-10deg);
    opacity: 0.9;
}

.card-content {
    position: relative;
    border-radius: inherit;
    padding: 1.6rem;
    background: linear-gradient(145deg, rgba(15,23,42,0.95), rgba(15,23,42,0.88));
    border: 1px solid rgba(148,163,184,0.45);
    backdrop-filter: blur(18px);
}

.badge-glow {
    display: inline-block;
    font-size: 0.78rem;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(129,140,248,0.7);
    color: #a5b4fc;
    margin-bottom: 0.7rem;
}

.card-content h2 {
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

.small-stats {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.stat-number {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e5e7eb;
}

/* Sections */

.section-light {
    padding: 3rem 0;
    background: radial-gradient(circle at top left, rgba(79,70,229,0.12), transparent 55%);
}

.section-dark {
    padding: 3rem 0;
    background: radial-gradient(circle at bottom right, rgba(236,72,153,0.2), transparent 60%);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 0.4rem;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* 3 columns */

.cards-3cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.info-card {
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,0.95));
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-3d);
    transform: translateY(0);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    border-color: rgba(129,140,248,0.8);
}

.info-card h2,
.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.info-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.icon-list {
    list-style: none;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.icon-list li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.icon-list i {
    font-size: 0.75rem;
    color: var(--accent-2);
}

/* Continuous scrolling logos */

.logos-strip {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.logos-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.logos-scroller {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-track {
    display: flex;
    width: max-content;
    gap: 1.4rem;
    animation: logos-scroll 24s linear infinite;
}


.logo-item {
    min-width: 120px;
    padding: 0.75rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    background: radial-gradient(circle at 10% 0%, rgba(15,23,42,0.9), rgba(15,23,42,0.98));
    box-shadow: 0 10px 22px rgba(0,0,0,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    display: block;
    width: 80px;
    height: 80px;
}

@keyframes logos-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Contact */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.contact-list {
    list-style: none;
    margin-top: 1.2rem;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    margin-bottom: 0.7rem;
}

.contact-list a {
    color: var(--text-main);
    text-decoration: none;
}

.contact-list i {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,0.9);
    border: 1px solid rgba(148,163,184,0.6);
    font-size: 0.8rem;
}

/* Form */

.contact-form-wrap {
    border-radius: var(--radius-xl);
    padding: 1.7rem;
    background: rgba(15,23,42,0.94);
    border: 1px solid rgba(148,163,184,0.4);
    box-shadow: var(--shadow-3d);
}

.contact-form .field {
    margin-bottom: 1rem;
}

.contact-form label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(31,41,55,0.8);
    background: rgba(15,23,42,0.9);
    color: var(--text-main);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(129,140,248,0.9);
    box-shadow: 0 0 0 1px rgba(129,140,248,0.5);
}

.form-status {
    margin-top: 0.7rem;
    font-size: 0.82rem;
}

.form-status.success {
    color: #4ade80;
}

.form-status.error {
    color: #f87171;
}

/* Projects */

.page-hero {
    padding: 3rem 0 1rem;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.8rem;
}

.project-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(15,23,42,0.96);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-3d);
    transform: translateY(0);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    border-color: rgba(129,140,248,0.9);
}

.project-thumb {
    height: 150px;
    background: linear-gradient(135deg, #4f46e5, #ec4899);
    position: relative;
}

.project-thumb.fake-3d::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 18px;
    border: 1px solid rgba(248,250,252,0.3);
    opacity: 0.8;
}

.project-body {
    padding: 1.2rem 1.4rem 1.3rem;
}

.project-body h2 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.project-body p {
    font-size: 0.86rem;
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: 2.2rem;
    align-items: flex-start;
}

.about-card-3d {
    border-radius: var(--radius-xl);
    padding: 0.25rem;
    background: radial-gradient(circle at top left, #4f46e5, #0f172a);
    box-shadow: var(--shadow-3d);
}

.about-inner {
    border-radius: inherit;
    border: 1px solid rgba(148,163,184,0.4);
    background: rgba(15,23,42,0.96);
    padding: 1.6rem;
}

.about-inner h2 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.about-inner p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.about-tags span {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.7);
    padding: 0.2rem 0.6rem;
}

.about-side {
    border-radius: var(--radius-xl);
    padding: 1.4rem;
    background: rgba(15,23,42,0.96);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-3d);
}

/* Footer */

.site-footer {
    padding: 1.6rem 0 1.8rem;
    border-top: 1px solid rgba(148,163,184,0.25);
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,1));
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148,163,184,0.6);
    background: rgba(15,23,42,0.9);
    text-decoration: none;
    font-size: 0.85rem;
    color: var(--text-main);
    transition: background 0.15s ease, transform 0.15s ease;
}

.footer-social a:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #4f46e5, #ec4899);
}

/* Utils */

.center {
    text-align: center;
}

.center .btn-3d {
    margin-top: 1.2rem;
}

/* Scroll reveal */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 {
    transition-delay: 0.1s;
}

.reveal.delay-2 {
    transition-delay: 0.2s;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-grid,
    .contact-grid,
    .about-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero {
        padding-top: 3rem;
    }

    .cards-3cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        padding: 0.8rem 1.5rem 1.2rem;
        background: rgba(15,23,42,0.97);
        transform: translateY(-140%);
        opacity: 0;
        pointer-events: none;
        flex-direction: column;
        gap: 0.5rem;
        transition: transform 0.25s ease-out, opacity 0.25s ease-out;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
    }
}


.logo-3d {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.logo-3d .logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(148, 163, 184, 0.6));
}

.logo-3d .logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/logo-jashari.png");
    background-repeat: no-repeat;
    background-position: right 8% center;
    background-size: 260px 260px;
    opacity: 0.06;
    filter: blur(0.4px);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 1;
}

.contact-list li i {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    background: radial-gradient(circle at 30% 0%, rgba(79,70,229,0.9), rgba(15,23,42,0.95));
    box-shadow: 0 10px 22px rgba(0,0,0,0.65);
    font-size: 1.2rem;
}

.contact-list li a {
    font-weight: 500;
}


/* Admin tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.table-simple {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.table-simple th,
.table-simple td {
    padding: 0.6rem 0.75rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    text-align: left;
}

.table-simple th {
    font-weight: 600;
    color: #e5e7eb;
    background: rgba(15, 23, 42, 0.8);
}

.table-simple tr:hover td {
    background: rgba(30, 64, 175, 0.15);
}


/* Generic form fields (admin, login, client portal) */
.field {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
    border-radius: 0.75rem;
    border: 1px solid rgba(148,163,184,0.6);
    background: rgba(15,23,42,0.9);
    color: var(--text-main);
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.field input::placeholder,
.field textarea::placeholder {
    color: rgba(148,163,184,0.8);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(129,140,248,0.9);
    box-shadow: 0 0 0 1px rgba(129,140,248,0.55);
    background: rgba(15,23,42,0.96);
}

/* Alert boxes (errors / success in admin & login pages) */
.alert {
    border-radius: 0.9rem;
    padding: 0.65rem 0.9rem;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    border: 1px solid rgba(15,23,42,0.9);
    box-shadow: 0 16px 28px rgba(0,0,0,0.55);
}

.alert-error {
    background: linear-gradient(135deg, rgba(248,113,113,0.18), rgba(127,29,29,0.9));
    color: #fecaca;
    border-color: rgba(248,113,113,0.7);
}

.alert-success {
    background: linear-gradient(135deg, rgba(74,222,128,0.2), rgba(22,101,52,0.9));
    color: #bbf7d0;
    border-color: rgba(74,222,128,0.75);
}

.alert::before {
    content: "";
    width: 6px;
    border-radius: 999px;
    align-self: stretch;
    background: rgba(15,23,42,0.9);
    opacity: 0.7;
}


/* Auth cards (client login/register) */
.auth-card {
    position: relative;
    overflow: hidden;
    padding: 2.2rem 2.1rem 2rem;
}

.auth-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(circle at top left, rgba(129,140,248,0.45), transparent 55%),
                radial-gradient(circle at bottom right, rgba(236,72,153,0.45), transparent 55%);
    opacity: 0.9;
    z-index: -2;
}

.auth-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(15,23,42,0.98), rgba(15,23,42,0.95));
    box-shadow:
        0 24px 60px rgba(0,0,0,0.75),
        0 0 0 1px rgba(15,23,42,0.9);
    z-index: -1;
}

.auth-header {
    margin-bottom: 1.4rem;
}

.auth-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Auth fields */
.auth-form {
    margin-top: 0.5rem;
}

.auth-field label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(148,163,184,0.9);
}

.auth-field input {
    margin-top: 0.15rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148,163,184,0.7);
    background: radial-gradient(circle at top left, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
    box-shadow:
        0 12px 28px rgba(15,23,42,0.95),
        inset 0 0 0 1px rgba(15,23,42,0.9);
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
}

.auth-field input:focus {
    border-color: rgba(129,140,248,0.9);
    box-shadow:
        0 12px 30px rgba(30,64,175,0.7),
        0 0 0 1px rgba(129,140,248,0.75);
}



/* Admin dashboard grid for 3D cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 360px));
    gap: 1.8rem 2.2rem;
    align-items: stretch;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.features-grid .card-3d {
    max-width: 100%;
}


/* Improve dashboard readability */
.features-grid p {
    color: #e5e7eb;
}

.features-grid strong {
    color: #ffffff;
}


/* Override default blue links to better contrast color */
a {
    color: #f472b6; /* pink/purple premium */
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    color: #fb7185;
    text-decoration: underline;
}

.table-simple a {
    color: #f472b6;
}

.table-simple a:hover {
    color: #fb7185;
}


/* Dashboard specific cards with stronger 3D look */
.features-grid .card-3d {
    background: radial-gradient(circle at top left, rgba(79,70,229,0.55), rgba(15,23,42,0.98));
    border-radius: 1.4rem;
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 22px 45px rgba(15,23,42,0.95);
    padding: 1.6rem 1.7rem;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.features-grid .card-3d::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left,
        rgba(244,114,182,0.22),
        transparent 55%);
    opacity: 0.9;
    z-index: -1;
}

.features-grid .card-3d h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
}

.features-grid .card-3d p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.features-grid .card-3d .btn-3d {
    margin-top: 1.2rem;
    align-self: flex-start;
}


/* Client dashboard projects grid */
.client-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.4rem;
    margin-top: 1rem;
}

.client-project-card {
    position: relative;
    border-radius: 1.1rem;
    padding: 1.2rem 1.3rem;
    background: radial-gradient(circle at top left, rgba(79,70,229,0.52), rgba(15,23,42,0.96));
    border: 1px solid rgba(148,163,184,0.35);
    box-shadow: 0 18px 34px rgba(15,23,42,0.95);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.client-project-card::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left,
        rgba(244,114,182,0.24),
        transparent 55%);
    opacity: 0.8;
    z-index: -1;
}

.client-project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 42px rgba(15,23,42,0.98);
    border-color: rgba(244,114,182,0.6);
}

.client-project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.client-project-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #f9fafb;
}

.client-project-description {
    font-size: 0.9rem;
    color: #e5e7eb;
    margin-bottom: 0.6rem;
}

.client-project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #cbd5f5;
    margin-bottom: 0.5rem;
    opacity: 0.92;
}

.client-project-meta .meta-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.7rem;
    color: #9ca3af;
}

/* status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.16rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(148,163,184,0.5);
    background: rgba(15,23,42,0.9);
}

.status-new {
    color: #38bdf8;
    border-color: rgba(56,189,248,0.6);
}

.status-in_progress {
    color: #f97316;
    border-color: rgba(249,115,22,0.7);
}

.status-completed {
    color: #4ade80;
    border-color: rgba(74,222,128,0.7);
}

.status-on_hold {
    color: #eab308;
    border-color: rgba(234,179,8,0.75);
}

/* progress bar */
.client-project-progress {
    position: relative;
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(15,23,42,0.8);
    overflow: hidden;
}

.client-project-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #a855f7, #f97316, #22c55e);
    box-shadow: 0 0 12px rgba(244,114,182,0.7);
    transition: width 0.3s ease-out;
}

.client-project-progress-bar.status-new {
    background: linear-gradient(90deg, #38bdf8, #a855f7);
}

.client-project-progress-bar.status-in_progress {
    background: linear-gradient(90deg, #f97316, #facc15);
}

.client-project-progress-bar.status-completed {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.client-project-progress-bar.status-on_hold {
    background: linear-gradient(90deg, #eab308, #f97316);
}

/* simple fade-up animation for cards */
.anim-fade-up {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-up 0.45s ease-out forwards;
}

@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Admin dashboard charts layout */
.stats-grid {
    margin-top: 2.2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 1.6rem;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.stats-card canvas {
    width: 100%;
    max-height: 260px;
}


/* Admin dashboard charts layout - fixed heights */
.stats-grid {
    margin-top: 2.2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 1.6rem;
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stats-card {
    position: relative;
    min-height: 320px;
}

.stats-card canvas {
    width: 100% !important;
    height: 260px !important;
    display: block;
}
