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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

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

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

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

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

a:hover {
    color: #b8860b;
}

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

.btn-primary {
    background: linear-gradient(135deg, #d2691e, #ff8c00);
    color: white;
    box-shadow: 0 4px 15px rgba(210, 105, 30, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8860b, #d2691e);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(210, 105, 30, 0.4);
    color: white;
}

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

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

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

.cookie-content p {
    margin: 0;
    color: white;
    flex: 1;
}

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

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

/* Header */
.header {
    background: linear-gradient(135deg, #8b0000, #a52a2a);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 2px 20px rgba(139, 0, 0, 0.3);
}

.navbar {
    padding: 15px 0;
}

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

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

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

.brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffd700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-menu a {
    color: white;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    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;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="spice" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="rgba(255,215,0,0.1)"/><circle cx="18" cy="18" r="1" fill="rgba(255,215,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23spice)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

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

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

.hero-svg {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

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

/* About Section */
.about {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="batik" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M20,5 Q30,15 20,25 Q10,15 20,5" fill="none" stroke="rgba(210,105,30,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23batik)"/></svg>');
    opacity: 0.3;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.about-item {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #d2691e;
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.about-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.about-item h3 {
    color: #d2691e;
    margin-bottom: 15px;
}

/* Courses Section */
.courses {
    background: white;
}

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

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

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.course-card.featured {
    border: 2px solid #ffd700;
    position: relative;
}

.course-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: 20px;
    right: -10px;
    background: #ffd700;
    color: #2c3e50;
    padding: 5px 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transform: rotate(15deg);
    z-index: 1;
}

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

.course-content {
    padding: 30px;
}

.course-content h3 {
    color: #d2691e;
    margin-bottom: 15px;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d2691e;
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
    position: relative;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="traditional" x="0" y="0" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="rgba(255,215,0,0.1)"/><rect x="20" y="20" width="10" height="10" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23traditional)"/></svg>');
    opacity: 0.3;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.why-choose-text h2 {
    color: white;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    background: #ffd700;
    color: #2c3e50;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h4 {
    color: #ffd700;
    margin-bottom: 5px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.why-choose-stats {
    text-align: center;
}

.stat-item {
    display: block;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="quotes" x="0" y="0" width="60" height="60" patternUnits="userSpaceOnUse"><text x="30" y="30" text-anchor="middle" font-size="20" fill="rgba(210,105,30,0.05)">"</text></pattern></defs><rect width="100" height="100" fill="url(%23quotes)"/></svg>');
    opacity: 0.3;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #d2691e;
}

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

.testimonial-content {
    margin-bottom: 25px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: #d2691e;
    position: absolute;
    top: -20px;
    left: -20px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: #d2691e;
    margin-bottom: 5px;
}

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

.rating {
    color: #ffd700;
    font-size: 1.2rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="envelope" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><rect x="5" y="15" width="30" height="20" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/><path d="M5,15 L20,25 L35,15" fill="none" stroke="rgba(255,215,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23envelope)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 15px;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.newsletter-form .form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    background: white;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.newsletter-disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    text-align: center;
}

/* Contact Section */
.contact {
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d2691e;
}

.contact-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.contact-item h4 {
    color: #d2691e;
    margin-bottom: 10px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
}

.contact-item small {
    color: #666;
    font-size: 0.9rem;
}

.social-links {
    padding: 20px;
    background: linear-gradient(135deg, #d2691e, #ff8c00);
    color: white;
    border-radius: 10px;
}

.social-links h4 {
    color: white;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icons a {
    color: white;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #2c3e50;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d2691e;
    box-shadow: 0 0 0 3px rgba(210, 105, 30, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: #ffd700;
    margin-bottom: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section ul li a.active {
    color: #ffd700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #ffd700;
}

/* Blog Styles */
.blog-hero {
    background: linear-gradient(135deg, #8b4513, #a0522d);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.blog-hero-content h1 {
    color: white;
    margin-bottom: 20px;
}

.blog-hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-hero-image {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

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

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

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

.article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

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

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

.article-content {
    padding: 30px;
}

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

.category {
    background: #d2691e;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.date {
    color: #666;
}

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

.article-content h2 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-content h2 a:hover {
    color: #d2691e;
}

.read-more {
    color: #d2691e;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #b8860b;
}

/* Article Page Styles */
.article-page {
    padding: 120px 0 80px;
    background: white;
}

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

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

.breadcrumb a {
    color: #d2691e;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.read-time {
    color: #666;
}

.article-intro {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0;
}

.article-image-hero {
    text-align: center;
    margin-bottom: 40px;
}

.article-hero-img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.article-content h2 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d2691e;
}

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

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

.article-content ul li,
.article-content ol li {
    margin-bottom: 8px;
    color: #555;
}

.article-content strong {
    color: #2c3e50;
}

.article-cta {
    background: linear-gradient(135deg, #d2691e, #ff8c00);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
}

.article-cta h3 {
    color: white;
    margin-bottom: 15px;
}

.article-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.article-footer {
    max-width: 800px;
    margin: 40px auto 0;
    padding: 30px 0;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.share-article h4 {
    margin-bottom: 10px;
    color: #2c3e50;
}

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

.share-buttons a {
    background: #d2691e;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.share-buttons a:hover {
    background: #b8860b;
    color: white;
}

/* Thank You Page */
.thank-you {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    text-align: center;
}

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

.thank-you-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 20px;
    display: block;
}

.thank-you-content h1 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
}

.benefits-list {
    text-align: left;
    margin-bottom: 40px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefits-list li {
    margin-bottom: 10px;
    color: #555;
    padding-left: 20px;
    position: relative;
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

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

.next-steps h3 {
    color: #d2691e;
    margin-bottom: 15px;
}

.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-info {
    font-size: 0.9rem;
    color: #666;
}

.contact-info a {
    color: #d2691e;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.featured-courses {
    padding: 60px 0;
    background: #f8f9fa;
}

.featured-courses h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
}

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

.course-preview {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.course-preview:hover {
    transform: translateY(-5px);
}

.course-preview h3 {
    color: #d2691e;
    margin-bottom: 10px;
}

.course-preview p {
    color: #666;
    margin-bottom: 20px;
}

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

.legal-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.legal-header h1 {
    color: #2c3e50;
    margin-bottom: 15px;
}

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

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

.legal-content h2 {
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d2691e;
}

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

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

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 8px;
    color: #555;
}

.contact-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    border-left: 4px solid #d2691e;
}

.contact-details p {
    margin-bottom: 5px;
}

.contact-details strong {
    color: #2c3e50;
}

/* Cookie Policy Specific Styles */
.cookie-table {
    margin: 20px 0;
    overflow-x: auto;
}

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

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

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

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

.cookie-controls {
    background: linear-gradient(135deg, #d2691e, #ff8c00);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
}

.cookie-controls h4 {
    color: white;
    margin-bottom: 15px;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cookie-settings-header h3 {
    color: #2c3e50;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: #d2691e;
}

.cookie-category {
    margin-bottom: 25px;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
}

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

.cookie-category h4 {
    color: #2c3e50;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

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

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

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

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

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

.cookie-category p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.cookie-settings-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

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

    /* Header Mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: linear-gradient(135deg, #8b0000, #a52a2a);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 0;
        transition: left 0.3s ease;
        z-index: 998;
    }

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

    .nav-menu a {
        padding: 15px 30px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Hero Mobile */
    .hero {
        padding: 100px 0 60px;
    }

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

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

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

    /* Sections Mobile */
    section {
        padding: 60px 0;
    }

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

    /* About Mobile */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Courses Mobile */
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Why Choose Mobile */
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    /* Testimonials Mobile */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Newsletter Mobile */
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .newsletter-form .form-group {
        flex-direction: column;
        gap: 15px;
    }

    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-links a {
        margin-left: 0;
        margin-right: 20px;
    }

    /* Blog Mobile */
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .article-meta {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .article-footer {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    /* Thank You Mobile */
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .courses-preview {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Cookie Banner Mobile */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

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

    /* Cookie Settings Mobile */
    .cookie-settings-content {
        margin: 20px;
        padding: 30px 20px;
    }

    .cookie-settings-actions {
        flex-direction: column;
    }

    /* Legal Pages Mobile */
    .legal-content {
        padding: 0 10px;
    }

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

    .cookie-table th,
    .cookie-table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    /* Further mobile optimizations */
    .hero-text h1 {
        font-size: 1.75rem;
    }

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

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .course-card,
    .about-item,
    .testimonial-card {
        margin: 0 10px;
    }

    .contact-form,
    .newsletter-form {
        padding: 20px;
    }

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

    .legal-content {
        padding: 0 5px;
    }

    .cookie-settings-content {
        margin: 10px;
        padding: 20px 15px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-settings-modal,
    .newsletter,
    .btn {
        display: none !important;
    }

    body {
        background: white !important;
        color: black !important;
    }

    .legal-page,
    .article-page {
        padding: 20px 0 !important;
    }

    .legal-content,
    .article-content {
        max-width: none !important;
        margin: 0 !important;
    }

    a {
        color: black !important;
        text-decoration: underline !important;
    }

    .contact-details {
        background: #f5f5f5 !important;
        border: 1px solid #ccc !important;
    }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #fff;
    }

    .btn-outline {
        border-width: 3px;
    }

    .nav-menu a::after {
        height: 3px;
    }
}

/* Focus Styles for Accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 3px solid #d2691e;
    outline-offset: 2px;
}

.btn:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Skip Link for Screen Readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #d2691e;
    color: white;
    padding: 8px;
    border-radius: 3px;
    text-decoration: none;
    z-index: 100;
}

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