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

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

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

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

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

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

h3 {
    font-size: 1.5rem;
    color: #2c5282;
}

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #4299e1 0%, #2c5282 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2a4365 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #2c5282;
    border: 2px solid #2c5282;
}

.btn-secondary:hover {
    background: #2c5282;
    color: white;
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.25rem;
    color: #2c5282;
}

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

.nav-menu a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5282;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: #4299e1;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #2c5282;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #e6fffa 0%, #bee3f8 100%);
    padding: 4rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #2c5282 0%, #4299e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #4a5568;
}

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

/* Features Section */
.features {
    padding: 5rem 0;
    background: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
}

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

.feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f7fafc;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    margin-bottom: 1rem;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4299e1 0%, #2c5282 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Content Sections */
.about-content, .contact-section, .testimonials-section, .courses-section, .learning-modules, .team-section {
    padding: 4rem 0;
}

.content-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.content-text ul {
    list-style: none;
    padding-left: 0;
}

.content-text li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

/* Courses */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.course-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

.course-card.featured {
    border: 2px solid #4299e1;
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #48bb78;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2c5282;
    margin: 1rem 0;
}

.course-duration {
    color: #718096;
    margin-bottom: 1.5rem;
}

.course-features {
    list-style: none;
    text-align: left;
    margin: 1.5rem 0;
}

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

.course-features li::before {
    content: '✓';
    color: #48bb78;
    font-weight: bold;
    position: absolute;
    left: 0;
}

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

.module-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-3px);
}

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

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
}

.testimonial-avatar {
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.rating {
    margin-bottom: 1rem;
}

blockquote {
    font-style: italic;
    margin: 1rem 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #718096;
}

/* Contact Form */
.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

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

.contact-form {
    max-width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d3748;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2d3748;
    color: white;
    padding: 1rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-banner.hidden {
    transform: translateY(100%);
}

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

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

.cookie-buttons button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

#accept-all {
    background: #48bb78;
    color: white;
}

#accept-all:hover {
    background: #38a169;
}

#necessary-only {
    background: #718096;
    color: white;
}

#necessary-only:hover {
    background: #4a5568;
}

#customize {
    background: transparent;
    color: white;
    border: 1px solid white;
}

#customize:hover {
    background: white;
    color: #2d3748;
}

/* Footer */
footer {
    background: #2d3748;
    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 h4 {
    margin-bottom: 1rem;
    color: #4299e1;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

/* Blog Article Styles */
.blog-article {
    background: white;
}

.article-header {
    background: linear-gradient(135deg, #4299e1 0%, #2c5282 100%);
    color: white;
    padding: 2rem 0;
}

.breadcrumb {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.article-category {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: 600;
}

.article-date, .read-time {
    opacity: 0.8;
}

.article-header h1 {
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-lead {
    font-size: 1.25rem;
    opacity: 0.9;
    line-height: 1.6;
}

.article-image {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: #f7fafc;
}

.article-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 3rem 0;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.article-body {
    max-width: none;
}

.intro-text {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1.7;
}

.article-body h2 {
    color: #2c5282;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
}

.article-body h3 {
    color: #2c5282;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.article-body h4 {
    color: #4a5568;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.2rem;
}

.article-body ul, .article-body ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.article-sidebar {
    background: #f7fafc;
    padding: 2rem;
    border-radius: 12px;
    height: fit-content;
    position: sticky;
    top: 2rem;
}

.author-box {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.author-avatar {
    margin-bottom: 1rem;
}

.author-box h4 {
    color: #2c5282;
    margin-bottom: 0.5rem;
}

.author-box p {
    font-size: 0.9rem;
    color: #718096;
    line-height: 1.5;
}

.related-articles {
    margin-bottom: 2rem;
}

.related-articles h4 {
    color: #2c5282;
    margin-bottom: 1rem;
}

.related-articles ul {
    list-style: none;
    padding: 0;
}

.related-articles li {
    margin-bottom: 0.75rem;
}

.related-articles a {
    color: #4299e1;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
}

.related-articles a:hover {
    text-decoration: underline;
}

.tags {
    margin-bottom: 2rem;
}

.tags h4 {
    color: #2c5282;
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: #e2e8f0;
    color: #2d3748;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #4299e1;
    color: white;
    cursor: pointer;
}

/* Special content boxes */
.tip-box, .warning-box, .challenge-box, .emergency-box, .cta-box, 
.technique-box, .color-guide, .dos-donts, .example-box, .empathy-tips,
.anatomy-box {
    background: #f7fafc;
    border-left: 4px solid #4299e1;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background: #fef5e7;
    border-left-color: #f56565;
}

.challenge-box {
    background: #e6fffa;
    border-left-color: #38b2ac;
}

.emergency-box {
    background: #fed7d7;
    border-left-color: #f56565;
}

.cta-box {
    background: linear-gradient(135deg, #e6fffa 0%, #bee3f8 100%);
    border-left-color: #48bb78;
    text-align: center;
    padding: 2rem;
}

.cta-box h3 {
    margin-bottom: 1rem;
}

.cta-box .btn-primary,
.cta-box .btn-secondary {
    margin: 0.5rem;
}

.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: transparent;
    border: none;
    padding: 0;
}

.dos, .donts {
    background: #f7fafc;
    padding: 1.5rem;
    border-radius: 8px;
}

.dos {
    border-left: 4px solid #48bb78;
}

.donts {
    border-left: 4px solid #f56565;
}