/* Nasscom Workshop Custom Styles */
:root {
    --nw-primary: #059669;
    --nw-primary-dark: #065f46;
    --nw-bg-light: #F9FAFB;
    --nw-bg-dark: #0F172A;
    --nw-text-dark: #0f172a;
    --nw-text-light: #475569;
    --nw-border: #e2e8f0;
    --primary-lp: #009961;
    --bg-light-lp: #f8fcfa;
    --deep-black-lp: #000000;
}

/* Utilities */
.text-primary {
    color: var(--primary-lp) !important;
}

.bg-primary {
    background: var(--primary-lp) !important;
}

.border-primary-light {
    border: 1px solid rgba(0, 153, 97, .2);
}

.heading-bar {
    width: 48px;
    height: 4px;
    background: var(--primary-lp);
    border-radius: 50px;
}

.section-title {
    font-weight: 700;
    letter-spacing: -.5px;
}

.sub-text {
    color: #6b7280;
}

/* Stat Cards */
.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    border: 1px solid rgba(0, 153, 97, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
    transition: .25s ease;
}

.stat-card:hover {
    border-color: rgba(0, 153, 97, .6);
}

/* Learning Cards */
.model-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: .25s ease;
}

.model-card:hover {
    border-color: var(--primary-lp);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 153, 97, .1);
    color: var(--primary-lp);
    transition: .25s ease;
}

.model-card:hover .icon-box {
    background: var(--primary-lp);
    color: #fff;
}

/* Icon Font */
.material-symbols-outlined {
    font-size: 26px;
}


.nw-body {
    /* font-family: 'Inter', sans-serif; */
    color: var(--nw-text-dark);
    font-size: 1rem;
    /* Ensure base size is standard */
    line-height: 1.5;
}

/* Ensure global reset for this scope if theme is aggressive */
.nw-body p {
    margin-bottom: 1rem;
}

/* Sticky Bottom Bar Override */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: white;
    padding: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
    animation: fadeInUp 0.5s ease-out;
}

@media (max-width: 768px) {
    .bottom-bar {
        flex-direction: column;
        gap: 10px;
    }

    .bottom-bar .theme-btn {
        width: 100%;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.nw-animate-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    /* Star hidden until animation runs usually, but simple CSS animation runs on load */
}

/* Stagger delays */
.nw-delay-100 {
    animation-delay: 0.1s;
}

.nw-delay-200 {
    animation-delay: 0.2s;
}

.nw-delay-300 {
    animation-delay: 0.3s;
}

.nw-delay-500 {
    animation-delay: 0.5s;
}

.nw-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.nw-bg-light {
    background-color: #f8fafc;
}

.nw-bg-white {
    background-color: #ffffff;
}

.nw-bg-dark {
    background-color: #0f172a;
    color: white;
}

.nw-text-primary {
    color: var(--nw-primary) !important;
}

.nw-text-muted {
    color: var(--nw-text-light);
}

.nw-badge {
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--nw-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    display: inline-block;
}

.nw-title-large {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .nw-title-large {
        font-size: 2.75rem;
        /* Reduced from 3.5rem */
    }
}

.nw-card-feature {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--nw-border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.nw-card-feature:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.nw-icon-box {
    width: 3rem;
    height: 3rem;
    background-color: rgba(5, 150, 105, 0.1);
    color: var(--nw-primary);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
}

.nw-card-feature:hover .nw-icon-box {
    background-color: var(--nw-primary);
    color: white;
}

.nw-btn-primary {
    background-color: var(--nw-primary);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.2);
}

.nw-btn-primary:hover {
    background-color: var(--nw-primary-dark);
    color: white;
    transform: translateY(-1px);
}

.nw-btn-outline {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: var(--nw-text-dark);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nw-btn-outline:hover {
    background-color: #f8fafc;
}

.nw-accordion details {
    background: white;
    border: 1px solid var(--nw-border);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.nw-accordion summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.125rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nw-accordion summary::-webkit-details-marker {
    display: none;
}

.nw-accordion-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--nw-text-light);
    border-top: 1px solid var(--nw-border);
    margin-top: 1rem;
    padding-top: 1rem;
}

.nw-accordion details[open] .material-symbols-outlined {
    transform: rotate(180deg);
}

/* Custom stats card from Hero */
.nw-stat-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0.75rem;
    border: 1px solid var(--nw-border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nw-table-container {
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--nw-border);
    background: white;
}

.nw-table th {
    background-color: #f1f5f9;
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nw-text-dark);
    border: none;
}

.nw-table td {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f1f5f9;
}

/* Instructor Section */
.nw-instructor-card {
    background: white;
    border-radius: 2.5rem;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid var(--nw-border);
}

.nw-cta-box {
    background-color: var(--nw-primary);
    border-radius: 2.5rem;
    padding: 3rem 1.5rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

@media(min-width: 768px) {
    .nw-cta-box {
        padding: 3rem 1.5rem;
    }
}

.nw-cta-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
}

/* Material Symbols sizing */
.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 24;
    vertical-align: middle;
}

.bg-light.text-secondary {
    font-size: 1rem;
}

.ct-curriculum .accordion-button {
    background-color: white;
    color: #212529;
    padding: 15px 23px;
    font-size: 20px;
    font-weight: 400 !important;
}

.ct-curriculum .accordion-body {
    padding: 15px 26px 15px;
    font-size: 1.15rem;
    color: #555;
    background: #f8f9fa;
}