/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Helvetica', sans-serif;
    background-color: rgb(101, 201, 10);
    color: #000000;
    line-height: 1.8;
    font-weight: bold;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgb(101, 201, 10);
}

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.header h1 {
    color: #1a5c1a;
    font-size: 2.5em;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header h2 {
    color: #2d7a2d;
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: bold;
}

.header h3 {
    color: #3d8a3d;
    font-size: 1.4em;
    font-weight: bold;
}

.print-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #2d7a2d;
    color: white;
    border: 3px solid rgb(206, 230, 168);
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-btn:hover {
    background-color: #1a5c1a;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Disclaimer */
.disclaimer {
    background-color: #ffeb3b;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    color: #000000;
}

/* Navigation Menu */
.navigation {
    background-color: rgba(255, 255, 255, 0.9);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.navigation h3 {
    color: #1a5c1a;
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: bold;
    text-align: center;
}

.navigation button {
    background-color: #3d8a3d;
    color: white;
    border: 2px solid rgb(206, 230, 168);
    padding: 10px 20px;
    margin: 5px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.navigation button:hover {
    background-color: #2d7a2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Main Content */
.content {
    background-color: rgba(255, 255, 255, 0.95);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Section Styles */
.section {
    margin-bottom: 40px;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.7);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.section h2 {
    color: #1a5c1a;
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 3px solid rgb(206, 230, 168);
    padding-bottom: 10px;
}

.section h3 {
    color: #2d7a2d;
    font-size: 1.5em;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: bold;
}

.section h4 {
    color: #3d8a3d;
    font-size: 1.3em;
    margin-top: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}

.section p {
    margin-bottom: 15px;
    text-align: justify;
    font-weight: bold;
    color: #000000;
    font-size: 1.05em;
}

.section ul {
    margin-left: 30px;
    margin-bottom: 15px;
}

.section ul li {
    margin-bottom: 12px;
    font-weight: bold;
    color: #000000;
    line-height: 1.7;
}

/* Principle Box */
.principle-box {
    background-color: #e8f5e9;
    border: 3px solid rgb(206, 230, 168);
    border-left: 6px solid #2d7a2d;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    font-style: italic;
}

.principle-box p {
    color: #1a5c1a;
    font-size: 1.15em;
    font-weight: bold;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-weight: bold;
}

table thead {
    background-color: #2d7a2d;
    color: white;
}

table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
    font-size: 1.1em;
    border: 2px solid rgb(206, 230, 168);
}

table td {
    padding: 12px;
    border: 2px solid rgb(206, 230, 168);
    font-weight: bold;
    color: #000000;
}

table tbody tr:nth-child(even) {
    background-color: #f1f8e9;
}

table tbody tr:hover {
    background-color: #dcedc8;
}

/* Flowchart Styles */
.flowchart {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
}

.flow-box {
    background-color: white;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    padding: 15px;
    margin: 15px auto;
    text-align: center;
    font-weight: bold;
    max-width: 600px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.start-box {
    background-color: #c8e6c9;
    border-color: #2d7a2d;
    border-width: 4px;
    font-size: 1.1em;
}

.decision-box {
    background-color: #fff9c4;
    border-color: #f57c00;
    border-width: 3px;
    font-size: 1.05em;
}

.result-box {
    background-color: #e1f5fe;
    border-color: #0277bd;
    border-width: 3px;
    font-size: 1em;
}

.end-box {
    background-color: #ffccbc;
    border-color: #d84315;
    border-width: 4px;
    font-size: 1.1em;
}

.arrow {
    text-align: center;
    font-size: 2em;
    color: #2d7a2d;
    font-weight: bold;
    margin: 5px 0;
}

.flow-branches {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    margin: 10px 0;
    flex-wrap: wrap;
}

.flow-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.arrow-side {
    font-size: 1.5em;
    color: #2d7a2d;
    font-weight: bold;
    margin: 10px;
}

/* Q&A Section Styles */
.qa-item {
    margin-bottom: 20px;
    border: 3px solid rgb(206, 230, 168);
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
}

.qa-question {
    width: 100%;
    background-color: #3d8a3d;
    color: white;
    border: none;
    padding: 18px 20px;
    text-align: left;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.qa-question:hover {
    background-color: #2d7a2d;
}

.qa-icon {
    margin-right: 15px;
    font-size: 1.3em;
}

.qa-answer {
    display: none;
    padding: 20px;
    background-color: #f1f8e9;
    border-top: 3px solid rgb(206, 230, 168);
    font-weight: bold;
}

.qa-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.qa-answer p {
    margin-bottom: 15px;
    font-weight: bold;
    color: #000000;
}

.qa-answer ul {
    margin-left: 25px;
}

.qa-answer ul li {
    margin-bottom: 10px;
    font-weight: bold;
    color: #000000;
}

/* Summary Section */
.summary {
    background-color: #e8f5e9;
    border: 4px solid rgb(206, 230, 168);
}

/* Footer */
.footer {
    background-color: rgba(255, 255, 255, 0.9);
    border: 4px solid rgb(206, 230, 168);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.footer p {
    color: #1a5c1a;
    font-weight: bold;
    margin: 8px 0;
    font-size: 1.05em;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
    }
    
    .container {
        background-color: white;
    }
    
    .print-btn,
    .navigation {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
        border: 2px solid #000;
    }
    
    .qa-answer {
        display: block !important;
    }
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .header h1 {
        font-size: 1.8em;
    }
    
    .header h2 {
        font-size: 1.3em;
    }
    
    .print-btn {
        position: static;
        display: block;
        margin: 15px auto 0;
        width: 90%;
    }
    
    .navigation button {
        display: block;
        width: 100%;
        margin: 8px 0;
    }
    
    .table-container {
        overflow-x: scroll;
    }
    
    table {
        font-size: 0.9em;
    }
    
    .flow-branches {
        flex-direction: column;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: #2d7a2d;
    color: white;
}