/* ============================
   Falak Services - CSS
   ============================ */

/* Variables */
:root {
    --flk-primary: #0e7490;
    --flk-primary-dark: #0a5a6e;
    --flk-primary-light: #22d3ee;
    --flk-accent: #06b6d4;
    --flk-bg: #f0f9ff;
    --flk-white: #ffffff;
    --flk-dark: #0c2d3b;
    --flk-body: #3a5a6a;
    --flk-muted: #7ba3b5;
    --flk-gold: #d4a843;
}

/* ========== HERO ========== */
.flk-hero {
    position: relative;
    background: linear-gradient(135deg, #0a3d4f 0%, #0e7490 40%, #0a5a6e 100%);
    padding: 80px 40px 120px;
    text-align: center;
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
}

.flk-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 168, 67, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.flk-geo {
    position: absolute;
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    animation: flkFloat 12s ease-in-out infinite;
}
.flk-geo:nth-child(1) { width: 60px; height: 60px; top: 15%; right: 10%; animation-delay: 0s; }
.flk-geo:nth-child(2) { width: 40px; height: 40px; top: 60%; right: 25%; animation-delay: -3s; border-radius: 50%; }
.flk-geo:nth-child(3) { width: 80px; height: 80px; top: 30%; left: 8%; animation-delay: -6s; }
.flk-geo:nth-child(4) { width: 30px; height: 30px; bottom: 25%; left: 20%; animation-delay: -2s; border-radius: 50%; }
.flk-geo:nth-child(5) { width: 50px; height: 50px; top: 10%; left: 35%; animation-delay: -8s; }

@keyframes flkFloat {
    0%, 100% { transform: translateY(0px) rotate(30deg); opacity: 0.4; }
    50% { transform: translateY(-20px) rotate(45deg); opacity: 0.7; }
}

.flk-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 24px;
    border-radius: 50px;
    color: var(--flk-primary-light);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    font-family: 'Tajawal', sans-serif;
    animation: flkFadeDown 0.8s ease-out;
}

.flk-dot {
    width: 8px; height: 8px;
    background: var(--flk-primary-light);
    border-radius: 50%;
    display: inline-block;
    animation: flkPulse 2s ease-in-out infinite;
}

.flk-hero-title {
    font-size: clamp(32px, 5vw, 52px) !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin-bottom: 16px !important;
    position: relative;
    z-index: 1;
    font-family: 'Tajawal', sans-serif !important;
    animation: flkFadeUp 0.8s ease-out 0.2s both;
    line-height: 1.4 !important;
    padding: 0 !important;
}

.flk-hero-title span {
    background: linear-gradient(135deg, var(--flk-primary-light), var(--flk-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.flk-hero-desc {
    color: rgba(255,255,255,0.7) !important;
    font-size: 18px !important;
    max-width: 600px;
    margin: 0 auto !important;
    line-height: 1.8 !important;
    position: relative;
    z-index: 1;
    font-family: 'Tajawal', sans-serif !important;
    animation: flkFadeUp 0.8s ease-out 0.4s both;
}

.flk-wave {
    position: absolute;
    bottom: -2px;
    left: 0; right: 0;
    z-index: 2;
    width: 100%;
}

/* ========== SERVICES GRID ========== */
.flk-services {
    max-width: 1200px;
    margin: -60px auto 0;
    padding: 0 24px 80px;
    position: relative;
    z-index: 3;
    font-family: 'Tajawal', sans-serif;
}

.flk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

/* ========== CARD ========== */
.flk-card {
    background: var(--flk-white);
    border-radius: 20px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(14, 116, 144, 0.06);
    opacity: 0;
    transform: translateY(40px);
}

.flk-card.flk-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.flk-card::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--flk-primary), var(--flk-accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.flk-card::after {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.flk-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 60px rgba(14, 116, 144, 0.15);
    border-color: rgba(14, 116, 144, 0.12);
}

.flk-card:hover::before { transform: scaleX(1); }
.flk-card:hover::after { opacity: 1; }

/* Card Header */
.flk-card-head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.flk-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.flk-card:hover .flk-icon {
    transform: scale(1.08);
    box-shadow: 0 0 40px rgba(6, 182, 212, 0.2);
}

.flk-icon svg { width: 28px; height: 28px; }

.flk-seo { background: linear-gradient(135deg, #0e7490, #06b6d4); }
.flk-social { background: linear-gradient(135deg, #0891b2, #22d3ee); }
.flk-influencer { background: linear-gradient(135deg, #0e7490, #14b8a6); }
.flk-ads { background: linear-gradient(135deg, #0a5a6e, #0e7490); }
.flk-dropship { background: linear-gradient(135deg, #0891b2, #06b6d4); }
.flk-invest { background: linear-gradient(135deg, #0a5a6e, #14b8a6); }
.flk-identity { background: linear-gradient(135deg, #0e7490, #22d3ee); }

.flk-num {
    position: absolute;
    top: 16px; left: 16px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(14, 116, 144, 0.04);
    line-height: 1;
    pointer-events: none;
    transition: color 0.4s ease;
    font-family: 'Tajawal', sans-serif;
}

.flk-card:hover .flk-num { color: rgba(14, 116, 144, 0.07); }

.flk-title-wrap { flex: 1; padding-top: 4px; }

.flk-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: var(--flk-dark) !important;
    margin-bottom: 4px !important;
    transition: color 0.3s ease;
    font-family: 'Tajawal', sans-serif !important;
    line-height: 1.4 !important;
}

.flk-card:hover .flk-title { color: var(--flk-primary) !important; }

.flk-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--flk-primary);
    background: rgba(14, 116, 144, 0.08);
    padding: 3px 12px;
    border-radius: 20px;
    font-family: 'Tajawal', sans-serif;
}

.flk-body {
    font-size: 15px !important;
    line-height: 1.85 !important;
    color: var(--flk-body) !important;
    margin-bottom: 24px !important;
    position: relative;
    z-index: 1;
    font-family: 'Tajawal', sans-serif !important;
}

/* Card Footer */
.flk-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.flk-pills { display: flex; gap: 12px; flex-wrap: wrap; }

.flk-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--flk-muted);
    background: var(--flk-bg);
    padding: 5px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
}

.flk-pill svg { width: 14px; height: 14px; color: var(--flk-accent); }

.flk-card:hover .flk-pill {
    background: rgba(14, 116, 144, 0.06);
    color: var(--flk-primary-dark);
}

.flk-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--flk-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    flex-shrink: 0;
}

.flk-arrow svg {
    width: 18px; height: 18px;
    color: var(--flk-primary);
    transition: transform 0.4s ease;
}

.flk-card:hover .flk-arrow {
    background: var(--flk-primary);
    box-shadow: 0 4px 15px rgba(14, 116, 144, 0.3);
}

.flk-card:hover .flk-arrow svg {
    color: #fff;
    transform: translateX(-4px);
}

/* ========== CTA ========== */
.flk-cta {
    text-align: center;
    padding: 0 24px 80px;
    max-width: 700px;
    margin: 0 auto;
    font-family: 'Tajawal', sans-serif;
}

.flk-cta-box {
    background: linear-gradient(135deg, #0a3d4f, #0e7490);
    border-radius: 24px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
}

.flk-cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.flk-cta-box h3 {
    color: #fff !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    margin-bottom: 12px !important;
    position: relative;
    font-family: 'Tajawal', sans-serif !important;
}

.flk-cta-box p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 16px !important;
    margin-bottom: 28px !important;
    position: relative;
    font-family: 'Tajawal', sans-serif !important;
}

.flk-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff !important;
    color: var(--flk-primary-dark) !important;
    font-family: 'Tajawal', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 14px 36px !important;
    border-radius: 14px !important;
    border: none !important;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    text-decoration: none !important;
}

.flk-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    color: var(--flk-primary-dark) !important;
}

.flk-cta-btn svg {
    width: 18px; height: 18px;
    transition: transform 0.3s ease;
}

.flk-cta-btn:hover svg { transform: translateX(-4px); }

/* ========== ANIMATIONS ========== */
@keyframes flkFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes flkFadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes flkPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .flk-hero { padding: 60px 20px 100px; }
    .flk-services { padding: 0 16px 60px; }
    .flk-grid { grid-template-columns: 1fr; gap: 16px; }
    .flk-card { padding: 28px 24px; }
    .flk-pills { flex-wrap: wrap; }
    .flk-cta-box { padding: 36px 24px; }
}
