/* Global Styles */
:root {
    --primary-color: #4a6bff;
    --secondary-color: #ff6b6b;
    --accent-color: #6be0ff;
    --dark-color: #333333;
    --light-color: #f9f9f9;
    --text-color: #333333;
    --light-text: #ffffff;
    --gray-color: #f0f0f0;
    --dark-gray: #666666;
    --border-color: #e0e0e0;
    --success-color: #4caf50;
    --error-color: #f44336;
    --warning-color: #ff9800;
    --info-color: #2196f3;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    font-family: 'Roboto', 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

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

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

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

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

ul {
    list-style: none;
}

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

p {
    margin-bottom: 1rem;
}

button, .button {
    cursor: pointer;
    transition: var(--transition);
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    position: relative;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 15px auto 0;
}

/* Header Styles */
header {
    background-color: #fff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

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

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

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

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

.nav-menu a i {
    margin-right: 6px;
    font-size: 1.1em;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--dark-color);
    transition: var(--transition);
}

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

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

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

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

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

/* Buttons */
.neon-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--light-text);
    background-color: var(--primary-color);
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 0 10px rgba(74, 107, 255, 0.5), 0 0 20px rgba(74, 107, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.neon-button:hover {
    background-color: #3a5bff;
    box-shadow: 0 0 15px rgba(74, 107, 255, 0.7), 0 0 30px rgba(74, 107, 255, 0.5);
    transform: translateY(-2px);
    color: var(--light-text);
}

.neon-button:active {
    transform: translateY(0);
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.5s ease;
}

.neon-button:hover::before {
    left: 100%;
}

.secondary-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

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

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

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

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* Latest Posts Section */
.latest-posts {
    background-color: var(--light-color);
}

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

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

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.post-content {
    padding: 20px;
}

.post-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.post-content p {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

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

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

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

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #4a6bff 0%, #6be0ff 100%);
    color: var(--light-text);
    text-align: center;
}

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

.cta h2 {
    color: var(--light-text);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

.cta .neon-button {
    background-color: #fff;
    color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.3);
}

.cta .neon-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 30px rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #bbb;
    padding: 70px 0 20px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--light-text);
}

.footer-links h3,
.footer-contact h3 {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

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

.footer-links ul li a {
    color: #bbb;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--light-text);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact p i {
    margin-right: 10px;
    color: var(--primary-color);
}

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

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

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

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

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--light-text);
    padding: 20px;
    z-index: 9999;
    display: none; /* Will be toggled with JS */
}

.cookie-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

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

.cookie-button {
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-button.accept {
    background-color: var(--success-color);
    color: var(--light-text);
}

.cookie-button.customize {
    background-color: var(--info-color);
    color: var(--light-text);
}

.cookie-button.reject {
    background-color: var(--error-color);
    color: var(--light-text);
}

.cookie-button:hover {
    opacity: 0.9;
}

.cookie-link {
    color: var(--accent-color);
    text-decoration: underline;
    font-size: 0.9rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4a6bff 0%, #6be0ff 100%);
    color: var(--light-text);
    text-align: center;
    padding: 60px 0;
}

.page-header h1 {
    color: var(--light-text);
    font-size: 2.8rem;
    margin-bottom: 15px;
}

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

/* Blog Page */
.blog-content {
    padding: 60px 0;
}

.blog-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    max-width: 400px;
    width: 100%;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    font-size: 1rem;
}

.search-bar button {
    padding: 12px 20px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
}

.category-filter select {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    min-width: 200px;
}

.blog-grid {
    margin-bottom: 40px;
}

.post-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.post-meta span {
    display: flex;
    align-items: center;
}

.post-meta i {
    margin-right: 5px;
}

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

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    color: var(--dark-color);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pagination a.active,
.pagination a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.pagination a.next {
    width: auto;
    padding: 0 15px;
    border-radius: var(--radius-md);
}

/* Newsletter Section */
.newsletter {
    background-color: var(--gray-color);
    padding: 60px 0;
}

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

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 15px 30px;
}

/* Post Detail Page */
.post-header {
    background: linear-gradient(135deg, #f0f5ff 0%, #e6f0ff 100%);
    padding: 60px 0;
}

.post-header .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.post-header-content h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

.post-featured-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
}

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

.post-content .container {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
}

.post-body {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.post-body h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.post-body h2 i {
    color: var(--primary-color);
    margin-right: 10px;
}

.post-body h2:first-child {
    margin-top: 0;
}

.post-body h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-body p {
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.post-body li {
    margin-bottom: 10px;
    line-height: 1.6;
}

.post-body ul {
    list-style-type: disc;
}

.post-body ol {
    list-style-type: decimal;
}

.post-image {
    margin: 30px 0;
}

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

.image-caption {
    text-align: center;
    margin-top: 10px;
    color: var(--dark-gray);
    font-style: italic;
    font-size: 0.9rem;
}

.post-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
    align-self: start;
}

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

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

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

.related-posts li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.related-posts li a:hover {
    color: var(--primary-color);
}

.related-posts li a img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.related-posts li a span {
    font-size: 0.95rem;
    font-weight: 500;
}

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

.tags-cloud a {
    display: inline-block;
    padding: 5px 12px;
    background-color: var(--gray-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--dark-color);
}

.tags-cloud a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

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

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

.cta-widget .neon-button {
    width: 100%;
}

.author-box {
    display: flex;
    gap: 20px;
    background-color: var(--gray-color);
    padding: 25px;
    border-radius: var(--radius-md);
    margin-top: 40px;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.share-post {
    background-color: var(--gray-color);
    padding: 30px 0;
    text-align: center;
}

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

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

.social-share a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 30px;
    color: var(--light-text);
    font-weight: 600;
}

.social-share a i {
    margin-right: 8px;
}

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

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

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

.social-share a.telegram {
    background-color: #0088cc;
}

.social-share a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.post-comments {
    padding: 60px 0;
}

.post-comments h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

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

.comment-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
    background-color: #fff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

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

.comment-info h4 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.comment-date {
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.comment-actions {
    margin-top: 15px;
    text-align: right;
}

.reply-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.comment-reply {
    margin-left: 60px;
    margin-top: 20px;
}

.no-comments {
    text-align: center;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.comment-form {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.comment-form h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    padding: 12px 25px;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-button:hover {
    background-color: #3a5bff;
}

/* Courses Page */
.courses-intro {
    padding: 80px 0;
    background-color: #fff;
}

.courses-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

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

.course-categories {
    background-color: var(--light-color);
}

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

.category-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6bff 0%, #6be0ff 100%);
    color: var(--light-text);
}

.category-icon i {
    font-size: 2.5rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.featured-courses {
    padding: 80px 0;
    background-color: #fff;
}

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

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

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-image {
    position: relative;
}

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

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.course-badge.bestseller {
    background-color: var(--secondary-color);
    color: var(--light-text);
}

.course-badge.new {
    background-color: var(--success-color);
    color: var(--light-text);
}

.course-content {
    padding: 25px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.course-meta span {
    display: flex;
    align-items: center;
}

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

.course-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    min-height: 60px;
}

.course-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    min-height: 80px;
}

.course-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.course-rating {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.course-rating i {
    color: #ffb900;
    margin-right: 2px;
}

.course-rating span {
    margin-left: 5px;
    color: var(--dark-gray);
}

.course-price {
    font-weight: 700;
}

.old-price {
    text-decoration: line-through;
    color: var(--dark-gray);
    margin-right: 8px;
    font-size: 0.9rem;
}

.current-price {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.course-button {
    display: block;
    text-align: center;
    padding: 12px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.course-button:hover {
    background-color: #3a5bff;
    color: var(--light-text);
}

.course-formats {
    background-color: var(--light-color);
}

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

.format-card {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.format-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.format-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6bff 0%, #6be0ff 100%);
    color: var(--light-text);
}

.format-icon i {
    font-size: 2rem;
}

.format-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    background-color: #fff;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 30px;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 600px;
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
    scroll-snap-align: start;
    transition: var(--transition);
}

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

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

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

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

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

.author-info p {
    color: var(--dark-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.prev-testimonial,
.next-testimonial {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Instructors Section */
.instructors {
    background-color: var(--light-color);
}

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

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

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.instructor-info {
    padding: 20px;
}

.instructor-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.instructor-position {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.instructor-bio {
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-size: 0.95rem;
    min-height: 60px;
}

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

.instructor-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: var(--gray-color);
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.instructor-social a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

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

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

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

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.2rem;
    flex: 1;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--gray-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
    color: var(--light-text);
    transform: rotate(45deg);
}

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

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

/* About Page */
.about-intro {
    padding: 80px 0;
    background-color: #fff;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.mission-vision {
    background-color: var(--light-color);
    padding: 80px 0;
}

.mission-vision .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.mission, .vision {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.mission:hover, .vision:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission-icon, .vision-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6bff 0%, #6be0ff 100%);
    color: var(--light-text);
}

.mission-icon i, .vision-icon i {
    font-size: 2.5rem;
}

.mission h2, .vision h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

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

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

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

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6bff 0%, #6be0ff 100%);
    color: var(--light-text);
}

.value-icon i {
    font-size: 2rem;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.our-story {
    background-color: var(--light-color);
    padding: 80px 0;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-date {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    z-index: 1;
}

.timeline-content {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    width: calc(50% - 40px);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary-color);
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -50px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -50px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

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

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

.team-member {
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.member-position {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.member-bio {
    margin-bottom: 15px;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

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

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #fff;
    border-radius: 50%;
    color: var(--dark-color);
    transition: var(--transition);
}

.member-social a:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.achievements {
    background-color: var(--light-color);
    padding: 80px 0;
}

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

.achievement-item {
    background-color: #fff;
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.achievement-text {
    font-size: 1.2rem;
}

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

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
}

.partner-logo {
    text-align: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

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

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

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

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6bff 0%, #6be0ff 100%);
    color: var(--light-text);
}

.contact-icon i {
    font-size: 2rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

.contact-card p a {
    color: var(--dark-color);
}

.contact-card p a:hover {
    color: var(--primary-color);
}

.additional-info {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-top: 10px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 15px;
    background-color: #fff;
    border-radius: 20px;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact-form-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.form-container p {
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.contact-form {
    margin-top: 20px;
}

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

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

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

.checkbox-group label {
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-container {
    background-color: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.map-container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.map {
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.map iframe {
    height: 100%;
    width: 100%;
    border: none;
}

.callback-section {
    padding: 80px 0;
    background-color: #fff;
}

.callback-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.callback-container h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.callback-container p {
    margin-bottom: 30px;
    color: var(--dark-gray);
}

.callback-form {
    max-width: 400px;
    margin: 0 auto;
}

.callback-button {
    display: block;
    width: 100%;
    padding: 12px 0;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.callback-button:hover {
    background-color: #3a5bff;
}

/* Modal */
.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: #fff;
    padding: 40px;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-gray);
    transition: var(--transition);
}

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

.success-message i {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.success-message p {
    margin-bottom: 25px;
    color: var(--dark-gray);
}

.modal-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-button:hover {
    background-color: #3a5bff;
}

/* Policy Pages */
.policy-content {
    padding: 60px 0;
    background-color: #fff;
}

.policy-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.policy-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.policy-section {
    max-width: 800px;
    margin: 0 auto 50px;
}

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

.policy-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.policy-section h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-section h4 {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-section p, 
.policy-section ul, 
.policy-section ol {
    line-height: 1.8;
    margin-bottom: 20px;
}

.policy-section ul, 
.policy-section ol {
    padding-left: 20px;
}

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

.toc-list {
    list-style-type: decimal;
    line-height: 1.8;
}

.toc-list a {
    color: var(--dark-color);
}

.toc-list a:hover {
    color: var(--primary-color);
}

.refund-steps {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--radius-md);
    margin: 20px 0;
}

.refund-steps h3 {
    margin-top: 0;
}

.conclusion {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: var(--radius-md);
    font-style: italic;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .courses-intro .container,
    .about-intro .container,
    .contact-form-section .container {
        grid-template-columns: 1fr;
    }
    
    .intro-content,
    .about-content {
        order: 1;
    }
    
    .intro-image,
    .about-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .mission-vision .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-header .container {
        grid-template-columns: 1fr;
    }
    
    .post-header-content {
        order: 1;
    }
    
    .post-featured-image {
        order: 0;
        margin-bottom: 30px;
    }
    
    .post-content .container {
        grid-template-columns: 1fr;
    }
    
    .post-sidebar {
        margin-top: 50px;
        position: static;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-date {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        left: -40px;
        right: auto;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        gap: 0;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid,
    .posts-grid,
    .categories-grid,
    .courses-grid,
    .formats-grid,
    .values-grid,
    .instructors-grid,
    .team-grid,
    .achievements-grid,
    .partners-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form button {
        width: 100%;
        margin-top: 10px;
    }
    
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .policy-section h2 {
        font-size: 1.6rem;
    }
    
    .policy-section h3 {
        font-size: 1.3rem;
    }
    
    .social-share {
        flex-direction: column;
    }
    
    .social-share a {
        width: 100%;
        justify-content: center;
    }
    
    .comment {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .comment-info {
        flex-direction: column;
        gap: 5px;
    }
    
    .comment-reply {
        margin-left: 0;
    }
}
