/* Base styles */
:root {
    --primary-color: #2e5bff;
    --secondary-color: #00c6b4;
    --accent-color: #ff9f43;
    --dark-color: #2d3a4a;
    --light-color: #f5f7fa;
    --text-color: #4a4a4a;
    --light-text: #788190;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --error-color: #dc3545;
    --border-color: #e4e8f0;
    --border-radius: 8px;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

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

p {
    margin-bottom: 1rem;
}

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

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

/* Buttons */
.btn-primary, .btn-secondary {
    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-primary {
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-filter {
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-filter:hover {
    background-color: #00a395;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 2px 10px 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: 15px 20px;
}

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

.logo img {
    height: 50px;
    width: auto;
    margin-right: 15px;
}

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

nav ul {
    display: flex;
    gap: 25px;
}

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

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

nav a.active::after, nav a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px 3px 0 0;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background-color: var(--light-color);
    background-image: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
}

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

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

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

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

/* Featured Posts Section */
.featured-posts {
    padding: 80px 0;
}

.featured-posts h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
}

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

.post-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background-color: white;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

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

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.post-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

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

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

.post-date {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.read-more:after {
    content: "→";
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover:after {
    margin-left: 10px;
}

.center-btn {
    text-align: center;
}

/* Subscribe Section */
.subscribe {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0;
}

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

.subscribe h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 15px;
}

.subscribe p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.subscribe-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 20px;
}

.subscribe-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}

.subscribe-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 0 25px;
    background-color: var(--accent-color);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-weight: 600;
}

.subscribe-form button:hover {
    background-color: #f08a25;
}

.subscription-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.counter-text {
    font-size: 1rem;
    opacity: 0.8;
}

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

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

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}

.footer-col h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-col p {
    color: #b4bac4;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-col ul li {
    margin-bottom: 12px;
}

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

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

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

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

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b4bac4;
    font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

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

.cookie-buttons button {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

.btn-accept {
    background-color: var(--success-color);
    color: white;
}

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

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

/* Page Headers */
.page-header {
    background-color: var(--light-color);
    padding: 60px 0;
    text-align: center;
}

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

.page-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 0 auto;
}

/* Blog Layout */
.blog-posts {
    padding: 60px 0;
}

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

.post-header {
    margin-bottom: 30px;
}

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

.post-meta {
    display: flex;
    gap: 20px;
    color: var(--light-text);
    margin-bottom: 20px;
}

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

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.post-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

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

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

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

.post-content ul li, .post-content ol li {
    margin-bottom: 10px;
}

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

.post-tags span {
    color: var(--light-text);
}

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

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

.post-navigation {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}

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

.prev-post a, .next-post a {
    display: block;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.prev-post a:hover, .next-post a:hover {
    background-color: #e4e8f0;
}

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

.prev-post h4, .next-post h4 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--dark-color);
}

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

/* Courses Page */
.courses-filter {
    background-color: var(--light-color);
    padding: 30px 0;
    margin-bottom: 50px;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

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

.filter-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-color);
}

.filter-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background-color: white;
    font-size: 1rem;
}

.courses-grid {
    padding: 0 0 80px;
}

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

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

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

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

.course-level, .course-format, .course-duration {
    display: flex;
    align-items: center;
    color: var(--light-text);
}

.icon-level, .icon-online, .icon-hybrid, .icon-presential, .icon-time {
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 5px;
    background-color: var(--light-text);
    mask-size: cover;
    -webkit-mask-size: cover;
}

.course-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.course-rating {
    display: flex;
    flex-direction: column;
}

.stars {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.rating-count {
    font-size: 0.85rem;
    color: var(--light-text);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--border-radius);
    background-color: white;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

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

.pagination a.next {
    width: auto;
    padding: 0 15px;
}

.course-providers {
    padding: 60px 0;
    background-color: var(--light-color);
}

.course-providers h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

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

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

.provider-card img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.provider-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
}

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

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

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

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

/* About Page */
.about-story {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-content h2 {
    margin-top: 40px;
    font-size: 1.8rem;
}

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

.values-list {
    padding-left: 20px;
    margin-bottom: 30px;
}

.values-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.values-list li:before {
    content: "";
    position: absolute;
    left: -15px;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

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

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

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

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--light-text);
}

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

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

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

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

.team-member h3 {
    margin: 20px 20px 5px;
    font-size: 1.3rem;
}

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

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

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

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

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

.testimonials {
    padding: 80px 0;
}

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

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

.testimonial {
    display: none;
}

.testimonial-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-content:before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 80px;
    line-height: 1;
    color: rgba(0, 0, 0, 0.05);
    font-family: serif;
}

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

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

.testimonial-author h4 {
    margin: 0;
    font-size: 1.1rem;
}

.testimonial-author p {
    margin: 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

.partners {
    padding: 60px 0;
    background-color: white;
}

.partners h2, .partners p {
    text-align: center;
}

.partners p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--light-text);
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    width: 200px;
    height: 120px;
    transition: var(--transition);
}

.partner:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.partner img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

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

.contact-info h2, .contact-form-container h2 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--light-text);
}

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

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-text h3 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-text p, .contact-text address {
    margin: 0;
    color: var(--light-text);
    font-style: normal;
}

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

.social-contact h3 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

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

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

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

.form-group.full-width {
    grid-column: 1 / -1;
}

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

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

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 91, 255, 0.2);
}

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

.checkbox-group input {
    width: auto;
}

.required {
    color: var(--error-color);
}

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

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

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

.faq-section {
    padding: 60px 0;
}

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

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

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

.faq-question {
    padding: 20px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-question {
    background-color: var(--light-color);
}

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

.modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--light-text);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background-color: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

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

.modal-content p {
    margin-bottom: 30px;
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-image {
        text-align: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
    
    .next-post {
        text-align: left;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .posts-grid, .courses {
        grid-template-columns: 1fr;
    }
    
    .subscribe-form {
        flex-direction: column;
    }
    
    .subscribe-form input {
        border-radius: var(--border-radius);
        margin-bottom: 10px;
    }
    
    .subscribe-form button {
        border-radius: var(--border-radius);
    }
    
    .filter-options {
        flex-direction: column;
        align-items: stretch;
    }
}
