/* ==============================================================================
   NVQ ASSESSMENTS & LEGAL PAGES STYLES
   Extracted from main.css lines ~10645-11148
   ============================================================================== */

/* ===================================================
   NVQ ASSESSMENTS PAGE STYLES
   =================================================== */

/* NVQ Hero */
.nvq-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--fosseway-navy) 0%, #001a33 100%);
    overflow: hidden;
}

.nvq-hero-overlay {
    display: none;
}

.nvq-hero .container {
    position: relative;
    z-index: 2;
}

.nvq-hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.nvq-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.nvq-hero h1 span {
    color: var(--fosseway-green);
}

.nvq-hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.nvq-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.nvq-hero-actions .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.nvq-hero-actions .btn-primary {
    background: linear-gradient(135deg, var(--fosseway-green), #5aa824);
    border: none;
}

.nvq-hero-actions .btn-primary:hover {
    background: linear-gradient(135deg, #5aa824, #4a9020);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(105, 190, 40, 0.4);
}

.nvq-hero-actions .btn-outline-light {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.nvq-hero-actions .btn-outline-light:hover {
    background: white;
    border-color: white;
    color: var(--fosseway-navy);
}

.nvq-hero-image {
    display: flex;
    justify-content: center;
}

.nvq-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* ==============================================================================
   NVQ LEVEL SECTIONS
   ============================================================================== */

.nvq-level-section {
    padding: 5rem 0;
}

.nvq-level2-new {
    background: #fff;
}

.nvq-level3-new {
    background: #fff;
}

.nvq-level-header {
    text-align: center;
    margin-bottom: 3rem;
}

.nvq-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.nvq-card-badge.blue {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    color: #fff;
}

.nvq-card-badge.gold {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #333;
}

.nvq-card-badge svg {
    width: 18px;
    height: 18px;
}

.nvq-level-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.nvq-level-subtitle {
    font-size: 1.1rem;
    color: var(--dark-grey);
    max-width: 500px;
    margin: 0 auto;
}

/* ==============================================================================
   NVQ QUALIFICATIONS GRID & CARDS
   ============================================================================== */

.nvq-qualifications-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nvq-qual-card {
    background: #fff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nvq-qual-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nvq-qual-card.active {
    border-color: var(--green);
    box-shadow: 0 8px 24px rgba(105, 190, 40, 0.15);
}

/* Qualification Header */
.nvq-qual-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #fafafa;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nvq-qual-header:hover {
    background: #f5f5f5;
}

.nvq-qual-card.active .nvq-qual-header {
    background: var(--navy);
}

.nvq-qual-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
}

.nvq-qual-card.active .nvq-qual-title {
    color: #fff;
}

.nvq-qual-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 50%;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nvq-qual-toggle svg {
    color: var(--navy);
    transition: transform 0.3s ease;
}

.nvq-qual-card.active .nvq-qual-toggle {
    background: var(--green);
    transform: rotate(45deg);
}

.nvq-qual-card.active .nvq-qual-toggle svg {
    color: #fff;
}

/* Qualification Content */
.nvq-qual-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 1.5rem;
}

.nvq-qual-card.active .nvq-qual-content {
    max-height: 500px;
    padding: 1.5rem;
}

.nvq-qual-content p {
    font-size: 0.95rem;
    color: var(--dark-grey);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.nvq-qual-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
}

.nvq-qual-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-grey);
    line-height: 1.4;
}

.nvq-qual-content ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 0.35rem;
}

.nvq-qual-note {
    background: rgba(0, 34, 68, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border-left: 4px solid var(--green);
    font-size: 0.9rem;
    color: var(--dark-grey);
}

.nvq-qual-note strong {
    color: var(--navy);
}

/* ==============================================================================
   NVQ PAGE RESPONSIVE STYLES
   ============================================================================== */

@media (max-width: 1024px) {
    .nvq-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .nvq-hero-content {
        max-width: 100%;
    }

    .nvq-hero-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .nvq-hero {
        min-height: 400px;
    }

    .nvq-hero h1 {
        font-size: 2rem;
    }

    .nvq-hero-subtitle {
        font-size: 1.1rem;
    }

    /* New NVQ Level Section Responsive */
    .nvq-level-header h2 {
        font-size: 2rem;
    }

    .nvq-level-subtitle {
        font-size: 1rem;
    }

    .nvq-qual-content ul {
        grid-template-columns: 1fr;
    }

    .nvq-qual-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .nvq-level-section {
        padding: 3rem 0;
    }

    .nvq-level-header h2 {
        font-size: 1.75rem;
    }

    .nvq-card-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }

    .nvq-qual-header {
        padding: 1rem 1.25rem;
    }

    .nvq-qual-card.active .nvq-qual-content {
        padding: 1.25rem;
    }
}

/* ==============================================================================
   LEGAL PAGES (Privacy Policy, Terms of Service, Cookie Policy)
   ============================================================================== */

.legal-hero {
    background: linear-gradient(135deg, var(--fosseway-navy) 0%, #001a33 100%);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.legal-hero h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.legal-updated {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.legal-content {
    padding: var(--spacing-xl) 0;
    background-color: var(--fosseway-light-grey);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.legal-section {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section h2 {
    color: var(--fosseway-navy);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.legal-section h3 {
    color: var(--fosseway-navy);
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-xs);
}

.legal-section p {
    color: var(--fosseway-dark-grey);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.legal-section ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-section li {
    color: var(--fosseway-dark-grey);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.legal-section a {
    color: var(--fosseway-green);
    text-decoration: underline;
}

.legal-section a:hover {
    color: var(--fosseway-navy);
}

.legal-section .contact-list {
    list-style: none;
    margin-left: 0;
    background: var(--fosseway-light-grey);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
}

.legal-section .contact-list li {
    margin-bottom: 0.75rem;
}

.legal-section .contact-list li:last-child {
    margin-bottom: 0;
}

/* Cookie Table */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.cookie-table th,
.cookie-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--fosseway-dark-grey);
}

.cookie-table thead th {
    background: var(--fosseway-navy);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cookie-table tbody tr:hover {
    background: rgba(105, 190, 40, 0.05);
}

.cookie-table code {
    background: rgba(0, 34, 68, 0.08);
    padding: 0.15em 0.4em;
    border-radius: 3px;
    font-size: 0.85em;
    color: var(--fosseway-navy);
}

@media (max-width: 600px) {

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem 0.6rem;
        font-size: 0.82rem;
    }
}

/* ==============================================================================
   LEGAL PAGES RESPONSIVE STYLES
   ============================================================================== */

@media (max-width: 768px) {
    .legal-hero h1 {
        font-size: 2rem;
    }

    .legal-container {
        padding: var(--spacing-md);
    }

    .legal-section h2 {
        font-size: 1.25rem;
    }
}

/* ==============================================================================
   NPORS CTA STYLES (Shared component)
   ============================================================================== */

.npors-cta {
    padding: var(--spacing-lg) 0;
    background-color: white;
}

.npors-cta-new {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    background-color: white;
}

.npors-cta .container {
    max-width: 900px;
}

.npors-cta-card {
    text-align: center;
    background: var(--fosseway-navy);
    border-radius: 20px;
    padding: 4rem 5rem;
}

.npors-cta-card h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.npors-cta-card>p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.npors-cta-card .cta-actions {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}

.npors-cta-card .btn-cta-primary,
.npors-cta-card .btn-cta-secondary {
    padding: 1.1rem 2.5rem;
    min-width: 200px;
    font-size: 1.05rem;
    width: auto;
}

@media (max-width: 768px) {
    .npors-cta-card {
        padding: 2.5rem 1.5rem;
    }

    .npors-cta-card h2 {
        font-size: 1.5rem;
    }

    .npors-cta-card .cta-actions {
        flex-direction: column;
    }

    .npors-cta-card .btn-cta-primary,
    .npors-cta-card .btn-cta-secondary {
        width: 100%;
        max-width: 280px;
    }
}