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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Navigation Styles */
.navbar {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 1rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f3f4f6;
    color: #2563eb;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: #ffffff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu .nav-link {
        padding: 1rem;
        display: block;
        width: 100%;
    }

    .nav-dropdown .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #f9fafb;
        margin-top: 0.5rem;
        border-radius: 0;
    }

    .nav-dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Article Content */
.article-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.content-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 0.5rem;
}

.content-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
}

.content-section ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #374151;
}

/* Comparison Grid */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.comparison-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.comparison-card.sabbatical {
    border-color: #10b981;
}

.comparison-card.quitting {
    border-color: #f59e0b;
}

.comparison-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.comparison-card.sabbatical h3 {
    color: #10b981;
}

.comparison-card.quitting h3 {
    color: #f59e0b;
}

.pros-cons {
    display: grid;
    gap: 1.5rem;
}

.pros h4, .cons h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.pros h4 {
    color: #059669;
}

.cons h4 {
    color: #dc2626;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
}

.pros li, .cons li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
    color: #374151;
}

/* Financial Scenarios */
.financial-scenarios {
    margin: 2rem 0;
}

.scenario-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left: 4px solid #3b82f6;
}

.scenario-card h3 {
    color: #3b82f6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.scenario-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 1rem;
}

.sabbatical-cost, .quitting-cost {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
}

.sabbatical-cost h4 {
    color: #10b981;
    margin-bottom: 1rem;
}

.quitting-cost h4 {
    color: #f59e0b;
    margin-bottom: 1rem;
}

.difference {
    text-align: center;
    padding: 1rem;
    background: #dbeafe;
    border-radius: 8px;
    font-size: 1.1rem;
    color: #1e40af;
}

/* Examples Grid */
.examples-grid {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.example-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-left: 4px solid;
}

.example-card.success {
    border-left-color: #10b981;
}

.example-card.balanced {
    border-left-color: #3b82f6;
}

.example-card.warning {
    border-left-color: #f59e0b;
}

.example-card h3 {
    margin-bottom: 1rem;
}

.example-card.success h3 {
    color: #10b981;
}

.example-card.balanced h3 {
    color: #3b82f6;
}

.example-card.warning h3 {
    color: #f59e0b;
}

.example-details p {
    margin-bottom: 0.75rem;
}

.example-details ul {
    margin: 0.75rem 0;
}

/* Decision Framework */
.decision-framework {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.framework-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 4px solid;
}

.framework-card.choose-sabbatical {
    border-top-color: #10b981;
}

.framework-card.choose-quitting {
    border-top-color: #f59e0b;
}

.framework-card h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.framework-card.choose-sabbatical h3 {
    color: #10b981;
}

.framework-card.choose-quitting h3 {
    color: #f59e0b;
}

.framework-card ul {
    list-style: none;
    padding: 0;
}

.framework-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.framework-card li:hover {
    background-color: #f3f4f6;
}

.framework-card i {
    color: #10b981;
    margin-top: 0.2rem;
}

/* Negotiation Steps */
.negotiation-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
}

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

.step-number {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h3 {
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.step-content ul {
    margin: 0;
    padding-left: 1rem;
}

.step-content li {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* Alternatives Grid */
.alternatives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.alternative-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.alternative-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.alternative-card h3 {
    color: #3b82f6;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.alternative-card i {
    font-size: 1.2rem;
}

.alternative-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Boxes */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
}

.cta-box h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #3b82f6;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 0.5rem;
}

.cta-button:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.cta-button.secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.cta-button.secondary:hover {
    background: #ffffff;
    color: #3b82f6;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq-container {
    margin: 2rem 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    background: #f8fafc;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e5e7eb;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    font-size: 1.1rem;
    color: #1f2937;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #6b7280;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 300px;
}

.faq-answer p {
    color: #374151;
    line-height: 1.6;
    margin: 0;
}

.faq-answer a {
    color: #3b82f6;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Next Steps */
.next-steps {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.step-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.step-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon i {
    font-size: 1.2rem;
}

.step-text h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.step-text p {
    color: #6b7280;
    margin: 0;
    font-size: 0.95rem;
}

.step-text a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.step-text a:hover {
    text-decoration: underline;
}

/* Takeaway Section */
.takeaway {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid #3b82f6;
    margin: 3rem 0;
}

.takeaway-content h2 {
    color: #1f2937;
    border: none;
    padding: 0;
    margin-bottom: 1rem;
}

.takeaway-content p {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 1rem;
}

.takeaway-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

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

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

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .scenario-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .decision-framework {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .negotiation-steps {
        grid-template-columns: 1fr;
    }

    .alternatives-grid {
        grid-template-columns: 1fr;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .content-section li {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .next-steps {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .comparison-card,
    .scenario-card,
    .example-card,
    .framework-card {
        padding: 1.5rem;
    }

    .step-card,
    .alternative-card {
        padding: 1.25rem;
    }

    .cta-box {
        padding: 1.5rem;
    }

    .faq-question,
    .faq-item.active .faq-answer {
        padding: 1.25rem;
    }
}