* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

nav {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1800px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    background-color: #ff0000;
    color: white;
    padding: 10px 20px;
    font-size: 30px;
    font-weight: 900;
    letter-spacing: 5px;
    text-decoration: none;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 155px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 19px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ff0000;
}

nav .btn {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 7px;
    padding: 12px 22px;
    font-size: 22px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

nav .btn:hover {
    background-color: #fffb00;
    color: rgb(0, 0, 0);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 50%;
    left: 0;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #333;
    transition: all 0.3s;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
    color: #ff0000;
    padding-left: 25px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.grid-container {
    max-width: 1400px;
    margin: 30px auto;
    margin-left: 0px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: 300px;
}

.grid-item {
    background-color: white;
    padding: 60px 40px;
    box-shadow: 60px 10px 90px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 350px;
}

.drop-down-second {
    position: relative;
}

.drop-down-menu-second {
    position: absolute;
    top: 50%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.drop-down-menu-second li {
    padding: 0;
}

.drop-down-menu-second a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #333;
    transition: all 0.3s;
}

.drop-down-menu-second a:hover {
    background-color: #f5f5f5;
    color: #ff0000;
    padding-left: 25px;
}

.drop-down-second:hover .drop-down-menu-second {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.page-header {
    background-color: #2a2a2a;
    color: white;
    padding: 60px 20px;
}

.header-content {
    max-width: 1720px;
    margin: 0 auto;
    text-align: left;
}

.page-title {
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-subtitle {
    font-size: 16px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 80%;
}

section#exercises-CrunchFloor {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 70px 130px;
    border-bottom: 2px solid #f0f0f0;
    height: 256px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CrunchFloor h1 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CrunchFloor p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CrunchFloor img {
    width: 440px;
    height: 200px;
    margin: 10px 0 0 10px;
}

section#exercises-CrunchFloor .button-view-details-CrunchFloor {
    background-color: #cb1313;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 182px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    margin: 10px;
}

section#exercises-CrunchFloor .button-view-details-CrunchFloor:hover {
    background-color: #079590;
}

section#exercises-CrunchFloor .button-add-CrunchFloor {
    background-color: #4caf50;
    font-family: 'Poppins', sans-serif;
    color: white;
    width: 102px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

section#exercises-CrunchFloor .button-add-CrunchFloor:hover {
    background-color: #079590;
}

section#exercises-LeverTotalAbdominalCrunch {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 70px 165px;
    border-bottom: 2px solid #f0f0f0;
    height: 256px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-LeverTotalAbdominalCrunch h1 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

section#exercises-LeverTotalAbdominalCrunch p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-LeverTotalAbdominalCrunch img {
    width: 440px;
    height: 200px;
    margin: 10px 0 0 10px;
}

section#exercises-LeverTotalAbdominalCrunch .button-view-details-LeverTotalAbdominalCrunch {
    background-color: #cb1313;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 182px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    margin: 10px;
}

section#exercises-LeverTotalAbdominalCrunch .button-view-details-LeverTotalAbdominalCrunch:hover {
    background-color: #079590;
}

section#exercises-LeverTotalAbdominalCrunch .button-add-LeverTotalAbdominalCrunch {
    background-color: #4caf50;
    font-family: 'Poppins', sans-serif;
    color: white;
    width: 102px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

section#exercises-LeverTotalAbdominalCrunch .button-add-LeverTotalAbdominalCrunch:hover {
    background-color: #079590;
}

section#exercises-CaptainsChairStraightLegRaise {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 70px 176px;
    border-bottom: 2px solid #f0f0f0;
    height: 256px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CaptainsChairStraightLegRaise h1 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CaptainsChairStraightLegRaise p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CaptainsChairStraightLegRaise img {
    width: 440px;
    height: 200px;
    margin: 10px 0 0 10px;
}

section#exercises-CaptainsChairStraightLegRaise .button-view-details-CaptainsChairStraightLegRaise {
    background-color: #cb1313;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 182px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    margin: 10px;
}

section#exercises-CaptainsChairStraightLegRaise
    .button-view-details-CaptainsChairStraightLegRaise:hover {
    background-color: #079590;
}

section#exercises-CaptainsChairStraightLegRaise .button-add-CaptainsChairStraightLegRaise {
    background-color: #4caf50;
    font-family: 'Poppins', sans-serif;
    color: white;
    width: 102px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

section#exercises-CaptainsChairStraightLegRaise .button-add-CaptainsChairStraightLegRaise:hover {
    background-color: #079590;
}

section#exercises-CableKneelingCrunch {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 70px 137px;
    border-bottom: 2px solid #f0f0f0;
    height: 256px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CableKneelingCrunch h1 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CableKneelingCrunch p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-CableKneelingCrunch img {
    width: 440px;
    height: 200px;
    margin: 10px 0 0 10px;
}

section#exercises-CableKneelingCrunch .button-view-details-CableKneelingCrunch {
    background-color: #cb1313;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 182px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    margin: 10px;
}

section#exercises-CableKneelingCrunch .button-view-details-CableKneelingCrunch:hover {
    background-color: #079590;
}

section#exercises-CableKneelingCrunch .button-add-CableKneelingCrunch {
    background-color: #4caf50;
    font-family: 'Poppins', sans-serif;
    color: white;
    width: 102px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

section#exercises-CableKneelingCrunch .button-add-CableKneelingCrunch:hover {
    background-color: #079590;
}

section#exercises-FrontPlank {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 70px 128px;
    border-bottom: 2px solid #f0f0f0;
    height: 256px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-FrontPlank h1 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

section#exercises-FrontPlank p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-FrontPlank img {
    width: 440px;
    height: 200px;
    margin: 10px 0 0 10px;
}

section#exercises-FrontPlank .button-view-details-FrontPlank {
    background-color: #cb1313;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 182px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    margin: 10px;
}

section#exercises-FrontPlank .button-view-details-FrontPlank:hover {
    background-color: #079590;
}

section#exercises-FrontPlank .button-add-FrontPlank {
    background-color: #4caf50;
    font-family: 'Poppins', sans-serif;
    color: white;
    width: 102px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

section#exercises-FrontPlank .button-add-FrontPlank:hover {
    background-color: #079590;
}

section#exercises-RussianTwist {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 70px 128px;
    border-bottom: 2px solid #f0f0f0;
    height: 256px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-RussianTwist h1 {
    font-size: 30px;
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'Poppins', sans-serif;
}

section#exercises-RussianTwist p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 600px;
    font-family: 'Poppins', sans-serif;
}

section#exercises-RussianTwist img {
    width: 440px;
    height: 200px;
    margin: 10px 0 0 10px;
}

section#exercises-RussianTwist .button-view-details-RussianTwist {
    background-color: #cb1313;
    color: white;
    font-family: 'Poppins', sans-serif;
    width: 182px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
    margin: 10px;
}

section#exercises-RussianTwist .button-view-details-RussianTwist:hover {
    background-color: #079590;
}

section#exercises-RussianTwist .button-add-RussianTwist {
    background-color: #4caf50;
    font-family: 'Poppins', sans-serif;
    color: white;
    width: 102px;
    height: 60px;
    font-size: 20px;
    border-radius: 10px;
    padding: 9px 16px;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

section#exercises-RussianTwist .button-add-RussianTwist:hover {
    background-color: #079590;
}

.pagination-section {
    padding: 40px 20px;
    background-color: #fff;
}

.pagination-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination {
    display: flex;
    gap: 5px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    text-decoration: none;
    color: #333;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Poppins', sans-serif;
}

.pagination a:hover {
    background-color: #d32f2f;
    border-color: #999;
}

.pagination .active-first a {
    background-color: #d32f2f;
    color: white;
    border-color: #d32f2f;
}

.pagination .active-first a:hover {
    background-color: #d32f2f;
}

.pagination .dots {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: #666;
}

.pagination .next a {
    color: #d32f2f;
    font-weight: 500;
}

.footer {
    background: #2a2a2a;
    padding: 15px 0;
    text-align: center;
}

.footer-info {
    max-width: 1500px;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff;
    font-size: 20px;
}

.footer-info p {
    margin: 25px 0;
}

.footer-info .info {
    font-size: 16px;
    color: #ffffff;
    margin-top: 25px;
}

@media (max-width: 1024px) {
    .nav-container {
        padding: 0 20px;
        max-width: 100%;
    }

    .nav-links {
        gap: 50px;
    }

    .logo {
        font-size: 24px;
        padding: 8px 15px;
    }

    .nav-links a {
        font-size: 16px;
    }

    nav .btn {
        padding: 8px 16px;
        font-size: 18px;
    }

    .page-header {
        padding: 40px 20px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        margin-right: 50%;
        font-size: 14px;
    }

    section#exercises-CrunchFloor,
    section#exercises-LeverTotalAbdominalCrunch,
    section#exercises-CaptainsChairStraightLegRaise,
    section#exercises-CableKneelingCrunch,
    section#exercises-FrontPlank,
    section#exercises-RussianTwist {
        padding: 50px 40px;
        height: auto;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    section#exercises-CrunchFloor h1,
    section#exercises-LeverTotalAbdominalCrunch h1,
    section#exercises-CaptainsChairStraightLegRaise h1,
    section#exercises-CableKneelingCrunch h1,
    section#exercises-FrontPlank h1,
    section#exercises-RussianTwist h1 {
        font-size: 26px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    section#exercises-CrunchFloor p,
    section#exercises-LeverTotalAbdominalCrunch p,
    section#exercises-CaptainsChairStraightLegRaise p,
    section#exercises-CableKneelingCrunch p,
    section#exercises-FrontPlank p,
    section#exercises-RussianTwist p {
        font-size: 16px;
        margin: 15px 0;
        max-width: 100%;
    }

    section#exercises-CrunchFloor img,
    section#exercises-LeverTotalAbdominalCrunch img,
    section#exercises-CaptainsChairStraightLegRaise img,
    section#exercises-CableKneelingCrunch img,
    section#exercises-FrontPlank img,
    section#exercises-RussianTwist img {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }

    .button-view-details-CrunchFloor,
    .button-add-CrunchFloor,
    .button-view-details-LeverTotalAbdominalCrunch,
    .button-add-LeverTotalAbdominalCrunch,
    .button-view-details-CaptainsChairStraightLegRaise,
    .button-add-CaptainsChairStraightLegRaise,
    .button-view-details-CableKneelingCrunchn,
    .button-add-CableKneelingCrunch,
    .button-view-details-FrontPlank,
    .button-add-FrontPlank,
    .button-view-details-RussianTwist,
    .button-add-RussianTwist {
        width: 160px;
        height: 50px;
        font-size: 18px;
        margin: 8px;
        padding: 8px 12px;
    }

    .footer-info {
        font-size: 18px;
        padding: 15px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .nav-container {
        flex-direction: column;
        padding: 10px;
        gap: 15px;
    }

    .logo {
        font-size: 20px;
        padding: 6px 12px;
        letter-spacing: 3px;
        align-self: flex-start;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        align-items: center;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 18px;
        display: block;
        padding: 10px 0;
    }

    nav .btn {
        width: 100%;
        margin-top: 10px;
        padding: 12px;
        font-size: 20px;
    }

    .dropdown-menu,
    .drop-down-menu-second {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background-color: #f9f9f9;
        margin-top: 5px;
        min-width: 100%;
    }

    .dropdown:hover .dropdown-menu,
    .drop-down-second:hover .drop-down-menu-second {
        display: block;
    }

    .dropdown-menu a,
    .drop-down-menu-second a {
        font-size: 16px;
        padding: 8px 15px;
    }

    .page-header {
        padding: 30px 15px;
        text-align: center;
    }

    .header-content {
        text-align: center;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-subtitle {
        font-size: 14px;
        margin-right: 0;
        width: 100%;
        text-align: center;
    }

    section#exercises-CrunchFloor,
    section#exercises-LeverTotalAbdominalCrunch,
    section#exercises-CaptainsChairStraightLegRaise,
    section#exercises-CableKneelingCrunch,
    section#exercises-FrontPlank,
    section#exercises-RussianTwist {
        padding: 30px 20px;
        margin: 10px 0;
        flex-direction: column;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
    }

    section#exercises-CrunchFloor h1,
    section#exercises-LeverTotalAbdominalCrunch h1,
    section#exercises-CaptainsChairStraightLegRaise h1,
    section#exercises-CableKneelingCrunch h1,
    section#exercises-FrontPlank h1,
    section#exercises-RussianTwist h1 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    section#exercises-CrunchFloor p,
    section#exercises-LeverTotalAbdominalCrunch p,
    section#exercises-CaptainsChairStraightLegRaise p,
    section#exercises-CableKneelingCrunch p,
    section#exercises-FrontPlank p,
    section#exercises-RussianTwist p {
        font-size: 15px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    section#exercises-CrunchFloor img,
    section#exercises-LeverTotalAbdominalCrunch img,
    section#exercises-CaptainsChairStraightLegRaise img,
    section#exercises-CableKneelingCrunch img,
    section#exercises-FrontPlank img,
    section#exercises-RussianTwist img {
        width: 350px;
        height: 200px;
        margin: 0 auto 20px;
    }

    .button-view-details-CrunchFloor,
    .button-add-CrunchFloor,
    .button-view-details-LeverTotalAbdominalCrunch,
    .button-add-LeverTotalAbdominalCrunch,
    .button-view-details-CaptainsChairStraightLegRaise,
    .button-add-CaptainsChairStraightLegRaise,
    .button-view-details-CableKneelingCrunchn,
    .button-add-CableKneelingCrunch,
    .button-view-details-FrontPlank,
    .button-add-FrontPlank,
    .button-view-details-RussianTwist,
    .button-add-RussianTwist {
        width: 100%;
        margin: 5px 0;
        font-size: 16px;
        padding: 12px;
        height: auto;
    }

    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination a {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .footer-info {
        padding: 15px;
        font-size: 16px;
    }

    .footer-info p {
        margin: 10px 0;
    }

    .footer-info .info {
        font-size: 14px;
        margin-top: 15px;
    }
}

.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
    transition: none;
}

.burger-btn:hover {
    background-color: transparent;
    transform: none;
}

.burger-line {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
}

@media screen and (max-width: 767px) {
    .burger-btn {
        display: flex;
        position: absolute;
        right: 30px;
        top: 26%;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 30px;
        gap: 0;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 20px;
    }

    .nav-links a {
        padding: 15px 0;
        text-align: left;
        font-size: 18px;
    }

    .dropdown-menu,
    .drop-down-menu-second {
        position: static;
        display: none;
        background-color: #f9f9f9;
        box-shadow: none;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .dropdown:hover .dropdown-menu,
    .drop-down-second:hover .drop-down-menu-second {
        display: none;
    }

    .dropdown.active .dropdown-menu,
    .drop-down-second.active .drop-down-menu-second {
        display: block;
    }

    .dropdown-menu a,
    .drop-down-menu-second a {
        padding: 12px 20px;
        font-size: 16px;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu a:last-child,
    .drop-down-menu-second a:last-child {
        border-bottom: none;
    }

    .dropdown > a,
    .drop-down-second > a {
        position: relative;
        padding-right: 30px;
    }

    .dropdown > a::after,
    .drop-down-second > a::after {
        content: '›';
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        font-size: 20px;
        transition: transform 0.3s;
    }

    .dropdown.active > a::after,
    .drop-down-second.active > a::after {
        transform: translateY(-50%) rotate(-90deg);
    }

    .nav-links .btn {
        width: 100%;
        margin-top: 10px;
        padding: 15px;
        text-align: center;
    }

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

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

    .nav-container {
        position: relative;
    }

    .logo {
        margin: 0px 10px 10px 13px;
        font-size: 20px;
        padding: 8px 15px;
        letter-spacing: 2px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .burger-btn {
        display: none;
    }
}
