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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #2c3e50;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: #3498db;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

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

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

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

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

.btn-secondary:hover {
    background-color: #2980b9;
    color: white;
}

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 20px;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.cookie-content p,
.footer p,
#suscripcion p,
#suscripcion h2,
.cta-content p{
    color: #fff !important;
}

.cta-content .btn-outline{
    color: #fff;
    border: 1px solid #fff;
}
.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

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

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-option {
    margin-bottom: 20px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cookie-option p {
    margin-left: 30px;
    font-size: 0.9rem;
    color: #666;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

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

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

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

.brand-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

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

.nav-menu a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a.active,
.nav-menu a:hover {
    color: #e74c3c;
}

.nav-menu a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e74c3c;
    transition: width 0.3s ease;
}

.nav-menu a:hover:after,
.nav-menu a.active:after {
    width: 100%;
}

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

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

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

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

.hero-image {
    flex: 1;
}

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

/* Section Styling */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background-color: #f8f9fa;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-features {
    list-style: none;
    margin-top: 2rem;
}

.about-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.about-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.about-image {
    flex: 1;
}

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

/* Services Section */
.services-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.service-card ul {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
}

.service-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

/* Advantages Section */
.advantages {
    background-color: #f8f9fa;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    flex: 1;
    min-width: 300px;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    flex: 1;
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1.5rem;
}

.testimonial-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.testimonial-content {
    flex: 1;
}

.testimonial-author {
    margin-top: 1rem;
}

.testimonial-author h4 {
    color: #2c3e50;
    margin-bottom: 0.2rem;
}

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

/* Blog Section */
.blog {
    background-color: #f8f9fa;
}

.blog-grid {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

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

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 a {
    color: #2c3e50;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #e74c3c;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.read-more {
    color: #e74c3c;
    font-weight: 600;
}

/* Subscription Section */
.subscription {
    background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
    color: white;
}

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

.subscription-form {
    flex: 2;
}

.newsletter-form {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
}

.form {
    margin-top: 2rem;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

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

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

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

.newsletter-form-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Contact Section */
.contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    flex: 1;
}

.contact-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    color: #3498db;
    font-weight: 600;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section {
    flex: 1;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 30px;
    height: 30px;
}

.footer-brand-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e74c3c;
}

.footer-section h4 {
    color: #e74c3c;
    margin-bottom: 1rem;
}

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

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

.footer-section ul a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

.footer-section ul a:hover,
.footer-section ul a.active {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    text-align: center;
}

/* Courses Section */
.courses-section {
    padding: 80px 0;
}

.courses-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 4rem;
}

.course-card {
    flex: 1;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-card.featured {
    border: 3px solid #e74c3c;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.course-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.course-content {
    padding: 2rem;
}

.course-level {
    background-color: #3498db;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.course-details,
.course-topics {
    margin: 1.5rem 0;
}

.course-details h4,
.course-topics h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.course-details ul,
.course-topics ul {
    list-style: none;
    margin-left: 0;
}

.course-details li,
.course-topics li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.course-details li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

.course-topics li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin: 1.5rem 0;
    font-size: 0.9rem;
    color: #666;
}

.course-options {
    margin: 4rem 0;
}

.options-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.option-card {
    flex: 1;
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.option-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.option-card ul {
    list-style: none;
    margin-top: 1rem;
}

.option-card li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.option-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #e74c3c;
}

.why-choose-us {
    margin: 4rem 0;
}

.benefits-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.benefit-item {
    flex: 1;
    min-width: 250px;
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

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

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

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

/* Thanks Page */
.thanks-section {
    padding: 120px 0 80px;
    text-align: center;
}

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

.thanks-icon {
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #666;
}

.next-steps {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: left;
}

.next-steps ul {
    list-style: none;
    margin-top: 1rem;
}

.next-steps li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.contact-reminder {
    background-color: #e8f4f8;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

/* Legal Pages */
.legal-content {
    padding: 120px 0 80px;
}

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

.last-updated {
    color: #666;
    font-style: italic;
}

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

.legal-text section {
    margin-bottom: 3rem;
    padding: 0;
}

.legal-text h2 {
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-text h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-text ul, .legal-text ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

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

.cookie-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
}

.cookie-table tr:hover {
    background-color: #f8f9fa;
}

/* Article Pages */
.article-header {
    padding: 120px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.breadcrumb {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.breadcrumb a {
    color: #3498db;
}

.article-meta {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

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

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

.article-image {
    text-align: center;
    margin-bottom: 3rem;
}

.article-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
}

.article-text {
    line-height: 1.8;
}

.article-text .lead {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
    font-weight: 500;
}

.article-text h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 0.5rem;
}

.article-text h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #34495e;
}

.article-text ul, .article-text ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-text li {
    margin-bottom: 0.5rem;
}

/* Article Boxes */
.example-box,
.comparison-box,
.tip-box,
.warning-box,
.audio-box,
.practice-box,
.phonetic-box,
.success-box,
.myth-box,
.cta-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid;
}

.example-box {
    background-color: #e8f4f8;
    border-left-color: #3498db;
}

.comparison-box {
    background-color: #f0f8f0;
    border-left-color: #27ae60;
}

.tip-box {
    background-color: #fff9e6;
    border-left-color: #f39c12;
}

.warning-box {
    background-color: #ffeaa7;
    border-left-color: #fdcb6e;
}

.audio-box {
    background-color: #f8e8f8;
    border-left-color: #9b59b6;
}

.practice-box {
    background-color: #e8f8e8;
    border-left-color: #2ecc71;
}

.phonetic-box {
    background-color: #e6f3ff;
    border-left-color: #74b9ff;
}

.success-box {
    background-color: #d4edda;
    border-left-color: #28a745;
}

.myth-box {
    background-color: #f8d7da;
    border-left-color: #dc3545;
}

.cta-box {
    background-color: #e7f3ff;
    border-left-color: #007bff;
    text-align: center;
}

.pronunciation-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.pronunciation-table th,
.pronunciation-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.pronunciation-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.pronunciation-table tr:hover {
    background-color: #f8f9fa;
}

/* Related Articles */
.related-articles {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 2px solid #eee;
}

.related-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.related-card {
    flex: 1;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 1rem;
}

.related-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.related-content {
    padding: 1rem;
    flex: 1;
}

.related-content h4 {
    margin-bottom: 0.5rem;
}

.related-content h4 a {
    color: #2c3e50;
    text-decoration: none;
}

.related-content h4 a:hover {
    color: #e74c3c;
}

/* Social Share */
.social-share {
    margin-top: 3rem;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

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

.share-btn {
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

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

.share-btn.facebook {
    background-color: #3b5998;
}

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

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.whatsapp {
    background-color: #25d366;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

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

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

    .about-content {
        flex-direction: column;
        gap: 2rem;
    }

    .services-grid {
        flex-direction: column;
    }

    .advantages-grid {
        flex-direction: column;
    }

    .advantage-item {
        min-width: auto;
    }

    .testimonials-grid {
        flex-direction: column;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }

    .blog-grid {
        flex-direction: column;
    }

    .subscription-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .courses-grid {
        flex-direction: column;
    }

    .options-grid {
        flex-direction: column;
    }

    .benefits-grid {
        flex-direction: column;
    }

    .benefit-item {
        min-width: auto;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .related-grid {
        flex-direction: column;
    }

    .related-card {
        flex-direction: column;
    }

    .related-card img {
        width: 100%;
        height: 150px;
    }

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

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

    .modal-content {
        width: 95%;
        padding: 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .cookie-table {
        font-size: 0.9rem;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 0.5rem;
    }
}

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

    .section-header h2 {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .course-content {
        padding: 1.5rem;
    }

    .course-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .article-text h2 {
        font-size: 1.5rem;
    }

    .pronunciation-table {
        font-size: 0.8rem;
    }

    .pronunciation-table th,
    .pronunciation-table td {
        padding: 0.5rem 0.3rem;
    }
}

/* Hidden class utility */
.hidden {
    display: none !important;
}

/* Smooth animations */
* {
    transition: all 0.3s ease;
}

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

/* Print styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal,
    .social-share,
    .cta-box {
        display: none;
    }

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

    .article-content {
        padding: 0;
    }
}
