﻿/*body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    margin: 0;
    padding: 0;
    display: flex;
}
*/
/* Sidebar Menu */
.sidebar {
    /*width: 250px;
    position: fixed;*/
    height: 100%;
    background: #00ccff;
    padding-top: 20px;
    box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
}

    .sidebar h2 {
        color: white;
        text-align: center;
        font-size: 20px;
        margin-bottom: 20px;
    }

    .sidebar a {
        display: block;
        color: white;
        padding: 12px 20px;
        text-decoration: none;
        font-size: 16px;
    }

        .sidebar a:hover {
            background: #decdfc;
        }

/* Main Content */
.container-terms {
    margin-left: 270px; /* Space for sidebar */
    max-width: 1000px;
    background: #fff;
    padding: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 20px auto;
}

/* Section Headings */
.h1-tittle {
    font-size: 28px;
    color: #222;
    text-align: center;
    margin-bottom: 20px;
}

.accordion {
    background: #915af6;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    outline: none;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    transition: 0.4s;
    border-radius: 5px;
    margin-bottom: 5px;
    max-width: 1000px;
    background: #fff;
    /* padding: 30px; */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin: 10px auto;
    color: black;
}

    .accordion:hover {
        color: #00ccff;
    }

    .accordion:after {
        content: '\25B6'; /* Right arrow */
        font-size: 14px;
        float: right;
        transition: transform 0.3s ease;
    }

    .accordion.active:after {
        transform: rotate(90deg); /* Rotate when active */
    }

    .accordion.active {
        color: #00ccff ;
    }

.panel-terms {
    padding: 0 15px;
    display: none;
    overflow: hidden;
    background-color: white;
    border-left: 3px solid #00ccff;
    margin-bottom: 10px;
}

panel-terms > p, panel-terms > ul {
    font-size: 16px;
    line-height: 1.6;
}

panel-terms > ul {
    padding-left: 20px;
}

    panel-terms > ul li {
        margin-bottom: 10px;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }

    .container-terms {
        margin-left: 220px;
    }

    .h1-tittle {
        font-size: 24px;
    }

    .accordion {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        display: none;
    }

    .container-terms {
        margin-left: 0;
        padding: 20px;
    }

    .sidebar a {
        text-align: center;
        padding: 10px;
    }
}
