@font-face {
    font-family: 'Montserrat', sans-serif;
    src: url(../font/Montserrat-Light.ttf);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f6f6f6;
    color: #333;
    margin: 0;
    padding-top: 80px; /* Prevent body from being hidden under fixed nav */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    margin: 0 auto;
}

nav {
    width: 100%;
    background-color: #fff; /* Main color */
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-bar {
    background-color: #f1f1f1;
    border-radius: 25px;
    padding: 8px 15px;
    width: 300px;
    display: flex;
    align-items: center;
}

.search-bar input[type="search"] {
    background: transparent;
    border: none;
    font-size: 16px;
    color: #333;
    width: 100%;
    padding: 8px;
    border-radius: 25px;
    margin-left: 10px;
}

button {
    width: 100%;
    text-align: left;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.filtterpopup {
    position: relative;
    display: inline-block;
}

.filtterpopup-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 150px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 12px;
    z-index: 1;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
}

.filtterpopup:hover .filtterpopup-content {
    display: block;
}

.content {
    background-color: white;
    border-radius: 10px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 20px;
    margin-bottom: 20px;
}

.content a {
    margin-top: 15px;
    font-size: 14px;
    color: #80d0c7; /* Main color */
    font-weight: bold;
    display: inline-block;
    transition: color 0.3s ease;
}

.content a:hover {
    color: #4b1fe2;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f1f1;
    margin-bottom: 15px;
}

h3 {
    font-size: 20px;
    font-weight: 600;
    color: #555;
    margin-bottom: 10px;
}

.sub_items {
    font-size: 14px;
    color: #777;
    font-weight: 600;
    margin-bottom: 5px;
}

.container-two {
    background-color: #f4f4f4;
    padding: 120px 0 20px;
    width: 90%;
    margin: 0 auto;
}

.filter-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    gap: 20px;
}

.right_buttons {
    text-align: end;
    border-top: 1px solid #e0e0e0;
    padding: 15px;
}

.left_buttonsn {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px;
}

.flex {
    display: flex;
    align-items: center;
    gap: 20px;
}

.filtter_button {
    background-color: #fafafa;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 10px 0;
    transition: background-color 0.3s ease;
}

.filtter_button:hover {
    background-color: #f0f0f0;
}

.filtter_button_icon {
    height: 28px;
    width: 28px;
    margin-top: -2px;
}

.filtter_button_text {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
}

.right {
    justify-content: flex-end;
}

@media (max-width: 820px) {
    nav {
        background-color: #4a2d9b; /* Darker variant for mobile */
    }

    .search-bar {
        width: 100%;
    }

    .filter-grid {
        grid-template-columns: 100%;
    }

    .container-two {
        padding-top: 100px;
    }

    .flex {
        flex-direction: column;
    }

    h2 {
        font-size: 22px;
        padding-bottom: 8px;
    }

    .sub_items {
        padding-top: 10px;
        font-size: 16px;
    }

    .left_buttonsn,
    .right_buttons {
        padding: 10px;
    }
}
