/* Global Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; color: #333; background: #f9f9f9; }

/* Header */
.header { background: white; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { font-size: 24px; font-weight: 700; color: #667eea; text-decoration: none; }
.nav-menu { display: flex; gap: 30px; list-style: none; }
.nav-menu a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s; }
.nav-menu a:hover { color: #667eea; }
.nav-btn { background: #667eea; color: white; padding: 10px 24px; border-radius: 6px; text-decoration: none; transition: background 0.3s; }
.nav-btn:hover { background: #5568d3; }

/* Hero Section */
.hero { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 80px 20px; text-align: center; }
.hero h1 { font-size: 42px; margin-bottom: 15px; }
.hero p { font-size: 18px; margin-bottom: 40px; opacity: 0.95; max-width: 700px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: white; color: #667eea; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: transform 0.3s; }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: rgba(255,255,255,0.2); color: white; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: 600; border: 2px solid white; }
.btn-secondary:hover { background: rgba(255,255,255,0.3); }

/* Sections */
.section { padding: 80px 20px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; font-size: 36px; margin-bottom: 50px; color: #333; }

/* Page Header — used on all sub-pages (flush against navbar, consistent with .hero) */
.page-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 80px 20px; text-align: center; }
.page-header h1 { font-size: 42px; margin-bottom: 15px; }
.page-header p { font-size: 18px; opacity: 0.95; max-width: 700px; margin: 0 auto; }
.page-header + .container { padding-top: 40px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); text-align: center; transition: transform 0.3s; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 6px 30px rgba(0,0,0,0.12); }
.service-icon { font-size: 48px; margin-bottom: 20px; }
.service-card h3 { font-size: 22px; margin-bottom: 15px; color: #333; }
.service-card p { color: #666; line-height: 1.7; }

/* Team Section */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.team-card { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); padding: 30px; text-align: center; }
.team-card h3 { font-size: 22px; margin: 20px 0 10px; color: #333; }
.team-card .title { color: #667eea; font-weight: 600; margin-bottom: 15px; }
.team-card p { color: #666; line-height: 1.7; }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.blog-card { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.3s; }
.blog-card:hover { transform: translateY(-5px); }
.blog-card-content { padding: 25px; }
.blog-category { color: #667eea; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.blog-card h3 { font-size: 20px; margin-bottom: 15px; color: #333; }
.blog-card p { color: #666; margin-bottom: 15px; line-height: 1.6; }
.blog-meta { color: #999; font-size: 14px; }

/* Blog Post Cards */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.post-card { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); overflow: hidden; transition: transform 0.3s; text-decoration: none; display: block; color: inherit; }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 6px 30px rgba(0,0,0,0.12); }
.post-card-image { width: 100%; height: 200px; object-fit: cover; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.post-card-content { padding: 25px; }
.post-category { color: #667eea; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.post-card h2 { font-size: 22px; margin-bottom: 15px; color: #333; }
.post-card p { color: #666; margin-bottom: 15px; line-height: 1.6; }
.post-meta { color: #999; font-size: 14px; }

/* Blog Layout */
.blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 40px; }
@media (max-width: 768px) { .blog-layout { grid-template-columns: 1fr; } }

/* Sidebar */
.sidebar-widget { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }
.sidebar-widget h3 { font-size: 20px; margin-bottom: 20px; color: #333; }
.category-list { list-style: none; }
.category-list li { margin-bottom: 12px; }
.category-list a { text-decoration: none; color: #666; display: flex; justify-content: space-between; padding: 8px 12px; border-radius: 6px; transition: all 0.3s; }
.category-list a:hover, .category-list a.active { background: #f0f0ff; color: #667eea; }
.category-count { background: #f0f0f0; padding: 2px 8px; border-radius: 12px; font-size: 12px; }

/* Post Header */
.post-header { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }
.post-featured-image { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 30px; }
.post-category { color: #667eea; font-weight: 600; margin-bottom: 15px; text-decoration: none; display: inline-block; }
.post-category:hover { text-decoration: underline; }
.post-header h1 { font-size: 36px; margin-bottom: 20px; color: #333; line-height: 1.3; }
.post-meta { color: #999; font-size: 15px; }

/* Post Content */
.post-content { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }
.post-content p { margin-bottom: 20px; line-height: 1.8; }
.post-content h2 { margin: 30px 0 15px; color: #333; }
.post-content h3 { margin: 25px 0 12px; color: #333; }
.post-content ul, .post-content ol { margin: 20px 0 20px 30px; }
.post-content li { margin-bottom: 10px; }

/* Comments Section */
.comments-section { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }
.comments-section h2 { font-size: 28px; margin-bottom: 30px; color: #333; }
.comment { padding: 20px; border-left: 3px solid #667eea; background: #f9f9f9; margin-bottom: 20px; border-radius: 6px; }
.comment-author { font-weight: 600; color: #333; margin-bottom: 5px; }
.comment-date { color: #999; font-size: 14px; margin-bottom: 10px; }
.comment-content { color: #666; line-height: 1.7; }

/* Comment Form */
.comment-form { margin-top: 40px; padding-top: 40px; border-top: 2px solid #f0f0f0; }
.comment-form h3 { font-size: 24px; margin-bottom: 20px; color: #333; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #555; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-size: 15px; font-family: inherit; }
.form-group textarea { min-height: 120px; resize: vertical; }
.submit-btn { background: #667eea; color: white; padding: 12px 30px; border: none; border-radius: 6px; cursor: pointer; font-size: 16px; font-weight: 600; }
.submit-btn:hover { background: #5568d3; }

/* Related Posts */
.related-posts { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.related-posts h2 { font-size: 28px; margin-bottom: 25px; color: #333; }
.related-post { padding: 15px; border-bottom: 1px solid #f0f0f0; transition: background 0.3s; }
.related-post:last-child { border-bottom: none; }
.related-post:hover { background: #f9f9f9; }
.related-post a { text-decoration: none; color: #333; font-weight: 600; }
.related-post a:hover { color: #667eea; }
.related-post-meta { color: #999; font-size: 14px; margin-top: 5px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span { padding: 10px 15px; border-radius: 6px; text-decoration: none; color: #333; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.pagination a:hover { background: #667eea; color: white; }
.pagination .active { background: #667eea; color: white; }

/* CTA Section */
.cta-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; text-align: center; }
.cta-section h2 { font-size: 36px; margin-bottom: 20px; }
.cta-section p { font-size: 18px; margin-bottom: 30px; opacity: 0.95; }

/* Empty State */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h2 { font-size: 24px; color: #666; margin-bottom: 10px; }
.empty-state p { color: #999; }

/* Messages */
.success { background: #d4edda; color: #155724; padding: 12px; border-radius: 6px; margin-bottom: 20px; }
.error { background: #f8d7da; color: #721c24; padding: 12px; border-radius: 6px; margin-bottom: 20px; }
.info { background: #d1ecf1; color: #0c5460; padding: 12px; border-radius: 6px; margin-bottom: 20px; }
.warning { background: #fff3cd; color: #856404; padding: 12px; border-radius: 6px; margin-bottom: 20px; }

/* Cards */
.card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); margin-bottom: 30px; }

/* Footer */
.footer { background: #2c3e50; color: white; padding: 40px 20px; text-align: center; margin-top: 60px; }
.footer-links { display: flex; gap: 30px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap; }
.footer-links a { color: white; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Blog post page - wider container */
.container.post-container { max-width: 1200px; }

/* About Page Specific Styles */
.stats-section { padding: 80px 20px; background: #f9f9f9; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; text-align: center; }
.stat-number { font-size: 56px; font-weight: 700; color: #667eea; margin-bottom: 10px; }
.stat-label { font-size: 18px; color: #666; }

.story-section { padding: 80px 20px; }
.story-content { max-width: 900px; margin: 0 auto; }
.story-content p { font-size: 18px; line-height: 1.8; color: #555; margin-bottom: 20px; }
.story-content h3 { font-size: 24px; margin: 40px 0 20px; color: #333; }

.values-section { padding: 80px 20px; background: #f9f9f9; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.value-card { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.value-icon { font-size: 48px; margin-bottom: 20px; display: block; }
.value-card h3 { font-size: 22px; margin-bottom: 15px; color: #333; }
.value-card p { color: #666; line-height: 1.8; }

.team-section { padding: 80px 20px; }
.team-member { background: white; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); padding: 40px; text-align: center; transition: transform 0.3s; }
.team-member:hover { transform: translateY(-5px); }
.team-avatar { width: 120px; height: 120px; border-radius: 50%; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; color: white; font-size: 48px; font-weight: 700; margin: 0 auto 20px; }
.team-member h3 { font-size: 24px; margin-bottom: 10px; color: #333; }
.team-title { color: #667eea; font-weight: 600; margin-bottom: 15px; }
.team-bio { color: #666; line-height: 1.7; }

.mission-section { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 80px 20px; text-align: center; }
.mission-content { max-width: 800px; margin: 0 auto; }
.mission-section h2 { font-size: 36px; margin-bottom: 30px; }
.mission-section p { font-size: 20px; line-height: 1.8; opacity: 0.95; }

.cta-btn { background: #667eea; color: white; padding: 15px 40px; border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-block; transition: background 0.3s; }
.cta-btn:hover { background: #5568d3; }

/* Services Page Specific Styles */
.services-section { margin-bottom: 80px; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.service-features { list-style: none; margin-top: 20px; }
.service-features li { padding: 8px 0; color: #555; display: flex; align-items: center; }
.service-features li:before { content: "✓"; color: #4CAF50; font-weight: bold; margin-right: 10px; font-size: 18px; }

/* Pricing Section */
.pricing-section { background: #f9f9f9; padding: 80px 20px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; }
.pricing-card { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); text-align: center; position: relative; transition: transform 0.3s; }
.pricing-card:hover { transform: translateY(-5px); }
.pricing-card.featured { border: 3px solid #667eea; }
.pricing-card.featured:before { content: "POPULAR"; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #667eea; color: white; padding: 5px 20px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.pricing-service { color: #667eea; font-weight: 600; margin-bottom: 10px; font-size: 14px; text-transform: uppercase; }
.pricing-card h3 { font-size: 24px; margin-bottom: 20px; color: #333; }
.pricing-amount { font-size: 48px; font-weight: 700; color: #667eea; margin-bottom: 10px; }
.pricing-amount span { font-size: 20px; color: #999; }
.pricing-duration { color: #999; margin-bottom: 30px; }
.pricing-description { color: #666; margin-bottom: 30px; line-height: 1.7; }
.pricing-btn { background: #667eea; color: white; padding: 12px 30px; border-radius: 6px; text-decoration: none; display: inline-block; font-weight: 600; transition: background 0.3s; }
.pricing-btn:hover { background: #5568d3; }
