/* SQL Workshop Page — IntQues Theme */

/* =========================================
   HERO
========================================= */
.workshop-hero {
    background:
        radial-gradient(circle at 80% 15%, rgba(255,106,0,0.10), transparent 50%),
        linear-gradient(180deg, #fffbf7 0%, #ffffff 100%);
    padding: clamp(48px, 8vw, 100px) 0 clamp(32px, 6vw, 72px);
    overflow: hidden;
    position: relative;
}

.workshop-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) both;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,106,0,0.10);
    color: #ff6a00;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f6f8fb;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

.feature-item i {
    color: #ff6a00;
    font-size: 13px;
}

.cta-btn.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 28px;
    background: linear-gradient(135deg, #ff6a00, #ff7a1a);
    color: #ffffff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(255,106,0,0.22);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.cta-btn.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(255,106,0,0.28);
}

/* Code Mockup */
.hero-image {
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) 120ms both;
}

.code-mockup {
    background: #1e293b;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 56px rgba(15,23,42,0.18);
    border: 1px solid rgba(148,163,184,0.12);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.code-mockup:hover {
    transform: translateY(-6px);
    box-shadow: 0 32px 64px rgba(255,106,0,0.15);
}

.mockup-header {
    background: #0f172a;
    padding: 12px 16px;
    font-size: 12px;
    color: #94a3b8;
    border-bottom: 1px solid #334155;
    font-family: 'Courier New', monospace;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-header::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-header::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    flex-shrink: 0;
}

.mockup-code {
    padding: 24px 20px;
    font-family: 'Courier New', monospace;
    color: #e2e8f0;
    font-size: 14px;
    line-height: 2;
}

.keyword {
    color: #f472b6;
    font-weight: bold;
}

/* =========================================
   SHARED SECTION HEADING PATTERN
========================================= */
.section-heading {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-block;
    background: rgba(255,106,0,0.10);
    color: #ff6a00;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.section-heading h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 1rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto 14px;
    line-height: 1.65;
}

/* wave divider inside section-heading */
.section-heading .section-divider-wave {
    margin: 14px auto 0;
}

/* =========================================
   WHAT YOU'LL LEARN
========================================= */
.workshop-content {
    padding: clamp(40px, 6vw, 80px) 0;
    background: #ffffff;
}

.content-grid {
    display: grid;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.content-grid.three-col {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.content-card {
    padding: 28px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.08);
    box-shadow: 0 4px 16px rgba(15,23,42,0.05);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) both;
}

.content-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(15,23,42,0.10);
    border-color: rgba(255,106,0,0.25);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,106,0,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.card-icon i {
    font-size: 20px;
    color: #ff6a00;
}

.content-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.content-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 14px;
}

.topics-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.topics-list li {
    padding: 7px 0 7px 22px;
    position: relative;
    color: #64748b;
    font-size: 0.9rem;
    border-top: 1px solid rgba(15,23,42,0.05);
}

.topics-list li:first-child {
    border-top: none;
}

.topics-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
    font-size: 12px;
}

/* =========================================
   WORKSHOP FORMAT
========================================= */
.workshop-format {
    padding: clamp(40px, 6vw, 80px) 0;
    background: #f9fafc;
}

.format-grid {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.format-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.format-item {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.08);
    border-left: 4px solid #ff6a00;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
    transition: transform 220ms ease, box-shadow 220ms ease;
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) both;
}

.format-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15,23,42,0.08);
}

.format-step {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.format-step-num {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6a00, #ff8c3a);
    color: #ffffff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    flex-shrink: 0;
}

.format-time {
    font-size: 12px;
    font-weight: 700;
    color: #ff6a00;
    background: rgba(255,106,0,0.08);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.3px;
}

.format-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.format-item p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* =========================================
   WHO SHOULD ATTEND
========================================= */
.workshop-audience {
    padding: clamp(40px, 6vw, 80px) 0;
    background: #ffffff;
}

.audience-grid {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.audience-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

.audience-card {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 26px 24px;
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) both;
}

.audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(15,23,42,0.10);
    border-color: rgba(255,106,0,0.28);
}

.audience-icon-box {
    width: 44px;
    height: 44px;
    background: rgba(255,106,0,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.audience-icon-box i {
    font-size: 18px;
    color: #ff6a00;
}

.audience-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.audience-text p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   REQUIREMENTS
========================================= */
.workshop-requirements {
    padding: clamp(40px, 6vw, 80px) 0;
    background: #f9fafc;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.requirement-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px 24px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 2px 10px rgba(15,23,42,0.04);
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) both;
}

.requirement-item i {
    width: 32px;
    height: 32px;
    background: rgba(16,185,129,0.10);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #10b981;
    flex-shrink: 0;
}

.requirement-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.requirement-item p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

/* =========================================
   CTA SECTION
========================================= */
.workshop-cta {
    padding: clamp(48px, 7vw, 80px) 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(255,106,0,0.08), transparent 45%),
        linear-gradient(135deg, #ff6a00 0%, #ff8c3a 100%);
    text-align: center;
}

.cta-content {
    max-width: 640px;
    margin: 0 auto;
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) both;
}

.cta-badge {
    display: inline-block;
    background: rgba(255,255,255,0.20);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.workshop-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
    text-align: center;
}

.cta-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: #ff6a00;
    box-shadow: 0 10px 28px rgba(15,23,42,0.18);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(15,23,42,0.22);
    background: #f8f8f8;
}

.cta-buttons .btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.40);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
}

.cta-note {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.78);
    margin: 0;
}

.cta-note strong {
    color: #ffffff;
}

/* =========================================
   FAQ
========================================= */
.workshop-faq {
    padding: clamp(40px, 6vw, 80px) 0;
    background: #ffffff;
}

.faq-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.faq-header h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    text-align: center;
}

.faq-header p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.65;
    margin: 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    padding: 24px 28px;
    background: #f9fafc;
    border-radius: 16px;
    border: 1px solid rgba(15,23,42,0.07);
    transition: transform 220ms ease, box-shadow 220ms ease;
    animation: fadeUp 520ms cubic-bezier(0.2,0.9,0.2,1) both;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(15,23,42,0.08);
}

.faq-item h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.faq-item p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 991px) {
    .workshop-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-image {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: min(100%, 280px);
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .format-grid.two-col,
    .audience-grid.two-col {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .content-grid.three-col {
        grid-template-columns: 1fr;
    }

    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .format-step-num {
        width: 30px;
        height: 30px;
        font-size: 11px;
        border-radius: 8px;
    }
}