/* HERO */
.main {
    max-width: 1500px;
    margin: 0 auto 0;
    height: 100vh;
}

.hero-h1 {
    font-size: 3.2rem;
}

.hero-p {
    font-size: 28px;
}

.hero-section {
    background: url("../images/hero-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}

.fixed-width-container {
    max-width: 1600px;
    margin: 0 auto;
}

.cta-btn {
    position: relative;
    line-height: 1 !important;
    display: block;
    border: 1px solid white;
    background-color: transparent;
    color: white;
    overflow: hidden;
}


.cta-btn:hover {
    color: black;
}

.cta-btn p {
    position: relative;
    z-index: 2;
    padding: 1rem 0 1rem;
}

.cta-btn p:hover {
    color: black;
}

.cta-btn::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: white;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.2, 1);
    border-radius: 50rem;
}

.cta-btn:hover::after {
    transform-origin: left;
    transform: scaleX(1)
}


.cta-btn.dark {
    border-color: black;
    color: black;
    height: fit-content;
}

.cta-btn.dark::after {
    background-color: black;
}

.cta-btn.dark:hover {
    color: white;
}

.cta-btn.dark:hover p {
    color: white;
}


.scroll-indicator {
    position: absolute;
    right: 20px;
    bottom: 0px;
}

.scroll-text {
    position: relative;
}

.scroll-text span {
    writing-mode: vertical-lr;
    text-orientation: sideways-right;
    letter-spacing: 2px;
    line-height: 0.7;
    margin-right: 10px;
    transition: letter-spacing 0.25s ease-in-out;
}

.scroll-line {
    position: relative;
    background-color: white;
    height: 100px;
    width: 2px;
    cursor: pointer;
    overflow: hidden;
    max-width: 70px;
}

.scroll-line::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 100%;
    background-color: var(--dark-purple);
    transform: translateY(-100%);
    transform-origin: bottom;
    transition: transform 1s ease-in-out;
}

.scroll-text:hover {
    letter-spacing: 4px;
}

.scroll-text:hover .scroll-line::after {
    transform-origin: top;
    animation: scroll-indicator-animation;
    animation-duration: 1s;
    animation-iteration-count: infinite;
}

.scroll-text:hover span {
    letter-spacing: 4px;
}

@keyframes scroll-indicator-animation {
    0% {
        transform: translateY(-100%)
    }

    100% {
        transform: translateY(100%)
    }
}

.scroll-line-black {
    outline: 1px solid black;
    height: 25px;
    width: 0px;
}

/* SOLUTION SERVICES */
section#solution-services {
    position: relative;
    max-width: none;
}

section#solution-services::before {
    position: relative;
    display: block;
    content: '';
    width: 100%;
    top: 0;
    left: 0;
    height: 50px;
    /* margin-top: -50px; */
}

.services-card {
    width: 30%;
}

.services-card-content {
    position: relative;
}

.services-card-content>img {
    width: 100%;
}

.services-card-gradient {
    position: absolute;
    height: 40%;
    width: 100%;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.services-card-title {
    line-height: 1.4;
}

.services-card-details {
    position: absolute;
    bottom: 0;
}

.services-card-number {
    width: 3.5rem;
    height: 3.5rem;
    padding: 0.2rem;
}

/* KNOW US */
.know-us-parent {
    background: linear-gradient(to right, var(--purple) 50%, var(--orange) 50%);
}

.know-us {
    transform: skewX(-12deg);
    width: 77vw !important;
    overflow-x: hidden;
}

.know-us-container {
    transform: skewX(12deg);
}

.know-us-inner-container p,
.know-us-inner-container h2,
.know-us-inner-container div {
    transform: skewX(0deg);
}

/* MAKE CYBERBEAT WORK FOR YOU */
.logo-medium {
    height: 50px;
    width: auto;
    margin-top: -13px;
}

.work-card-icon {
    height: 45px;
}

#slider-component {
    transition: height 0.5s ease-in-out;
}

.content-card-container {
    transition: height 0.5s ease-in-out;
}

#content-card {
    transition: all 0.5s ease-in-out;
}

.main-card {
    height: 100%;
    min-height: 250px;
}

@media only screen and (max-width: 1024px) {
    .main-card {
        min-height: 250px;
    }
}

@media only screen and (max-width: 992px) {
    .main-card {
        min-height: 250px;
    }
}

@media only screen and (max-width: 576px) and (min-width: 360px) {
    .main-card {
        min-height: 230px;
    }
}

.icon-slide {
    transition: all 0.5s ease-in-out;
}

.main-card>div>.logo {
    width: 20%;
    height: auto;
}

.triangle-down {
    width: 28px;
    height: 28px;
    transform: translate(0px, -50%) rotate(45deg);
    background: linear-gradient(135deg, transparent 50%, white 50%);
    transition: margin 0.1s linear;
}

.triangle-up {
    width: 40px;
    height: 40px;
    transform: translate(0px, 50%) rotate(45deg);
    background: linear-gradient(135deg, white 50%, transparent 50%);
    transition: margin 0.1s linear;
}

.icon-card {
    background-color: var(--purple);
    cursor: pointer;
    width: 10%;
    height: 7.8rem;
    transition: all 0.3s ease-in-out;
}

.icon-card>.icon {
    width: 40%;
    height: auto;
}

.icon-card-active {
    background-color: var(--orange);
    cursor: pointer;
    height: 8.8rem;
}

.icon-slider {
    height: 9rem;
    transition: all 0.8s ease-in-out;
}

.slider-container {
    overflow: hidden;
}

/* CLIENTS */
.client-logo {
    width: 20%;
    height: auto;
}

.membership-logo {
    width: 30%;
    height: auto;
}

.membership-logo>img {
    width: 90%;
}

.client-logo>img {
    width: 90%;
}

.logo-ai {
    width: 60% !important;
}

/* NEWSROOM */
.news-card-lg>img,
.news-card-sm>img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.logos-container {
    width: 80%;
}



@media only screen and (max-width: 1200px) and (min-width: 992px) {
    .icon-card {
        height: 6.3rem;
    }

    .icon-card-active {
        height: 8rem;
    }

    .icon-slider {
        height: 8.5rem;
    }

    .icon-card>.icon {
        width: 50%;
        height: auto;
    }
}

@media only screen and (max-width: 1200px) {

    /* CLIENT LOGOS */
    .logos-container {
        width: 100%;
    }
}

@media only screen and (max-width: 992px) {

    /* HERO */
    .hero-h1 {
        font-size: 2rem;
    }

    .hero-p {
        font-size: 16px;
    }

    /* SERVICES */
    .services-card-number {
        width: 3rem;
        height: 3rem;
    }

    .services-card {
        width: 45%;
    }

    /* KNOW US SECTION */
    .know-us-parent {
        overflow-x: hidden;
    }

    .know-us-container {
        transform: skewX(6deg);
    }

    .know-us {
        transform: skewX(-6deg);
        width: 90vw !important;
    }

    .know-us-text {
        padding: 0 15px;
    }

    /* MAKE CYBERBEAT WORK FOR YOU */
    .logo-medium {
        height: 36px;
        width: auto;
    }

    .slider-container {
        overflow: hidden;
    }

    .icon-slider {
        height: 8.7rem;
    }

    .icon-card {
        min-width: 15%;
        height: 7.2rem;
    }

    .icon-card>.icon {
        width: 65%;
        height: auto;
    }

    .icon-card-active {
        cursor: pointer;
        height: 8.3rem;
    }

    .icon-card-btn {
        user-select: none;
        width: 2rem;
        height: 2rem;
        display: block;
        border: none;
        opacity: 0.5;
    }

    .icon-card-btn img {
        width: 75%;
        height: 75%;
    }

    .icon-card-btn:hover {
        opacity: 1;
    }
}

@media only screen and (max-width: 576px) {

    /* HERO */
    .hero-h1 {
        font-size: 1.7rem;
    }

    .hero-p {
        font-size: 14px;
    }

    /* SOLUTION SERVICES */
    .services-card-details {
        position: absolute;
        bottom: 0;
        height: 100%;
        justify-content: space-between;
        align-items: flex-start !important;
    }

    .services-card-description {
        width: 40%;
    }

    .services-card {
        width: 100%;
    }

    .services-card-content {
        width: 50%;
        position: relative;
        height: 7rem;
        object-fit: cover;
    }

    .services-card-content>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .services-card-gradient {
        position: absolute;
        height: 100%;
        width: 100%;
        bottom: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
    }

    .services-card-number {
        width: 1.8rem;
        height: 1.8rem;
        padding: 0.2rem;
    }

    .services-card-title {
        border-left: none;
    }

    .scroll-indicator {
        position: absolute;
        right: 20px;
        top: 73vh;
    }

    /* KNOW US SECTION */
    .know-us-parent {
        overflow-x: hidden;
        background: none;
    }

    .know-us {
        transform: skewX(0deg);
        width: 100vw !important;
    }

    .know-us-container {
        transform: skewX(0deg);
    }

    .know-us-footer {
        width: 90%;
    }

    /* MAKE CYBERBEAT WORK FOR YOU */
    .slider-container {
        overflow: hidden;
    }

    .main-card.rounded-9 {
        border-radius: 15px;
    }

    .icon-card {
        min-width: 100px;
        height: 7.5rem;
    }

    .icon-card>.icon {
        width: 65%;
        height: auto;
    }

    .icon-card-active {
        cursor: pointer;
        height: 8.2rem;
    }

    .icon-slider {
        height: 8.5rem;
    }

    /* CLIENT LOGOS */
    .client-logo {
        width: 42%;
    }

    .membership-logo {
        width: 50%;
    }

    /* NEWSROOM */
    .news-container-lg {
        width: 100%;
    }

    .news-container-sm {
        width: 100%;
    }

    .news-card-sm {
        width: 100%;
    }

    .news-card-lg {
        width: 100%;
    }

    .news-card-lg .article-description {
        display: none;
    }
}