@font-face {
    font-family: "Arial Rounded MT Bold";
    src: url(../fonts/arlrdbd.ttf);
}

* {
    font-family: 'Arial Rounded MT Bold';
}

:root {
    --ktred: #C72729;
    --ktblack: #231F20;
}

body {
    background-color: #231F20;
    overflow-x: hidden;
}

h1{
    font-size: 48px;
}
h2{
    font-size: 36px;
}
h3{
    font-size: 29px;
}
h4{
    font-size: 24px;
}
h5{
    font-size: 20px;
}
h6{
    font-size: 16px;
}

@media (max-width: 568px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    h4 {
        font-size: 20px;
    }
}

.redbg {
    background-color: var(--ktred);
}

.red-text {
    color: var(--ktred);
}

.intro-font-size {
    font-size: 100px;
    line-height: 1;
}

.subtitle {
    font-size: 48px;
}

@media (max-width: 482px) {
    .subtitle {
        font-size: 24px;
    }

    .intro-font-size {
        font-size: 30px;
    }
}

@media (min-width: 482px) and (max-width: 768px) {
    .subtitle {
        font-size: 24px;
    }

    .intro-font-size {
        font-size: 50px;
    }
}

@media (min-width: 768px) and (max-width: 847px) {
    .subtitle {
        font-size: 30px;
    }

    .intro-font-size {
        font-size: 60px;
    }
}

@media (min-width: 848px) and (max-width: 1024px) {
    .subtitle {
        font-size: 40px;
    }

    .intro-font-size {
        font-size: 80px;
    }
}

/* first div */
.first_div{
    height: 91vh;
}

.marquee-container {
    background: linear-gradient(to right, var(--ktred) 50%, var(--ktblack) 90%);
}


.marquee-text {
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

.letter-spacing-3 {
    letter-spacing: 3px;
}

/* hero section text */
@media only screen and (max-width: 481px){
    .text-outline-red-tr {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px var(--ktred);
    }
}
@media only screen and (min-width: 482px){
    .text-outline-red-tr {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 3px var(--ktred);
    }
}

.text-outline-black-tr {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 3px var(--ktblack);
}

.text-outline-white-tr {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #fff;
}

/* kalatech text */
.kalatech .text p:nth-child(1):before{
    content: attr(data-text);
    position: absolute;
    color: var(--ktred);
    white-space: nowrap;
    overflow: hidden;
    word-spacing: normal;
    width: 0;
    transition: 1s ease-in;
}
.kalatech .text p:nth-child(3):before{
    content: attr(data-text);
    position: absolute;
    color: var(--ktred);
    white-space: nowrap;
    overflow: hidden;
    word-spacing: normal;
    width: 0;
    transition: 1s ease-in;
}
.kalatech .text p:nth-child(1):hover::before{
    width: 100%;
}
.kalatech .text p:nth-child(3):hover::before{
    width: 100%;
}


.ktext-outline-red,
.ktext-outline-black {
    position: relative;
    display: inline-block;
}

@media only screen and (max-width: 481px){
    .ktext-outline-red {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px var(--ktred);
        transition: all 1s ease-in;
    }
    
    .ktext-outline-black {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px var(--ktblack);
        transition: all 1s ease-in;
    }
}
@media only screen and (min-width: 482px){
    .ktext-outline-red {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 3px var(--ktred);
        transition: all 1s ease-in;
    }
    
    .ktext-outline-black {
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 3px var(--ktblack);
        transition: all 1s ease-in;
    }
}

.kalatech .text p:nth-child(2):hover .ktext-outline-red {
    -webkit-text-fill-color: #fff;
    -webkit-text-stroke: 0;
}

.kalatech .text p:nth-child(2):hover .ktext-outline-black {
    -webkit-text-fill-color: #fff;
    -webkit-text-stroke: 0;
}

.ktext-outline-red::before,
.ktext-outline-black::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: width 1s ease-in;
}

.ktext-outline-red::before {
    -webkit-text-fill-color: var(--ktred);
}

.ktext-outline-black::before {
    -webkit-text-fill-color: var(--ktblack);
}

.kalatech .text p:hover .ktext-outline-red::before,
.kalatech .text p:hover .ktext-outline-black::before {
    width: 100%;
}

.text-justify{
    text-align: justify;
    hyphens: auto;
}

/* kalatech */
.kalatech {
    background-color: #fff;
    padding-bottom: 5%;
    height: 103vh;
}

.kalatech .text {
    padding-top: 10%;
    padding-bottom: 10%;
}

.kalatech .text p:nth-child(1){
    font-size: 4.5vw;
}
.kalatech .text p:nth-child(3){
    font-size: 4.5vw;
}

.kalatech .text p:nth-child(2) {
    font-size: 10vw;
    margin-bottom: 0%;
    line-height: normal;
}

.kalatech span {
    color: var(--ktred);
}

.counter {
    background-color: var(--ktblack);
    text-align: center;
    border-radius: 20px;
    outline: 2px solid var(--ktred);
    outline-offset: 5px;
}

.kalatech .text p {
    line-height: 1;
}


/* services */
.font-30{
    font-size: 30px;
}
.underline-on-hover {
    position: relative;
    display: inline-block;
}

.underline-on-hover::after {
    content: '';
    position: absolute;
    left: 0;
    width: 0%;
    bottom: -2px;
    height: 2px;
    background-color: #fff;
    /* Change color as needed */
    transition: width 0.3s ease-in-out;
}

.underline-on-hover:hover::after {
    width: 100%;
}


.in-services {
    background-color: var(--ktred);
}

.in-services .image img{
    height: 50px;
    width: 50px;
}
.in-services .col-lg-6:hover img{
    animation: shake-hover 0.3s ease-in-out forwards;
}

/* client */
.client {
    background-color: var(--ktred);
    color: #fff;
    height: auto;
}


/* swiper slider */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    place-self: center;
    padding-top: 15px;
    padding-bottom: 15px;
}

.target-industry img{
    height: 100px;
    width: 100px;
}

.client img{
    height: 100px;
    width: 100px;
    filter: grayscale(100%);
}

.swiper-slide img {
    display: block;
    object-fit: contain;
}

.client img:hover {
    filter: none
}

/* animation */
@keyframes shake-hover {
    0% {
        transform: translate(1px, 1px) rotate(0deg);
    }

    10% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    20% {
        transform: translate(-3px, 0px) rotate(1deg);
    }

    30% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    40% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    50% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    60% {
        transform: translate(-3px, 1px) rotate(0deg);
    }

    70% {
        transform: translate(3px, 1px) rotate(-1deg);
    }

    80% {
        transform: translate(-1px, -1px) rotate(1deg);
    }

    90% {
        transform: translate(1px, 2px) rotate(0deg);
    }

    100% {
        transform: translate(1px, -2px) rotate(-1deg);
    }
}


@media screen and (max-width: 567px){
    .kalatech{
        height: auto;
    }

    .first_div{
        height: auto;
    }

    .kalatech .text {
        padding-top: 6%;
        padding-bottom: 6%;
    }
}
