/* DEMO-SPECIFIC STYLES */

::-webkit-scrollbar {
    width: 5px;
}

 ::-webkit-scrollbar-track {
    background-color: #bf2121;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

 ::-webkit-scrollbar-thumb {
    -webkit-border-radius: 20px;
    border-radius: 20px;
    background: #25255b;
}

.typewriter h1 {
    color: #e00f0f;
    font-family: monospace;
    overflow: hidden;
    /* Ensures the content is not revealed until the animation */
    border-right: .15em solid orange;
    /* The typwriter cursor */
    white-space: nowrap;
    /* Keeps the content on a single line */
    margin: 0 auto;
    /* Gives that scrolling effect as the typing happens */
    letter-spacing: .15em;
    /* Adjust as needed */
    animation: typing 3.5s steps(30, end), blink-caret .5s step-end infinite;
}

.btnLoadMore {
    padding: 0.8em 2em;
    background: none;
    font-size: 15px;
    color: #fff;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    border-radius: 12px;
    background-color: #bf2121;
    font-weight: bolder;
}

.btnLoadMore:hover {
    background-color: #25255b;
    color: #fff;
    box-shadow: 0 2px 0 2px #1b1f37;
}

.btnLoadMore:hover::before {
    transform: skewX(30deg) translate(310%, -50%);
    transition-delay: 0.1s;
}

.btnLoadMore:active {
    transform: scale(0.9);
}

.service-box {
    text-align: center;
    border-radius: 10px;
    border: 2px solid #41acdd26;
    position: relative;
    background-color: white;
    transition: all ease .4s;
    overflow: hidden;
}

.service-box .sr-icon {
    background-color: white;
    padding: 20px;
    display: inline-block;
    position: relative;
    z-index: 2;
    border-radius: 50%;
    margin-top: -40px;
}

.service-box .sr-icon i {
    height: 60px;
    padding-top: 15px;
    width: 60px;
    background-color: #2072bc;
    color: white;
    font-size: 2em;
    display: inline-block;
    text-align: center;
    border-radius: inherit;
}

.service-box .sr-img img {
    transition: all 0.75s ease-in-out;
}

.service-box:hover .sr-img img {
    transform: scale(1.2);
    transition: all 0.75s ease-in-out;
}

.portfolio-img img {
    filter: grayscale(0%);
    transform: scale(1);
    opacity: 1;
}

.portfolio-img:hover img {
    filter: grayscale(0%);
    transform: scale(1);
    opacity: 1;
}

.portfolio-img:hover .portfolio-hover::before {
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, 125%, 0);
}

.portfolio-hover {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.portfolio-hover::before {
    content: "";
    background-color: rgb(191 79 87 / 14%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform: scale3d(1.9, 1.4, 1) rotate3d(0, 0, 1, 45deg) translate3d(0, -125%, 0);
    transition: transform 0.6s;
}

.hs-dropdown-menu {
    opacity: 0;
    /* Start with the menu hidden */
    transition: opacity 0.3s ease-in-out;
    /* Define the transition property */
}

.hs-dropdown-menu.visible {
    opacity: 1;
    /* Show the menu when the "visible" class is applied */
}

.current {
    background-color: #bb1c27;
    color: white;
    padding: 5px 12px;
    border-radius: 8px;
}

.current:hover {
    background-color: #25255b;
    color: white;
}


/* The typing effect */

@keyframes typing {
    from {
        width: 0
    }
    to {
        width: 100%
    }
}


/* The typewriter cursor effect */

@keyframes blink-caret {
    from,
    to {
        border-color: transparent
    }
    50% {
        border-color: orange
    }
}

@media only screen and (max-width:768px) {
    .current {
        background-color: transparent;
        color: #bb1c27;
        padding: 0;
    }
}


/* Add these classes to your Tailwind CSS file */


/* Timeline */

.timeline::before {
    content: '';
    background: #f5f5f5;
    width: 5px;
    height: 95%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}


/* Timeline Item */

.timeline-item {
    width: 100%;
    margin-bottom: 70px;
}


/* Odd Timeline Items */

.timeline-item:nth-child(odd) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
}


/* Even Timeline Items */

.timeline-item:nth-child(even) .timeline-content {
    float: right;
    padding: 40px 30px 10px 30px;
}

.timeline-item:nth-child(even) .date {
    right: auto;
    left: 0;
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #f5f5f5 transparent transparent;
}


/* Timeline Content */

.timeline-content {
    position: relative;
    width: 45%;
    padding: 10px 30px;
    border-radius: 4px;
    background: #f5f5f5;
    box-shadow: 0 20px 25px -15px rgba(0, 0, 0, .3);
}

.timeline-content::after {
    content: '';
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    right: -15px;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent #f5f5f5;
}


/* Timeline Image */

.timeline-img {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    margin-top: 25px;
    margin-left: -15px;
}


/* Button */

.btn-more {
    background: red;
    color: white;
    padding: 8px 20px;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 20px;
    margin-top: 10px;
    display: inline-block;
    border-radius: 2px;
    box-shadow: 0 1px 3px -1px rgba(0, 0, 0, .6);
}

.btn-more:hover,
.btn-more:focus {
    background: red;
    color: white;
    text-decoration: none;
}


/* Timeline Card */

.timeline-card {
    padding: 0!important;
}


/* Blockquote */

blockquote {
    margin-top: 30px;
    color: darkblue;
    border-left-color: white;
    padding: 0 20px;
}


/* Date */

.date {
    background: red;
    display: inline-block;
    color: black;
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
}
.browse-jobs-card {
  padding: 30px 30px 30px 105px;
}

.browse-jobs-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  border-radius: 5px;
  background-color: #bf21210a;
  opacity: 0;
  transition: 0.3s;

}

.browse-jobs-card:hover::before {
  width: 100%;
  opacity: 1;
}

.browse-jobs-card:hover .icon {
  background-color: white;
  color: #bf2121;
}

.browse-jobs-card:hover h3 a,
.browse-jobs-card:hover p,
.browse-jobs-card:hover .more-btn {

  z-index: 999;
  position: relative;
}


/* Responsive Styling */

@media screen and (max-width: 768px) {
    .timeline::before {
        left: 50px;
    }
    .timeline-img {
        left: 50px;
    }
    .timeline-content {
        max-width: 100%;
        width: auto;
        margin-left: 70px;
    }
    .timeline-item:nth-child(odd) .timeline-content::after {
        content: '';
        position: absolute;
        border-style: solid;
        width: 0;
        height: 0;
        top: 30px;
        left: -15px;
        border-width: 10px 15px 10px 0;
        border-color: transparent #f5f5f5 transparent transparent;
    }
    .browse-jobs-card {
      padding: 15px 10px 15px 50px;
    }
}

#gotoTop {
    display: none;
    z-index: 599;
    position: fixed;
    width: 40px;
    height: 40px;
    background-color: #333;
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 1.25rem;
    line-height: 36px;
    text-align: center;
    color: #FFF;
    top: auto;
    left: auto;
    right: 30px;
    bottom: 50px;
    cursor: pointer;
    border-radius: 2px;
}

body:not(.device-touch) #gotoTop {
    transition: background-color .2s linear;
    -webkit-transition: background-color .2s linear;
    -o-transition: background-color .2s linear;
}

.stretched #gotoTop {
    bottom: 30px;
}

#gotoTop:hover {
    background-color: #931b33;
}
