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

:root {
    --primary-color: #2c5f7c;
    --secondary-color: #4a90b5;
    --accent-color: #f39c12;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #ecf0f1;
    --white: #ffffff;
    --success: #27ae60;
    --danger: #e74c3c;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.main-navigation {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

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

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

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

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

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

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

.hero-section {
    background: linear-gradient(rgba(44, 95, 124, 0.8), rgba(44, 95, 124, 0.8)), url('images/1.jpg') center/cover;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
}

.hero-overlay {
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
    animation: fadeIn 1.5s ease;
}

.cta-button:hover {
    background: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.quote-section {
    background: var(--bg-light);
    padding: 4rem 2rem;
}

.container-quote {
    max-width: 900px;
    margin: 0 auto;
}

.daily-quote {
    text-align: center;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--primary-color);
}

.daily-quote cite {
    display: block;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-light);
}

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

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

.services-section,
.approach-section,
.testimonials-section {
    padding: 5rem 0;
}

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

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

.service-card:hover,
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-image,
.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.service-card h3,
.team-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.service-card p,
.team-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

.team-role {
    font-weight: bold;
    color: var(--secondary-color) !important;
    padding: 0 1.5rem 0.5rem !important;
}

.service-link {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

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

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

.approach-item {
    text-align: center;
    padding: 2rem;
}

.approach-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.approach-item h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.testimonial-card {
    padding: 2rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.testimonial-author {
    text-align: right;
    font-weight: bold;
    color: var(--secondary-color);
}

.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 5rem 2rem;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button-secondary {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: var(--transition);
}

.cta-button-secondary:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

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

.footer-links a {
    display: block;
    padding: 0.3rem 0;
    color: var(--bg-light);
}

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

.registration-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.page-hero {
    background: linear-gradient(rgba(44, 95, 124, 0.8), rgba(44, 95, 124, 0.8)), url('images/1.jpg') center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-intro,
.courses-intro {
    padding: 5rem 0;
}

.intro-content,
.intro-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

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

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

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

.mission-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

.stats-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
}

.stats-section .section-title {
    color: var(--white);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.courses-listing {
    padding: 5rem 0;
}

.course-detail-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.course-info-section {
    padding: 2rem;
}

.course-info-section h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.course-duration {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: bold;
}

.course-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

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

.course-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.course-cta {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: var(--transition);
}

.course-cta:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

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

.faq-item {
    background: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.blog-content h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

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

.read-more {
    color: var(--secondary-color);
    font-weight: bold;
}

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

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

.newsletter-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.newsletter-form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-box,
.contact-form-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info-box h2,
.contact-form-box h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-detail-item {
    margin-bottom: 2rem;
}

.contact-detail-item h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-detail-item a {
    color: var(--text-dark);
}

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

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

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

.submit-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

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

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

.map-placeholder img {
    width: 100%;
    max-width: 900px;
    margin: 0 auto 1rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

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

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
}

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

.modal-close-btn {
    margin-top: 2rem;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

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

.post-header {
    margin-bottom: 3rem;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 2rem;
}

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

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

.post-category {
    background: var(--bg-light);
    padding: 0.3rem 1rem;
    border-radius: 20px;
}

.post-container h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    line-height: 1.3;
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.post-content h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
}

.back-to-blog {
    color: var(--secondary-color);
    font-weight: bold;
}

.back-to-blog:hover {
    color: var(--primary-color);
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    z-index: 1500;
    padding: 2rem;
}

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

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

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

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

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

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

.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

.accept-btn:hover {
    background: #229954;
}

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

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid,
    .approach-grid,
    .testimonials-grid,
    .team-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .course-detail-card {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-container h1 {
        font-size: 2rem;
    }
}