/* ========================================
   Mak4Soft Client Website - Redesign
   Matching the provided design image
   ======================================== */

:root {
    --color-dark: #0a0e27;
    --color-dark-light: #12163a;
    --color-purple: #7c3aed;
    --color-purple-light: #9061f7;
    --color-purple-dark: #6d28d9;
    --color-white: #ffffff;
    --color-gray: #6b7280;
    --color-gray-light: #f3f4f6;
    --color-border: #e5e7eb;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    color: #333;
    overflow-x: hidden;
    direction: rtl;
    background: var(--color-white);
}

/* ========================================
   NAVBAR
   ======================================== */
#mainNavbar {
    background: var(--color-dark);
    padding: 1rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

#mainNavbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    font-weight: 900;
}

.brand-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.5px;
}

.navbar-nav {
    gap: 0.25rem;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--color-white);
    background: rgba(124, 58, 237, 0.15);
}

.navbar-nav .nav-link.active {
    color: var(--color-purple-light);
}

.nav-phone {
    color: rgba(255,255,255,0.8);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-phone:hover {
    color: var(--color-white);
}

.nav-phone i {
    color: var(--color-purple-light);
    font-size: 1.1rem;
}

.btn-nav-cta {
    background: var(--color-purple);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-nav-cta:hover {
    background: var(--color-purple-dark);
    color: white;
    transform: translateY(-1px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: var(--color-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: right center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to left, rgba(10, 14, 39, 0.92) 0%, rgba(10, 14, 39, 0.6) 40%, rgba(10, 14, 39, 0.2) 100%);
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-subtitle {
    color: var(--color-purple-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-title {
    color: var(--color-white);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.hero-title .highlight {
    color: var(--color-purple-light);
}

.hero-description {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
    max-width: 500px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.hero-entity {
    color: rgba(255,255,255,0.95);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.7;
    margin: 0 0 0.75rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.hero-description-secondary {
    font-size: 0.98rem;
    opacity: 0.9;
    margin-top: -1rem;
}

.seo-answer {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #444;
    margin-bottom: 1.75rem;
}

.seo-prose {
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.seo-block-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--color-dark);
}

.seo-faq {
    margin-top: 2rem;
}

.seo-faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.65rem;
    background: #fff;
}

.seo-faq .accordion-button {
    font-weight: 600;
    font-family: inherit;
}

.seo-faq .accordion-button:not(.collapsed) {
    background: rgba(124, 58, 237, 0.08);
    color: var(--color-dark);
    box-shadow: none;
}

.seo-faq .accordion-body p {
    margin: 0;
    line-height: 1.8;
    color: #555;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--color-purple);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-primary:hover {
    background: var(--color-purple-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: var(--color-white);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 0.9rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-hero-secondary:hover {
    border-color: var(--color-purple);
    color: var(--color-purple-light);
    background: rgba(124, 58, 237, 0.1);
}

.hero-image-wrapper {
    position: relative;
    z-index: 2;
}

.hero-growth-badge {
    position: absolute;
    top: 20%;
    left: -10%;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-growth-badge .badge-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.hero-growth-badge .badge-value {
    color: var(--color-purple-light);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
    background: var(--color-white);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--color-border);
}

.stat-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.stat-separator {
    color: var(--color-border);
    font-size: 1.5rem;
    font-weight: 300;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.stat-icon {
    width: 45px;
    height: 45px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
    color: var(--color-purple);
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 0.15rem;
}

.stat-label {
    color: var(--color-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--color-gray-light);
}

.section-title-wrapper {
    text-align: center;
    margin-bottom: 3rem;
}

.section-label {
    color: var(--color-purple);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.section-label::before,
.section-label::after {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--color-purple);
}

.section-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.section-description {
    color: var(--color-gray);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   ABOUT CARD (dark, image + content side by side)
   ======================================== */
.about-dark-card {
    background: var(--color-dark);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    min-height: 400px;
}

.about-dark-image {
    width: 40%;
    min-height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.about-dark-content {
    padding: 2rem 1.5rem;
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-dark-content .section-label {
    justify-content: flex-start;
    color: var(--color-purple-light);
}

.about-dark-content .section-label::before {
    display: none;
}

.about-dark-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.about-dark-text {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.about-dark-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.about-dark-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
}

.about-dark-features li i {
    color: var(--color-purple-light);
    font-size: 1.2rem;
}

.btn-about {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.2);
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-about:hover {
    background: var(--color-purple);
    border-color: var(--color-purple);
    color: white;
}

/* ========================================
   SERVICE CARDS
   ======================================== */
.service-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: var(--color-purple);
}

.service-icon {
    width: 45px;
    height: 45px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.3rem;
    color: var(--color-purple);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-purple);
    color: white;
}

.service-detail-card {
    height: auto;
    text-align: right;
}

.service-detail-card:hover {
    transform: none;
}

.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-sidebar-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: right;
    border: 1px solid var(--color-border);
    height: auto;
}

.service-sidebar-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
    color: var(--color-dark);
}

.service-sidebar-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.service-sidebar-item:last-of-type {
    margin-bottom: 1rem;
}

.service-sidebar-item-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.35rem;
}

.service-sidebar-item-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.service-sidebar-item-title a:hover {
    color: var(--color-purple);
}

.service-sidebar-item-text {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin: 0;
}

.service-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.4rem;
}

.service-description {
    color: var(--color-gray);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.service-link {
    color: var(--color-purple);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.8rem;
    color: var(--color-purple-dark);
}

/* ========================================
   PORTFOLIO FILTER BUTTONS
   ======================================== */
.portfolio-filter-btn {
    background: transparent !important;
    color: var(--color-dark) !important;
    border: 2px solid var(--color-border) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.25rem;
}

.portfolio-filter-btn:hover {
    border-color: var(--color-purple) !important;
    color: var(--color-purple) !important;
    background: rgba(124, 58, 237, 0.05) !important;
}

.portfolio-filter-btn.active {
    background: var(--color-purple) !important;
    color: var(--color-white) !important;
    border-color: var(--color-purple) !important;
}

/* ========================================
   PORTFOLIO CARDS
   ======================================== */
.portfolio-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    height: 100%;
    display: block;
    color: inherit;
    text-decoration: none;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

/* Small portfolio card variant (4 per row) */
.portfolio-card-sm .portfolio-image {
    height: 130px;
}

.portfolio-card-sm .portfolio-info {
    padding: 0.75rem;
}

.portfolio-card-sm .portfolio-title {
    font-size: 0.85rem;
    margin-bottom: 0.35rem;
}

.portfolio-card-sm .portfolio-category {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
}

.portfolio-card:hover .portfolio-image {
    transform: scale(1.05);
}

.portfolio-image-wrapper {
    overflow: hidden;
}

.portfolio-info {
    padding: 1.25rem;
    text-align: center;
}

.portfolio-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.portfolio-category {
    display: inline-block;
    background: rgba(124, 58, 237, 0.08);
    color: var(--color-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-show-all {
    background: var(--color-purple);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-show-all:hover {
    background: var(--color-purple-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

/* ========================================
   TESTIMONIALS + CTA
   ======================================== */
.testimonial-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid var(--color-border);
    height: 100%;
    position: relative;
}

.testimonial-quote-icon {
    font-size: 3rem;
    color: var(--color-purple);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-text {
    color: var(--color-gray);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-weight: 700;
    color: var(--color-dark);
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.testimonial-role {
    color: var(--color-gray);
    font-size: 0.85rem;
}

.cta-purple-card {
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-purple-icon {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.cta-purple-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.cta-purple-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.btn-cta-white {
    background: white;
    color: var(--color-purple);
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-cta-white:hover {
    background: rgba(255,255,255,0.9);
    color: var(--color-purple-dark);
    transform: translateY(-2px);
}

/* ========================================
   TESTIMONIAL SLIDER
   ======================================== */
.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Smaller testimonial card */
.testimonial-card-sm {
    padding: 1.5rem;
}

.testimonial-card-sm .testimonial-quote-icon {
    font-size: 2rem;
    margin-bottom: 0.3rem;
}

.testimonial-card-sm .testimonial-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.testimonial-card-sm .testimonial-avatar {
    width: 40px;
    height: 40px;
}

.testimonial-card-sm .testimonial-name {
    font-size: 0.9rem;
}

.testimonial-card-sm .testimonial-role {
    font-size: 0.8rem;
}

/* Slider dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
}

.slider-dot.active {
    background: var(--color-purple);
    width: 24px;
    border-radius: 5px;
}

/* ========================================
   SMALLER CTA CARD
   ======================================== */
.cta-purple-card-sm {
    padding: 1.5rem 1.5rem;
}

.cta-purple-card-sm .cta-purple-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-purple-card-sm .cta-purple-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.cta-purple-card-sm .cta-purple-text {
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.cta-purple-card-sm .btn-cta-white {
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
}

/* ========================================
   WORK STEPS
   ======================================== */
.work-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.work-step {
    flex: 1;
    min-width: 160px;
    max-width: 200px;
    text-align: center;
    padding: 0 0.75rem;
    position: relative;
}

.step-icon {
    width: 70px;
    height: 70px;
    background: rgba(124, 58, 237, 0.08);
    border: 2px solid rgba(124, 58, 237, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.8rem;
    color: var(--color-purple);
    transition: var(--transition);
}

.work-step:hover .step-icon {
    background: var(--color-purple);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.25);
}

.step-number {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-purple-light);
    letter-spacing: 1px;
    margin-bottom: 0.4rem;
}

.step-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.8rem;
    color: var(--color-gray);
    line-height: 1.7;
    margin-bottom: 0;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    color: var(--color-purple);
    font-size: 1.5rem;
    opacity: 0.4;
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .work-steps {
        gap: 1.5rem;
    }
    
    .step-arrow {
        display: none;
    }
    
    .work-step {
        min-width: 140px;
    }
}

@media (max-width: 767px) {
    .work-steps {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .work-step {
        max-width: 280px;
        width: 100%;
    }
}

/* ========================================
   BLOG CARDS
   ======================================== */
.blog-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.blog-image-wrapper {
    position: relative;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

.blog-date {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--color-purple);
    color: white;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

.blog-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-author {
    color: var(--color-purple);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.blog-excerpt {
    color: var(--color-gray);
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-link {
    color: var(--color-purple);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 0.8rem;
    color: var(--color-purple-dark);
}

/* ========================================
   PARTNERS - Premium Design
   ======================================== */
.pt-partners-section {
    padding: 5rem 0 4rem;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.pt-partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(124, 58, 237, 0.08), transparent),
        radial-gradient(ellipse 600px 400px at 80% 50%, rgba(124, 58, 237, 0.05), transparent);
    pointer-events: none;
}

/* Header */
.pt-partners-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.pt-partners-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.18);
    color: #b794f6;
    padding: 0.5rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 1px solid rgba(124, 58, 237, 0.35);
}

.pt-partners-label i {
    font-size: 1rem;
}

.pt-partners-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.pt-partners-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.9;
}

/* Marquee */
.pt-marquee-wrapper {
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding: 0.5rem 0;
    mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent);
}

.pt-marquee-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: pt-marquee-scroll 50s linear infinite;
}

.pt-marquee-wrapper:hover .pt-marquee-track {
    animation-play-state: paused;
}

@keyframes pt-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.pt-partner-card {
    flex-shrink: 0;
    width: 200px;
}

.pt-partner-link {
    text-decoration: none;
    display: block;
}

.pt-partner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    transition: var(--transition);
    min-height: 130px;
}

.pt-partner-card:hover .pt-partner-inner {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.12);
}

.pt-partner-img {
    height: 55px;
    width: 130px;
    object-fit: contain;
    transition: var(--transition);
}

.pt-partner-card:hover .pt-partner-img {
    transform: scale(1.08);
}

.pt-partner-fallback {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.pt-partner-fallback span {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-white);
}

.pt-partner-fallback.sm {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.pt-partner-fallback.sm span {
    font-size: 1rem;
}

.pt-partner-card:hover .pt-partner-fallback {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.pt-partner-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
    transition: var(--transition);
}

.pt-partner-card:hover .pt-partner-name {
    color: rgba(255, 255, 255, 0.85);
}

/* Static grid (visible on small screens, hidden on large) */
.pt-partners-grid {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.pt-grid-card a {
    text-decoration: none;
    display: block;
}

.pt-grid-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.2rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: var(--transition);
}

.pt-grid-card:hover .pt-grid-inner {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(124, 58, 237, 0.3);
}

.pt-grid-inner img {
    height: 45px;
    width: 100px;
    object-fit: contain;
}

.pt-grid-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.pt-no-partners {
    text-align: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Responsive: show grid, hide marquee on small screens */
@media (max-width: 767px) {
    .pt-marquee-wrapper {
        display: none;
    }
    .pt-partners-grid {
        display: grid;
    }
    .pt-partners-title {
        font-size: 1.6rem;
    }
    .pt-partners-desc {
        font-size: 0.9rem;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pt-partner-card {
        width: 170px;
    }
}

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    background: var(--color-dark);
    padding: 10rem 0 4rem;
    text-align: center;
    color: var(--color-white);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237c3aed' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-breadcrumb {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.page-breadcrumb a {
    color: var(--color-purple-light);
    text-decoration: none;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 3;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
}

.footer-brand .brand-text {
    font-size: 1.3rem;
}

.footer-desc {
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--color-purple);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--color-white);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-purple-light);
    padding-right: 0.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--color-purple-light);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--color-purple-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    margin-top: 3rem;
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-entity {
        font-size: 1.05rem;
    }
    
    .stat-item {
        border-bottom: 1px solid var(--color-border);
        padding: 0.75rem 0;
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .stat-separator {
        display: none;
    }
    
    .stats-bar {
        margin-top: -30px;
    }
    
    .about-dark-card {
        flex-direction: column;
    }
    
    .about-dark-image {
        width: 100%;
        height: 200px;
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    .hero-entity {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-heading {
        font-size: 1.7rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .navbar-collapse {
        background: var(--color-dark);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
    }
}

/* ========================================
   PORTFOLIO PAGE — PREMIUM STYLES
   ======================================== */

/* --- HERO --- */
.pf-hero {
    background: var(--color-dark);
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.pf-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.pf-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: pfGridMove 20s linear infinite;
}
@keyframes pfGridMove {
    0% { transform: translate(0,0); }
    100% { transform: translate(60px,60px); }
}
.pf-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
    animation: pfGlowPulse 6s ease-in-out infinite alternate;
}
.pf-hero-glow-1 {
    width: 500px; height: 500px;
    background: var(--color-purple);
    top: -100px; right: -100px;
}
.pf-hero-glow-2 {
    width: 400px; height: 400px;
    background: #4f46e5;
    bottom: -80px; left: -80px;
    animation-delay: 3s;
}
@keyframes pfGlowPulse {
    0% { opacity: 0.15; transform: scale(1); }
    100% { opacity: 0.35; transform: scale(1.1); }
}
.pf-floating-shapes span {
    position: absolute;
    border: 1px solid rgba(124,58,237,0.15);
    border-radius: 8px;
    animation: pfFloat 12s ease-in-out infinite;
}
.pf-shape-1 { width: 60px; height: 60px; top: 15%; left: 10%; animation-delay: 0s; transform: rotate(15deg); }
.pf-shape-2 { width: 40px; height: 40px; top: 60%; right: 15%; animation-delay: 2s; border-radius: 50%; }
.pf-shape-3 { width: 80px; height: 80px; bottom: 20%; left: 25%; animation-delay: 4s; transform: rotate(-20deg); }
.pf-shape-4 { width: 30px; height: 30px; top: 30%; right: 30%; animation-delay: 6s; border-radius: 50%; }
@keyframes pfFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-20px) rotate(10deg); opacity: 0.6; }
}
.pf-hero-content {
    position: relative;
    z-index: 5;
    max-width: 700px;
    margin: 0 auto;
}
.pf-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124,58,237,0.12);
    border: 1px solid rgba(124,58,237,0.25);
    color: var(--color-purple-light);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}
.pf-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.pf-hero-subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-purple-light);
    margin-bottom: 1rem;
}
.pf-hero-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.pf-hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.pf-scroll-indicator {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
}
.pf-scroll-indicator span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--color-purple-light);
    border-radius: 2px;
    margin: 6px auto;
    animation: pfScrollBounce 1.5s ease-in-out infinite;
}
@keyframes pfScrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.3; }
}

/* --- BUTTONS --- */
.pf-btn-primary {
    background: var(--color-purple);
    color: #fff;
    border: none;
    padding: 0.8rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.pf-btn-primary:hover {
    background: var(--color-purple-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124,58,237,0.4);
}
.pf-btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }
.pf-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.2);
    padding: 0.8rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}
.pf-btn-outline:hover {
    border-color: var(--color-purple);
    color: var(--color-purple-light);
    background: rgba(124,58,237,0.1);
}
.pf-btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
}
.pf-btn-outline-light:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* --- FILTER --- */
.pf-filter-section {
    padding: 4rem 0;
    background: var(--color-gray-light);
}
.pf-filter-wrapper { }
.pf-filter-nav {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 3rem;
}
.pf-filter-btn {
    background: #fff;
    color: var(--color-dark);
    border: 2px solid var(--color-border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Cairo', sans-serif;
}
.pf-filter-btn:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
    background: rgba(124,58,237,0.04);
}
.pf-filter-btn.active {
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    color: #fff;
    border-color: var(--color-purple);
    box-shadow: 0 4px 15px rgba(124,58,237,0.3);
}

/* --- FEATURED PROJECT --- */
.pf-featured {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    margin-bottom: 3rem;
    position: relative;
    transition: all 0.3s ease;
}
.pf-featured:hover {
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border-color: rgba(124,58,237,0.2);
}
.pf-featured-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: linear-gradient(135deg, var(--color-purple), var(--color-purple-dark));
    color: #fff;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.pf-featured-visual {
    position: relative;
    padding: 2rem 2rem 2rem 0;
}
.pf-browser-frame {
    background: #1a1d3a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    position: relative;
}
.pf-browser-bar {
    background: #12153a;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pf-browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.pf-dot-red { background: #ff5f57; }
.pf-dot-yellow { background: #ffbd2e; }
.pf-dot-green { background: #28c840; }
.pf-browser-url {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-right: 0.5rem;
}
.pf-browser-body {
    min-height: 280px;
    background: linear-gradient(135deg, #1a1d3a, #0a0e27);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.pf-featured-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pf-browser-frame:hover .pf-featured-img { transform: scale(1.03); }
.pf-featured-placeholder {
    text-align: center;
    color: rgba(255,255,255,0.3);
    padding: 3rem;
}
.pf-featured-placeholder i { font-size: 4rem; display: block; margin-bottom: 0.5rem; }
.pf-featured-glow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 40px;
    background: var(--color-purple);
    filter: blur(40px);
    opacity: 0.15;
    border-radius: 50%;
}
.pf-featured-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.pf-featured-cat {
    display: inline-block;
    background: rgba(124,58,237,0.08);
    color: var(--color-purple);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    width: fit-content;
}
.pf-featured-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.pf-featured-desc {
    color: var(--color-gray);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.pf-featured-block {
    background: var(--color-gray-light);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
}
.pf-featured-block h4 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-purple);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.pf-featured-block p {
    font-size: 0.8rem;
    color: var(--color-gray);
    margin: 0;
    line-height: 1.6;
}
.pf-featured-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0;
}
.pf-feature-chip {
    background: rgba(124,58,237,0.06);
    color: var(--color-dark);
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}
.pf-feature-chip i { color: var(--color-purple); font-size: 0.85rem; }
.pf-featured-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.pf-tech-badge {
    background: var(--color-dark);
    color: var(--color-purple-light);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}
.pf-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--color-gray);
}
.pf-featured-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.pf-featured-meta i { color: var(--color-purple); }
.pf-featured-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: auto;
}
.pf-featured-ctas .pf-btn-outline {
    color: var(--color-dark);
    border-color: var(--color-border);
}
.pf-featured-ctas .pf-btn-outline:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
}

/* --- PROJECT CARDS GRID --- */
.pf-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}
.pf-project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all 0.4s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.pf-project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: rgba(124,58,237,0.25);
}
.pf-card-image-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}
.pf-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.pf-project-card:hover .pf-card-image { transform: scale(1.08); }
.pf-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-purple), var(--color-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.4);
    font-size: 3rem;
}
.pf-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,14,39,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.pf-project-card:hover .pf-card-overlay { opacity: 1; }
.pf-card-view-btn {
    background: var(--color-purple);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transform: translateY(10px);
    transition: transform 0.3s ease;
}
.pf-project-card:hover .pf-card-view-btn { transform: translateY(0); }
.pf-card-cat {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(10,14,39,0.75);
    color: #fff;
    padding: 0.3rem 0.75rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}
.pf-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.pf-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.pf-card-desc {
    color: var(--color-gray);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.pf-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}
.pf-card-feat {
    background: var(--color-gray-light);
    color: var(--color-dark);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.pf-card-feat i { color: var(--color-purple); font-size: 0.8rem; }
.pf-card-feat-more { background: rgba(124,58,237,0.08); color: var(--color-purple); }
.pf-card-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
}
.pf-tech-badge-sm {
    background: var(--color-dark);
    color: var(--color-purple-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
}
.pf-card-footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}
.pf-card-link {
    color: var(--color-purple);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s ease;
}
.pf-card-link:hover { gap: 0.7rem; color: var(--color-purple-dark); }

.pf-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--color-gray);
}
.pf-empty i { font-size: 4rem; margin-bottom: 1rem; display: block; opacity: 0.4; }
.pf-empty h3 { color: var(--color-dark); margin-bottom: 0.5rem; }

/* --- MODAL --- */
.pf-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10,14,39,0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.pf-modal-enter { animation: pfModalIn 0.3s ease; }
.pf-modal-leave { animation: pfModalOut 0.2s ease; }
@keyframes pfModalIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes pfModalOut { from { opacity: 1; } to { opacity: 0; } }
.pf-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: pfModalSlide 0.3s ease;
}
@keyframes pfModalSlide { from { transform: translateY(30px) scale(0.95); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.pf-modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.pf-modal-close:hover { background: var(--color-purple); }
.pf-modal-hero {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}
.pf-modal-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pf-modal-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,14,39,0.9) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}
.pf-modal-hero-overlay h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
}
.pf-modal-cat {
    display: inline-block;
    background: var(--color-purple);
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    width: fit-content;
}
.pf-modal-content { padding: 1.5rem; }
.pf-modal-desc {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}
.pf-modal-block {
    background: var(--color-gray-light);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.pf-modal-block h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.pf-modal-block h4 i { color: var(--color-purple); }
.pf-modal-block p { color: var(--color-gray); font-size: 0.9rem; margin: 0; line-height: 1.7; }
.pf-modal-features { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.pf-modal-feat {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
}
.pf-modal-feat i { color: var(--color-purple); font-size: 1.2rem; margin-top: 0.1rem; flex-shrink: 0; }
.pf-modal-feat strong { display: block; font-size: 0.85rem; color: var(--color-dark); margin-bottom: 0.15rem; }
.pf-modal-feat p { font-size: 0.75rem; color: var(--color-gray); margin: 0; line-height: 1.5; }
.pf-modal-techs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pf-modal-results {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.pf-modal-result {
    flex: 1;
    min-width: 100px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 0.75rem;
}
.pf-modal-result-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-purple);
}
.pf-modal-result-label {
    font-size: 0.75rem;
    color: var(--color-gray);
}
.pf-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
    padding: 1rem;
    background: var(--color-gray-light);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--color-gray);
}
.pf-modal-meta span { display: flex; align-items: center; gap: 0.3rem; }
.pf-modal-meta i { color: var(--color-purple); }
.pf-modal-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}
.pf-modal-ctas .pf-btn-outline {
    color: var(--color-dark);
    border-color: var(--color-border);
}
.pf-modal-ctas .pf-btn-outline:hover {
    border-color: var(--color-purple);
    color: var(--color-purple);
}

/* --- SECTION HEADERS --- */
.pf-section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.pf-section-header-light .pf-section-label { color: var(--color-purple-light); }
.pf-section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-purple);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
}
.pf-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}
.pf-section-desc {
    color: var(--color-gray);
    font-size: 1rem;
    max-width: 550px;
    margin: 0 auto;
}

/* --- FEATURES SECTION --- */
.pf-features-section {
    padding: 5rem 0;
    background: #fff;
}
.pf-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}
.pf-feature-card {
    background: var(--color-gray-light);
    border-radius: 16px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    border: 1px solid transparent;
    transition: all 0.4s ease;
}
.pf-feature-card:hover {
    background: #fff;
    border-color: rgba(124,58,237,0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}
.pf-feature-icon {
    width: 55px;
    height: 55px;
    background: rgba(124,58,237,0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--color-purple);
    transition: all 0.3s ease;
}
.pf-feature-card:hover .pf-feature-icon {
    background: var(--color-purple);
    color: #fff;
    transform: scale(1.1);
}
.pf-feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}
.pf-feature-desc {
    color: var(--color-gray);
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0;
}

/* --- TECH SECTION --- */
.pf-tech-section {
    padding: 5rem 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
}
.pf-tech-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(124,58,237,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(124,58,237,0.05) 0%, transparent 40%);
}
.pf-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 2;
}
.pf-tech-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}
.pf-tech-card:hover {
    background: rgba(124,58,237,0.1);
    border-color: rgba(124,58,237,0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(124,58,237,0.15);
}
.pf-tech-icon {
    font-size: 2rem;
    color: var(--color-purple-light);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}
.pf-tech-card:hover .pf-tech-icon { color: #fff; transform: scale(1.15); }
.pf-tech-name {
    color: rgba(255,255,255,0.8);
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- STATS SECTION --- */
.pf-stats-section {
    padding: 5rem 0;
    background: var(--color-gray-light);
}
.pf-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
}
.pf-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.25rem;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}
.pf-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
    border-color: rgba(124,58,237,0.2);
}
.pf-stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(124,58,237,0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-size: 1.4rem;
    color: var(--color-purple);
}
.pf-stat-value {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 0.35rem;
}
.pf-stat-label {
    color: var(--color-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- RESULTS SECTION --- */
.pf-results-section {
    padding: 5rem 0;
    background: #fff;
}
.pf-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}
.pf-result-card {
    background: var(--color-gray-light);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}
.pf-result-card:hover {
    background: #fff;
    border-color: rgba(124,58,237,0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
.pf-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}
.pf-result-icon {
    width: 42px;
    height: 42px;
    background: rgba(124,58,237,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-purple);
}
.pf-result-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-purple);
}
.pf-result-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}
.pf-result-bar {
    height: 6px;
    background: rgba(124,58,237,0.1);
    border-radius: 3px;
    overflow: hidden;
}
.pf-result-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-purple), var(--color-purple-light));
    border-radius: 3px;
    width: 0;
    transition: width 1.5s ease;
}

/* --- TESTIMONIALS --- */
.pf-testimonials-section {
    padding: 5rem 0;
    background: var(--color-gray-light);
}
.pf-testimonials-slider {
    position: relative;
    overflow: hidden;
    max-width: 700px;
    margin: 0 auto;
}
.pf-testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}
.pf-testimonial-slide.active { display: block; }
.pf-testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    border: 1px solid var(--color-border);
}
.pf-testimonial-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}
.pf-testimonial-text {
    color: var(--color-dark);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1.5rem;
}
.pf-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.pf-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.pf-avatar-placeholder {
    background: var(--color-purple);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}
.pf-testimonial-name {
    font-weight: 700;
    color: var(--color-dark);
    font-size: 0.95rem;
}
.pf-testimonial-role {
    color: var(--color-gray);
    font-size: 0.8rem;
}
.pf-testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.pf-testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    cursor: pointer;
    transition: all 0.3s ease;
}
.pf-testimonial-dot.active {
    background: var(--color-purple);
    width: 28px;
    border-radius: 5px;
}

/* --- CTA SECTION --- */
.pf-cta-section {
    padding: 5rem 0;
    background: var(--color-dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}
.pf-cta-bg {
    position: absolute;
    inset: 0;
}
.pf-cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.pf-cta-glow-1 {
    width: 400px; height: 400px;
    background: var(--color-purple);
    opacity: 0.15;
    top: -100px; right: 20%;
}
.pf-cta-glow-2 {
    width: 300px; height: 300px;
    background: #4f46e5;
    opacity: 0.1;
    bottom: -80px; left: 10%;
}
.pf-cta-content {
    max-width: 600px;
    margin: 0 auto;
}
.pf-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
}
.pf-cta-desc {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}
.pf-cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- REVEAL ANIMATION --- */
.pf-reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.pf-reveal.pf-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 991px) {
    .pf-hero-title { font-size: 2.5rem; }
    .pf-featured .row { flex-direction: column; }
    .pf-featured-visual { padding: 1.5rem; }
    .pf-projects-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .pf-modal-features { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .pf-hero { min-height: 50vh; padding: 8rem 0 4rem; }
    .pf-hero-title { font-size: 2rem; }
    .pf-hero-subtitle { font-size: 1.1rem; }
    .pf-hero-btns { flex-direction: column; }
    .pf-hero-btns .pf-btn-primary,
    .pf-hero-btns .pf-btn-outline { width: 100%; justify-content: center; }
    .pf-filter-nav { gap: 0.35rem; }
    .pf-filter-btn { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
    .pf-projects-grid { grid-template-columns: 1fr; }
    .pf-section-title { font-size: 1.5rem; }
    .pf-cta-title { font-size: 1.6rem; }
    .pf-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pf-features-grid { grid-template-columns: repeat(2, 1fr); }
    .pf-tech-grid { grid-template-columns: repeat(3, 1fr); }
    .pf-results-grid { grid-template-columns: 1fr; }
    .pf-modal { margin: 1rem; max-height: 90vh; }
    .pf-modal-hero { height: 180px; }
    .pf-featured-ctas { flex-direction: column; }
    .pf-featured-ctas .pf-btn-primary,
    .pf-featured-ctas .pf-btn-outline { width: 100%; justify-content: center; }
}
