﻿.rsystems_rosegold {
    color: #371a34 !important;
}

@@media (min-width: 992px) {
    .mt-lg-5 {
        margin-top: 3rem !important;
    }
}

@@media (min-width: 992px) {
    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
}

@@media (min-width: 992px) {
    .offset-lg-2 {
        margin-left: 16.66666667%;
    }
}

@@media (min-width: 992px) {
    .col-lg-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }
}

.what-we-do-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 18px 36px -18px rgba(0, 0, 0, 0.25), 0px 30px 60px -5px rgba(0, 0, 0, 0.25);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

img, svg {
    vertical-align: middle;
}

.card-body {
    flex: 1 1 auto;
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
    color: var(--bs-card-color);
}

.fw-600 {
    font-weight: 600;
}

.rsystems_blue {
    color: #11054C;
}

.what-we-do-card p {
    margin-bottom: 0;
}
.scrollable-content {
    max-height: 200px; /* Adjust the height as needed */
    overflow-y: auto;
}

@@media screen and (max-width: 767px) {
    .tab-item {
        padding: 1rem 0.5rem; /* Further adjust padding for better spacing on smaller screens */
    }

    .tab-heading {
        font-size: 1.8rem; /* Further adjust heading font size for better readability on smaller screens */
    }

    .tab-content-left,
    .tab-content-right {
        width: 100%; /* Make content sections take full width on smaller screens */
        text-align: center; /* Center align content on smaller screens */
    }

    .tab-img {
        width: 80%; /* Reduce image width for better fit on smaller screens */
    }
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
    font-family: 'Rubik', sans-serif;
    color: #371a34;
    /*font-weight: 700;*/
}


header {
    text-align: center;
}

.section-heading {
    margin: 3rem 0;
    font-size: 4rem;
    padding-bottom: 0.7rem;
    /*position: relative;
    display: inline-block;*/
}

    .section-heading::before,
    .section-heading::after {
        /*  content: '';
       position: absolute;*/
    }

    .section-heading::before {
        width: 100%;
        /*height: 0.2rem;*/
        bottom: 0;
        left: 0;
        background: var(--primary);
        border-radius: 0.2rem;
    }

    .section-heading::after {
        bottom: -0.4rem;
        left: 50%;
        transform: translateX(-50%);
        width: 1rem;
        height: 1rem;
        border: 0.2rem solid var(--primary);
        background: var(--box-shadow);
    }

.tab-container {
    width: 100%;
    height: 400px;
    margin: 0 auto 3rem auto;
    box-shadow: 0 0.8rem 1rem var(--box-shadow);
}

@@media (max-width: 767px) {
    .tab-container {
        width: 90%;
    }
}

.tab-filter-container {
    padding: 2rem;
    text-align: center;
    background: hsl(205.71, 30.43%, 95.49%);
}

.filter-btn {
    display: inline-flex;
    padding: 0.8rem 2.5rem;
    cursor: pointer;
    border-radius: 2rem;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

    .filter-btn.active {
        background: #371a34 !important;
        color: var(--white);
    }

.tab-filter-item-container {
    background: var(--white);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.tab-item {
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 0rem 3rem;
    transform: translateY(100%);
    background: var(--white-light);
    transition: transform 0.5s ease-in-out;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(29rem, 1fr));
    place-items: center start;
}

.tab-img {
    width: 30rem;
}

.tab-heading {
    padding: 2rem 0;
    font-size: 3rem;
}

.tab-item.select_tab {
    transform: translateY(0);
    transition: transform 0.5s ease-in-out;
    background: var(--white-light);
    animation: feadIn 0.6s ease-in-out;
}

.btn-primary {
    margin-top: 1.5rem;
    display: inline-block;
    color: #371a34;
    padding: 0.6rem 2rem;
    border-radius: 2rem;
    color: var(--white);
}

@@keyframes feadIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.left-content h2 {
    color: #371a34 !important;
    font-weight: 600 !important;
    font-size: 2rem;
}
/*=============== CARD ===============*/
#useruse .card__container {
    display: grid;
    gap: 3.5rem;
    padding: 0 1.5rem;
}

#useruse .row {
    display: flex;
    flex-wrap: wrap;
    margin: -1rem;
}

#useruse .card__article {
    flex: 1 0 calc(25% - 2rem);
    margin: 1rem;
    position: relative;
    overflow: hidden;
    display: flex;
}

#useruse .card__img {
    height: 248px;
    width: 100%;
    border-radius: 1.5rem;
}

#useruse .card__data {
    flex: 1;
    background-color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 8px 24px hsla(0, 0%, 0%, .15);
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 1s 1s;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

#useruse .card__article:hover .card__data {
    animation: show-data 1s forwards;
    opacity: 1;
    top: 100%;
    transition: opacity .3s, top .3s;
}

@@keyframes show-data {
    50% {
        transform: translateY(-10rem);
    }

    100% {
        transform: translateY(-7rem);
    }
}

@@media screen and (min-width: 1120px) {
    #useruse .row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1px;
    }

    #useruse .card__article {
        flex: 1 0 calc(25% - 2rem);
        margin: 1rem;
        position: relative;
        overflow: hidden;
    }
}

/* ---------------------- */
#section1.Course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

#section1 h1 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

#section1 p {
    font-family: system-ui;
    font-size: medium;
    color: #371a34;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.5;
    padding: 10px 0;
}

#section1 .row {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

#section1 .course-col {
    flex-basis: calc(33.33% - 20px);
    background: #fbfbfb;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

#section1 h3 {
    font-family: ui-sans-serif, ui-serif;
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}

#section1 p.course-description {
    font-size: 16px;
    color: #555;
    font-weight: 300;
    line-height: 1.4;
}

#section1 .course-col:hover {
    box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.2);
}

@@media (max-width: 700px) {
    #section1 .row {
        flex-direction: column;
    }

    #section1 .course-col {
        flex-basis: calc(100% - 20px);
    }
}
