/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(31, 224, 199);
    color: #000000;
    line-height: 1.8;
    font-weight: bold;
}

/* Print Button */
.print-btn-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.print-btn {
    background-color: rgb(208, 31, 224);
    color: white;
    font-weight: bold;
    padding: 12px 25px;
    border: 3px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.print-btn:hover {
    background-color: rgb(180, 20, 200);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 5px solid rgb(208, 31, 224);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 48px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: 22px;
    font-weight: bold;
    color: #1a1a1a;
}

/* Navigation */
.navigation {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 30px;
    margin-bottom: 40px;
    border: 5px solid rgb(208, 31, 224);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.navigation h2 {
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 25px;
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.nav-buttons button {
    background-color: rgb(208, 31, 224);
    color: white;
    font-weight: bold;
    padding: 15px 20px;
    border: 3px solid #000000;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-buttons button:hover {
    background-color: rgb(180, 20, 200);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.content-section {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 35px;
    margin-bottom: 35px;
    border: 5px solid rgb(208, 31, 224);
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.content-section h2 {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(208, 31, 224);
}

.content-section h3 {
    font-size: 24px;
    font-weight: bold;
    color: #1a1a1a;
    margin-top: 25px;
    margin-bottom: 18px;
}

.content-section p {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 18px;
    color: #000000;
    text-align: justify;
}

.content-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.content-section ul li {
    font-size: 17px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.content-section ul li::before {
    content: "▶";
    position: absolute;
    left: 0;
    color: rgb(208, 31, 224);
    font-weight: bold;
    font-size: 18px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: rgba(255, 255, 255, 0.4);
    border: 4px solid rgb(208, 31, 224);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

table thead {
    background-color: rgb(208, 31, 224);
    color: white;
}

table th {
    padding: 18px;
    text-align: left;
    font-weight: bold;
    font-size: 18px;
    border: 3px solid #000000;
}

table td {
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    color: #000000;
    border: 2px solid rgb(208, 31, 224);
}

table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.2);
}

table tbody tr:hover {
    background-color: rgba(208, 31, 224, 0.2);
    transition: background-color 0.3s ease;
}

/* Flowchart */
.flowchart {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-step {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.5);
    border: 4px solid rgb(208, 31, 224);
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.flow-step:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.flow-number {
    background-color: rgb(208, 31, 224);
    color: white;
    font-weight: bold;
    font-size: 28px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    border: 3px solid #000000;
    flex-shrink: 0;
}

.flow-content {
    flex: 1;
}

.flow-content strong {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    display: block;
    margin-bottom: 8px;
}

.flow-content p {
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
    margin: 0;
}

.flow-arrow {
    font-size: 36px;
    font-weight: bold;
    color: rgb(208, 31, 224);
    margin: 5px 0;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 20px;
    border: 3px solid rgb(208, 31, 224);
    border-radius: 10px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.faq-question {
    width: 100%;
    background-color: rgb(208, 31, 224);
    color: white;
    font-weight: bold;
    font-size: 18px;
    padding: 18px 25px;
    border: none;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgb(180, 20, 200);
}

.toggle-icon {
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background-color: rgba(255, 255, 255, 0.3);
}

.faq-answer.active {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    font-size: 17px;
    font-weight: bold;
    color: #000000;
    margin: 0;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 5px solid rgb(208, 31, 224);
    border-radius: 15px;
    margin-top: 40px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

footer p {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    margin: 8px 0;
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
    }
    
    .print-btn-container {
        display: none;
    }
    
    .navigation {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
        border: 2px solid black;
        background-color: white;
    }
    
    .faq-answer {
        max-height: none !important;
        padding: 20px 25px !important;
    }
    
    table {
        page-break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .nav-buttons {
        grid-template-columns: 1fr;
    }
    
    .content-section h2 {
        font-size: 26px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .flow-step {
        width: 100%;
        padding: 15px;
    }
    
    .flow-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    table {
        font-size: 14px;
    }
    
    table th, table td {
        padding: 10px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Color */
::selection {
    background-color: rgb(208, 31, 224);
    color: white;
}