.fa-envelope:before {
    content: "\f0e0"
}

.fa-facebook-f:before {
    content: "\f39e"
}

.fa-headset:before {
    content: "\f590"
}

.fa-instagram:before {
    content: "\f16d"
}

.fa-linkedin-in:before {
    content: "\f0e1"
}

.fa-phone-alt:before {
    content: "\f879"
}

.fa-shield-alt:before {
    content: "\f3ed"
}

.fa-tree:before {
    content: "\f1bb"
}

.fa-youtube:before {
    content: "\f167"
}

@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('https://bcs-bus.com/bcs-assets/webfonts/fa-brands-400.eot');
    src: url('https://bcs-bus.com/bcs-assets/webfonts/fa-brands-400.eot?#iefix') format("embedded-opentype"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-brands-400.woff2') format("woff2"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-brands-400.woff') format("woff"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-brands-400.ttf') format("truetype"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-brands-400.svg#fontawesome') format("svg")
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url('https://bcs-bus.com/bcs-assets/webfonts/fa-regular-400.eot');
    src: url('https://bcs-bus.com/bcs-assets/webfonts/fa-regular-400.eot?#iefix') format("embedded-opentype"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-regular-400.woff2') format("woff2"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-regular-400.woff') format("woff"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-regular-400.ttf') format("truetype"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-regular-400.svg#fontawesome') format("svg")
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url('https://bcs-bus.com/bcs-assets/webfonts/fa-solid-900.eot');
    src: url('https://bcs-bus.com/bcs-assets/webfonts/fa-solid-900.eot?#iefix') format("embedded-opentype"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-solid-900.woff2') format("woff2"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-solid-900.woff') format("woff"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-solid-900.ttf') format("truetype"), url('https://bcs-bus.com/bcs-assets/webfonts/fa-solid-900.svg#fontawesome') format("svg")
}

@font-face {
    font-display: swap;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 400;
    src: url('https://bcs-bus.com/bcs-assets/fonts/montserrat-v30-latin-regular.woff2') format('woff2')
}


@font-face {
    font-display: swap;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 500;
    src: url('https://bcs-bus.com/bcs-assets/fonts/montserrat-v30-latin-500.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    src: url('https://bcs-bus.com/bcs-assets/fonts/montserrat-v30-latin-600.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 700;
    src: url('https://bcs-bus.com/bcs-assets/fonts/montserrat-v30-latin-700.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 800;
    src: url('https://bcs-bus.com/bcs-assets/fonts/montserrat-v30-latin-800.woff2') format('woff2')
}

@font-face {
    font-display: swap;
    font-family: Montserrat;
    font-style: normal;
    font-weight: 900;
    src: url('https://bcs-bus.com/bcs-assets/fonts/montserrat-v30-latin-900.woff2') format('woff2')
}

h1,
h3,
h4 {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 20px 20px 0;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px)
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border-radius: 50%;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 30px
}

.feature-card h3 {
    margin-bottom: 4px
}

.feature-card p {
    color: var(--gray);
    margin-bottom: 20px
}

.contact-details {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px
}

.office-title {
    margin-bottom: 10px;
    font-size: 1em;
    font-weight: 600
}

.office-info {
    margin-top: 25px
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1em;
    font-weight: 600
}

.contact-link {
    font-size: 18px;
    font-weight: 700;
    color: #80c01d;
    text-decoration: none
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin: 10px 10px 10px 20px
}

.office-address {
    margin-top: 25px
}

.office-description {
    color: #6c757d;
    margin: 0
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: var(--dark)
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    background-color: #fff;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    border-radius: 10px
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    margin-right: 15px
}

.social-links {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark)
}

@media (max-width:1200px) {
    .hero-grid {
        flex-direction: column;
        align-items: center
    }

    .quality-badge svg {
        max-height: 65px;
        width: 65px;
        margin: 0 10px 0 0
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px
    }

    .hero-highlights {
        justify-content: center
    }

    .badge-wrapper {
        position: static;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 30px
    }

    .quality-badge {
        margin: 0 10px 10px
    }
}

@media (max-width:992px) {
    .navbar {
        padding: 15px 0
    }

    .hero {
        margin-top: 58px
    }

    .mobile-toggle {
        display: block
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(42, 95, 116, .97);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        z-index: 999
    }

    .nav-links li {
        margin: 0 0 15px
    }

    .contact-title {
        margin-bottom: 20px;
        font-size: 1.1em;
        font-weight: 600
    }

    .contact-info {
        display: none
    }
}

@media (max-width:768px) {
    h1 {
        font-size: 1.7rem;
        line-height: 2rem
    }

    .nav-links {
        background-color: rgb(42 95 116)
    }

    .quality-badge svg {
        max-height: 58px;
        width: 58px;
        margin: 0
    }

    .nomobile {
        display: none !important
    }

    .quality-badge img {
        height: 58px;
        margin-right: 5px;
        border-radius: 5px
    }

    .quality-badge {
        margin: 0 4px;
        padding: 6px
    }

    .hero {
        padding: 100px 0 80px;
        color: var(--white);
        margin-top: 80px;
        position: relative
    }

    .hero {
        padding: 45px 0 60px
    }

    .contact-info {
        padding: 20px
    }

    .fleet-details {
        position: relative;
        top: 220px;
        margin-left: 10px
    }

    .fleet-info {
        display: flex;
        flex-direction: column
    }

    .fleet-feature-list {
        grid-template-columns: 1fr
    }
}

@media (max-width:576px) {
    .btn {
        padding: 9px 16px;
        font-size: 13px
    }

    h3 {
        font-size: 1.4rem;
        line-height: 1.6rem
    }

    .hero-highlights {
        align-items: flex-start;
        gap: 0
    }

    .hero-content {
        margin-bottom: 0
    }

    .fleet-details {
        position: relative;
        top: 0;
        margin-left: 0
    }

    .fleet-img {
        height: auto
    }

    .hero-badge,
    .highlight-item {
        margin-right: 0
    }

    .feature-icon {
        width: 51px;
        height: 51px;
        margin: 0;
        font-size: 21px
    }

    .fleet-img img {
        height: 80%
    }

    .feature-card {
        max-width: 400px;
        margin: 0 auto
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 16px
    }
}

.fab,
.fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1
}

.fa-bars:before {
    content: "\f0c9"
}

.fa-check-circle:before {
    content: "\f058"
}

.fa-chevron-right:before {
    content: "\f054"
}

.fa-whatsapp:before {
    content: "\f232"
}

.fab {
    font-family: "Font Awesome 5 Brands"
}

.fab {
    font-weight: 400
}

.fas {
    font-family: "Font Awesome 5 Free"
}

.fas {
    font-weight: 900
}

:root {
    --primary: #80c01d;
    --primary-dark: #6ba219;
    --secondary: #117C9C;
    --dark: #1D1B1B;
    --light: #f5fafd;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden
}

h1,
h2,
h3 {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    margin-bottom: 1rem
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 2.8rem
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary)
}

h3 {
    font-size: 1.5rem;
    color: var(--secondary)
}

p {
    margin-bottom: 1rem;
    font-size: .95rem
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 10px
}

a {
    text-decoration: none;
    color: var(--primary)
}

ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem
}

.fleet-content {
    display: none
}

.fleet-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px
}

.fleet-details {
    text-align: left
}

.fleet-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px
}

.fleet-feature {
    display: flex;
    align-items: center;
    font-size: 14px
}

:root {
    --light: #f8f9fa;
    --secondary: #6c757d
}

@media screen and (max-width:768px) {
    .quality-badge-text {
        text-align: left;
        font-size: 11px !important;
        padding-right: 7px
    }
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 16px;
    text-align: center;
    border: none
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary)
}

header {
    background-color: rgba(42, 95, 116, .97);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .1)
}

header {
    will-change: transform, background-color, box-shadow
}

header:not(.header-sticky) {
    will-change: auto
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    display: flex
}

.logo img {
    height: 50px;
    border-radius: 0
}

.nav-links {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0
}

.nav-links li {
    margin-left: 25px
}

.nav-links a {
    color: var(--white);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
    font-size: 14px;
    text-transform: uppercase
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary)
}

.avail-wrapper {
    margin: 25px 0 0
}

.contact-info {
    display: flex;
    flex-direction: column
}

.contact-info a {
    display: flex;
    align-items: center
}

@media screen and (min-width:1200px) and (max-width:1570px) {
    .badge-wrapper {
        display: none !important
    }
}

.mobile-toggle {
    display: none;
    font-size: 24px;
    color: var(--white);
    background: #e2e2e257;
    width: 40px;
    text-align: center;
    border-radius: 4px
}

.hero {
    padding: 70px 0 65px;
    color: var(--white);
    margin-top: 93px;
    position: relative
}

.hero-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
    text-align: left
}

.hero-highlights {
    display: flex;
    margin: 25px 0;
    flex-wrap: wrap
}

.highlight-item {
    margin: 0 20px 10px 0;
    display: flex;
    align-items: center
}

.highlight-item i {
    color: var(--primary);
    margin-right: 8px
}

.hero-badges {
    display: flex;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap
}

.hero-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, .15);
    padding: 8px 15px;
    border-radius: 5px;
    margin-right: 15px;
    margin-bottom: 10px
}

.badge-wrapper {
    position: fixed;
    top: 159px;
    right: 9px;
    display: flex;
    flex-direction: column;
    align-items: flex-end
}

.quality-badge {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1)
}

.quality-badge img {
    height: 64px;
    margin-right: 10px;
    border-radius: 6px
}

.quality-badge-text {
    font-size: 13px;
    color: var(--dark);
    line-height: 15px
}

.quality-badge-text strong {
    display: block;
    color: #5dc482
}

.hero-form-container {
    background: rgba(255, 255, 255, .95);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .2);
    width: 400px;
    position: relative
}

.hero-form-header {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 15px;
    border-radius: 5px 5px 0 0;
    margin: -25px -25px 20px
}

.hero-form-header h2 {
    margin: 0;
    color: #fff
}

.hero-form .form-group {
    margin-bottom: 10px
}

.form-control {
    width: 100%;
    padding: 12px 11px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 15px
}

textarea.form-control {
    min-height: 100px;
    resize: vertical
}

.fleet-img {
    height: 230px
}

.fleet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.fleet-feature {
    display: flex;
    align-items: center;
    color: var(--gray);
    font-size: 14px
}

.fleet-feature::before {
    content: '✓';
    display: inline-block;
    min-width: 20px;
    width: 20px;
    height: 20px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 20px;
    margin-right: 8px;
    font-size: 12px
}

.form-group {
    margin-bottom: 20px
}

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .2);
    z-index: 99
}

@media (max-width:1200px) {
    .hero-grid {
        flex-direction: column;
        align-items: center
    }

    .quality-badge svg {
        max-height: 65px;
        width: 65px;
        margin: 0 10px 0 0
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        margin-bottom: 30px
    }

    .hero-badges,
    .hero-highlights {
        justify-content: center
    }

    .badge-wrapper {
        position: static;
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 30px
    }

    .quality-badge {
        margin: 0 10px 10px
    }
}

@media (max-width:992px) {
    .navbar {
        padding: 15px 0
    }

    .hero {
        margin-top: 58px
    }

    .mobile-toggle {
        display: block
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(42, 95, 116, .97);
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        z-index: 999
    }

    .nav-links li {
        margin: 0 0 15px
    }

    .contact-info {
        display: none
    }

    .hero-form-container {
        width: 100%;
        max-width: 400px
    }
}

@media (max-width:768px) {
    h1 {
        font-size: 1.7rem;
        line-height: 2rem
    }

    .nav-links {
        background-color: rgb(42 95 116)
    }

    .quality-badge svg {
        max-height: 58px;
        width: 58px;
        margin: 0
    }

    .nomobile {
        display: none !important
    }

    .quality-badge img {
        height: 58px;
        margin-right: 5px;
        border-radius: 5px
    }

    .quality-badge {
        margin: 0 4px;
        padding: 6px
    }

    .hero {
        padding: 100px 0 80px;
        color: var(--white);
        margin-top: 80px;
        position: relative
    }

    h2 {
        font-size: 1.8rem
    }

    .hero {
        padding: 45px 0 60px
    }

    .contact-info {
        padding: 20px
    }

    .fleet-details {
        position: relative;
        top: 220px;
        margin-left: 10px
    }

    .fleet-info {
        display: flex;
        flex-direction: column
    }

    .fleet-feature-list {
        grid-template-columns: 1fr
    }
}

@media (max-width:576px) {
    .btn {
        padding: 9px 16px;
        font-size: 13px
    }

    h3 {
        font-size: 1.4rem;
        line-height: 1.6rem
    }

    .hero-badges {
        align-items: flex-start;
        gap: 20px;
        margin-top: 7px
    }

    .hero-highlights {
        align-items: flex-start;
        gap: 0
    }

    .hero-content {
        margin-bottom: 0
    }

    .fleet-details {
        position: relative;
        top: 0;
        margin-left: 0
    }

    .fleet-img {
        height: auto
    }

    .hero-badge,
    .highlight-item {
        margin-right: 0
    }

    .hero-form-header {
        padding: 7px
    }

    h2 {
        font-size: 1.6rem;
        line-height: 1.9rem
    }

    .fleet-img img {
        height: 80%
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px
    }
}

.breadcrumbs {
    font-size: 14px
}

.breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 6px
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13px
}

.breadcrumbs-hero.breadcrumbs-case-studies-main {
    background: #ffffff00;
    border-radius: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
    border: 1px solid #f0f0f0;
    display: inline-block;
    position: relative;
    z-index: 10
}

.breadcrumbs-case-studies-main .breadcrumb-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 4px
}

.breadcrumbs-case-studies-main .breadcrumb-current {
    color: #80c01d;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px
}

.breadcrumbs-case-studies-main .breadcrumb-separator {
    color: #fff;
    font-size: 12px;
    margin: 0 4px;
    opacity: .7
}

@media (max-width:768px) {
    .breadcrumbs-hero {
        margin: 15px 0;
        padding: 10px 18px;
        border-radius: 20px
    }

    .breadcrumbs {
        font-size: 13px
    }

    .breadcrumb-list {
        gap: 4px;
        flex-wrap: wrap
    }

    .breadcrumb-separator {
        margin: 0 3px
    }
}

@media (max-width:480px) {
    .breadcrumbs-hero {
        padding: 8px 16px;
        margin: 12px 0
    }

    .breadcrumb-list {
        justify-content: center;
        text-align: center
    }

    .breadcrumb-current,
    .breadcrumb-link {
        padding: 3px 6px;
        font-size: 12px
    }
}

.sincetext {
    margin: 0 7px 0 0
}

.sincebadge svg {
    height: 70px;
    width: 70px;
    margin: -5px 5px -5px -5px
}

@media (max-width:768px) {
    .sincebadge svg {
        height: 68px;
        width: 68px;
        margin: -5px -1px -5px -6px;
        max-height: 68px
    }

    .sincetext {
        margin: 0
    }

    .badge-wrapper {
        margin: 0 -10px 10px
    }
}

.toc-container {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin: 16px auto 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 710px;
    padding: 0;
}

.toc-header {
    background: linear-gradient(135deg, var(--primary), #9fd122);
    color: white;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: all 0.3s ease;
}

.toc-header:hover {
    background: linear-gradient(135deg, #72a91a, var(--primary));
}

.toc-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    color: white;
}

.toc-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 4px;
    border-radius: 4px;
}

.toc-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.toc-container.expanded .toc-toggle {
    transform: rotate(180deg);
}

.toc-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #fafbfc;
}

.toc-container.expanded .toc-content {
    max-height: 500px;
    padding: 20px;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.toc-item {
    background: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.toc-item:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(128, 192, 29, 0.15);
    transform: translateY(-1px);
}

.toc-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.toc-link::before {
    content: "→";
    color: var(--primary);
    font-weight: bold;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.toc-link:hover {
    color: var(--primary);
    background: rgba(128, 192, 29, 0.05);
}

.toc-link:hover::before {
    transform: translateX(4px);
    color: var(--secondary);
}

.toc-link.active {
    background: rgba(128, 192, 29, 0.1);
    color: var(--primary);
    font-weight: 600;
}

.toc-link.active::before {
    color: var(--secondary);
    content: "✓";
}

@media (max-width: 768px) {
    .toc-container {
        margin: 16px 20px 0;
        width: calc(100% - 40px);
        will-change: auto;
    }

    .toc-header {
        padding: 14px 16px;
    }

    .toc-title {
        font-size: 16px;
    }

    .toc-content {
        background: white;
        max-height: 500px;
    }

    .toc-link {
        padding: 10px 12px;
        font-size: 14px;
    }

    .toc-list {
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .toc-header {
        padding: 12px 14px;
    }

    .toc-title {
        font-size: 15px;
    }

    .toc-container.expanded .toc-content {
        padding: 14px;
    }

    .toc-link {
        padding: 9px 10px;
        font-size: 13px;
    }
}