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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

.navbar {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

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

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 5px;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.1);
    color: #e8f4f8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.cta-button {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.beginners-section {
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    padding: 80px 0;
    margin: 40px 0;
}

.beginners-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.beginners-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

.beginners-text h3 {
    font-size: 2rem;
    color: #27ae60;
    margin-bottom: 20px;
}

.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.custom-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

.beginners-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

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

.courses-preview h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

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

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

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

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

.course-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    padding: 20px 20px 10px;
}

.course-card p {
    padding: 0 20px 20px;
    color: #666;
}

.blog-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

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

.blog-post {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

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

.post-content {
    padding: 25px;
}

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

.post-content h2 a {
    color: #2c3e50;
    text-decoration: none;
    font-size: 1.4rem;
}

.post-content h2 a:hover {
    color: #3498db;
}

.post-meta {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-content p {
    color: #666;
    margin-bottom: 15px;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

.about-hero {
    text-align: center;
    padding: 60px 0;
}

.about-hero h1 {
    font-size: 3rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.mission-section {
    background: white;
    padding: 60px 0;
    margin: 40px 0;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.mission-content h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.mission-content h3 {
    font-size: 1.8rem;
    color: #27ae60;
    margin: 30px 0 15px;
}

.mission-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.team-section h2 {
    text-align: center;
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 50px;
}

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

.team-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.team-card img {
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.team-card h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.team-card p {
    color: #666;
    line-height: 1.6;
}

.team-card p:nth-child(4) {
    font-weight: 600;
    color: #3498db;
    margin-bottom: 15px;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 40px 0;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    color: #3498db;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
}

.office-hours h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.contact-form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    color: #2c3e50;
    margin-bottom: 30px;
    font-size: 2rem;
}

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
}

.submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    background: white;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-header .post-meta {
    color: #888;
    font-size: 1rem;
    margin-bottom: 30px;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.post-content h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 35px 0 20px;
    padding-top: 20px;
    border-top: 3px solid #3498db;
}

.post-content h3 {
    font-size: 1.4rem;
    color: #34495e;
    margin: 25px 0 15px;
}

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

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

.post-content li {
    margin-bottom: 8px;
}

.post-navigation {
    border-top: 2px solid #e0e0e0;
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.back-to-blog,
.prev-post,
.next-post {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    border: 2px solid #3498db;
    transition: all 0.3s ease;
}

.back-to-blog:hover,
.prev-post:hover,
.next-post:hover {
    background-color: #3498db;
    color: white;
}

.post-nav-links {
    display: flex;
    gap: 15px;
}

footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    color: #3498db;
    font-size: 1.5rem;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #3498db;
}

.footer-section p {
    color: #bbb;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

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

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: #3498db;
}

.social-links svg {
    fill: #fff;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    border-top: 1px solid #444;
    color: #bbb;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: #000;
}

.modal-content h2 {
    color: #27ae60;
    margin-bottom: 15px;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 20px;
    z-index: 1500;
    display: none;
    border-top: 3px solid #3498db;
}

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

.cookie-content p {
    flex: 1;
    margin-right: 20px;
    min-width: 300px;
}

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

.cookie-buttons button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.cookie-buttons button:hover {
    background: #2980b9;
}

.cookie-content a {
    color: #3498db;
    text-decoration: underline;
    margin-left: 15px;
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #2c3e50;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 20px 0;
        gap: 0;
    }

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

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .beginners-content {
        grid-template-columns: 1fr;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

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

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

    .post-header h1 {
        font-size: 2rem;
    }

    .post-navigation {
        flex-direction: column;
        text-align: center;
    }

    .post-nav-links {
        flex-direction: column;
        width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        margin-right: 0;
        margin-bottom: 15px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

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

    .beginners-section h2,
    .courses-preview h2,
    .team-section h2 {
        font-size: 2rem;
    }

    .contact-form-container {
        padding: 25px;
    }

    .post-container {
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 20px 15px;
    }
}
