body {
    font-family: "Poppins", sans-serif !important;
}

.main-title p {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 25px 0;
    grid-gap: 30px;
    background: linear-gradient(220.55deg, #4157a0 2.4%, #5a7cd7 95.17%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-title p:after,
.main-title p:before {
    content: " ";
    display: block;
    border-bottom: 1px solid #737373;
}

span ul li a.active {
    border-bottom: 2px solid #ecf0f1;
}

.trin-trin {
    animation-name: trin;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes trin {
    from {
        transform: rotate3d(0, 0, 1, 0deg);
    }

    20%,
    32%,
    44%,
    56%,
    68% {
        transform: rotate3d(0, 0, 1, 0deg);
    }

    23%,
    35%,
    47%,
    59%,
    71% {
        transform: rotate3d(0, 0, 1, 15deg);
    }

    26%,
    38%,
    50%,
    62%,
    74% {
        transform: rotate3d(0, 0, 1, 0deg);
    }

    29%,
    41%,
    53%,
    65%,
    77% {
        transform: rotate3d(0, 0, 1, -15deg);
    }

    80% {
        transform: rotate3d(0, 0, 1, 0deg);
    }
}

.Services-box:hover {
    background: linear-gradient(220.55deg, #4157a0 2.4%, #5a7cd7 95.17%);
}

.Services-box:hover img {
    transition: all 0.65s;
    transform: rotateY(360deg);
}

.Services-box:hover h2 {
    color: white;
}

.Services-box:hover p {
    color: white;
}

.Services-box:hover button {
    background-color: white;
    border: linear-gradient(220.55deg, #4157a0 2.4%, #5a7cd7 95.17%);
}

.floating {
    animation-name: floating;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 8px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

.floating-4 {
    animation-name: floating;
    animation-duration: 4s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

@keyframes floating-4 {
    0% {
        transform: translate(0, 0px);
    }

    50% {
        transform: translate(0, 8px);
    }

    100% {
        transform: translate(0, -0px);
    }
}

#page-container {
    position: relative;
    min-height: 100vh;
}

#footer {
    position: absolute;
    bottom: 0;
}

.module {
    border-width: 0 0 0 70px;
    border-style: solid;
    -webkit-border-image: -webkit-gradient(linear, 100% 0, 0 0, from(#4157a0), to(#5a7cd7)) 1 100%;
    -webkit-border-image: -webkit-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    -moz-border-image: -moz-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    -o-border-image: -o-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
}

.modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0 0 0 / 79%);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
    z-index: 30;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
}

.close-button {
    float: right;
    width: 1.5rem;
    line-height: 1.5rem;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    background: linear-gradient(64deg, #8ca6ff 2.4%, #7992d7 95.17%);
    color: white;
}

.close-button:hover {
    background-color: lightgray;
}

.show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

.contact-button button:hover {
    background: linear-gradient(220.55deg, #4157a0 2.4%, #5a7cd7 95.17%);
    color: white;
    border: 1px solid white;
}

.gradient-font {
    background: linear-gradient(220.55deg, #4157a0 2.4%, #5a7cd7 95.17%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.box-left-gradient {
    border-width: 0 0 0 30px;
    border-style: solid;
    -webkit-border-image: -webkit-gradient(linear, 100% 0, 0 0, from(#4157a0), to(#5a7cd7)) 1 100%;
    -webkit-border-image: -webkit-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    -moz-border-image: -moz-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    -o-border-image: -o-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    height: auto;
    min-height: 120px;
}

/* === HEADING STYLE === */
.heading h2:before {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 2px;
    content: "";
    background: linear-gradient(220.55deg, #4157a0 2.4%, #5a7cd7 95.17%);
}

.heading h2 span {
    line-height: 2em;
}

.heading h2 {
    position: relative;
    padding: 0;
    margin: 0;
    -webkit-transition: all 0.4s ease 0s;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.left-gradient {
    border-width: 0 0 0 10px;
    border-style: solid;
    -webkit-border-image: -webkit-gradient(linear, 100% 0, 0 0, from(#4157a0), to(#5a7cd7)) 1 100%;
    -webkit-border-image: -webkit-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    -moz-border-image: -moz-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    -o-border-image: -o-linear-gradient(right, #4157a0, (#5a7cd7)) 1 100%;
    height: auto;
    /* min-height: 120px; */
}

.gradient-border {
    place-items: center;
    border: 3px solid;
    padding: 1rem;
}

.sides-2 {
    border-image: linear-gradient(to bottom, #4157a0, #5a7cd7) 0 0 0 1;
}

@media (max-width: 1279px) {
    .navbar-bg {
        background: linear-gradient(220.55deg, #4157a0 2.4%, #5a7cd7 95.17%);
    }
}

@media (max-width: 767px) {
    .main-title p {
        grid-template-rows: 16px 0 !important;
    }

    .module {
        border-width: 0 0 0 0 !important;
    }

    .gradient-border {
        padding: 1rem 0 !important;
        margin: 0.5rem 2rem;
    }

    .sides-2 {
        border-image: linear-gradient(to bottom, #4157a0, #5a7cd7) 1 0 0 0 !important;
    }

    .left-gradient {
        border-width: 0 0 0 0 !important;
        min-height: 145px !important;
    }
}

@media (max-width: 1279px) {
    .box-left-gradient {
        min-height: 145px !important;
    }
}

@media (max-width: 1023px) {
    .box-left-gradient {
        min-height: 145px !important;
    }

    .left-gradient {
        min-height: 245px !important;
    }
}

@media (max-width: 343px) {
    .main-title1 p {
        grid-template-rows: 30px 0 !important;
    }
}

.icon-rotate:hover svg {
    transition: all 0.65s;
    transform: rotateY(360deg);
}


.em_bar_bg {
    height: 5px;
    width: 90px;
    background: linear-gradient(220.55deg, #94aaf5 2.4%, #678cf1 95.17%);
    margin: 20px auto;
    position: relative;
    border-radius: 30px;
}

.em_bar_bg:before {
    content: '';
    position: absolute;
    left: 0;
    top: -2.7px;
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background: #5b7adf;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-name: MOVE-BG;
    animation-name: MOVE-BG;
}

@-webkit-keyframes MOVE-BG {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(88px);
        transform: translateX(88px);
    }
}

@keyframes MOVE-BG {
    from {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    to {
        -webkit-transform: translateX(88px);
        transform: translateX(88px);
    }
}

.btn-hover {
    background-size: 300% 100%;
    transition: all .4s ease-in-out;
}

.btn-hover:hover {
    background-position: 100% 0;
    transition: all .4s ease-in-out;
}

.btn-hover:focus {
    outline: none;
}

.btn-hover.color-1 {
    background-image: linear-gradient(to right, #5a7cd7, #4157a0, #5a7cd7, #4157a0);
}

.peer:checked~.peer-checked\:hamburger div:last-child {
    --tw-translate-y: -0.25rem;
    --tw-rotate: -45deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.peer:checked~.peer-checked\:hamburger div:first-child {
    --tw-translate-y: 0.375rem;
    --tw-rotate: 45deg;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
