/* 
 * TIKATECH – Light & Vivid Design System
 * Author: TIKATECHDZ | contact@tikatechdz.com | 0666 96 93 19
 * Version: 2.0.0  – Light Edition
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ─── Design Tokens ─────────────────────────────────────────── */
:root {
    /* Vivid Brand Palette */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --accent: #7c3aed;
    /* violet */
    --accent-light: #a78bfa;
    --teal: #0891b2;
    --coral: #f97316;
    --rose: #e11d48;
    --emerald: #059669;
    --amber: #d97706;

    /* Gradient Presets */
    --grad-hero: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #0891b2 100%);
    --grad-blue: linear-gradient(135deg, #2563eb, #7c3aed);
    --grad-teal: linear-gradient(135deg, #0891b2, #2563eb);
    --grad-coral: linear-gradient(135deg, #f97316, #e11d48);
    --grad-emerald: linear-gradient(135deg, #059669, #0891b2);
    --grad-violet: linear-gradient(135deg, #7c3aed, #e11d48);

    /* Light Surfaces */
    --bg: #f8faff;
    --surface: #ffffff;
    --surface-2: #f0f4ff;
    --surface-3: #e8eeff;
    --surface-4: #dbeafe;

    /* Text */
    --text-main: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --text-dim: #94a3b8;
    --white: #ffffff;

    /* Borders */
    --border: rgba(37, 99, 235, 0.12);
    --border-bright: rgba(37, 99, 235, 0.35);
    --border-card: rgba(124, 58, 237, 0.15);

    /* Shadows */
    --shadow-xs: 0 1px 4px rgba(37, 99, 235, 0.08);
    --shadow-sm: 0 4px 16px rgba(37, 99, 235, 0.12);
    --shadow-md: 0 8px 32px rgba(37, 99, 235, 0.15);
    --shadow-lg: 0 20px 60px rgba(37, 99, 235, 0.18);
    --shadow-xl: 0 32px 80px rgba(37, 99, 235, 0.22);
    --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.25);
    --shadow-card: 0 4px 24px rgba(37, 99, 235, 0.1);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'Space Grotesk', monospace;

    /* Radius */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --radius-xl: 48px;
    --radius-2xl: 64px;

    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.18s ease;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset ──────────────────────────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* ─── Beautiful Mesh / Wallpaper Backgrounds ─────────────────── */

/* Dotted mesh */
.bg-dots {
    background-color: var(--bg);
    background-image: radial-gradient(circle, rgba(37, 99, 235, 0.12) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
}

/* Grid lines */
.grid-bg {
    background-color: var(--surface-2);
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    position: relative;
}

/* Vivid gradient wallpaper - used in page headers */
.wallpaper-hero {
    background: var(--grad-hero);
    position: relative;
    overflow: hidden;
}

.wallpaper-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 30%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 15% 80%, rgba(0, 212, 255, 0.2) 0%, transparent 60%),
        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: 100% 100%, 100% 100%, 56px 56px, 56px 56px;
    pointer-events: none;
}

/* Section wallpaper variants */
.bg-wave {
    background: linear-gradient(160deg, #f0f7ff 0%, #e8f0fe 50%, #f5f0ff 100%);
    position: relative;
}

.bg-vivid-soft {
    background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 50%, #ecfeff 100%);
}

.bg-teal-soft {
    background: linear-gradient(135deg, #f0fdfa 0%, #cffafe 50%, #e0f2fe 100%);
}

.bg-coral-soft {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 50%, #fce7f3 100%);
}

/* ─── Container ──────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* ─── Announce Bar ───────────────────────────────────────────── */
.announce-bar {
    background: var(--grad-blue);
    padding: 9px 0;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.announce-bar span {
    color: #fff;
    font-weight: 700;
}

/* ─── Top Bar ─────────────────────────────────────────────────── */
.top-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
    font-size: 0.79rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

/* ─── Header ─────────────────────────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

header.scrolled-active {
    box-shadow: var(--shadow-sm);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover img {
    transform: scale(1.05);
}

/* Fallback text logo */
.logo-text {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--grad-blue);
    border-radius: 50px;
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--grad-blue);
    color: #fff;
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(37, 99, 235, 0.5);
    color: #fff;
}

.btn-accent {
    background: var(--grad-violet);
    color: #fff;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.35);
}

.btn-accent:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(124, 58, 237, 0.5);
    color: #fff;
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
    transform: translateY(-4px);
}

.btn-coral {
    background: var(--grad-coral);
    color: #fff;
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.35);
}

.btn-coral:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 45px rgba(249, 115, 22, 0.5);
    color: #fff;
}

/* ─── Sections ───────────────────────────────────────────────── */
.section {
    padding: 100px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin-bottom: 1.2rem;
}

.section-label::before {
    content: '';
    width: 24px;
    height: 2.5px;
    background: var(--grad-blue);
    border-radius: 2px;
}

/* Light-surface section labels */
.section-label-violet {
    color: var(--accent);
}

.section-label-violet::before {
    background: var(--grad-violet);
}

.section-label-teal {
    color: var(--teal);
}

.section-label-teal::before {
    background: var(--grad-teal);
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.section-title p {
    color: var(--text-muted);
    max-width: 560px;
    font-size: 1.05rem;
}

/* ─── Gradient Text Utility ──────────────────────────────────── */
.gradient-text {
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-violet {
    background: var(--grad-violet);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-teal {
    background: var(--grad-teal);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-coral {
    background: var(--grad-coral);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── ═══════════ HERO CAROUSEL ═══════════ ──────────────────── */
.carousel-section {
    position: relative;
    height: 100vh;
    min-height: 680px;
    max-height: 920px;
    overflow: hidden;
    background: var(--grad-hero);
}

/* Each slide wallpaper */
.slide-1 {
    background: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 60%, #0891b2 100%);
}

.slide-2 {
    background: linear-gradient(135deg, #065f46 0%, #0891b2 50%, #2563eb 100%);
}

.slide-3 {
    background: linear-gradient(135deg, #7c2d12 0%, #be185d 50%, #7c3aed 100%);
}

/* Carousel mesh overlay */
.carousel-mesh {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 55% at 75% 35%, rgba(255, 255, 255, 0.15) 0%, transparent 65%),
        radial-gradient(ellipse 35% 40% at 10% 75%, rgba(0, 212, 255, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 20% 30% at 90% 10%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    pointer-events: none;
    z-index: 1;
}

/* Floating orbs on carousel */
.carousel-orb-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float-orb 10s ease-in-out infinite;
}

.carousel-orb-2 {
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float-orb 14s ease-in-out infinite reverse;
}

@keyframes float-orb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.97);
    }
}

/* Badge pill on carousel */
.slide-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
}

/* ─── Quick Trust Bar ─────────────────────────────────────────── */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    box-shadow: var(--shadow-xs);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
}

.trust-item i {
    font-size: 1.1rem;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Stats Section ───────────────────────────────────────────── */
.stats-section {
    background: var(--grad-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 80% at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 60%),
        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: 100% 100%, 50px 50px, 50px 50px;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item .stat-icon {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 14px;
}

.stat-item h3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.stat-item p {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: rgba(255, 255, 255, 0.7);
}

/* ─── Service Cards ─── vivid light ──────────────────────────── */
.service-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: default;
    box-shadow: var(--shadow-xs);
}

/* Colorful top stripe (unique per card) */
.service-card:nth-child(1) {
    --card-grad: linear-gradient(90deg, #2563eb, #7c3aed);
}

.service-card:nth-child(2) {
    --card-grad: linear-gradient(90deg, #7c3aed, #e11d48);
}

.service-card:nth-child(3) {
    --card-grad: linear-gradient(90deg, #0891b2, #2563eb);
}

.service-card:nth-child(4) {
    --card-grad: linear-gradient(90deg, #059669, #0891b2);
}

.service-card:nth-child(5) {
    --card-grad: linear-gradient(90deg, #d97706, #f97316);
}

.service-card:nth-child(6) {
    --card-grad: linear-gradient(90deg, #e11d48, #7c3aed);
}

.service-card:nth-child(7) {
    --card-grad: linear-gradient(90deg, #7c3aed, #0891b2);
}

.service-card:nth-child(8) {
    --card-grad: linear-gradient(90deg, #059669, #d97706);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-grad, var(--grad-blue));
    border-radius: 4px 4px 0 0;
}

/* Soft bg glow on hover */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--card-grad, var(--grad-blue));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    border-color: transparent;
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    opacity: 0.06;
}

.service-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: var(--card-grad, var(--grad-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 28px;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.service-card:hover .service-icon {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.35);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.75;
    margin-bottom: 24px;
}

.service-link {
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
    color: var(--accent);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* ─── Project Cards ───────────────────────────────────────────── */
.project-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-card);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.5) 50%, transparent 100%);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.project-overlay .project-tag {
    display: inline-block;
    background: var(--grad-blue);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

/* ─── Client Logos ────────────────────────────────────────────── */
.client-logo {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 88px;
    min-width: 160px;
    filter: grayscale(1) opacity(0.55);
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.client-logo:hover {
    filter: grayscale(0) opacity(1);
    border-color: var(--border-bright);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.client-logo img {
    max-height: 48px;
    max-width: 120px;
    object-fit: contain;
}

/* ─── Feature Items (Why Us) ─────────────────────────────────── */
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border);
    background: var(--surface);
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.feature-item:hover {
    border-color: var(--border-bright);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-item .feat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--grad-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

/* ─── Contact Cards ───────────────────────────────────────────── */
.contact-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.contact-card:hover {
    border-color: var(--border-bright);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--grad-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 16px;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

/* ─── Page Header Wallpaper ───────────────────────────────────── */
.page-header {
    background: var(--grad-hero);
    padding: 90px 0 65px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 60% at 75% 40%, rgba(255, 255, 255, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 30% 30% at 10% 80%, rgba(0, 212, 255, 0.18) 0%, transparent 60%),
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 56px 56px, 56px 56px;
    pointer-events: none;
}

/* Decorative blobs */
.page-header::after {
    content: '';
    position: absolute;
    top: -70px;
    right: -70px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-orb 12s ease-in-out infinite;
    pointer-events: none;
}

.page-header .section-label {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .section-label::before {
    background: rgba(255, 255, 255, 0.5);
}

.page-header h1 {
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.page-header p {
    color: rgba(255, 255, 255, 0.75);
}

.page-header nav a {
    color: rgba(255, 255, 255, 0.65);
}

.page-header nav a:hover {
    color: #fff;
}

.page-header nav span {
    color: rgba(255, 255, 255, 0.5);
}

.page-header nav span[style*="accent"] {
    color: #a5f3fc !important;
}

/* ─── CTA Section ─────────────────────────────────────────────── */
.cta-section {
    background: var(--grad-hero);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.3);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 60% 70% at 50% 0%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
        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: 100% 100%, 50px 50px, 50px 50px;
    pointer-events: none;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.78);
}

.cta-section .section-label {
    color: rgba(255, 255, 255, 0.75);
}

.cta-section .section-label::before {
    background: rgba(255, 255, 255, 0.4);
}

/* ─── Glow Dot ────────────────────────────────────────────────── */
.glow-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7df9ff;
    box-shadow: 0 0 8px #7df9ff, 0 0 16px rgba(125, 249, 255, 0.6);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.75);
    }
}

/* ─── Trust Badges ───────────────────────────────────────────── */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(37, 99, 235, 0.08);
    border: 1.5px solid var(--border-bright);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.trust-badge i {
    color: var(--accent);
    font-size: 1.05rem;
}

.trust-badge:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.trust-badge:hover i {
    color: #fff;
}

/* White badge variant (on colored backgrounds) */
.trust-badge-white {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.18);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
}

.trust-badge-white i {
    color: #a5f3fc;
}

/* ─── Announce Bar (themed for light) ────────────────────────── */
/* Already defined above */

/* ─── Form Elements ───────────────────────────────────────────── */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: var(--surface-2);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition-fast);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-dim);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
    background: var(--surface);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
}

/* ─── Footer ──────────────────────────────────────────────────── */
footer {
    background: var(--text-main);
    color: #fff;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* ─── Cookie Banner ───────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 2px solid var(--border-bright);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    box-shadow: 0 -8px 40px rgba(37, 99, 235, 0.12);
}

.cookie-banner.show {
    transform: translateY(0);
}

/* ─── Colored Section Divider ─────────────────────────────────── */
.section-divider {
    height: 4px;
    background: var(--grad-blue);
    border: none;
    margin: 0;
}

/* ─── Number / Stat Cards (light) ────────────────────────────── */
.metric-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.metric-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.metric-card .metric-num {
    font-size: 2.4rem;
    font-weight: 900;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 6px;
}

.metric-card .metric-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ─── Pill / Badge Tags ───────────────────────────────────────── */
.pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.pill-blue {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border: 1px solid rgba(37, 99, 235, 0.25);
}

.pill-violet {
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent);
    border: 1px solid rgba(124, 58, 237, 0.25);
}

.pill-teal {
    background: rgba(8, 145, 178, 0.1);
    color: var(--teal);
    border: 1px solid rgba(8, 145, 178, 0.25);
}

.pill-coral {
    background: rgba(249, 115, 22, 0.1);
    color: var(--coral);
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.pill-emerald {
    background: rgba(5, 150, 105, 0.1);
    color: var(--emerald);
    border: 1px solid rgba(5, 150, 105, 0.25);
}

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .section {
        padding: 72px 0;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 56px 0;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.8rem;
    }

    .service-card {
        padding: 36px 28px;
    }

    .cta-section {
        padding: 48px 24px;
        border-radius: var(--radius-lg);
    }

    .page-header {
        padding: 60px 0 44px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item::after {
        display: none;
    }
}

/* ─── RTL Adjustments ─────────────────────────────────────────── */
[dir="rtl"] .section-label::before {
    order: 1;
}

[dir="rtl"] .service-link i {
    transform: rotate(180deg);
}

[dir="rtl"] .service-card:hover .service-link i {
    transform: rotate(180deg) translateX(-5px);
}

[dir="rtl"] .nav-link::after {
    left: auto;
    right: 0;
}

/* ─── Animations ─────────────────────────────────────────────── */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    }

    50% {
        box-shadow: 0 0 50px rgba(37, 99, 235, 0.6);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-glow {
    animation: glow-pulse 3s ease infinite;
}

/* Moving gradient on backgrounds */
.bg-animated-grad {
    background: linear-gradient(-45deg, #2563eb, #7c3aed, #0891b2, #059669);
    background-size: 400% 400%;
    animation: gradient-shift 12s ease infinite;
}

/* ─── Utilities ───────────────────────────────────────────────── */
.bg-surface {
    background: var(--surface) !important;
}

.bg-surface-2 {
    background: var(--surface-2) !important;
}

.bg-bg {
    background: var(--bg) !important;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-muted-css {
    color: var(--text-muted);
}

.rounded-full {
    border-radius: 9999px;
}