:root {
    --main-color: #4054b2;
    --color-1: #e91e63;
    --color-2: #f5ae10;
    --color-3: #0068e1;
    --bg-dark: #213578;
    --main-to-dark-color: var(--main-color);
    --dark-to-main-color: var(--bg-dark);
    --shodow-black-100: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shodow-black-300: 0 5px 15px rgba(0, 0, 0, 0.3);
    --black-900: #213578;
    --black-400: #555555;
    --black-100: #f7f7f7;
    --black-000: #ffffff;
    --black-alpha-100: rgba(0, 0, 0, 0.05);
}

.features .features-item {
    margin: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.5s;
    border-radius: 42px;
}
.features .features-item:hover {
    background: #b4d2f6;
    color: #ffffff;
    border-radius: 42px;
}

.features .features-item:hover svg {
    fill: #ffffff;
    width: 23px;
    top: 12px;
}

.features .features-item .icon {
    height: 60px;
    width: 60px;
    margin: 0 auto 30px;
    text-align: center;
    font-size: 30px;
    color: var(--main-color);
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
}
.features .features-item svg {
    width: 36px;
    position: relative;
    top: 5px;
    fill: #4054b2;
}
.features .features-item .icon::before {
    content: "";
    position: absolute;
    left: 100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--main-color);
    transition: all 0.5s ease;
    z-index: -1;
    opacity: 0;
}
.features .features-item:hover .icon {
    color: #ffffff;
    font-size: 20px;
}
.features .features-item:hover .icon::before {
    left: 0;
    border-radius: 50%;
    opacity: 1;
}
.features .features-item .icon i {
    line-height: 60px;
}
.features .features-item h3 {
    font-size: 20px;
    margin: 0 0 20px;
    color: var(--black-900);
    text-transform: capitalize;
}
.features .features-item p {
    font-size: 16px;
    line-height: 26px;
    color: var(--black-400);
    margin: 0 0 15px;
}
/* .features .features-item:hover h3 {
    color: #ffffff;
}
.features .features-item:hover p {
    color: #ffffff;
} */

.section-padding {
    padding: 80px 0;
}
.section-title {
    margin-bottom: 40px;
    margin-top: 40px;
}
.section-title h2 {
    font-size: 35px;
    color: var(--black-900);
    text-align: center;
    margin: 0;
}

.cards {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin: 0.5rem 0.5rem 2.5rem;
    min-height: 100vh;
}

.card {
    align-items: center;
    background-color: #f5f7f9;
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    flex: 0 0 13.5rem;
    flex-direction: column;
    margin: 0.5rem;
    padding: 0.5rem;
    position: relative;
}

.card__title {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 0.5rem;
    text-align: center;
    padding: 15px 0;
    /* background: #0068e1;
    color: white; */
    transition: all 0.3s;
}

.card__image {
    height: 400px;
    margin-bottom: 0.5rem;
    overflow: hidden;
    width: 100%;
}

.card__image img {
    object-fit: cover;
    overflow: hidden;
    /* transition duration is less than the one on hover */
    /* so img returns faster to its original position */
    transition: transform 1s ease-in-out;
    width: 100%;
}

.card__image:hover img {
    transform: translateY(calc(-100% + 400px));
    transition: transform 5s ease-in-out;
}

.demos {
    background-image: url("./demo-image.png");
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    z-index: 1;
    margin-top: 80px;
    padding: 30px 0;
}

.demo-title {
    color: white;
    font-size: 35px;
    padding: 30px 0px;
}

.demos::before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #4054b2;
    opacity: 0.8;
}

.card-item {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-item:hover .card__title {
    background-color: #0068e1;
    color: white;
}

.accordion {
    display: flex;
    flex-direction: column;
    max-width: 991px;
    min-width: 320px;
    margin: 50px auto;
    padding: 0 50px;
}
.accordion h1 {
    font-size: 32px;
    text-align: center;
}
.accordion-item {
    margin-top: 16px;
    border: 1px solid #fcfcfc;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.accordion-item .accordion-item-title {
    position: relative;
    margin: 0;
    display: flex;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
    justify-content: space-between;
    flex-direction: row-reverse;
    padding: 14px 20px;
    box-sizing: border-box;
    align-items: center;
}
.accordion-item .accordion-item-desc {
    display: none;
    font-size: 14px;
    line-height: 22px;
    font-weight: 300;
    color: #444;
    border-top: 1px dashed #ddd;
    padding: 10px 20px 20px;
    box-sizing: border-box;
}
.accordion-item input[type="checkbox"] {
    position: absolute;
    height: 0;
    width: 0;
    opacity: 0;
}
.accordion-item input[type="checkbox"]:checked ~ .accordion-item-desc {
    display: block;
}
.accordion-item
    input[type="checkbox"]:checked
    ~ .accordion-item-title
    .icon:after {
    content: "-";
    font-size: 20px;
}
.accordion-item input[type="checkbox"] ~ .accordion-item-title .icon:after {
    content: "+";
    font-size: 20px;
}
.accordion-item:first-child {
    margin-top: 0;
}
.accordion-item .icon {
    margin-left: 14px;
}

@media screen and (max-width: 767px) {
    .accordion {
        padding: 0 16px;
    }
    .accordion h1 {
        font-size: 22px;
    }
}
