/* ========================================
   INCOME TAX ACT 2025 - COMPLETE STYLES
   ======================================== */

/* Global 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) 0%, rgb(230, 240, 250) 100%);
    color: rgb(25, 25, 50);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* ======================================== 
   HEADER STYLES
   ======================================== */
.header {
    background: linear-gradient(135deg, rgb(41, 128, 185) 0%, rgb(52, 73, 94) 100%);
    color: rgb(255, 255, 255);
    padding: 40px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid rgb(52, 152, 219);
}

.main-title {
    font-size: 3em;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: rgb(236, 240, 241);
}

.act-info {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 15px;
    color: rgb(189, 195, 199);
}

.disclaimer {
    background-color: rgba(231, 76, 60, 0.9);
    color: rgb(255, 255, 255);
    padding: 15px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1em;
    margin-top: 20px;
    border: 2px solid rgb(192, 57, 43);
}

/* ======================================== 
   NAVIGATION STYLES
   ======================================== */
.navigation {
    background: linear-gradient(135deg, rgb(46, 204, 113) 0%, rgb(39, 174, 96) 100%);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    border: 3px solid rgb(39, 174, 96);
}

.nav-btn {
    background-color: rgb(255, 255, 255);
    color: rgb(39, 174, 96);
    border: 3px solid rgb(39, 174, 96);
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-btn:hover,
.nav-btn.active {
    background-color: rgb(39, 174, 96);
    color: rgb(255, 255, 255);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* ======================================== 
   CONTENT SECTIONS
   ======================================== */
.content-section {
    display: none;
    background-color: rgb(255, 255, 255);
    padding: 35px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid rgb(52, 152, 219);
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-description {
    font-size: 1.15em;
    font-weight: 600;
    color: rgb(52, 73, 94);
    margin-bottom: 25px;
    text-align: center;
}

/* ======================================== 
   STATS CONTAINER
   ======================================== */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-box {
    background: linear-gradient(135deg, rgb(155, 89, 182) 0%, rgb(142, 68, 173) 100%);
    color: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(142, 68, 173, 0.3);
    border: 3px solid rgb(142, 68, 173);
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(142, 68, 173, 0.4);
}

.stat-box h2 {
    font-size: 1.5em;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-number {
    font-size: 3.5em;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    font-weight: 700;
}

/* ======================================== 
   SECTION HEADINGS
   ======================================== */
.section-heading {
    font-size: 2.5em;
    font-weight: 900;
    color: rgb(41, 128, 185);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 5px solid rgb(52, 152, 219);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sub-heading {
    font-size: 1.8em;
    font-weight: 800;
    color: rgb(52, 73, 94);
    margin: 25px 0 15px 0;
    text-transform: uppercase;
}

/* ======================================== 
   OVERVIEW SECTION
   ======================================== */
.overview-section {
    margin-top: 30px;
}

.overview-text {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.8;
    color: rgb(52, 73, 94);
    margin-bottom: 25px;
    text-align: justify;
}

/* ======================================== 
   FEATURES GRID
   ======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.feature-card {
    background: linear-gradient(135deg, rgb(52, 152, 219) 0%, rgb(41, 128, 185) 100%);
    color: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    border: 3px solid rgb(41, 128, 185);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(52, 152, 219, 0.4);
}

.feature-card h4 {
    font-size: 1.4em;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.6;
}

/* ======================================== 
   QUICK ACCESS PANEL
   ======================================== */
.quick-access {
    background: linear-gradient(135deg, rgb(241, 196, 15) 0%, rgb(243, 156, 18) 100%);
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    border: 4px solid rgb(243, 156, 18);
    box-shadow: 0 8px 20px rgba(243, 156, 18, 0.3);
}

.quick-access .sub-heading {
    color: rgb(255, 255, 255);
    margin-top: 0;
}

.quick-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.quick-btn {
    background-color: rgb(255, 255, 255);
    color: rgb(230, 126, 34);
    border: 3px solid rgb(255, 255, 255);
    padding: 15px 20px;
    font-size: 1.05em;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background-color: rgb(230, 126, 34);
    color: rgb(255, 255, 255);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

/* ======================================== 
   SEARCH CONTAINER
   ======================================== */
.search-container {
    margin: 40px 0;
    text-align: center;
    background: linear-gradient(135deg, rgb(236, 240, 241) 0%, rgb(255, 255, 255) 100%);
    padding: 30px;
    border-radius: 12px;
    border: 4px solid rgb(52, 152, 219);
}

.search-box {
    width: 70%;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: 700;
    border: 4px solid rgb(52, 152, 219);
    border-radius: 10px;
    margin-right: 10px;
    background-color: rgb(255, 255, 255);
    color: rgb(52, 73, 94);
}

.search-box:focus {
    outline: none;
    border-color: rgb(41, 128, 185);
    box-shadow: 0 0 15px rgba(41, 128, 185, 0.3);
}

.search-btn {
    padding: 18px 35px;
    font-size: 1.2em;
    font-weight: 800;
    background: linear-gradient(135deg, rgb(46, 204, 113) 0%, rgb(39, 174, 96) 100%);
    color: rgb(255, 255, 255);
    border: 3px solid rgb(39, 174, 96);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.search-btn:hover {
    background: linear-gradient(135deg, rgb(39, 174, 96) 0%, rgb(34, 153, 84) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

/* ======================================== 
   CHAPTERS CONTAINER
   ======================================== */
.chapters-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.chapter-card {
    background: linear-gradient(135deg, rgb(230, 126, 34) 0%, rgb(211, 84, 0) 100%);
    color: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
    border: 3px solid rgb(211, 84, 0);
}

.chapter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(230, 126, 34, 0.5);
}

.chapter-number {
    font-size: 2em;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.chapter-title {
    font-size: 1.3em;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.4;
}

.section-count {
    font-size: 1.1em;
    font-weight: 700;
    opacity: 0.9;
}

/* ======================================== 
   SECTIONS CONTAINER
   ======================================== */
.sections-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.section-btn {
    background: linear-gradient(135deg, rgb(52, 152, 219) 0%, rgb(41, 128, 185) 100%);
    color: rgb(255, 255, 255);
    padding: 20px;
    border: 3px solid rgb(41, 128, 185);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 800;
    font-size: 1.1em;
    text-align: center;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.3);
}

.section-btn:hover {
    background: linear-gradient(135deg, rgb(41, 128, 185) 0%, rgb(31, 97, 141) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(52, 152, 219, 0.5);
}

/* ======================================== 
   FILTER BAR
   ======================================== */
.filter-bar {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 20px;
    font-size: 1.1em;
    font-weight: 700;
    border: 3px solid rgb(52, 152, 219);
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    color: rgb(52, 73, 94);
    cursor: pointer;
}

.search-input {
    flex: 1;
    padding: 12px 20px;
    font-size: 1.1em;
    font-weight: 700;
    border: 3px solid rgb(52, 152, 219);
    border-radius: 8px;
    background-color: rgb(255, 255, 255);
    color: rgb(52, 73, 94);
}

.search-input:focus {
    outline: none;
    border-color: rgb(41, 128, 185);
    box-shadow: 0 0 10px rgba(41, 128, 185, 0.3);
}

.reset-btn {
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: 700;
    background: linear-gradient(135deg, rgb(231, 76, 60) 0%, rgb(192, 57, 43) 100%);
    color: rgb(255, 255, 255);
    border: 3px solid rgb(192, 57, 43);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

/* ======================================== 
   MODAL STYLES
   ======================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(236, 240, 241) 100%);
    margin: 3% auto;
    padding: 40px;
    border: 5px solid rgb(52, 152, 219);
    border-radius: 15px;
    width: 85%;
    max-width: 1100px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-btn {
    color: rgb(231, 76, 60);
    float: right;
    font-size: 3em;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: rgb(192, 57, 43);
    transform: scale(1.2);
}

.section-detail-header {
    font-size: 2.2em;
    font-weight: 900;
    color: rgb(41, 128, 185);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 4px solid rgb(52, 152, 219);
    text-transform: uppercase;
}

.section-detail-content {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.8;
    color: rgb(52, 73, 94);
    margin: 20px 0;
}

.example-section,
.caselaw-section {
    background: linear-gradient(135deg, rgb(241, 196, 15) 0%, rgb(243, 156, 18) 100%);
    padding: 25px;
    margin: 25px 0;
    border-radius: 10px;
    border: 4px solid rgb(243, 156, 18);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.3);
}

.example-heading,
.caselaw-heading {
    font-size: 1.6em;
    font-weight: 900;
    color: rgb(255, 255, 255);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.example-text,
.caselaw-text {
    font-size: 1.1em;
    font-weight: 700;
    color: rgb(255, 255, 255);
    line-height: 1.7;
}

/* ======================================== 
   TABLE STYLES
   ======================================== */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    background-color: rgb(255, 255, 255);
    border: 4px solid rgb(52, 152, 219);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

th {
    background: linear-gradient(135deg, rgb(52, 152, 219) 0%, rgb(41, 128, 185) 100%);
    color: rgb(255, 255, 255);
    padding: 18px;
    text-align: left;
    font-weight: 900;
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    padding: 15px;
    border-bottom: 2px solid rgb(189, 195, 199);
    font-weight: 700;
    font-size: 1.1em;
    color: rgb(52, 73, 94);
}

tr:hover {
    background-color: rgb(236, 240, 241);
}

/* ======================================== 
   MIND MAP STYLES
   ======================================== */
.mindmap-container {
    background-color: rgb(255, 255, 255);
    padding: 30px;
    border-radius: 12px;
    border: 4px solid rgb(52, 152, 219);
    overflow-x: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mindmap-legend {
    background: linear-gradient(135deg, rgb(236, 240, 241) 0%, rgb(255, 255, 255) 100%);
    padding: 25px;
    margin-top: 20px;
    border-radius: 10px;
    border: 3px solid rgb(52, 152, 219);
}

.mindmap-legend p {
    font-size: 1.1em;
    font-weight: 700;
    margin: 8px 0;
    color: rgb(52, 73, 94);
}

/* ======================================== 
   SCHEDULE STYLES
   ======================================== */
.schedules-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.schedule-card {
    background: linear-gradient(135deg, rgb(155, 89, 182) 0%, rgb(142, 68, 173) 100%);
    color: rgb(255, 255, 255);
    padding: 25px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(155, 89, 182, 0.3);
    border: 3px solid rgb(142, 68, 173);
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(155, 89, 182, 0.5);
}

.schedule-title {
    font-size: 1.6em;
    font-weight: 900;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.schedule-desc {
    font-size: 1.1em;
    font-weight: 700;
    line-height: 1.6;
}

/* ======================================== 
   FOOTER STYLES
   ======================================== */
.footer {
    background: linear-gradient(135deg, rgb(52, 73, 94) 0%, rgb(44, 62, 80) 100%);
    color: rgb(255, 255, 255);
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    border: 3px solid rgb(44, 62, 80);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer p {
    font-weight: 700;
    font-size: 1.1em;
    margin: 5px 0;
}

/* ======================================== 
   PRINT STYLES
   ======================================== */
@media print {
    .navigation,
    .search-container,
    .filter-bar,
    .quick-access {
        display: none;
    }

    .content-section {
        display: block !important;
        page-break-after: always;
    }

    body {
        background: white;
    }

    .section-btn,
    .chapter-card {
        page-break-inside: avoid;
    }
}

/* ======================================== 
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    .main-title {
        font-size: 2em;
    }

    .section-heading {
        font-size: 1.8em;
    }

    .search-box {
        width: 100%;
        margin-bottom: 15px;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .navigation {
        flex-direction: column;
    }

    .nav-btn {
        width: 100%;
    }

    .quick-buttons {
        grid-template-columns: 1fr;
    }
}