/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: rgb(31, 224, 199);
    color: #ffffff;
    line-height: 1.6;
    padding: 0;
    margin: 0;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, rgba(208, 31, 224, 0.9) 0%, rgba(31, 224, 199, 0.7) 100%);
    border: 4px solid rgb(208, 31, 224);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.subtitle-small {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Print Button */
.print-section {
    text-align: center;
    margin-bottom: 30px;
}

.print-btn {
    background-color: rgb(208, 31, 224);
    color: #ffffff;
    border: 3px solid rgb(31, 224, 199);
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.print-btn:hover {
    background-color: rgb(240, 50, 240);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.print-btn:active {
    transform: translateY(-1px);
}

/* Navigation Menu */
.navigation {
    background: linear-gradient(135deg, rgba(208, 31, 224, 0.8) 0%, rgba(31, 224, 199, 0.6) 100%);
    border: 4px solid rgb(208, 31, 224);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.nav-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    text-align: center;
}

.nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.nav-btn {
    background-color: rgba(31, 224, 199, 0.9);
    color: #000000;
    border: 3px solid rgb(208, 31, 224);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

.nav-btn:hover {
    background-color: rgb(31, 224, 199);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.25);
}

.nav-btn:active {
    transform: translateY(0);
}

/* Section Styles */
.section {
    background-color: rgba(31, 224, 199, 0.95);
    border: 4px solid rgb(208, 31, 224);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    color: #000000;
    border-bottom: 4px solid rgb(208, 31, 224);
    padding-bottom: 15px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

/* Subsection Styles */
.subsection {
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(31, 224, 199, 0.8);
    border-left: 5px solid rgb(208, 31, 224);
    border-radius: 8px;
}

.subsection-title {
    font-size: 20px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 12px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

.content-text {
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    line-height: 1.8;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
}

/* Table Styles */
.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.fees-table thead {
    background-color: rgb(208, 31, 224);
    border: 3px solid rgb(31, 224, 199);
}

.fees-table th {
    padding: 18px;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    border: 2px solid rgb(31, 224, 199);
}

.fees-table tbody tr {
    background-color: rgba(31, 224, 199, 0.7);
    border-bottom: 3px solid rgb(208, 31, 224);
    transition: all 0.3s ease;
}

.fees-table tbody tr:hover {
    background-color: rgba(31, 224, 199, 0.9);
    transform: scale(1.01);
}

.fees-table td {
    padding: 18px;
    font-size: 15px;
    font-weight: bold;
    color: #000000;
    border: 2px solid rgb(208, 31, 224);
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

/* Books List Styles */
.books-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.book-item {
    background-color: rgba(208, 31, 224, 0.1);
    border: 3px solid rgb(208, 31, 224);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.book-item:hover {
    background-color: rgba(208, 31, 224, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
}

.book-title {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin-bottom: 10px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
}

.book-author {
    font-size: 15px;
    font-weight: bold;
    color: rgb(208, 31, 224);
    margin-bottom: 8px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
}

.book-description {
    font-size: 14px;
    font-weight: bold;
    color: #000000;
    line-height: 1.6;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.2);
}

/* Flowchart Styles */
.flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 30px;
    padding: 30px;
    background-color: rgba(31, 224, 199, 0.7);
    border: 3px solid rgb(208, 31, 224);
    border-radius: 12px;
}

.flowchart-box {
    background-color: rgb(31, 224, 199);
    border: 3px solid rgb(208, 31, 224);
    border-radius: 10px;
    padding: 20px 30px;
    margin: 15px 0;
    font-size: 16px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    min-width: 280px;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.flowchart-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.flowchart-start {
    background: linear-gradient(135deg, rgb(31, 224, 199), rgb(50, 240, 220));
    border: 4px solid rgb(208, 31, 224);
}

.flowchart-process {
    background: linear-gradient(135deg, rgba(31, 224, 199, 0.85), rgba(50, 240, 220, 0.85));
    border: 3px solid rgb(208, 31, 224);
}

.flowchart-end {
    background: linear-gradient(135deg, rgb(208, 31, 224), rgb(240, 50, 240));
    border: 4px solid rgb(31, 224, 199);
    color: #ffffff;
}

.flowchart-decision {
    background-color: rgb(208, 31, 224);
    border: 3px solid rgb(31, 224, 199);
    border-radius: 50%;
    padding: 30px;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    text-align: center;
    min-width: 200px;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.flowchart-arrow {
    font-size: 24px;
    color: rgb(208, 31, 224);
    font-weight: bold;
    margin: 10px 0;
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, rgba(208, 31, 224, 0.9) 0%, rgba(31, 224, 199, 0.7) 100%);
    border: 4px solid rgb(208, 31, 224);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin-top: 40px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.footer-text {
    font-size: 15px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    margin: 8px 0;
}

/* Print Styles */
@media print {
    body {
        background-color: #ffffff;
    }

    .container {
        padding: 10px;
    }

    .print-btn {
        display: none;
    }

    .section {
        page-break-inside: avoid;
        border: 2px solid rgb(208, 31, 224);
    }

    .nav-btn:hover,
    .flowchart-box:hover,
    .book-item:hover,
    .fees-table tbody tr:hover {
        transform: none;
    }

    .header {
        border: 2px solid rgb(208, 31, 224);
    }

    .navigation {
        border: 2px solid rgb(208, 31, 224);
    }

    .flowchart {
        border: 2px solid rgb(208, 31, 224);
    }

    .footer {
        border: 2px solid rgb(208, 31, 224);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 26px;
    }

    .nav-buttons {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 12px;
    }

    .books-list {
        grid-template-columns: 1fr;
    }

    .fees-table {
        font-size: 14px;
    }

    .fees-table th,
    .fees-table td {
        padding: 12px;
    }

    .flowchart-box {
        min-width: 200px;
        padding: 15px 20px;
    }

    .flowchart-decision {
        min-width: 150px;
        min-height: 150px;
        padding: 20px;
    }

    .header {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 22px;
    }

    .section {
        padding: 15px;
    }

    .container {
        padding: 10px;
    }

    .print-btn {
        padding: 12px 25px;
        font-size: 16px;
    }

    .subsection {
        padding: 10px;
    }

    .flowchart-box {
        min-width: 150px;
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Smooth Transitions */
button, a {
    transition: all 0.3s ease;
}

/* Accessibility */
:focus {
    outline: 3px solid rgb(208, 31, 224);
    outline-offset: 2px;
}

button:focus {
    outline: 3px solid rgb(208, 31, 224);
}