:root {
    --brand-yellow: #f5c400;
    --brand-yellow-dark: #d7aa00;
    --brand-black: #0d0d0d;
    --brand-black-soft: #171717;
    --brand-white: #ffffff;
    --brand-gray: #f5f5f5;
    --brand-text: #282828;
    --brand-muted: #6f6f6f;
    --brand-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
    --brand-shadow-3d: 0 24px 45px rgba(0, 0, 0, 0.16), 0 8px 18px rgba(245, 196, 0, 0.12);
    --radius-lg: 28px;
    --radius-md: 20px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--brand-text);
    background: #fffef9;
    overflow-x: hidden;
    line-height: 1.7;
}

body.rtl-layout {
    font-family: 'Cairo', 'Plus Jakarta Sans', sans-serif;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.site-loader {
    position: fixed;
    inset: 0;
    background: var(--brand-black);
    z-index: 9999;
    display: grid;
    place-items: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.site-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-mark {
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--brand-yellow), #ffdf58);
    color: var(--brand-black);
    display: grid;
    place-items: center;
    font-weight: 800;
    letter-spacing: 2px;
    animation: pulse 1.4s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.site-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 20;
}

.navbar {
    padding: 24px 0;
}

.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lang-switcher__link {
    min-width: 40px;
    text-align: center;
    padding: 8px 10px;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.lang-switcher__link.active,
.lang-switcher__link:hover {
    background: var(--brand-yellow);
    color: var(--brand-black);
}

.brand-badge {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--brand-yellow), #ffe066);
    color: var(--brand-black);
    border-radius: 16px;
    font-weight: 800;
    box-shadow: var(--brand-shadow);
}

.navbar-brand strong,
.navbar-brand small {
    color: white;
}

.nav-link {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

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

.btn-brand {
    background: var(--brand-yellow);
    color: var(--brand-black);
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    border: 0;
    box-shadow: 0 14px 28px rgba(245, 196, 0, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, filter 0.25s ease;
    position: relative;
    transform-style: preserve-3d;
}

.btn-brand:hover,
.btn-brand:focus {
    background: #ffd83c;
    color: var(--brand-black);
    transform: translateY(-2px);
    box-shadow: 0 20px 34px rgba(245, 196, 0, 0.28);
}

.btn-outline-light-brand,
.btn-outline-dark {
    border-radius: 999px;
    padding: 12px 24px;
    font-weight: 700;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    transform-style: preserve-3d;
}

.btn-outline-light-brand {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline-light-brand:hover {
    background: white;
    color: var(--brand-black);
    transform: translateY(-2px);
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

.btn-3d::before,
.btn-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.btn-3d::before {
    inset: auto 10px -10px 10px;
    height: 18px;
    background: rgba(0, 0, 0, 0.18);
    filter: blur(14px);
    z-index: -2;
}

.btn-3d::after {
    inset: 1px;
    background: linear-gradient(180deg, rgba(255,255,255,0.32), rgba(255,255,255,0));
}

.btn-brand.btn-3d {
    box-shadow: 0 14px 0 #c59a00, 0 24px 38px rgba(245, 196, 0, 0.28);
}

.btn-brand.btn-3d:hover,
.btn-brand.btn-3d:focus {
    transform: translateY(-3px);
    box-shadow: 0 18px 0 #c59a00, 0 28px 42px rgba(245, 196, 0, 0.3);
    filter: saturate(1.05);
}

.btn-brand.btn-3d:active {
    transform: translateY(2px);
    box-shadow: 0 10px 0 #c59a00, 0 16px 26px rgba(245, 196, 0, 0.24);
}

.btn-3d--ghost {
    box-shadow: 0 14px 0 rgba(255,255,255,0.08), 0 22px 34px rgba(0, 0, 0, 0.24);
}

.btn-3d--ghost:hover,
.btn-3d--ghost:focus {
    box-shadow: 0 18px 0 rgba(255,255,255,0.12), 0 26px 38px rgba(0, 0, 0, 0.26);
}

.btn-3d.is-pressed {
    transform: translateY(2px) !important;
}

.hero-section,
.page-hero {
    position: relative;
    background: radial-gradient(circle at top right, rgba(245, 196, 0, 0.34), transparent 24%),
                linear-gradient(125deg, #050505 20%, #1a1a1a 60%, #2e2300 100%);
    color: white;
    overflow: hidden;
}

.hero-section {
    padding: 170px 0 120px;
}

.hero-section--3d {
    isolation: isolate;
}

.hero-bg-orb,
.hero-grid-lines {
    position: absolute;
    pointer-events: none;
}

.hero-bg-orb {
    border-radius: 50%;
}

.hero-bg-orb--one {
    width: 340px;
    height: 340px;
    top: 90px;
    right: 7%;
    background: radial-gradient(circle, rgba(245, 196, 0, 0.42), rgba(245, 196, 0, 0));
    animation: floatDrift 7.5s ease-in-out infinite;
}

.hero-bg-orb--two {
    width: 240px;
    height: 240px;
    bottom: 110px;
    left: 5%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
    animation: floatDrift 9s ease-in-out infinite reverse;
}

.hero-grid-lines {
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 80%);
    opacity: 0.28;
}

.page-hero {
    padding: 160px 0 90px;
}

.hero-section::after,
.page-hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 130px;
    background: url("data:image/svg+xml,%3Csvg width='1440' height='140' viewBox='0 0 1440 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23fffef9' d='M0 71.828C205.286 144.641 403.375 152.527 594.264 95.4856C822.567 27.2535 1080.32 -10.5047 1440 83.5115V140H0V71.828Z'/%3E%3C/svg%3E") center bottom / cover no-repeat;
}

.hero-badge,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-arabic {
    font-family: 'Cairo', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5vw, 4.6rem);
    line-height: 1.15;
    margin: 22px 0 16px;
}

.hero-display {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: clamp(2.5rem, 4.8vw, 4.8rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.03em;
    max-width: 12ch;
    margin: 20px 0 18px;
}

.hero-display__accent {
    font-family: 'Cairo', sans-serif;
    color: var(--brand-yellow);
    font-size: clamp(1.9rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.hero-subtitle,
.page-hero p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 640px;
}

.hero-card,
.glass-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 28px;
    box-shadow: var(--brand-shadow);
}

.glass-panel {
    box-shadow: 0 24px 45px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255,255,255,0.14);
}

.hero-section--3d [data-depth] {
    transition: transform 0.25s ease;
}

.hero-card--overlay {
    position: absolute;
    left: 22px;
    right: 22px;
    bottom: 22px;
    color: white;
    transform: translateZ(28px);
}

.hero-card--overlay h2,
.hero-card--overlay p,
.hero-card--overlay .section-kicker {
    color: white;
}

.hero-card--overlay .info-card {
    background: rgba(9, 9, 9, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.hero-card--overlay .info-card h3,
.hero-card--overlay .info-card p {
    color: white;
}

.hero-card--overlay .icon-badge {
    background: rgba(245, 196, 0, 0.18);
    color: white;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
    perspective: 1200px;
}

.stat-box,
.info-card,
.service-card,
.portfolio-card,
.testimonial-card,
.admin-stat,
.contact-card,
.value-card {
    border-radius: var(--radius-md);
    background: white;
    box-shadow: var(--brand-shadow);
}
.stat-box, .info-card, .service-card, .portfolio-card, .testimonial-card, .admin-stat, .contact-card, .value-card {
color: color(srgb 0.051 0.051 0.051);
}
.stat-box {
    padding: 18px;
}

.stat-box--3d {
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    color: white;
}

.stat-box--3d span {
    color: rgba(255,255,255,0.78);
}

.stat-box strong {
    display: block;
    font-size: 1.8rem;
    color: var(--brand-yellow);
}

section {
    padding: 95px 0;
}

.section-title {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--brand-black);
}

.section-intro {
    color: var(--brand-muted);
    max-width: 700px;
}

.service-card,
.info-card,
.portfolio-card,
.testimonial-card,
.contact-card,
.value-card,
.admin-card {
    height: 100%;
    padding: 28px;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    border: 1px solid rgba(15, 15, 15, 0.04);
}

.expertise-grid .service-card {
    padding: 20px 18px;
    border-radius: 18px;
}

.expertise-grid .service-card .icon-badge {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.expertise-grid .service-card h3 {
    font-size: 1.06rem;
    margin-bottom: 8px;
}

.expertise-grid .service-card p {
    font-size: 0.92rem;
    color: var(--brand-muted);
    line-height: 1.55;
}

.service-card:hover,
.info-card:hover,
.portfolio-card:hover,
.testimonial-card:hover,
.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
}

.card-3d,
.hero-tilt-card,
.info-card--3d {
    position: relative;
    transform-style: preserve-3d;
    will-change: transform;
}

.card-3d::after,
.hero-tilt-card::after,
.info-card--3d::after {
    content: '';
    position: absolute;
    inset: auto 20px -18px 20px;
    height: 24px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    filter: blur(16px);
    z-index: -1;
}

.card-3d:hover,
.hero-tilt-card:hover,
.info-card--3d:hover {
    box-shadow: 0 28px 58px rgba(0, 0, 0, 0.16), 0 10px 24px rgba(245, 196, 0, 0.1);
}

.icon-badge {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: rgba(245, 196, 0, 0.16);
    color: var(--brand-black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 22px;
}

.dark-section {
    background: #111111;
    color: white;
}

.dark-section .section-title,
.dark-section .section-intro {
    color: white;
}

.process-step {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.08);
    height: 100%;
}

.card-3d--dark {
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255,255,255,0.06);
}

.hero-visual-card,
.page-hero-media,
.showcase-media,
.showcase-strip,
.contact-map__media {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.16);
}

.hero-visual-card {
    min-height: 620px;
    transform-style: preserve-3d;
}

.hero-visual-stack {
    position: relative;
    perspective: 1600px;
    padding: 30px 18px 18px;
}

.hero-floating-card {
    position: absolute;
    z-index: 3;
    width: min(240px, 44%);
    padding: 18px 18px 16px;
    color: white;
    animation: floatCard 7s ease-in-out infinite;
}

.hero-floating-card strong {
    display: block;
    font-size: 1.04rem;
    margin-top: 10px;
}

.hero-floating-card p {
    color: rgba(255,255,255,0.78);
    font-size: 0.92rem;
}

.hero-floating-card--top {
    top: 0;
    left: 0;
}

.hero-floating-card--bottom {
    right: 0;
    bottom: 70px;
    animation-delay: 1.6s;
}

.hero-floating-card__metric {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-yellow);
}

.hero-visual-card > img,
.page-hero-media img,
.showcase-media img,
.showcase-strip img,
.contact-map__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-visual-card > img {
    min-height: 620px;
}

.hero-visual-card::after,
.page-hero-media::after,
.showcase-media::after,
.showcase-strip::after,
.contact-map__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.35));
}

.page-hero-media::before,
.showcase-media::before,
.showcase-strip::before,
.hero-visual-card::before {
    content: '';
    position: absolute;
    inset: auto auto 16px 16px;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: rgba(245, 196, 0, 0.9);
    box-shadow: 0 18px 26px rgba(245, 196, 0, 0.22);
    z-index: 1;
}

.page-hero-media {
    min-height: 360px;
}

.showcase-media {
    min-height: 520px;
}

.showcase-strip {
    height: 260px;
}

.service-card--premium,
.portfolio-card,
.testimonial-card,
.cta-banner__box,
.showcase-media,
.showcase-strip {
    overflow: hidden;
}

.service-card--premium::after,
.portfolio-card::after,
.testimonial-card::after,
.cta-banner__box::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.22), transparent 38%, transparent 65%, rgba(245,196,0,0.08));
    opacity: 0.9;
    pointer-events: none;
}

.service-card--premium::before,
.portfolio-card::before,
.testimonial-card::before,
.value-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(90deg, var(--brand-yellow), #fff1a3);
}

.service-card--premium,
.portfolio-card,
.testimonial-card,
.value-card {
    position: relative;
}

.showcase-media img,
.showcase-strip img,
.page-hero-media img {
    transform: scale(1.01);
}

.process-step .number {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: var(--brand-yellow);
    color: var(--brand-black);
    font-weight: 800;
    margin-bottom: 18px;
}

.portfolio-thumb {
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 22px;
    background: #f4f4f4;
}

.portfolio-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.portfolio-card:hover .portfolio-thumb img {
    transform: scale(1.05);
}

.portfolio-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.filter-btn {
    border: 1px solid #e4e4e4;
    background: white;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    color: var(--brand-text);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--brand-yellow);
    border-color: var(--brand-yellow);
    color: var(--brand-black);
}

.testimonial-rating {
    color: var(--brand-yellow-dark);
    margin-bottom: 14px;
}

.cta-banner {
    padding-top: 0;
}

.cta-banner__box {
    background: linear-gradient(135deg, var(--brand-yellow), #ffdf66);
    color: var(--brand-black);
    border-radius: 36px;
    padding: 44px;
    margin-bottom: -72px;
    position: relative;
    z-index: 2;
    box-shadow: 0 28px 50px rgba(245, 196, 0, 0.22);
    display: grid;
    grid-template-columns: 1.3fr 0.9fr auto;
    gap: 28px;
    align-items: center;
}

.cta-banner__media {
    height: 180px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}

.cta-banner__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-footer {
    background: #0d0d0d;
    color: white;
    padding: 140px 0 34px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    margin: 0;
    font-size: 1.3rem;
}

.footer-brand p,
.footer-text,
.footer-note {
    color: rgba(255, 255, 255, 0.72);
}

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

.footer-list li {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.82);
}

.footer-list a,
.footer-bottom a {
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin: 18px 0;
}

.social-links a,
.whatsapp-float,
.call-float,
.scroll-top {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a {
    background: rgba(255, 255, 255, 0.08);
    color: white;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.68);
}

.form-control,
.form-select {
    border-radius: 16px;
    min-height: 54px;
    padding: 12px 16px;
    border: 1px solid #dedede;
}

textarea.form-control {
    min-height: 140px;
}

.form-label {
    font-weight: 600;
}

.contact-map {
    border-radius: 24px;
    overflow: hidden;
    min-height: 100%;
    background: linear-gradient(140deg, #151515, #2d2d2d);
    color: white;
    padding: 34px;
}

.contact-map ul {
    list-style: none;
    padding: 0;
}

.contact-map li {
    margin-bottom: 14px;
}

.contact-map__media {
    height: 220px;
    margin-top: 10px;
}

.rtl-layout .navbar-brand,
.rtl-layout .footer-brand {
    flex-direction: row-reverse;
}

.rtl-layout .navbar-nav {
    margin-right: auto;
    margin-left: 0 !important;
}

.rtl-layout .hero-display,
.rtl-layout .hero-subtitle,
.rtl-layout .section-title,
.rtl-layout .section-intro,
.rtl-layout .page-card,
.rtl-layout .contact-map,
.rtl-layout .testimonial-card,
.rtl-layout .portfolio-card,
.rtl-layout .service-card,
.rtl-layout .value-card {
    text-align: right;
}

.rtl-layout .lang-switcher {
    flex-direction: row-reverse;
}

.rtl-layout .hero-stats {
    direction: rtl;
}

.rtl-layout .hero-floating-card--top {
    left: auto;
    right: 0;
}

.rtl-layout .hero-floating-card--bottom {
    right: auto;
    left: 0;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(245, 196, 0, 0.8);
    box-shadow: 0 0 0 0.25rem rgba(245, 196, 0, 0.16);
}

.alert {
    border-radius: 16px;
}

.table-responsive,
.admin-card {
    background: white;
    border-radius: 24px;
    box-shadow: var(--brand-shadow);
}

.admin-body {
    background: #f4f5f8;
}

.admin-body--whatsapp {
    height: 100vh;
    overflow: hidden;
}

.admin-body--whatsapp .container-fluid,
.admin-body--whatsapp .container-fluid > .row {
    height: 100vh;
}

.admin-sidebar {
    background: var(--brand-black);
    min-height: 100vh;
    color: white;
    padding: 28px;
}

.admin-sidebar a {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    padding: 12px 16px;
    border-radius: 14px;
    margin-bottom: 8px;
}

.admin-sidebar a.active,
.admin-sidebar a:hover {
    background: rgba(245, 196, 0, 0.14);
    color: var(--brand-yellow);
}

.admin-main {
    padding: 30px;
}

.admin-body--whatsapp .admin-sidebar {
    height: 100vh;
    overflow-y: auto;
}

.whatsapp-admin-column {
    min-height: 0;
}

.whatsapp-admin-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
}

.admin-body--whatsapp .whatsapp-admin-main {
    height: 100vh;
    padding: 22px 24px;
    overflow: hidden;
}

.admin-stat {
    padding: 24px;
}

.admin-stat strong {
    display: block;
    font-size: 2rem;
}

.whatsapp-float,
.call-float,
.scroll-top {
    position: fixed;
    right: 20px;
    z-index: 50;
    color: white;
    border: none;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.whatsapp-float {
    bottom: 90px;
    background: #25d366;
}

.call-float {
    bottom: 155px;
    background: var(--brand-black);
}

.scroll-top {
    bottom: 24px;
    background: var(--brand-yellow);
    color: var(--brand-black);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.whatsapp-float,
.call-float,
.scroll-top,
.social-links a {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover,
.call-float:hover,
.scroll-top:hover,
.social-links a:hover {
    transform: translateY(-4px);
}

.rtl-text {
    direction: rtl;
    text-align: right;
    font-family: 'Cairo', sans-serif;
}

.page-card {
    background: white;
    border-radius: 30px;
    box-shadow: var(--brand-shadow);
    padding: 36px;
    border: 1px solid rgba(15, 15, 15, 0.04);
}

.upload-dropzone {
    position: relative;
    border: 1.5px dashed rgba(13, 13, 13, 0.16);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(245, 196, 0, 0.07), rgba(255, 255, 255, 0.95));
    padding: 18px;
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover {
    border-color: var(--brand-yellow-dark);
    box-shadow: 0 18px 36px rgba(245, 196, 0, 0.14);
    transform: translateY(-2px);
    background: linear-gradient(180deg, rgba(245, 196, 0, 0.12), rgba(255, 255, 255, 1));
}

.upload-dropzone__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.upload-dropzone__body {
    min-height: 180px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    padding: 24px;
}

.upload-dropzone__icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 196, 0, 0.16);
    color: var(--brand-black);
    font-size: 1.5rem;
}

.upload-dropzone__body h3 {
    margin: 0;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--brand-black);
}

.upload-dropzone__body p {
    margin: 0;
    color: var(--brand-muted);
    max-width: 480px;
}

.upload-dropzone__filename {
    color: var(--brand-muted);
    font-weight: 600;
}

.upload-preview {
    border: 1px solid rgba(13, 13, 13, 0.08);
    border-radius: 22px;
    background: #fff;
    padding: 16px;
}

.upload-preview__label {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-muted);
    margin-bottom: 12px;
}

.upload-preview__image {
    width: 100%;
    max-height: 260px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    background: #f7f7f7;
}

.upload-preview__image--contain {
    object-fit: contain;
    padding: 18px;
}

.upload-preview__placeholder {
    border-radius: 16px;
    background: #f7f7f7;
    padding: 32px 18px;
    text-align: center;
    color: var(--brand-muted);
    font-weight: 600;
}

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

@keyframes floatDrift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(12px, -18px, 0) scale(1.04); }
}

.admin-code-block {
    background: #111111;
    color: #ffffff;
    border-radius: 18px;
    padding: 16px;
    word-break: break-word;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.92rem;
}

.whatsapp-inbox-list {
    max-height: calc(100vh - 140px);
    overflow: auto;
}

.conversation-item {
    display: block;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(15, 15, 15, 0.06);
    margin-bottom: 12px;
    color: inherit;
    background: #ffffff;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.conversation-item:hover,
.conversation-item.active {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.08);
    border-color: rgba(245, 196, 0, 0.35);
}

.whatsapp-chat-window {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 560px;
    overflow: auto;
    padding: 8px 4px 8px 0;
}

.chat-bubble {
    max-width: 82%;
    padding: 16px 18px;
    border-radius: 20px;
    background: #f4f5f8;
    border: 1px solid rgba(15, 15, 15, 0.06);
}

.chat-bubble--inbound {
    align-self: flex-start;
}

.chat-bubble--outbound {
    align-self: flex-end;
    background: rgba(245, 196, 0, 0.18);
    border-color: rgba(245, 196, 0, 0.25);
}

.chat-bubble__meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 0.82rem;
    color: #5f5f5f;
}

@media (max-width: 991.98px) {
    .navbar {
        background: rgba(10, 10, 10, 0.94);
        border-radius: 24px;
        padding: 14px 18px;
        margin-top: 12px;
    }

    .lang-switcher {
        margin-top: 10px;
        width: fit-content;
    }

    .hero-section,
    .page-hero {
        padding-top: 150px;
    }

    .hero-visual-stack {
        padding-top: 56px;
    }

    .hero-floating-card {
        width: min(220px, 48%);
    }

    section {
        padding: 75px 0;
    }

    .cta-banner__box {
        padding: 32px;
        grid-template-columns: 1fr;
    }

    .hero-visual-card,
    .hero-visual-card > img {
        min-height: 520px;
    }

    .showcase-media {
        min-height: 360px;
    }
}

@media (max-width: 767.98px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .hero-floating-card {
        display: none;
    }

    .hero-display {
        max-width: none;
        font-size: clamp(2.1rem, 10vw, 3.2rem);
    }

    .cta-banner__box {
        margin-bottom: -55px;
    }

    .site-footer {
        padding-top: 120px;
    }

    .hero-card--overlay {
        position: static;
        margin: 16px;
    }

    .hero-visual-card {
        min-height: auto;
    }

    .hero-visual-stack {
        padding: 0;
    }

    .hero-visual-card > img {
        min-height: 320px;
    }

    .page-hero-media,
    .showcase-media,
    .showcase-strip,
    .contact-map__media,
    .cta-banner__media {
        height: auto;
        min-height: 240px;
    }
}

.whatsapp-web-app {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    flex: 1;
    height: 100%;
    min-height: 0;
    background: #e9edef;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: var(--brand-shadow);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.wa-page-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wa-page-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.wa-health-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.wa-health-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 12px;
    background: #ffffff;
    color: #54656f;
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.wa-health-chip strong {
    color: #111111;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
}

.whatsapp-sidebar-panel {
    background: #ffffff;
    border-right: 1px solid rgba(14, 20, 27, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.whatsapp-sidebar-top {
    padding: 20px;
    background: #f8f9fb;
    border-bottom: 1px solid rgba(14, 20, 27, 0.08);
    position: sticky;
    top: 0;
    z-index: 5;
}

.whatsapp-sidebar-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.whatsapp-search-form {
    display: grid;
    gap: 14px;
}

.whatsapp-search-input {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border-radius: 16px;
    padding: 0 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.whatsapp-search-input i {
    color: #8696a0;
}

.whatsapp-search-input .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    min-height: 48px;
    padding-left: 0;
}

.whatsapp-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.whatsapp-filter-pill {
    border: 0;
    background: #ffffff;
    color: #54656f;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.whatsapp-filter-pill.active,
.whatsapp-filter-pill:hover {
    background: rgba(245, 196, 0, 0.18);
    color: #111111;
}

.whatsapp-bulk-toolbar {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    display: grid;
    gap: 12px;
}

.whatsapp-bulk-toolbar__row,
.whatsapp-bulk-toolbar__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.whatsapp-conversation-scroller {
    flex: 1;
    overflow-y: auto;
    min-height: 0;
    background: #ffffff;
}

.wa-web-conversation {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: stretch;
    gap: 10px;
    padding: 8px 14px;
    border-bottom: 1px solid rgba(14, 20, 27, 0.05);
    transition: background 0.2s ease;
}

.wa-web-conversation:hover,
.wa-web-conversation.active {
    background: #f4f7f8;
}

.wa-web-conversation.active {
    box-shadow: inset 4px 0 0 var(--brand-yellow);
}

.wa-web-conversation.has-unread .wa-web-conversation__content strong,
.wa-web-conversation.has-unread .wa-web-conversation__content p {
    color: #111111;
    font-weight: 700;
}

.wa-web-conversation__check {
    display: flex;
    align-items: center;
    margin: 0;
    padding-top: 18px;
}

.wa-web-conversation__link {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: start;
    gap: 12px;
    color: inherit;
    min-width: 0;
    padding: 8px 0;
}

.wa-web-conversation__avatar,
.wa-chat-header__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #111111, #2d2d2d);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.wa-web-conversation__content {
    min-width: 0;
}

.wa-web-conversation__topline,
.wa-web-conversation__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wa-web-conversation__topline strong,
.wa-web-conversation__meta span,
.wa-web-conversation__content p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wa-web-conversation__topline span,
.wa-web-conversation__meta span,
.wa-web-conversation__content p {
    font-size: 0.83rem;
    color: #667781;
}

.wa-web-conversation__content p {
    margin: 6px 0 0;
}

.wa-unread-badge {
    min-width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0 7px;
}

.wa-status-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.wa-status-chip--ai {
    background: rgba(37, 211, 102, 0.12);
    color: #128c7e;
}

.wa-status-chip--handoff {
    background: rgba(17, 17, 17, 0.1);
    color: #111111;
}

.wa-status-chip--closed {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.wa-status-chip--quote {
    background: rgba(245, 196, 0, 0.16);
    color: #8a6400;
}

.whatsapp-chat-panel {
    min-width: 0;
    min-height: 0;
    height: 100%;
    background:
        radial-gradient(circle at top right, rgba(245, 196, 0, 0.12), transparent 22%),
        linear-gradient(180deg, #efeae2 0%, #ece5dd 100%);
    display: flex;
    flex-direction: column;
}

.wa-chat-header {
    position: sticky;
    top: 0;
    z-index: 6;
    padding: 16px 22px;
    background: #f8f9fb;
    border-bottom: 1px solid rgba(14, 20, 27, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.wa-chat-header__identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wa-chat-header__badges,
.wa-chat-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wa-chat-header__summary {
    margin-top: 10px;
    max-width: 760px;
    color: #5f6f78;
    font-size: 0.9rem;
    line-height: 1.5;
}

.wa-chat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    padding: 28px 24px;
    scroll-behavior: smooth;
    background-image:
        linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.18)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4d4d4' fill-opacity='.22'%3E%3Cpath d='M110 0c5 18 18 31 36 36-18 5-31 18-36 36-5-18-18-31-36-36 18-5 31-18 36-36zm58 90c3 10 10 17 20 20-10 3-17 10-20 20-3-10-10-17-20-20 10-3 17-10 20-20zM48 142c4 13 13 22 26 26-13 4-22 13-26 26-4-13-13-22-26-26 13-4 22-13 26-26z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.wa-chat-body.is-loading {
    opacity: 0.35;
}

.wa-chat-body > * {
    flex: 0 0 auto;
}

.wa-chat-body-wrap {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.wa-chat-loading {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(236, 229, 221, 0.82);
    color: #5f6f78;
    font-weight: 700;
    backdrop-filter: blur(2px);
}

.wa-chat-loading__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25d366;
    animation: waPulse 1s ease-in-out infinite;
}

.wa-message-row {
    display: flex;
    margin-bottom: 14px;
}

.wa-message-row--inbound {
    justify-content: flex-start;
}

.wa-message-row--outbound {
    justify-content: flex-end;
}

.wa-message-bubble {
    max-width: min(78%, 720px);
    border-radius: 16px;
    padding: 12px 14px 8px;
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.08);
}

.wa-message-bubble--inbound {
    background: #ffffff;
    border-top-left-radius: 6px;
}

.wa-message-bubble--outbound {
    background: #d9fdd3;
    border-top-right-radius: 6px;
}

.wa-message-bubble__text {
    color: #111b21;
    white-space: normal;
    word-break: break-word;
}

.wa-message-bubble__meta {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    font-size: 0.72rem;
    color: #667781;
}

.wa-chat-composer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 14px 18px;
    background: #f8f9fb;
    border-top: 1px solid rgba(14, 20, 27, 0.08);
}

.wa-chat-composer__form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: flex-end;
}

.wa-chat-composer__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 0;
    background: #ffffff;
    color: #667781;
}

.wa-chat-composer__input {
    min-height: 54px;
    max-height: 160px;
    resize: vertical;
    border-radius: 20px;
    background: #ffffff;
    padding: 14px 18px;
}

.wa-chat-composer__send {
    min-width: 110px;
}

.wa-chat-composer__form.is-submitting,
#bulk-send-form.is-submitting {
    opacity: 0.76;
}

.wa-chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
}

.wa-chat-empty__icon {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 211, 102, 0.12);
    color: #128c7e;
    font-size: 2rem;
    margin-bottom: 18px;
}

.wa-bulk-modal[hidden] {
    display: none;
}

.wa-bulk-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.wa-bulk-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.38);
    backdrop-filter: blur(6px);
}

.wa-bulk-modal__dialog {
    position: relative;
    width: min(720px, calc(100vw - 32px));
    margin: 8vh auto 0;
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.24);
    padding: 26px;
}

.wa-bulk-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
}

.wa-bulk-modal__recipients {
    min-height: 54px;
    border-radius: 18px;
    background: #f7f8fa;
    padding: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.whatsapp-bulk-toolbar .btn[disabled],
.wa-bulk-modal .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

.wa-recipient-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 8px 12px;
    background: rgba(245, 196, 0, 0.14);
    color: #111111;
    font-size: 0.84rem;
    font-weight: 700;
}

.wa-modal-open {
    overflow: hidden;
}

@keyframes waPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.25); opacity: 1; }
}

@media (max-width: 1399px) {
    .whatsapp-web-app {
        grid-template-columns: 340px minmax(0, 1fr);
    }
}

@media (max-width: 1199px) {
    .admin-body--whatsapp {
        height: auto;
        overflow: auto;
    }

    .admin-body--whatsapp .container-fluid,
    .admin-body--whatsapp .container-fluid > .row,
    .admin-body--whatsapp .whatsapp-admin-main,
    .admin-body--whatsapp .admin-sidebar {
        height: auto;
    }

    .whatsapp-web-app {
        grid-template-columns: 1fr;
    }

    .whatsapp-sidebar-panel {
        border-right: 0;
        border-bottom: 1px solid rgba(14, 20, 27, 0.08);
        max-height: 420px;
    }
}

@media (max-width: 767px) {
    .admin-main {
        padding: 18px;
    }

    .wa-page-toolbar,
    .wa-page-toolbar__actions {
        align-items: stretch;
    }

    .whatsapp-web-app {
        height: auto;
        min-height: auto;
        border-radius: 24px;
    }

    .wa-chat-header,
    .wa-chat-composer,
    .whatsapp-sidebar-top {
        padding: 14px;
    }

    .wa-chat-composer__form {
        grid-template-columns: 1fr;
    }

    .wa-chat-composer__icon {
        display: none;
    }

    .wa-message-bubble {
        max-width: 92%;
    }
}
