/*
Theme Name: Fooz Design Theme
Theme URI: https://fooz.com
Author: Fooz Team
Author URI: https://fooz.com
Description: A custom, elegant, and premium WordPress theme designed specifically for Fooz Marketing and Programming.
Version: 1.9
Text Domain: fooz
*/

/* --- CSS Reset & Variables --- */
:root {
    --primary-color: #0F172A; /* Deep Blue/Navy */
    --secondary-color: #d4af37; /* Elegant Gold */
    --accent-green: #047A46; /* Saudi Green Accent */
    --text-color: #334155;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --font-heading: 'Alexandria', sans-serif;
    --font-body: 'Alexandria', sans-serif;
    --transition: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
}

/* --- Utility Classes --- */
.text-glow {
    color: var(--secondary-color) !important;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.ltr { direction: ltr !important; }
.rtl { direction: rtl !important; }


/* --- Custom Cursor --- */
.custom-cursor {
    width: 15px;
    height: 15px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 999999;
    transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 0 15px var(--secondary-color);
}

.custom-cursor.hover {
    transform: scale(4);
    background-color: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--secondary-color);
}

@media (max-width: 1024px) {
    .custom-cursor { display: none; }
}

html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--light-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b5952f;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

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

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header Styles --- */
.site-header {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.site-branding {
    display: flex;
    align-items: center;
}

.custom-logo {
    width: 100px;
    height: auto;
    display: block;
    transition: var(--transition);
}

.custom-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.site-branding .site-title {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.site-branding .site-title a::after {
    content: '.';
    color: var(--secondary-color);
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.main-navigation ul {
    display: flex;
    gap: 30px;
}

.main-navigation a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to left, var(--secondary-color), var(--accent-green));
    transition: var(--transition);
    border-radius: 2px;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a,
.main-navigation li.current_page_item a {
    color: var(--secondary-color);
}

.main-navigation a:hover::after,
.main-navigation li.current-menu-item a::after,
.main-navigation li.current_page_item a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cta {
    background: linear-gradient(135deg, var(--primary-color), #2d3748) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 25px !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.header-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.3) !important;
    background: linear-gradient(135deg, var(--secondary-color), #b5952f) !important;
    color: #0f172a !important;
}

/* --- Language Switcher Premium --- */
.lang-switcher {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50px;
    text-decoration: none;
    color: var(--primary-color) !important;
    font-weight: 800;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-toggle i {
    color: var(--secondary-color);
    font-size: 1.2rem;
    transition: transform 0.5s ease;
}

.lang-toggle:hover {
    background: var(--primary-color);
    color: #fff !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
    border-color: var(--primary-color);
}
.mobile-menu-toggle {
    display: none;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 12px;
    font-size: 1.2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--primary-color);
    color: #fff;
}

@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding: 100px 40px;
        box-shadow: -20px 0 50px rgba(15, 23, 42, 0.1);
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        gap: 40px !important;
        overflow-y: auto;
    }

    .main-navigation.active {
        right: 0;
    }

    .main-navigation ul {
        flex-direction: column;
        width: 100%;
        gap: 25px !important;
    }

    .main-navigation ul li {
        width: 100%;
    }

    .main-navigation a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
        padding: 10px 0;
    }

    .header-actions {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 25px;
        margin-top: 20px;
        padding-top: 30px;
        border-top: 1px solid #f1f5f9;
    }

    .lang-switcher {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .site-branding .site-title {
        font-size: 1.2rem !important;
    }
}

.lang-toggle:hover i {
    transform: rotate(360deg);
    color: #fff;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 20px;
}

/* --- Premium Hero Section --- */
.hero-premium-section {
    position: relative;
    padding: 140px 0 100px;
    background: #ffffff;
    overflow: hidden;
    color: var(--text-color);
}
.hero-mesh-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(15, 23, 42, 0.03) 0%, transparent 40%);
    opacity: 1;
}
.hero-particles {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}
.particle {
    position: absolute;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(1px);
    animation: particleMove var(--d) infinite linear;
}
@keyframes particleMove {
    from { transform: translateY(0) translateX(0); opacity: 0; }
    20% { opacity: 0.4; }
    80% { opacity: 0.4; }
    to { transform: translateY(-100vh) translateX(var(--x)); opacity: 0; }
}
.hero-split-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 5;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}
.hero-premium-section .hero-main-title {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 25px;
    position: relative;
    z-index: 20;
}
.title-white {
    color: #0f172a !important;
    display: inline-block;
}
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    font-size: 10rem;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.03);
    white-space: nowrap;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    line-height: 1;
}
@media (max-width: 1024px) {
    .hero-watermark { font-size: 6rem; left: 5%; }
}
.text-glow {
    color: var(--secondary-color);
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}
.hero-premium-section .hero-subtitle {
    font-size: 1.15rem;
    color: #475569 !important;
    line-height: 1.8;
    max-width: 550px;
    margin-bottom: 40px;
    position: relative;
    z-index: 20;
}
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    position: relative;
    z-index: 30;
}
.btn-premium-gold {
    background: var(--secondary-color);
    color: #0f172a;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.25);
    display: flex;
    align-items: center;
    gap: 12px;
    border: none;
}
.btn-premium-gold:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.4);
    background: #b5952f;
}
.btn-outline-white {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: var(--secondary-color);
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    overflow: hidden;
}

.btn-outline-white::before {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    border: 1.5px solid var(--secondary-color);
    border-radius: 50%;
    opacity: 0.3;
    transition: var(--transition);
}

[dir="ltr"] .btn-outline-white::before {
    right: auto;
    left: 15px;
}

.btn-outline-white:hover {
    background: #f8fafc;
    border-color: var(--secondary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
}

.btn-outline-white:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}
.hero-stats {
    display: flex;
    gap: 40px;
}
.stat-item {
    display: flex;
    flex-direction: column;
}
.hero-premium-section .stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color) !important;
}
.hero-premium-section .stat-txt {
    font-size: 0.9rem;
    color: #64748b !important;
}

/* Enhanced Visual Side Animations */
.main-visual-box {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-blob {
    position: absolute;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, var(--secondary-color), #0f172a);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.2;
    filter: blur(60px);
    animation: blobMorph 12s infinite alternate ease-in-out;
}

.visual-circle-1, .visual-circle-2, .visual-circle-3 {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    z-index: 5;
    transition: var(--transition);
}

.visual-circle-1 {
    width: 280px;
    height: 280px;
    animation: circleRotate 20s infinite linear, circlePulse 6s infinite ease-in-out;
}

.visual-circle-2 {
    width: 420px;
    height: 420px;
    animation: circleRotate 35s infinite linear reverse, circlePulse 8s infinite ease-in-out 1s;
}

.visual-circle-3 {
    width: 580px;
    height: 580px;
    border-style: dashed;
    opacity: 0.3;
    animation: circleRotate 60s infinite linear;
}

/* Orbital Path & Orb */
.orbital-path {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    z-index: 6;
    animation: circleRotate 15s infinite linear;
}

.orbital-orb {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--secondary-color), 0 0 40px var(--secondary-color);
    filter: brightness(1.2);
}

@keyframes circleRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes circlePulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.6; }
}

@keyframes blobMorph {
    from { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; transform: translate(0, 0) scale(1); }
    to { border-radius: 70% 30% 30% 70% / 60% 40% 40% 60%; transform: translate(-20px, 20px) scale(1.1); }
}

.floating-icon {
    position: absolute;
    width: 85px;
    height: 85px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #0f172a;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
    transition: var(--transition);
}

.floating-icon i {
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.icon-code { top: 0%; right: 5%; animation: premiumFloat 6s infinite ease-in-out; }
.icon-marketing { bottom: 5%; left: 10%; animation: premiumFloat 8s infinite ease-in-out 1s; }
.icon-design { top: 35%; left: -15%; animation: premiumFloat 7s infinite ease-in-out 0.5s; }

@keyframes premiumFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(10px, -20px) rotate(5deg); }
    66% { transform: translate(-10px, 15px) rotate(-5deg); }
}

.hero-visual-side {
    perspective: 1000px;
    transition: transform 0.2s ease-out;
}


/* --- Internal Hero Section --- */
.internal-hero {
    padding: 80px 0 50px;
    background: radial-gradient(circle at 20% 80%, #1e293b 0%, var(--primary-color) 100%);
    position: relative;
    overflow: hidden;
}

.internal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(4, 122, 70, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.internal-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumbs a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--white);
}

.breadcrumbs span {
    color: #94a3b8;
}

/* --- Content Styling --- */
.page-content-wrapper {
    padding: 50px 0;
    background-color: var(--light-bg);
}

.premium-card {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-green));
}

.entry-content h2, .entry-content h3 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.entry-content p {
    margin-bottom: 25px;
    line-height: 1.9;
    color: var(--text-color);
}

/* --- Footer Overhaul --- */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo .footer-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-right: 8px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: #94a3b8;
}

.site-info {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    color: #64748b;
}

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }
}

@media (max-width: 767px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .footer-widget h4::after {
        right: 50%;
        transform: translateX(50%);
    }
    .footer-contact p {
        justify-content: center;
    }
    .footer-inner .social-links {
        justify-content: center;
    }
}



.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

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

/* --- Services Section --- */
.services-section {
    padding: 120px 0;
    background: #fcfcfc;
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    z-index: 1;
}

.services-section .section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #0f172a;
    position: relative;
    z-index: 2;
}

.services-section .section-title::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary-color), #b5952f);
    display: block;
    margin: 15px auto 0;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.service-card:hover {
    transform: translateY(-15px);
    background: #ffffff;
    border-color: var(--secondary-color);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
}

.service-icon-box {
    width: 80px;
    height: 80px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .service-icon-box {
    background: var(--secondary-color);
    color: #0f172a;
    transform: rotateY(360deg);
}

.service-card h3 {
    color: #0f172a;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.service-card p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.8;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Right for RTL can be adjusted in rtl.css */
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}



/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--primary-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}
.preloader-logo {
    color: var(--secondary-color);
    font-size: 3rem;
    letter-spacing: 3px;
    animation: pulseLogo 1.5s infinite;
}
@keyframes pulseLogo {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

/* --- Custom Cursor --- */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease, background-color 0.2s ease;
    transform: translate(-50%, -50%);
}
.custom-cursor.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(212, 175, 55, 0.2);
}

/* --- Back to Top & Floating Actions --- */
.floating-actions-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    transition: var(--transition);
}

body.rtl .floating-actions-container {
    left: auto;
    right: 30px;
}

/* --- Professional WhatsApp Floating --- */
.whatsapp-float {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: whatsappBounce 3s infinite ease-in-out;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    animation: whatsappWiggle 5s infinite;
}

.whatsapp-float::before {
    content: 'تحتاج مساعدة؟';
    position: absolute;
    right: 80px;
    background: #fff;
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
    pointer-events: none;
    border: 1px solid #f1f5f9;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

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

@keyframes whatsappWiggle {
    0%, 90% { transform: rotate(0); }
    92% { transform: rotate(20deg); }
    94% { transform: rotate(-20deg); }
    96% { transform: rotate(20deg); }
    98% { transform: rotate(-20deg); }
    100% { transform: rotate(0); }
}

.back-to-top {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    display: none;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.back-to-top.show {
    display: flex;
}

.whatsapp-float:hover, .back-to-top:hover {
    transform: translateY(-5px) scale(1.05);
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* --- Premium Portfolio Cards --- */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.portfolio-item {
    width: 33.333%;
    padding: 15px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 991px) {
    .portfolio-item { width: 50%; }
}
@media (max-width: 767px) {
    .portfolio-item { width: 100%; }
}

.portfolio-card-premium {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 380px;
    background: var(--primary-color);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.portfolio-card-premium .project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s scale(1.1);
}

.portfolio-card-premium .project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 10%, rgba(255, 255, 255, 0.4) 60%, transparent 100%);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.4s ease;
}

/* --- Services Overview Premium --- */
.services-overview-premium {
    padding: 120px 0;
    background: #f8fafc;
}

.section-header {
    margin-bottom: 80px;
}

.services-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
}

.services-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card-v2 {
    background: #fff;
    padding: 50px;
    border-radius: 40px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card-v2:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
    border-color: var(--secondary-color);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-card-v2:hover .card-icon {
    background: var(--secondary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.service-card-v2 h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card-v2 p {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 767px) {
    .services-overview-premium {
        padding: 80px 0;
    }
    .services-main-title {
        font-size: 2.2rem;
    }
    .service-card-v2 {
        padding: 30px;
    }
}

.portfolio-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.15);
}

.portfolio-card-premium:hover .project-image {
    transform: scale(1.15);
}

.portfolio-card-premium .project-cat {
    color: var(--secondary-color);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    transform: translateY(0);
    opacity: 1;
    transition: all 0.4s ease 0.1s;
}

/* Final Fix for Project Titles Visibility */
.portfolio-gallery .portfolio-grid .portfolio-item .portfolio-card-premium .project-overlay .project-title,
.portfolio-card-premium .project-title,
#portfolio .project-title {
    color: #0f172a !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* --- Responsive Hero Fixes --- */
@media (max-width: 991px) {
    .hero-premium-section {
        padding: 120px 0 60px;
    }
    .hero-split-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .hero-content-side {
        display: flex;
        flex-direction: column;
        align-items: center;
        order: 1;
    }
    .hero-visual-side {
        order: 2;
    }
    .hero-watermark {
        display: none;
    }
    .hero-premium-section .hero-main-title {
        font-size: 2.8rem;
    }
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    .hero-premium-section .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .hero-premium-section .hero-main-title {
        font-size: 2.2rem;
    }
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .btn-premium-gold, .btn-outline-white {
        width: 100%;
        justify-content: center;
        padding: 15px 30px;
    }
    .main-visual-box {
        width: 100%;
        max-width: 320px;
        height: 320px;
    }
    .visual-circle-1 { width: 220px; height: 220px; }
    .visual-circle-2 { width: 300px; height: 300px; }
    .visual-circle-3 { display: none; }
    .orbital-path { width: 300px; height: 300px; }
    .floating-icon { width: 65px; height: 65px; font-size: 1.4rem; }
}

/* --- About Teaser Premium --- */
.about-teaser-premium {
    padding: 120px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.why-split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 80px;
    align-items: center;
}

.why-visual-side {
    position: relative;
}

.visual-inner {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.15);
}

.team-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.6), transparent);
}

.floating-exp-card {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--secondary-color);
    padding: 40px;
    border-radius: 30px;
    color: #0f172a;
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
    z-index: 10;
}

.exp-num {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.exp-txt {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 5px;
}

.why-title {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 30px;
}

.why-desc {
    font-size: 1.15rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
}

.why-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-item-v2 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.f-icon {
    min-width: 45px;
    height: 45px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.f-data h4 {
    margin: 0 0 5px;
    color: var(--primary-color);
    font-weight: 800;
}

.f-data p {
    margin: 0;
    font-size: 0.9rem;
    color: #94a3b8;
}

@media (max-width: 1024px) {
    .why-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .team-img {
        height: 400px;
    }
    .floating-exp-card {
        padding: 30px;
        bottom: -20px;
        left: 20px;
    }
    .why-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .why-split-grid {
        text-align: center;
    }
    .why-title {
        font-size: 1.8rem;
    }
    .why-features-grid {
        grid-template-columns: 1fr;
    }
    .feature-item-v2 {
        flex-direction: row;
        justify-content: flex-start;
        text-align: right;
    }
    .exp-num {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .hero-premium-section .hero-main-title {
        font-size: 1.8rem;
    }
    .hero-premium-section .hero-desc {
        font-size: 1rem;
        line-height: 1.6;
    }
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .hero-actions {
        padding: 0 20px;
    }
}

/* --- Premium Portfolio Styles V2 --- */
.portfolio-page-premium {
    background-color: #ffffff;
}

.internal-hero-v3 {
    padding: 160px 0 100px;
    background: #0f172a;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg-shapes .shape-1, .hero-bg-shapes .shape-2 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--secondary-color);
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: #6366f1;
    bottom: -50px;
    left: -50px;
}

.hero-badge-v2 {
    background: rgba(212, 175, 55, 0.1);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 800;
    font-size: 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.internal-hero-v3 h1 {
    font-size: 4rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-intro {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.breadcrumbs-v3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.breadcrumbs-v3 a {
    color: var(--secondary-color);
}

.breadcrumbs-v3 span.sep {
    color: #475569;
}

.breadcrumbs-v3 span.current {
    color: #fff;
}

.portfolio-section-v2 {
    padding: 100px 0;
    background: #ffffff;
}

.portfolio-filters-v2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 60px;
}

.portfolio-filters-v2 .filter-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #475569;
}

.portfolio-filters-v2 .filter-btn.active, .portfolio-filters-v2 .filter-btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.portfolio-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
}

.project-card-v2 {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    height: 450px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
}

.card-media {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.project-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--secondary-color);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 10%, rgba(15, 23, 42, 0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    opacity: 0;
    transition: all 0.5s ease;
}

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

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

.overlay-content {
    transform: translateY(20px);
    transition: all 0.5s ease 0.1s;
}

.project-card-v2:hover .overlay-content {
    transform: translateY(0);
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.project-tags .tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 700;
}

.project-title {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 800;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.btn-view-details i {
    transition: transform 0.3s ease;
}

.btn-view-details:hover {
    color: var(--secondary-color);
}

.btn-view-details:hover i {
    transform: translateX(-5px);
}

/* --- CTA Section --- */
.portfolio-cta {
    padding-bottom: 100px;
}

.cta-box-premium {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 80px;
    border-radius: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.2);
}

.cta-box-premium::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
}

.cta-text h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 800;
}

.cta-text p {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 500px;
}

/* --- Project Single Premium Styles --- */
.project-single-premium {
    background-color: #ffffff;
    color: var(--text-color);
}

.project-header-v2 {
    padding: 140px 0 80px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.hero-blur-bg {
    position: absolute;
    top: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    filter: blur(50px);
}

.rtl .hero-blur-bg { right: -100px; }
.ltr .hero-blur-bg { left: -100px; }

.project-breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    font-weight: 600;
    margin-bottom: 30px;
    color: #64748b;
    font-size: 0.95rem;
}

.project-breadcrumb a {
    color: var(--secondary-color);
}

.project-main-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.2;
}

.project-meta-top {
    display: flex;
    gap: 20px;
    align-items: center;
}

.meta-badge {
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--secondary-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.meta-date {
    color: #94a3b8;
    font-weight: 600;
}

.project-featured-section {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.featured-wrapper {
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(15, 23, 42, 0.1);
    background: #fff;
    border: 1px solid #f1f5f9;
}

.main-project-img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-placeholder {
    height: 500px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--secondary-color);
}

.project-body-content {
    padding: 100px 0;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
}

.content-card {
    background: #fff;
    border-radius: 30px;
    padding: 0;
}

.section-subtitle {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 30px;
    position: relative;
}

.rtl .section-subtitle { padding-right: 20px; }
.ltr .section-subtitle { padding-left: 20px; }

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 10%;
    height: 80%;
    width: 5px;
    background: var(--secondary-color);
    border-radius: 5px;
}

.rtl .section-subtitle::before { right: 0; }
.ltr .section-subtitle::before { left: 0; }

.entry-content {
    font-size: 1.15rem;
    line-height: 2;
    color: #475569;
}

.entry-content p {
    margin-bottom: 25px;
}

/* Sidebar Redesigned */
.info-card-premium {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 35px;
    padding: 45px;
    position: sticky;
    top: 100px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.info-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 35px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8fafc;
    position: relative;
}

.info-card-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 60px;
    height: 2px;
    background: var(--secondary-color);
}

.rtl .info-card-title::after { right: 0; }
.ltr .info-card-title::after { left: 0; }

.info-list-v2 {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.info-item-v2 {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.info-item-v2:hover .info-icon {
    background: var(--secondary-color);
    color: #fff;
    transform: rotate(10deg);
}

.info-data {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-data .label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-data .value {
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 800;
}

.tech-tags-v2 {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tech-tags-v2 span {
    background: #f8fafc;
    padding: 6px 15px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.tech-tags-v2 span:hover {
    background: var(--secondary-color);
    color: #fff;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.share-card-premium {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
}

.share-card-premium h4 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-share a {
    width: 45px;
    height: 45px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-share a:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Nav Redesigned V2 */
.project-navigation-v2 {
    padding: 100px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.nav-grid-v2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-item-v2 {
    display: flex;
    align-items: center;
    gap: 25px;
    background: #fff;
    padding: 25px;
    border-radius: 24px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 20px rgba(0,0,0,0.02);
}

.nav-item-v2:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: var(--secondary-color);
}

.nav-img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

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

.nav-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.nav-content {
    flex-grow: 1;
}

.nav-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.nav-item-v2:hover .nav-title {
    color: var(--secondary-color);
}

.ltr .nav-item-v2.next {
    text-align: right;
}
.rtl .nav-item-v2.next {
    text-align: left;
}

.nav-placeholder {
    visibility: hidden;
}

@media (max-width: 991px) {
    .project-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .info-card-premium {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-grid-v2 {
        grid-template-columns: 1fr;
    }
    .nav-item-v2 {
        padding: 20px;
    }
    .nav-img {
        width: 70px;
        height: 70px;
    }
    .nav-title {
        font-size: 1.1rem;
    }
    .project-main-title {
        font-size: 2.2rem;
    }
}
