/* ===== Nader Soft Online - Dark Gaming Theme ===== */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary: #00f0ff;
    --primary-light: #33f5ff;
    --primary-dark: #00b8c4;
    --primary-glow: rgba(0, 240, 255, 0.3);

    --secondary: #a855f7;
    --secondary-light: #c084fc;
    --accent: #ff2d55;
    --accent-glow: rgba(255, 45, 85, 0.3);

    --neon-green: #39ff14;
    --neon-pink: #ff1493;
    --neon-orange: #ff6b00;
    --neon-yellow: #ffd700;

    --bg-body: #0a0a0f;
    --bg-dark: rgba(16, 17, 24, 0.88);
    --bg-card: rgba(28, 30, 40, 0.9);
    --bg-card-hover: rgba(38, 41, 54, 0.94);
    --bg-input: rgba(24, 26, 36, 0.9);

    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --text-muted: #5a5a72;

    --border: #1e1e2e;
    --border-glow: rgba(0, 240, 255, 0.15);

    --shadow-card: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.1);
    --shadow-glow-strong: 0 0 40px rgba(0, 240, 255, 0.2);

    --gradient-primary: linear-gradient(135deg, #00f0ff, #a855f7);
    --gradient-hero: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(18, 18, 28, 0.82) 42%, rgba(26, 10, 46, 0.86) 100%);
    --gradient-accent: linear-gradient(135deg, #ff2d55, #ff6b00);
    --gradient-card: linear-gradient(145deg, rgba(18,18,28,0.8), rgba(18,18,28,0.4));
    --gradient-surface: linear-gradient(145deg, rgba(42, 45, 58, 0.9), rgba(22, 24, 34, 0.92));

    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    direction: rtl;
    line-height: 1.7;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    position: relative;
    isolation: isolate;
}

body::before,
body::after {
    content: '';
    position: fixed;
    inset: -18%;
    z-index: -2;
    pointer-events: none;
}

body::before {
    background:
        conic-gradient(from 150deg at 50% 50%,
            rgba(0, 240, 255, 0.16),
            rgba(168, 85, 247, 0.12),
            rgba(255, 45, 85, 0.08),
            rgba(57, 255, 20, 0.07),
            rgba(0, 240, 255, 0.16)),
        linear-gradient(115deg,
            rgba(0, 240, 255, 0.08) 0%,
            transparent 28%,
            rgba(168, 85, 247, 0.07) 52%,
            transparent 76%,
            rgba(255, 45, 85, 0.05) 100%);
    background-size: 150% 150%, 170% 170%;
    filter: blur(34px);
    opacity: 0.38;
    transform: translate3d(0, 0, 0);
    animation: ambientMesh 26s ease-in-out infinite alternate;
}

body::after {
    z-index: -1;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 96px 96px;
    opacity: 0.28;
    animation: ambientGrid 36s linear infinite;
}

@keyframes ambientMesh {
    0% {
        transform: translate3d(-3%, -2%, 0) rotate(0deg) scale(1);
        background-position: 0% 35%, 10% 60%;
    }
    50% {
        transform: translate3d(2%, 1%, 0) rotate(7deg) scale(1.04);
        background-position: 60% 40%, 45% 20%;
    }
    100% {
        transform: translate3d(3%, -3%, 0) rotate(-5deg) scale(1.06);
        background-position: 100% 65%, 80% 50%;
    }
}

@keyframes ambientGrid {
    to {
        background-position: 96px 96px, 96px 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
    }
}

.header,
.footer,
.service-detail-card,
.data-service-item,
.carousel-wrapper,
.why-us,
.contact-form,
.product-card,
.page-content,
.request-success,
.service-form-card,
.service-main-image,
.service-description-section,
.designer-modal-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.service-detail-card,
.data-service-item,
.carousel-wrapper,
.why-us,
.contact-form,
.product-card,
.page-content,
.request-success,
.service-form-card,
.service-main-image,
.service-description-section,
.designer-modal-card {
    background: var(--gradient-surface);
    border-color: rgba(255, 255, 255, 0.075);
}

.service-detail-card:hover,
.data-service-item:hover,
.product-card:hover {
    background: linear-gradient(145deg, rgba(50, 54, 68, 0.94), rgba(27, 30, 42, 0.96));
}

a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-light); }
img { max-width: 100%; height: auto; }

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

/* ===== Header ===== */
.header {
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
}

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

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

.nav a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav a:hover {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.05);
}

.nav a.active {
    color: var(--primary);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.1);
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

/* ===== Hero ===== */
.hero {
    padding: 80px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--gradient-hero);
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0,240,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168,85,247,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero .btn {
    background: var(--gradient-primary);
    color: var(--bg-body);
    padding: 16px 40px;
    font-size: 1.05rem;
    border-radius: var(--radius);
    box-shadow: 0 0 30px var(--primary-glow);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.hero .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px var(--primary-glow);
    color: var(--bg-body);
}

.hero .btn-secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    box-shadow: none;
}

.hero .btn-secondary:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    box-shadow: none;
}

/* ===== Sections ===== */
.section { padding: 80px 0; }

.section-title { text-align: center; margin-bottom: 50px; }

.section-title h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.section-title p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Service Section Detailed ===== */
.service-section-detailed { padding: 80px 0; }

.service-section-detailed.alt-bg {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.service-section-header { text-align: center; margin-bottom: 50px; }

.service-header-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    background: rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--primary);
    border: 1px solid rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.05);
}

.service-header-icon.orange {
    background: rgba(255, 107, 0, 0.08);
    color: var(--neon-orange);
    border-color: rgba(255, 107, 0, 0.2);
}

.service-header-icon.green {
    background: rgba(57, 255, 20, 0.08);
    color: var(--neon-green);
    border-color: rgba(57, 255, 20, 0.2);
}

.service-section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

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

/* ===== Service Detail Grid ===== */
.service-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-detail-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.service-detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: var(--transition);
}

.service-detail-card:hover::before { transform: scaleX(1); }

.service-detail-card:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.service-detail-card.horizontal {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-detail-card.full-width {
    grid-column: 1 / -1;
}

.detail-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 16px;
    border: 1px solid rgba(0, 240, 255, 0.15);
    transition: var(--transition);
}

.service-detail-card:hover .detail-card-icon {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: 0 0 20px var(--primary-glow);
}

.service-detail-card.horizontal .detail-card-icon { margin-bottom: 0; }

.detail-card-icon.orange {
    background: rgba(255, 107, 0, 0.08);
    color: var(--neon-orange);
    border-color: rgba(255, 107, 0, 0.15);
}

.service-detail-card:hover .detail-card-icon.orange {
    background: var(--neon-orange);
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.detail-card-icon.green {
    background: rgba(57, 255, 20, 0.08);
    color: var(--neon-green);
    border-color: rgba(57, 255, 20, 0.15);
}

.service-detail-card:hover .detail-card-icon.green {
    background: var(--neon-green);
    color: var(--bg-body);
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
}

.detail-card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.detail-card-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

.detail-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
}

.service-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.service-tags span {
    background: rgba(0, 240, 255, 0.06);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

/* ===== Data Services ===== */
.data-services-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.data-service-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
}

.data-service-item:hover {
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

.data-service-visual { margin-bottom: 24px; position: relative; }

.data-icon-animated {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0, 240, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 1.6rem;
    color: var(--primary);
    border: 2px solid rgba(0, 240, 255, 0.2);
    transition: var(--transition);
}

.data-service-item:hover .data-icon-animated {
    background: var(--primary);
    color: var(--bg-body);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: scale(1.1);
}

.data-icon-animated.blue {
    background: rgba(99, 102, 241, 0.08);
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.2);
}

.data-service-item:hover .data-icon-animated.blue {
    background: #818cf8;
    color: var(--bg-body);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}

.data-icon-animated.red {
    background: rgba(255, 45, 85, 0.08);
    color: var(--accent);
    border-color: rgba(255, 45, 85, 0.2);
}

.data-service-item:hover .data-icon-animated.red {
    background: var(--accent);
    color: var(--bg-body);
    box-shadow: 0 0 30px var(--accent-glow);
}

.data-flow-line {
    width: 2px;
    height: 20px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin: 12px auto 0;
}

.data-flow-line.blue { background: linear-gradient(to bottom, #818cf8, transparent); }
.data-flow-line.red { background: linear-gradient(to bottom, var(--accent), transparent); }

.data-service-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.data-service-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.data-features { list-style: none; padding: 0; text-align: right; }

.data-features li {
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}

.data-features li:last-child { border-bottom: none; }

.data-features li i {
    color: var(--neon-green);
    margin-left: 8px;
    font-size: 0.8rem;
}

/* ===== Carousel ===== */
.carousel-section { padding: 80px 0; background: var(--bg-dark); }

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    min-width: 100%;
    position: relative;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 3rem;
}

.slide-placeholder p { font-size: 0.95rem; margin-top: 15px; }

.slide-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(10,10,15,0.95) 0%, rgba(10,10,15,0.4) 60%, transparent 100%);
}

.slide-overlay h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; }

.slide-overlay p { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }

.btn-slide {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
}

.btn-slide:hover { box-shadow: 0 0 20px var(--primary-glow); color: var(--bg-body); }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(18, 18, 28, 0.8);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    background: var(--primary);
    color: var(--bg-body);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.carousel-btn.prev { right: 16px; }
.carousel-btn.next { left: 16px; }

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dots .dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* ===== Why Us ===== */
.why-us {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 50px;
    border: 1px solid var(--border);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.why-item {
    text-align: center;
    padding: 24px 16px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    border: 1px solid transparent;
}

.why-item:hover {
    background: rgba(0, 240, 255, 0.03);
    border-color: var(--border);
}

.why-item .icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }

.why-item h4 {
    color: var(--primary);
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
}

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

/* ===== Contact Form ===== */
.contact-section { padding: 80px 0; }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 44px;
    max-width: 720px;
    margin: 0 auto;
}

.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
    background: var(--bg-card);
}

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

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    border: none;
    border-radius: var(--radius);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 0 20px var(--primary-glow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--primary-glow);
    color: var(--bg-body);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    color: var(--text-secondary);
    box-shadow: none;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: none;
}

.btn-danger {
    background: var(--gradient-accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-success {
    background: linear-gradient(135deg, #059669, #39ff14);
}

/* ===== Products Grid ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    align-items: stretch;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: var(--shadow-glow);
}

.product-card .image {
    width: 100%;
    height: 200px;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.product-card .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .info {
    padding: 22px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
}

.product-card .info h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.product-card .info p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-bottom: 16px;
    line-height: 1.7;
    flex: 1;
}

.product-card .price {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.15rem;
}

.product-card .category-badge {
    display: inline-block;
    background: rgba(0, 240, 255, 0.08);
    color: var(--primary);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid rgba(0, 240, 255, 0.15);
}

/* ===== Page Content ===== */
.page-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 50px;
    margin: 40px 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-content h3 { color: var(--primary); margin-bottom: 20px; font-size: 1.5rem; font-weight: 800; }
.page-content h4 { color: var(--secondary); margin: 24px 0 12px; font-size: 1.15rem; font-weight: 700; }
.page-content p { color: var(--text-secondary); margin-bottom: 16px; line-height: 1.8; }
.page-content ul { list-style: none; padding: 0; }
.page-content ul li { padding: 10px 0; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
.page-content ul li:last-child { border-bottom: none; }

/* ===== Footer ===== */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 40px 0 24px;
    text-align: center;
}

.footer .social-links {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer .social-links a:hover {
    background: var(--primary);
    color: var(--bg-body);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.footer p { color: var(--text-muted); font-size: 0.88rem; }

/* ===== Alerts ===== */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.2);
    color: var(--neon-green);
}

.alert-error {
    background: rgba(255, 45, 85, 0.08);
    border: 1px solid rgba(255, 45, 85, 0.2);
    color: var(--accent);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px 24px;
        gap: 4px;
    }

    .nav.active { display: flex; }

    .nav a { padding: 12px 16px; width: 100%; border-radius: 8px; }

    .mobile-toggle { display: flex; }

    .hero { padding: 60px 0 70px; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .hero-badge { font-size: 0.8rem; padding: 6px 16px; }

    /* البطاقات: 2 جنب + 1 لحال + 2 جنب */
    .service-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-grid.cols-2 {
        grid-template-columns: 1fr;
    }

    /* الكارت السابع (index 6) يظهر لحاله */
    .service-detail-grid .service-detail-card:nth-child(7) {
        grid-column: 1 / -1;
    }

    .service-detail-card.horizontal {
        flex-direction: column;
    }

    .data-services-showcase { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }

    .why-us { padding: 30px 20px; }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-form { padding: 28px 20px; }
    .page-content { padding: 30px 20px; }

    .carousel-slide { height: 260px; }
    .slide-overlay { padding: 24px 20px; }
    .slide-overlay h3 { font-size: 1.2rem; }

    .section { padding: 60px 0; }
    .service-section-detailed { padding: 60px 0; }
    .container { padding: 0 16px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.7rem; }
    .why-us-grid { grid-template-columns: 1fr; }
    .header .container { height: 60px; }
    .logo { font-size: 1.3rem; }

    /* في الشاشات الصغيرة جداً: كل كارت لحاله */
    .service-detail-grid { grid-template-columns: 1fr; }
    .service-detail-grid .service-detail-card:nth-child(n) { grid-column: auto; }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease forwards; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

::selection { background: rgba(0, 240, 255, 0.2); color: var(--primary); }

/* ===== Hero Background Image ===== */
.hero.has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: rgba(10, 10, 15, 0.75);
    z-index: 0;
}

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

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: whatsapp-pulse 2s ease-in-out infinite;
}

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

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}

/* ===== Service Request Success ===== */
.request-success {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.request-success .success-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: rgba(57, 255, 20, 0.08);
    border: 2px solid rgba(57, 255, 20, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: var(--neon-green);
    animation: success-bounce 0.6s ease;
}

@keyframes success-bounce {
    0% { transform: scale(0); }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.request-success h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.request-success p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

.request-success .btn {
    margin-top: 10px;
}

/* ===== Phone Field ===== */
.phone-combo {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    direction: ltr;
    background: var(--bg-input);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.phone-combo:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08);
    background: var(--bg-card);
}

.phone-combo select,
.phone-combo input {
    min-height: 52px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: 'Cairo', sans-serif;
}

.phone-combo select {
    color: var(--text-primary);
    border-right: 1px solid var(--border) !important;
    padding: 0 12px;
    font-weight: 800;
    cursor: pointer;
}

.phone-combo input {
    color: var(--text-primary);
    padding: 0 16px;
    font-size: 1rem;
    text-align: left;
}

.phone-combo input::placeholder {
    color: var(--text-muted);
}

[data-theme="light"] .phone-combo {
    background: #f8fafc;
    border-color: var(--border);
}

/* ===== Theme Toggle Button ===== */
.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

/* ===== Colorful Section Backgrounds ===== */
.section-colorful {
    position: relative;
    overflow: hidden;
}

.section-colorful::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.04;
    pointer-events: none;
}

.section-blue::before {
    background: radial-gradient(ellipse at 20% 50%, #00f0ff 0%, transparent 60%);
}

.section-purple::before {
    background: radial-gradient(ellipse at 80% 50%, #a855f7 0%, transparent 60%);
}

.section-green::before {
    background: radial-gradient(ellipse at 50% 20%, #39ff14 0%, transparent 60%);
}

.section-orange::before {
    background: radial-gradient(ellipse at 50% 80%, #ff6b00 0%, transparent 60%);
}

.section-pink::before {
    background: radial-gradient(ellipse at 30% 70%, #ff1493 0%, transparent 60%);
}

/* ===== Light Mode ===== */
[data-theme="light"] {
    --primary: #006688; /* Darker, high-contrast cyan/teal */
    --primary-light: #0088b0;
    --primary-dark: #004466;
    --primary-glow: rgba(0, 102, 136, 0.2);

    --bg-body: #f8fafc; /* Premium clean slate off-white */
    --bg-dark: rgba(241, 245, 249, 0.84); /* Premium slate light grey */
    --bg-card: rgba(255, 255, 255, 0.86);
    --bg-card-hover: rgba(241, 245, 249, 0.92);
    --bg-input: rgba(248, 250, 252, 0.86);

    --text-primary: #0f172a; /* Slate 900 for maximum contrast */
    --text-secondary: #334155; /* Slate 700 for maximum contrast */
    --text-muted: #64748b; /* Slate 500 */

    --border: #e2e8f0;

    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 4px 20px rgba(0, 102, 136, 0.06);

    --gradient-hero: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 50%, rgba(51, 65, 85, 0.86) 100%);
    --gradient-surface: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.9));
}

[data-theme="light"] body::before {
    background:
        conic-gradient(from 150deg at 50% 50%,
            rgba(0, 102, 136, 0.15),
            rgba(168, 85, 247, 0.1),
            rgba(255, 45, 85, 0.06),
            rgba(5, 150, 105, 0.08),
            rgba(0, 102, 136, 0.15)),
        linear-gradient(115deg,
            rgba(0, 102, 136, 0.08) 0%,
            transparent 30%,
            rgba(168, 85, 247, 0.06) 54%,
            transparent 78%,
            rgba(255, 45, 85, 0.04) 100%);
    opacity: 0.46;
}

[data-theme="light"] body::after {
    background-image:
        linear-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    opacity: 0.5;
}

/* Header */
[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(20px);
}

/* Nav links */
[data-theme="light"] .nav a {
    color: var(--text-secondary);
}
[data-theme="light"] .nav a:hover {
    color: var(--primary);
    background: rgba(0, 102, 136, 0.06);
}
[data-theme="light"] .nav a.active {
    color: var(--primary);
    background: rgba(0, 102, 136, 0.08);
}

/* Theme toggle */
[data-theme="light"] .theme-toggle {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--border);
}
[data-theme="light"] .theme-toggle:hover {
    color: var(--primary);
    border-color: var(--primary);
}

/* Hero */
[data-theme="light"] .hero {
    color: #1e293b;
}
[data-theme="light"] .hero.has-bg::before {
    background: rgba(255, 255, 255, 0.85);
}
[data-theme="light"] .hero-badge {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}
[data-theme="light"] .hero p {
    color: #475569;
}
[data-theme="light"] .hero .btn {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
[data-theme="light"] .hero .btn:hover {
    color: #ffffff;
    box-shadow: 0 6px 30px rgba(0,0,0,0.15);
}
[data-theme="light"] .hero .btn-secondary {
    background: rgba(0,0,0,0.05);
    color: #1e293b;
    border-color: rgba(0,0,0,0.15);
}
[data-theme="light"] .hero .btn-secondary:hover {
    background: rgba(0,0,0,0.1);
    color: #1e293b;
}

/* Sections */
[data-theme="light"] .section-title h2 {
    color: #1a1a2e;
}
[data-theme="light"] .section-title p {
    color: var(--text-secondary);
}
[data-theme="light"] .section-subtitle {
    color: var(--text-secondary);
}
[data-theme="light"] .service-section-header h2 {
    color: #1a1a2e;
}

/* alt-bg section */
[data-theme="light"] .service-section-detailed.alt-bg {
    background: var(--bg-dark);
    border-color: var(--border);
}

/* Cards */
[data-theme="light"] .service-detail-card {
    background: #ffffff;
    border-color: var(--border);
}
[data-theme="light"] .service-detail-card:hover {
    background: #f8f9fa;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: rgba(0, 102, 136, 0.3);
}
[data-theme="light"] .service-detail-card h4,
[data-theme="light"] .service-detail-card p {
    color: var(--text-primary);
}
[data-theme="light"] .detail-card-content h4 {
    color: #1a1a2e;
}
[data-theme="light"] .detail-card-content p {
    color: var(--text-secondary);
}
[data-theme="light"] .detail-card-icon {
    background: rgba(0, 102, 136, 0.08);
    color: var(--primary);
    border-color: rgba(0, 102, 136, 0.15);
}
[data-theme="light"] .detail-card-icon.orange {
    background: rgba(255, 107, 0, 0.08);
    color: var(--neon-orange);
    border-color: rgba(255, 107, 0, 0.15);
}
[data-theme="light"] .detail-card-icon.green {
    background: rgba(57, 255, 20, 0.08);
    color: #059669;
    border-color: rgba(57, 255, 20, 0.15);
}
[data-theme="light"] .service-tags span {
    background: rgba(0, 102, 136, 0.06);
    color: var(--primary);
    border-color: rgba(0, 102, 136, 0.15);
}

/* Data service items */
[data-theme="light"] .data-service-item {
    background: #ffffff;
    border-color: var(--border);
}
[data-theme="light"] .data-service-item:hover {
    background: #f8f9fa;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
[data-theme="light"] .data-service-item h4 {
    color: #1a1a2e;
}
[data-theme="light"] .data-service-item p {
    color: var(--text-secondary);
}
[data-theme="light"] .data-icon-animated {
    background: rgba(0, 102, 136, 0.08);
    color: var(--primary);
    border-color: rgba(0, 102, 136, 0.2);
}
[data-theme="light"] .data-icon-animated.blue {
    background: rgba(99, 102, 241, 0.08);
    color: #818cf8;
    border-color: rgba(99, 102, 241, 0.2);
}
[data-theme="light"] .data-icon-animated.red {
    background: rgba(255, 45, 85, 0.08);
    color: var(--accent);
    border-color: rgba(255, 45, 85, 0.2);
}
[data-theme="light"] .data-features li {
    color: var(--text-secondary);
    border-color: var(--border);
}
[data-theme="light"] .data-features li i {
    color: #059669;
}

/* Carousel */
[data-theme="light"] .carousel-wrapper {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
[data-theme="light"] .carousel-btn {
    background: rgba(255,255,255,0.9);
    color: #1a1a2e;
    border-color: var(--border);
}
[data-theme="light"] .carousel-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}
[data-theme="light"] .slide-placeholder {
    background: #f0f2f5;
    color: var(--text-muted);
}

/* Why Us */
[data-theme="light"] .why-us {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .why-item h4 {
    color: var(--primary);
}
[data-theme="light"] .why-item p {
    color: var(--text-secondary);
}
[data-theme="light"] .why-item:hover {
    background: rgba(0, 102, 136, 0.04);
    border-color: var(--border);
}

/* Forms */
[data-theme="light"] .form-group label {
    color: var(--text-secondary);
}
[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
    background: #f5f5f5;
    border-color: var(--border);
    color: #1a1a2e;
}
[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Contact form */
[data-theme="light"] .contact-form {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Page content */
[data-theme="light"] .page-content {
    background: #ffffff;
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
[data-theme="light"] .page-content h3 {
    color: var(--primary);
}
[data-theme="light"] .page-content h4 {
    color: #1a1a2e;
}
[data-theme="light"] .page-content p {
    color: var(--text-secondary);
}

/* Products */
[data-theme="light"] .product-card {
    background: #ffffff;
    border-color: var(--border);
}
[data-theme="light"] .product-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
[data-theme="light"] .product-card .image {
    background: #f0f2f5;
}
[data-theme="light"] .product-card .info h3 {
    color: #1a1a2e;
}
[data-theme="light"] .product-card .info p {
    color: var(--text-secondary);
}
[data-theme="light"] .category-badge {
    background: rgba(0, 102, 136, 0.06);
    color: var(--primary);
    border-color: rgba(0, 102, 136, 0.15);
}

/* Alerts */
[data-theme="light"] .alert-success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}
[data-theme="light"] .alert-error {
    background: #fff1f2;
    border-color: #fecdd3;
    color: #be123c;
}

/* Request success */
[data-theme="light"] .request-success {
    background: #ffffff;
    border-color: var(--border);
}
[data-theme="light"] .request-success .success-icon {
    background: rgba(57, 255, 20, 0.08);
    border-color: rgba(57, 255, 20, 0.2);
}
[data-theme="light"] .request-success h2 {
    color: #1a1a2e;
}
[data-theme="light"] .request-success p {
    color: var(--text-secondary);
}

/* Buttons */
[data-theme="light"] .btn-secondary {
    background: #ffffff;
    border-color: var(--border);
    color: var(--text-secondary);
}
[data-theme="light"] .btn-secondary:hover {
    background: #f0f2f5;
    color: #1a1a2e;
    border-color: var(--primary);
}

/* Service header icons */
[data-theme="light"] .service-header-icon {
    background: rgba(0, 102, 136, 0.08);
    border-color: rgba(0, 102, 136, 0.2);
}
[data-theme="light"] .service-header-icon.orange {
    background: rgba(255, 107, 0, 0.08);
    border-color: rgba(255, 107, 0, 0.2);
}
[data-theme="light"] .service-header-icon.green {
    background: rgba(57, 255, 20, 0.08);
    border-color: rgba(57, 255, 20, 0.2);
}

/* Colorful sections */
[data-theme="light"] .section-colorful::before {
    opacity: 0.06;
}

/* WhatsApp */
[data-theme="light"] .whatsapp-float {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

/* Service request form */
[data-theme="light"] .service-request-form {
    background: #ffffff;
    border-color: var(--border);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1.5fr;
    gap: 40px;
    padding: 50px 0 30px;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-brand h3 span { color: var(--primary); }

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--bg-body);
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-right: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.88rem;
}

.footer-contact li i {
    color: var(--primary);
    width: 18px;
    text-align: center;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
}

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

.designer-credit {
    margin: 12px auto 0;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.86rem;
    cursor: pointer;
    transition: var(--transition);
}

.designer-credit strong {
    color: var(--primary);
    font-weight: 900;
}

.designer-credit:hover {
    color: var(--text-primary);
    background: rgba(0, 240, 255, 0.06);
    border-color: rgba(0, 240, 255, 0.18);
    box-shadow: 0 0 18px rgba(0, 240, 255, 0.08);
}

.designer-modal {
    position: fixed;
    right: 0;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 0;
    z-index: 3000;
    display: none;
    padding: 0 18px;
    pointer-events: none;
}

.designer-modal.active {
    display: block;
}

.designer-modal-backdrop {
    display: none;
}

.designer-modal-card {
    position: relative;
    margin: 0 auto;
    width: min(360px, 100%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 18px 18px;
    text-align: center;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.38), 0 0 26px rgba(0, 240, 255, 0.08);
    pointer-events: auto;
    transform: translateY(18px) scale(0.98);
    animation: modalIn 0.2s ease forwards;
}

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

.designer-modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid var(--border);
    background: var(--bg-input);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.designer-modal-close:hover {
    color: var(--primary);
    border-color: rgba(0, 240, 255, 0.3);
}

.designer-modal-icon {
    width: 52px;
    height: 52px;
    margin: 4px auto 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-body);
    background: var(--gradient-primary);
    font-size: 1.25rem;
    box-shadow: 0 0 28px var(--primary-glow);
}

.designer-modal-card h3 {
    font-size: 1.18rem;
    font-weight: 900;
    margin-bottom: 5px;
}

.designer-modal-card p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.8;
    margin-bottom: 14px;
}

.designer-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.designer-action {
    min-height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--bg-body);
    background: var(--gradient-primary);
    font-weight: 800;
    font-size: 0.84rem;
    transition: var(--transition);
}

.designer-action.telegram {
    color: #ffffff;
    background: linear-gradient(135deg, #229ed9, #0f6ea9);
}

.designer-action:hover {
    color: var(--bg-body);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px var(--primary-glow);
}

.designer-action.telegram:hover {
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(34, 158, 217, 0.24);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0 20px;
    }
}

/* ===== Software Services Gradient Cards - Custom Styling (Light & Dark) ===== */
#software-services .service-detail-card {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Hide the thin top border highlight since the whole card is colorful */
#software-services .service-detail-card::before {
    display: none !important;
}

/* Ensure all titles and descriptions are white in both dark and light modes */
#software-services .service-detail-card h4,
#software-services .service-detail-card .detail-card-content h4,
[data-theme="light"] #software-services .service-detail-card h4,
[data-theme="light"] #software-services .service-detail-card .detail-card-content h4 {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

#software-services .service-detail-card p,
#software-services .service-detail-card .detail-card-content p,
[data-theme="light"] #software-services .service-detail-card p,
[data-theme="light"] #software-services .service-detail-card .detail-card-content p {
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Style the icon container inside the gradient cards */
#software-services .service-detail-card .detail-card-icon,
[data-theme="light"] #software-services .service-detail-card .detail-card-icon {
    background: rgba(255, 255, 255, 0.16) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Icon hover transition inside gradient cards */
#software-services .service-detail-card:hover .detail-card-icon,
[data-theme="light"] #software-services .service-detail-card:hover .detail-card-icon {
    background: #ffffff !important;
    color: #12121c !important;
    border-color: #ffffff !important;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.05);
}

/* Hover effects for gradient cards */
#software-services .service-detail-card:hover,
[data-theme="light"] #software-services .service-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.35) !important;
}

/* Custom styling for the feature badge inside gradient cards */
#software-services .service-detail-card .detail-card-badge {
    background: #ffffff !important;
    color: #0072ff !important;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}
/* Individual Card Gradient Backgrounds (Calm & Dark Colors) */
#software-services .service-detail-card:nth-child(1) { background: linear-gradient(135deg, #1e293b, #334155) !important; }
#software-services .service-detail-card:nth-child(2) { background: linear-gradient(135deg, #1e1b4b, #312e81) !important; }
#software-services .service-detail-card:nth-child(3) { background: linear-gradient(135deg, #2e1065, #4c1d95) !important; }
#software-services .service-detail-card:nth-child(4) { background: linear-gradient(135deg, #064e3b, #065f46) !important; }
#software-services .service-detail-card:nth-child(5) { background: linear-gradient(135deg, #27272a, #3f3f46) !important; }
#software-services .service-detail-card:nth-child(6) { background: linear-gradient(135deg, #500724, #701a75) !important; }
#software-services .service-detail-card:nth-child(7) { background: linear-gradient(135deg, #0f172a, #1e293b) !important; }
#software-services .service-detail-card:nth-child(8) { background: linear-gradient(135deg, #18181b, #27272a) !important; }

/* ===== Service Request Page Redesign ===== */
.service-request-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-card);
    align-self: start;
}

.service-form-heading {
    margin-bottom: 26px;
}

.service-form-heading .category-badge {
    margin-bottom: 12px;
}

.service-form-card h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: right;
    line-height: 1.4;
}

.service-form-card .form-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: right;
    margin-bottom: 0;
    line-height: 1.8;
}

.service-form-card .form-group {
    margin-bottom: 18px;
}

.service-form-card .form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.92rem;
    margin-bottom: 8px;
    text-align: right;
    color: var(--text-primary);
}

.service-form-card .form-group input,
.service-form-card .form-group select,
.service-form-card .form-group textarea {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px;
    background: var(--bg-input, var(--bg-card));
    border: 1.5px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-form-card .form-group input:focus,
.service-form-card .form-group select:focus,
.service-form-card .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.08);
}

.service-form-card .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.service-images-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-main-image {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.service-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-main-image img:hover {
    transform: scale(1.03);
}

.service-main-image .image-placeholder {
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.service-main-image .image-placeholder i {
    font-size: 3rem;
    opacity: 0.3;
}

.service-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.service-thumbnails .thumb {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.service-thumbnails .thumb:hover,
.service-thumbnails .thumb.active {
    border-color: var(--primary);
    box-shadow: 0 2px 10px rgba(0,240,255,0.15);
    transform: translateY(-2px);
}

.service-thumbnails .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-description-section {
    max-width: 1100px;
    margin: 30px auto 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px;
    box-shadow: var(--shadow-card);
}

.service-description-section h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: right;
}

.service-description-content {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 0.95rem;
}

.service-description-content ul,
.service-description-content ol {
    padding-right: 20px;
    margin: 12px 0;
}

.service-description-content li {
    margin-bottom: 6px;
}

.order-now-btn {
    width: 100%;
    padding: 16px 32px;
    background: var(--gradient-primary);
    color: var(--bg-body);
    border: none;
    border-radius: 14px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 0 22px var(--primary-glow);
    margin-top: 8px;
}

.order-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px var(--primary-glow);
    background: var(--gradient-primary);
}

.order-now-btn i {
    font-size: 1rem;
}

/* Service page responsive */
@media (max-width: 768px) {
    .service-request-layout {
        grid-template-columns: 1fr;
    }
    
    .service-images-card {
        order: -1;
    }
    
    .service-form-card {
        padding: 24px;
    }
    
    .service-thumbnails .thumb {
        width: 60px;
        height: 60px;
    }
    
    .service-description-section {
        padding: 24px;
    }
}

/* Product card improvements */
.product-card .order-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 3px 10px rgba(26,26,46,0.2);
}

.product-card .order-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26,26,46,0.3);
    background: linear-gradient(135deg, #16213e, #0f3460);
}

.product-card .order-link i {
    font-size: 0.9rem;
}

/* ===== Form Conditional Fields (Fade-in effect) ===== */
.form-conditional-fields {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(15px);
}

.form-conditional-fields.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ===== Softer Raised Surfaces ===== */
.service-detail-card,
.data-service-item,
.carousel-wrapper,
.why-us,
.contact-form,
.product-card,
.page-content,
.request-success,
.service-form-card,
.service-main-image,
.service-description-section,
.designer-modal-card {
    background: var(--gradient-surface);
    border-color: rgba(255, 255, 255, 0.085);
}

.service-detail-card:hover,
.data-service-item:hover,
.product-card:hover {
    background: linear-gradient(145deg, rgba(50, 54, 68, 0.95), rgba(29, 32, 44, 0.96));
}

.data-service-item,
.why-us,
.contact-form,
.product-card,
.page-content,
.service-form-card,
.service-description-section {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

[data-theme="light"] .service-detail-card,
[data-theme="light"] .data-service-item,
[data-theme="light"] .carousel-wrapper,
[data-theme="light"] .why-us,
[data-theme="light"] .contact-form,
[data-theme="light"] .product-card,
[data-theme="light"] .page-content,
[data-theme="light"] .request-success,
[data-theme="light"] .service-form-card,
[data-theme="light"] .service-main-image,
[data-theme="light"] .service-description-section,
[data-theme="light"] .designer-modal-card {
    background: var(--gradient-surface);
    border-color: rgba(15, 23, 42, 0.08);
}

/* ===== Responsive Stabilization ===== */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    overflow-wrap: break-word;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

.container {
    width: 100%;
}

.header .container {
    gap: 16px;
}

.logo {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}

.header .container > div:last-child {
    flex: 0 0 auto;
}

.nav {
    min-width: 0;
}

.hero .btn,
.btn,
.order-link,
.order-now-btn {
    justify-content: center;
    text-align: center;
}

.service-detail-card,
.data-service-item,
.why-item,
.product-card,
.contact-form,
.page-content,
.service-form-card,
.service-description-section {
    min-width: 0;
}



@media (max-width: 1100px) {
    .container {
        max-width: 960px;
        padding: 0 22px;
    }

    .nav a {
        padding: 8px 11px;
        font-size: 0.86rem;
    }

    .hero {
        padding: 72px 0 78px;
    }

    .hero h1 {
        font-size: 2.6rem;
        max-width: 720px;
    }

    .section,
    .service-section-detailed,
    .carousel-section,
    .contact-section {
        padding: 68px 0;
    }

    .data-services-showcase {
        gap: 20px;
    }

    .data-service-item {
        padding: 28px 22px;
    }

    .why-us {
        padding: 40px 28px;
    }

    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 900px) {
    .header .container {
        height: 64px;
    }

    .logo {
        font-size: 1.25rem;
    }

    .nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        z-index: 1001;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
        flex-direction: column;
        align-items: stretch;
        padding: 14px 22px 18px;
        gap: 6px;
    }

    [data-theme="light"] .nav {
        background: #ffffff;
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 12px 14px;
        font-size: 0.95rem;
        border-radius: 10px;
    }

    .mobile-toggle {
        display: flex;
    }

    .service-detail-grid,
    .service-detail-grid.cols-2,
    .data-services-showcase,
    .service-request-layout {
        grid-template-columns: 1fr;
    }

    .service-detail-grid .service-detail-card:nth-child(n) {
        grid-column: auto;
    }

    .service-detail-card.horizontal {
        flex-direction: row;
    }

    .service-images-card {
        order: -1;
    }

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

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

    .footer-grid .footer-col:last-child {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .header .container {
        height: 60px;
        gap: 10px;
    }

    .logo {
        font-size: 1.05rem;
    }

    .theme-toggle,
    .mobile-toggle {
        width: 40px;
        height: 40px;
        border-radius: 9px;
    }

    .hero {
        padding: 48px 0 56px;
    }

    .hero-badge {
        max-width: 100%;
        margin-bottom: 20px;
        white-space: normal;
    }

    .hero h1 {
        font-size: 1.75rem;
        line-height: 1.35;
        margin-bottom: 16px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 28px;
    }

    .hero .btn {
        width: 100%;
        padding: 14px 18px;
        font-size: 0.96rem;
    }

    .section,
    .service-section-detailed,
    .carousel-section,
    .contact-section {
        padding: 48px 0;
    }

    .section-title {
        margin-bottom: 32px;
    }

    .section-title h2,
    .service-section-header h2 {
        font-size: 1.55rem;
        line-height: 1.35;
    }

    .section-title p,
    .section-subtitle {
        font-size: 0.95rem;
    }

    .service-section-header {
        margin-bottom: 32px;
    }

    .service-header-icon {
        width: 58px;
        height: 58px;
        font-size: 1.45rem;
        border-radius: 14px;
    }

    .service-detail-grid,
    .data-services-showcase,
    .products-grid,
    .why-us-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-detail-card,
    .service-detail-card.horizontal {
        padding: 20px;
        flex-direction: column;
        gap: 14px;
    }

    .detail-card-icon {
        width: 44px;
        height: 44px;
        min-width: 44px;
        margin-bottom: 12px;
    }

    .service-detail-card.horizontal .detail-card-icon {
        margin-bottom: 0;
    }

    .detail-card-badge {
        position: static;
        display: inline-flex;
        width: fit-content;
        margin-bottom: 12px;
    }

    .data-service-item,
    .why-us,
    .contact-form,
    .page-content,
    .service-form-card,
    .service-description-section {
        padding: 22px 18px;
        border-radius: 14px;
    }

    .why-us .section-title {
        margin-bottom: 22px;
    }

    .why-us-grid {
        margin-top: 0;
    }

    .why-item {
        padding: 18px 12px;
    }

    .carousel-slide {
        height: 230px;
    }

    .slide-overlay {
        padding: 22px 18px 34px;
    }

    .slide-overlay h3 {
        font-size: 1.05rem;
    }

    .slide-overlay p {
        font-size: 0.86rem;
        margin-bottom: 12px;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
    }

    .carousel-btn.prev {
        right: 10px;
    }

    .carousel-btn.next {
        left: 10px;
    }

    .product-card .image {
        height: 180px;
    }

    .product-card .info {
        padding: 18px;
        min-height: 0;
    }

    .form-group input,
    .form-group textarea,
    .form-group select,
    .service-form-card .form-group input,
    .service-form-card .form-group select,
    .service-form-card .form-group textarea {
        padding: 13px 14px;
        font-size: 0.92rem;
    }

    .btn,
    .order-now-btn,
    .product-card .order-link {
        width: 100%;
        padding: 13px 18px;
    }

    .phone-combo {
        grid-template-columns: 102px minmax(0, 1fr);
    }

    .phone-combo select,
    .phone-combo input {
        min-height: 50px;
        font-size: 0.9rem;
    }

    .phone-combo select {
        padding: 0 8px;
    }

    .phone-combo input {
        padding: 0 12px;
    }

    .service-main-image {
        border-radius: 14px;
    }

    .service-thumbnails {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .service-thumbnails .thumb {
        width: 56px;
        height: 56px;
    }

    .footer {
        text-align: right;
    }

    .footer-grid {
        padding: 36px 0 22px;
    }

    .footer-social {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .footer-contact li {
        align-items: flex-start;
    }

    .whatsapp-float {
        left: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
        font-size: 1.55rem;
    }

    .designer-modal {
        right: 0;
        bottom: max(14px, env(safe-area-inset-bottom));
        left: 0;
        padding: 0 12px;
    }

    .designer-modal-card {
        width: 100%;
        max-width: 340px;
        padding: 18px 16px 16px;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 12px;
    }

    .logo {
        font-size: 0.95rem;
    }

    .theme-toggle,
    .mobile-toggle {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .hero h1 {
        font-size: 1.55rem;
    }

    .hero .btn,
    .btn,
    .order-now-btn,
    .product-card .order-link {
        font-size: 0.9rem;
    }

    .designer-modal-actions {
        grid-template-columns: 1fr;
    }
}
