/*
Theme Name: Marketing Recipe Child
Version: 1.0
*/

/* ============================================================
   CSS Reset & Global
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #000000;
    color: #e0e0e0;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 195, 74, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 195, 74, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   Variables (Light & Dark Mode)
   ============================================================ */
:root {
    /* الأساسية */
    --primary-green: #8bc34a;
    --primary-green-dark: #6a9c3e;
    --primary-glow: rgba(139, 195, 74, 0.45);
    --gray-light: #1e1e1e;
    --text-light: #f0f0f0;

    /* Light Mode */
    --bg-color: #ffffff;
    --bg-secondary: #f5f5f5;
    --bg-card: #ffffff;
    --bg-card-hover: #f9f9f9;
    --bg-header: rgba(255, 255, 255, 0.9);
    --bg-footer: #f0f2f5;
    --bg-topbar: #f8f9fa;
    --bg-news: #f0f2f5;
    --bg-code: #f4f6f8;
    --bg-code-body: #ffffff;
    --bg-join: #f4f9f0;
    --bg-map: #fafafa;
    --bg-ticker: #f0f2f5;
    --bg-blog-card: #ffffff;
    --bg-client-front: #ffffff;
    --bg-client-back: #f0f8e8;
    --bg-input: #f0f2f5;
    --bg-faq: #ffffff;
    --bg-stats: #f0fdf4;
    --bg-cta: #e6f7e6;
    --bg-deep: #f4f7f9;

    /* Text Colors Light */
    --text-color: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #777777;
    --text-bright: #0f172a;

    /* Borders & Shadows Light */
    --border-color: #e0e0e0;
    --border-light: #eeeeee;
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 25px 40px -12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.1);

    /* هيكل إضافي */
    --card-bg: #111111;
    --border-glow: rgba(139, 195, 74, 0.3);
    --radius: 24px;
    --radius-sm: 14px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   Dark Mode
   ============================================================ */
body.dark-mode {
    --bg-color: #000000;
    --bg-secondary: #0a0a0c;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --bg-header: rgba(0, 0, 0, 0.85);
    --bg-footer: #0a0a0c;
    --bg-topbar: #0a0c10;
    --bg-news: #0a0c10;
    --bg-code: #0a0c10;
    --bg-code-body: #0b0d11;
    --bg-join: #0a2000;
    --bg-map: #0a0a0c;
    --bg-ticker: #0a0c10;
    --bg-blog-card: #111;
    --bg-client-front: #1a1a1a;
    --bg-client-back: #1a2a0f;
    --bg-input: #1a1a1e;
    --bg-faq: #111111;
    --bg-stats: #0a1a04;
    --bg-cta: #0a2000;
    --bg-deep: #000000;

    --text-color: #e0e0e0;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --text-bright: #ffffff;

    --border-color: #2c2c2c;
    --border-light: #2a2a2a;
    --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 25px 40px -12px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.5);

    --card-bg: #111111;
}

body.dark-mode .logo img {
    filter: none;
}
body:not(.dark-mode) .logo img {
    filter: brightness(0.1);
}

/* ============================================================
   Particles Background
   ============================================================ */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle-dot {
    position: absolute;
    background: #8bc34a;
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(105vh) scale(0);
        opacity: 0;
    }
    8% {
        opacity: 0.75;
    }
    85% {
        opacity: 0.08;
    }
    100% {
        transform: translateY(-10vh) scale(1.6);
        opacity: 0;
    }
}

/* ============================================================
   Container
   ============================================================ */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

/* ============================================================
   Top Bar
   ============================================================ */
.top-bar {
    background: var(--bg-topbar);
    border-bottom: 1px solid rgba(139, 195, 74, 0.2);
    padding: 10px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 10;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-info a,
.contact-info span {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
}

.contact-info a:hover {
    color: var(--primary-green);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: 0.2s;
}

.social-links a:hover {
    color: var(--primary-green);
    transform: translateY(-2px);
}

/* إخفاء الشريط العلوي على الهواتف */
@media (max-width: 767px) {
    .top-bar {
        display: none !important;
    }
}

/* ============================================================
   Header
   ============================================================ */
header {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(139, 195, 74, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 18px 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-green);
    text-shadow: 0 0 8px rgba(139, 195, 74, 0.4);
}

.logo p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    transition: 0.2s;
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-green);
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.6rem;
    color: var(--text-muted);
}

/* ============================================================
   Navigation
   ============================================================ */
nav ul {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: 0.2s;
    position: relative;
    padding-bottom: 4px;
    font-size: 0.95rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: 0.3s;
    border-radius: 2px;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-green);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* ============================================================
   Theme Toggle Button
   ============================================================ */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.theme-toggle-btn:hover {
    background: var(--primary-green);
    color: #000;
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.4rem;
    transition: 0.3s;
    align-items: center;
    justify-content: center;
}

.menu-toggle:hover {
    background: var(--primary-green);
    color: #000;
}

.nav-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 1001;
    display: none;
}

/* Mobile Menu */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--bg-header);
        backdrop-filter: blur(20px);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        visibility: hidden;
        opacity: 0;
    }
    nav.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
    nav ul {
        flex-direction: column;
        justify-content: center;
        height: 100%;
        gap: 2rem;
        padding: 2rem;
    }
    nav ul li a {
        font-size: 1.3rem;
        padding: 10px;
        display: block;
        text-align: center;
    }
    .nav-close {
        display: block;
    }
}

@media (min-width: 993px) {
    .nav-close {
        display: none;
    }
}

/* ============================================================
   News Ticker
   ============================================================ */
.news-ticker {
    background: var(--bg-ticker);
    border-bottom: 1px solid rgba(139, 195, 74, 0.3);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-block;
    animation: ticker 22s linear infinite;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.ticker-content span {
    margin: 0 25px;
    color: var(--primary-green);
    font-weight: bold;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
    padding: 12px 32px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s;
    display: inline-block;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-green);
    color: #000;
    border: 1px solid var(--primary-green);
}

.btn-primary:hover {
    background-color: var(--primary-green-dark);
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(139, 195, 74, 0.4);
}

.btn-outline {
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: #000;
    transform: scale(1.02);
}

.btn-group-dual {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-whatsapp {
    background: #25D366;
    color: #000;
    border: none;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
}

.join-btn {
    background: var(--primary-green);
    color: #000;
    padding: 14px 42px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    display: inline-block;
    transition: 0.25s;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.join-btn:hover {
    background: var(--primary-green-dark);
    transform: scale(1.02);
    box-shadow: 0 0 18px rgba(139, 195, 74, 0.45);
}

/* ============================================================
   Section Titles
   ============================================================ */
.section {
    padding: 70px 0;
    border-bottom: 1px solid var(--border-light);
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    font-weight: 800;
    color: var(--text-color);
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), transparent);
    margin: 16px auto 0;
    border-radius: 3px;
}

.section-title span {
    color: var(--primary-green);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.section-title-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), transparent);
    margin: 10px auto 0;
    border-radius: 3px;
}

.section-alt {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

/* ============================================================
   Hero Section
   ============================================================ */
.hero-split {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    padding: 80px 0 60px;
}

.hero-content {
    flex: 1;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
}

.hero-content .badge-hero {
    display: inline-block;
    background: rgba(139, 195, 74, 0.12);
    border: 1px solid rgba(139, 195, 74, 0.35);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 0.7s ease forwards;
}

.hero-content .badge-intro {
    display: inline-block;
    background: rgba(139, 195, 74, 0.12);
    border: 1px solid rgba(139, 195, 74, 0.35);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 18px;
    animation: fadeInUp 0.7s ease forwards;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease 0.1s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.gradient-text {
    background: linear-gradient(135deg, #8bc34a, #d4f1a3, #6a9c3e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.9;
    animation: fadeInUp 0.7s ease 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-image-wrapper img {
    width: 100%;
    border-radius: 28px;
    border: 2px solid rgba(139, 195, 74, 0.35);
    box-shadow: var(--shadow-md);
    display: block;
    transition: 0.35s;
    animation: fadeInUp 0.8s ease 0.25s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-image-wrapper:hover img {
    border-color: var(--primary-green);
    box-shadow: 0 30px 55px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(139, 195, 74, 0.1);
    transform: scale(1.015);
}

.hero-img-badge {
    position: absolute;
    bottom: -14px;
    right: 20px;
    background: var(--primary-green);
    color: #000;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(139, 195, 74, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
    z-index: 3;
}

.hero-visual {
    flex: 1;
    min-width: 300px;
    position: relative;
    animation: fadeInUp 0.8s ease 0.25s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.hero-visual img {
    width: 100%;
    border-radius: 28px;
    border: 2px solid rgba(139, 195, 74, 0.3);
    box-shadow: var(--shadow-md);
    display: block;
    transition: var(--transition);
}

.hero-visual:hover img {
    border-color: var(--primary-green);
    box-shadow: 0 35px 55px -10px rgba(0, 0, 0, 0.8), 0 0 40px rgba(139, 195, 74, 0.12);
    transform: scale(1.015);
}

.hero-visual .float-badge {
    position: absolute;
    bottom: -14px;
    right: 20px;
    background: var(--primary-green);
    color: #000;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 8px 24px rgba(139, 195, 74, 0.4);
    animation: pulse-badge 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes pulse-badge {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tech-strip {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.tech-strip span {
    background: rgba(139, 195, 74, 0.1);
    border: 1px solid rgba(139, 195, 74, 0.3);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* ============================================================
   Stats Green Bar
   ============================================================ */
.stats-green-bar {
    background: var(--bg-stats);
    padding: 35px 20px;
    margin: 20px 0 50px;
    border-radius: 20px;
    border: 1px solid rgba(139, 195, 74, 0.25);
    position: relative;
    overflow: hidden;
}

.stats-green-bar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.04) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item-green {
    flex: 1;
    min-width: 140px;
}

.stat-item-green h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 8px;
    font-family: monospace;
}

.stat-item-green p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   Stats Bar (services & testimonials)
   ============================================================ */
.stats-bar {
    background: var(--bg-stats);
    border-radius: 24px;
    padding: 30px 20px;
    margin: 20px 0 40px;
    border: 1px solid rgba(139, 195, 74, 0.25);
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 6px;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================================================
   Mission / Vision Cards
   ============================================================ */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.mv-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 36px 28px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.03;
    transition: 0.4s;
}

.mv-card:hover::before {
    opacity: 0.07;
    transform: scale(2);
}

.mv-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
}

.mv-card i {
    font-size: 2.8rem;
    color: var(--primary-green);
    margin-bottom: 18px;
    transition: 0.3s;
    display: inline-block;
}

.mv-card:hover i {
    transform: scale(1.15);
    text-shadow: 0 0 22px rgba(139, 195, 74, 0.5);
}

.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    color: var(--text-color);
    font-weight: 700;
}

.mv-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

/* ============================================================
   Values Grid
   ============================================================ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.value-item {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 26px 18px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    cursor: default;
}

.value-item:hover {
    border-color: var(--primary-green);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.value-item i {
    font-size: 2.4rem;
    color: var(--primary-green);
    margin-bottom: 14px;
    transition: 0.3s;
}

.value-item:hover i {
    text-shadow: 0 0 18px rgba(139, 195, 74, 0.5);
    transform: scale(1.1);
}

.value-item h4 {
    color: var(--text-color);
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.value-item p {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

/* ============================================================
   Services Grid (About page)
   ============================================================ */
.services-grid-about {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
    margin-top: 20px;
}

.service-card-about {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px 18px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.service-card-about:hover {
    border-color: var(--primary-green);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.service-card-about i {
    font-size: 2.4rem;
    color: var(--primary-green);
    margin-bottom: 14px;
}

.service-card-about h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 6px;
}

.service-card-about p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

/* ============================================================
   Extended Services Grid (index & services)
   ============================================================ */
.services-extended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-ext-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    transition: 0.25s;
    text-align: center;
    color: var(--text-color);
}

.service-ext-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.service-ext-card i {
    font-size: 2.6rem;
    color: var(--primary-green);
    margin-bottom: 20px;
    display: inline-block;
}

.service-ext-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 700;
}

.service-ext-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 15px;
}

.badge {
    background: rgba(139, 195, 74, 0.15);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* ============================================================
   Process Roadmap
   ============================================================ */
.process-roadmap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    margin-top: 40px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    background: var(--bg-card);
    border-radius: 28px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.25s;
    position: relative;
    z-index: 2;
}

.process-step:hover {
    border-color: var(--primary-green);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
}

.step-number {
    width: 54px;
    height: 54px;
    background: var(--primary-green);
    color: #000;
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 14px rgba(139, 195, 74, 0.5);
}

.process-step:hover .step-number {
    transform: scale(1.05);
    box-shadow: 0 0 22px var(--primary-green);
}

.process-step i {
    font-size: 2.4rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.process-step h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-color);
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-green);
    padding: 0 8px;
    min-width: 50px;
}

/* ============================================================
   Team Grid
   ============================================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.team-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.team-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
}

.team-card img {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-green);
    margin-bottom: 16px;
    transition: 0.3s;
}

.team-card:hover img {
    box-shadow: 0 0 28px rgba(139, 195, 74, 0.45);
    transform: scale(1.04);
}

.team-card h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.team-card .role {
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.88rem;
    display: block;
    margin-bottom: 10px;
}

.team-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.team-social-row {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 15px;
}

.team-social-row a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: 0.2s;
}

.team-social-row a:hover {
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 850px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-faq);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: 0.3s;
    cursor: pointer;
}

.faq-item:hover {
    border-color: rgba(139, 195, 74, 0.4);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
    user-select: none;
}

.faq-question i {
    color: var(--primary-green);
    transition: 0.4s;
    font-size: 0.85rem;
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.45s ease;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.9;
    background: var(--bg-secondary);
}

.faq-item.open .faq-answer {
    max-height: 350px;
    padding: 0 24px 20px;
}

/* ============================================================
   CTA Section
   ============================================================ */
.join-cta {
    background: linear-gradient(135deg, var(--bg-join), #051205);
    border-radius: 48px;
    text-align: center;
    padding: 70px 40px;
    margin: 40px auto;
    border: 1px solid rgba(139, 195, 74, 0.3);
    box-shadow: var(--shadow-lg);
}

.join-cta h3 {
    color: var(--primary-green);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.join-cta p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 35px;
    font-size: 1.1rem;
}

.cta-section {
    background: var(--bg-cta);
    border-radius: 40px;
    text-align: center;
    padding: 50px 30px;
    margin: 40px auto;
}

.cta-section h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.cta-section p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 25px;
}

/* ============================================================
   Vision & Mission Cards (Index)
   ============================================================ */
.vision-mission {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
}

.vision-card,
.mission-card {
    flex: 1;
    background: var(--bg-card);
    border-radius: 32px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.25s;
}

.vision-card:hover,
.mission-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-5px);
}

.vision-card i,
.mission-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.vision-card h3,
.mission-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.vision-card p,
.mission-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ============================================================
   Features Grid (Values - Index)
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 1.8rem 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 195, 74, 0.4);
    box-shadow: 0 20px 30px -15px rgba(139, 195, 74, 0.2);
    background: var(--bg-card-hover);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.feature-icon.primary {
    background: rgba(139, 195, 74, 0.1);
    color: var(--primary-green);
}

.feature-icon.secondary {
    background: rgba(106, 156, 62, 0.1);
    color: var(--primary-green-dark);
}

.feature-card:hover .feature-icon.primary {
    background: var(--primary-green);
    color: #fff;
}

.feature-card:hover .feature-icon.secondary {
    background: var(--primary-green-dark);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary-green);
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 195, 74, 0.1);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-link {
    background: var(--primary-green);
    color: #000;
}

/* ============================================================
   Portfolio Grid
   ============================================================ */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.portfolio-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    color: var(--text-color);
}

.portfolio-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-6px);
    background: var(--bg-card-hover);
}

.portfolio-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.portfolio-card h4 {
    font-size: 1.3rem;
    margin: 10px 0 6px;
    color: var(--text-color);
}

.portfolio-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(139, 195, 74, 0.5);
    color: var(--text-color);
    padding: 8px 24px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-green);
    color: #000;
    border-color: var(--primary-green);
}

/* ============================================================
   Blog Grid
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-blog-card);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.3s;
    border: 1px solid var(--border-light);
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-green);
}

.blog-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-date {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--primary-green);
    color: #000;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: bold;
}

.blog-content {
    padding: 24px;
}

.blog-content h3 {
    color: var(--primary-green);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.blog-content p {
    color: var(--text-muted);
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ============================================================
   Clients Flip Cards
   ============================================================ */
.clients-section {
    background: var(--bg-secondary);
    padding: 70px 0;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.client-flip-card {
    background-color: transparent;
    perspective: 1000px;
    height: 200px;
    cursor: pointer;
}

.client-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.5s;
    transform-style: preserve-3d;
    border-radius: 20px;
}

.client-flip-card:hover .client-flip-inner {
    transform: rotateY(180deg);
}

.client-front,
.client-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    background: var(--bg-client-front);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.client-front i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.client-front h4 {
    font-size: 1rem;
    color: var(--text-secondary);
}

.client-back {
    background: var(--bg-client-back);
    transform: rotateY(180deg);
    border-color: var(--primary-green);
    text-align: center;
    direction: rtl;
}

.client-back h4 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.client-back p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================================
   Google Map & Contact Section
   ============================================================ */
.map-contact-section {
    background: var(--bg-map);
    border-radius: 40px;
    padding: 50px 30px;
    margin: 40px 0;
    border: 1px solid var(--border-light);
}

.map-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.map-container iframe {
    width: 100%;
    border-radius: 24px;
    border: 2px solid rgba(139, 195, 74, 0.3);
    height: 300px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-card-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 28px;
    border: 1px solid var(--border-color);
    transition: 0.2s;
}

.contact-card-item:hover {
    border-color: var(--primary-green);
    transform: translateX(-5px);
}

.contact-card-item i {
    font-size: 2rem;
    color: var(--primary-green);
    min-width: 50px;
    text-align: center;
}

.contact-card-item div h4 {
    color: var(--text-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-card-item div p,
.contact-card-item div a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.contact-card-item div a:hover {
    color: var(--primary-green);
}

/* ============================================================
   Contact Form
   ============================================================ */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin: 30px 0 50px;
}

.contact-form-card {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 40px 32px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.contact-form-card:hover {
    border-color: var(--primary-green);
}

.contact-form-card h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-form-card h3 i {
    color: var(--primary-green);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 18px;
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 12px rgba(139, 195, 74, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.submit-btn {
    background: var(--primary-green);
    color: #000;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.25s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cairo', sans-serif;
}

.submit-btn:hover {
    background: var(--primary-green-dark);
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(139, 195, 74, 0.4);
}

/* ============================================================
   Social Connect
   ============================================================ */
.social-connect {
    text-align: center;
    margin: 50px 0;
}

.social-connect h3 {
    color: var(--text-color);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.social-btn {
    background: var(--bg-card);
    color: var(--text-color);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.social-btn:hover {
    background: var(--primary-green);
    color: #000;
    border-color: var(--primary-green);
    transform: translateY(-3px);
}

/* ============================================================
   Contact Hero
   ============================================================ */
.contact-hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
}

.contact-hero .badge-hero {
    display: inline-block;
    background: rgba(139, 195, 74, 0.12);
    border: 1px solid rgba(139, 195, 74, 0.35);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 16px;
    animation: fadeInUp 0.7s ease forwards;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 20px;
    animation: fadeInUp 0.7s ease 0.1s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

.contact-hero .hero-sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.7s ease 0.2s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

/* ============================================================
   Code Widget
   ============================================================ */
.qt-code-card {
    background: var(--bg-code);
    border-radius: 28px;
    border: 1px solid rgba(139, 195, 74, 0.6);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.qt-code-top {
    background: var(--bg-secondary);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.qt-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.qt-dot.r {
    background: #ff5f56;
}
.qt-dot.y {
    background: #ffbd2e;
}
.qt-dot.g {
    background: #27c93f;
}

.qt-code-title {
    flex: 1;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.qt-chip {
    background: #2e2f36;
    padding: 2px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    color: #8bc34a;
}

.qt-code-body {
    padding: 20px;
    background: var(--bg-code-body);
    direction: ltr;
    text-align: left;
    font-family: monospace;
    font-size: 0.85rem;
}

.qt-pre {
    margin: 0;
    white-space: pre-wrap;
    color: #b3d47c;
}

.qt-caret {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: #8bc34a;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

/* ============================================================
   Article / Blog Single
   ============================================================ */
.breadcrumb {
    padding: 24px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 40px;
}

.breadcrumb a {
    color: var(--primary-green);
    text-decoration: none;
    margin: 0 6px;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    color: var(--text-secondary);
    margin: 0 6px;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 60px;
    padding: 20px 0 80px;
}

.article-main {
    background: var(--bg-card);
    border-radius: 28px;
    padding: 50px 45px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.article-main::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-green), transparent);
    border-radius: 0 0 6px 0;
}

.article-category {
    display: inline-block;
    background: rgba(139, 195, 74, 0.15);
    color: var(--primary-green);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-main h1 {
    font-size: 2.4rem;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 800;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-light);
}

.article-meta span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-meta i {
    color: var(--primary-green);
    font-size: 1rem;
}

.featured-image {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 40px;
    border: 1px solid rgba(139, 195, 74, 0.2);
}

.article-content h2 {
    font-size: 1.7rem;
    color: var(--text-color);
    margin: 40px 0 18px;
    font-weight: 700;
    position: relative;
    padding-right: 16px;
}

.article-content h2::before {
    content: '';
    position: absolute;
    right: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: var(--primary-green);
    border-radius: 4px;
}

.article-content h3 {
    font-size: 1.35rem;
    color: var(--primary-green);
    margin: 30px 0 14px;
    font-weight: 700;
}

.article-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    text-align: justify;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-right: 30px;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 12px;
    position: relative;
}

.article-content ul li::marker {
    color: var(--primary-green);
}

.highlight-box {
    background: rgba(139, 195, 74, 0.08);
    border: 1px solid rgba(139, 195, 74, 0.3);
    border-radius: 20px;
    padding: 28px 30px;
    margin: 35px 0;
    position: relative;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 12px;
    display: inline-block;
}

.highlight-box p {
    color: var(--text-secondary);
    margin: 0;
}

.article-content blockquote {
    border-right: 4px solid var(--primary-green);
    padding: 18px 28px;
    margin: 30px 0;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-style: italic;
    color: var(--text-secondary);
}

.tags-section {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
}

.tags-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 14px;
    font-size: 1.1rem;
}

.tag {
    display: inline-block;
    background: var(--bg-card);
    color: var(--text-secondary);
    padding: 6px 16px;
    border-radius: 30px;
    margin: 5px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    transition: 0.2s;
    text-decoration: none;
}

.tag:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    background: rgba(139, 195, 74, 0.1);
}

.share-buttons {
    display: flex;
    gap: 14px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.share-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 20px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.25s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-btn:hover {
    background: var(--primary-green);
    color: #000;
    border-color: var(--primary-green);
}

.author-card {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 30px;
    margin-top: 50px;
    display: flex;
    gap: 24px;
    align-items: center;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), #4a7a1e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #000;
    font-weight: 800;
    flex-shrink: 0;
}

.author-info h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.author-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================================
   Article Sidebar
   ============================================================ */
.article-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.sidebar-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.sidebar-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 2px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 14px;
}

.sidebar-card ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.sidebar-card ul li a:hover {
    color: var(--primary-green);
    transform: translateX(-4px);
}

.sidebar-card ul li i {
    color: var(--primary-green);
    font-size: 0.85rem;
}

.cta-card {
    background: linear-gradient(145deg, var(--bg-join), #051205);
    border: 1px solid rgba(139, 195, 74, 0.3);
    text-align: center;
    padding: 35px 25px;
}

.cta-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 16px;
    display: block;
}

.cta-card h3 {
    border-bottom: none;
    margin-bottom: 14px;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.cta-btn {
    background: var(--primary-green);
    color: #000;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: 0.25s;
}

.cta-btn:hover {
    background: var(--primary-green-dark);
    transform: scale(1.02);
}

/* ============================================================
   Related Posts
   ============================================================ */
.related-section {
    margin-top: 70px;
}

.related-section h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 35px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.related-card {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.related-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-6px);
}

.related-img {
    height: 180px;
    background-size: cover;
    background-position: center;
}

.related-content {
    padding: 24px;
}

.related-content h4 {
    color: var(--primary-green);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.related-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.related-content a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================================
   Reading Progress Bar
   ============================================================ */
.reading-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    background: var(--primary-green);
    z-index: 200;
    transition: width 0.1s;
}

/* ============================================================
   Testimonials Slider
   ============================================================ */
.testimonials-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 14px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-green) var(--bg-secondary);
}

.testimonials-slider::-webkit-scrollbar {
    height: 5px;
}

.testimonials-slider::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

.testimonials-slider::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

.testimonial-item {
    min-width: 320px;
    flex: 0 0 auto;
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 28px 22px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-item:hover {
    border-color: var(--primary-green);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.testimonial-item .stars {
    color: #f5a623;
    margin-bottom: 12px;
}

.testimonial-item p {
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.testimonial-item .author-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-item .author-row img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--primary-green);
}

.testimonial-item .author-row h5 {
    color: var(--text-color);
    font-size: 0.9rem;
}

.testimonial-item .author-row span {
    color: var(--text-muted);
    font-size: 0.75rem;
}

/* ============================================================
   Testimonials Page Specific
   ============================================================ */
.testimonials-hero {
    padding: 50px 0 30px;
    text-align: center;
}

.testimonials-hero .badge-hero {
    display: inline-block;
    background: rgba(139, 195, 74, 0.12);
    border: 1px solid rgba(139, 195, 74, 0.35);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 14px;
}

.testimonials-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 18px;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.filter-tab {
    background: transparent;
    border: 1px solid rgba(139, 195, 74, 0.4);
    color: var(--text-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.75rem;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--primary-green);
    color: #000;
    border-color: var(--primary-green);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 20px;
}

.testimonial-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.quote-icon {
    font-size: 2.2rem;
    color: var(--primary-green);
    opacity: 0.5;
    margin-bottom: 8px;
}

.proof-badge {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.65rem;
    background: rgba(139, 195, 74, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

.proof-section {
    background: var(--bg-stats);
    border-radius: 28px;
    padding: 40px 30px;
    margin: 40px 0;
    text-align: center;
}

.proof-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
}

.proof-item {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 20px;
    flex: 1;
    min-width: 200px;
    border: 1px solid var(--border-color);
}

.proof-item i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.proof-item .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-green);
}

.cta-form-section {
    background: var(--bg-cta);
    border-radius: 40px;
    padding: 40px 30px;
    margin: 40px auto;
    text-align: center;
}

.quick-contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 500px;
    margin: 20px auto 0;
}

.quick-contact-form input {
    flex: 1;
    min-width: 160px;
    padding: 12px 18px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-input);
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
    outline: none;
}

.quick-contact-form input:focus {
    border-color: var(--primary-green);
}

.quick-contact-form button {
    background: var(--primary-green);
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
}

.quick-contact-form button:hover {
    background: var(--primary-green-dark);
}

/* ============================================================
   Case Study Cards (Portfolio)
   ============================================================ */
.case-study-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 30px;
}

.case-study-card:hover {
    border-color: var(--primary-green);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    background: var(--bg-card-hover);
}

.case-study-inner {
    display: flex;
    flex-wrap: wrap;
}

.case-study-img {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.case-study-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-study-img .img-label {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--primary-green);
    color: #000;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
}

.case-study-body {
    flex: 1;
    min-width: 300px;
    padding: 28px;
}

.case-study-body h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 6px;
}

.case-study-body .client-type {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 14px;
}

.case-study-body .info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.case-study-body .info-tag {
    background: rgba(139, 195, 74, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.case-study-body .results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 12px;
    margin: 16px 0;
}

.result-item {
    background: var(--bg-secondary);
    padding: 14px 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(139, 195, 74, 0.2);
}

.result-item strong {
    display: block;
    font-size: 1.6rem;
    color: var(--primary-green);
    font-family: monospace;
}

.result-item small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* ============================================================
   Services Header (Portfolio)
   ============================================================ */
.service-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.service-header i {
    font-size: 2.8rem;
    color: var(--primary-green);
    background: rgba(139, 195, 74, 0.08);
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(139, 195, 74, 0.25);
}

.service-header h3 {
    font-size: 1.8rem;
    color: var(--text-color);
}

.service-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 500px;
}

/* ============================================================
   Tabs (Portfolio)
   ============================================================ */
.tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 22px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid rgba(139, 195, 74, 0.4);
    color: var(--text-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-green);
    color: #000;
    border-color: var(--primary-green);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.35s ease forwards;
}

.tab-content.active {
    display: block;
}

.tab-inner {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.tab-inner:hover {
    border-color: var(--primary-green);
    background: var(--bg-card-hover);
}

.tab-inner i {
    font-size: 2.6rem;
    color: var(--primary-green);
    margin-bottom: 14px;
}

.tab-inner h4 {
    color: var(--text-color);
    margin-bottom: 8px;
}

.tab-inner p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

.tab-inner .mini-cta {
    display: inline-block;
    margin-top: 14px;
    color: var(--primary-green);
    font-weight: 700;
    text-decoration: none;
    font-size: 0.8rem;
}

.tab-inner .mini-cta:hover {
    text-decoration: underline;
}

/* ============================================================
   Timeline (Portfolio)
   ============================================================ */
.timeline-h {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.tl-step {
    flex: 1;
    min-width: 160px;
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px 18px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.tl-step:hover {
    border-color: var(--primary-green);
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-lg);
}

.tl-num {
    width: 46px;
    height: 46px;
    background: var(--primary-green);
    color: #000;
    font-size: 1.4rem;
    font-weight: 900;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    box-shadow: 0 0 14px var(--primary-glow);
}

.tl-step:hover .tl-num {
    transform: scale(1.1);
    box-shadow: 0 0 26px var(--primary-green);
}

.tl-step i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.tl-step h4 {
    color: var(--text-color);
    font-size: 1rem;
    margin-bottom: 6px;
}

.tl-step p {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.tl-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.6rem;
    padding: 0 5px;
    min-width: 35px;
}

/* ============================================================
   Technologies Marquee
   ============================================================ */
.marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
}

.marquee-track {
    display: inline-flex;
    animation: marquee 28s linear infinite;
    gap: 40px;
}

.marquee-wrap:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.marquee-item:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.marquee-item i {
    color: var(--primary-green);
}

/* ============================================================
   Final CTA (Portfolio)
   ============================================================ */
.final-cta {
    background: linear-gradient(145deg, var(--bg-join), #030d01);
    border-radius: 36px;
    text-align: center;
    padding: 65px 35px;
    margin: 40px auto;
    border: 1px solid rgba(139, 195, 74, 0.3);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.08) 0%, transparent 70%);
    top: -80px;
    right: -80px;
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

.final-cta h3 {
    color: var(--primary-green);
    font-size: 2.2rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.final-cta p {
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto 30px;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* ============================================================
   Glass Card
   ============================================================ */
.glass-card {
    flex: 1;
    min-width: 280px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 35px 28px;
    border: 1px solid rgba(139, 195, 74, 0.25);
    text-align: center;
}

.glass-card i {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 14px;
}

.glass-card h4 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================================
   About Intro
   ============================================================ */
.about-intro-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-intro-text {
    flex: 1;
    min-width: 280px;
}

.about-intro-text h3 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 16px;
}

.about-intro-text p {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1rem;
    margin-bottom: 18px;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 25px;
}

.stat-bubble {
    text-align: center;
}

.stat-bubble h2 {
    font-size: 2.4rem;
    color: var(--primary-green);
    font-family: monospace;
}

.stat-bubble p {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================================
   Why Choose Us Grid
   ============================================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.why-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.why-card i {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 14px;
}

.why-card h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   Services Hero
   ============================================================ */
.services-hero {
    padding: 50px 0 30px;
    text-align: center;
}

.services-hero .badge-hero {
    display: inline-block;
    background: rgba(139, 195, 74, 0.12);
    border: 1px solid rgba(139, 195, 74, 0.35);
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    margin-bottom: 14px;
}

.services-hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 18px;
}

.services-hero .hero-sub {
    font-size: 1rem;
    max-width: 700px;
    margin: 0 auto 25px;
}

/* ============================================================
   Services Grid (services page)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    margin-top: 30px;
}

.service-card {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}

.service-card:hover {
    border-color: var(--primary-green);
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.service-card .service-icon {
    font-size: 2.6rem;
    color: var(--primary-green);
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.service-card .service-benefit {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 14px;
    line-height: 1.7;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.service-features span {
    background: rgba(139, 195, 74, 0.08);
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 0.7rem;
    color: var(--primary-green);
    font-weight: 600;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 18px;
}

.service-cta:hover {
    text-decoration: underline;
}

/* ============================================================
   Mini FAQ (Contact)
   ============================================================ */
.faq-mini {
    background: var(--bg-secondary);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid var(--border-color);
}

.faq-mini h3 {
    text-align: center;
    color: var(--text-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
}

/* ============================================================
   Reveal Animation (Scroll)
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   Footer
   ============================================================ */
footer {
    background-color: var(--bg-footer);
    border-top: 1px solid rgba(139, 195, 74, 0.25);
    padding: 60px 0 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--primary-green);
    font-size: 1.25rem;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.footer-col h4:after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 2px;
}

.footer-col p,
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-col a:hover {
    color: var(--primary-green);
    transform: translateX(-4px);
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 12px;
}

.footer-logo p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.social-icons a {
    background: var(--bg-card);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary-green);
    color: #000;
    transform: translateY(-4px);
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    background: var(--bg-input);
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 18px;
    color: var(--text-color);
    font-family: 'Cairo', sans-serif;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-green);
    border: none;
    padding: 0 20px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.newsletter-form button:hover {
    background: var(--primary-green-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-light);
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover {
    color: var(--primary-green);
}

/* ============================================================
   Media Queries
   ============================================================ */

/* 992px - Tablets & Small Laptops */
@media (max-width: 992px) {
    .process-roadmap {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .step-arrow {
        transform: rotate(90deg);
        margin: -10px 0;
    }
    .process-step {
        width: 90%;
        max-width: 400px;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
    .timeline-h {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    .tl-arrow {
        transform: rotate(90deg);
        margin: -8px 0;
    }
    .tl-step {
        width: 85%;
        max-width: 380px;
    }
    .case-study-inner {
        flex-direction: column;
    }
    .article-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .article-sidebar {
        position: static;
    }
    .article-main {
        padding: 30px 24px;
    }
    .article-main h1 {
        font-size: 1.8rem;
    }
    .featured-image {
        height: 260px;
    }
    .map-contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    .section {
        padding: 50px 0;
    }
    nav ul {
        gap: 1.2rem;
    }
}

/* 768px - Mobile Landscape */
@media (max-width: 768px) {
    .hero-split {
        flex-direction: column;
        padding: 50px 0 40px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .values-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .services-grid-about {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .btn-group-dual {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .top-bar-flex {
        flex-direction: column;
        text-align: center;
    }
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    .testimonials-hero h1 {
        font-size: 1.8rem;
    }
    .filter-tabs {
        gap: 8px;
    }
    .filter-tab {
        padding: 4px 12px;
        font-size: 0.7rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .cta-form-section {
        padding: 30px 20px;
    }
    .cta-form-section h3 {
        font-size: 1.3rem;
    }
    .footer-grid {
        gap: 30px;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .why-grid {
        grid-template-columns: 1fr;
    }
    .cta-section {
        padding: 35px 20px;
    }
    .cta-section h3 {
        font-size: 1.5rem;
    }
    .stat-item h3 {
        font-size: 2rem;
    }
    .container {
        padding: 0 16px;
    }
    .logo img {
        height: 38px;
    }
    .logo-text h1 {
        font-size: 1.1rem;
    }
    .logo-text p {
        font-size: 0.5rem;
    }
    .theme-toggle-btn,
    .menu-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    .testimonial-item {
        min-width: 260px;
    }
    .map-contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-card-item {
        padding: 15px;
    }
    .vision-mission {
        flex-direction: column;
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .clients-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .filter-btn {
        padding: 4px 16px;
        font-size: 0.8rem;
    }
    .services-extended-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 480px - Small Mobile */
@media (max-width: 480px) {
    .services-hero h1 {
        font-size: 1.6rem;
    }
    .hero-sub {
        font-size: 0.9rem;
    }
    .service-card {
        padding: 20px 18px;
    }
    .service-card h3 {
        font-size: 1.2rem;
    }
    .process-step {
        padding: 20px 15px;
    }
    .faq-question {
        font-size: 0.85rem;
        padding: 14px 16px;
    }
    .article-main h1 {
        font-size: 1.4rem;
    }
    .featured-image {
        height: 180px;
    }
    .final-cta {
        padding: 40px 20px;
    }
    .final-cta h3 {
        font-size: 1.6rem;
    }
}

/* 767px - Mobile Fix for Fixed Header */
@media (max-width: 767px) {
    .site-header,
    header,
    .elementor-location-header,
    .ast-builder-menu-mobile {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
    }
    body {
        padding-top: 80px !important;
    }
    .top-bar {
        display: none !important;
    }
}