/* Elementor Educational Resource - Professional Stylesheet */

/* ============================================
   GLOBAL STYLES AND RESET
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    background: linear-gradient(135deg, rgb(30, 60, 114) 0%, rgb(42, 82, 152) 50%, rgb(26, 54, 93) 100%);
    color: rgb(255, 255, 255);
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(20, 40, 70, 0.95);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 20px;
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 3em;
    color: rgb(255, 215, 0);
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: 2.2em;
    color: rgb(100, 200, 255);
    border-bottom: 4px solid rgb(255, 140, 0);
    padding-bottom: 15px;
    margin-top: 50px;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.8em;
    color: rgb(255, 180, 100);
    margin-top: 35px;
    margin-bottom: 20px;
}

h4 {
    font-size: 1.4em;
    color: rgb(150, 220, 255);
    margin-top: 25px;
    margin-bottom: 15px;
}

p {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.05em;
    color: rgb(240, 240, 240);
}

strong {
    font-weight: bold;
    color: rgb(255, 255, 255);
}

a {
    color: rgb(100, 200, 255);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

a:hover {
    color: rgb(255, 215, 0);
    text-decoration: underline;
}

/* ============================================
   HEADER SECTION
   ============================================ */

header {
    background: linear-gradient(135deg, rgb(50, 100, 180) 0%, rgb(70, 120, 200) 100%);
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 4px solid rgb(255, 140, 0);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.subtitle {
    font-size: 1.3em;
    color: rgb(255, 240, 200);
    font-weight: bold;
    margin-bottom: 25px;
}

.print-btn {
    background: linear-gradient(135deg, rgb(76, 175, 80) 0%, rgb(56, 142, 60) 100%);
    color: white;
    padding: 15px 35px;
    border: 3px solid rgb(46, 125, 50);
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.print-btn:hover {
    background: linear-gradient(135deg, rgb(56, 142, 60) 0%, rgb(76, 175, 80) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ============================================
   NAVIGATION - TABLE OF CONTENTS
   ============================================ */

.table-of-contents {
    background: linear-gradient(135deg, rgb(40, 70, 120) 0%, rgb(50, 80, 140) 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 40px;
    border: 4px solid rgb(100, 200, 255);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.table-of-contents h2 {
    margin-top: 0;
    font-size: 1.8em;
    color: rgb(255, 215, 0);
    border-bottom: 3px solid rgb(255, 140, 0);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.table-of-contents li {
    margin: 0;
}

.nav-btn {
    width: 100%;
    background: linear-gradient(135deg, rgb(33, 150, 243) 0%, rgb(21, 101, 192) 100%);
    color: white;
    padding: 15px 20px;
    border: 3px solid rgb(13, 71, 161);
    border-radius: 10px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(135deg, rgb(21, 101, 192) 0%, rgb(33, 150, 243) 100%);
    transform: translateX(10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

.content-section {
    background-color: rgba(30, 50, 80, 0.8);
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 15px;
    border: 3px solid rgb(70, 130, 180);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.highlight-box {
    background: linear-gradient(135deg, rgb(255, 152, 0) 0%, rgb(245, 124, 0) 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
    border: 3px solid rgb(230, 81, 0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.highlight-box p {
    color: rgb(255, 255, 255);
    font-weight: bold;
    margin: 0;
}

/* ============================================
   LISTS
   ============================================ */

ul, ol {
    margin-left: 25px;
    margin-bottom: 25px;
    font-weight: bold;
}

ul li, ol li {
    margin-bottom: 15px;
    color: rgb(240, 240, 240);
    line-height: 1.8;
}

ul li strong, ol li strong {
    color: rgb(255, 215, 0);
}

/* ============================================
   USE CASE BOXES
   ============================================ */

.use-case-box {
    background: linear-gradient(135deg, rgb(50, 80, 130) 0%, rgb(40, 60, 100) 100%);
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    border: 3px solid rgb(100, 150, 220);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.example-box {
    background: linear-gradient(135deg, rgb(60, 90, 140) 0%, rgb(50, 70, 110) 100%);
    padding: 30px;
    border-radius: 12px;
    margin: 25px 0;
    border: 3px solid rgb(120, 170, 240);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* ============================================
   TABLES
   ============================================ */

.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

table {
    width: 100%;
    border-collapse: collapse;
    background-color: rgb(30, 50, 80);
    border: 3px solid rgb(100, 200, 255);
}

thead {
    background: linear-gradient(135deg, rgb(50, 100, 180) 0%, rgb(70, 120, 200) 100%);
}

th {
    padding: 18px;
    text-align: left;
    font-weight: bold;
    color: rgb(255, 255, 255);
    border: 2px solid rgb(70, 130, 180);
    font-size: 1.1em;
    text-transform: uppercase;
}

td {
    padding: 15px;
    border: 2px solid rgb(70, 130, 180);
    font-weight: bold;
    color: rgb(240, 240, 240);
}

tbody tr {
    transition: background-color 0.3s ease;
}

tbody tr:nth-child(even) {
    background-color: rgba(50, 80, 130, 0.5);
}

tbody tr:hover {
    background-color: rgba(100, 150, 220, 0.3);
}

td strong {
    color: rgb(255, 215, 0);
}

/* ============================================
   FLOWCHART CONTAINER
   ============================================ */

.flowchart-container {
    background-color: rgb(240, 245, 250);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 4px solid rgb(100, 200, 255);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
}

.flowchart-container svg {
    display: block;
    margin: 0 auto;
}

.flowchart-container text {
    font-weight: bold;
}

/* ============================================
   MIND MAP CONTAINER
   ============================================ */

.mindmap-container {
    background-color: rgb(240, 245, 250);
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    border: 4px solid rgb(255, 140, 0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    overflow-x: auto;
}

.mindmap-container svg {
    display: block;
    margin: 0 auto;
}

.mindmap-container text {
    font-weight: bold;
}

/* ============================================
   Q&A SECTION
   ============================================ */

.qa-item {
    background: linear-gradient(135deg, rgb(50, 80, 130) 0%, rgb(40, 60, 100) 100%);
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgb(100, 150, 220);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.question-btn {
    width: 100%;
    background: linear-gradient(135deg, rgb(76, 175, 80) 0%, rgb(56, 142, 60) 100%);
    color: white;
    padding: 20px 25px;
    border: none;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.question-btn:hover {
    background: linear-gradient(135deg, rgb(56, 142, 60) 0%, rgb(76, 175, 80) 100%);
}

.toggle-icon {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.answer {
    display: none;
    padding: 25px;
    background-color: rgba(30, 50, 80, 0.9);
    border-top: 3px solid rgb(70, 130, 180);
}

.answer.active {
    display: block;
}

.answer p {
    color: rgb(240, 240, 240);
    font-weight: bold;
    line-height: 1.8;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
    background: linear-gradient(135deg, rgb(40, 70, 120) 0%, rgb(30, 50, 90) 100%);
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
    border: 4px solid rgb(100, 200, 255);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.footer-content p {
    color: rgb(240, 240, 240);
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-content a {
    color: rgb(255, 215, 0);
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    body {
        background: white;
        color: black;
    }
    
    .container {
        background-color: white;
        box-shadow: none;
    }
    
    .print-btn {
        display: none;
    }
    
    .table-of-contents {
        display: none;
    }
    
    .content-section {
        page-break-inside: avoid;
        border: 2px solid black;
        background-color: white;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        text-shadow: none;
    }
    
    p, li, td, th {
        color: black;
    }
    
    .question-btn {
        display: none;
    }
    
    .answer {
        display: block !important;
        background-color: white;
        border: 2px solid black;
    }
    
    table {
        border: 2px solid black;
    }
    
    th, td {
        border: 1px solid black;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.6em;
    }
    
    h3 {
        font-size: 1.3em;
    }
    
    header {
        padding: 25px;
    }
    
    .table-of-contents ul {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        padding: 25px;
    }
    
    table {
        font-size: 0.85em;
    }
    
    th, td {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .print-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    
    .content-section {
        padding: 20px;
    }
    
    table {
        font-size: 0.75em;
    }
}

/* ============================================
   SCROLL BEHAVIOR
   ============================================ */

html {
    scroll-behavior: smooth;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

:focus {
    outline: 3px solid rgb(255, 215, 0);
    outline-offset: 2px;
}

button:focus {
    outline: 3px solid rgb(255, 215, 0);
}

/* ============================================
   CUSTOM ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   END OF STYLESHEET
   ============================================ */