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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.main-navigation {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

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

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

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

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.hero-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.features-section,
.courses-section,
.testimonials-section,
.lead-form-section,
.recent-posts-section {
    padding: 5rem 0;
}

.features-section {
    background: var(--bg-light);
}

.features-section h2,
.courses-section h2,
.testimonials-section h2,
.lead-form-section h2,
.recent-posts-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.courses-grid,
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.course-item,
.post-preview {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.course-item img,
.post-preview img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.course-item h3,
.post-preview h3 {
    padding: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}

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

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

.course-item p,
.post-preview p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.post-preview .read-more {
    display: inline-block;
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.testimonials-section {
    background: var(--bg-light);
}

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

.testimonial-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.testimonial-card strong {
    display: block;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.testimonial-card span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.lead-form-section {
    background: var(--bg-light);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.form-container h2 {
    margin-bottom: 1rem;
    text-align: center;
}

.form-container > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-section p {
    line-height: 1.8;
    color: #d1d5db;
}

.registration-number {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-links,
.contact-info {
    list-style: none;
}

.footer-links li,
.contact-info li {
    margin-bottom: 0.75rem;
}

.footer-links a,
.contact-info a {
    color: #d1d5db;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.contact-info a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-content h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.cookie-content p {
    margin-bottom: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

.cookie-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

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

.accept-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.decline-btn {
    background: var(--border-color);
    color: var(--text-dark);
}

.decline-btn:hover {
    background: #d1d5db;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.show-modal {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.show-modal .modal-content {
    transform: scale(1);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.modal-content p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.modal-close-btn {
    padding: 0.75rem 2rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

.page-header {
    background: var(--bg-light);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-light);
}

.about-story {
    padding: 5rem 0;
}

.about-story .content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.story-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.story-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

.story-image img {
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.mission-vision {
    background: var(--bg-light);
    padding: 5rem 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mission-item {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.mission-item h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.mission-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.team-section {
    padding: 5rem 0;
}

.team-intro {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.team-member {
    text-align: center;
}

.team-member img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.member-bio {
    color: var(--text-light);
    line-height: 1.8;
}

.values-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

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

.value-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.value-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.blog-content {
    padding: 5rem 0;
}

.blog-posts-grid {
    display: grid;
    gap: 3rem;
}

.blog-post-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.post-content {
    padding: 2rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.post-date,
.post-category {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.blog-post-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.blog-post-card h2 a {
    color: var(--text-dark);
}

.blog-post-card h2 a:hover {
    color: var(--primary-color);
}

.read-more-link {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info-block h2,
.contact-form-block h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-info-block > p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-subtext {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.map-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.map-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.map-placeholder img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.blog-post {
    padding-bottom: 5rem;
}

.post-header {
    background: var(--bg-light);
    padding: 4rem 0;
}

.post-header .post-meta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.post-header h1 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.post-excerpt {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.post-featured-image {
    margin: 3rem 0;
}

.post-featured-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 16px;
}

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

.post-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.post-footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
}

.back-to-blog {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.back-to-blog:hover {
    transform: translateX(-5px);
}

@media (max-width: 968px) {
    .hero-section,
    .about-story .content-wrapper,
    .contact-grid,
    .blog-post-card {
        grid-template-columns: 1fr;
    }

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

    .nav-menu {
        gap: 1rem;
    }

    .hero-content h1,
    .page-header h1,
    .post-header h1 {
        font-size: 2rem;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .content-wrapper {
        padding: 0 1rem;
    }
}