/* 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;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
}

h2 {
    font-size: 2rem;
    color: #1a1a1a;
}

h3 {
    font-size: 1.5rem;
    color: #333;
}

h4 {
    font-size: 1.25rem;
    color: #333;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: #c8102e;
    color: white;
}

.btn-primary:hover {
    background-color: #a00d26;
}

.btn-secondary {
    background-color: #333;
    color: white;
}

.btn-secondary:hover {
    background-color: #555;
}

.btn-outline {
    background-color: transparent;
    color: #c8102e;
    border: 2px solid #c8102e;
}

.btn-outline:hover {
    background-color: #c8102e;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 20px;
    z-index: 1000;
    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: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-buttons .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

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

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #c8102e;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    padding: 10px 0;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #c8102e;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #c8102e;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

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

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    text-align: center;
}

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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px 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 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: #c8102e;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-svg {
    width: 100%;
    max-width: 400px;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background-color: #fff;
}

.services-preview h2 {
    text-align: center;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    padding: 30px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: box-shadow 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #c8102e;
    margin-bottom: 15px;
}

.services-cta {
    text-align: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.page-header-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

/* Legal Header */
.legal-header {
    background: linear-gradient(135deg, #333 0%, #555 100%);
}

.last-updated {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Company Story */
.company-story {
    padding: 80px 0;
    background-color: #fff;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-svg {
    width: 100%;
    max-width: 400px;
}

/* Mission */
.mission {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.mission h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.mission-card {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.mission-card h3 {
    color: #c8102e;
    margin-bottom: 15px;
}

/* Team */
.team {
    padding: 80px 0;
    background-color: #fff;
}

.team h2 {
    text-align: center;
    margin-bottom: 50px;
}

.team-content {
    text-align: center;
}

.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: #c8102e;
    margin-bottom: 10px;
}

.stat p {
    font-size: 1.1rem;
    color: #666;
}

/* Values */
.values {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.values h2 {
    text-align: center;
    margin-bottom: 50px;
}

.values-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.values-list {
    list-style: none;
}

.values-list li {
    margin-bottom: 20px;
    padding-left: 30px;
    position: relative;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #c8102e;
    font-weight: bold;
    font-size: 1.2rem;
}

.values-svg {
    width: 100%;
    max-width: 400px;
}

/* Main Services */
.main-services {
    padding: 80px 0;
    background-color: #fff;
}

.service-detail {
    margin-bottom: 60px;
    padding: 40px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
}

.service-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 30px;
}

.service-detail h2 {
    color: #c8102e;
    margin-bottom: 20px;
}

.service-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin-bottom: 30px;
}

.service-features li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
}

.service-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #c8102e;
    font-size: 1.5rem;
}

.service-info {
    display: flex;
    gap: 30px;
    font-weight: 500;
}

.duration, .level {
    color: #666;
}

/* Learning Modules */
.learning-modules {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.learning-modules h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.module-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.module-card h3 {
    color: #c8102e;
    margin-bottom: 15px;
}

.module-card ul {
    list-style: none;
    margin-top: 15px;
}

.module-card li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.module-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #c8102e;
}

/* Course Features */
.course-features {
    padding: 80px 0;
    background-color: #fff;
}

.course-features h2 {
    text-align: center;
    margin-bottom: 50px;
}

.features-list {
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.feature-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.feature-content h3 {
    color: #c8102e;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-stats {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.stat-card {
    text-align: center;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: #c8102e;
    margin-bottom: 10px;
}

.main-testimonials {
    padding: 80px 0;
    background-color: #fff;
}

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

.testimonial-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-card.featured {
    background-color: #c8102e;
    color: white;
}

.testimonial-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
}

.testimonial-author h4 {
    margin-bottom: 5px;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

.testimonial-card.featured .testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-rating {
    margin-top: 15px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Success Stories */
.success-stories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.success-stories h2 {
    text-align: center;
    margin-bottom: 50px;
}

.story-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.story-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.story-text h3 {
    color: #c8102e;
    margin-bottom: 10px;
}

/* Video Testimonials */
.video-testimonials {
    padding: 80px 0;
    background-color: #fff;
}

.video-testimonials h2 {
    text-align: center;
    margin-bottom: 50px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.video-placeholder {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: #c8102e;
    margin-bottom: 10px;
}

/* Blog */
.newsletter-signup {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.blog-articles {
    padding: 80px 0;
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.article-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.article-card.featured {
    grid-column: span 2;
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 30px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.article-category {
    background-color: #c8102e;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.article-card h2 {
    margin-bottom: 15px;
}

.article-card h2 a {
    color: #333;
    transition: color 0.3s ease;
}

.article-card h2 a:hover {
    color: #c8102e;
}

.article-excerpt {
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-time {
    font-size: 0.9rem;
    color: #666;
}

.read-more {
    color: #c8102e;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

/* Blog Categories */
.blog-categories {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.blog-categories h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.category-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.category-card h3 {
    color: #c8102e;
    margin-bottom: 15px;
}

/* Blog Archive */
.blog-archive {
    padding: 80px 0;
    background-color: #fff;
}

.blog-archive h2 {
    text-align: center;
    margin-bottom: 50px;
}

.archive-content {
    max-width: 600px;
    margin: 0 auto;
}

.archive-list h4 {
    color: #c8102e;
    margin-bottom: 15px;
    margin-top: 30px;
}

.archive-list ul {
    list-style: none;
    margin-bottom: 20px;
}

.archive-list li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.archive-list a {
    color: #333;
    transition: color 0.3s ease;
}

.archive-list a:hover {
    color: #c8102e;
}

/* Contact */
.contact-info {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.contact-item {
    text-align: center;
    background-color: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.contact-item h3 {
    color: #c8102e;
    margin-bottom: 15px;
}

/* Contact Form */
.contact-form-section {
    padding: 80px 0;
    background-color: #fff;
}

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

.form-intro {
    text-align: center;
    margin-bottom: 50px;
}

.form-icon {
    width: 100px;
    height: 100px;
    margin: 20px auto;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    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: #c8102e;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #c8102e;
    border-color: #c8102e;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: white;
    font-size: 12px;
}

/* Quick Contact */
.quick-contact {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.quick-contact h2 {
    text-align: center;
    margin-bottom: 50px;
}

.quick-contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.quick-option {
    text-align: center;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.quick-option h3 {
    color: #c8102e;
    margin-bottom: 15px;
}

/* FAQ */
.faq-section {
    padding: 80px 0;
    background-color: #fff;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 30px;
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.faq-item h4 {
    color: #c8102e;
    margin-bottom: 15px;
}

/* Thank You Page */
.thank-you-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    text-align: center;
}

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

.thank-you-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.thank-you-message {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 50px;
}

.next-steps {
    margin-bottom: 60px;
}

.next-steps h2 {
    margin-bottom: 40px;
}

.steps-list {
    display: grid;
    gap: 30px;
    text-align: left;
}

.step-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.step-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.step-content h3 {
    color: #c8102e;
    margin-bottom: 10px;
}

.contact-reminder {
    margin-bottom: 60px;
}

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

.reminder-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.reminder-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.reminder-text h3 {
    color: #c8102e;
    margin-bottom: 10px;
}

.urgent-contact {
    margin-bottom: 60px;
}

.urgent-options {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.additional-resources {
    padding: 80px 0;
    background-color: #fff;
}

.additional-resources h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.resource-card {
    text-align: center;
    padding: 40px 30px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.resource-card h3 {
    color: #c8102e;
    margin-bottom: 15px;
}

.resource-link {
    color: #c8102e;
    font-weight: 500;
    text-decoration: none;
}

.resource-link:hover {
    text-decoration: underline;
}

/* Legal Content */
.legal-content {
    padding: 80px 0;
    background-color: #fff;
}

.legal-text {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.legal-text h2 {
    color: #c8102e;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-text h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-text ul,
.legal-text ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.legal-text li {
    margin-bottom: 8px;
}

.company-info,
.contact-info {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Cookie Preferences */
.cookie-preferences {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.preferences-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cookie-settings {
    margin: 40px 0;
}

.cookie-category {
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    margin-bottom: 20px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.category-header h3 {
    margin: 0;
    color: #333;
}

.status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.required {
    background-color: #28a745;
    color: white;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #c8102e;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.preferences-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

/* Article Pages */
.article-header {
    background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
    color: white;
    padding: 80px 0;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb span {
    color: white;
}

.article-header h1 {
    color: white;
    margin-bottom: 20px;
}

.article-hero-image {
    width: 150px;
    height: 150px;
    margin: 30px auto 0;
}

.article-content {
    padding: 80px 0;
    background-color: #fff;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.article-body h2 {
    color: #c8102e;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-body h3 {
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-body ul,
.article-body ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 8px;
}

.article-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 30px auto;
    display: block;
    border-radius: 10px;
}

.article-navigation {
    max-width: 800px;
    margin: 60px auto 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.nav-previous,
.nav-next {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.nav-previous:hover,
.nav-next:hover {
    background-color: #e9ecef;
}

.nav-label {
    font-size: 0.9rem;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.nav-title {
    font-weight: 500;
    color: #333;
}

.article-share {
    max-width: 800px;
    margin: 60px auto 0;
    text-align: center;
}

.article-share h3 {
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.share-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-size: 0.9rem;
    transition: opacity 0.3s ease;
}

.share-btn:hover {
    opacity: 0.8;
}

.share-btn.facebook {
    background-color: #1877f2;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.linkedin {
    background-color: #0a66c2;
}

.share-btn.email {
    background-color: #666;
}

/* Related Articles */
.related-articles {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 50px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.related-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.related-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-card h3 {
    padding: 20px;
    margin: 0;
}

.related-card h3 a {
    color: #333;
    transition: color 0.3s ease;
}

.related-card h3 a:hover {
    color: #c8102e;
}

.related-card p {
    padding: 0 20px 20px;
    margin: 0;
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #c8102e 0%, #a00d26 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-content .btn-primary {
    background-color: white;
    color: #c8102e;
}

.cta-content .btn-primary:hover {
    background-color: #f8f9fa;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    color: #c8102e;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: white;
    margin-bottom: 15px;
}

.footer-contact p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    text-align: center;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 99;
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

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

    .about-content,
    .story-content,
    .values-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .article-card.featured {
        grid-column: span 1;
    }

    .cookie-content {
        flex-direction: column;
        gap: 20px;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .article-navigation {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .share-buttons {
        flex-wrap: wrap;
    }

    .urgent-options {
        flex-direction: column;
        align-items: center;
    }

    .preferences-actions {
        flex-direction: column;
        align-items: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }

    .feature-item,
    .story-item,
    .step-item,
    .reminder-item {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .quick-contact-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
    }

    .features-grid,
    .services-grid,
    .modules-grid,
    .testimonials-grid,
    .categories-grid,
    .contact-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .article-card {
        margin-bottom: 20px;
    }

    .form-content {
        padding: 0 10px;
    }

    .stat h3 {
        font-size: 2rem;
    }

    .page-header-icon,
    .thank-you-icon {
        width: 80px;
        height: 80px;
    }

    .article-hero-image {
        width: 100px;
        height: 100px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cta-section,
    .footer,
    .share-buttons,
    .article-navigation {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .article-content {
        padding: 20px 0;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    .article-image {
        max-width: 300px;
    }
}

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

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-outline {
        border-width: 3px;
    }
    
    .nav-link.active::after {
        height: 3px;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #c8102e;
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #c8102e;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}
