/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgb(240, 248, 255), rgb(220, 235, 250));
    color: rgb(33, 33, 33);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(70, 130, 180);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, rgb(70, 130, 180), rgb(100, 149, 237));
    color: rgb(255, 255, 255);
    padding: 40px 30px;
    text-align: center;
    border-bottom: 5px solid rgb(30, 70, 120);
}

.header h1 {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.header h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: rgb(255, 255, 224);
}

.disclaimer {
    background-color: rgb(255, 99, 71);
    color: rgb(255, 255, 255);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 15px;
    display: inline-block;
}

/* Print Button */
.print-section {
    background-color: rgb(245, 245, 245);
    padding: 15px;
    text-align: center;
    border-bottom: 2px solid rgb(200, 200, 200);
}

.print-btn {
    background: linear-gradient(135deg, rgb(60, 179, 113), rgb(46, 139, 87));
    color: rgb(255, 255, 255);
    border: none;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.print-btn:hover {
    background: linear-gradient(135deg, rgb(46, 139, 87), rgb(34, 109, 67));
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Navigation Menu */
.nav-menu {
    background: linear-gradient(135deg, rgb(240, 248, 255), rgb(230, 240, 250));
    padding: 25px;
    border-bottom: 3px solid rgb(70, 130, 180);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-menu h3 {
    font-size: 24px;
    font-weight: bold;
    color: rgb(30, 70, 120);
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.nav-btn {
    background: linear-gradient(135deg, rgb(100, 149, 237), rgb(70, 130, 180));
    color: rgb(255, 255, 255);
    border: 2px solid rgb(30, 70, 120);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgb(70, 130, 180), rgb(50, 100, 150));
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}

/* Main Content */
.main-content {
    padding: 30px;
}

.content-section {
    margin-bottom: 50px;
    padding: 30px;
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(70, 130, 180);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: rgb(30, 70, 120);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(100, 149, 237);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sub-title {
    font-size: 20px;
    font-weight: bold;
    color: rgb(70, 130, 180);
    margin-bottom: 15px;
}

/* Concept Box */
.concept-box {
    background: linear-gradient(135deg, rgb(230, 245, 255), rgb(220, 240, 255));
    border: 3px solid rgb(100, 149, 237);
    border-left: 8px solid rgb(70, 130, 180);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}

.concept-box h3 {
    font-size: 22px;
    font-weight: bold;
    color: rgb(30, 70, 120);
    margin-bottom: 15px;
}

.concept-box h4 {
    font-size: 18px;
    font-weight: bold;
    color: rgb(70, 130, 180);
    margin-top: 20px;
    margin-bottom: 10px;
}

.concept-box p {
    font-size: 16px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 12px;
    line-height: 1.8;
}

.concept-box ul {
    margin-left: 25px;
    margin-top: 10px;
}

.concept-box ul li {
    font-size: 15px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Problem Box */
.problem-box {
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(255, 140, 0);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.problem-box h3 {
    font-size: 20px;
    font-weight: bold;
    color: rgb(255, 100, 0);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid rgb(255, 140, 0);
}

.problem-box p {
    font-size: 16px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 12px;
    line-height: 1.7;
}

.problem-box strong {
    color: rgb(30, 70, 120);
    font-weight: bold;
}

.problem-box ul {
    margin-left: 25px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.problem-box ul li {
    font-size: 15px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Solution Box */
.solution {
    background: linear-gradient(135deg, rgb(240, 255, 240), rgb(230, 250, 230));
    border: 3px solid rgb(60, 179, 113);
    border-radius: 10px;
    padding: 25px;
    margin-top: 20px;
}

.solution h4 {
    font-size: 20px;
    font-weight: bold;
    color: rgb(34, 139, 34);
    margin-bottom: 20px;
    text-decoration: underline;
}

.solution p {
    font-size: 15px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 12px;
    line-height: 1.7;
}

.solution strong {
    color: rgb(30, 70, 120);
    font-weight: bold;
}

/* Tables */
.solution-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(70, 130, 180);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.solution-table th {
    background: linear-gradient(135deg, rgb(70, 130, 180), rgb(100, 149, 237));
    color: rgb(255, 255, 255);
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid rgb(30, 70, 120);
}

.solution-table td {
    padding: 12px 15px;
    border: 2px solid rgb(200, 200, 200);
    font-size: 15px;
    font-weight: bold;
    color: rgb(50, 50, 50);
}

.solution-table tr:nth-child(even) {
    background-color: rgb(240, 248, 255);
}

.solution-table tr:hover {
    background-color: rgb(220, 235, 250);
}

/* Answer Box */
.answer-box {
    background: linear-gradient(135deg, rgb(255, 250, 205), rgb(255, 245, 180));
    border: 3px solid rgb(255, 215, 0);
    border-left: 8px solid rgb(255, 165, 0);
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

.answer-box p {
    font-size: 17px;
    font-weight: bold;
    color: rgb(139, 69, 19);
    margin-bottom: 8px;
    line-height: 1.7;
}

.answer-box strong {
    color: rgb(205, 92, 0);
    font-size: 18px;
}

/* Formula */
.formula {
    background-color: rgb(255, 248, 220);
    border: 2px solid rgb(255, 200, 100);
    border-radius: 8px;
    padding: 12px 20px;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    font-weight: bold;
    color: rgb(70, 50, 30);
    margin: 15px 0;
}

/* Flowchart Container */
.flowchart-container {
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(70, 130, 180);
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.flowchart-container svg text {
    font-weight: bold;
}

/* Mind Map Container */
.mindmap-container {
    background-color: rgb(255, 255, 255);
    border: 3px solid rgb(70, 130, 180);
    border-radius: 10px;
    padding: 30px;
    margin: 20px 0;
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mindmap-container svg text {
    font-weight: bold;
}

/* Roadmap Container */
.roadmap-container {
    background-color: rgb(255, 255, 255);
    padding: 20px;
}

.roadmap-item {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, rgb(240, 248, 255), rgb(230, 240, 250));
    border: 3px solid rgb(70, 130, 180);
    border-left: 8px solid rgb(100, 149, 237);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.roadmap-item:hover {
    transform: translateX(10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.roadmap-number {
    background: linear-gradient(135deg, rgb(255, 165, 0), rgb(255, 140, 0));
    color: rgb(255, 255, 255);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    margin-right: 25px;
    flex-shrink: 0;
    border: 3px solid rgb(205, 110, 0);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.roadmap-content {
    flex: 1;
}

.roadmap-content h3 {
    font-size: 22px;
    font-weight: bold;
    color: rgb(30, 70, 120);
    margin-bottom: 12px;
}

.roadmap-content p {
    font-size: 16px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 10px;
    line-height: 1.7;
}

.roadmap-content ul {
    margin-left: 20px;
    margin-top: 10px;
}

.roadmap-content ul li {
    font-size: 15px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 6px;
}

.roadmap-connector {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    color: rgb(100, 149, 237);
    margin: 10px 0;
}

/* Key Points Summary */
.summary-section {
    background: linear-gradient(135deg, rgb(255, 250, 240), rgb(255, 245, 230));
    border: 3px solid rgb(255, 140, 0);
}

.key-points h3 {
    font-size: 20px;
    font-weight: bold;
    color: rgb(205, 92, 0);
    margin-top: 20px;
    margin-bottom: 15px;
    border-bottom: 3px solid rgb(255, 165, 0);
    padding-bottom: 8px;
}

.key-points ul, .key-points ol {
    margin-left: 30px;
    margin-top: 10px;
}

.key-points li {
    font-size: 16px;
    font-weight: bold;
    color: rgb(50, 50, 50);
    margin-bottom: 10px;
    line-height: 1.7;
}

.key-points strong {
    color: rgb(30, 70, 120);
    font-weight: bold;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgb(70, 130, 180), rgb(100, 149, 237));
    color: rgb(255, 255, 255);
    padding: 30px;
    text-align: center;
    border-top: 5px solid rgb(30, 70, 120);
}

.footer p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Print Styles */
@media print {
    body {
        background: white;
        padding: 0;
    }
    
    .container {
        border: none;
        box-shadow: none;
    }
    
    .print-section {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
        border: 2px solid rgb(100, 100, 100);
        margin-bottom: 30px;
    }
    
    .problem-box {
        page-break-inside: avoid;
    }
    
    .solution {
        page-break-inside: avoid;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .header h1 {
        font-size: 28px;
    }
    
    .header h2 {
        font-size: 18px;
    }
    
    .nav-buttons {
        flex-direction: column;
    }
    
    .nav-btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .roadmap-item {
        flex-direction: column;
    }
    
    .roadmap-number {
        margin-bottom: 15px;
    }
    
    .flowchart-container svg,
    .mindmap-container svg {
        width: 100%;
        height: auto;
    }
}