.faq-con {
    background-color: var(--grey-color);
}
.faq-con .faq-box {
    gap: 30px;
    display: grid;
    grid-template-columns: 42.45% 48.65%;
    justify-content: space-between;
}
.faq-con .faq-box-img figure img{
    width: 100%;
    border-radius: 4px;
}
.faq-con .faq-item .card{
    border: 0;
    border-radius: 0;
    margin-bottom: 10px;
    background: transparent;
}
.faq-con .faq-item .card-header {
    border: 0;
    padding: 0;
    border-radius: 0;
    background: no-repeat;
}
.faq-con .faq-item .card-header button {
    width: 100%;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    line-height: 20px;
    border-radius: 4px;
    text-decoration: none;
    padding: 22px 40px 23px 20px;
    color: var(--primary--color);
    background: var(--secondary--color);
    border: 1px solid rgb(0 123 255 / 20%);
    white-space: normal;
    position: relative;
}
.faq-con .faq-item .card-body{
    padding: 30px 20px 10px;
}
.faq-con .faq-box .card-header h5 button:after {
    top: 35%;
    right: 20px;
    font-size: 18px;
    content: "\f107";
    position: absolute;
    color: var(--accent--color);
    font-family: "Font Awesome 6 Free";
}
.faq-con .faq-box .card-header h5 button:not(.collapsed):after {
    top: 32%;
    transform: rotate(180deg);
    color: var(--secondary--color);
}
.faq-con .faq-box .card-header h5 button:not(.collapsed) {
    color: var(--secondary--color);
    background: var(--accent--color);
    border: 1px solid var(--accent--color);
}
.faq-con .faq-box #accordion .card:last-child{
    margin-bottom: 0;
}

/* Dedicated Page Faq */

.dedicatedpage-faq {
    background-color: var(--secondary--color);
}
.dedicatedpage-faq .faq-item .card-header button {
    background: var(--grey-color);
    border: 1px solid var(--grey-color);
}
.dedicatedpage-faq .faq-box-img figure img {
    width: auto;
}

/* Reseller Page Faq */

.resellerpage-faq {
    background-color: var(--secondary--color);
}
.resellerpage-faq .faq-box {
    display: block;
}
.resellerpage-faq .faq-item .card {
    margin-bottom: 20px;
}
.resellerpage-faq .faq-item .card-header button {
    background: var(--grey-color);
    border: 1px solid var(--grey-color);
}

/* VPS Page Faq */

.vpsfaq-con .generic-title2 p {
    margin-bottom: 35px;
}
.vpsfaq-con .faq-item .card{
    border: 0;
    border-radius: 0;
    padding: 25px 0;
    background: transparent;
    border-bottom: 1px dashed #ececec;
}
.vpsfaq-con .faq-item .card-header {
    border: 0;
    padding: 0;
    border-radius: 0;
    background: no-repeat;
}
.vpsfaq-con .faq-item .card-header button {
    width: 100%;
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    padding: 0;
    color: var(--primary--color);
    white-space: normal;
    position: relative;
}
.vpsfaq-con .faq-item .card-body{
    padding: 0 115px 0 0;
}
.vpsfaq-con .faq-box .card-header h5 button:after {
    content: "";
    font-size: 16px;
    top: -8px !important;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 32px;
    text-align: center;
    position: absolute;
    font-family: 'FontAwesome';
    color: rgb(0 123 255 / 90%);
    border-radius: 4px;
    background-color: transparent;
    border: 0px solid rgb(0 123 255 / 100%);
}
.vpsfaq-con .faq-box .card-header h5 button:not(.collapsed):after {
    content: "";
    color: none;
    background-color: none;
    border: 0px solid var(--accent--color);
}
.vpsfaq-con .faq-box .card-header h5 button:not(.collapsed) {
    margin-bottom: 20px;
    color: #252525;
}
.vpsfaq-con .faq-box #accordion .card:last-child{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
}

@media only screen and (max-width: 1199px) {
    .faq-con .faq-item .card-body {
        padding: 20px 20px 10px;
    }

    /* VPS Page Faq */

    .vpsfaq-con .generic-title2 p {
        margin-bottom: 25px;
    }
    .vpsfaq-con .faq-item .card{
        padding: 22px 0;
    }
}
@media only screen and (max-width: 991px) {
    .faq-con .faq-box {
        grid-template-columns: 100%;
    }
    .faq-con .faq-box .faq-box-img {
        text-align: center;
    }
    .faq-con .faq-item{
        order: 2;
    }
    .faq-con .faq-box-img figure{
        text-align: center;
    }
    .faq-con .faq-box-img figure img {
        width: 280px;
    }

    /* Dedicated Page Faq */
    
    .dedicatedpage-faq .faq-box-img figure img {
        width: 280px;
    }

    /* Reseller Page Faq */

    .resellerpage-faq .faq-item .card {
        margin-bottom: 15px !important;
    }
    
    /* VPS Page Faq */

    .vpsfaq-con .generic-title2 p {
        margin-bottom: 20px;
    }
    .vpsfaq-con .faq-item .card{
        padding: 20px 0;
    }
    .vpsfaq-con .faq-item .card-header button {
        line-height: 22px;
        padding: 0 50px 0 0;
    }
    .vpsfaq-con .faq-item .card-body {
        padding-right: 65px;
    }
}
@media only screen and (max-width: 767px) {
    .faq-con .faq-item .card-header button {
        padding: 19px 40px 20px 20px;
    }
    .faq-con .faq-box-img{
        text-align: center;
    }
    .faq-con .faq-box-img figure img {
        width: 250px;
    }

    /* Dedicated Page Faq */
    
    .dedicatedpage-faq .faq-box-img figure img {
        width: 250px;
    }
    
    /* VPS Page Faq */

    .vpsfaq-con .generic-title2 p {
        margin-bottom: 10px;
    }
    .vpsfaq-con .faq-item .card{
        padding: 15px 0;
    }
    .vpsfaq-con .faq-box .card-header h5 button::after {
        top: -7px !important;
    }
    .vpsfaq-con .faq-item .card-body {
        padding-right: 0;
    }
}
@media only screen and (max-width: 575px) {
    .faq-con .faq-box-img figure img {
        width: 200px;
    }
    .faq-con .faq-item .card-header button {
        padding: 16px 40px 17px 20px;
        font-size: 16px;
        line-height: 18px;
    }

    /* Dedicated Page Faq */
    
    .dedicatedpage-faq .faq-box-img figure img {
        width: 200px;
    }

    /* VPS Page Faq */

    .vpsfaq-con .faq-item .card-header button {
        font-size: 16px;
        line-height: 22px;
        padding-right: 40px;
    }
    .vpsfaq-con .faq-box .card-header h5 button::after {
        font-size: 14px;
        top: -4px !important;
        width: 30px;
        height: 30px;
        line-height: 28px;
    }
    .vpsfaq-con .faq-box .card-header h5 button:not(.collapsed) {
        margin-bottom: 14px;
    }
}