/* ===================================
   CAREER FREEDOM HUB - SUCCESS STORIES
   Professional, story-driven blog styling
   =================================== */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #2d3748;
    background-color: #ffffff;
}

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

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #059669);
    z-index: 1000;
    transition: width 0.3s ease;
    width: 0%;
}

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-link {
    color: #1e293b;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.logo-link:hover {
    color: #10b981;
}

.logo i {
    color: #10b981;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
    border-radius: 6px;
}

.nav-link:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.nav-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #10b981;
    padding-left: 1.25rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: none;
    border: none;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background: #1e293b;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 1rem 0;
}

.nav-mobile.active {
    display: block;
}

.mobile-nav-item {
    border-bottom: 1px solid #f1f5f9;
}

.mobile-nav-toggle {
    width: 100%;
    padding: 1rem 2rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-toggle i {
    transition: transform 0.3s ease;
}

.mobile-nav-toggle.active i {
    transform: rotate(180deg);
}

.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f8fafc;
}

.mobile-dropdown.active {
    max-height: 300px;
}

.mobile-dropdown-item {
    display: block;
    padding: 0.75rem 2.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.mobile-dropdown-item:hover {
    background: #e2e8f0;
    color: #10b981;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-bottom: 1px solid #a7f3d0;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #059669;
    margin-bottom: 2rem;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Main Content */
.main-content {
    padding: 3rem 0;
    min-height: calc(100vh - 200px);
}

.content-section {
    margin-bottom: 4rem;
}

.content-section:last-child {
    margin-bottom: 2rem;
}

.content-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.2rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Typography */
h2 {
    font-size: 2.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #374151;
}

/* Success Stories */
.success-story {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    position: relative;
    overflow: hidden;
}

.success-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #059669);
}

.story-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.story-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    flex-shrink: 0;
}

.story-info h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.story-role {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.story-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.metric {
    background: #f0fdf4;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

.story-quote {
    background: #f0fdf4;
    border-left: 4px solid #22c55e;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    position: relative;
}

.story-quote::before {
    content: '"';
    position: absolute;
    top: -0.5rem;
    left: 1rem;
    font-size: 3rem;
    color: #22c55e;
    font-family: Georgia, serif;
    line-height: 1;
}

.story-quote blockquote {
    color: #166534;
    font-style: italic;
    font-size: 1.1rem;
    margin: 0;
    padding-left: 1rem;
    line-height: 1.6;
}

.story-timeline {
    background: #f8fafc;
    border-left: 4px solid #10b981;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.story-timeline h4 {
    color: #059669;
    margin-bottom: 1rem;
}

.story-timeline ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.story-timeline li {
    margin-bottom: 1rem;
    padding-left: 1rem;
    position: relative;
    line-height: 1.6;
}

.story-timeline li::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.story-timeline li:last-child {
    margin-bottom: 0;
}

.story-lessons {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.story-lessons h4 {
    color: #d97706;
    margin-bottom: 1rem;
}

.lesson-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.lesson-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid #f59e0b;
}

.lesson-item i {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.lesson-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Highlight Sections */
.highlight-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 4rem 0;
    border: 1px solid #f59e0b;
}

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

.pattern-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    border: 1px solid #fbbf24;
}

.pattern-icon {
    width: 60px;
    height: 60px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.pattern-card h3 {
    color: #92400e;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.pattern-card p {
    color: #374151;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Action Steps */
.action-takeaways {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #10b981;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.action-takeaways h2 {
    color: #047857;
    margin-bottom: 1rem;
}

.action-takeaways > p {
    text-align: center;
    color: #374151;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.action-steps {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.action-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border-left: 4px solid #10b981;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.step-number {
    background: #10b981;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    color: #065f46;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.step-content p {
    color: #374151;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.step-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.action-tag {
    background: #f0fdf4;
    color: #166534;
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #bbf7d0;
}

/* Statistics Overview */
.stats-overview {
    background: #1e293b;
    color: white;
    border-radius: 16px;
    padding: 3rem 2rem;
    margin: 4rem 0;
    text-align: center;
}

.stats-overview h2 {
    color: white;
    margin-bottom: 2rem;
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #10b981;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    color: #f1f5f9;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-detail {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: #10b981;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #10b981;
}

.footer-section p {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0;
}

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

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

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #10b981;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #10b981;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-container {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .story-header {
        flex-direction: column;
        text-align: center;
    }
    
    .story-metrics {
        justify-content: center;
    }
    
    .success-story {
        padding: 1.5rem;
    }
    
    .patterns-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .action-step {
        flex-direction: column;
        text-align: center;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-content {
        padding: 2rem 0;
    }
    
    .content-section {
        margin-bottom: 2rem;
    }
    
    .success-story {
        padding: 1rem;
        margin: 2rem 0;
    }
    
    .story-avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .action-takeaways, .highlight-section, .stats-overview {
        padding: 2rem 1rem;
    }
}