/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: rgb(101, 201, 150);
    color: #000000;
    line-height: 1.8;
    font-weight: bold;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, rgb(50, 100, 55), rgb(70, 140, 85));
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    border: 5px solid rgb(50, 100, 55);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.header h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.header h2 {
    font-size: 2em;
    font-weight: bold;
    color: #ffeb3b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

/* Print Button */
.print-section {
    text-align: center;
    margin-bottom: 25px;
}

.print-btn {
    background: rgb(50, 100, 55);
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    padding: 15px 40px;
    border: 3px solid rgb(30, 70, 35);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.print-btn:hover {
    background: rgb(70, 140, 85);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Navigation Menu */
.navigation {
    background: rgb(80, 160, 120);
    border: 4px solid rgb(50, 100, 55);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.navigation h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: underline;
}

.nav-btn {
    display: block;
    width: 100%;
    background: rgb(50, 100, 55);
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    padding: 15px 20px;
    margin: 10px 0;
    border: 3px solid rgb(30, 70, 35);
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    background: rgb(70, 140, 85);
    transform: translateX(10px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.4);
}

/* Main Content */
.content {
    background: rgb(101, 201, 150);
}

.section {
    background: rgb(110, 210, 160);
    border: 5px solid rgb(50, 100, 55);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 35px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.section h2 {
    font-size: 2.2em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(50, 100, 55);
    text-transform: uppercase;
}

.subsection {
    margin-bottom: 30px;
    background: rgb(120, 220, 170);
    padding: 25px;
    border: 3px solid rgb(50, 100, 55);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.subsection h3 {
    font-size: 1.6em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 18px;
}

.subsection h4 {
    font-size: 1.4em;
    font-weight: bold;
    color: #000000;
    margin-top: 20px;
    margin-bottom: 15px;
}

.subsection p {
    font-size: 1.15em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-align: justify;
}

.subsection ul {
    list-style-position: inside;
    margin-left: 20px;
}

.subsection li {
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* Flowchart Styles */
.flowchart {
    margin-top: 30px;
}

.flowchart h3 {
    font-size: 1.7em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 25px;
    text-align: center;
}

.flowchart-container {
    background: rgb(90, 180, 130);
    padding: 35px;
    border: 4px solid rgb(50, 100, 55);
    border-radius: 10px;
    text-align: center;
}

.flow-box {
    background: rgb(220, 255, 230);
    border: 4px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 20px;
    margin: 15px auto;
    font-weight: bold;
    font-size: 1.15em;
    color: #000000;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.flow-box.start {
    background: rgb(255, 235, 59);
    border-color: rgb(200, 150, 0);
    font-size: 1.3em;
}

.flow-box.end {
    background: rgb(255, 138, 128);
    border-color: rgb(200, 50, 50);
    font-size: 1.2em;
}

.flow-box.success {
    background: rgb(129, 255, 164);
    border-color: rgb(50, 150, 80);
    font-size: 1.2em;
}

.flow-box.decision {
    background: rgb(255, 204, 128);
    border-color: rgb(200, 120, 50);
    border-radius: 50px;
}

.flow-arrow {
    font-size: 2.5em;
    font-weight: bold;
    color: rgb(50, 100, 55);
    margin: 10px 0;
}

.flow-arrow-side {
    font-size: 1.8em;
    font-weight: bold;
    color: rgb(50, 100, 55);
    margin: 15px 0;
}

.flow-split {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.flow-branch {
    flex: 1;
    margin: 0 15px;
}

.flow-split-2 {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
}

.flow-branch-2 {
    flex: 1;
    margin: 0 15px;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-top: 25px;
    background: rgb(120, 220, 170);
    padding: 25px;
    border: 4px solid rgb(50, 100, 55);
    border-radius: 10px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.comparison-table thead {
    background: rgb(50, 100, 55);
    color: #ffffff;
}

.comparison-table th {
    padding: 18px;
    font-weight: bold;
    font-size: 1.2em;
    text-align: left;
    border: 3px solid rgb(30, 70, 35);
}

.comparison-table td {
    padding: 15px;
    font-weight: bold;
    font-size: 1.05em;
    color: #000000;
    border: 2px solid rgb(50, 100, 55);
}

.comparison-table tbody tr:nth-child(odd) {
    background: rgb(220, 255, 230);
}

.comparison-table tbody tr:nth-child(even) {
    background: rgb(200, 245, 210);
}

.comparison-table tbody tr:hover {
    background: rgb(255, 255, 200);
    transform: scale(1.02);
    transition: all 0.3s ease;
}

/* Case Study Styles */
.case-study {
    background: rgb(120, 220, 170);
    border: 4px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.case-study h3 {
    font-size: 1.7em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    text-decoration: underline;
}

.case-details {
    background: rgb(130, 230, 180);
    padding: 25px;
    border: 3px solid rgb(50, 100, 55);
    border-radius: 8px;
}

.case-details h4 {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    margin-top: 25px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgb(50, 100, 55);
    padding-bottom: 10px;
}

.case-details ul {
    list-style-position: inside;
    margin-left: 20px;
}

.case-details li {
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    line-height: 1.8;
}

.case-details p {
    font-size: 1.15em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-align: justify;
}

/* Example Box */
.example-box {
    background: rgb(120, 220, 170);
    border: 4px solid rgb(50, 100, 55);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.example-box h3 {
    font-size: 1.8em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 20px;
    text-align: center;
    text-decoration: underline;
}

.example-box h4 {
    font-size: 1.5em;
    font-weight: bold;
    color: #000000;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Q&A Styles */
.qa-container {
    background: rgb(110, 210, 160);
    padding: 25px;
    border: 4px solid rgb(50, 100, 55);
    border-radius: 10px;
}

.qa-item {
    margin-bottom: 20px;
    background: rgb(130, 230, 180);
    border: 3px solid rgb(50, 100, 55);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.question-btn {
    width: 100%;
    background: rgb(70, 140, 85);
    color: #ffffff;
    font-weight: bold;
    font-size: 1.2em;
    padding: 20px 25px;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.question-btn:hover {
    background: rgb(50, 100, 55);
}

.q-icon {
    color: #ffeb3b;
    font-weight: bold;
    margin-right: 15px;
}

.toggle-icon {
    font-size: 1.8em;
    font-weight: bold;
    color: #ffeb3b;
    transition: transform 0.3s ease;
}

.toggle-icon.rotate {
    transform: rotate(45deg);
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: rgb(220, 255, 230);
    padding: 0 25px;
}

.answer.show {
    max-height: 2000px;
    padding: 25px;
    border-top: 3px solid rgb(50, 100, 55);
}

.answer p {
    font-size: 1.1em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
}

.answer ul {
    list-style-position: inside;
    margin-left: 20px;
}

.answer li {
    font-size: 1.05em;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: rgb(50, 100, 55);
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    border: 4px solid rgb(30, 70, 35);
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.footer p {
    font-size: 1.15em;
    font-weight: bold;
    margin: 10px 0;
}

/* Print Styles */
@media print {
    body {
        background-color: #ffffff;
    }
    
    .print-section,
    .navigation {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        border: 2px solid #000000;
    }
    
    .header {
        background: #333333;
        color: #ffffff;
    }
    
    .flow-box,
    .subsection,
    .case-study,
    .example-box,
    .qa-item {
        page-break-inside: avoid;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .header h2 {
        font-size: 1.4em;
    }
    
    .section h2 {
        font-size: 1.6em;
    }
    
    .subsection h3 {
        font-size: 1.3em;
    }
    
    .flow-split,
    .flow-split-2 {
        flex-direction: column;
    }
    
    .flow-branch,
    .flow-branch-2 {
        margin: 10px 0;
    }
    
    .comparison-table {
        font-size: 0.9em;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgb(101, 201, 150);
}

::-webkit-scrollbar-thumb {
    background: rgb(50, 100, 55);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(70, 140, 85);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}