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

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --light-gray: #e9ecef;
    --dark: #1a1a1a;
    --success: #27ae60;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

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

.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo-section a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
}

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

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.primary-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 120px 0;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

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

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.btn-secondary:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

.stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
}

.features-section {
    padding: 80px 0;
}

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

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

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

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

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin: 20px 20px 15px;
    color: var(--primary-color);
}

.feature-text {
    padding: 0 20px 25px;
    color: var(--gray);
    line-height: 1.8;
}

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

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

.course-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.course-header {
    margin-bottom: 20px;
}

.course-badge {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.course-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
}

.course-features {
    list-style: none;
    margin-bottom: 20px;
}

.course-features li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
}

.course-duration {
    font-weight: 600;
    color: var(--secondary-color);
}

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

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.main-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-text {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

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

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.about-intro {
    padding: 80px 0;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-paragraph {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--gray);
}

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

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

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

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

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

.team-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.team-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 20px 20px 10px;
    color: var(--primary-color);
}

.team-position {
    color: var(--secondary-color);
    font-weight: 500;
    margin: 0 20px 15px;
}

.team-bio {
    padding: 0 20px 25px;
    color: var(--gray);
    line-height: 1.8;
}

.values-section {
    padding: 80px 0;
}

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

.value-item {
    text-align: center;
    padding: 30px;
}

.value-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.value-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.value-text {
    color: var(--gray);
    line-height: 1.8;
}

.blog-section {
    padding: 80px 0;
}

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

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

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

.blog-image-wrapper {
    position: relative;
}

.blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

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

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

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--gray);
}

.blog-excerpt {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-read-more:hover {
    color: var(--primary-color);
}

.contact-section {
    padding: 80px 0;
}

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

.contact-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 30px;
    color: var(--secondary-color);
}

.contact-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-details p,
.contact-details a {
    color: var(--gray);
    text-decoration: none;
}

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

.contact-hours {
    margin-top: 40px;
}

.contact-hours h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.contact-hours p {
    color: var(--gray);
    margin-bottom: 8px;
}

.contact-form {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--border-radius);
}

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

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.form-submit-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

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

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

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

.post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-breadcrumb {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 14px;
}

.post-breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.post-main-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.post-meta-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.post-date-badge,
.post-read-time,
.post-category-badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.post-date-badge {
    background-color: var(--light-bg);
    color: var(--gray);
}

.post-read-time {
    background-color: var(--light-bg);
    color: var(--gray);
}

.post-category-badge {
    background-color: var(--secondary-color);
    color: var(--white);
}

.post-featured-image {
    margin-bottom: 50px;
}

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

.post-content-wrapper {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);
}

.post-intro {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    padding: 25px;
    background-color: var(--light-bg);
    border-left: 4px solid var(--secondary-color);
    border-radius: var(--border-radius);
}

.post-section-title {
    font-size: 28px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.post-content-wrapper p {
    margin-bottom: 25px;
    line-height: 1.9;
}

.post-navigation {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
}

.post-back-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.post-back-link:hover {
    color: var(--primary-color);
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 25px;
    z-index: 9999;
    display: none;
}

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

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

.cookie-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.cookie-text {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

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

.cookie-btn.accept-all {
    background-color: var(--secondary-color);
    color: var(--white);
}

.cookie-btn.accept-all:hover {
    background-color: var(--primary-color);
}

.cookie-btn.customize {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.cookie-btn.customize:hover {
    background-color: var(--light-gray);
}

.cookie-btn.decline {
    background-color: transparent;
    color: var(--gray);
    border: 1px solid var(--light-gray);
}

.cookie-btn.decline:hover {
    background-color: var(--light-bg);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    box-shadow: var(--shadow-hover);
}

.modal-icon {
    font-size: 60px;
    color: var(--success);
    margin-bottom: 20px;
}

.modal-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.modal-text {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-close-btn {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .header-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .primary-nav .nav-list {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .stats-grid,
    .features-grid,
    .courses-wrapper,
    .team-grid,
    .values-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-content-wrapper,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .post-main-title {
        font-size: 28px;
    }

    .post-content-wrapper {
        font-size: 16px;
    }

    .cta-title {
        font-size: 28px;
    }

    .page-title {
        font-size: 32px;
    }
}