/* 
   Omar Khaled - Premium Portfolio Styling
   Design System & Modern Glassmorphism
*/

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette - Customized for Deep Navy/Teal background and Yellow accents */
    --bg-primary: #04161f;
    --bg-secondary: #07222e;
    --bg-card: #0d2c3b;
    --bg-input: #12374a;
    --border-color: #1a4a61;
    --border-hover: #266485;
    --accent-color: #eed843; /* Yellow from Logo */
    --accent-gradient: linear-gradient(135deg, #eed843 0%, #2ec4b6 100%); /* Yellow to Teal gradient */
    --accent-glow: rgba(238, 216, 67, 0.15);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a3c5d6;
    --text-muted: #648c9e;
    
    /* Typography */
    --font-ar: 'IBM Plex Sans Arabic', sans-serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;
    
    /* Transitions & Physics */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* System Sizes */
    --header-height: 80px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-ar);
    direction: rtl;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Background Gradients & Glows */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.08) 0%, rgba(238, 216, 67, 0.04) 50%, rgba(0, 0, 0, 0) 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}
.glow-1 { top: -10%; right: -10%; }
.glow-2 { bottom: 10%; left: -10%; }

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.9);
    height: 70px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: ltr;
}

.logo span {
    color: var(--text-primary);
    font-weight: 300;
}

.brand-logo-svg {
    width: 32px;
    height: 32px;
    vertical-align: middle;
    transition: var(--transition-smooth);
}

.brand-logo-svg path {
    fill: var(--accent-color);
}

.logo:hover .brand-logo-svg {
    transform: rotate(-10deg) scale(1.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-mobile-cta {
    display: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    color: var(--text-secondary);
    border: 1px solid transparent;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.nav-links a.active {
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 20px rgba(66, 185, 131, 0.25);
    animation: navPulse 2.5s ease-in-out infinite;
}

.nav-links a.active::before {
    opacity: 1;
}

.nav-links a:hover:not(.active) {
    color: var(--accent-color);
    border-color: rgba(66, 185, 131, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(66, 185, 131, 0.12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    gap: 0.75rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #04161f;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(238, 216, 67, 0.35);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--text-primary);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Main Views Wrapper */
main {
    flex: 1;
    padding-top: var(--header-height);
    position: relative;
    z-index: 1;
}

.view-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.view-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Layout Section Spacing */
.section-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
}

.section-subtitle {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.25;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-tag {
    align-self: flex-start;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 85, 255, 0.08);
    border: 1px solid rgba(0, 85, 255, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-color);
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    animation: glowPulse 3s ease-in-out infinite;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
    animation: floatHero 4s ease-in-out infinite;
}

.hero-img-wrapper:hover img {
    animation-play-state: paused;
    transform: scale(1.05);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-badge .num {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-badge .label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Services Cards Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 85, 255, 0.03) 0%, rgba(0, 0, 0, 0) 100%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 85, 255, 0.05);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.2);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-card .btn {
    align-self: flex-start;
    padding: 0.7rem 1.75rem;
    font-size: 0.85rem;
}

/* Works Section & Filter */
.portfolio-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.filter-tabs {
    display: flex;
    gap: 0.75rem;
    background: var(--bg-card);
    padding: 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
}

.filter-tab {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

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

.filter-tab.active {
    background: var(--accent-gradient);
    color: #ffffff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    cursor: pointer;
    group: hover;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.9);
}

.portfolio-img-container {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.portfolio-img-container img {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-img-container img {
    transform: scale(1.04);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay .view-case-btn {
    background: #ffffff;
    color: #000000;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    transform: translateY(10px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover .portfolio-overlay .view-case-btn {
    transform: translateY(0);
}

.portfolio-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.portfolio-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.portfolio-category {
    font-family: var(--font-en);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: 600;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 700;
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-title {
    color: var(--accent-color);
}

.portfolio-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.portfolio-item:hover .portfolio-arrow {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: rotate(-45deg);
}

.portfolio-arrow svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Case Study Single Detail Page Style */
.case-study-back {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 3rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.case-study-back:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}

.case-study-back svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transform: scaleX(-1); /* mirror arrow for RTL */
}

.case-hero {
    margin-bottom: 4rem;
}

.case-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.case-hero-category {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: inline-block;
}

.case-cover {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-bottom: 4rem;
}

.case-cover img {
    width: 100%;
    height: 100%;
}

.case-info-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

.case-desc h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.case-desc p {
    margin-bottom: 1.5rem;
}

.case-meta-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.case-meta-item span {
    display: block;
}

.case-meta-item .label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.case-meta-item .val {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.elements-title {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    text-align: center;
}

.case-gallery {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.gallery-images-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.gallery-img {
    width: 100%;
    overflow: hidden;
}

.gallery-img img {
    width: 100%;
    height: 100%;
}

/* Working Process Section */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 2rem;
}

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    transition: var(--transition-smooth);
}

.process-step:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--accent-glow);
}

.process-num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.process-step p {
    font-size: 0.9rem;
}

/* Testimonials Section */
/* Testimonials CSS - محفوظ للاستخدام المستقبلي
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.quote-icon {
    color: var(--accent-color);
    margin-bottom: 2rem;
    opacity: 0.3;
}

.quote-icon svg {
    width: 50px;
    height: 50px;
    fill: currentColor;
}

.testimonial-text {
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 400;
}

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

.client-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.client-job {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: var(--radius-full);
}
*/

/* Contact CTA Section (Home Footer) */
.contact-cta-wrapper {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-card) 100%);
    border-top: 1px solid var(--border-color);
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contact-cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.contact-cta-desc {
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

.contact-cta-btns {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Interactive Survey Page */
.survey-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.survey-header {
    background: linear-gradient(90deg, rgba(12, 12, 14, 0.9) 0%, rgba(20, 20, 25, 0.9) 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.survey-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.survey-service-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    font-weight: 700;
}

.survey-title {
    font-size: 1.75rem;
    font-weight: 800;
}

.survey-progress-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.survey-progress-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.survey-progress-text span {
    color: var(--text-primary);
    font-weight: 700;
}

.survey-progress-bar-bg {
    width: 120px;
    height: 4px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.survey-progress-bar {
    height: 100%;
    width: 25%;
    background: var(--accent-gradient);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.survey-body {
    padding: 3.5rem 3rem;
    position: relative;
    min-height: 400px;
}

.survey-step-view {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.survey-step-view.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.survey-step-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.survey-step-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

/* Forms Styling */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group-full {
    grid-column: span 2;
}

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

.form-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-label span {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    margin-inline-start: 0.25rem;
}

.form-control {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    color: #ffffff;
    font-family: var(--font-ar);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

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

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 1.25rem center;
    background-size: 1.2rem;
    padding-left: 3rem; /* padding for the icon in RTL */
}

/* Custom Checkbox/Pill selectors */
.pill-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pill-option {
    cursor: pointer;
}

.pill-option input {
    display: none;
}

.pill-option span {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.pill-option input:checked + span {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
}

/* Drag & Drop File Upload */
.file-upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    background: rgba(24, 24, 28, 0.3);
    transition: var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.file-upload-zone:hover {
    border-color: var(--accent-color);
    background: rgba(0, 85, 255, 0.02);
}

.file-upload-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.file-upload-zone:hover .file-upload-icon {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.file-upload-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.file-upload-text span {
    color: var(--accent-color);
    font-weight: 600;
}

.file-upload-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.file-list {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-item {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.file-item-name {
    font-family: var(--font-en);
    color: var(--text-primary);
}

.file-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Survey Footer */
.survey-footer {
    background: rgba(12, 12, 14, 0.5);
    border-top: 1px solid var(--border-color);
    padding: 2rem 3rem;
    display: flex;
    justify-content: space-between;
}

/* Success State Screen */
.success-screen {
    text-align: center;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.success-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
}

.success-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    border: 2px solid #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-circle svg {
    width: 50px;
    height: 50px;
    stroke: currentColor;
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.success-screen h3 {
    font-size: 2rem;
    font-weight: 800;
}

.success-screen p {
    max-width: 500px;
    margin: 0 auto;
}

/* About Page Styles */
.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 5rem;
    align-items: start;
}

.about-visual {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.about-img-box {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    aspect-ratio: 1;
}

.about-img-box img {
    width: 100%;
    height: 100%;
    animation: floatHero 4s ease-in-out infinite;
}

.about-bio h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.about-bio p {
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 2.5rem 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-num {
    font-family: var(--font-en);
    font-size: 3rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.about-skills-section {
    margin-top: 3.5rem;
}

.skills-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.skill-name {
    font-weight: 600;
}

.skill-bar-wrapper {
    width: 120px;
    height: 6px;
    background: var(--border-color);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.skill-bar {
    height: 100%;
    background: var(--accent-gradient);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-channels {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.contact-card:hover .contact-card-icon {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 85, 255, 0.2);
}

.contact-card-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

.contact-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-card-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.contact-card-val {
    font-size: 1.15rem;
    font-weight: 700;
}

.contact-card-action {
    margin-inline-start: auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.contact-card:hover .contact-card-action {
    background: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
    transform: rotate(-45deg);
}

.contact-card-action svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
}

.contact-form-title {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

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

.contact-form .btn {
    align-self: flex-start;
    padding: 1rem 2.5rem;
}

/* Footer Section */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    margin-top: auto;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-logo .brand {
    font-family: var(--font-en);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    direction: ltr;
}

.footer-logo .desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.footer-social-link:hover {
    color: #ffffff;
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-copyright {
    width: 100%;
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Keyframes & Animations */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

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

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    }
    50% {
        box-shadow: 0 30px 80px rgba(238, 216, 67, 0.15);
    }
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-visual {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    /* General */
    .section-wrapper {
        padding: 4rem 1.25rem;
    }
    .section-title {
        font-size: 1.85rem;
    }
    .section-header {
        margin-bottom: 2.5rem;
    }

    /* Mobile Navbar */
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(4, 22, 31, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        transform: translateX(100%);
    }
    
    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.3rem;
        padding: 0.75rem 2rem;
        width: auto;
        min-width: 200px;
        text-align: center;
    }

    .nav-actions {
        display: none;
    }

    .nav-mobile-cta {
        display: block;
        margin-top: 1.5rem;
        width: 100%;
        text-align: center;
    }
    .nav-mobile-cta .btn {
        max-width: 200px;
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Mobile menu close button shown via menu-toggle */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .navbar.scrolled {
        height: var(--header-height);
    }

    /* Hero Mobile */
    .hero {
        min-height: auto;
        padding: 2rem 0 3rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }
    .hero-content {
        align-items: center;
    }
    .hero-tag {
        align-self: center;
        font-size: 0.8rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-ctas {
        justify-content: center;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-ctas .btn {
        width: 100%;
        padding: 0.75rem 1.5rem;
    }
    .hero-visual {
        order: -1;
    }
    .hero-img-wrapper {
        max-width: 240px;
        margin: 0 auto;
    }
    .hero-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 1rem auto 0;
        padding: 1rem 1.5rem;
        max-width: 180px;
        text-align: center;
    }
    .hero-badge .num {
        font-size: 1.5rem;
    }
    .hero-badge .label {
        font-size: 0.75rem;
    }

    /* Logos Marquee */
    .logos-marquee {
        padding: 2.5rem 0;
    }
    .marquee-slide {
        width: 160px;
        height: 70px;
    }
    .marquee-slide img {
        max-width: 75%;
        max-height: 75%;
    }
    .marquee-track {
        gap: 1rem;
        animation-duration: 18s;
    }
    @keyframes scrollMarquee {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(calc(-160px * 9 - 9rem), 0, 0); }
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .service-card {
        padding: 2rem 1.5rem;
    }
    .service-card h3 {
        font-size: 1.25rem;
    }

    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .portfolio-controls {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-tabs {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        padding: 0.4rem;
        gap: 0.4rem;
        -webkit-overflow-scrolling: touch;
        mask-image: linear-gradient(to left, transparent 5px, #000 40px);
        -webkit-mask-image: linear-gradient(to left, transparent 5px, #000 40px);
    }
    .filter-tab {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .portfolio-title {
        font-size: 1.15rem;
    }

    /* Case Study Detail */
    .case-hero-title {
        font-size: 1.75rem;
    }
    .case-info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .case-meta-list {
        padding: 1.25rem;
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
    .case-cover {
        margin-bottom: 2.5rem;
    }

    /* Process */
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .process-step {
        padding: 1.5rem;
    }
    .process-num {
        font-size: 2.25rem;
        margin-bottom: 1rem;
    }

    /* Testimonials */
    .testimonial-text {
        font-size: 1.1rem;
    }

    /* About */
    .about-grid {
        gap: 2.5rem;
    }
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    .stat-num {
        font-size: 2.25rem;
    }
    .about-bio h3 {
        font-size: 1.35rem;
    }
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .skill-card {
        padding: 1rem 1.25rem;
    }
    .skill-bar-wrapper {
        width: 80px;
    }

    /* Contact */
    .contact-grid {
        gap: 2.5rem;
    }
    .contact-card {
        padding: 1.5rem;
        gap: 1.25rem;
    }
    .contact-card-icon {
        width: 48px;
        height: 48px;
    }
    .contact-card-icon svg {
        width: 22px;
        height: 22px;
    }
    .contact-card-val {
        font-size: 1rem;
    }
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    .contact-form-title {
        font-size: 1.35rem;
    }

    /* CTA */
    .contact-cta-wrapper {
        padding: 4rem 1.25rem;
    }
    .contact-cta-title {
        font-size: 1.75rem;
    }
    .contact-cta-desc {
        font-size: 1rem;
    }
    .contact-cta-btns {
        flex-direction: column;
        gap: 0.75rem;
    }
    .contact-cta-btns .btn {
        width: 100%;
    }

    /* Forms & Survey */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .form-group-full {
        grid-column: span 1;
    }
    .survey-header {
        padding: 1.25rem 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .survey-title {
        font-size: 1.25rem;
    }
    .survey-progress-container {
        width: 100%;
        align-items: flex-start;
        flex-direction: row;
        justify-content: space-between;
    }
    .survey-progress-bar-bg {
        width: 80px;
    }
    .survey-body {
        padding: 1.5rem 1.25rem;
        min-height: 300px;
    }
    .survey-step-title {
        font-size: 1.15rem;
        margin-bottom: 1.5rem;
    }
    .survey-footer {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
    }
    .survey-footer .btn {
        width: 100%;
    }

    /* Footer */
    footer {
        padding: 2.5rem 1.25rem;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }

    /* Success screen */
    .success-screen {
        padding: 2.5rem 1.25rem;
    }
    .success-screen h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .section-wrapper {
        padding: 3rem 1rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .hero-title {
        font-size: 1.65rem;
    }
    .hero-img-wrapper {
        max-width: 200px;
    }
    .hero-badge {
        max-width: 150px;
        padding: 0.75rem 1rem;
    }
    .hero-badge .num {
        font-size: 1.25rem;
    }
    .service-card {
        padding: 1.5rem 1.25rem;
    }
    .service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1.25rem;
    }
    .service-icon svg {
        width: 22px;
        height: 22px;
    }
    .about-stats {
        gap: 1rem;
        padding: 1.25rem 0;
    }
    .stat-num {
        font-size: 1.75rem;
    }
    .contact-card {
        padding: 1.25rem;
        gap: 1rem;
        flex-wrap: wrap;
    }
    .contact-card-info {
        min-width: 120px;
    }
    .contact-cta-title {
        font-size: 1.45rem;
    }
    .survey-body {
        padding: 1.25rem 1rem;
    }
    .survey-header {
        padding: 1rem 1rem;
    }
    .survey-progress-bar-bg {
        width: 60px;
    }
    .form-group label {
        font-size: 0.85rem;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 0.9rem;
        padding: 0.65rem 0.85rem;
    }
    .form-pills {
        gap: 0.4rem;
    }
    .form-pill {
        padding: 0.45rem 0.85rem;
        font-size: 0.8rem;
    }
    .case-meta-list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    .filter-tab {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }
    .process-step {
        padding: 1.25rem;
    }
    .process-num {
        font-size: 1.75rem;
    }
    .picker-card {
        padding: 1.5rem 1.25rem;
    }
    .picker-card-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }
    .picker-card h3 {
        font-size: 1.15rem;
    }
    .success-screen {
        padding: 2rem 1rem;
    }
    .success-screen h3 {
        font-size: 1.25rem;
    }
    footer {
        padding: 2rem 1rem;
    }

    .glow-1, .glow-2 {
        display: none;
    }
}

/* --- Logos Infinite Scroll Marquee --- */
.logos-marquee {
    padding: 4rem 0;
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(26, 74, 97, 0.3);
    border-bottom: 1px solid rgba(26, 74, 97, 0.3);
    background: linear-gradient(90deg, rgba(4, 22, 31, 0) 0%, rgba(7, 34, 46, 0.3) 50%, rgba(4, 22, 31, 0) 100%);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
}

.marquee-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-ar);
    opacity: 0.8;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    direction: ltr; /* Keeps scroll animation direction consistent on RTL/LTR sites */
}

/* Linear Gradient Masks for Smooth Fade Out on Edges */
.marquee-container::before,
.marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, rgba(4, 22, 31, 0) 100%);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-primary) 0%, rgba(4, 22, 31, 0) 100%);
}

.marquee-track {
    display: flex;
    gap: 2rem;
    animation: scrollMarquee 25s linear infinite;
}

.marquee-container:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-slide {
    width: 280px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.marquee-slide img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    opacity: 0.35;
    filter: grayscale(1);
    transition: var(--transition-smooth);
    animation: marqueeGlow 4s ease-in-out infinite;
}

.marquee-slide img:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.15);
}

@keyframes scrollMarquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(calc(-280px * 9 - 18rem), 0, 0);
    }
}

@keyframes marqueeGlow {
    0%, 100% { opacity: 0.3; filter: grayscale(1) brightness(0.8); }
    50% { opacity: 0.7; filter: grayscale(0.5) brightness(1.2); }
}

@keyframes navPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(66, 185, 131, 0.2); }
    50% { box-shadow: 0 0 30px rgba(66, 185, 131, 0.4); }
}

/* --- Service Picker --- */
.picker-header {
    text-align: center;
    margin: 0 auto 4rem;
    max-width: 600px;
}

.picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.picker-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.picker-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.picker-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 50px rgba(66, 185, 131, 0.15);
}

.picker-card:hover::before {
    opacity: 0.08;
}

.picker-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.picker-card:hover .picker-card-icon {
    transform: scale(1.15);
}

.picker-card-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.picker-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.picker-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.picker-card .btn {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .picker-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .picker-card {
        padding: 2rem 1.5rem;
    }
}

/* --- Survey Additional Custom Fields Styling --- */
.survey-image-container {
    width: 100%;
    margin-bottom: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.survey-step-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: var(--bg-secondary);
}

.range-slider-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 0;
    width: 100%;
}

.range-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.range-slider-labels span:first-child {
    color: var(--text-muted);
}

.range-slider-labels span:last-child {
    color: var(--accent-color);
}

.form-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    outline: none;
    transition: var(--transition-fast);
}

.form-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: transform 0.1s ease;
}

.form-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.form-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--accent-gradient);
    cursor: pointer;
    box-shadow: 0 0 10px var(--accent-glow);
    transition: transform 0.1s ease;
}

.form-range::-moz-range-thumb:hover {
    transform: scale(1.2);
}

