/* ========== CSS Variables ========== */
:root {
    /* Colors */
    --primary-color: #96bf48;
    --secondary-color: #5e8e3e;
    --accent-color: #ffd700;
    --dark-bg: #0a0e1a;
    --darker-bg: #060911;
    --light-bg: #1a1f35;
    --lighter-bg: #252b42;
    --text-primary: #ffffff;
    --text-secondary: #b0b8d4;
    --text-muted: #6b7394;
    --border-color: #2a3150;

    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 20px;

    /* Typography */
    --font-family: 'Rubik', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Effects */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.4);
    --glow: 0 0 20px rgba(150, 191, 72, 0.3);
}

/* ========== Light Mode Overrides ========== */
body.light-mode {
    --dark-bg: #f7f8fb;
    --darker-bg: #eef2f6;
    --light-bg: #ffffff;
    --lighter-bg: #f2f5fa;
    --text-primary: #101624;
    --text-secondary: #3a4459;
    --text-muted: #6a738a;
    --border-color: #d8dde8;
    --shadow-sm: 0 2px 6px rgba(16, 22, 36, 0.08);
    --shadow-md: 0 6px 16px rgba(16, 22, 36, 0.12);
    --shadow-lg: 0 12px 30px rgba(16, 22, 36, 0.16);
    --shadow-xl: 0 24px 60px rgba(16, 22, 36, 0.18);
    --glow: 0 0 18px rgba(150, 191, 72, 0.25);
    color-scheme: light;
}

body.light-mode .navbar {
    background: rgba(247, 248, 251, 0.95);
    border-bottom-color: rgba(16, 22, 36, 0.08);
}

body.light-mode .hero {
    background: #f6f8fb;
}

body.light-mode .hero-bg {
    background:
        radial-gradient(circle at 25% 35%, rgba(150, 191, 72, 0.18), transparent 45%),
        radial-gradient(circle at 70% 25%, rgba(150, 191, 72, 0.14), transparent 42%),
        radial-gradient(circle at 50% 70%, rgba(150, 191, 72, 0.1), transparent 55%),
        linear-gradient(135deg, #f6f8fb 0%, #e6edf6 50%, #f6f8fb 100%);
    filter: drop-shadow(0 30px 60px rgba(16, 22, 36, 0.12));
}

body.light-mode .hero-bg::after {
    background: radial-gradient(circle, rgba(150, 191, 72, 0.15) 0%, transparent 60%);
    mix-blend-mode: multiply;
}

body.light-mode .hero-badges span {
    color: #2e3d20;
    background: rgba(150, 191, 72, 0.14);
    border-color: rgba(150, 191, 72, 0.35);
    box-shadow: 0 10px 30px rgba(150, 191, 72, 0.14);
}

body.light-mode .hero-stats-bar {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(150, 191, 72, 0.2);
    box-shadow: inset 0 0 0 1px rgba(16, 22, 36, 0.04), 0 18px 50px rgba(16, 22, 36, 0.12);
}

body.light-mode .stat-label {
    color: #4b566b;
}

body.light-mode .page-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e8eff7 100%);
}

body.light-mode .page-hero::before {
    background:
        radial-gradient(circle at 50% 20%, rgba(150, 191, 72, 0.15), transparent 45%),
        radial-gradient(circle at 80% 10%, rgba(150, 191, 72, 0.12), transparent 35%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(234, 241, 249, 0.95));
}

body.light-mode .page-hero.gradient-1,
body.light-mode .page-hero.gradient-2,
body.light-mode .page-hero.gradient-3 {
    background: linear-gradient(135deg, #f6f8fb 0%, #e7eef7 100%);
}

body.light-mode .project-overlay {
    background: rgba(247, 248, 251, 0.92);
}

body.light-mode .theme-toggle {
    background: rgba(16, 22, 36, 0.04);
    border-color: rgba(16, 22, 36, 0.15);
    color: var(--text-secondary);
}

body.light-mode .theme-toggle:hover {
    background: rgba(150, 191, 72, 0.18);
    border-color: rgba(150, 191, 72, 0.45);
    color: var(--text-primary);
}

body.light-mode .btn-secondary {
    background: rgba(150, 191, 72, 0.2);
    color: #1f2a1a;
    border-color: rgba(94, 142, 62, 0.55);
    box-shadow: none;
}

body.light-mode .gradient-text {
    background: linear-gradient(135deg, #4c7b2a, #96bf48);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .back-to-top {
    color: #0a0e1a;
    border: 1px solid rgba(16, 22, 36, 0.12);
    box-shadow: var(--shadow-lg);
}

/* ========== Reset & Base ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

/* ========== Buttons ========== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--glow);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    flex-direction: row-reverse;
}

.nav-brand i {
    font-size: 1.75rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== Language Switcher ========== */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    font-family: var(--font-family);
}

.language-switcher:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.language-switcher i {
    font-size: 1.2rem;
}

/* ========== RTL Support ========== */
[dir="rtl"] {
    direction: rtl;
}

[dir="rtl"] .nav-brand {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-menu {
    flex-direction: row;
    direction: rtl;
    justify-content: flex-start;
}

[dir="rtl"] .navbar .container {
    flex-direction: row;
    direction: rtl;
}

[dir="rtl"] .hero-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-stats {
    flex-direction: row-reverse;
}

[dir="rtl"] .about-highlights {
    direction: rtl;
}

[dir="rtl"] .highlight {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .contact-item {
    flex-direction: row;
    text-align: right;
    justify-content: flex-start;
}

[dir="rtl"] .contact-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-content {
    flex-direction: row-reverse;
}

[dir="rtl"] .project-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .project-tags {
    flex-direction: row-reverse;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 110px;
    overflow: hidden;
    background: #060912;
    isolation: isolate;
}

.hero-bg {
    position: absolute;
    inset: -15%;
    background:
        radial-gradient(circle at 25% 35%, rgba(150, 191, 72, 0.18), transparent 45%),
        radial-gradient(circle at 70% 25%, rgba(150, 191, 72, 0.16), transparent 42%),
        radial-gradient(circle at 50% 70%, rgba(150, 191, 72, 0.12), transparent 55%),
        linear-gradient(135deg, #060912 0%, #0a0f1e 50%, #060912 100%);
    opacity: 0.9;
    z-index: -1;
    will-change: transform;
    transition: transform 0.25s ease-out;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.35));
    transform: scale(1.08);
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(150, 191, 72, 0.08) 0%, transparent 60%);
    mix-blend-mode: screen;
    pointer-events: none;
}

.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 3rem;
    align-items: center;
    z-index: 1;
}

.hero-text {
    max-width: 540px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.gradient-text {
    background: linear-gradient(135deg, #d5ff6f, var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 90%;
    line-height: 1.7;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.hero-badges span {
    border: 1px solid rgba(150, 191, 72, 0.4);
    border-radius: 20px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    color: #e5f4c8;
    background: rgba(150, 191, 72, 0.08);
    box-shadow: 0 10px 30px rgba(150, 191, 72, 0.12);
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .btn {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(150, 191, 72, 0.35);
}

.btn-secondary {
    background: rgba(150, 191, 72, 0.12);
    color: #e8f7c8;
    border-color: rgba(150, 191, 72, 0.6);
    box-shadow: inset 0 0 0 1px rgba(150, 191, 72, 0.3);
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
    isolation: isolate;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.45));
}

.hero-bg,
.hero-logo {
    transform: translate3d(0, 0, 0);
}

.hero-logo {
    transition: transform 0.25s ease-out;
    will-change: transform;
}

.hero-plexus {
    position: absolute;
    width: 740px;
    height: 740px;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: 0.9;
    filter: drop-shadow(0 0 30px rgba(150, 191, 72, 0.25));
    z-index: 0;
}

.plexus-top-right {
    top: -18%;
    right: -4%;
}

.plexus-bottom-left {
    bottom: -18%;
    left: -4%;
}

.plexus-top-left {
    top: -16%;
    left: -4%;
}

.plexus-bottom-right {
    bottom: -16%;
    right: -4%;
}

.hero-rings {
    position: absolute;
    width: 520px;
    height: 520px;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(150, 191, 72, 0.4);
    box-shadow: 0 0 40px rgba(150, 191, 72, 0.12);
}

.ring-1 { width: 520px; height: 520px; animation: pulse 10s ease-in-out infinite; }
.ring-2 { width: 360px; height: 360px; border-style: dashed; animation: spin 26s linear infinite reverse; opacity: 0.8; }
.ring-3 { width: 220px; height: 220px; background: radial-gradient(circle, rgba(150, 191, 72, 0.12) 0%, transparent 70%); animation: pulse 6s ease-in-out infinite; }

.hero-logo {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 45%, rgba(150, 191, 72, 0.22), rgba(150, 191, 72, 0.08) 60%, transparent 75%);
    border: 1px solid rgba(150, 191, 72, 0.35);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(150, 191, 72, 0.25);
    position: relative;
    z-index: 2;
}

.hero-logo-inner {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #d5ff6f, #78a634 65%);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 30px rgba(150, 191, 72, 0.4);
}

.hero-logo i {
    font-size: 4.5rem;
    color: #0a0e1a;
}

.page-hero {
    position: relative;
    padding: 140px 0 90px;
    background: var(--darker-bg);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(150, 191, 72, 0.15), transparent 45%),
                radial-gradient(circle at 80% 10%, rgba(150, 191, 72, 0.12), transparent 35%),
                linear-gradient(135deg, rgba(6, 9, 18, 0.9), rgba(10, 14, 26, 0.95));
    z-index: 0;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero.gradient-1 { background: linear-gradient(135deg, #0a0f1e 0%, #0f172e 100%); }
.page-hero.gradient-2 { background: linear-gradient(135deg, #0b1020 0%, #0e1a33 100%); }
.page-hero.gradient-3 { background: linear-gradient(135deg, #0b1324 0%, #101c35 100%); }

.page-nav {
    padding-bottom: 24px;
}

.page-hero .hero-content {
    margin-top: 32px;
}

.hero-content.narrow {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    gap: 1.25rem;
}

/* ========== Theme Toggle ========== */
.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(150, 191, 72, 0.35);
    background: rgba(150, 191, 72, 0.08);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.theme-toggle i {
    font-size: 1rem;
    color: var(--primary-color);
}

.theme-toggle:hover {
    background: rgba(150, 191, 72, 0.16);
    border-color: rgba(150, 191, 72, 0.6);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

.theme-toggle--inline {
    box-shadow: none;
}

.navbar .theme-toggle--inline {
    align-self: center;
    margin-inline-start: 12px;
}

.theme-toggle--floating {
    position: fixed;
    inset-inline-start: 24px;
    inset-block-start: 88px;
    left: 24px;
    top: 88px;
    z-index: 1200;
    box-shadow: var(--shadow-lg);
}

.hero-content.narrow .hero-description {
    margin: 0 auto 2rem;
}

.hero-content.narrow .hero-buttons {
    justify-content: center;
}

.page-content {
    background: var(--dark-bg);
}

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

.content-section.alt {
    background: var(--lighter-bg);
    border-block: 1px solid var(--border-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    transition: var(--transition);
    text-align: center;
    direction: rtl;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    min-height: 360px;
}

.pricing-card.highlight {
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(150, 191, 72, 0.2);
}

.pricing-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.pricing-card .price {
    font-size: 2rem;
    font-weight: 800;
    color: #d5ff6f;
    margin-bottom: 1rem;
}

.pricing-card .price + ul {
    margin-top: 0.25rem;
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.pricing-card li {
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 90%;
}

.comparison-table {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.comparison-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    align-items: start;
}

.comparison-row div {
    color: var(--text-secondary);
    text-align: right;
}

[dir="ltr"] .comparison-row div {
    text-align: left;
}

.comparison-row div:first-child {
    font-weight: 700;
    color: var(--primary-color);
}

.comparison-row.comparison-head {
    background: var(--darker-bg);
    border-color: var(--primary-color);
    font-weight: 700;
}

.comparison-row.comparison-head div {
    color: var(--text-primary);
    text-align: center;
}

.pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.5rem 0 2.5rem;
    justify-content: center;
}

.pill {
    padding: 0.65rem 1.4rem;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-secondary);
    font-weight: 600;
}

.cta-banner {
    margin-top: 2.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(150, 191, 72, 0.15), rgba(94, 142, 62, 0.25));
    border: 1px solid var(--border-color);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cta-banner h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cta-banner p {
    margin: 0;
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
}

.hero-stats-bar {
    margin-top: 2.5rem;
    padding: 1.75rem 2.25rem;
    background: rgba(6, 9, 17, 0.85);
    border: 1px solid rgba(150, 191, 72, 0.25);
    border-radius: 16px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #d5ff6f;
    line-height: 1;
    margin-bottom: 0.35rem;
    text-shadow: 0 0 25px rgba(150, 191, 72, 0.25);
}

.stat-label {
    font-size: 0.95rem;
    color: #c7d5f1;
    letter-spacing: 0.5px;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

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


/* ========== Section Styles ========== */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* ========== About Section ========== */
.about {
    background: var(--darker-bg);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    flex-direction: row-reverse;
    text-align: right;
}

.highlight i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.highlight span {
    color: var(--text-secondary);
}

/* ========== Solutions Section (Problems I Solve) ========== */
.solutions {
    background: var(--dark-bg);
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    text-align: right;
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solution-icon i {
    font-size: 2rem;
    color: white;
}

.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: right;
}

[dir="ltr"] .solution-card p {
    text-align: left;
}

.service-list {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
}

.service-list li {
    padding: 0.35rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-right: 1.25rem;
}

.service-list li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    line-height: 1;
}

[dir="ltr"] .service-list li {
    padding-right: 0;
    padding-left: 1.25rem;
}

[dir="ltr"] .service-list li::before {
    right: auto;
    left: 0;
}

.text-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.text-link:hover {
    color: var(--primary-color);
}

/* ========== Process Section (How I Work) ========== */
.process {
    background: var(--darker-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.process-step {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    text-align: right;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-md);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 1.5rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--darker-bg);
    border-radius: 50%;
}

.step-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    text-align: right;
}

[dir="ltr"] .process-step p {
    text-align: left;
}

.trust {
    background: var(--light-bg);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.trust-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    min-height: 170px;
    text-align: right;
}

.trust-card h3 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.trust-card p {
    margin: 0;
    color: var(--text-secondary);
}

[dir="ltr"] .trust-card {
    text-align: left;
}

/* ========== Skills Section ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.skill-category h3 i {
    font-size: 1.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-right: 1.5rem;
    text-align: right;
}

.skill-category li::before {
    content: '◂';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* ========== Projects Section ========== */
.projects {
    background: var(--darker-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--lighter-bg);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 26, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.project-content {
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: flex-end;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(150, 191, 72, 0.2);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content h3 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row-reverse;
}

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

/* ========== Contact Section ========== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
    justify-items: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--light-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    flex-direction: row;
    justify-content: flex-start;
    text-align: right;
    width: 100%;
    max-width: 560px;
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(150, 191, 72, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-item h4 {
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}

.contact-item p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.contact-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contact-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-cta p {
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-checklist {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.contact-checklist li {
    padding: 0.5rem 0;
    position: relative;
    padding-right: 1.5rem;
    color: var(--text-secondary);
}

.contact-checklist li::before {
    content: '✔';
    position: absolute;
    right: 0;
    color: var(--accent-color);
}

[dir="ltr"] .contact-checklist li {
    padding-right: 0;
    padding-left: 1.5rem;
}

[dir="ltr"] .contact-checklist li::before {
    right: auto;
    left: 0;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-buttons .btn {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 2rem;
}

.contact-buttons .btn i {
    font-size: 2rem;
}

/* ========== Footer ========== */
.footer {
    background: var(--darker-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: var(--text-muted);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-direction: row-reverse;
}

.footer-left p i {
    font-size: 0.875rem;
}

.footer-right a {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.footer-right a:hover {
    opacity: 0.8;
}

/* ========== Back to Top Button ========== */
.back-to-top {
    position: fixed;
    inset-inline-end: 24px;
    inset-block-end: 24px;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1400;
}

.back-to-top:hover {
    box-shadow: var(--shadow-xl), var(--glow);
}

.back-to-top:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top.ripple-effect {
    position: fixed;
}

/* ========== Responsive Design ========== */
@media (max-width: 968px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-text {
        padding-bottom: 0;
        margin: 0 auto;
    }

    .hero-description {
        margin: 0 auto 2rem;
    }

    .hero-badges {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        min-height: 360px;
        margin: 0 auto;
        order: -1;
    }

    .hero-plexus {
        width: 540px;
        height: 540px;
    }

    .hero-rings {
        width: 360px;
        height: 360px;
    }

    .hero-logo {
        width: 175px;
        height: 175px;
    }

    .hero-logo-inner {
        width: 140px;
        height: 140px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .page-hero {
        padding: 120px 0 70px;
    }

    .hero-content.narrow {
        text-align: center;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }

    .comparison-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comparison-row div:first-child {
        grid-column: 1 / -1;
    }

    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-banner .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
        gap: 12px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column !important;
        padding: 2rem;
        gap: 1rem;
        transition: var(--transition);
        border-bottom: 1px solid var(--border-color);
    }

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

    /* Override RTL row-reverse in mobile */
    [dir="rtl"] .nav-menu {
        flex-direction: column !important;
    }

    .hamburger {
        display: flex;
    }

    .language-switcher {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .language-switcher .lang-text {
        display: none;
    }

    .language-switcher i {
        font-size: 1.4rem;
    }

    .nav-actions {
        width: 100%;
        justify-content: center;
    }

    .theme-toggle {
        padding: 10px;
    }

    .theme-toggle .theme-text {
        display: none;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.5rem; /* Smaller font for mobile */
    }

    .hero-description {
        font-size: 1rem; /* Adjust for smaller screens */
        max-width: 90%;
    }

    .hero-buttons {
        flex-direction: column; /* Stack buttons for mobile */
        gap: 1.5rem;
    }

    .hero-visual {
        min-height: 300px;
    }

    .hero-plexus {
        width: 460px;
        height: 460px;
    }

    .hero-rings {
        width: 300px;
        height: 300px;
    }

    .hero-stats-bar {
        padding: 1.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.25rem;
    }

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

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

    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    section {
        padding: 60px 0;
    }

    .page-nav {
        padding-bottom: 12px;
    }

    .hero-content.narrow {
        gap: 1rem;
    }

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

    .comparison-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .comparison-row div:first-child {
        grid-column: 1 / -1;
    }

    .cta-banner {
        align-items: center;
        text-align: center;
    }

    .theme-toggle--floating {
        left: 16px;
        top: 72px;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        min-height: 280px;
    }

    .hero-plexus {
        width: 100%;
        max-width: 360px;
        height: auto;
        aspect-ratio: 1/1;
    }

    .plexus-top-left {
        top: -8%;
        left: -2%;
    }

    .plexus-bottom-right {
        bottom: -8%;
        right: -2%;
    }

    .hero-rings {
        width: 100%;
        max-width: 230px;
        height: auto;
        aspect-ratio: 1/1;
    }

    .plexus-top-right {
        top: -12%;
        right: -4%;
    }

    .plexus-bottom-left {
        bottom: -12%;
        left: -4%;
    }

    .plexus-top-left {
        top: -10%;
        left: -4%;
    }

    .plexus-bottom-right {
        bottom: -10%;
        right: -4%;
    }

    .comparison-row {
        grid-template-columns: 1fr;
    }

    .hero-logo {
        width: 145px;
        height: 145px;
    }

    .hero-logo-inner {
        width: 120px;
        height: 120px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* ========== Social Links & CV Button ========== */
.social-links {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--lighter-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.social-btn i {
    font-size: 1.1rem;
}

.btn-accent {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: var(--dark-bg);
    font-weight: 700;
    border: none;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #ffed4e, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

[dir="rtl"] .social-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .social-btn {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .social-buttons {
        flex-direction: column;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========== Contact Form ========== */
.contact-form-wrapper {
    background: var(--lighter-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.form-title {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(150, 191, 72, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-message.success {
    background: rgba(150, 191, 72, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.form-message.success::before {
    content: "✓ ";
    font-weight: bold;
}

.form-message.error {
    background: rgba(255, 99, 71, 0.1);
    border: 1px solid #ff6347;
    color: #ff6347;
}

.form-message.error::before {
    content: "✗ ";
    font-weight: bold;
}

/* RTL Support */
[dir="rtl"] .contact-form-wrapper {
    text-align: right;
}

[dir="rtl"] .btn-submit {
    flex-direction: row-reverse;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
    }
}

/* ========== Testimonials Section ========== */
.testimonials {
    padding: 6rem 0;
    background: var(--lighter-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(150, 191, 72, 0.1);
}

.testimonial-rating {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.author-info h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========== FAQ Section ========== */
.faq {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--lighter-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: right;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
}

/* ========== Consultation Button (Accent Style) ========== */
.btn-accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #c89b3c 100%);
    color: #1a1b26;
    font-weight: 600;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #c89b3c 0%, var(--accent-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

/* RTL Support for New Sections */
[dir="rtl"] .faq-question {
    text-align: right;
}

[dir="rtl"] .faq-question i {
    transform: scaleX(-1);
}

[dir="rtl"] .faq-item.active .faq-question i {
    transform: scaleX(-1) rotate(180deg);
}

[dir="rtl"] .testimonial-author {
    flex-direction: row-reverse;
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .back-to-top {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .faq-question {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .faq-item.active .faq-answer {
        padding: 0 1.2rem 1.2rem;
    }

    .contact-buttons {
        flex-direction: column;
        gap: 1rem;
    }

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

