/* ==========================================
   MAGHRBY DESIGN — V3
   Dark & Bold Theme (Ferrari Red #E10600)
   Split Hero Layout + Modern Navbar
   ========================================== */

/* ==========================================
   Custom Scrollbar & Selection
   ========================================== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #1a1a1a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #E10600; }

::selection { background-color: #E10600; color: #ffffff; }

/* ==========================================
   Preloader — Fast (0.6s)
   ========================================== */
#preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background-color: #0a0a0a;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.preloader-logo {
    max-width: 140px;
    height: auto;
    animation: pulseLogo 1.2s infinite ease-in-out;
}

.preloader-text {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin: 0;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeInTagline 0.4s ease forwards;
    animation-delay: 0.15s;
}

#preloader.hidden { opacity: 0; visibility: hidden; }

/* ==========================================
   Base & Reset
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    background-color: #0a0a0a !important;
    color: #ffffff;
    overflow-x: hidden;
    width: 100%;
}

a:focus-visible, button:focus-visible {
    outline: 2px solid #E10600;
    outline-offset: 4px;
}

img:not([src]), img[src=""] {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ==========================================
   Keyframes
   ========================================== */
@keyframes fadeInTagline {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 0.85; transform: translateY(0); }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.04); opacity: 1; }
}

@keyframes heroBlurIn {
    0% { opacity: 0; filter: blur(20px); transform: translateY(30px); }
    100% { opacity: 1; filter: blur(0px); transform: translateY(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
    0% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

@keyframes whatsappPulse {
    0% { transform: scale(1); opacity: 0.5; }
    70% { transform: scale(1.5); opacity: 0; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ==========================================
   Navbar
   ========================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 48px;
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    opacity: 0;
    animation: heroBlurIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.logo {
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.logo:hover { opacity: 0.85; }
.logo span { color: #E10600; font-weight: 700; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 8px 16px;
    border-radius: 40px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-talk {
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px 22px;
    border-radius: 40px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    background: transparent;
    white-space: nowrap;
}

.btn-talk:hover {
    background: #E10600;
    border-color: #E10600;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(225, 6, 0, 0.5);
    transform: translateY(-2px);
}

.btn-google-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 9px 20px 9px 14px;
    border-radius: 40px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    font-family: inherit;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-google-nav:hover {
    background: #E10600;
    border-color: #E10600;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(225, 6, 0, 0.5);
    transform: translateY(-2px);
}

.btn-google-nav svg { display: none; }

.btn-google-nav.signed-in {
    border-color: rgba(225, 6, 0, 0.5);
    padding: 10px 22px;
    font-size: 0.75rem;
    letter-spacing: 1.2px;
}

.btn-google-nav.signed-in:hover {
    background: #E10600;
    border-color: #E10600;
}

.btn-google-nav.signed-in .btn-google-nav-text {
    max-width: 110px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-user-menu {
    position: fixed;
    top: 78px;
    right: 48px;
    z-index: 1001;
    padding: 7px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.nav-user-menu button {
    min-height: 40px;
    border: 0;
    border-radius: 8px;
    padding: 0 14px;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-user-menu button:hover,
.nav-user-menu button:focus-visible {
    background: rgba(225, 6, 0, 0.15);
    color: #E10600;
    outline: none;
}

/* ==========================================
   Back To Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 10, 0.8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: opacity 0.35s ease, transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease, visibility 0.35s;
}

.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top:hover {
    background: #E10600;
    border-color: #E10600;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(225, 6, 0, 0.5);
    transform: translateY(-3px);
}

.back-to-top svg { pointer-events: none; }

/* ==========================================
   HERO — Clean Editorial (Merged Photo)
   ========================================== */
.hero.hero-split {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #0a0a0a !important;
    padding: 120px 48px 100px;
}

.hero.hero-split::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40vh;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(10, 10, 10, 0.25) 30%,
        rgba(10, 10, 10, 0.6) 60%,
        rgba(10, 10, 10, 0.9) 85%,
        #0a0a0a 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
    order: -1;
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    -webkit-mask-image: radial-gradient(
        ellipse 65% 70% at 50% 50%,
        #000 0%,
        #000 45%,
        rgba(0, 0, 0, 0.85) 65%,
        rgba(0, 0, 0, 0.4) 85%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 65% 70% at 50% 50%,
        #000 0%,
        #000 45%,
        rgba(0, 0, 0, 0.85) 65%,
        rgba(0, 0, 0, 0.4) 85%,
        transparent 100%
    );
}

.hero-photo-gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
    background:
        linear-gradient(to right, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 25%, rgba(10,10,10,0) 75%, rgba(10,10,10,0.95) 100%),
        linear-gradient(to bottom, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0) 20%, rgba(10,10,10,0) 75%, rgba(10,10,10,1) 100%);
    -webkit-mask-image: radial-gradient(
        ellipse 75% 80% at 50% 50%,
        #000 0%,
        #000 55%,
        rgba(0, 0, 0, 0.5) 80%,
        transparent 100%
    );
    mask-image: radial-gradient(
        ellipse 75% 80% at 50% 50%,
        #000 0%,
        #000 55%,
        rgba(0, 0, 0, 0.5) 80%,
        transparent 100%
    );
}

.hero-photo-glow {
    position: absolute;
    inset: -25%;
    background: radial-gradient(circle at center, rgba(225, 6, 0, 0.35) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
    animation: photoGlowPulse 5s ease-in-out infinite;
}

@keyframes photoGlowPulse {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    pointer-events: none;
}

.hero-content a,
.hero-content button {
    pointer-events: auto;
}

.hero-badge {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 4px;
    color: #E10600;
    font-weight: 800;
    margin-bottom: 32px;
    text-transform: uppercase;
    padding: 8px 20px;
    background: rgba(225, 6, 0, 0.08);
    border: 1px solid rgba(225, 6, 0, 0.25);
    border-radius: 40px;
    opacity: 0;
    animation: heroBlurIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    margin-bottom: 32px;
    text-transform: uppercase;
    color: #ffffff;
    opacity: 0;
    animation: heroBlurIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.45s;
}

.hero-title-highlight {
    color: #E10600;
    display: inline;
    text-shadow: 0 0 60px rgba(225, 6, 0, 0.45);
}

.hero-sub {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: #999999;
    font-weight: 400;
    margin: 0 auto 40px;
    line-height: 1.7;
    max-width: 520px;
    opacity: 0;
    animation: heroBlurIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.6s;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
    opacity: 0;
    animation: heroBlurIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.75s;
}

.hero-cta-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 36px;
    background: #E10600;
    border: 1px solid #E10600;
    color: #ffffff;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
    overflow: hidden;
}

.hero-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.hero-cta-primary:hover::before { left: 150%; }

.hero-cta-primary:hover {
    background: #ff1a10;
    border-color: #ff1a10;
    box-shadow: 0 15px 45px rgba(225, 6, 0, 0.55);
    transform: translateY(-3px);
}

.hero-cta-primary .arrow {
    transition: transform 0.3s ease;
    display: inline-block;
}

.hero-cta-primary:hover .arrow { transform: translate(4px, -4px); }

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
}

.hero-brand-line {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: heroBlurIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.95s;
}

.hero-brand-text {
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    font-weight: 900;
    letter-spacing: 5px;
    color: #ffffff;
    text-transform: uppercase;
    line-height: 1;
    display: inline-block;
}

.hero-brand-dot {
    color: #E10600;
    font-weight: 900;
    margin: 0 2px;
}

/* ==========================================
   About Section — Professional
   ========================================== */
.about-section {
    padding: 160px 8% 120px;
    background-color: transparent !important;
    position: relative;
    z-index: 3;
    overflow: hidden;
}

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.blur-glow {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    opacity: 0.15;
    z-index: 1;
}

.glow-1 { top: 10%; right: -5%; background: radial-gradient(circle, #E10600 0%, transparent 70%); }
.glow-2 { bottom: 10%; left: -5%; background: radial-gradient(circle, #E10600 0%, transparent 70%); opacity: 0.08; }

.section-tag {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #E10600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.about-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #a0a0a0;
    font-weight: 400;
    max-width: 900px;
    margin-bottom: 40px;
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 120px;
}

.about-text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-left: 20px;
}

.about-name {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2.5px;
    color: #ffffff;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.name-highlight {
    color: #E10600;
    text-shadow: 0 0 40px rgba(225, 6, 0, 0.4);
}

.about-tagline {
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    color: #a0a0a0;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 0 30px 0;
    font-style: italic;
    border-bottom: 2px solid #E10600;
    padding-bottom: 20px;
    text-align: center;
    max-width: 90%;
}

.about-accent-line {
    width: 60px;
    height: 2px;
    background: #E10600;
    margin-bottom: 30px;
    box-shadow: 0 0 15px rgba(225, 6, 0, 0.5);
}

.about-text-content .about-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #999999;
    font-weight: 400;
    margin: 0;
    max-width: 90%;
}

.about-visual {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    animation: aboutCardIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes aboutCardIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.about-photo-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.15;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: #0f0f0f;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.about-visual:hover .about-photo-frame {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(225, 6, 0, 0.2), 0 0 0 1px rgba(225, 6, 0, 0.3);
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: grayscale(20%) contrast(1.05);
    transition: filter 0.6s ease, transform 0.6s ease;
}

.about-visual:hover .about-photo {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.about-photo-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
    z-index: 1;
}

.about-stats-bar {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(225, 6, 0, 0.05);
    transition: transform 0.4s ease;
}

.about-visual:hover .about-stats-bar {
    transform: translateX(-50%) translateY(-5px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.stat-item:last-child {
    align-items: flex-end;
    text-align: right;
}

.stat-value {
    display: flex;
    align-items: flex-start;
    gap: 2px;
    margin-bottom: 6px;
}

.counter-number {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(180deg, #ffffff 0%, #888888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
}

.stat-plus {
    font-size: 1.6rem;
    font-weight: 900;
    color: #E10600;
    line-height: 1;
    margin-top: 4px;
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.4);
}

.stat-label {
    font-size: 0.65rem;
    font-weight: 800;
    color: #888888;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin: 0 20px;
}

@media (max-width: 1024px) {
    .about-main-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-text-content {
        padding-left: 0;
        order: 2;
    }

    .about-visual {
        max-width: 450px;
        order: 1;
        margin-bottom: 40px;
    }

    .about-name {
        font-size: 2.5rem;
    }
    
    .about-tagline {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 100px 5% 80px;
    }

    .about-stats-bar {
        bottom: -30px;
        padding: 18px 20px;
        width: 95%;
    }

    .counter-number {
        font-size: 2.2rem;
    }

    .stat-plus {
        font-size: 1.3rem;
    }

    .stat-label {
        font-size: 0.55rem;
        letter-spacing: 1.5px;
    }

    .stat-divider {
        margin: 0 10px;
        height: 35px;
    }

    .about-name {
        font-size: 2.2rem;
        letter-spacing: -1px;
    }

    .about-tagline {
        font-size: 0.95rem;
    }

    .about-text-content .about-description {
        font-size: 0.9rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .about-photo-frame {
        aspect-ratio: 1 / 1.2;
    }

    .about-stats-bar {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        bottom: -80px;
    }

    .stat-item {
        align-items: center !important;
        text-align: center !important;
        width: 100%;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
        margin: 5px 0;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    }

    .about-main-grid {
        margin-bottom: 180px;
    }
}

/* ==========================================
   Skills Section
   ========================================== */
.skills-wrapper {
    margin-top: 100px;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(10, 10, 10, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.skills-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.skills-header {
    margin-bottom: 40px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s;
}

.skills-wrapper.is-visible .skills-header {
    opacity: 1;
    transform: translateY(0);
}

.skills-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 10px 0 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.skills-wrapper.is-visible .skill-item:nth-child(1) { transition-delay: 0.3s; }
.skills-wrapper.is-visible .skill-item:nth-child(2) { transition-delay: 0.45s; }
.skills-wrapper.is-visible .skill-item:nth-child(3) { transition-delay: 0.6s; }

.skills-wrapper.is-visible .skill-item {
    opacity: 1;
    transform: translateY(0);
}

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

.skill-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.skill-percent {
    font-size: 0.85rem;
    font-weight: 800;
    color: #E10600;
    text-shadow: 0 0 15px rgba(225, 6, 0, 0.4);
    font-variant-numeric: tabular-nums;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #E10600 0%, #ff4d4d 100%);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(225, 6, 0, 0.5);
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: skillShine 2s infinite;
}

@keyframes skillShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@media (max-width: 768px) {
    .skills-wrapper {
        padding: 40px 20px;
        margin-top: 60px;
    }
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ==========================================
   Services / Capabilities Section
   ========================================== */
.services-wrapper {
    margin-top: 80px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.services-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-header {
    margin-bottom: 40px;
    text-align: left;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.9) 0%, rgba(10, 10, 10, 0.7) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: rgba(225, 6, 0, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(225, 6, 0, 0.15);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E10600, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-num {
    font-size: 0.85rem;
    font-weight: 800;
    color: #E10600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
    font-family: 'Inter', monospace;
}

.card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.service-card:hover .card-content h3 {
    color: #E10600;
}

.card-content p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #a0a0a0;
    margin: 0;
    font-weight: 400;
}

.card-glow-bg {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.1) 0%, transparent 70%);
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover .card-glow-bg {
    opacity: 1;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-wrapper {
        margin-top: 60px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .service-card {
        min-height: auto;
        padding: 32px 24px;
    }
    .card-content h3 {
        font-size: 1.3rem;
    }
}

/* ==========================================
   Partners Section — Horizontal Scroll
   ========================================== */
.partners-section {
    width: 100%;
    background-color: transparent !important;
    padding: 80px 0;
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
}

.partners-title {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 5px;
    color: #E10600;
    text-transform: uppercase;
    margin-bottom: 40px;
    text-align: center;
}

.partners-scroll-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
}

.partners-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 4px 16px;
    cursor: grab;
}

.partners-scroll::-webkit-scrollbar { display: none; }
.partners-scroll:active { cursor: grabbing; }

.partner-logo-cell {
    flex: 0 0 auto;
    width: 160px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo-cell::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: #E10600;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-logo-cell:hover::before { transform: scaleX(1); }

.partner-logo-cell:hover {
    border-color: rgba(225, 6, 0, 0.4);
    background: #121212;
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(225, 6, 0, 0.15);
}

.partner-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    user-select: none;
}

.partner-logo-cell:hover .partner-logo {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
    transform: scale(1.08);
}

.partners-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(10, 10, 10, 0.9);
    color: #ffffff;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
}

.partners-scroll-btn:hover {
    background: #E10600;
    border-color: #E10600;
    color: #ffffff;
    box-shadow: 0 0 25px rgba(225, 6, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.partners-scroll-btn:active { transform: translateY(-50%) scale(0.95); }

.partners-scroll-prev { left: 16px; }
.partners-scroll-next { right: 16px; }

.partners-progress {
    width: 100%;
    max-width: 1400px;
    margin: 24px auto 0;
    padding: 0 80px;
}

.partners-progress-bar {
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #E10600 0%, #ff1a10 100%);
    border-radius: 2px;
    transition: width 0.15s ease-out;
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.5);
}

/* ==========================================
   Portfolio Section
   ========================================== */
.portfolio-section {
    position: relative;
    width: 100%;
    background-color: transparent !important;
    padding: 120px 6% 100px;
    z-index: 3;
}

.portfolio-sticky-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-intro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
    padding: 0;
    background: transparent;
    border: none;
}

.portfolio-main-title {
    font-size: clamp(2rem, 6vw, 5rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -3px;
    margin-bottom: 24px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.portfolio-main-title .highlight {
    color: #E10600;
    text-shadow: 0 0 40px rgba(225, 6, 0, 0.3);
}

.view-all-projects-link {
    color: #E10600;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    width: fit-content;
    border-bottom: 1px solid rgba(225, 6, 0, 0.4);
    padding-bottom: 3px;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.view-all-projects-link:hover {
    opacity: 0.7;
    border-color: #E10600;
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.portfolio-filter {
    min-height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0 18px;
    background: transparent;
    color: #888;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter.active,
.portfolio-filter:hover {
    background: #E10600;
    color: #ffffff;
    border-color: #E10600;
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.4);
}

.portfolio-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 0;
    align-items: stretch;
}

.horiz-project-card {
    display: flex;
    flex-direction: column;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    min-height: 0;
    aspect-ratio: 4 / 5;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition:
        border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.horiz-project-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
}

.horiz-project-card:hover {
    border-color: rgba(225, 6, 0, 0.6);
    box-shadow:
        0 20px 60px rgba(225, 6, 0, 0.2),
        0 0 0 1px rgba(225, 6, 0, 0.3),
        inset 0 0 40px rgba(225, 6, 0, 0.05);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
    flex: 1;
    min-height: 0;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    transform: scale(1.001);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s ease;
    filter: brightness(0.9) saturate(0.9);
    will-change: transform;
}

.horiz-project-card:hover .project-img {
    transform: scale(1.12);
    filter: brightness(1.05) saturate(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.4) 0%, rgba(10, 10, 10, 0.7) 50%, rgba(225, 6, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.project-btn {
    background: #ffffff;
    color: #0a0a0a;
    padding: 12px 26px;
    border-radius: 40px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.05s, opacity 0.4s ease 0.05s, background 0.3s ease, color 0.3s ease;
    will-change: transform, opacity;
}

.project-btn:hover { background: #0a0a0a; color: #ffffff; }

.horiz-project-card:hover .project-btn {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.project-info {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    background: #0f0f0f;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    transition: background 0.5s ease;
}

.horiz-project-card:first-child .project-info { padding: 26px 30px; gap: 10px; }
.horiz-project-card:hover .project-info { background: #121212; }

.project-info::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40px;
    height: 2px;
    background: #E10600;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.horiz-project-card:hover .project-info::before { width: 100%; }

.proj-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.3px;
    line-height: 1.2;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.horiz-project-card:hover .proj-name { transform: translateX(4px); }
.horiz-project-card:first-child .proj-name { font-size: clamp(1.4rem, 2vw, 1.9rem); letter-spacing: -0.8px; }

.proj-desc {
    color: #E10600;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), letter-spacing 0.5s ease;
}

.horiz-project-card:hover .proj-desc { transform: translateX(6px); letter-spacing: 2.5px; }
.horiz-project-card:first-child .proj-desc { font-size: 0.72rem; letter-spacing: 2.5px; }

.horiz-project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 5;
}

.horiz-project-card:hover::after { left: 150%; }

.final-card {
    background: linear-gradient(135deg, #0f0f0f 0%, #0a0a0a 100%);
    border: 1px solid rgba(225, 6, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    aspect-ratio: 4 / 5;
    position: relative;
    overflow: hidden;
}

.final-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(225, 6, 0, 0.15), transparent 70%);
    pointer-events: none;
}

.stacked-ai-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.stacked-ai-title span {
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.05;
    text-transform: uppercase;
    transition: transform 0.3s ease, color 0.3s ease;
}

.ai-line-1 { font-size: clamp(1.8rem, 3vw, 2.8rem); color: #ffffff; }
.ai-line-2 { font-size: clamp(1.4rem, 2.2vw, 2rem); color: #E10600; }
.ai-line-3 { font-size: clamp(1rem, 1.6vw, 1.4rem); color: #666666; letter-spacing: 0px !important; }
.ai-line-4 { font-size: clamp(0.75rem, 1.1vw, 1rem); color: #333333; letter-spacing: 2px !important; }

.final-card:hover .ai-line-1 { transform: scale(1.05); }
.final-card:hover .ai-line-2 { color: #ff1a10; }
.final-card:hover .ai-line-3 { color: #999999; }
.final-card:hover .ai-line-4 { color: #666666; }

.portfolio-empty-state {
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    padding: 60px 20px;
    font-size: 0.95rem;
    grid-column: 1 / -1;
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
    position: relative;
    padding: 140px 8%;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 3;
    direction: ltr;
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    margin-bottom: 70px;
    text-align: left;
}

.testimonials-header .section-tag {
    color: #E10600;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.testimonials-main-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.testimonials-main-title .highlight {
    color: #E10600;
    text-shadow: 0 0 40px rgba(225, 6, 0, 0.4);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.testimonial-card:hover {
    border-color: rgba(225, 6, 0, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(225, 6, 0, 0.15);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E10600, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    flex-direction: row;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(225, 6, 0, 0.3);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover .user-avatar {
    border-color: #E10600;
}

.user-info {
    text-align: left;
}

.user-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.3px;
}

.user-info span {
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.testimonial-rating {
    margin-bottom: 16px;
    color: #E10600;
    letter-spacing: 4px;
    font-size: 0.9rem;
    text-shadow: 0 0 10px rgba(225, 6, 0, 0.5);
}

.testimonial-card p {
    color: #c8c8c8;
    line-height: 1.75;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-project {
    display: inline-block;
    color: #E10600;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    border-bottom: 1px solid rgba(225, 6, 0, 0.4);
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.testimonial-project:hover {
    color: #ff1a10;
    border-color: #ff1a10;
    transform: translateX(4px);
}

/* ==========================================
   ✅ Booking & Calculator Combined Section (UPDATED)
   ✅ تم تعديلها لجعل العمودين متساويين + إضافة أنيميشن
   ✅ + اللوجو المتحرك في المساحة الفاضية
   ========================================== */
.booking-calc-section {
    padding: 140px 8%;
    background: #050505 !important;
    border-top: 1px solid rgba(225, 6, 0, 0.15);
    position: relative;
    z-index: 3;
}

.booking-calc-container {
    max-width: 1200px;
    margin: 0 auto;
}

.booking-calc-header {
    text-align: center;
    margin-bottom: 60px;
}

.booking-calc-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: #ffffff;
    margin: 0 0 16px;
}

.booking-calc-title .highlight {
    color: #E10600;
    text-shadow: 0 0 40px rgba(225, 6, 0, 0.4);
}

.booking-calc-subtitle {
    font-size: 1rem;
    color: #999;
    margin: 0;
}

/* ✅ الشبكة: عمودين متساويين تماماً */
.booking-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* ✅ العمودين: نفس الطول بالظبط + أنيميشن دخول */
.booking-column,
.calculator-column {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 580px;
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    animation: bookingColIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.booking-column { animation-delay: 0.2s; }
.calculator-column { animation-delay: 0.35s; }

@keyframes bookingColIn {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.98);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.booking-column::before,
.calculator-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #E10600, transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-column:hover::before,
.calculator-column:hover::before {
    transform: scaleX(1);
}

.booking-column::after,
.calculator-column::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(225, 6, 0, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    border-radius: 24px;
}

.booking-column:hover::after,
.calculator-column:hover::after {
    opacity: 1;
}

.booking-column:hover,
.calculator-column:hover {
    border-color: rgba(225, 6, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7), 0 0 30px rgba(225, 6, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

.column-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.5px;
    position: relative;
    padding-bottom: 10px;
}

.column-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #E10600;
    box-shadow: 0 0 10px rgba(225, 6, 0, 0.5);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.booking-column:hover .column-title::after,
.calculator-column:hover .column-title::after {
    width: 60px;
}

.column-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin: -8px 0 4px 0;
    line-height: 1.6;
}

/* Booking Options */
.booking-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: start;
}

.booking-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: bookingOptIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.booking-option:nth-child(1) { animation-delay: 0.5s; }
.booking-option:nth-child(2) { animation-delay: 0.6s; }
.booking-option:nth-child(3) { animation-delay: 0.7s; }
.booking-option:nth-child(4) { animation-delay: 0.8s; }

@keyframes bookingOptIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.booking-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.15), transparent);
    transition: left 0.6s ease;
}

.booking-option:hover::before {
    left: 100%;
}

.booking-option:hover {
    border-color: rgba(225, 6, 0, 0.4);
    background: rgba(225, 6, 0, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(225, 6, 0, 0.15);
}

.booking-option.active {
    background: rgba(225, 6, 0, 0.15);
    border-color: #E10600;
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.3);
}

.booking-time {
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.booking-option:hover .booking-time {
    transform: scale(1.05);
}

.booking-day {
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.booking-option:hover .booking-day {
    color: #E10600;
}

/* ==========================================
   ✅ اللوجو في المساحة الفاضية تحت المواعيد
   ✅ حجم أكبر + لون أحمر + أنيميشن مستمر
   ========================================== */
.booking-logo-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 220px;
    padding: 20px 0;
}

/* ✅ توهج أحمر قوي حوالين اللوجو */
.booking-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.5) 0%, transparent 65%);
    filter: blur(50px);
    pointer-events: none;
    z-index: 0;
    animation: logoGlowPulse 3s ease-in-out infinite;
}

@keyframes logoGlowPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 1;
    }
}

/* ✅ اللوجو نفسه - حجم أكبر + لون أحمر + طفو مستمر */
.booking-logo {
    position: relative;
    z-index: 1;
    max-width: 160px;
    width: 100%;
    height: auto;
    /* ✅ نخلي اللوجو ياخد اللون الأحمر */
    filter: 
        brightness(0) 
        saturate(100%) 
        invert(11%) 
        sepia(96%) 
        saturate(7418%) 
        hue-rotate(2deg) 
        brightness(102%) 
        contrast(119%)
        drop-shadow(0 0 25px rgba(225, 6, 0, 0.6));
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        filter: 
            brightness(0) 
            saturate(100%) 
            invert(11%) 
            sepia(96%) 
            saturate(7418%) 
            hue-rotate(2deg) 
            brightness(102%) 
            contrast(119%)
            drop-shadow(0 0 20px rgba(225, 6, 0, 0.5));
    }
    50% {
        transform: translateY(-12px) scale(1.06);
        filter: 
            brightness(0) 
            saturate(100%) 
            invert(11%) 
            sepia(96%) 
            saturate(7418%) 
            hue-rotate(2deg) 
            brightness(102%) 
            contrast(119%)
            drop-shadow(0 0 40px rgba(225, 6, 0, 0.8));
    }
}

/* ✅ دائرة متقطعة بتلف حوالين اللوجو */
.booking-logo-box::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 1.5px dashed rgba(225, 6, 0, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: logoRingSpin 12s linear infinite;
}

@keyframes logoRingSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ✅ دائرة تانية منقطة بتلف في الاتجاه المعاكس */
.booking-logo-box::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border: 1px dotted rgba(225, 6, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: logoRingSpinReverse 18s linear infinite;
}

@keyframes logoRingSpinReverse {
    from { transform: translate(-50%, -50%) rotate(360deg); }
    to { transform: translate(-50%, -50%) rotate(0deg); }
}

/* ✅ Responsive - على الموبايل نصغر اللوجو */
@media (max-width: 768px) {
    .booking-logo-box {
        min-height: 160px;
    }
    .booking-logo {
        max-width: 110px;
    }
    .booking-logo-glow {
        width: 160px;
        height: 160px;
    }
    .booking-logo-box::before {
        width: 140px;
        height: 140px;
    }
    .booking-logo-box::after {
        width: 170px;
        height: 170px;
    }
}

.booking-cta {
    padding: 18px 40px;
    background: #E10600;
    border: 1px solid #E10600;
    border-radius: 999px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.booking-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.booking-cta:hover::before {
    left: 150%;
}

.booking-cta:hover {
    background: #ff1a10;
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(225, 6, 0, 0.6);
}

/* Calculator Fields */
.calculator-fields {
    display: grid;
    gap: 14px;
    flex: 1;
    align-content: start;
}

.calc-field {
    display: grid;
    gap: 8px;
    opacity: 0;
    transform: translateY(15px);
    animation: calcFieldIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.calc-field:nth-child(1) { animation-delay: 0.5s; }
.calc-field:nth-child(2) { animation-delay: 0.6s; }
.calc-field:nth-child(3) { animation-delay: 0.7s; }
.calc-field:nth-child(4) { animation-delay: 0.8s; }

@keyframes calcFieldIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calc-field label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #a0a0a0;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.calc-field:hover label {
    color: #E10600;
}

.calc-field select {
    width: 100%;
    min-height: 46px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    color-scheme: dark;
}

.calc-field select:hover {
    border-color: rgba(225, 6, 0, 0.4);
    background: rgba(225, 6, 0, 0.03);
}

.calc-field select:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.calc-field select option {
    background: #141414;
    color: #ffffff;
}

.calculator-result {
    background: rgba(225, 6, 0, 0.08);
    border: 1px solid rgba(225, 6, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: calcResultIn 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards,
               resultPulse 3s ease-in-out infinite 1.6s;
}

@keyframes calcResultIn {
    to {
        opacity: 1;
    }
}

@keyframes resultPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(225, 6, 0, 0);
    }
    50% {
        box-shadow: 0 0 30px 4px rgba(225, 6, 0, 0.15);
    }
}

.calc-result-label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #E10600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.calc-result-value {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(225, 6, 0, 0.5);
    transition: transform 0.3s ease;
    font-variant-numeric: tabular-nums;
}

.calculator-result:hover .calc-result-value {
    transform: scale(1.08);
}

.calc-result-note {
    font-size: 0.68rem;
    color: #888;
    font-style: italic;
}

.calculator-cta {
    padding: 18px 40px;
    background: #E10600;
    border: 1px solid #E10600;
    border-radius: 999px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.calculator-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.calculator-cta:hover::before {
    left: 150%;
}

.calculator-cta:hover {
    background: #ff1a10;
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(225, 6, 0, 0.6);
}

@media (max-width: 1024px) {
    .booking-calc-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .booking-column,
    .calculator-column {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .booking-calc-section { padding: 80px 6%; }
    .booking-column,
    .calculator-column { padding: 24px; }
    .booking-options { grid-template-columns: 1fr; }
    .column-title { font-size: 1.2rem; }
    .booking-logo-box {
        min-height: 140px;
    }
    .booking-logo {
        max-width: 70px;
    }
    .booking-logo-glow {
        width: 120px;
        height: 120px;
    }
    .booking-logo-box::before {
        width: 100px;
        height: 100px;
    }
    .booking-logo-box::after {
        width: 130px;
        height: 130px;
    }
}

/* ==========================================
   Rating Section
   ========================================== */
.rating-section {
    padding: 140px 8%;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 3;
}

.rating-container { max-width: 600px; margin: 0 auto; }
.rating-header { text-align: center; margin-bottom: 60px; }

.rating-main-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: #ffffff;
    margin: 0;
}

.rating-main-title .highlight { color: #E10600; text-shadow: 0 0 40px rgba(225, 6, 0, 0.4); }

.rating-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    gap: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.rating-stars { display: flex; justify-content: center; gap: 8px; }

.rating-star {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    line-height: 1;
}

.rating-star:hover,
.rating-star.active {
    color: #E10600;
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.6);
    transform: scale(1.15);
}

.rating-text { font-size: 0.9rem; color: #999; margin: 0; font-weight: 600; }

.rating-card textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    color-scheme: dark;
    transition: all 0.3s ease;
}

.rating-card textarea:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.rating-cta {
    padding: 16px 32px;
    background: #E10600;
    border: 1px solid #E10600;
    border-radius: 999px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
}

.rating-cta:hover {
    background: #ff1a10;
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(225, 6, 0, 0.6);
}

.rating-msg { font-size: 0.85rem; min-height: 18px; margin: 0; font-weight: 700; }

/* ==========================================
   FAQ Section
   ========================================== */
.faq-section {
    position: relative;
    z-index: 3;
    padding: 120px 8%;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.faq-header {
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-header .section-tag { margin-bottom: 12px; }

.faq-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
    text-transform: uppercase;
}

.faq-header h2 span {
    color: #E10600;
    text-shadow: 0 0 40px rgba(225, 6, 0, 0.4);
}

.faq-list { display: flex; flex-direction: column; gap: 0; }

.faq-item {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.faq-item:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: #E10600;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.5);
}

.faq-item[open]::before { transform: scaleY(1); }
.faq-item[open] { background: rgba(225, 6, 0, 0.02); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 25px 20px;
    transition: padding 0.4s ease, background 0.3s ease;
    position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary:hover { background: rgba(255, 255, 255, 0.02); }
.faq-item[open] summary { padding-bottom: 15px; }

.faq-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: #E10600;
    letter-spacing: 2px;
    font-family: 'Inter', monospace;
    transition: transform 0.4s ease;
    display: block;
}

.faq-item[open] .faq-num { transform: translateY(-3px); }

.faq-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.faq-question h3 {
    margin: 0;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    line-height: 1.4;
    transition: color 0.3s ease;
    text-align: center;
}

.faq-item[open] .faq-question h3 { color: #E10600; }

.faq-question-ar {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    letter-spacing: 0;
    direction: rtl;
    text-align: center;
    transition: color 0.3s ease;
}

.faq-item[open] .faq-question-ar { color: #999; }

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-icon { transform: rotate(180deg); }

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item[open] .faq-icon::before { background: #E10600; }
.faq-item[open] .faq-icon::after { background: #E10600; opacity: 0; }

.faq-answer {
    padding: 0 20px 25px 20px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    animation: faqSlideDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes faqSlideDown {
    0% { opacity: 0; transform: translateY(-15px); max-height: 0; }
    100% { opacity: 1; transform: translateY(0); max-height: 500px; }
}

.faq-answer p {
    margin: 0 0 10px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #b8b8b8;
    font-weight: 400;
    text-align: center;
}

.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer-ar {
    direction: rtl;
    text-align: center;
    color: #888 !important;
    font-size: 0.9rem !important;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
}

/* ==========================================
   Contact Section
   ========================================== */
.contact-section {
    padding: 180px 8% 80px;
    background-color: #050505 !important;
    position: relative;
    z-index: 3;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(225, 6, 0, 0.15);
}

.contact-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 100%);
    z-index: 0;
    animation: gridMove 20s linear infinite;
    pointer-events: none;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.contact-glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(225, 6, 0, 0.15) 0%, transparent 60%);
    filter: blur(100px);
    z-index: 1;
    pointer-events: none;
    animation: orbPulse 6s ease-in-out infinite;
}

@keyframes orbPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(225, 6, 0, 0.1);
    border: 1px solid rgba(225, 6, 0, 0.4);
    border-radius: 40px;
    margin-bottom: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #E10600;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(225, 6, 0, 0.2);
}

.status-badge .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E10600;
    box-shadow: 0 0 15px #E10600, 0 0 30px #E10600;
    animation: pulseDot 1.5s infinite;
}

.contact-section .section-tag {
    color: #E10600;
    font-size: 0.8rem;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.5);
}

.contact-heading {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 1.05;
    margin: 0 0 50px;
    color: #ffffff;
    text-transform: uppercase;
}

.contact-heading-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #E10600 50%, #ff4d4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 80px rgba(225, 6, 0, 0.4);
    position: relative;
    display: inline-block;
}

.contact-heading-highlight::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.social-pill::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.2), transparent);
    transition: left 0.6s ease;
}

.social-pill:hover::before { left: 100%; }

.social-pill:hover {
    border-color: #E10600;
    background: rgba(225, 6, 0, 0.1);
    color: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(225, 6, 0, 0.3);
}

.social-pill .social-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.social-pill:hover .social-icon { transform: scale(1.2) rotate(5deg); }

.social-pill .arrow { 
    display: inline-block; 
    transition: transform 0.3s ease; 
    font-size: 1.1rem;
}

.social-pill:hover .arrow { transform: translate(4px, -4px); }

.brief-cta.mega-cta {
    position: relative;
    padding: 24px 60px;
    font-size: 1rem;
    letter-spacing: 3px;
    border-radius: 999px;
    background: #E10600;
    border: none;
    color: #ffffff;
    font-weight: 900;
    cursor: pointer;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 30px rgba(225, 6, 0, 0.4), 0 10px 40px rgba(225, 6, 0, 0.3);
    z-index: 1;
}

.brief-cta.mega-cta:hover {
    background: #ff1a10;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 50px rgba(225, 6, 0, 0.7), 0 20px 60px rgba(225, 6, 0, 0.5);
}

.cta-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(225, 6, 0, 0.6);
    animation: ctaPulse 2s infinite;
    pointer-events: none;
}

@keyframes ctaPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.footer-line {
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(225, 6, 0, 0.5), transparent);
    margin: 50px 0 30px;
}

.copyright {
    font-size: 0.75rem;
    color: #666;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.terms-link {
    display: inline-block;
    margin-left: 15px;
    color: #999;
    text-decoration: underline;
    text-underline-offset: 4px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.terms-link:hover { color: #E10600; text-shadow: 0 0 15px rgba(225, 6, 0, 0.5); }

/* ==========================================
   Floating WhatsApp Button
   ========================================== */
.whatsapp-float {
    position: fixed;
    left: 24px;
    right: auto;
    bottom: 24px;
    z-index: 200;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #0f0f0f;
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.4s ease;
    cursor: pointer;
    overflow: visible;
}

.whatsapp-float:hover {
    background: #E10600;
    border-color: #E10600;
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 15px 45px rgba(225, 6, 0, 0.6);
}

.whatsapp-icon {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover .whatsapp-icon {
    transform: rotate(8deg) scale(1.05);
}

.whatsapp-pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #E10600;
    opacity: 0;
    z-index: 1;
    animation: whatsappPulse 2.5s ease-out infinite;
    pointer-events: none;
}

.whatsapp-tooltip {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(-8px);
    background: #0f0f0f;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(225, 6, 0, 0.3);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-right-color: #0f0f0f;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* ==========================================
   Brief Buttons & CTA
   ========================================== */
.brief-cta, .brief-submit {
    border: 1px solid #E10600;
    border-radius: 999px;
    background: #E10600;
    color: #ffffff;
    padding: 16px 32px;
    font: inherit;
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
}

.brief-cta:hover, .brief-submit:hover {
    background: transparent;
    color: #E10600;
    box-shadow: 0 15px 40px rgba(225, 6, 0, 0.5);
    transform: translateY(-3px);
}

/* ==========================================
   Modals
   ========================================== */
.modal-close-btn {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.4rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    line-height: 1;
}

.modal-close-btn:hover {
    background: #E10600;
    border-color: #E10600;
    transform: rotate(90deg);
}

#termsModal.modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

#termsModal.modal.active { display: flex !important; }

.terms-modal-content {
    position: relative;
    width: 900px;
    max-width: 100%;
    height: 90vh;
    max-height: 90vh;
    background: #0f0f0f;
    border: 1px solid rgba(225, 6, 0, 0.3);
    border-radius: 20px;
    padding: 40px 30px 30px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(225, 6, 0, 0.1);
}

.terms-modal-content .modal-close-btn { top: 15px; right: 15px; }

.terms-modal-body {
    overflow-y: auto;
    height: 100%;
    margin-top: 15px;
    padding-right: 10px;
}

.terms-modal-body::-webkit-scrollbar { width: 6px; }
.terms-modal-body::-webkit-scrollbar-track { background: transparent; }
.terms-modal-body::-webkit-scrollbar-thumb { background: rgba(225, 6, 0, 0.3); border-radius: 3px; }

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

.terms-col {
    white-space: pre-line;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #b0b0b0;
}

.terms-col h3 {
    color: #E10600;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 20px 0 8px;
}

.terms-col h3:first-child { margin-top: 0; }
.terms-col p { margin-bottom: 12px; color: #999; }

.auth-modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
}

.auth-modal-overlay.active { opacity: 1; visibility: visible; }

.auth-modal-card {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 30px;
    width: 100%;
    max-width: 440px;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.auth-modal-overlay.active .auth-modal-card { transform: translateY(0); }
.auth-modal-card .modal-close-btn { top: 15px; left: 15px; right: auto; }

.modal-welcome-header { text-align: center; margin-bottom: 22px; }

.welcome-badge {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(225, 6, 0, 0.1);
    border: 1px solid rgba(225, 6, 0, 0.35);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #E10600;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.modal-title {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 900;
}

.modal-subtitle { font-size: 0.85rem; color: #999; line-height: 1.5; }

.modal-buttons { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }

.btn {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-google { background: #ffffff; color: #0a0a0a; }

.btn-google:hover {
    background: #E10600;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
}

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

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

.registration-form { display: grid; gap: 12px; margin: 22px 0 14px; text-align: left; }

.registration-form label {
    display: grid;
    gap: 7px;
    color: #b8b8b8;
    font-size: 0.75rem;
    font-weight: 600;
}

.registration-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    padding: 0 14px;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 0.25s ease;
}

.registration-form input:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.registration-error { min-height: 18px; margin: -2px 0 0; color: #ff6b6b; font-size: 0.78rem; }
.registration-form .btn { width: 100%; }

/* ==========================================
   Project Modal
   ========================================== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.9);
}

.project-modal.active { display: grid; }

.project-modal-card {
    position: relative;
    width: min(820px, 100%);
    max-height: 92vh;
    overflow: auto;
    padding: 28px;
    border: 1px solid rgba(225, 6, 0, 0.2);
    border-radius: 20px;
    background: #0f0f0f;
    color: #ffffff;
}

.project-modal-card img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
    background: #050505;
}

.project-modal-card h2 { margin: 22px 0 6px; font-size: 1.6rem; font-weight: 900; }

.project-modal-card p {
    color: #E10600;
    margin: 0 0 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.project-modal-description {
    line-height: 1.75;
    color: #c8c8c8 !important;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.project-modal-card .project-btn { display: inline-flex; margin-top: 10px; }

/* ==========================================
   Brief Modal
   ========================================== */
.brief-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    place-items: center;
    padding: 18px;
    background: rgba(0, 0, 0, 0.85);
}

.brief-modal.active { display: grid; }

.brief-card {
    position: relative;
    width: min(620px, 100%);
    max-height: calc(100dvh - 36px);
    overflow: auto;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    background: #0f0f0f;
    color: #ffffff;
}

.brief-card h2 { margin: 8px 0; font-size: 1.5rem; font-weight: 900; }
.brief-card p { color: #999; font-size: 0.9rem; line-height: 1.6; }
.brief-card form { display: grid; gap: 12px; margin-top: 20px; }

.brief-card input,
.brief-card select,
.brief-card textarea {
    width: 100%;
    min-height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    padding: 12px 14px;
    font: inherit;
    font-size: 0.9rem;
    transition: border-color 0.25s ease;
}

.brief-card input:focus,
.brief-card select:focus,
.brief-card textarea:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.brief-card textarea { min-height: 110px; resize: vertical; }
.brief-card select option { background: #0f0f0f; }
.brief-submit { margin-top: 4px; }
.brief-date-label { display: grid; gap: 6px; color: #e6e6e6; font-size: 0.82rem; font-weight: 700; }
.brief-date-label small { color: #8f8f8f; font-size: 0.72rem; font-weight: 400; }

/* ==========================================
   Before / After Slider
   ========================================== */
.before-after {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    border-radius: 12px;
    background: #050505;
}

.before-after img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: cover;
}

.before-after .after-image { clip-path: inset(0 0 0 50%); }

.before-after input {
    position: absolute;
    inset: auto 14px 14px;
    width: calc(100% - 28px);
    accent-color: #E10600;
}

.before-label, .after-label {
    position: absolute;
    top: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.before-label { left: 12px; }
.after-label { right: 12px; }

/* ==========================================
   Background Mesh Pattern
   ========================================== */
.page-mesh-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
    background-image: url('7274-01.png');
    background-repeat: repeat;
    background-size: 450px 450px;
    opacity: 0.04;
    filter: invert(1);
}

/* ==========================================
   Arabic Text Support
   ========================================== */
[lang="ar"], .faq-question-ar, .faq-answer-ar, [dir="rtl"] {
    font-family: 'Cairo', 'Inter', sans-serif !important;
    direction: rtl;
    text-align: right;
}

.faq-question-ar {
    text-align: right;
    margin-top: 5px;
    line-height: 1.6;
}

.faq-answer-ar {
    text-align: right;
    border-top: 1px dashed rgba(255, 255, 255, 0.06);
    padding-top: 15px;
    margin-top: 10px;
    line-height: 1.8;
}

.faq-question h3, .faq-answer p {
    font-family: 'Inter', 'Cairo', sans-serif;
}

/* ==========================================
   Responsive
   ========================================== */

@media (max-width: 1024px) {
    .hero.hero-split { padding: 110px 32px 80px; }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: 640px;
    }

    .hero-photo-wrapper {
        order: -1;
        max-width: 380px;
        aspect-ratio: 1 / 1;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-badge { margin: 0 auto 28px; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-brand-line { align-items: center; text-align: center; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .portfolio-track { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .horiz-project-card:first-child { grid-column: span 2; grid-row: span 1; aspect-ratio: 16 / 10; }

    .partners-scroll-wrapper { padding: 0 60px; }
    .partners-progress { padding: 0 60px; }
    .partner-logo-cell { width: 140px; height: 90px; padding: 16px; }
    .partners-scroll-btn { width: 44px; height: 44px; }
    .partners-scroll-prev { left: 10px; }
    .partners-scroll-next { right: 10px; }
}

@media (max-width: 768px) {
    html, body { overflow-x: hidden; }
    .navbar { padding: 12px 16px; gap: 10px; }
    .logo { font-size: 0.85rem !important; letter-spacing: 2px; }
    .nav-links { display: none; }
    .nav-actions { gap: 6px; }

    .btn-talk {
        padding: 8px 14px;
        font-size: 0.66rem;
        min-height: 36px;
        letter-spacing: 1px;
    }

    .btn-google-nav {
        padding: 8px 12px;
        font-size: 0.66rem;
        min-height: 36px;
    }

    .btn-google-nav .btn-google-nav-text { display: none; }
    .btn-google-nav.signed-in .btn-google-nav-text { display: inline; max-width: 80px; }
    .nav-user-menu { top: 60px; right: 16px; }

    .hero.hero-split { padding: 90px 20px 60px; }
    .hero-photo-wrapper { max-width: 280px; }

    .hero-badge {
        font-size: 0.58rem;
        padding: 6px 14px;
        letter-spacing: 2px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
        letter-spacing: -1.5px;
    }

    .hero-sub { font-size: 0.9rem; }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 24px;
        font-size: 0.75rem;
    }

    .hero-brand-text { font-size: 0.95rem; letter-spacing: 3px; }

    .about-section { padding: 100px 6% 80px; }
    .services-grid { grid-template-columns: 1fr; gap: 14px; }
    .service-card.size-wide, .service-card.size-full { grid-column: 1; }
    .service-card { min-height: auto; padding: 32px 24px; }

    .partners-section { padding: 60px 0; }
    .partners-title { font-size: 0.65rem; letter-spacing: 4px; margin-bottom: 30px; }
    .partners-scroll-wrapper { padding: 0 16px; }
    .partners-progress { padding: 0 16px; }
    .partners-scroll { gap: 14px; padding: 4px 2px 12px; }
    .partner-logo-cell { width: 120px; height: 80px; padding: 14px; border-radius: 12px; }
    .partners-scroll-btn { width: 40px; height: 40px; }
    .partners-scroll-prev { left: 6px; }
    .partners-scroll-next { right: 6px; }

    .portfolio-section { padding: 80px 5% 60px; }

    .portfolio-main-title {
        font-size: clamp(1.2rem, 6.5vw, 2rem);
        letter-spacing: -1.5px;
        white-space: nowrap;
        line-height: 1.05;
    }

    .portfolio-track { grid-template-columns: 1fr; gap: 14px; }
    .horiz-project-card { aspect-ratio: 16 / 10; }
    .horiz-project-card:first-child { grid-column: 1; grid-row: auto; aspect-ratio: 4 / 3; }

    .project-info { padding: 16px 18px; }
    .horiz-project-card:first-child .project-info { padding: 20px 22px; }
    .proj-name { font-size: 1rem; line-height: 1.2; }
    .horiz-project-card:first-child .proj-name { font-size: 1.3rem; }
    .proj-desc { font-size: 0.6rem; letter-spacing: 1.8px; }

    .final-card { aspect-ratio: 16 / 10; padding: 30px 20px; }
    .ai-line-1 { font-size: 2rem; }
    .ai-line-2 { font-size: 1.5rem; }
    .ai-line-3 { font-size: 1.1rem; }
    .ai-line-4 { font-size: 0.8rem; }

    .testimonials-section { padding: 80px 6%; }
    .testimonials-header { margin-bottom: 50px; text-align: center; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .testimonial-card { padding: 24px; }
    .card-header { flex-direction: column; text-align: center; }
    .user-info { text-align: center; }
    .testimonial-card p { text-align: center; }

    .booking-calc-section { padding: 80px 6%; }
    .booking-column, .calculator-column { padding: 24px; }
    .booking-options { grid-template-columns: 1fr; }
    .column-title { font-size: 1.2rem; }
    .rating-section { padding: 80px 6%; }
    .rating-card { padding: 24px; }
    .rating-star { font-size: 2rem; }

    .faq-section { padding: 75px 6%; }
    .faq-header { margin-bottom: 40px; }
    .faq-item summary { padding: 20px 15px; gap: 6px; }
    .faq-item[open] summary { padding-bottom: 12px; }
    .faq-num { font-size: 0.75rem; }
    .faq-question h3 { font-size: 1rem; }
    .faq-question-ar { font-size: 0.8rem; }
    .faq-answer { padding: 0 15px 20px 15px; }
    .faq-answer p { font-size: 0.9rem; }
    .faq-answer-ar { font-size: 0.85rem !important; }

    .contact-section { padding: 80px 6% 40px; }
    .contact-heading { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -1.5px; margin-bottom: 30px; }
    .contact-grid-bg { background-size: 40px 40px; }
    .contact-glow-orb { width: 400px; height: 400px; }
    .social-links { gap: 10px; margin-bottom: 50px; }
    .social-pill { padding: 12px 22px; font-size: 0.8rem; }
    .brief-cta.mega-cta { padding: 20px 40px; font-size: 0.85rem; letter-spacing: 2px; width: 100%; }
    .footer-line { margin: 40px 0 20px; }
    .copyright { font-size: 0.65rem; letter-spacing: 2px; }

    .whatsapp-float {
        left: 16px;
        right: auto;
        bottom: 16px;
        width: 52px;
        height: 52px;
    }
    .whatsapp-icon { width: 24px; height: 24px; }
    .whatsapp-tooltip { display: none; }

    .auth-modal-card {
        width: 100%;
        max-height: calc(100vh - 24px);
        overflow-y: auto;
        padding: 28px 22px;
    }

    .modal-title { font-size: 1.4rem; }
    .terms-modal-content { padding: 35px 20px 20px; border-radius: 16px; }
    .terms-columns { grid-template-columns: 1fr; gap: 20px; }

    .project-modal { padding: 12px; align-items: end; }
    .project-modal-card {
        width: 100%;
        max-height: calc(100dvh - 24px);
        padding: 20px;
        border-radius: 18px;
    }
    .project-modal-card img { max-height: 52dvh; }
    .project-modal-card .project-btn { width: 100%; justify-content: center; margin-top: 4px; }

    .brief-card { padding: 24px 18px; }
    .portfolio-filters { margin-top: 18px; }
    .portfolio-filter { min-height: 42px; padding: 10px 16px; }
    .portfolio-empty-state { padding: 24px 16px; }
    .before-after { aspect-ratio: 4 / 3; }
}

@media (max-width: 480px) {
    .portfolio-main-title {
        font-size: clamp(1rem, 6vw, 1.5rem);
        letter-spacing: -1px;
        white-space: normal;
        line-height: 1.1;
    }

    .hero-photo-wrapper { max-width: 240px; }
    .hero-title { font-size: clamp(1.7rem, 8.5vw, 2.4rem); }

    .about-stats { gap: 32px; }
    .stat-number-wrapper { font-size: 2.4rem; }

    .faq-item summary {
        padding: 18px 10px;
        gap: 5px;
    }

    .faq-question h3 { font-size: 0.95rem; }
    .faq-question-ar { font-size: 0.75rem; }
    .faq-answer { padding: 0 10px 18px 10px; }
    .faq-icon { width: 18px; height: 18px; }
    .faq-icon::before { width: 10px; }
    .faq-icon::after { height: 10px; }
}

@media (max-width: 380px) {
    .logo { font-size: 0.72rem !important; }
    .btn-talk { padding-inline: 10px !important; }
    .portfolio-main-title { font-size: 1rem; letter-spacing: -0.8px; }
    .proj-name { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .whatsapp-pulse,
    .status-badge .dot {
        animation: none !important;
    }
}
/* ==========================================
   ✅ تأثير Hover على صورة الهيرو (زي صورة الأبوت)
   ========================================== */
.hero-photo-wrapper {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.hero-photo-frame {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 24px;
    overflow: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.hero-photo-wrapper:hover .hero-photo-frame {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 40px 80px rgba(225, 6, 0, 0.25), 0 0 0 1px rgba(225, 6, 0, 0.4);
}

.hero-photo {
    transition: filter 0.6s ease, transform 0.6s ease;
    filter: grayscale(20%) contrast(1.05);
}

.hero-photo-wrapper:hover .hero-photo {
    filter: grayscale(0%) contrast(1.1);
    transform: scale(1.05);
}

.hero-photo-gradient {
    transition: opacity 0.6s ease;
    opacity: 1;
}

.hero-photo-wrapper:hover .hero-photo-gradient {
    opacity: 0.3;
}
/* ==========================================
   ✅ Rating + FAQ Combined Section
   القسمين جنب بعض في صف واحد
   ========================================== */
.rating-faq-section {
    padding: 140px 8%;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 3;
}

.rating-faq-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ✅ الشبكة: عمودين متساويين */
.rating-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ✅ عمود الـ Rating */
.rating-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: ratingFaqIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

/* ✅ عمود الـ FAQ */
.faq-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: ratingFaqIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

@keyframes ratingFaqIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ الهيدر بتاع الـ Rating */
.rating-column .rating-header {
    text-align: left;
    margin-bottom: 0;
}

.rating-column .rating-main-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    color: #ffffff;
    margin: 0;
}

.rating-column .rating-main-title .highlight {
    color: #E10600;
    text-shadow: 0 0 40px rgba(225, 6, 0, 0.4);
}

/* ✅ الهيدر بتاع الـ FAQ */
.faq-column .faq-header {
    text-align: left;
    margin-bottom: 0;
    align-items: flex-start;
}

.faq-column .faq-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.1;
    text-transform: uppercase;
    text-align: left;
}

.faq-column .faq-header h2 span {
    color: #E10600;
    text-shadow: 0 0 40px rgba(225, 6, 0, 0.4);
}

/* ✅ كارت الـ Rating */
.rating-column .rating-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 10, 10, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    display: grid;
    gap: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.rating-column .rating-stars { display: flex; justify-content: center; gap: 8px; }

.rating-column .rating-star {
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    line-height: 1;
}

.rating-column .rating-star:hover,
.rating-column .rating-star.active {
    color: #E10600;
    text-shadow: 0 0 20px rgba(225, 6, 0, 0.6);
    transform: scale(1.15);
}

.rating-column .rating-text { font-size: 0.9rem; color: #999; margin: 0; font-weight: 600; }

.rating-column .rating-card textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 14px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    resize: vertical;
    color-scheme: dark;
    transition: all 0.3s ease;
}

.rating-column .rating-card textarea:focus {
    outline: none;
    border-color: #E10600;
    box-shadow: 0 0 0 3px rgba(225, 6, 0, 0.1);
}

.rating-column .rating-cta {
    padding: 16px 32px;
    background: #E10600;
    border: 1px solid #E10600;
    border-radius: 999px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(225, 6, 0, 0.3);
}

.rating-column .rating-cta:hover {
    background: #ff1a10;
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(225, 6, 0, 0.6);
}

.rating-column .rating-msg { font-size: 0.85rem; min-height: 18px; margin: 0; font-weight: 700; }

/* ✅ الـ FAQ في العمود التاني */
.faq-column .faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.6) 0%, rgba(10, 10, 10, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 20px 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* ✅ Responsive - على الشاشات الصغيرة، العمودين تحت بعض */
@media (max-width: 1024px) {
    .rating-faq-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .rating-column .rating-header,
    .faq-column .faq-header {
        text-align: center;
        align-items: center;
    }
    .faq-column .faq-header h2 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .rating-faq-section { padding: 80px 6%; }
    .rating-column .rating-card { padding: 24px; }
    .rating-column .rating-star { font-size: 2rem; }
    .faq-column .faq-list { padding: 12px 16px; }
}