/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* London Transport Color Palette */
:root {
    --primary-blue: #003688;
    --primary-red: #dc241f;
    --primary-yellow: #ffcd00;
    --secondary-blue: #0019a8;
    --light-grey: #f8f9fa;
    --medium-grey: #6c757d;
    --dark-grey: #343a40;
    --white: #ffffff;
    --success-green: #28a745;
    --warning-orange: #fd7e14;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--medium-grey);
}

/* Links */
a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

.text-link {
    color: var(--primary-red);
    font-weight: 500;
}

.text-link:hover {
    color: var(--primary-blue);
}

/* Buttons */
.btn-primary, .cta-button, .submit-button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-primary:hover, .cta-button:hover, .submit-button:hover {
    background-color: #b71c1c;
    color: var(--white);
}

.btn-secondary {
    background-color: var(--light-grey);
    color: var(--primary-blue);
    padding: 12px 24px;
    border: 2px solid var(--primary-blue);
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Header Styles */
.header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 1rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-buttons button {
    padding: 8px 16px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 4rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

/* About Preview Section */
.about-preview {
    padding: 4rem 0;
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-split.reverse {
    direction: rtl;
}

.content-split.reverse .text-content {
    direction: ltr;
}

.section-svg {
    width: 100%;
    max-width: 300px;
    height: auto;
}

/* Services Page Styles */
.course-overview {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.learning-modules {
    padding: 4rem 0;
}

.module-section {
    background: var(--white);
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.module-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.module-icon {
    width: 50px;
    height: 50px;
}

.module-header h3 {
    color: var(--white);
    margin: 0;
    flex-grow: 1;
}

.module-level {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.module-content {
    padding: 2rem;
}

.module-topics {
    margin: 1rem 0 1.5rem;
    padding-left: 1.5rem;
}

.module-topics li {
    margin-bottom: 0.5rem;
}

.module-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.duration {
    color: var(--medium-grey);
    font-weight: 500;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

/* Enrollment CTA */
.enrollment-cta {
    background: linear-gradient(135deg, var(--primary-red), #b71c1c);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Testimonials Page */
.success-stats {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.featured-testimonials {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-red);
}

.testimonial-card.featured {
    grid-column: 1 / -1;
    border-left: 4px solid var(--primary-blue);
}

.quote-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
}

.testimonial-content blockquote {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--medium-grey);
    font-size: 0.9rem;
}

.course-testimonials {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.course-testimonial-section {
    margin-bottom: 3rem;
}

.testimonials-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.testimonial-card.compact {
    padding: 1.5rem;
}

.testimonial-card.compact p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.testimonials-cta {
    padding: 4rem 0;
    text-align: center;
}

.cta-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
}

/* Blog Styles */
.featured-article {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.featured-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.article-image, .card-image {
    width: 100%;
    max-width: 200px;
    height: auto;
}

.post-meta {
    color: var(--medium-grey);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.read-more {
    color: var(--primary-red);
    font-weight: 600;
}

.blog-posts {
    padding: 4rem 0;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.post-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card .post-image {
    padding: 2rem;
    text-align: center;
    background-color: var(--light-grey);
}

.post-card .post-content {
    padding: 2rem;
}

.blog-categories {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.newsletter-signup {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    text-align: center;
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

/* Contact Page Styles */
.contact-section {
    padding: 4rem 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.contact-form-container h2 {
    margin-bottom: 1rem;
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-grey);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    margin: 0;
}

.submit-button {
    width: 100%;
    margin-top: 1rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details small {
    color: var(--medium-grey);
    display: block;
    margin-top: 0.5rem;
}

.office-hours {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--light-grey);
    border-radius: 8px;
}

.hours-list {
    margin-top: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.contact-faq {
    padding: 4rem 0;
    background-color: var(--light-grey);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.faq-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.location-map {
    padding: 4rem 0;
}

.map-container {
    margin-top: 2rem;
    position: relative;
    background-color: var(--light-grey);
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-svg {
    width: 300px;
    height: 300px;
    opacity: 0.3;
}

.map-overlay {
    position: absolute;
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 300px;
}

.map-overlay h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Thank You Page */
.thank-you-section {
    padding: 4rem 0;
    text-align: center;
}

.thank-you-content {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
}

.thank-you-message {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--light-grey);
    border-radius: 8px;
}

.next-steps {
    margin: 3rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.while-you-wait {
    margin: 3rem 0;
}

.action-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.action-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.action-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.action-link {
    color: var(--primary-red);
    font-weight: 600;
    text-decoration: none;
}

.contact-reminder {
    margin: 3rem 0;
    padding: 2rem;
    background-color: var(--light-grey);
    border-radius: 8px;
}

.urgent-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.office-hours {
    color: var(--medium-grey);
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

/* Blog Article Styles */
.article-header {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 3rem 0 2rem;
}

.breadcrumb {
    color: var(--white);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: var(--white);
}

.article-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.featured-image {
    width: 150px;
    height: 150px;
    margin-top: 1rem;
}

.article-content {
    padding: 4rem 0;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    margin-bottom: 3rem;
}

.section-image {
    text-align: center;
    margin: 2rem 0;
}

.inline-image {
    width: 80px;
    height: 80px;
}

.content-section h2 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-red);
}

.content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.content-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.article-conclusion {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-grey);
    border-left: 4px solid var(--primary-blue);
    border-radius: 0 8px 8px 0;
}

.article-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.nav-links {
    display: flex;
    justify-content: space-between;
}

.nav-links .nav-link {
    color: var(--primary-red);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 1px solid var(--primary-red);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-links .nav-link:hover {
    background-color: var(--primary-red);
    color: var(--white);
}

.related-articles {
    margin-top: 3rem;
    padding: 2rem;
    background-color: var(--light-grey);
    border-radius: 8px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.related-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

/* Legal Pages Styles */
.legal-content {
    padding: 4rem 0;
}

.legal-document {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
    position: relative;
}

.section-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.legal-icon {
    width: 60px;
    height: 60px;
}

.last-updated {
    background-color: var(--light-grey);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-section h2 {
    color: var(--primary-blue);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-red);
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: var(--primary-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background-color: var(--light-grey);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Cookie Policy Specific */
.cookie-controls {
    background-color: var(--light-grey);
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.cookie-toggle {
    margin-bottom: 1rem;
}

.toggle-switch {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    position: relative;
}

.toggle-switch input {
    width: auto;
    margin: 0;
    position: relative;
    appearance: none;
    width: 50px;
    height: 25px;
    background-color: #ccc;
    border-radius: 25px;
    transition: background-color 0.3s ease;
}

.toggle-switch input:checked {
    background-color: var(--primary-blue);
}

.toggle-switch input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.slider {
    position: absolute;
    left: 2px;
    top: 2px;
    width: 21px;
    height: 21px;
    background-color: var(--white);
    border-radius: 50%;
    transition: transform 0.3s ease;
    pointer-events: none;
}

.toggle-switch input:checked ~ .slider {
    transform: translateX(25px);
}

#saveCookiePreferences {
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #495057;
    color: var(--white);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-list {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .content-split,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-post {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid,
    .posts-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .steps-grid,
    .action-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .nav-list {
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .feature-card,
    .testimonial-card,
    .post-card {
        margin-bottom: 1rem;
    }
    
    .module-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .module-details {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .urgent-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .newsletter-signup,
    .cta-buttons {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    .legal-section {
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #000080;
        --primary-red: #800000;
        --medium-grey: #000000;
        --light-grey: #ffffff;
    }
    
    .feature-card,
    .testimonial-card,
    .post-card {
        border: 2px solid #000000;
    }
}
