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

/* Basic Styles */
body,
html {

    overflow-x: unset;
}

.contact-us-hero-section {
    width: 100%;
    height: 80vh;

    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../images/bg-img.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-us-hero-section .page-details {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.page-details h1 {
    margin: 0;
    color: white;
    opacity: 1;
    justify-self: center;
    font-size: 4rem;
    z-index: 1;
    margin-top: 100px;
}

.page-details p {
    width: 60vw;
    text-align: center;
}

/* Training Classes Image Card */
.services-section {
    width: 80vw;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    margin-top: -7rem;
    margin-bottom: 4rem;
    border-radius: 1rem;
}

.service-item {
    width: 33.33%;
    height: 32vh;
    text-align: center;
}

.service-item:first-child {
    background-color: #eee;
    padding: 32px 24px;
}

.service-item:last-child {
    border-left: 2px solid white;
}

.service-item i {
    font-size: 40px;
    color: #7a5676;
    margin-top: 1.6rem;
    margin-bottom: .6rem;
}

.service-item:first-child h3 {
    color: #7a5676;
    font-size: 1.6rem;
    font-weight: 400;
}

.service-item img {
    width: 100%;
    object-position: center center;
    height: 32vh;
}

/* Classes Section */
.classes-container {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
}

.classes-container h1 {
    border-bottom: 2px solid var(--primary-color);
    margin-left: 6rem;
}

.class-card {
    width: 100%;
    height: 48vh;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
    display: flex;
}

.class-card img {
    width: 18%;
    height: 100%;
    padding: 0.2rem;
    object-fit: cover;
}

.class-card .class-info,
.class-card .class-outcomes {
    width: 42%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
    padding: 1rem;
}

.class-card .class-info .price span:last-child {
    font-weight: bold;
}

.class-card .class-info button {
    border: none;
    color: white;
    background-color: var(--primary-color);
    padding: .6rem 2rem;
}

.class-outcomes ol li {
    margin-bottom: 1rem;
    margin-left: 1.2rem;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;

    padding: 0;
}

.container-class h2 {
    color: white;
    margin: 10px 0px;
}

.container-class h1 {

    margin: 10px 0px;
}

.container-class p {
    margin: 10px 0px;
    line-height: 22px;
    color: white;
}

.what-learn p,
.days p {
    color: #522157;
}

.container-class {
    display: flex;
    flex-wrap: wrap;
    width: 90%;
    height: auto;
    align-items: flex-start;
    justify-content: center;
    padding: 60px 10px;
    margin: 50px 0px;
    margin-bottom: 50px;

    text-align: left;
}

.left-panel-class {
    flex: 1 1 20%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    position: sticky;
    top: 152px;
    overflow-y: auto;
    max-height: 100vh;
    min-width: 270px;
}

.card {
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 93%;
    border: 1px solid #c2649a;
    background-color: white;
}

.card.active,
.card:hover {
    background: linear-gradient(45deg, #e4c7b7, #c2649a);
    color: #fff;
}

.card p {
    margin: 0;
    font-size: 16px;
    color: black;
}

.right-panel-class {
    flex: 1 1 62%;
    padding: 40px;
    background: #522157;
    border-radius: 10px;
    margin-left: -50px;
    z-index: 999999;
    color: rgba(85, 33, 87, 1);
    height: auto;

}

.content {
    display: none;
}

.content.active {
    display: block;
}

.tools span {
    display: inline-block;
    margin: 5px;
    background: #333;
    padding: 5px 10px;
    border-radius: 5px;
}

button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #984693;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.container-class ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: white;
}

.buttons-action {
    padding: .6rem 1.6rem;
    background-color: #984693;
    color: white;
    border: none;
    cursor: pointer;
}

.buttons-action:hover {
    background-color: #e4c7b7;
    color: #984693;
}


.container-class ul li {
    margin: 15px 0px;
}

.main-price-flex h1 {
    margin: 0;
}

.main-price-div {
    display: flex;
    align-items: flex-start;
    margin: 20px 0px;
    justify-content: space-between;
    color: #E4DFD9;
}

.main-price-div span {
    font-size: 22px;
}

.main-price-flex {
    margin-right: 10px;
}

#contact-us-hero-section {
    animation: scaleDown 1.5s ease-in-out forwards;
}

#header {
    animation: fadeTop 1.5s ease-in-out forwards;
}

#footer {
    animation: fadeTop 1.5s ease-in-out forwards;
}

#rotate-silder-animation {
    animation: fadeDown 1.5s ease-in-out forwards;
}


#container-class {
    animation: fadeRight 1.5s ease-in-out forwards;
}

#right-panel-class {
    animation: fadeLeft 1.5s ease-in-out forwards;

}

.what-learn {
    background-color: #E4DFD9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.days {
    background-color: #E4DFD9;
    width: 48%;
    padding: 20px;
    border-radius: 10px;
    min-width: 350px;
    margin: 15px 0px;
}

.days-flex {
    display: flex;
    align-items: unset;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

.what-learn ul,
.days ul {
    color: #522157;
}

@media (max-width: 1260px) {
    .right-panel-class {
        flex: 1 1 60%;
    }

    .left-panel-class {
        flex: 1 1 10%;

    }

    .right-panel-class {

        padding-left: 80px;

    }
}

@media (max-width: 1024px) {
    .container-class {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        margin: 0;
        justify-content: center;
        align-items: center;
        margin-bottom: 50px;
    }


    .left-panel-class {
        flex: 1 1 100%;
        margin-bottom: 20px;
        top: 0;
        flex-wrap: wrap;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        background-color: white;
        z-index: 999;
        padding: 30px 0px;
    }

    .card {
        font-size: 12px;
        width: 27%;
        min-width: 237px;
    }

    .right-panel-class {
        flex: 1 1 100%;
        padding: 34px;
        margin: 0;
        margin-top: 25px;
        z-index: 0;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .card {
        padding: 10px;
        font-size: 12px;
    }

    .right-panel-class {
        padding: 15px;
    }
}

@media (max-width: 750px) {
    .days {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .card {
        padding: 13px;
        min-width: 180px;
    }


}

@media (max-width: 480px) {
    .card {
        padding: 8px;
        font-size: 10px;
    }

    .right-panel-class {
        font-size: 14px;
        padding: 10px;
        width: 100%;
    }
}

@media (max-width: 379px) {
    .days {
        min-width: 250px;
    }
}