/*
* Vessisagna - Public Speaking Courses
* Main Stylesheet
* Version: 1.0
*/

/* ----------------- */
/* Table of Contents */
/* ----------------- */
/*
1. CSS Reset & Base Styles
2. Typography
3. Layout & Containers
4. Header & Navigation
5. Hero Section
6. Content Sections
7. Courses Section
8. Testimonials
9. Blog Section
10. Contact Form
11. Footer
12. Buttons & UI Elements
13. Cookie Banner
14. Modal
15. Article Styles
16. Legal Pages
17. Utilities
*/

/* ====================== */
/* 1. CSS Reset & Base Styles */
/* ====================== */

:root {
    /* Main Color Palette */
    --primary-color: #3a506b;
    --secondary-color: #5bc0be;
    --dark-color: #0b132b;
    --light-color: #f8f9fa;
    --accent-color: #6fffe9;
    
    /* UI Colors */
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    
    /* Text Colors */
    --text-dark: #212529;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    
    /* Other Variables */
    --border-radius: 4px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* Sets base font size to 10px for easier rem calculations */
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul, ol {
    list-style-position: inside;
}

/* ====================== */
/* 2. Typography */
/* ====================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

h1 {
    font-size: 4rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

.subtitle {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

blockquote {
    border-left: 4px solid var(--secondary-color);
    padding: 1.5rem 2rem;
    background-color: rgba(91, 192, 190, 0.1);
    margin: 2rem 0;
    font-style: italic;
}

blockquote cite {
    display: block;
    font-style: normal;
    font-weight: bold;
    margin-top: 1rem;
}

/* ====================== */
/* 3. Layout & Containers */
/* ====================== */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.3rem;
    background-color: var(--secondary-color);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.8rem;
}

.section-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 2rem;
    display: block;
}

/* ====================== */
/* 4. Header & Navigation */
/* ====================== */

header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--dark-color);
    font-weight: 700;
}

.logo img {
    height: 4rem;
    margin-right: 1rem;
}

.logo span {
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 2.5rem;
}

nav ul li a {
    font-size: 1.6rem;
    color: var(--dark-color);
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 3rem;
    height: 2.1rem;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    border-radius: 10px;
    transition: var(--transition);
}

/* ====================== */
/* 5. Hero Section */
/* ====================== */

.hero {
    background-color: var(--light-color);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    max-width: 60rem;
}

.hero-content h1 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-left: 2rem;
}

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

/* ====================== */
/* 6. Content Sections */
/* ====================== */

.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-features {
    list-style: none;
    margin: 2.5rem 0;
}

.about-features li {
    padding-left: 3rem;
    position: relative;
    margin-bottom: 1.5rem;
}

.about-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 1.8rem;
    height: 1.8rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 1.2rem;
    background-position: center;
    background-repeat: no-repeat;
}

.counter-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    flex: 1;
    min-width: 300px;
}

.counter-box {
    background-color: var(--light-color);
    padding: 3rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.counter-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.counter-box h3 {
    font-size: 3.6rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.counter-box p {
    font-size: 1.6rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Services Section */

.services {
    background-color: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 7rem;
    height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(91, 192, 190, 0.1);
    border-radius: 50%;
    margin-bottom: 2rem;
}

.service-icon svg {
    color: var(--secondary-color);
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ====================== */
/* 7. Courses Section */
/* ====================== */

.courses {
    background-color: #fff;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem;
}

.course-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.course-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.course-header {
    background-color: var(--primary-color);
    padding: 2rem;
    position: relative;
}

.course-header h3 {
    color: #fff;
    margin-bottom: 0;
    padding-right: 8rem;
}

.course-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background-color: var(--secondary-color);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

.course-details {
    padding: 2rem;
}

.course-features {
    list-style: none;
    margin: 1.5rem 0;
}

.course-features li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1rem;
}

.course-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 1.6rem;
    height: 1.6rem;
    background-color: var(--secondary-color);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 1rem;
    background-position: center;
    background-repeat: no-repeat;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    font-size: 1.4rem;
    color: var(--text-muted);
}

/* ====================== */
/* 8. Testimonials */
/* ====================== */

.testimonials {
    background-color: #f8f9fa;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    animation: fadeEffect 1s;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeEffect {
    from {opacity: 0.5;}
    to {opacity: 1;}
}

.testimonial-content {
    background-color: #fff;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.quote-icon {
    width: 6rem;
    height: 6rem;
    margin: 0 auto 2rem;
    color: var(--secondary-color);
    opacity: 0.2;
}

.testimonial-content p {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 3rem;
}

.testimonial-author h4 {
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.testimonial-author p {
    color: var(--text-muted);
    font-size: 1.6rem;
    margin-bottom: 0;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3rem;
}

.prev-testimonial,
.next-testimonial {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    color: var(--secondary-color);
}

.testimonial-indicators {
    display: flex;
    margin: 0 2rem;
}

.indicator {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: #e9ecef;
    margin: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--secondary-color);
}

/* ====================== */
/* 9. Blog Section */
/* ====================== */

.blog-preview {
    background-color: #fff;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.blog-card {
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.blog-image {
    overflow: hidden;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.blog-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.read-more {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
}

.read-more::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.read-more:hover::after {
    transform: translateX(5px);
}

.blog-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Blog Page Styles */

.blog-hero {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.blog-hero-content h1 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.blog-hero-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 4rem;
    margin: 5rem 0;
}

.article-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 2.5rem;
}

.article-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--text-muted);
}

.article-date, .article-category {
    display: flex;
    align-items: center;
}

.article-card .read-more {
    margin-top: 1.5rem;
    display: inline-block;
}

.subscribe-banner {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6rem 0;
}

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

.subscribe-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.subscribe-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 1.5rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1.6rem;
}

.subscribe-form button {
    padding: 0 2.5rem;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--secondary-color);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background-color: #4da5a3;
}

/* ====================== */
/* 10. Contact Form */
/* ====================== */

.contact {
    background-color: #f8f9fa;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h3::after, .contact-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 3px;
    background-color: var(--secondary-color);
}

.info-item {
    display: flex;
    margin-bottom: 2.5rem;
}

.info-item svg {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    margin-right: 1.5rem;
    color: var(--secondary-color);
}

.info-item p {
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    margin-top: 3rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    margin-right: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(91, 192, 190, 0.2);
}

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

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 1rem;
    margin-top: 0.3rem;
}

.checkbox-group label {
    flex: 1;
    font-weight: normal;
}

/* ====================== */
/* 11. Footer */
/* ====================== */

footer {
    background-color: var(--dark-color);
    color: #fff;
    padding-top: 6rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    flex: 1.5;
    min-width: 250px;
}

.footer-logo img {
    height: 4.5rem;
    margin-bottom: 2rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    flex: 2.5;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

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

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover,
.footer-column ul li a.active {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 1.4rem;
}

/* ====================== */
/* 12. Buttons & UI Elements */
/* ====================== */

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-size: 1.6rem;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: #4da5a3;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ====================== */
/* 13. Cookie Banner */
/* ====================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 2rem 0;
    display: none;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cookie-content h3 {
    margin-bottom: 1rem;
}

.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

/* ====================== */
/* 14. Modal */
/* ====================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    border-radius: var(--border-radius);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalOpen 0.3s ease-out;
}

@keyframes modalOpen {
    from {opacity: 0; transform: scale(0.8);}
    to {opacity: 1; transform: scale(1);}
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h3 {
    margin-bottom: 0;
}

.close {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 2rem;
}

.cookie-setting {
    margin-bottom: 2.5rem;
}

.setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.setting-header h4 {
    margin-bottom: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 5rem;
    height: 2.6rem;
}

.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: var(--transition);
}

.slider:before {
    position: absolute;
    content: "";
    height: 1.8rem;
    width: 1.8rem;
    left: 0.4rem;
    bottom: 0.4rem;
    background-color: white;
    transition: var(--transition);
}

input:checked + .slider {
    background-color: var(--secondary-color);
}

input:checked + .slider:before {
    transform: translateX(2.4rem);
}

.slider.round {
    border-radius: 3.4rem;
}

.slider.round:before {
    border-radius: 50%;
}

.modal-footer {
    padding: 1.5rem 2rem;
    text-align: right;
    border-top: 1px solid #e9ecef;
}

/* ====================== */
/* 15. Article Styles */
/* ====================== */

.article-full {
    padding: 6rem 0;
}

.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-muted);
}

.article-featured-image {
    margin-bottom: 4rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-author {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.article-author svg {
    margin-right: 1.5rem;
    color: var(--primary-color);
}

.author-name {
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.author-role {
    margin-bottom: 0;
    color: var(--text-muted);
}

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

.article-intro {
    font-size: 2rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2.5rem;
}

.article-body h2 {
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.article-body h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin-bottom: 2.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 1rem;
}

.article-body strong {
    color: var(--dark-color);
}

.article-cta {
    margin: 4rem 0;
    padding: 2.5rem;
    background-color: rgba(91, 192, 190, 0.1);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.article-cta p {
    margin-bottom: 0;
    font-weight: 500;
}

.article-tags {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.article-tags span {
    font-weight: 700;
}

.article-tags a {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #f0f0f0;
    border-radius: var(--border-radius);
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.article-tags a:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.article-share {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.article-share span {
    font-weight: 700;
}

.article-share a {
    color: var(--text-muted);
    transition: var(--transition);
}

.article-share a:hover {
    color: var(--secondary-color);
}

.related-articles {
    background-color: #f8f9fa;
    padding: 6rem 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 4rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 3rem;
}

.related-article-card {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.related-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.related-article-image {
    height: 160px;
    overflow: hidden;
}

.related-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-article-card:hover .related-article-image img {
    transform: scale(1.05);
}

.related-article-card h3 {
    padding: 1.5rem;
    font-size: 1.8rem;
    margin-bottom: 0;
}

.cta-banner {
    background-color: var(--primary-color);
    color: #fff;
    padding: 6rem 0;
}

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

.cta-content h2 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
}

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

/* ====================== */
/* 16. Legal Pages */
/* ====================== */

.legal-page {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.legal-content {
    background-color: #fff;
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 1rem;
}

.legal-updated {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-section {
    margin-bottom: 4rem;
}

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

.legal-section h2 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 1rem;
}

.legal-section h3 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.legal-section ul, .legal-section ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

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

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookie-table th, .cookie-table td {
    border: 1px solid #e9ecef;
    padding: 1.2rem;
    text-align: left;
}

.cookie-table th {
    background-color: #f8f9fa;
    font-weight: 700;
}

.cookie-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.cookie-settings-controls {
    margin-top: 2rem;
    text-align: center;
}

/* ====================== */
/* 17. Thank You Page */
/* ====================== */

.thank-you-section {
    padding: 8rem 0;
    background-color: #f8f9fa;
}

.thank-you-content {
    background-color: #fff;
    padding: 5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.thank-you-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 3rem;
    color: var(--success-color);
}

.thank-you-content h1 {
    margin-bottom: 1rem;
}

.what-next {
    text-align: left;
    margin: 4rem 0;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: var(--border-radius);
}

.what-next h3 {
    margin-bottom: 1.5rem;
}

.what-next ol {
    padding-left: 2rem;
}

.what-next li {
    margin-bottom: 1rem;
}

.thank-you-cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* ====================== */
/* 18. Utilities */
/* ====================== */

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

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }
.mt-5 { margin-top: 5rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }
.mb-5 { margin-bottom: 5rem; }

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