@keyframes rotate {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(360deg);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.w-33 {
    width: 33%;
}

.rotate-letter-letter {
    display: inline-block;
}

.rotate-letter {
    animation: rotate 2s forwards linear;
}


.bg-lime {
    background-color: #9bd814;
}

.offer-card {
    width: 33%;
    padding: 30px;
    border-radius: 20px;
    background-color: white;
    transition: box-shadow 0.1s ease-in-out;
}

.letters-software-house {
    transition: opacity 4s ease-in-out;
}

.scroll-animate {
    opacity: 1;

}

.scroll-animate.visible {
    -webkit-animation: push-in .8s;
    -moz-animation: push-in .8s;
    animation: push-in .8s;
}


.tech-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 130px;
    margin: 10px;
    background-color: #e6e6e6;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.tech-tile i {
    display: flex;
    align-items: center;
    font-size: 48px;
    margin-bottom: 10px;
    transition: color .5s, background-color .5s;
}

.tech-tile span {
    font-size: 16px;
    font-weight: 600;
}

#scroll-icon {
    font-size: 20px;
    animation: bounce 2s infinite;
    cursor: pointer;
    transform: translateX(-50%);
    transition: opacity .1s ease, visibility 0s 1s;
}

.collapse {
    display: none;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transform: translateY(-100%);
    opacity: 0;
}

.collapse.is-open {
    background-color: #fbfbfb;
    display: block;
    transform: translateY(0);
    opacity: 1;
}


.navbar-toggler.is-active .navbar-toggler-line {
    background: #9bd814;
}

.letters-software-house {
    letter-spacing: -15px;
    font-size: 130px;
    line-height: 120px;
}

.overlap {
    margin-top: -250px;
}

#contact-us-button {
    background-color: #031d33;
    color: #fff
}

#contact-us-button:hover {
    outline: 1px solid #252525;
    background-color: #fff;
    color: #031d33;
}

.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    padding: 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #e0e0e0;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-description {
    text-align: left;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 0;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    z-index: 50;
    width: 16px;
    height: 16px;
    background-color: #9bd814;
    border: 4px solid #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 4px #ececec;
}

.timeline-dot.right {
    transform: translateX(-50%);
}

.timeline-dot.left {
    transform: translateX(50%);
    right: 0;
}

.timeline-content {
    position: relative;
    transition: transform 0.3s ease-in-out;
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2;
}


.timeline-content h3 {
    margin-top: 0;
    font-size: 20px;
    color: #9bd814;
}

.timeline-content p {
    margin: 10px 0 0;
    line-height: 1.6;
    color: #555;
}

.timeline-item.left .timeline-content {
    margin-left: auto;
    margin-right: 20px;
}

.timeline-item.right .timeline-content {
    margin-right: auto;
    margin-left: 20px;
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 15px;
    border-radius: 5px;
    display: none;
    z-index: 1000;
    font-family: Arial, sans-serif;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    transition: opacity 0.3s ease-in-out;
}


.notification.error {
    background-color: #f44336;
}

.notification.show {
    opacity: 1;
}

.notification.hide {
    opacity: 0;
    pointer-events: none;
}

.grecaptcha-badge {
    visibility: hidden;
}

.alert {
    margin-top: 3rem;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.rotate-icon {
    transition: transform 0.3s;
}

.rotate-icon.rotated {
    transform: rotate(45deg);
}

.description {
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.1s, max-height 0.1s ease-in-out;
}

.services-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    color: #222;
    cursor: pointer;
    border-radius: 8px;
}


.description.show {
    opacity: 1;
    max-height: 1000px;
    height: 100%;
    transition: opacity 0.3s, max-height 0.3s ease-in-out;
}




@media (max-width: 768px) {
    .md\:w-full {
        width: 100% !important;
    }

    .md\:p-0 {
        padding: 0 !important;
    }

    .md\:text-large {
        font-size: 1.4rem!important;
        line-height: 26px!important;
    }

    .md\:text-right {
        text-align: left !important;
    }

    .md\:d-block {
        display: block !important;
    }

    .md\:mt-3 {
        margin-top: 3rem !important;
    }

    .timeline-header {
        text-align: left;
    }

    .timeline-item {
        width: 100%;
    }

    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left {
        left: 0;
    }

    .timeline-container::before {
        left: 0;
    }

    .timeline-dot.right {
        transform: translateX(-50%);
    }

    .timeline-dot.left {
        transform: translateX(-50%);
        left: 0;
    }

    .timeline-item.left .timeline-content {
        margin-right: auto;
        margin-left: 20px;
    }


    .md\:bg-lime {
        background-color: #9bd814 !important;
    }

    .tech-tile {
        width: 80px;
        display: flex;
        align-items: center;
        height: 80px;
    }

    .letters-software-house {
        letter-spacing: -5px;
    }

    .tech-tile i {
        display: block;
        margin: 0 auto;
        font-size: 35px;
    }

    .tech-tile span {
        display: none;
    }
}

@keyframes draw {
    0% {
        stroke-dasharray: 500;
        stroke-dashoffset: 500;
        fill: transparent;
    }
    100% {
        stroke-dashoffset: 0;
        fill: black;
    }
}

svg path {
    stroke-width: 2;
    fill: transparent;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw 3s ease-in-out forwards;
}


@media (min-width: 768px) {
    .box-shadow-large, .box-shadow-large-hover:hover {
        box-shadow: 0 0 30px rgba(0, 0, 0, .08);
        transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -ms-transition: all 0.3s ease-in-out;
        -o-transition: all 0.3s ease-in-out;
    }
}
