/* ==========================================================================
   Dr. Zaki Standalone Page (P13) — Medical profile, own branding (green/teal)
   ========================================================================== */

.zk-page {
    --zk-primary: #0f766e;       /* teal (medical) */
    --zk-primary2: #14b8a6;
    --zk-accent: #0ea5e9;         /* clinical blue */
    --zk-dark: #0f2a2c;
    --zk-body: #334155;
    --zk-line: #dce6e9;
    --zk-warm: #f59e0b;
    --zk-white: #fff;
    --zk-bg: #f5faf9;

    direction: rtl;
    font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--zk-body);
    background: var(--zk-white);
}

.zk-page *, .zk-page *::before, .zk-page *::after { box-sizing: border-box; }
.zk-container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Hide any leaked Bassmah floating widgets on standalone pages */
body.standalone-page .wa-float,
body.standalone-page .bassmah-wa-float,
body.standalone-page .bassmah-floating-whatsapp { display: none !important; }

/* ============ TOPBAR ============ */
.zk-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid var(--zk-line);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.zk-topbar__inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.zk-topbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--zk-primary);
    font-weight: 900;
    font-size: 18px;
}
.zk-topbar__brand svg { flex-shrink: 0; }
.zk-topbar__nav { display: flex; align-items: center; gap: 22px; }
.zk-topbar__nav a {
    text-decoration: none;
    color: var(--zk-dark);
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s;
}
.zk-topbar__nav a:hover { color: var(--zk-primary); }
.zk-topbar__cta {
    background: linear-gradient(135deg, var(--zk-primary), var(--zk-primary2)) !important;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(15, 118, 110, 0.3);
}
.zk-topbar__cta:hover { color: #fff !important; transform: translateY(-2px); }

/* ============ BADGES + BUTTONS ============ */
.zk-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--zk-primary), var(--zk-primary2));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 18px;
}
.zk-badge--alt {
    background: rgba(15, 118, 110, 0.1);
    color: var(--zk-primary);
    border: 1px solid rgba(15, 118, 110, 0.2);
}
.zk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.zk-btn--primary {
    background: linear-gradient(135deg, var(--zk-primary), var(--zk-primary2));
    color: #fff;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.35);
}
.zk-btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(15, 118, 110, 0.45); color: #fff; }
.zk-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    backdrop-filter: blur(8px);
}
.zk-btn--ghost:hover { background: #fff; color: var(--zk-dark); transform: translateY(-3px); }

/* ============ HERO ============ */
.zk-hero {
    position: relative;
    background: linear-gradient(135deg, #0f2a2c 0%, #0f766e 50%, #14b8a6 100%);
    padding: 90px 20px 80px;
    overflow: hidden;
    color: #fff;
}
.zk-hero__bg { position: absolute; inset: 0; pointer-events: none; }
.zk-hero__shape { position: absolute; border-radius: 50%; }
.zk-hero__shape--1 { width: 420px; height: 420px; top: -140px; right: -120px; background: radial-gradient(circle, rgba(14, 165, 233, 0.25), transparent 70%); }
.zk-hero__shape--2 { width: 320px; height: 320px; bottom: -100px; left: -80px; background: radial-gradient(circle, rgba(253, 224, 71, 0.18), transparent 70%); }
.zk-hero__shape--3 { width: 200px; height: 200px; top: 30%; right: 15%; border: 2px solid rgba(255, 255, 255, 0.12); background: transparent; }
.zk-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.zk-hero__content { color: #fff; }
.zk-hero__name {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 900;
    color: #fff;
    margin: 0 0 4px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.zk-hero__name-en {
    font-size: clamp(14px, 1.5vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
    margin: 0 0 14px;
    direction: ltr;
    font-family: "Segoe UI", system-ui, sans-serif;
}
.zk-hero__title {
    font-size: clamp(16px, 2vw, 22px);
    color: #fde047;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
}
.zk-hero__subtitle {
    font-size: clamp(14px, 1.4vw, 16px);
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 28px;
    line-height: 1.8;
}
.zk-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.zk-hero__image img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.15);
}

/* ============ SECTION COMMON ============ */
.zk-about, .zk-specialties, .zk-credentials, .zk-contact { padding: 90px 0; text-align: center; }
.zk-section-title {
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 900;
    color: var(--zk-dark);
    margin: 0 0 36px;
    line-height: 1.35;
}
.zk-section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--zk-primary), var(--zk-primary2));
    border-radius: 4px;
    margin: 14px auto 0;
}

.zk-about { background: var(--zk-bg); }
.zk-about__text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 2;
    color: var(--zk-body);
    font-weight: 500;
    text-align: right;
}

/* ============ SPECIALTIES (poster + bullets) ============ */
.zk-specialties { background: #fff; }
.zk-section-title--underline {
    text-align: center;
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 48px;
}
.zk-section-title--underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 2px;
}
.zk-spec-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: right;
}
.zk-spec-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 8px 28px rgba(15, 42, 44, 0.08);
    display: flex;
    flex-direction: column;
}
.zk-spec-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15, 42, 44, 0.15);
}
.zk-spec-card__poster {
    height: 240px;
    background: var(--zk-bg);
    overflow: hidden;
}
.zk-spec-card__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.zk-spec-card:hover .zk-spec-card__poster img { transform: scale(1.04); }
.zk-spec-card__body {
    padding: 24px 26px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.zk-spec-card__title {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--zk-dark);
    margin: 0 0 18px;
    line-height: 1.4;
    text-align: center;
}
.zk-spec-card__list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}
.zk-spec-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--zk-body);
    font-weight: 600;
}
.zk-spec-card__list svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: #f59e0b;
    margin-top: 4px;
}

/* ============ CREDENTIALS + WHY CHOOSE (dark 2-col) ============ */
.zk-creds-dark {
    background: #fff;
    padding: 40px 0 80px;
}
.zk-creds-dark__panel {
    background: #1a1f28;
    border-radius: 20px;
    padding: 56px 40px;
    max-width: 1120px;
    margin: 0 auto;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
}
.zk-creds-dark__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.zk-creds-dark__col {
    color: #fff;
    text-align: right;
}
.zk-creds-dark__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.35rem;
    font-weight: 900;
    color: #f59e0b;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.zk-creds-dark__heading svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
.zk-creds-dark__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.zk-creds-dark__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
}
.zk-creds-dark__list svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    color: #f59e0b;
}
.zk-creds-dark__item-icon {
    opacity: 0.85;
}

/* ============ CONTACT ============ */
.zk-contact { background: #fff; padding: 80px 0; }
.zk-section-title--center { text-align: center; margin-bottom: 10px; }
.zk-contact__sub {
    text-align: center;
    color: var(--zk-body);
    font-size: 1.05rem;
    margin: 0 0 40px;
}
.zk-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    max-width: 1060px;
    margin: 0 auto 36px;
}
.zk-contact-card {
    background: #fff;
    border: 1px solid var(--zk-line);
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.zk-contact-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
    border-radius: 2px 2px 0 0;
}
.zk-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(15, 42, 44, 0.12);
}
.zk-contact-card h4 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.05rem;
    font-weight: 900;
    color: var(--zk-dark);
    margin: 0 0 14px;
}
.zk-contact-card h4 svg {
    width: 22px;
    height: 22px;
    color: #ec4899;
}
.zk-contact-card__body {
    color: #f59e0b;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.8;
}
.zk-contact-card__body a {
    display: block;
    color: #f59e0b;
    text-decoration: none;
}
.zk-contact-card__body a:hover { color: #ea580c; }

/* Social icons row */
.zk-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 10px;
}
.zk-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid var(--zk-line);
    color: var(--zk-dark);
    transition: all 0.25s;
    text-decoration: none;
}
.zk-social svg { width: 20px; height: 20px; }
.zk-social:hover {
    background: #1a1f28;
    color: #fff;
    border-color: #1a1f28;
    transform: translateY(-2px);
}

/* ============ FOOTER ============ */
.zk-footer {
    background: var(--zk-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 22px 0;
    text-align: center;
    font-size: 0.88rem;
}
.zk-footer p { margin: 0; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .zk-hero__inner { grid-template-columns: 1fr; text-align: center; }
    .zk-hero__cta { justify-content: center; }
    .zk-hero__image { max-width: 380px; margin: 0 auto; }
    .zk-spec-grid { grid-template-columns: repeat(2, 1fr); }
    .zk-creds-dark__grid { grid-template-columns: 1fr; gap: 36px; }
    .zk-contact-grid { grid-template-columns: 1fr; }
    .zk-topbar__nav a:not(.zk-topbar__cta) { display: none; }
}
@media (max-width: 640px) {
    .zk-hero { padding: 60px 20px; }
    .zk-about, .zk-specialties, .zk-creds-dark, .zk-contact { padding: 60px 0; }
    .zk-spec-grid { grid-template-columns: 1fr; }
    .zk-creds-dark__panel { padding: 36px 20px; border-radius: 14px; }
    .zk-hero__cta { flex-direction: column; }
    .zk-hero__cta .zk-btn { width: 100%; }
    .zk-spec-card__poster { height: 200px; }
}

/* ============ STICKY WHATSAPP BUTTON ============ */
.zk-sticky-wa {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
    animation: zkWaPulse 2.4s ease-in-out infinite;
}
.zk-sticky-wa svg {
    width: 32px;
    height: 32px;
}
.zk-sticky-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 14px 36px rgba(37, 211, 102, 0.7);
    color: #fff;
}
@keyframes zkWaPulse {
    0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.35); }
    50%      { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
    .zk-sticky-wa { width: 54px; height: 54px; bottom: 18px; left: 18px; }
    .zk-sticky-wa svg { width: 28px; height: 28px; }
}
