body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f7f7;
}

.content-section {
    padding: 20px;
    background-color: #cfae93; /* Extend this background throughout */
    border-top: 1px solid #ddd;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
    border-radius: 5px;
}

.content-section h2, .content-section h3 {
    font-size: 26px;
    color: #222;
    font-weight: bold;
    margin-bottom: 15px;
}

.content-section p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
    margin-bottom: 20px;
}

.toc {
    margin-bottom: 20px;
    text-align: center;
}

.toc h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
}

.toc ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.toc ul li {
    margin: 10px;
}

.toc ul li a {
    display: block;
    padding: 15px 25px;
    background: linear-gradient(135deg, #388E3C 30%, #43A047 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 18px;
}

.toc ul li a:hover {
    background-color: #3B8A40;
    transform: scale(1.05);
}

.equipment-section {
    margin-top: 20px;
}

.equipment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.equipment-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 200px;
}

.equipment-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.equipment-item h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.equipment-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.equipment-item a {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, #388E3C 30%, #43A047 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.equipment-item a:hover {
    background-color: #388E3C;
    transform: scale(1.05);
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.video-item {
    flex: 1 1 300px;
    max-width: 350px;
    margin-bottom: 20px;
    text-align: center;
}

.video-item iframe {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.video-item p {
    font-size: 14px;
    color: #555;
    margin-top: 10px;
}

.sub-section {
    margin-top: 30px;
}

.sub-section h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 15px;
}

.sub-section p, .sub-section ul li {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.sub-section ul {
    list-style-type: disc;
    margin-left: 20px;
}

.sub-section ul li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .content-section p, .toc ul li, .sub-section h3, .sub-section p, .sub-section ul li {
        font-size: 16px;
    }

    .content-section h2, .toc h3, .sub-section h3 {
        font-size: 22px;
    }

    .toc ul {
        flex-direction: column;
        align-items: center;
    }

    .toc ul li {
        margin: 5px 0;
    }

    .equipment-list {
        flex-direction: column;
        align-items: center;
    }

    .equipment-item {
        width: 100%;
        max-width: 400px;
    }
}
