/* =========================================
   SERVICES PAGE — Gallery Style
   Riyadh Designer
   ========================================= */

.sv-page {
    background: #ffffff;
    color: #1a1a1a;
}

/* ============ HERO ============ */
.sv-hero {
    position: relative;
    padding: 100px 0 70px;
    background: linear-gradient(135deg, #0a1628 0%, #0f2942 50%, #0a1628 100%);
    color: #ffffff;
    overflow: hidden;
}
.sv-hero-glow {
    position: absolute;
    top: 20%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(0, 200, 150, 0.18), transparent 70%);
    transform: translateX(-50%);
    pointer-events: none;
}
.sv-hero-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.sv-hero-inner { position: relative; z-index: 2; text-align: center; }

.sv-hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: 'Poppins', monospace;
    font-size: 13px; letter-spacing: 1px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 8px 18px; border-radius: 999px;
    color: #a5f3d0; margin-bottom: 28px;
}
.sv-prompt { color: #00d9a3; font-weight: 700; }
.sv-sep { color: rgba(255,255,255,0.4); }
.sv-typing { color: #ffffff; }
.sv-cursor {
    display: inline-block; width: 8px; height: 14px;
    background: #00d9a3; animation: sv-blink 1s infinite;
}
@keyframes sv-blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }

.sv-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(34px, 5vw, 62px);
    font-weight: 800; line-height: 1.12;
    margin: 0 0 24px;
}
.sv-accent { color: #00d9a3; }
.sv-hero-desc {
    max-width: 720px; margin: 0 auto 36px;
    font-size: 17px; line-height: 1.7;
    color: rgba(255,255,255,0.85);
}

.sv-hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.sv-btn-glow {
    box-shadow: 0 0 30px rgba(0, 217, 163, 0.45);
}
.sv-btn-ghost {
    display: inline-flex; align-items: center;
    padding: 14px 26px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    color: #ffffff; text-decoration: none; font-weight: 600;
    transition: all 0.3s ease;
}
.sv-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: #00d9a3; }

.sv-hero-marquee {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 18px; font-family: 'Poppins', sans-serif;
    font-size: 13px; letter-spacing: 2px; font-weight: 600;
    color: rgba(255,255,255,0.6);
}
.sv-star { color: #00d9a3; }

/* ============ TABS ============ */
.sv-tabs {
    position: sticky; top: 0; z-index: 40;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.sv-tab-list {
    display: flex; justify-content: center; flex-wrap: wrap;
    gap: 8px; list-style: none; padding: 16px 0; margin: 0;
}
.sv-tab {
    display: inline-block; padding: 10px 22px;
    border-radius: 999px; text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600; font-size: 14px;
    color: #1a1a1a; background: #f3f4f6;
    transition: all 0.25s ease;
}
.sv-tab:hover { background: #00d9a3; color: #ffffff; transform: translateY(-2px); }

/* ============ SECTIONS ============ */
.sv-section { padding: 80px 0; }
.sv-section-alt { background: #f9fafb; }

.sv-section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.sv-tag {
    display: inline-block; padding: 6px 16px;
    background: rgba(0, 217, 163, 0.12);
    color: #008c69; border-radius: 999px;
    font-size: 12px; font-weight: 700; letter-spacing: 2px;
    margin-bottom: 18px;
}
.sv-section-head h2 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800; line-height: 1.2;
    margin: 0 0 16px; color: #0a1628;
}
.sv-accent { color: #00a37d; }
.sv-sub {
    font-size: 16px; line-height: 1.7; color: #4b5563;
    margin: 0 0 22px;
}
.sv-section-cta {
    display: inline-block; font-weight: 600;
    color: #008c69; text-decoration: none;
    border-bottom: 2px solid #00d9a3;
    padding-bottom: 2px; transition: all 0.25s ease;
}
.sv-section-cta:hover { color: #00d9a3; }

/* ============ GALLERY GRID ============ */
.sv-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 26px;
}

.sv-card {
    display: flex; flex-direction: column;
    background: #ffffff;
    border-radius: 16px; overflow: hidden;
    border: 1px solid #e5e7eb;
    text-decoration: none; color: inherit;
    transition: all 0.35s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.sv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.10);
    border-color: #00d9a3;
}
.sv-card-featured { border: 2px solid #00d9a3; }

.sv-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #0a1628;
}
.sv-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.sv-card:hover .sv-card-img img { transform: scale(1.08); }

.sv-card-tag {
    position: absolute; top: 12px; left: 12px;
    padding: 6px 12px;
    background: rgba(10, 22, 40, 0.85);
    color: #00d9a3; font-size: 11px;
    font-weight: 700; letter-spacing: 1px;
    border-radius: 6px; backdrop-filter: blur(6px);
}
.sv-card-tag-hot { background: #00d9a3; color: #0a1628; }

.sv-card-body { padding: 22px 20px 24px; flex: 1; display: flex; flex-direction: column; }
.sv-card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 17px; font-weight: 700;
    line-height: 1.35; color: #0a1628;
    margin: 0 0 10px;
}
.sv-card-body p {
    font-size: 14px; line-height: 1.6;
    color: #4b5563; margin: 0 0 16px; flex: 1;
}
.sv-card-link {
    display: inline-block;
    font-size: 13px; font-weight: 700;
    color: #008c69; letter-spacing: 0.5px;
}
.sv-card:hover .sv-card-link { color: #00d9a3; }

/* ============ WHY ============ */
.sv-why { padding: 80px 0; background: #0a1628; color: #ffffff; }
.sv-why .sv-section-head h2 { color: #ffffff; }
.sv-why .sv-sub { color: rgba(255,255,255,0.75); }
.sv-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}
.sv-why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 14px; padding: 26px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.sv-why-card:hover {
    background: rgba(0, 217, 163, 0.10);
    border-color: #00d9a3;
    transform: translateY(-4px);
}
.sv-why-icon { display: block; font-size: 28px; margin-bottom: 12px; }
.sv-why-card h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px; font-weight: 700;
    margin: 0 0 6px; color: #ffffff;
}
.sv-why-card p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; }

/* ============ FAQ ============ */
.sv-faq { padding: 80px 0; }
.sv-center-cta { text-align: center; margin-top: 50px; }
.sv-cta-note {
    margin-top: 18px; font-size: 14px;
    color: #4b5563;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 640px) {
    .sv-hero { padding: 70px 0 50px; }
    .sv-section { padding: 60px 0; }
    .sv-gallery { grid-template-columns: 1fr; gap: 20px; }
    .sv-tab-list { gap: 6px; }
    .sv-tab { padding: 8px 16px; font-size: 13px; }
}