.page-title {
    background-image: url("../web-img/page-title/about.webp");
    height: 100vh;
    max-height: 500px;
}

.page-sec-header {
    border-bottom: 1px solid var(--lblack);
    padding-bottom: 10px;
    display: grid;
    grid-template-columns: 100%;
}

.sec-header-grid {
    display: grid;
    grid-template-columns: 30% 70%;
    gap: 0;
}

.sec-header-grid-nav {
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 20px;
    background: var(--black);
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sec-header-grid-nav p {
    font-size: 20px;
    font-weight: 600;
    color: var(--tc1);
}

.sec-header-grid-dtls {
    border-left: 1px solid var(--lblack);
    padding: 20px 0px 20px 20px;
    min-height: 400px;
}

.sec-header-grid-nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    gap: 0px;
}

.sec-header-grid-nav ul {
    padding: 0;
    list-style: none;
    margin-bottom: 15px;
}

.sec-header-grid-nav li {
    margin: 0;
    padding: 0;
}

.sec-header-grid-nav a {
    display: block;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
    line-height: 1.4;
    padding: 3px 0px;
}

.sec-header-grid-nav a:hover {
    color: var(--ltc1);
}

.sec-header-grid-nav a.active {
    color: var(--tc1);
}

.filter-btn {
    display: none;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid var(--lblack);
    border-radius: 6px;
    font-size: 16px;
    background-color: var(--black);
    color: var(--white);
    transition: 0.3s ease;
}

.filter-search {
    flex: 1;
    width: 100%;
    position: relative;
}

.filter-search input {
    width: 100%;
    padding: 11px 20px;
    border-radius: 0px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--black);
    border: 1px solid var(--tc1);
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--lblack);
    transition: background-color 0.3s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--lblack);
}

.search-result-item .result-title {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 4px;
}

.search-result-item .result-category {
    color: var(--ltc1);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-result-item .result-description {
    color: var(--gray);
    font-size: 13px;
    margin-top: 4px;
    line-height: 1.4;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--gray);
    font-style: italic;
}

.search-result-item.keyboard-selected {
    background: var(--tc1);
}

.search-highlight {
    color: var(--tc1);
    font-weight: 600;
}

.search-input:focus {
    outline: none;
    border-color: var(--tc1);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.search-input::placeholder {
    color: var(--gray);
}

.default-content {
    padding: 20px;
}

.default-content h2 {
    color: var(--tc1);
    margin-bottom: 15px;
}

.default-content p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.6;
}

.material-content {
    animation: fadeIn 0.5s ease;
}

.material-content h3 {
    color: var(--tc1);
    margin-bottom: 20px;
    font-size: 24px;
}

.material-content h4 {
    color: var(--white);
    margin: 20px 0 10px 0;
    font-size: 18px;
}

.material-content p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.material-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.material-content li {
    color: var(--gray);
    margin-bottom: 8px;
    line-height: 1.5;
}

.material-content img {
    width: 100%;
    height: auto;
    border: 1px solid var(--lblack);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-sec-header {
        padding: 15px 0;
        display: grid;
        grid-template-columns: 20% 80%;
    }

    .filter-btn {
        display: block;
        margin-right: 10px;
    }

    .filter-search {
        width: 100%;
        order: 3;
        flex-basis: 100%;
    }

    .sec-header-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sec-header-grid-nav {
        padding-top: 150px;
        padding-bottom: 100px;
        padding-left: 20px;
        padding-right: 20px;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        z-index: 1000;
        border-radius: 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .sec-header-grid-nav.mobile-open {
        left: 0;
    }

    .sec-header-grid-dtls {
        border-left: none;
        border-top: 1px solid var(--lblack);
        padding: 20px 0;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        display: none;
    }

    .mobile-overlay.active {
        display: block;
    }

    .page-title {
        padding-top: 100px;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .search-input {
        padding: 10px 15px;
        font-size: 14px;
    }

    .sec-header-grid-nav a {
        padding: 5px 0px;
        font-size: 15px;
    }

    .sec-header-grid-nav p {
        font-size: 18px;
    }
}
