/* ============================================
   PROJECTS PAGE - COMPLETE STYLES
   ============================================ */

/* ===== PAGE HERO ===== */
/* ============================================
   PROJECTS PAGE HERO - FINAL
   ============================================ */

.projects-hero {
    position: relative;
    width: 100%;
    min-height: 540px;

    display: flex;
    align-items: center;

    padding: 110px 0 95px;

    background-image: url("../images/City center redevelopment.jpg");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    overflow: hidden;
    isolation: isolate;
}


/* Overlay */

.projects-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(6, 20, 46, 0.97) 0%,
            rgba(6, 20, 46, 0.90) 43%,
            rgba(6, 20, 46, 0.55) 100%
        );

    z-index: 0;
}


/* Decorative glow */

.projects-hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -220px;
    bottom: -330px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(246, 199, 68, 0.20) 0%,
            rgba(246, 199, 68, 0) 70%
        );

    pointer-events: none;

    z-index: 0;
}


/* Container */

.projects-hero > .container {
    position: relative;
    z-index: 2;
    width: 100%;
}


/* Content */

.projects-hero-content {
    position: relative;

    max-width: 760px;

    text-align: right;

    color: #fff;
}


/* Breadcrumb */

.projects-breadcrumb {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 25px;

    font-size: 0.9rem;
}


.projects-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);

    transition: var(--transition);
}


.projects-breadcrumb a:hover {
    color: var(--primary);
}


.projects-breadcrumb i {
    color: var(--primary);

    font-size: 0.7rem;
}


.projects-breadcrumb span {
    color: rgba(255, 255, 255, 0.95);

    font-weight: 600;
}


/* Small title */

.projects-hero-label {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 7px 15px;

    margin-bottom: 18px;

    color: var(--primary);

    background: rgba(246, 199, 68, 0.10);

    border: 1px solid rgba(246, 199, 68, 0.30);

    border-radius: 50px;

    font-size: 0.85rem;
    font-weight: 700;
}


.projects-hero-label::before {
    content: "";

    width: 7px;
    height: 7px;

    background: var(--primary);

    border-radius: 50%;
}


/* Heading */

.projects-hero h1 {
    margin: 0 0 22px;

    color: #fff;

    font-size: clamp(2.5rem, 4vw, 4.2rem);

    font-weight: 900;

    line-height: 1.35;

    letter-spacing: -0.8px;
}


.projects-hero h1 strong {
    color: var(--primary);

    font-weight: 900;
}


/* Description */

.projects-hero p {
    max-width: 680px;

    margin: 0 0 32px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 1.08rem;

    line-height: 2;
}


/* Buttons */

.projects-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 15px;
}


.projects-hero-actions .btn {
    min-height: 52px;
}


.projects-hero-secondary {
    min-height: 52px;

    padding: 13px 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    color: #fff;

    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.30);

    border-radius: 5px;

    backdrop-filter: blur(6px);

    font-size: 0.95rem;
    font-weight: 700;

    transition: var(--transition);
}


.projects-hero-secondary:hover {
    background: #fff;

    color: var(--dark);

    border-color: #fff;

    transform: translateY(-3px);
}


.projects-hero-secondary i {
    color: var(--primary);
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1024px) {

    .projects-hero {
        min-height: 500px;

        padding: 95px 0 80px;
    }


    .projects-hero-content {
        max-width: 680px;
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    .projects-hero {
        min-height: 455px;

        padding: 80px 0 65px;

        background-position: 58% center;
    }


    .projects-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(6, 20, 46, 0.97) 0%,
                rgba(6, 20, 46, 0.91) 65%,
                rgba(6, 20, 46, 0.73) 100%
            );
    }


    .projects-hero h1 {
        font-size: 2.35rem;
    }


    .projects-hero p {
        font-size: 1rem;

        line-height: 1.9;
    }

}


/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 520px) {

    .projects-hero {
        min-height: auto;

        padding: 65px 0 60px;

        background-position: 62% center;
    }


    .projects-breadcrumb {
        margin-bottom: 20px;

        font-size: 0.82rem;
    }


    .projects-hero-label {
        padding: 6px 12px;

        font-size: 0.78rem;
    }


    .projects-hero h1 {
        font-size: 2rem;

        line-height: 1.45;
    }


    .projects-hero p {
        margin-bottom: 28px;

        font-size: 0.93rem;
    }


    .projects-hero-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .projects-hero-actions .btn,
    .projects-hero-secondary {
        width: 100%;

        justify-content: center;
    }

}

/* ============================================
   PROJECT STATS - PREMIUM BENTO
   ============================================ */

.project-stats-premium {
    position: relative;

    z-index: 10;

    margin-top: -80px;

    padding: 0 0 85px;

    background: transparent;
}


.project-stats-panel {
    display: grid;

    grid-template-columns: 1.35fr repeat(3, 1fr);

    gap: 16px;

    padding: 16px;

    background: rgba(255, 255, 255, 0.92);

    border: 1px solid rgba(255, 255, 255, 0.7);

    border-radius: 22px;

    box-shadow:
        0 25px 70px rgba(18, 24, 40, 0.13),
        0 4px 15px rgba(18, 24, 40, 0.05);

    backdrop-filter: blur(16px);
}


/* =========================
   CARD
   ========================= */

.project-stat-card {
    position: relative;

    min-height: 220px;

    padding: 28px 24px;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    background: #ffffff;

    border: 1px solid #eceef2;

    border-radius: 16px;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.project-stat-card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    left: -65px;
    bottom: -65px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(246, 199, 68, 0.10),
            transparent 70%
        );

    transition: 0.35s ease;
}


.project-stat-card:hover {
    transform: translateY(-8px);

    border-color: rgba(246, 199, 68, 0.35);

    box-shadow:
        0 20px 45px rgba(18, 24, 40, 0.10);
}


.project-stat-card:hover::after {
    transform: scale(1.6);
}


/* =========================
   MAIN CARD
   ========================= */

.project-stat-card-main {
    background:
        linear-gradient(
            145deg,
            #06142E 0%,
            #06142E 100%
        );

    border-color: transparent;

    color: #ffffff;
}


.project-stat-card-main::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            transparent 50%,
            rgba(246, 199, 68, 0.08) 100%
        );

    pointer-events: none;
}


.project-stat-card-main::after {
    width: 220px;
    height: 220px;

    left: -110px;
    bottom: -120px;

    background:
        radial-gradient(
            circle,
            rgba(246, 199, 68, 0.18),
            transparent 68%
        );
}


/* =========================
   TOP
   ========================= */

.project-stat-top {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 15px;
}


.project-stat-kicker {
    color: rgba(255, 255, 255, 0.65);

    font-size: 0.78rem;

    font-weight: 600;
}


/* =========================
   ICON
   ========================= */

.project-stat-icon {
    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    background: rgba(246, 199, 68, 0.10);

    border: 1px solid rgba(246, 199, 68, 0.20);

    border-radius: 13px;

    color: var(--primary);

    font-size: 1.25rem;

    transition: all 0.35s ease;
}


.project-stat-card:hover .project-stat-icon {
    background: var(--primary);

    color: #ffffff;

    transform: rotate(-7deg) scale(1.07);
}


.project-stat-card-main .project-stat-icon {
    background: rgba(246, 199, 68, 0.14);

    border-color: rgba(246, 199, 68, 0.28);
}


/* =========================
   NUMBER
   ========================= */

.project-stat-value {
    display: flex;

    align-items: baseline;

    gap: 4px;

    direction: ltr;

    margin-top: 22px;
}


.project-stat-number {
    color: #06142E;

    font-size: 2.9rem;

    font-weight: 900;

    line-height: 1;

    letter-spacing: -1px;
}


.project-stat-card-main .project-stat-number {
    color: #ffffff;

    font-size: 3.7rem;
}


.project-stat-plus {
    color: var(--primary);

    font-size: 1.7rem;

    font-weight: 900;
}


/* =========================
   TEXT
   ========================= */

.project-stat-card h3 {
    margin-top: 15px;

    color: var(--dark);

    font-size: 1.05rem;

    font-weight: 800;
}


.project-stat-card-main h3 {
    color: #ffffff;

    font-size: 1.15rem;
}


.project-stat-card p {
    margin-top: 7px;

    color: var(--text-light);

    font-size: 0.8rem;

    line-height: 1.7;
}


.project-stat-card-main p {
    color: rgba(255, 255, 255, 0.58);
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1100px) {

    .project-stats-panel {
        grid-template-columns: repeat(2, 1fr);
    }


    .project-stat-card-main {
        grid-column: span 2;
    }

}


@media (max-width: 700px) {

    .project-stats-premium {
        margin-top: -35px;

        padding-bottom: 65px;
    }


    .project-stats-panel {
        grid-template-columns: 1fr;

        padding: 10px;

        gap: 10px;

        border-radius: 17px;
    }


    .project-stat-card-main {
        grid-column: auto;
    }


    .project-stat-card {
        min-height: auto;

        padding: 22px;

        display: grid;

        grid-template-columns: 55px 1fr;

        align-items: center;

        column-gap: 17px;
    }


    .project-stat-card-main {
        display: block;

        padding: 27px 24px;
    }


    .project-stat-content {
        min-width: 0;
    }


    .project-stat-value {
        margin-top: 0;
    }


    .project-stat-card-main .project-stat-value {
        margin-top: 25px;
    }


    .project-stat-number {
        font-size: 2.3rem;
    }


    .project-stat-card-main .project-stat-number {
        font-size: 3rem;
    }


    .project-stat-card h3 {
        margin-top: 7px;
    }


    .project-stat-card p {
        margin-top: 3px;
    }

}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    padding: 100px 0;
    background: var(--bg-light);
}

/* --- Filter Buttons --- */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 28px;
    border: 2px solid var(--border);
    background: var(--white);
    border-radius: 50px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(246, 199, 68, 0.35);
}

/* --- Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.project-card.hidden {
    display: none;
}

.project-card.fade-out {
    opacity: 0;
    transform: scale(0.9);
}

.project-card.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 20, 46, 0.95) 0%, rgba(6, 20, 46, 0.7) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-info {
    color: var(--white);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.project-info h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.4;
}

.project-info p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-meta i {
    color: var(--primary);
}

.project-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-view-btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateX(-5px);
}

/* --- Load More --- */
.load-more-container {
    text-align: center;
    margin-top: 60px;
}

/* ===== WORK PROCESS ===== */
.work-process {
    padding: 100px 0;
    background: var(--white);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    right: 12.5%;
    left: 12.5%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    z-index: 0;
}

.process-card {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.process-card:hover {
    transform: translateY(-10px);
}

.process-number {
    position: absolute;
    top: -15px;
    right: 50%;
    transform: translateX(50%);
    background: var(--primary);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(246, 199, 68, 0.4);
}

.process-icon {
    width: 90px;
    height: 90px;
    background: var(--white);
    border: 3px solid var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(246, 199, 68, 0.15);
}

.process-card:hover .process-icon {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: rotate(360deg) scale(1.1);
}

.process-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.process-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== FEATURED PROJECT ===== */
.featured-project {
    padding: 100px 0;
    background: var(--bg-light);
}

.featured-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.featured-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.featured-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-image:hover img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(246, 199, 68, 0.4);
}

.featured-content .section-subtitle {
    padding: 0;
}

.featured-content .section-subtitle::before,
.featured-content .section-subtitle::after {
    display: none;
}

.featured-content h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--dark);
    margin: 15px 0 20px;
    line-height: 1.4;
}

.featured-content p {
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 30px;
}

.featured-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
    padding: 25px;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.featured-stat {
    text-align: center;
}

.featured-stat strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.featured-stat span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== CLIENTS ===== */
.clients {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.clients-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.client-logo {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 3px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    color: var(--primary);
    transform: scale(1.1);
}

/* ===== PROJECT MODAL ===== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    animation: modalIn 0.4s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--dark);
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background: var(--primary);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    border-radius: 16px 0 0 16px;
}

.modal-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-category {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
    width: fit-content;
}

.modal-info h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.modal-info p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 25px;
}

.modal-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
}

.modal-details span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    color: var(--text);
}

.modal-details i {
    color: var(--primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid::before {
        display: none;
    }

    .featured-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-image img {
        height: 400px;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image img {
        min-height: 250px;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 768px) {
    .projects-hero h1 {
        font-size: 2.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 25px 18px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-image {
        height: 280px;
    }

    .project-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(6, 20, 46, 0.9) 0%, transparent 70%);
    }

    .project-info {
        transform: translateY(0);
    }

    .filter-buttons {
        gap: 8px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.88rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .featured-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-content h2 {
        font-size: 1.8rem;
    }

    .clients-logos {
        gap: 30px;
    }

    .modal-info {
        padding: 25px;
    }

    .modal-details {
        grid-template-columns: 1fr;
    }
}

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

    .featured-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .featured-stat strong {
        font-size: 1.5rem;
    }
}

/* =========================================================
   PROJECTS PAGE — PREMIUM STATS STRIP REDESIGN
   Reworks the section directly below the projects hero.
========================================================= */

body[data-brand="sazeh-sazan"] .project-stats-premium {
    position: relative;
    z-index: 3;
    isolation: isolate;
    overflow: hidden;
    margin-top: -54px;
    padding: 0 0 78px;
    background: transparent;
}

body[data-brand="sazeh-sazan"] .project-stats-premium::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 54px 0 0;
    background:
        radial-gradient(circle at 12% 70%, rgba(246, 199, 68, .12), transparent 28%),
        radial-gradient(circle at 88% 15%, rgba(58, 107, 160, .24), transparent 32%),
        linear-gradient(135deg, #06142E 0%, #0B2343 52%, #102E52 100%);
}

body[data-brand="sazeh-sazan"] .project-stats-premium .container {
    position: relative;
    max-width: 1240px;
}

body[data-brand="sazeh-sazan"] .project-stats-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 18px;
    overflow: hidden;
    background: rgba(7, 25, 51, .82);
    border: 1px solid rgba(246, 199, 68, .24);
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(2, 10, 25, .28);
    backdrop-filter: blur(18px);
}

body[data-brand="sazeh-sazan"] .project-stats-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 8%;
    left: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(246, 199, 68, .75), transparent);
    pointer-events: none;
}

body[data-brand="sazeh-sazan"] .project-stat-card,
body[data-brand="sazeh-sazan"] .project-stat-card-main {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    min-height: 218px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    padding: 25px 23px;
    overflow: hidden;
    color: #fff;
    text-align: right;
    background: linear-gradient(150deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.11);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
    transition: transform .3s ease, border-color .3s ease, background .3s ease, box-shadow .3s ease;
}

body[data-brand="sazeh-sazan"] .project-stat-card::before,
body[data-brand="sazeh-sazan"] .project-stat-card-main::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 3px;
    height: 42%;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(180deg, #F6C744, rgba(246,199,68,0));
    opacity: .8;
}

body[data-brand="sazeh-sazan"] .project-stat-card::after,
body[data-brand="sazeh-sazan"] .project-stat-card-main::after {
    content: "";
    position: absolute;
    width: 155px;
    height: 155px;
    left: -85px;
    bottom: -95px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(246,199,68,.13), transparent 68%);
    pointer-events: none;
}

body[data-brand="sazeh-sazan"] .project-stat-card:hover,
body[data-brand="sazeh-sazan"] .project-stat-card-main:hover {
    transform: translateY(-6px);
    border-color: rgba(246,199,68,.5);
    background: linear-gradient(150deg, rgba(255,255,255,.11), rgba(255,255,255,.045));
    box-shadow: 0 18px 38px rgba(0,0,0,.2);
}

body[data-brand="sazeh-sazan"] .project-stat-card-main {
    grid-column: auto;
    background: linear-gradient(145deg, rgba(246,199,68,.16), rgba(255,255,255,.045));
    border-color: rgba(246,199,68,.34);
}

body[data-brand="sazeh-sazan"] .project-stat-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body[data-brand="sazeh-sazan"] .project-stat-kicker {
    color: rgba(255,255,255,.76);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1px;
}

body[data-brand="sazeh-sazan"] .project-stat-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    min-width: 46px;
    align-items: center;
    justify-content: center;
    color: #F6C744;
    font-size: 1.08rem;
    background: rgba(246,199,68,.12);
    border: 1px solid rgba(246,199,68,.28);
    border-radius: 14px;
    transition: transform .3s ease, background .3s ease;
}

body[data-brand="sazeh-sazan"] .project-stat-card:hover .project-stat-icon {
    color: #06142E;
    background: #F6C744;
    transform: translateY(-2px);
}

body[data-brand="sazeh-sazan"] .project-stat-content {
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
}

body[data-brand="sazeh-sazan"] .project-stat-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 3px 0 0;
    direction: ltr;
}

body[data-brand="sazeh-sazan"] .project-stat-number,
body[data-brand="sazeh-sazan"] .project-stat-card-main .project-stat-number {
    color: #F6C744;
    font-size: clamp(2.5rem, 3.2vw, 3.25rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -1.5px;
    font-variant-numeric: tabular-nums;
}

body[data-brand="sazeh-sazan"] .project-stat-plus {
    color: #F6C744;
    font-size: 1.35rem;
    font-weight: 800;
}

body[data-brand="sazeh-sazan"] .project-stat-card h3,
body[data-brand="sazeh-sazan"] .project-stat-card-main h3 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.7;
}

body[data-brand="sazeh-sazan"] .project-stat-card p,
body[data-brand="sazeh-sazan"] .project-stat-card-main p {
    margin: 0;
    max-width: 100%;
    color: rgba(255,255,255,.63);
    font-size: .78rem;
    line-height: 1.9;
}

@media (max-width: 1050px) {
    body[data-brand="sazeh-sazan"] .project-stats-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body[data-brand="sazeh-sazan"] .project-stat-card,
    body[data-brand="sazeh-sazan"] .project-stat-card-main {
        min-height: 190px;
    }
}

@media (max-width: 700px) {
    body[data-brand="sazeh-sazan"] .project-stats-premium {
        margin-top: -28px;
        padding-bottom: 52px;
    }

    body[data-brand="sazeh-sazan"] .project-stats-premium::before {
        inset: 28px 0 0;
    }

    body[data-brand="sazeh-sazan"] .project-stats-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        padding: 10px;
        border-radius: 19px;
    }

    body[data-brand="sazeh-sazan"] .project-stat-card,
    body[data-brand="sazeh-sazan"] .project-stat-card-main {
        grid-column: auto;
        min-height: 176px;
        gap: 10px;
        padding: 17px 14px;
        border-radius: 14px;
    }

    body[data-brand="sazeh-sazan"] .project-stat-top {
        align-items: flex-start;
    }

    body[data-brand="sazeh-sazan"] .project-stat-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: .95rem;
        border-radius: 12px;
    }

    body[data-brand="sazeh-sazan"] .project-stat-kicker {
        font-size: .72rem;
    }

    body[data-brand="sazeh-sazan"] .project-stat-number,
    body[data-brand="sazeh-sazan"] .project-stat-card-main .project-stat-number {
        font-size: 2.35rem;
    }

    body[data-brand="sazeh-sazan"] .project-stat-card h3,
    body[data-brand="sazeh-sazan"] .project-stat-card-main h3 {
        font-size: .88rem;
    }

    body[data-brand="sazeh-sazan"] .project-stat-card p,
    body[data-brand="sazeh-sazan"] .project-stat-card-main p {
        font-size: .7rem;
        line-height: 1.75;
    }
}

@media (max-width: 390px) {
    body[data-brand="sazeh-sazan"] .project-stats-panel {
        grid-template-columns: 1fr;
    }

    body[data-brand="sazeh-sazan"] .project-stat-card,
    body[data-brand="sazeh-sazan"] .project-stat-card-main {
        min-height: 145px;
        padding: 18px;
    }

    body[data-brand="sazeh-sazan"] .project-stat-top {
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    body[data-brand="sazeh-sazan"] .project-stat-card,
    body[data-brand="sazeh-sazan"] .project-stat-icon {
        transition: none;
    }
}
