/* ===== WORKSHOP CARDS ===== */
.workshops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 28px;
}
.workshop-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(10,15,30,0.04);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.5s var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}
.workshop-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 56px rgba(10,15,30,0.12);
    border-color: rgba(255,181,1,0.15);
}
.workshop-card.featured {
    border: 2px solid var(--accent);
    box-shadow: 0 4px 24px var(--accent-glow);
}
.workshop-card.featured:hover {
    box-shadow: 0 24px 56px rgba(255,181,1,0.2);
}
.workshop-card .popular-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--dark);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    z-index: 2;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 12px rgba(255,181,1,0.3);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 4px 12px rgba(255,181,1,0.3); }
    50% { box-shadow: 0 4px 20px rgba(255,181,1,0.5); }
}
/* Workshop header color variants */
.workshop-header-navy { background: linear-gradient(135deg, #0d1b3e, #1a3a6b); }
.workshop-header-brown { background: linear-gradient(135deg, #8b4513, #c47a2b); }
.workshop-header-mauve { background: linear-gradient(135deg, #714B67, #9b6b8e); }
.workshop-header-green { background: linear-gradient(135deg, #1a5c3a, #2d8b5e); }
.workshop-header-violet { background: linear-gradient(135deg, #5b2c6f, #8e44ad); }

/* Testimonials gradient */
.section-dark-gradient { background: linear-gradient(160deg, #060c1a 0%, #0b1529 50%, #0f1d38 100%); }

/* Utility classes for repeated inline styles */
.text-white { color: #fff; }
.text-white-muted { color: rgba(255,255,255,0.6); }
.navbar-actions { display: flex; align-items: center; gap: 12px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-ghost-dark { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-ghost-dark:hover { background: var(--dark); color: #fff; }
.link-accent { color: var(--accent); font-weight: 700; }
.mt-40 { margin-top: 40px; }

/* SVG icon base */
.icon-svg { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.why-icon .icon-svg, .persona-icon .icon-svg, .contact-icon .icon-svg { width: 34px; height: 34px; stroke-width: 1.5; }
.workshop-meta-item .icon-svg { width: 16px; height: 16px; }

.workshop-card-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 30px 26px;
    position: relative;
    overflow: hidden;
}
.workshop-card-header::after {
    content: '';
    position: absolute;
    top: -50%; right: -30%;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
}
.workshop-card-header .workshop-level {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}
.level-beginner { background: rgba(39,174,96,0.2); color: #2ecc71; }
.level-intermediate { background: rgba(52,152,219,0.2); color: #3498db; }
.level-advanced { background: rgba(155,89,182,0.2); color: #bb6bd9; }
.level-specialized { background: rgba(230,126,34,0.2); color: #e67e22; }
.workshop-card-header h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}
.workshop-card-header p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}
.workshop-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.workshop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}
.workshop-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-light);
}
.workshop-meta-item strong { color: var(--text); }
.workshop-features {
    list-style: none;
    margin-bottom: 24px;
    flex: 1;
}
.workshop-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}
.workshop-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}
.workshop-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}
.workshop-price {
    display: flex;
    flex-direction: column;
}
.workshop-price-old {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}
.workshop-price-new {
    font-size: 24px;
    font-weight: 900;
    color: var(--primary);
}
.workshop-price-new span { font-size: 14px; font-weight: 600; }
.workshop-card-footer .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== WHY RS ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}
.why-card {
    text-align: center;
    padding: 44px 28px;
    border-radius: var(--radius);
    transition: all 0.5s var(--transition);
    background: transparent;
    border: 1px solid transparent;
}
.why-card:hover {
    background: var(--bg-card);
    box-shadow: 0 16px 48px rgba(10,15,30,0.06);
    border-color: rgba(255,181,1,0.1);
    transform: translateY(-6px);
}
.why-icon {
    width: 76px; height: 76px;
    background: linear-gradient(145deg, rgba(16,71,157,0.06), rgba(255,181,1,0.08));
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    margin: 0 auto 22px;
    transition: all 0.4s var(--transition);
    position: relative;
}
.why-card:hover .why-icon {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(145deg, rgba(255,181,1,0.12), rgba(255,181,1,0.06));
    box-shadow: 0 8px 24px var(--accent-glow);
}
.why-title {
    font-family: 'Tajawal', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}
.why-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 34px;
    position: relative;
    transition: all 0.5s var(--transition);
    backdrop-filter: blur(8px);
}
.testimonial-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-6px);
    border-color: rgba(255,181,1,0.15);
    box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.testimonial-card::before {
    content: '\201D';
    position: absolute;
    top: 8px;
    right: 22px;
    font-size: 72px;
    color: rgba(255,181,1,0.1);
    font-family: 'Georgia', serif;
    line-height: 1;
}
.testimonial-stars {
    color: var(--accent);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 3px;
}
.testimonial-text {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 2;
    font-style: italic;
    position: relative;
    z-index: 1;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, rgba(255,181,1,0.2), rgba(255,181,1,0.1));
    color: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    border: 2px solid rgba(255,181,1,0.15);
}
.testimonial-name { font-weight: 700; font-size: 15px; }
.testimonial-role { font-size: 12px; color: rgba(255,255,255,0.75); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.faq-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.faq-item.active { border-color: var(--accent); box-shadow: 0 4px 20px rgba(255,181,1,0.12); }
.faq-question {
    padding: 22px 24px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s;
    gap: 16px;
}
.faq-question:hover { background: var(--bg-light); }
.faq-arrow { transition: transform 0.3s; font-size: 18px; color: var(--accent); flex-shrink: 0; }
.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.contact-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 36px;
    box-shadow: 0 2px 16px rgba(10,15,30,0.04);
    text-align: center;
    transition: all 0.5s var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}
.contact-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(10,15,30,0.08); border-color: rgba(255,181,1,0.2); }
.contact-icon { font-size: 36px; margin-bottom: 14px; }
.contact-label { font-size: 14px; color: var(--text-light); margin-bottom: 6px; }
.contact-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}
.contact-value a {
    color: var(--primary);
    text-decoration: none;
}
.contact-value a:hover { color: var(--accent); }

/* ===== CTA BANNER ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 50%, #a06f20 100%);
    padding: 88px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.05) 0%, transparent 50%);
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 {
    font-family: 'Tajawal', sans-serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.cta-banner p { font-size: 18px; color: rgba(0,0,0,0.75); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 32px rgba(10,15,30,0.3);
}
.cta-banner .btn:hover { background: var(--primary-light); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(10,15,30,0.4); }

/* ===== FOOTER ===== */
.footer {
    background: #050a14;
    color: rgba(255,255,255,0.6);
    padding: 64px 0 28px;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,181,1,0.3), transparent);
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}
.footer-brand img { height: 60px; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.6); }
.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}
.footer-link-list { list-style: none; }
.footer-link-list li { margin-bottom: 8px; }
.footer-link-list a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}
.footer-link-list a:hover { color: var(--accent); }
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}
.footer-social a:hover { background: var(--accent); color: var(--dark); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}

/* ===== FLOATING WHATSAPP ===== */
.float-wa {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}
.float-wa:hover { transform: scale(1.15); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
.float-wa svg { width: 30px; height: 30px; fill: #fff; }
.float-wa-label {
    position: fixed;
    bottom: 32px;
    left: 96px;
    background: #fff;
    color: var(--text);
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 999;
    white-space: nowrap;
    animation: fadeInLabel 0.5s ease 2s both;
}
.float-wa-label::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}
@keyframes fadeInLabel {
    from { opacity: 0; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes 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); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero { padding: 130px 0 70px; }
    .hero-title { font-size: clamp(28px, 7vw, 40px); }
    .hero-desc { font-size: 16px; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stats-grid > div::after { display: none; }
    .stat-number { font-size: 32px; }
    .workshops-grid { grid-template-columns: 1fr; }
    .navbar-links { display: none; }
    .navbar-toggle { display: block; }
    .navbar-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: var(--glass);
        backdrop-filter: blur(20px);
        padding: 20px;
        box-shadow: 0 16px 48px rgba(0,0,0,0.08);
        gap: 12px;
        border-top: 2px solid var(--accent);
        animation: slideDown 0.4s var(--transition);
    }
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-12px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-social { justify-content: center; }
    .section { padding: 72px 0; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .instructors-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .float-wa-label { display: none; }
    .filter-tabs { padding: 4px; gap: 4px; }
    .filter-tab { padding: 8px 16px; font-size: 12px; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .stat-number { font-size: 28px; }
    .workshop-card-footer { flex-direction: column; gap: 12px; text-align: center; }
    .instructors-grid { grid-template-columns: 1fr; }
    .persona-grid { grid-template-columns: 1fr; }
    .hero-trust span { font-size: 12px !important; padding: 6px 12px !important; }
}

/* ===== WHO IS THIS FOR ===== */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.persona-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 40px 28px;
    box-shadow: 0 2px 16px rgba(10,15,30,0.04);
    text-align: center;
    border-top: 3px solid var(--accent);
    transition: all 0.5s var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 3px solid var(--accent);
}
.persona-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(10,15,30,0.08); border-top-color: var(--primary); }
.persona-icon { font-size: 48px; margin-bottom: 16px; }
.persona-title { font-size: 18px; font-weight: 800; color: var(--primary); margin-bottom: 8px; }
.persona-desc { font-size: 14px; color: var(--text-light); line-height: 1.8; }
.persona-workshop { display: inline-block; margin-top: 12px; padding: 4px 14px; background: rgba(255,181,1,0.12); color: var(--accent-hover); border-radius: 50px; font-size: 13px; font-weight: 700; }

/* ===== CAREER PATH ===== */
.path-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}
.path-step {
    text-align: center;
    padding: 20px 16px;
    flex: 1;
    min-width: 140px;
    position: relative;
}
.path-step-num {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--accent), #e6971f);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    margin: 0 auto 12px;
}
.path-step-title { font-size: 15px; font-weight: 800; color: var(--primary); margin-bottom: 4px; }
.path-step-workshop { font-size: 12px; color: var(--text-light); }
.path-arrow { font-size: 28px; color: var(--accent); font-weight: 900; flex-shrink: 0; }
@media (max-width: 768px) {
    .path-steps { flex-direction: column; gap: 4px; }
    .path-arrow { transform: rotate(-90deg); }
}

/* ===== INSTRUCTORS ===== */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.instructor-card {
    text-align: center;
    padding: 36px 24px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.instructor-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #f7c948);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.instructor-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.08); }
.instructor-card:hover::before { transform: scaleX(1); }
.instructor-avatar {
    width: 80px; height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid rgba(255,181,1,0.3);
}
.instructor-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.instructor-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 6px; }
.instructor-title { font-size: 13px; color: rgba(255,255,255,0.8); margin-bottom: 14px; line-height: 1.6; }
.instructor-workshops { font-size: 13px; color: var(--accent); font-weight: 700; background: rgba(255,181,1,0.1); padding: 6px 16px; border-radius: 50px; display: inline-block; }

/* ===== FOCUS STYLES ===== */
*:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}
.btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--accent);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}
/* Staggered entrance for workshop cards */
.workshop-card:nth-child(1) { transition-delay: 0.05s; }
.workshop-card:nth-child(2) { transition-delay: 0.12s; }
.workshop-card:nth-child(3) { transition-delay: 0.19s; }
.workshop-card:nth-child(4) { transition-delay: 0.26s; }
.workshop-card:nth-child(5) { transition-delay: 0.33s; }
.workshop-card:nth-child(6) { transition-delay: 0.4s; }
/* Stagger for other grids */
.why-card:nth-child(1) { transition-delay: 0.05s; }
.why-card:nth-child(2) { transition-delay: 0.12s; }
.why-card:nth-child(3) { transition-delay: 0.19s; }
.why-card:nth-child(4) { transition-delay: 0.26s; }
.persona-card:nth-child(1) { transition-delay: 0.05s; }
.persona-card:nth-child(2) { transition-delay: 0.12s; }
.persona-card:nth-child(3) { transition-delay: 0.19s; }
.persona-card:nth-child(4) { transition-delay: 0.26s; }
.testimonial-card:nth-child(1) { transition-delay: 0.05s; }
.testimonial-card:nth-child(2) { transition-delay: 0.12s; }
.testimonial-card:nth-child(3) { transition-delay: 0.15s; }
.testimonial-card:nth-child(4) { transition-delay: 0.22s; }

/* ===== SMOOTH SECTION DIVIDER ===== */
.section + .section-dark::before,
.section-light + .section-dark::before {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(90deg, transparent 10%, rgba(255,181,1,0.2) 50%, transparent 90%);
}
.footer-social a svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===== SCROLL PROGRESS BAR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--accent));
    z-index: 1001;
    width: 0%;
    transition: width 0.15s linear;
    box-shadow: 0 0 12px var(--accent-glow);
}

/* ===== SOCIAL PROOF POPUP ===== */
.social-proof {
    position: fixed;
    bottom: 100px;
    right: 24px;
    background: #fff;
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 998;
    max-width: 340px;
    transform: translateX(120%);
    transition: transform 0.5s cubic-bezier(0.68,-0.55,0.27,1.55);
    border-right: 4px solid var(--accent);
}
.social-proof.show { transform: translateX(0); }
.social-proof-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--accent), #f7c948);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.social-proof-text { font-size: 13px; color: var(--text); line-height: 1.6; }
.social-proof-text strong { color: var(--primary); }
.social-proof-time { font-size: 11px; color: var(--text-light); margin-top: 2px; }
.social-proof-close {
    position: absolute;
    top: 6px;
    left: 6px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}

/* ===== WHATSAPP CHAT WIDGET ===== */
.wa-widget {
    position: fixed;
    bottom: 96px;
    left: 24px;
    width: 340px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow: hidden;
    transform: scale(0) translateY(20px);
    transform-origin: bottom left;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68,-0.55,0.27,1.55);
    pointer-events: none;
}
.wa-widget.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.wa-widget-header {
    background: #075E54;
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.wa-widget-header-avatar {
    width: 48px; height: 48px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.wa-widget-header-info h4 { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.wa-widget-header-info p { font-size: 12px; opacity: 0.8; }
.wa-widget-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.wa-widget-body {
    padding: 20px;
    background: #ECE5DD;
    min-height: 100px;
}
.wa-widget-bubble {
    background: #fff;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 85%;
    position: relative;
}
.wa-widget-bubble-time { font-size: 10px; color: #999; text-align: left; margin-top: 4px; }
.wa-widget-actions {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
}
.wa-widget-btn {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.wa-widget-btn-primary {
    background: #25D366;
    color: #fff;
}
.wa-widget-btn-primary:hover { background: #1fb855; }
.wa-widget-btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid #e0e0e0;
}
.wa-widget-btn-outline:hover { border-color: var(--primary); background: rgba(26,58,107,0.04); }

@media (max-width: 768px) {
    .wa-widget { width: calc(100% - 48px); left: 24px; right: 24px; }
    .social-proof { right: 12px; left: 12px; max-width: none; bottom: 100px; }
}

/* ===== WORKSHOP FILTER TABS ===== */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    background: var(--bg-light);
    padding: 6px;
    border-radius: 50px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}
.filter-tab {
    padding: 10px 26px;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: transparent;
    color: var(--text-light);
    transition: all 0.4s var(--transition);
}
.filter-tab:hover { color: var(--primary); }
.filter-tab.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(16,71,157,0.2);
}
.workshop-card { transition: all 0.5s var(--transition), opacity 0.3s ease; }
.workshop-card.filter-hidden {
    display: none;
}

/* ===== SKIP TO CONTENT ===== */
.skip-link {
    position: absolute;
    top: -100px;
    right: 0;
    background: var(--accent);
    color: var(--dark);
    padding: 12px 24px;
    font-weight: 700;
    z-index: 1100;
    border-radius: 0 0 12px 12px;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ===== HERO TRUST BADGES (moved from inline) ===== */
.hero-trust { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust-item {
    display: flex; align-items: center; gap: 8px;
    font-size: 14px; color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.06);
    padding: 8px 18px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
}

/* ===== STICKY MOBILE CTA ===== */
@media (max-width: 768px) {
    .float-wa { bottom: 24px; }
    .float-wa-label { bottom: 32px; }
    .back-to-top { bottom: 100px; }
    .social-proof { bottom: 100px; }
    .wa-widget { bottom: 96px; }
}

/* ===== PREFERS REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-canvas { display: none; }
}
