/* Base Styles */
:root {
    --primary-color: #3b82f6;
    --primary-dark: #2563eb;
    --secondary-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --light-gray: #e2e8f0;
    --medium-gray: #94a3b8;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --border-radius: 8px;
    --box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --section-spacing: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

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

ul {
    list-style: none;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--light-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-secondary:hover {
    background-color: #0d9868;
    color: var(--light-color);
}

.btn-light {
    background-color: var(--light-color);
    color: var(--dark-color);
}

.btn-light:hover {
    background-color: #e5e7eb;
    color: var(--dark-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

/* Header & Navigation */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 50px;
    width: auto;
}

nav .menu {
    display: flex;
    align-items: center;
}

nav .menu li {
    margin: 0 15px;
}

nav .menu li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

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

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

nav .menu li a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    width: 30px;
    cursor: pointer;
}

.mobile-menu-btn span {
    height: 3px;
    width: 100%;
    background-color: var(--dark-color);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
}

.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.welcome-multilingual {
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Features Section */
.features {
    background-color: white;
}

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

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

.feature-card {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
}

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

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

/* Popular Courses Section */
.popular-courses h2 {
    text-align: center;
    margin-bottom: 50px;
}

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

.course-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.course-content {
    padding: 25px;
}

.course-content h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.course-content p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.course-meta {
    display: flex;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.course-meta span {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-right: 15px;
}

.course-meta svg {
    margin-right: 5px;
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* Testimonials Section */
.testimonials {
    background-color: var(--light-color);
    position: relative;
}

.testimonials:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    z-index: 0;
}

.testimonials .container {
    position: relative;
    z-index: 1;
}

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

.testimonials-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none; /* Firefox */
}

.testimonials-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    min-width: 400px;
    flex: 1;
}

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

.testimonial-content p {
    font-style: italic;
    margin-bottom: 0;
    position: relative;
}

.testimonial-content p:before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(59, 130, 246, 0.1);
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-author h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author p {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Latest Posts Section */
.latest-posts {
    background-color: white;
}

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

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

.post-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.post-content {
    padding: 25px;
}

.post-content h2, .post-content h3 {
    margin-bottom: 10px;
}

.post-content p {
    margin-bottom: 20px;
}

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

.read-more svg {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover svg {
    transform: translateX(3px);
}

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

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-section p {
    margin-bottom: 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Summary Section */
.summary-section {
    background-color: var(--light-color);
    padding: 60px 0;
    position: relative;
}

.summary-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    z-index: 0;
}

.summary-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.summary-content h2 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.summary-content p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links h3, .footer-legal h3, .footer-contact h3, .footer-social h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul li, .footer-legal ul li {
    margin-bottom: 10px;
}

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

.footer-links ul li a:hover, .footer-legal ul li a:hover {
    color: white;
}

.footer-contact p {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.footer-contact p svg {
    margin-right: 10px;
}

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

.footer-contact p a:hover {
    color: white;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

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

.social-icons svg {
    color: white;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: 0;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.cookie-content {
    flex: 1;
}

.cookie-content p {
    margin-bottom: 15px;
}

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

.btn-link {
    color: var(--primary-color);
    text-decoration: underline;
    margin-left: 15px;
}

.cookie-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
    margin-left: 10px;
}

.cookie-close:hover {
    color: var(--dark-color);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.page-banner h1 {
    color: white;
    margin-bottom: 15px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* About Page Styles */
.about-story {
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-text {
    flex: 1;
}

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

.mission-values {
    background-color: var(--light-color);
}

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

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

.mission-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.mission-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
}

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

.mission-card ul {
    list-style: disc;
    margin-left: 20px;
}

.mission-card ul li {
    margin-bottom: 10px;
}

/* Team Section */
.team-section {
    background-color: white;
}

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

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

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

.team-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.team-card img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
}

.team-card h3 {
    margin: 20px 0 5px;
}

.team-card p {
    padding: 0 20px;
    margin-bottom: 15px;
}

.team-card p:first-of-type {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-bottom: 20px;
}

.team-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    color: var(--primary-color);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
}

.stats-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

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

.stat-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
    color: white;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Courses Page Styles */
.courses-filter {
    background-color: white;
    padding-bottom: 0;
}

.filter-options {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    background-color: white;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.filter-button {
    margin-top: auto;
}

.courses-category {
    margin-bottom: 60px;
}

.courses-category:last-child {
    margin-bottom: 0;
}

.courses-category h2 {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.courses-category h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.course-level {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.course-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

/* FAQ Section */
.faq-section {
    background-color: var(--light-color);
}

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

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

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-toggle {
    background: none;
    border: none;
    color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.faq-toggle.active {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 0;
}

/* Blog Page Styles */
.blog-container {
    display: flex;
    gap: 50px;
}

.blog-posts {
    flex: 2;
}

.blog-post {
    margin-bottom: 50px;
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.post-meta {
    padding: 15px 25px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.post-date, .post-category, .post-author {
    display: inline-flex;
    align-items: center;
}

.post-category {
    color: var(--primary-color);
    font-weight: 600;
}

.post-title {
    padding: 0 25px;
    margin-top: 10px;
}

.post-excerpt {
    padding: 0 25px 25px;
    margin-bottom: 25px;
}

.blog-post .btn {
    margin: 0 25px 25px;
}

.blog-sidebar {
    flex: 1;
}

.sidebar-widget {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    font-size: 1.25rem;
}

.search-form {
    display: flex;
}

.search-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-right: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.search-form button {
    background-color: var(--primary-color);
    border: none;
    color: white;
    padding: 0 15px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
}

.categories-widget ul li {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 12px;
}

.categories-widget ul li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.categories-widget ul li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
}

.categories-widget ul li a span {
    background-color: var(--light-gray);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.75rem;
    color: var(--medium-gray);
}

.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post {
    display: flex;
    align-items: center;
    gap: 15px;
}

.popular-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    line-height: 1.4;
}

.popular-post-content h4 a {
    color: var(--dark-color);
}

.popular-post-content h4 a:hover {
    color: var(--primary-color);
}

.popular-post-content span {
    font-size: 0.8rem;
    color: var(--medium-gray);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-gray);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.tag-cloud a:hover {
    background-color: var(--primary-color);
    color: white;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
}

.newsletter-form .btn {
    width: 100%;
}

.pagination {
    margin-top: 50px;
}

.pagination ul {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination ul li {
    display: inline-block;
}

.pagination ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    color: var(--text-color);
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.pagination ul li.active a {
    background-color: var(--primary-color);
    color: white;
}

.pagination ul li a:hover {
    background-color: var(--light-gray);
}

.pagination ul li.active a:hover {
    background-color: var(--primary-dark);
}

/* Contact Page Styles */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

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

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

.info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.info-item h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    margin-bottom: 0;
}

.social-contact h3 {
    margin-bottom: 15px;
}

.contact-form-container {
    flex: 2;
    min-width: 400px;
}

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

.form-group {
    flex: 0 0 calc(50% - 10px);
}

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
}

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

.checkbox-group input {
    width: auto;
    margin-top: 2px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.form-submit {
    flex: 0 0 100%;
    margin-top: 10px;
}

.map-section {
    background-color: var(--light-color);
}

.map-container {
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

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

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
}

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

.check-icon {
    margin-bottom: 20px;
}

.modal-body h2 {
    margin-bottom: 15px;
}

.modal-body p {
    margin-bottom: 20px;
}

.close-btn {
    margin-top: 10px;
}

/* Blog Post Styles */
.post-header {
    background-color: white;
    padding: 40px 0;
}

.post-header .container {
    max-width: 900px;
}

.post-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 30px;
}

.post-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.post-main {
    flex: 2;
    min-width: 300px;
}

.post-main h2 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.post-intro {
    font-size: 1.2rem;
    color: var(--medium-gray);
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 20px;
}

.post-image {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

figcaption {
    font-size: 0.875rem;
    text-align: center;
    margin-top: 10px;
    color: var(--medium-gray);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 40px 0;
}

.post-tags span {
    font-weight: 600;
}

.post-tags a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--light-gray);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.post-tags a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.post-share span {
    font-weight: 600;
}

.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--light-gray);
    border-radius: 50%;
    color: var(--text-color);
}

.post-share a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-author-bio {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    margin-bottom: 40px;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 10px;
}

.author-info p {
    margin-bottom: 15px;
}

.author-social {
    display: flex;
    gap: 10px;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: white;
    border-radius: 50%;
    transition: var(--transition);
    color: var(--primary-color);
}

.author-social a:hover {
    background-color: var(--primary-color);
    color: white;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid var(--light-gray);
    border-bottom: 1px solid var(--light-gray);
}

.prev-post, .next-post {
    max-width: 45%;
}

.prev-post span, .next-post span {
    display: block;
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-bottom: 5px;
}

.prev-post a, .next-post a {
    font-weight: 600;
    color: var(--dark-color);
}

.prev-post a:hover, .next-post a:hover {
    color: var(--primary-color);
}

.next-post {
    text-align: right;
}

.related-posts h3 {
    margin-bottom: 25px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.related-post-image {
    height: 150px;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 10px;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post h4 {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 5px;
}

.related-post h4 a {
    color: var(--dark-color);
}

.related-post h4 a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.post-comments {
    margin-top: 60px;
}

.post-comments h3 {
    margin-bottom: 30px;
}

.comments-list {
    margin-bottom: 50px;
}

.comment {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.comment-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

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

.comment-header span {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.comment-reply {
    background: none;
    border: none;
    color: var(--primary-color);
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
}

.comment-form h3 {
    margin-bottom: 25px;
}

.comment-form .form-group.half {
    flex: 0 0 calc(50% - 10px);
}

.toc-widget ul {
    list-style: none;
    padding-left: 0;
}

.toc-widget ul li {
    margin-bottom: 10px;
}

.toc-widget ul li a {
    color: var(--text-color);
    transition: var(--transition);
    padding-left: 15px;
    border-left: 2px solid var(--light-gray);
    display: block;
}

.toc-widget ul li a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

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

.author-widget .author-image {
    margin: 0 auto 15px;
}

.author-widget h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 10px;
}

.author-widget p {
    margin-bottom: 20px;
}

.author-widget .author-social {
    justify-content: center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        flex: 1 1 100%;
    }
    
    .hero-image {
        justify-content: center;
        margin-top: 40px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-grid {
        flex-direction: column;
    }
    
    .testimonial-card {
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .menu {
        position: fixed;
        top: 90px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 90px);
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: var(--transition);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .menu.active {
        left: 0;
    }
    
    .menu li {
        margin: 15px 0;
        width: 100%;
    }
    
    .menu li a {
        display: block;
        width: 100%;
        padding: 10px 0;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .blog-container {
        flex-direction: column;
    }
    
    .post-container {
        flex-direction: column;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .form-group {
        flex: 0 0 100%;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .feature-card, .course-card, .post-card {
        flex: 0 0 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .post-author-bio {
        flex-direction: column;
        text-align: center;
    }
    
    .post-author-bio .author-social {
        justify-content: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
        text-align: left;
    }
    
    .comment {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-avatar {
        margin-bottom: 15px;
    }
    
    .comment-header {
        flex-direction: column;
        gap: 5px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner {
        flex-direction: column;
    }
    
    .cookie-buttons {
        margin-top: 15px;
        justify-content: center;
    }
    
    .cookie-close {
        position: absolute;
        top: 10px;
        right: 10px;
        margin-left: 0;
    }
}
