@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

.frhd-cpt-main {
    max-width: 1200px !important;
    margin: auto;
    padding-bottom: 60px;
}

.frhd-cpt-main>*,
.frhd-cpt-main p,
.frhd-cpt-main h1,
.frhd-cpt-main h2,
.frhd-cpt-main h3,
.frhd-cpt-main h4,
.frhd-cpt-main h5,
.frhd-cpt-main h6 {
    font-family: "Urbanist", sans-serif !important;
}

/* Tabs */
button.tablinks {
    margin: 0;
    padding: 12px 22px;
    border: 1px solid #191a26;
    background: transparent;
    color: #191a26;
    transition: .3s;
    border-radius: 50px;
}

.tab {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-right: 120px;
}

button.tablinks.active,
button.tablinks:hover,
button.tablinks:focus {
    outline: 0;
    border-color: #C90E09;
    cursor: pointer;
    background-color: #C90E09;
    color: #fff;
}

/* Slider */
.splide__slide img {
    width: 100%;
    height: auto;
}
.splide__slide__row {
    height: unset !important;
}

/* Slider Arrow */
.frhd-cpt-main .splide__arrow {
    top: -40px;
    background-color: transparent;
    transition: .3s;
    border: 1px solid #c90e09;
    height: 40px;
    width: 40px;
    border-radius: 10px;
}
.frhd-cpt-main .splide__arrow:focus {
    outline: 0;
}
.frhd-cpt-main .splide__arrow--prev {
    left: auto;
    right: 65px;
}
.frhd-cpt-main .splide__arrow:hover {
    background-color: #c90e09;
}
.frhd-cpt-main .splide__arrow svg {
    fill: #c90e09;
}
.frhd-cpt-main .splide__arrow:hover svg {
    fill: #fff;
}

/* Card CSS */
.frhd-csp-card-area {
    display: grid;
    grid-gap: 24px;
    grid-template-columns: repeat(3, 1fr);
}
.frhd-csp-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.frhd-csp-card figure {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
}
.frhd-csp-card figure img {
    height: 100%;
    object-fit: cover;
}
.frhd-csp-card::before {
    content: "";
    background: #c75142;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    position: absolute;
    opacity: 0;
    transition: 0.3s;
    z-index: 1;
}
.frhd-csp-card .frhd-csp-link-btn {
    position: absolute;
    right: 20px;
    top: -5px;
    visibility: hidden;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: .4s ease-in-out;
}
.frhd-csp-card .frhd-csp-link-btn svg {
    fill: #c75142;
}
.frhd-csp-card .frhd-csp-card-content {
    padding: 20px;
    position: absolute;
    bottom: 0px;
    left: 20px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: .3s ease-in-out;
}
.frhd-csp-card .frhd-csp-card-content span {
    display: block;
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    color: #ffffff;
    font-family: "Open Sans", sans-serif;
}
.frhd-csp-card .frhd-csp-card-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 10px 0 0;
}

.frhd-csp-card:hover::before {
    opacity: 0.9;
}
.frhd-csp-card:hover .frhd-csp-link-btn { 
    top: 15px;
    visibility: visible;
    opacity: 1;
}
.frhd-csp-card:hover .frhd-csp-card-content {
    bottom: 15px;
    visibility: visible;
    opacity: 1;
}
/* Responsive */
@media screen and (max-width: 768px) {
    .tab {
        padding-right: 0;
    }
    .tabcontent  {
        padding-top: 60px;
    }
    .frhd-csp-card .frhd-csp-link-btn {
        width: 40px;
        height: 40px;
    }
    
    .frhd-csp-card .frhd-csp-card-content {
        padding: 15px 0;
    }

    .frhd-csp-card .frhd-csp-card-content h3 {
        font-size: 20px;
    }
    .frhd-csp-card .frhd-csp-card-content span {
        font-size: 12px;
    }

    .frhd-csp-card .frhd-csp-link-btn svg {
        width: 14px !important;
    }
}