@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700&family=Tajawal:wght@300;400;500;700&display=swap');

/* ─── Variables & Theme ─── */
:root {
    --bg-color: #080a11;
    --card-bg: rgba(13, 17, 30, 0.45);
    --card-border: rgba(255, 255, 255, 0.07);
    --card-border-glow: rgba(0, 242, 254, 0.25);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --primary-cyan: #00f2fe;
    --primary-blue: #0984e3;
    --glow-purple: #9b51e0;
    --glow-magenta: #e056fd;
    --accent-green: #00e676;
    
    --font-sans: 'Outfit', 'Inter', sans-serif;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

html[dir="rtl"] {
    --font-sans: 'Tajawal', 'Inter', sans-serif;
}

/* ─── Global Reset ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ─── Glowing Background Orbs ─── */
.orb-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    mix-blend-mode: screen;
    animation: orbFloat 25s infinite alternate ease-in-out;
}

.orb-1 {
    top: -10%;
    right: 15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary-cyan) 0%, transparent 80%);
}

.orb-2 {
    top: 35%;
    left: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-purple) 0%, transparent 80%);
    animation-delay: -5s;
}

.orb-3 {
    bottom: 10%;
    right: -10%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 80%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -60px) scale(1.15); }
    100% { transform: translate(-30px, 40px) scale(0.9); }
}

/* ─── Layout Structure ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 90px 0;
    position: relative;
}

/* ─── Typography ─── */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

p {
    color: var(--text-secondary);
}

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    color: #080a11;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(0, 242, 254, 0.65);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ─── Header & Navigation ─── */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(8, 10, 17, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(8, 10, 17, 0.9);
    border-color: rgba(0, 242, 254, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(120deg, #ffffff, var(--primary-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-cyan);
    box-shadow: 0 0 10px var(--primary-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: #ffffff;
}

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

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

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

/* Language Switcher Dropdown */
.lang-switcher {
    position: relative;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-cyan);
}

.lang-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: #0f1322;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    list-style: none;
    width: 130px;
    display: none;
    overflow: hidden;
    z-index: 101;
}

html[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

.lang-dropdown li a {
    display: block;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.lang-dropdown li a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-cyan);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Hero Section ─── */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    min-height: calc(85vh - 80px);
}

.hero-info h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, #a2bdf2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-info p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Interactive Dashboard Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dashboard-mockup {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: var(--transition);
}

.dashboard-mockup:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.15);
}

.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff5f56;
}

.mockup-dots span:nth-child(2) { background-color: #ffbd2e; }
.mockup-dots span:nth-child(3) { background-color: #27c93f; }

.mockup-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.mockup-kpis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.kpi-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: left;
}

html[dir="rtl"] .kpi-card {
    text-align: right;
}

.kpi-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.kpi-val {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.kpi-status {
    font-size: 0.7rem;
    color: var(--accent-green);
    margin-top: 4px;
    display: block;
}

.status-red {
    color: #ff5f56;
}

.mockup-chart {
    height: 160px;
    position: relative;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chart-bar {
    width: 12%;
    background: linear-gradient(to top, var(--primary-blue), var(--primary-cyan));
    border-radius: 4px 4px 0 0;
    position: relative;
    animation: barGrow 1.5s ease-out forwards;
    transform-origin: bottom;
    opacity: 0.85;
}

.chart-bar:hover {
    opacity: 1;
    box-shadow: 0 0 12px var(--primary-cyan);
}

.chart-bar:nth-child(even) {
    background: linear-gradient(to top, var(--glow-purple), var(--glow-magenta));
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.mockup-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.glow-line {
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), var(--glow-purple), transparent);
    filter: blur(4px);
    opacity: 0.6;
}

/* ─── Partners Section ─── */
.partners {
    padding: 50px 0;
    background: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.partners-title {
    text-align: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.partners-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.partner-logo {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    transition: var(--transition);
    cursor: default;
}

.partner-logo:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ─── Section Header Utility ─── */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 60%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ─── Services Section ─── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 36px 30px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-glow);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.08);
}

.service-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.08);
    color: var(--primary-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
    border: 1px solid rgba(0, 242, 254, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-cyan);
    color: #080a11;
    box-shadow: 0 0 15px var(--primary-cyan);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ─── Blog Section ─── */
.blog-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.blog-search {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: #ffffff;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.blog-search input:focus {
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.1);
}

.blog-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-cyan);
    color: #080a11;
    border-color: var(--primary-cyan);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.2);
}

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

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-glow);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.08);
}

.blog-img-wrapper {
    width: 100%;
    height: 200px;
    background-color: rgba(255, 255, 255, 0.02);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-img-mock {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(9, 132, 227, 0.3) 0%, rgba(0, 242, 254, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-cyan);
    opacity: 0.7;
    transition: var(--transition);
}

.blog-card:hover .blog-img-mock {
    transform: scale(1.05);
    opacity: 1;
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(8, 10, 17, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
}

html[dir="rtl"] .blog-category {
    left: auto;
    right: 16px;
}

.blog-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
}

.blog-info h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover h3 {
    color: var(--primary-cyan);
}

.blog-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.blog-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.blog-author {
    font-weight: 500;
    color: #ffffff;
}

/* ─── Contact Section ─── */
.contact-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    position: relative;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 1rem;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
    font-size: 1.2rem;
}

.contact-item-text span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.contact-item-text a, .contact-item-text p {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-cyan);
    background: rgba(255, 255, 255, 0.04);
}

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

/* ─── Footer Section ─── */
.site-footer {
    background: #05060a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px 0 30px;
}

.footer-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand p {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── Interactive Calculator Modal ─── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 6, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    width: 90%;
    max-width: 580px;
    background: #0d111e;
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-header {
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.modal-close:hover {
    color: #ffffff;
}

.modal-body {
    padding: 24px;
    max-height: 70vh;
    overflow-y: auto;
}

.calculator-group {
    margin-bottom: 24px;
}

.calculator-group h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: var(--text-secondary);
}

/* Custom Checkbox / Radio List */
.calc-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.calc-option:hover {
    border-color: rgba(0, 242, 254, 0.25);
    background: rgba(0, 242, 254, 0.02);
}

.calc-option-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calc-option-left input {
    accent-color: var(--primary-cyan);
    width: 16px;
    height: 16px;
}

.calc-option-text span {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
}

.calc-option-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.calc-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-cyan);
}

.calculator-summary {
    background: rgba(0, 242, 254, 0.04);
    border: 1px solid rgba(0, 242, 254, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.summary-text span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
}

.summary-text h3 {
    font-size: 1.6rem;
    color: #ffffff;
}

/* ─── Toast Notifications ─── */
.toast-container {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

html[dir="rtl"] .toast-container {
    right: auto;
    left: 30px;
}

.toast {
    background: #0f1322;
    border: 1px solid var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
    border-radius: 10px;
    padding: 14px 20px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    pointer-events: auto;
    animation: toastSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.toast-success-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-cyan);
    box-shadow: 0 0 8px var(--primary-cyan);
}

@keyframes toastSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.toast.fade-out {
    animation: toastFadeOut 0.3s ease forwards;
}

@keyframes toastFadeOut {
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* ─── Responsive Adjustments ─── */
@media (max-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
        padding-top: 40px;
    }
    .hero-info h1 {
        font-size: 2.8rem;
    }
    .hero-info p {
        margin: 0 auto 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 30px;
    }
}

.mobile-only {
    display: none;
}

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
    .navbar [data-open-modal="quoteModal"] {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 101;
        padding: 0;
    }
    .mobile-menu-toggle span {
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: var(--transition);
        transform-origin: left center;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: rgba(8, 10, 17, 0.96);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 100px 40px 40px;
        gap: 24px;
        z-index: 99;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    html[dir="rtl"] .nav-links {
        left: -280px;
        right: auto;
        border-left: none;
        border-right: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-links.active {
        right: 0;
    }
    html[dir="rtl"] .nav-links.active {
        left: 0;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        font-size: 1.15rem;
        display: block;
        width: 100%;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(2px, 0px);
        background-color: var(--primary-cyan);
    }
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(2px, 2px);
        background-color: var(--primary-cyan);
    }
    .navbar {
        padding: 12px 0;
    }
    .section-header h2 {
        font-size: 1.8rem;
    }
    .footer-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
}

/* ─── About Section Styling ─── */
.about-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
    margin-top: 20px;
}

.about-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.about-glow-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 380px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: var(--transition);
    text-align: center;
}

.about-glow-card:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 20px 50px rgba(0, 242, 254, 0.15);
}

.glow-symbol {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--primary-cyan);
    animation: pulseSymbol 2.5s infinite alternate ease-in-out;
}

@keyframes pulseSymbol {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.1); opacity: 1; }
}

.about-glow-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.about-glow-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.about-info .about-lead {
    font-size: 1.15rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
}

.about-info p {
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Testimonials Styling ─── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    backdrop-filter: blur(10px);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: var(--card-border-glow);
    box-shadow: 0 15px 30px rgba(0, 242, 254, 0.06);
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    color: var(--primary-cyan);
    opacity: 0.15;
    position: absolute;
    top: 10px;
    left: 20px;
}

html[dir="rtl"] .quote-icon {
    left: auto;
    right: 20px;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.review-author {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.author-name {
    display: block;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}

.author-role {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ─── FAQ Section Styling ─── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

html[dir="rtl"] .faq-question {
    text-align: right;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-cyan);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    padding: 0 24px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* Active FAQ Item state */
.faq-item.active {
    border-color: var(--card-border-glow);
    box-shadow: 0 10px 25px rgba(0, 242, 254, 0.05);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--glow-magenta);
}

.faq-item.active .faq-answer {
    max-height: 250px; /* enough space for answer */
}

/* ─── Floating WhatsApp Widget Styling ─── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 150;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

html[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

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

.whatsapp-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background-color: red;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #25d366;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: #0f1322;
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 8px;
    padding: 8px 12px;
    width: 160px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
}

html[dir="rtl"] .whatsapp-tooltip {
    right: auto;
    left: 75px;
    transform: translateX(-10px);
}

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

.tooltip-title {
    display: block;
    font-weight: 600;
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.3;
}

.tooltip-sub {
    display: block;
    font-size: 0.65rem;
    color: #25d366;
}

.whatsapp-icon {
    transition: var(--transition);
}

/* ─── Footer Social Media Styling ─── */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary-cyan);
    color: #080a11;
    border-color: var(--primary-cyan);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-visual {
        order: 2;
    }
    .about-info {
        order: 1;
    }
}

/* ─── Mockup Image Style ─── */
.mockup-img {
    width: 100%;
    border-radius: 14px;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.dashboard-mockup:hover .mockup-img {
    border-color: var(--primary-cyan);
    transform: scale(1.01);
}

/* ─── About Section Rich Elements ─── */
.about-img-container {
    width: 100%;
    max-width: 440px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    background: var(--card-bg);
}

.about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-img-container:hover .about-img {
    transform: scale(1.05);
}

.about-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(8, 10, 17, 0.8));
    pointer-events: none;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 35px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    transition: var(--transition);
}

html[dir="rtl"] .stat-item {
    text-align: right;
}

.stat-item:hover {
    border-color: var(--card-border-glow);
    background: rgba(0, 242, 254, 0.02);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-cyan);
    display: block;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 4px;
    font-weight: 500;
}

/* ─── Dedicated Blog Post View ─── */
.blog-post-view {
    animation: postFadeIn 0.5s ease forwards;
}

@keyframes postFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.back-blog-btn {
    margin-bottom: 40px;
    padding: 10px 24px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.back-arrow {
    transition: transform 0.25s ease;
}

.back-blog-btn:hover .back-arrow {
    transform: translateX(-4px);
}

html[dir="rtl"] .back-blog-btn:hover .back-arrow {
    transform: translateX(4px);
}

.blog-full-post {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 50px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.post-header-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.post-badge {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    color: var(--primary-cyan);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
}

.post-meta-item {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.post-full-title {
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 40%, #a2bdf2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.post-author-bar {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.post-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--card-border-glow) 0%, rgba(255, 255, 255, 0.05) 100%);
    margin-bottom: 40px;
}

html[dir="rtl"] .post-divider {
    background: linear-gradient(270deg, var(--card-border-glow) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.post-body-text {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-primary);
}

.post-body-text p {
    margin-bottom: 24px;
    color: #cbd5e1;
}

.post-body-text h3 {
    font-size: 1.6rem;
    margin: 35px 0 15px;
    color: #ffffff;
}

.post-body-text ul, .post-body-text ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

html[dir="rtl"] .post-body-text ul, html[dir="rtl"] .post-body-text ol {
    padding-left: 0;
    padding-right: 24px;
}

.post-body-text li {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.post-body-text blockquote {
    border-left: 4px solid var(--primary-cyan);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--primary-cyan);
}

html[dir="rtl"] .post-body-text blockquote {
    border-left: none;
    border-right: 4px solid var(--primary-cyan);
    padding-left: 0;
    padding-right: 20px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .about-visual {
        order: 2;
    }
    .about-info {
        order: 1;
    }
    .blog-full-post {
        padding: 30px;
    }
    .post-full-title {
        font-size: 2rem;
    }
}

/* Multi-page Image and Details Overrides */
.blog-img-wrapper img, .service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img-wrapper img,
.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

/* Adjustments for service detail and blog detail lists */
.features-list li {
    transition: var(--transition);
}

.features-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 242, 254, 0.2);
}

