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

:root {
    --primary-color: #2c5282;
    --secondary-color: #ed8936;
    --text-color: #2d3748;
    --light-bg: #f7fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #48bb78;
    --error-color: #f56565;
}

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

body.large-font {
    font-size: 18px;
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text-color);
    color: var(--white);
    padding: 20px;
    z-index: 1000;
    display: none;
}

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

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

.cookie-content p {
    flex: 1;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-accept {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.cookie-link {
    color: var(--white);
    text-decoration: underline;
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    border-radius: 50%;
}

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

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

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

.font-toggle {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: var(--white);
    padding: 80px 0;
}

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

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.hero-cta {
    display: flex;
    gap: 15px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
}

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

.btn-primary:hover {
    background: #dd6b20;
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--light-bg);
}

.hero-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

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

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
}

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

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse .service-content {
    direction: ltr;
}

.service-item img {
    width: 100%;
    border-radius: 10px;
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 15px;
}

.service-content ul {
    margin-top: 20px;
    padding-left: 20px;
}

.service-content li {
    margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-section > p {
    font-size: 20px;
    margin-bottom: 40px;
}

.lead-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
}

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

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

.lead-form textarea {
    margin-bottom: 15px;
}

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

.btn-submit:hover {
    background: #dd6b20;
}

/* Countdown Section */
.countdown-section {
    padding: 60px 0;
    background: var(--light-bg);
    text-align: center;
}

.countdown-section h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.time-unit {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.time-unit span {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
}

.time-unit label {
    display: block;
    margin-top: 5px;
    font-size: 14px;
    color: var(--text-color);
}

/* Footer */
.main-footer {
    background: var(--text-color);
    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-col h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

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

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

.footer-col a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-col a:hover {
    opacity: 1;
}

.registration-number {
    margin-top: 15px;
    font-size: 14px;
    opacity: 0.7;
}

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

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

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

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

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

.about-content h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 20px;
}

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

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Team Section */
.team-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

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

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    height: auto;
}

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

.team-role {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0 20px;
    margin-bottom: 10px;
}

.team-card p:last-child {
    padding: 0 20px 20px;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

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

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

.value-item {
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Courses Page */
.courses-section {
    padding: 80px 0;
}

.course-detailed {
    margin-bottom: 60px;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.course-intro h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.course-subtitle {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.course-meta {
    display: flex;
    gap: 20px;
}

.course-meta span {
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
}

.course-description {
    padding: 0 40px 40px;
}

.course-description h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.course-description ul {
    margin-top: 15px;
    padding-left: 20px;
}

.course-description li {
    margin-bottom: 10px;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: var(--light-bg);
    text-align: center;
}

.pricing-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.pricing-intro {
    font-size: 18px;
    margin-bottom: 40px;
}

.pricing-note {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
}

/* Process Section */
.process-section {
    padding: 80px 0;
}

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

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

.process-step {
    text-align: center;
    padding: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.process-step h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: var(--light-bg);
}

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

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

.faq-item {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Blog Page */
.blog-listing {
    padding: 80px 0;
}

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

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.blog-card img {
    width: 100%;
    height: auto;
}

.blog-content {
    padding: 25px;
}

.blog-date {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
}

.blog-card h2 {
    margin: 15px 0;
    font-size: 22px;
}

.blog-card h2 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

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

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-top: 15px;
}

/* Post Content */
.post-content {
    padding: 80px 0;
}

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

.post-date {
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
}

.post-header h1 {
    color: var(--primary-color);
    font-size: 38px;
    margin: 15px 0 30px;
}

.post-header img {
    width: 100%;
    border-radius: 10px;
}

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

.post-body h2 {
    color: var(--primary-color);
    font-size: 28px;
    margin: 40px 0 20px;
}

.post-body h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin: 30px 0 15px;
}

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

.post-body ul {
    margin: 20px 0 20px 20px;
}

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

.post-footer {
    max-width: 800px;
    margin: 60px auto 0;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.back-to-blog {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

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

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

.contact-info h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 30px;
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.registration-info {
    font-size: 14px;
    opacity: 0.7;
}

.contact-form-wrapper h2 {
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 15px;
}

.contact-form-wrapper > p {
    margin-bottom: 30px;
}

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

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

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

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.map-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.map-placeholder {
    text-align: center;
}

.map-placeholder p {
    margin-bottom: 30px;
    font-size: 18px;
}

.map-placeholder img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .hero-section .container,
    .about-intro .container,
    .service-item,
    .course-header,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .service-item.reverse {
        direction: ltr;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .countdown-timer {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}