/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: #000;
}

h2 {
    font-size: 2rem;
    color: #34495e;
}

h3 {
    font-size: 1.5rem;
    color: #34495e;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2980b9;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.btn-primary {
    background-color: #e74c3c;
    color: white;
}

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

.btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background-color: #7f8c8d;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-outline:hover {
    background-color: #e74c3c;
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
}

/* Header Styles */
.header {
    background-color: #000;
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 40px;
    width: 40px;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f39c12;
}

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

.nav-links a {
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f39c12;
}

/* Main Content */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
}

/* Banner Section */
.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

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

.banner-text h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.banner-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ecf0f1;
}

.banner-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    display: block;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.page-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: block;
}

/* Grid Layouts */
.info-grid,
.services-grid,
.testimonials-grid,
.blog-grid,
.values-grid,
.team-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Card Styles */
.info-card,
.service-card,
.testimonial-card,
.blog-card,
.value-card,
.team-member,
.article-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover,
.service-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.value-card:hover,
.team-member:hover,
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-icon,
.value-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Testimonial Styles */
.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    border-top: 1px solid #ecf0f1;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: #000;
}

.testimonial-author span {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Blog Styles */
.blog-card h3 {
    margin-bottom: 1rem;
}

.blog-card h3 a {
    color: #000;
}

.blog-card h3 a:hover {
    color: #e74c3c;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.read-more {
    color: #e74c3c;
    font-weight: 500;
}

.blog-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Article Styles */
.article-full {
    max-width: 800px;
    margin: 0 auto;
}

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

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.article-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #7f8c8d;
}

.article-featured-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 2rem auto;
    display: block;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #000;
}

.article-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #34495e;
}

.article-content ul,
.article-content ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content pre {
    background-color: #000;
    color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.article-content code {
    background-color: #ecf0f1;
    color: #e74c3c;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.article-content pre code {
    background-color: transparent;
    color: #ecf0f1;
    padding: 0;
}

.article-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #ecf0f1;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.author-info h3 {
    margin-bottom: 0.5rem;
}

.author-info p {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Form Styles */
.subscription {
    background-color: #34495e;
    color: white;
    text-align: center;
}

.subscription h2 {
    color: white;
    margin-bottom: 1rem;
}

.subscription p {
    color: #ecf0f1;
    margin-bottom: 2rem;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

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

.form-group input {
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    background-color: white;
    color: #333;
}

.form-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

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

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

.newsletter-signup {
    text-align: center;
    padding: 4rem 0;
    background-color: #ecf0f1;
}

/* Contact Section */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: #000;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    color: #3498db;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #ecf0f1;
}

/* Footer */
.footer {
    background-color: #000;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #f39c12;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ecf0f1;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    color: white;
    padding: 1rem;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.cookie-banner.hidden {
    display: none;
}

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

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: #333;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
}

.cookie-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.5rem;
}

.cookie-option p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 2rem;
}

/* About Page Styles */
.about-intro {
    background-color: white;
    padding: 4rem 0;
    text-align: center;
}

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

.mission-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-icon {
    width: 150px;
    height: 150px;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #ecf0f1;
}

.timeline-year {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e74c3c;
    min-width: 80px;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

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

.member-avatar {
    text-align: center;
    margin-bottom: 1rem;
}

.avatar-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.member-role {
    color: #e74c3c;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-cta {
    text-align: center;
    padding: 4rem 0;
    background-color: #ecf0f1;
}

/* Legal Pages */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #000;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e74c3c;
}

.legal-section h3 {
    color: #34495e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background-color: #ecf0f1;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.cookie-table {
    overflow-x: auto;
    margin: 1rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.cookie-table th,
.cookie-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.cookie-table th {
    background-color: #34495e;
    color: white;
    font-weight: 600;
}

.cookie-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

#manage-cookies {
    margin: 1rem 0;
}

/* Thanks Page */
.thanks-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.thanks-content {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.thanks-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.success-icon {
    width: 100px;
    height: 100px;
    color: #27ae60;
}

.thanks-content h1 {
    text-align: center;
    color: #27ae60;
    margin-bottom: 2rem;
}

.thanks-message {
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: #000;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1rem 0;
}

.contact-item {
    padding: 0.5rem 0;
}

.social-follow {
    margin: 2rem 0;
}

.social-link {
    display: inline-block;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    background-color: #ecf0f1;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #d5dbdb;
}

.thanks-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.thanks-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.sidebar-section h3 {
    color: #000;
    margin-bottom: 1rem;
}

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

.blog-links li {
    margin-bottom: 0.5rem;
}

.blog-links a {
    color: #3498db;
    font-size: 0.9rem;
}

.course-preview {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.course-preview:last-child {
    border-bottom: none;
}

.course-preview h4 {
    color: #000;
    margin-bottom: 0.5rem;
}

.course-preview p {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .banner-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .banner-text h1 {
        font-size: 2rem;
    }
    
    .info-grid,
    .services-grid,
    .testimonials-grid,
    .blog-grid,
    .values-grid,
    .team-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-navigation {
        flex-direction: column;
    }
    
    .thanks-container {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .thanks-actions {
        flex-direction: column;
    }
    
    .subscription-form {
        gap: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .banner {
        padding: 40px 0;
    }
    
    .banner-text h1 {
        font-size: 1.8rem;
    }
    
    .info-card,
    .service-card,
    .testimonial-card,
    .blog-card,
    .value-card,
    .team-member,
    .article-card {
        padding: 1.5rem;
    }
    
    .thanks-content {
        padding: 2rem;
    }
    
    .sidebar-section {
        padding: 1.5rem;
    }
    
    .article-full {
        padding: 0 1rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .article-content pre {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .legal-content {
        padding: 0 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .modal,
    .thanks-sidebar,
    .social-links,
    .thanks-actions,
    .article-navigation {
        display: none;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .article-content pre {
        background-color: #f5f5f5;
        color: #333;
        border: 1px solid #ddd;
    }
}
