/* ============================================
   DEMO 4 - XOVITA STYLE
   ============================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #F6C744;
    --primary-dark: #D99A25;
    --primary-light: #FFF5D6;
    --dark: #06142E;
    --dark-2: #0B2343;
    --dark-3: #17375F;
    --text: #263246;
    --text-light: #667085;
    --text-muted: #8993A4;
    --white: #FFFFFF;
    --bg-light: #F5F7FC;
    --border: #DCE3EE;
    --shadow: 0 12px 34px rgba(6, 20, 46, .09);
    --shadow-lg: 0 22px 55px rgba(6, 20, 46, .16);
    --radius: 18px;
    --transition: all .3s ease;
    --font: 'Vazirmatn', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 4px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(242, 101, 34, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
    transform: translateY(-3px);
}

.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

.btn-dark:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===== TOPBAR ===== */
.topbar {
    background: var(--dark);
    color: var(--white);
    padding: 12px 0;
    font-size: 0.88rem;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.topbar-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.topbar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85);
}

.topbar-info i {
    color: var(--primary);
}

.topbar-social {
    display: flex;
    gap: 12px;
}

.topbar-social a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.topbar-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1;
}

.logo-text span {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.92) 0%, rgba(26, 26, 46, 0.7) 100%);
    z-index: 1;
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
    padding: 100px 0;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.subtitle-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
}

.hero-subtitle span {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero h1 .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll a {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ===== SECTION COMMON ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.section-subtitle span:last-child {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.3;
}

/* ===== SERVICES ===== */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    transition: var(--transition);
}

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

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 14px;
}

/* ===== ABOUT ===== */
.about {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 220px;
    height: 220px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 8px solid var(--white);
    box-shadow: var(--shadow-lg);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-experience {
    position: absolute;
    top: 30px;
    right: -30px;
    background: var(--primary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(242, 101, 34, 0.4);
}

.exp-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 5px;
}

.exp-text {
    font-size: 0.95rem;
    font-weight: 600;
}

.about-content .section-subtitle {
    justify-content: flex-start;
}

.about-content h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 20px;
}

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

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark);
}

.about-feature i {
    color: var(--primary);
    font-size: 1.2rem;
}

/* ===== STATS BAR ===== */
.stats-bar {
    padding: 60px 0;
    background: var(--dark);
    position: relative;
}

.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}

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

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.stat-number::after {
    content: '+';
    color: var(--primary);
    margin-right: 5px;
}

.stat-label {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* ===== PROJECTS ===== */
.projects {
    padding: 100px 0;
    background: var(--white);
}

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

.project-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

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

.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(26, 26, 46, 0.95) 0%, transparent 60%);
    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 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-info h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.project-link {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

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

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: var(--primary-dark);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
}

.cta-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-content .section-subtitle {
    justify-content: flex-start;
}

.cta-content .section-subtitle span:last-child {
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 30px;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.cta-feature i {
    color: var(--white);
    font-size: 1.2rem;
}

.cta-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cta-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

/* ===== BLOG ===== */
.blog {
    padding: 100px 0;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
}

.blog-content {
    padding: 25px;
}

.blog-category {
    display: inline-block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.blog-content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 12px;
    line-height: 1.5;
}

.blog-content p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 18px;
}

.blog-link {
    color: var(--primary);
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 14px;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo .logo-text strong {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
}

.footer-logo .logo-text span {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links li i {
    color: var(--primary);
    font-size: 0.85rem;
    width: 16px;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--primary);
    padding-right: 5px;
}

.footer-bottom {
    padding: 25px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 4px 15px rgba(242, 101, 34, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

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

    .about-wrapper,
    .cta-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 20px;
    }

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

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

@media (max-width: 768px) {
    .topbar-info {
        gap: 15px;
    }

    .topbar-info span {
        font-size: 0.8rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .nav-actions .btn {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

    .section-header h2,
    .about-content h2,
    .cta-content h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-img-secondary {
        width: 150px;
        height: 150px;
        bottom: -20px;
        left: -20px;
    }

    .about-experience {
        right: 10px;
        padding: 15px 20px;
    }

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

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .projects-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-shape {
        display: none;
    }

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

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .topbar {
        display: none;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}

/* =========================================================
   DEMO 04 — SAZEH SAZAN PREMIUM BRAND UPDATE
   Main palette: deep navy / architectural blue / warm gold
========================================================= */
body[data-demo="4"] {
    --primary: #F6C744;
    --primary-dark: #D99A25;
    --primary-light: #FFF5D6;
    --dark: #06142E;
    --dark-2: #0B2343;
    --dark-3: #17375F;
    --text: #263246;
    --text-light: #667085;
    --text-muted: #8993A4;
    --bg-light: #F5F7FC;
    --border: #DCE3EE;
    color: #263246;
    background: #F5F7FC;
}

body[data-demo="4"] .topbar {
    color: rgba(255,255,255,.82);
    background: #020B1C;
    border-bottom: 1px solid rgba(246,199,68,.18);
}

body[data-demo="4"] .topbar-info i { color: #F6C744; }
body[data-demo="4"] .topbar-social a {
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
}
body[data-demo="4"] .topbar-social a:hover {
    color: #06142E;
    background: #F6C744;
}

body[data-demo="4"] .header {
    background: rgba(6,20,46,.97);
    border-bottom: 1px solid rgba(246,199,68,.2);
    box-shadow: 0 12px 35px rgba(2,11,28,.16);
    backdrop-filter: blur(16px);
}
body[data-demo="4"] .header.scrolled { background: rgba(2,11,28,.98); }
body[data-demo="4"] .logo-text strong,
body[data-demo="4"] .nav-links a { color: #fff; }
body[data-demo="4"] .logo-text span { color: #F6C744; }
body[data-demo="4"] .logo-icon {
    color: #06142E;
    background: linear-gradient(145deg,#FFE28A,#F6C744 62%,#D99A25);
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(246,199,68,.2);
}
body[data-demo="4"] .nav-links a:hover,
body[data-demo="4"] .nav-links a.active { color: #F6C744; }
body[data-demo="4"] .nav-links a::after { background: #F6C744; }
body[data-demo="4"] .hamburger span { background: #F6C744; }

body[data-demo="4"] .btn {
    border-radius: 999px;
    padding: 14px 25px;
}
body[data-demo="4"] .btn-primary {
    color: #06142E;
    background: linear-gradient(135deg,#FFE28A,#F6C744 60%,#D99A25);
    border-color: #F6C744;
    box-shadow: 0 10px 28px rgba(217,154,37,.22);
}
body[data-demo="4"] .btn-primary:hover {
    color: #06142E;
    background: #E9AE32;
    border-color: #E9AE32;
}
body[data-demo="4"] .btn-outline {
    color: #fff;
    border-color: rgba(255,255,255,.65);
    background: rgba(255,255,255,.04);
}
body[data-demo="4"] .btn-outline:hover {
    color: #06142E;
    background: #F6C744;
    border-color: #F6C744;
}
body[data-demo="4"] .btn-dark {
    color: #fff;
    background: #06142E;
    border-color: #06142E;
}
body[data-demo="4"] .btn-dark:hover {
    color: #06142E;
    background: #F6C744;
    border-color: #F6C744;
}

body[data-demo="4"] .hero {
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #06142E;
}
body[data-demo="4"] .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(2,11,28,.94) 0%,rgba(6,20,46,.78) 52%,rgba(6,20,46,.42) 100%);
}
body[data-demo="4"] .hero-overlay {
    background:
      radial-gradient(circle at 78% 24%,rgba(246,199,68,.14),transparent 26%),
      linear-gradient(180deg,rgba(2,11,28,.08),rgba(2,11,28,.35));
}
body[data-demo="4"] .hero-shape {
    border-color: rgba(246,199,68,.25);
    opacity: .75;
}
body[data-demo="4"] .hero-content { max-width: 690px; }
body[data-demo="4"] .hero-subtitle { color: #F6C744; }
body[data-demo="4"] .hero-subtitle .subtitle-dot { background: #F6C744; box-shadow: 0 0 0 6px rgba(246,199,68,.14); }
body[data-demo="4"] .hero h1 { color: #fff; font-size: clamp(2.6rem,5.2vw,4.8rem); line-height: 1.35; }
body[data-demo="4"] .hero h1 .highlight { color: #F6C744; }
body[data-demo="4"] .hero-content > p { color: rgba(255,255,255,.8); font-size: 1.08rem; line-height: 2.2; }
body[data-demo="4"] .hero-scroll a {
    color: #06142E;
    background: #F6C744;
    box-shadow: 0 8px 24px rgba(246,199,68,.25);
}

body[data-demo="4"] .services {
    padding: 112px 0;
    background: #F5F7FC;
}
body[data-demo="4"] .section-header { margin-bottom: 48px; }
body[data-demo="4"] .section-subtitle { color: #B47A13; }
body[data-demo="4"] .subtitle-dot { background: #F6C744; box-shadow: 0 0 0 5px rgba(246,199,68,.16); }
body[data-demo="4"] .section-header h2,
body[data-demo="4"] .about-content h2 { color: #06142E; font-size: clamp(1.8rem,3.2vw,2.65rem); }
body[data-demo="4"] .section-header > p { color: #667085; }

body[data-demo="4"] .services-grid {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 20px;
}
body[data-demo="4"] .service-card {
    position: relative;
    padding: 0 0 25px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #DCE3EE;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(6,20,46,.07);
    transition: transform .32s ease,border-color .32s ease,box-shadow .32s ease;
}
body[data-demo="4"] .service-card:hover {
    transform: translateY(-9px);
    border-color: rgba(246,199,68,.75);
    box-shadow: 0 24px 48px rgba(6,20,46,.13);
}
body[data-demo="4"] .service-image {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: #0B2343;
}
body[data-demo="4"] .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s ease;
}
body[data-demo="4"] .service-card:hover .service-image img { transform: scale(1.07); }
body[data-demo="4"] .service-image-shade {
    position: absolute;
    inset: 35% 0 0;
    background: linear-gradient(180deg,transparent,rgba(6,20,46,.52));
}
body[data-demo="4"] .service-icon {
    width: 54px;
    height: 54px;
    margin: -27px 24px 14px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06142E;
    background: linear-gradient(145deg,#FFE28A,#F6C744);
    border: 4px solid #fff;
    border-radius: 16px;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(217,154,37,.2);
}
body[data-demo="4"] .service-card h3 {
    padding: 0 24px;
    color: #06142E;
    font-size: 1.08rem;
}
body[data-demo="4"] .service-card p {
    padding: 0 24px;
    color: #667085;
    line-height: 2;
}
body[data-demo="4"] .service-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 12px 24px 0;
    color: #A87312;
    font-weight: 800;
}
body[data-demo="4"] .service-link:hover { color: #06142E; }

body[data-demo="4"] .about {
    padding: 115px 0;
    background: #fff;
}
body[data-demo="4"] .about-img-main img,
body[data-demo="4"] .about-img-secondary img {
    border-radius: 22px;
    box-shadow: 0 22px 48px rgba(6,20,46,.14);
}
body[data-demo="4"] .about-experience {
    color: #06142E;
    background: linear-gradient(145deg,#FFE28A,#F6C744);
    border: 6px solid #fff;
    box-shadow: 0 16px 35px rgba(217,154,37,.24);
}
body[data-demo="4"] .about-features i { color: #C28B1B; }
body[data-demo="4"] .about-content .btn { margin-top: 22px; }

body[data-demo="4"] .stats-bar {
    padding: 72px 0;
    background:
      radial-gradient(circle at 12% 80%,rgba(246,199,68,.1),transparent 25%),
      linear-gradient(120deg,#020B1C,#06142E 58%,#0B2B56);
}
body[data-demo="4"] .stats-grid { gap: 18px; }
body[data-demo="4"] .stat-item {
    min-height: 150px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #fff;
    background: linear-gradient(145deg,rgba(255,255,255,.095),rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.12);
    border-right: 3px solid #F6C744;
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
body[data-demo="4"] .stat-icon {
    color: #06142E;
    background: linear-gradient(145deg,#FFE28A,#F6C744);
    border-radius: 14px;
}
body[data-demo="4"] .stat-number { color: #F6C744; font-size: 2.5rem; font-weight: 900; }
body[data-demo="4"] .stat-label { color: rgba(255,255,255,.76); }

body[data-demo="4"] .project-process {
    padding: 105px 0;
    background: #fff;
}
body[data-demo="4"] .project-process .section-header > p {
    margin: 12px auto 0;
    max-width: 650px;
}
body[data-demo="4"] .process-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}
body[data-demo="4"] .process-card {
    position: relative;
    min-height: 235px;
    padding: 30px 24px;
    overflow: hidden;
    background: #F5F7FC;
    border: 1px solid #DCE3EE;
    border-radius: 20px;
    transition: transform .3s ease,border-color .3s ease,box-shadow .3s ease;
}
body[data-demo="4"] .process-card:hover {
    transform: translateY(-7px);
    border-color: #F6C744;
    box-shadow: 0 18px 38px rgba(6,20,46,.1);
}
body[data-demo="4"] .process-index {
    position: absolute;
    top: 12px;
    left: 18px;
    color: rgba(6,20,46,.08);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
}
body[data-demo="4"] .process-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #06142E;
    background: linear-gradient(145deg,#FFE28A,#F6C744);
    border-radius: 16px;
    font-size: 1.2rem;
}
body[data-demo="4"] .process-card h3 { margin: 20px 0 8px; color: #06142E; font-size: 1.05rem; }
body[data-demo="4"] .process-card p { color: #667085; font-size: .88rem; line-height: 2; }

body[data-demo="4"] .projects {
    padding: 110px 0;
    background: #F5F7FC;
}
body[data-demo="4"] .project-card {
    overflow: hidden;
    border: 1px solid #DCE3EE;
    border-radius: 20px;
    box-shadow: 0 14px 35px rgba(6,20,46,.08);
}
body[data-demo="4"] .project-card img { transition: transform .65s ease; }
body[data-demo="4"] .project-card:hover img { transform: scale(1.06); }
body[data-demo="4"] .project-overlay {
    background: linear-gradient(0deg,rgba(2,11,28,.95),rgba(6,20,46,.05));
}
body[data-demo="4"] .project-category { color: #F6C744; }
body[data-demo="4"] .project-link {
    color: #06142E;
    background: #F6C744;
    border-radius: 50%;
}

body[data-demo="4"] .blog {
    padding: 110px 0;
    background: #fff;
}
body[data-demo="4"] .blog-card {
    overflow: hidden;
    border: 1px solid #DCE3EE;
    border-radius: 20px;
    box-shadow: 0 12px 32px rgba(6,20,46,.07);
}
body[data-demo="4"] .blog-card:hover {
    transform: translateY(-7px);
    border-color: rgba(246,199,68,.7);
    box-shadow: 0 22px 42px rgba(6,20,46,.12);
}
body[data-demo="4"] .blog-category,
body[data-demo="4"] .blog-date { color: #A87312; }
body[data-demo="4"] .blog-link { color: #A87312; }

body[data-demo="4"] .template-pages {
    padding: 105px 0 112px;
    background:
      radial-gradient(circle at 92% 8%,rgba(246,199,68,.09),transparent 23%),
      linear-gradient(180deg,#F5F7FC,#fff);
}
body[data-demo="4"] .template-pages-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 38px;
}
body[data-demo="4"] .template-pages-heading h2 {
    max-width: 760px;
    margin: 12px 0;
    color: #06142E;
    font-size: clamp(1.8rem,3.1vw,2.55rem);
    line-height: 1.55;
}
body[data-demo="4"] .template-pages-heading p {
    max-width: 760px;
    color: #667085;
    line-height: 2;
}
body[data-demo="4"] .template-pages-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 14px;
}
body[data-demo="4"] .template-page-card {
    min-width: 0;
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    color: #263246;
    background: #fff;
    border: 1px solid #DCE3EE;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(6,20,46,.045);
    transition: transform .28s ease,border-color .28s ease,box-shadow .28s ease;
}
body[data-demo="4"] .template-page-card:hover {
    transform: translateY(-5px);
    border-color: #F6C744;
    box-shadow: 0 16px 34px rgba(6,20,46,.1);
}
body[data-demo="4"] .page-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #06142E;
    background: linear-gradient(145deg,#FFE28A,#F6C744);
    border-radius: 13px;
}
body[data-demo="4"] .template-page-card strong,
body[data-demo="4"] .template-page-card small { display: block; }
body[data-demo="4"] .template-page-card strong { color: #06142E; font-size: .9rem; font-weight: 900; }
body[data-demo="4"] .template-page-card small { margin-top: 4px; color: #7A8495; font-size: .72rem; line-height: 1.7; }
body[data-demo="4"] .page-arrow { margin-right: auto; color: #B47A13; font-size: .8rem; }

body[data-demo="4"] .cta-section {
    padding: 90px 0;
    background:
      radial-gradient(circle at 12% 90%,rgba(246,199,68,.13),transparent 27%),
      linear-gradient(120deg,#020B1C,#06142E 62%,#0B2B56);
}
body[data-demo="4"] .cta-wrapper {
    border: 1px solid rgba(246,199,68,.25);
    border-radius: 24px;
}
body[data-demo="4"] .cta-section h2,
body[data-demo="4"] .cta-section p { color: #fff; }
body[data-demo="4"] .cta-section .section-subtitle { color: #F6C744; }

body[data-demo="4"] .footer {
    color: rgba(255,255,255,.75);
    background: #020B1C;
    border-top: 1px solid rgba(246,199,68,.2);
}
body[data-demo="4"] .footer-col h4,
body[data-demo="4"] .footer-logo,
body[data-demo="4"] .footer-bottom { color: #fff; }
body[data-demo="4"] .footer-col h4::after { background: #F6C744; }
body[data-demo="4"] .footer-links a:hover,
body[data-demo="4"] .footer-social a:hover,
body[data-demo="4"] .footer-bottom-links a:hover { color: #F6C744; }
body[data-demo="4"] .back-to-top {
    color: #06142E;
    background: #F6C744;
    box-shadow: 0 8px 22px rgba(217,154,37,.25);
}

@media (max-width: 1050px) {
    body[data-demo="4"] .services-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body[data-demo="4"] .process-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body[data-demo="4"] .template-pages-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 800px) {
    body[data-demo="4"] .hero { min-height: 640px; }
    body[data-demo="4"] .template-pages-heading { align-items: flex-start; flex-direction: column; }
    body[data-demo="4"] .template-pages-heading .btn { width: 100%; justify-content: center; }
    body[data-demo="4"] .template-pages-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body[data-demo="4"] .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 560px) {
    body[data-demo="4"] .hero { min-height: 590px; }
    body[data-demo="4"] .hero h1 { font-size: 2.35rem; }
    body[data-demo="4"] .services,
    body[data-demo="4"] .about,
    body[data-demo="4"] .projects,
    body[data-demo="4"] .blog,
    body[data-demo="4"] .project-process,
    body[data-demo="4"] .template-pages { padding: 72px 0; }
    body[data-demo="4"] .services-grid,
    body[data-demo="4"] .process-grid,
    body[data-demo="4"] .template-pages-grid,
    body[data-demo="4"] .stats-grid { grid-template-columns: 1fr; }
    body[data-demo="4"] .service-image { height: 210px; }
    body[data-demo="4"] .stat-item { min-height: 120px; }
    body[data-demo="4"] .template-page-card { min-height: 96px; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-demo="4"] *,
    body[data-demo="4"] *::before,
    body[data-demo="4"] *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}

/* =========================================================
   DEMO 04 — TARGETED UI POLISH
   Project badge contrast / CTA spacing / premium statistics
========================================================= */

/* Project category badge: readable against every hover image */
body[data-demo="4"] .project-overlay {
    padding: 30px;
    background: linear-gradient(
        0deg,
        rgba(2, 11, 28, .97) 0%,
        rgba(6, 20, 46, .78) 38%,
        rgba(6, 20, 46, .12) 100%
    ) !important;
}

body[data-demo="4"] .project-info {
    color: #FFFFFF;
    text-shadow: 0 2px 12px rgba(0,0,0,.45);
}

body[data-demo="4"] .project-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 6px 15px;
    margin-bottom: 12px;
    color: #FFE7A0 !important;
    background: rgba(4, 17, 38, .94) !important;
    border: 1px solid rgba(246, 199, 68, .9);
    border-radius: 999px;
    box-shadow: 0 5px 18px rgba(0,0,0,.28);
    font-size: .78rem;
    font-weight: 800;
    line-height: 1.4;
    text-shadow: none;
    backdrop-filter: blur(8px);
}

/* Contact CTA: separate the border from its content with real inner padding */
body[data-demo="4"] .cta-section {
    padding: clamp(58px, 7vw, 94px) 0;
}

body[data-demo="4"] .cta-wrapper {
    width: 100%;
    max-width: 1180px;
    margin-inline: auto;
    padding: clamp(25px, 4.5vw, 58px);
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
    background: linear-gradient(
        145deg,
        rgba(255,255,255,.075),
        rgba(255,255,255,.025)
    );
    border: 1px solid rgba(246,199,68,.38);
    border-radius: 26px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        0 22px 55px rgba(0,0,0,.18);
}

body[data-demo="4"] .cta-content {
    min-width: 0;
    padding: 4px;
}

body[data-demo="4"] .cta-content h2 {
    margin: 16px 0 15px;
    color: #FFFFFF;
    font-size: clamp(1.65rem, 2.7vw, 2.35rem);
    line-height: 1.7;
}

body[data-demo="4"] .cta-content > p {
    margin-bottom: 24px;
    color: rgba(255,255,255,.78);
    font-size: .96rem;
    line-height: 2.15;
}

body[data-demo="4"] .cta-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin: 22px 0 28px;
}

body[data-demo="4"] .cta-feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.9);
    font-size: .86rem;
    line-height: 1.8;
}

body[data-demo="4"] .cta-feature i {
    color: #F6C744;
}

body[data-demo="4"] .cta-content .btn {
    margin-top: 4px;
}

body[data-demo="4"] .cta-image {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(246,199,68,.32);
    border-radius: 19px;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(0,0,0,.28);
}

body[data-demo="4"] .cta-image img {
    display: block;
    width: 100%;
    height: clamp(260px, 29vw, 390px);
    object-fit: cover;
}

/* Statistics: premium cards, balanced alignment and distinct number/suffix */
body[data-demo="4"] .stats-bar {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: clamp(72px, 8vw, 108px) 0;
    background:
        radial-gradient(circle at 8% 85%, rgba(246,199,68,.13), transparent 26%),
        radial-gradient(circle at 92% 12%, rgba(55,111,174,.2), transparent 30%),
        linear-gradient(130deg, #020B1C 0%, #06142E 56%, #0B2B56 100%);
}

body[data-demo="4"] .stats-bar::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 520px;
    height: 520px;
    top: -390px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid rgba(246,199,68,.14);
    border-radius: 50%;
    box-shadow:
        0 0 0 32px rgba(246,199,68,.025),
        0 0 0 72px rgba(246,199,68,.018);
    pointer-events: none;
}

body[data-demo="4"] .stats-heading {
    max-width: 720px;
    margin: 0 auto 42px;
    text-align: center;
}

body[data-demo="4"] .stats-heading .section-subtitle {
    justify-content: center;
    color: #F6C744;
}

body[data-demo="4"] .stats-heading .subtitle-dot {
    background: #F6C744;
    box-shadow: 0 0 0 5px rgba(246,199,68,.14);
}

body[data-demo="4"] .stats-heading h2 {
    margin: 14px 0 10px;
    color: #FFFFFF;
    font-size: clamp(1.8rem, 3.2vw, 2.55rem);
    font-weight: 900;
    line-height: 1.55;
}

body[data-demo="4"] .stats-heading p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font-size: .94rem;
    line-height: 2;
}

body[data-demo="4"] .stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    align-items: stretch;
}

body[data-demo="4"] .stat-item {
    position: relative;
    min-width: 0;
    min-height: 218px;
    padding: 27px 20px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 17px;
    text-align: center;
    color: #FFFFFF;
    background:
        linear-gradient(150deg, rgba(255,255,255,.105), rgba(255,255,255,.025));
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 21px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 16px 36px rgba(0,0,0,.16);
    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

body[data-demo="4"] .stat-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 22%;
    left: 22%;
    height: 2px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, transparent, #F6C744, transparent);
    opacity: .85;
}

body[data-demo="4"] .stat-item:hover {
    transform: translateY(-7px);
    border-color: rgba(246,199,68,.55);
    background: linear-gradient(150deg, rgba(246,199,68,.13), rgba(255,255,255,.045));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.09),
        0 22px 42px rgba(0,0,0,.23);
}

body[data-demo="4"] .stat-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #06142E;
    background: linear-gradient(145deg, #FFE28A, #F6C744 62%, #D99A25);
    border: 1px solid rgba(255,255,255,.32);
    border-radius: 17px;
    font-size: 1.35rem;
    box-shadow: 0 9px 22px rgba(217,154,37,.22);
    transition: transform .3s ease;
}

body[data-demo="4"] .stat-item:hover .stat-icon {
    transform: translateY(-3px) rotate(-3deg);
}

body[data-demo="4"] .stat-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

body[data-demo="4"] .stat-value {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    direction: ltr;
    line-height: 1;
    white-space: nowrap;
}

body[data-demo="4"] .stat-number {
    display: inline-block;
    color: #F6C744;
    font-size: clamp(2.15rem, 3vw, 2.8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 5px 18px rgba(246,199,68,.13);
}

body[data-demo="4"] .stat-number::after {
    content: none !important;
    display: none !important;
}

body[data-demo="4"] .stat-suffix {
    display: inline-block;
    margin-top: 2px;
    color: #FFE28A;
    font-size: 1.25rem;
    font-weight: 900;
    line-height: 1;
}

body[data-demo="4"] .stat-label {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.8;
}

/* Responsive refinement */
@media (max-width: 1050px) {
    body[data-demo="4"] .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body[data-demo="4"] .stat-item {
        min-height: 190px;
    }
    body[data-demo="4"] .cta-wrapper {
        gap: 32px;
    }
}

@media (max-width: 800px) {
    body[data-demo="4"] .cta-wrapper {
        padding: 28px;
        gap: 30px;
    }
    body[data-demo="4"] .cta-image img {
        height: 300px;
    }
}

@media (max-width: 560px) {
    body[data-demo="4"] .project-overlay {
        padding: 18px;
    }
    body[data-demo="4"] .project-category {
        min-height: 28px;
        padding: 5px 12px;
        font-size: .72rem;
    }
    body[data-demo="4"] .cta-section {
        padding: 58px 0;
    }
    body[data-demo="4"] .cta-wrapper {
        padding: 21px;
        gap: 24px;
        border-radius: 20px;
    }
    body[data-demo="4"] .cta-content {
        padding: 0;
    }
    body[data-demo="4"] .cta-features {
        gap: 9px 14px;
    }
    body[data-demo="4"] .cta-image img {
        height: 230px;
    }
    body[data-demo="4"] .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }
    body[data-demo="4"] .stat-item {
        min-height: 170px;
        padding: 19px 11px;
        gap: 12px;
        border-radius: 16px;
    }
    body[data-demo="4"] .stat-icon {
        width: 47px;
        height: 47px;
        min-width: 47px;
        border-radius: 13px;
        font-size: 1.05rem;
    }
    body[data-demo="4"] .stat-number {
        font-size: 2rem;
    }
    body[data-demo="4"] .stat-suffix {
        font-size: 1rem;
    }
    body[data-demo="4"] .stat-label {
        font-size: .75rem;
    }
}

@media (max-width: 360px) {
    body[data-demo="4"] .stats-grid {
        grid-template-columns: 1fr;
    }
    body[data-demo="4"] .stat-item {
        min-height: 145px;
    }
}
