/* Custom Animations & Styles */

@import "tailwindcss";

*,
::after,
::before {
    box-sizing: border-box;
}

/* 1. Process Steps Animations */
.process-line-container {
    position: relative;
}

/* The vertical connecting line */
.process-line {
    position: absolute;
    left: 24px;
    /* Adjust based on padding/marker size */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e2e8f0;
    /* slate-200 */
    z-index: 0;
}

.js-process-step {
    position: relative;
    z-index: 1;
    transition: all 0.5s ease;
    opacity: 0.4;
    /* Inactive state transparency */
    transform: scale(0.98);
}

.js-process-step.active {
    opacity: 1;
    transform: scale(1);
}

.js-process-step .step-marker {
    transition: all 0.5s ease;
    background-color: white;
    border-color: #e2e8f0;
    box-shadow: none;
    transform: scale(0.6);
}

.js-process-step.active .step-marker {
    background-color: #2563eb;
    /* primary blue */
    border-color: #2563eb;
    transform: scale(0.6);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
    text-transform: capitalize;
}

.js-process-step .step-content {
    transition: all 0.5s ease;
    border-color: transparent;
    box-shadow: none;
    background-color: transparent;
}

.js-process-step.active .step-content {
    background-color: white;
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 2. Fade In Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 3. Floating Animation */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* 4. Tabs Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* 5. Custom Scrollbar Hiding */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* 6. Slider Snap */
.snap-x-mandatory {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    /* Make it smooth */
}

.snap-center {
    scroll-snap-align: center;
}

/* 7. Pulse Animation for Hero Badges */
@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.animate-ping-slow {
    animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* 8. Active Tab Transition */
.tab-trigger {
    transition: all 0.3s ease;
}

/* 9. Slider Navigation Buttons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    color: #1e293b;
}

.slider-nav-btn:hover {
    background-color: #f8fafc;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    color: #2563eb;
}

.slider-nav-btn.prev {
    left: 1rem;
}

.slider-nav-btn.next {
    right: 1rem;
}

@media (max-width: 768px) {
    .slider-nav-btn {
        display: none;
    }

    /* Hide on mobile, use swipe */
}


.section_padding {
    padding: 60px 0px !important;
}

.hero_padding {
    padding: 130px 0px 60px 0px;
}

.container-width {
    padding: 0 30px !important;
}


.process-left-col {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step-box {
    margin-bottom: 35px !important;
}

.person-standing-img img {
    border-radius: 24px;
    object-fit: cover;
}

.tech-flot-box-javascript {
    right: 20px !important;
    top: -10px !important;
    left: unset !important;
}

@media only screen and (max-width:1240px) {
    .header-main {
        padding: 10px 30px !important;
    }
}

@media only screen and (max-width: 1199.5px) {
    .heading-text {
        font-size: 38px !important;
    }

    .para-font {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }

    .mb-30 {
        margin-bottom: 30px !important;
    }

    .default-btn {
        padding: 18px 30px !important;
    }

    .step-box {
        margin-bottom: 25px !important;
    }
}

@media only screen and (max-width: 1024.5px) {
    .default-btn {
        padding: 10px 20px !important;
        font-size: 16px !important;
    }

    .performance-badget {
        padding: 10px 16px !important;
        left: 0px !important;
        width: auto !important;
        bottom: 28px !important;
    }

    .performance-img {
        width: 28px !important;
        height: 28px !important;
    }

    .performance-badget h3 {
        font-size: 16px !important;
    }

    .performance-review-badge {
        padding: 10px 16px !important;
        top: 0px !important;
    }

    .mb-12 {
        margin-bottom: 28px !important;
    }

    .step-box .step-content {
        padding: 28px !important;
    }

    .form-box {
        padding: 40px !important;
    }

    .form-box input,
    .form-box select,
    .form-box textarea {
        border: 1px solid #afafaf !important;
    }

    .footer-grid {
        gap: 20px !important;
    }

    .footer-widget-1 {
        width: 260px !important;
    }

    .footer-widget-2,
    .footer-widget-3 {
        width: 160px !important;
    }

    .footer-widget-4 {
        width: 30%;
    }

    .footer-grid {
        display: inline-flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin-bottom: 30px !important;
    }

    .footer-bottom {
        padding: 30px 30px 0px 30px !important;
    }
}

@media only screen and (max-width: 991.98px) {
    .banner-container {
        display: inline-flex !important;
        justify-content: space-between;
    }

    .banner-container .banner-col {
        width: calc(50% - 32px) !important;
    }

    .default-btn {
        height: auto !important;
    }

    .heading-bottom {
        margin-bottom: 30px !important;
    }

    .list-flex {
        display: inline-flex !important;
        flex-direction: row !important;
    }

    .form-container {
        gap: 30px !important;
    }

    .our-story-sec .our-story-image-content {
        aspect-ratio: 4/4 !important;
    }

    .our-story-sec .our-story-col {
        width: 100%;
        max-width: calc(50% - 30px);
    }

    .our-story-sec .our-story-row {
        display: flex;
        align-items: center;
        gap: 30px;
    }

    .about-banner-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}


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

    .banner-container .banner-col:not(:first-child),
    .about-banner-container .responsive-hidden {
        display: none !important;
    }

    .banner-container .banner-col {
        width: 100% !important;
    }

    .about-banner-container {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .about-banner-col {
        max-width: 100% !important;
    }

    .about-container {
        grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    }

    .about-col.about-order-1 {
        order: 1 !important;
    }

    .about-col.about-order-2 {
        order: 2 !important;
    }

    .partner-box-container {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 25px !important;
    }

    .partner-box-container .partner-box {
        width: calc(50% - 25px) !important;
    }

    .project-container .project-col {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .secure-content {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .list-flex {
        display: inline-flex !important;
        flex-direction: column !important;
    }

    .footer-grid {
        flex-wrap: wrap !important;
    }

    .footer-widget-1,
    .footer-widget-2,
    .footer-widget-3,
    .footer-widget-4 {
        width: calc(50% - 20px) !important;
    }

    .footer-grid {
        flex-wrap: wrap !important;
        row-gap: 40px !important;
    }

    .our-story-sec .our-story-row {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .our-story-sec .our-story-col {
        width: 100%;
        max-width: calc(100%);
    }

    .our-story-sec .our-story-image-content {
        aspect-ratio: 4 / 2 !important;
    }
}

@media only screen and (max-width: 767.98px) {
    .footer-bottom {
        flex-direction: row !important;
    }
}

@media only screen and (max-width: 575.98px) {
    .section_padding {
        padding: 40px 0px !important;
    }

    .feature-badges-container {
        flex-direction: row !important;
        gap: 5px !important;
        justify-content: space-between !important;
    }

    .feature-badge span {
        font-size: 13px !important;
    }

    .heading-text {
        font-size: 34px !important;
    }

    .banner-col h1.heading-text {
        display: inline-flex !important;
        gap: 5px !important;
    }

    .partner-box-container .partner-box {
        width: calc(100%) !important;
    }

    .view-services-btn {
        margin-top: 20px !important;
    }

    .project-btn-container {
        justify-content: space-between !important;
    }

    .project-btn-container .project-btn {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }

    .project-heading-content {
        width: 100%;
    }

    .form-box {
        padding: 20px !important;
    }

    .about-banner.hero_padding {
        padding: 120px 0px 40px 0px;
    }

    .about-banner .para-font {
        margin-bottom: 0px !important;
    }

    .about-banner h1 br {
        display: none !important;
    }
}

@media only screen and (max-width: 480.98px) {
    .feature-badge {
        width: max-content !important;

    }

    .feature-badges-container {
        justify-content: center !important;
        gap: 15px !important;
    }

    .heading-text {
        font-size: 28px !important;
    }

    .para-font {
        font-size: 16px !important;
        line-height: 1.3 !important;
    }

    .project-btn-container .project-btn {
        padding: 10px 30px !important;
        font-size: 14px !important;
        width: calc(50% - 12px) !important;
    }

    .project-items {
        padding-bottom: 0px !important;
    }

    .secure-content div:first-child {
        flex-direction: column !important;
        text-align: center !important;
    }

    .form-content {
        padding: 30px !important;
    }

    .form-content form .form-field-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }

    .form-content form .form-field {
        margin-top: 15px !important;
    }

    .footer-widget-4 {
        width: 100% !important;
    }

    .footer-widget-4 h4,
    .footer-widget-3 h4,
    .footer-widget-2 h4,
    .footer-widget-1 h4 {
        margin-bottom: 15px !important;
    }

    .footer-bottom {
        flex-direction: column !important;
    }

    .process_section h2 br {
        display: none !important;
    }

    .industry-slider-content {
        padding: 0px !important;
        width: 100% !important;
        margin: 0 auto !important;
    }
}

@media only screen and (max-width: 425.98px) {
    .heading-text {
        font-size: 24px !important;
    }

    .process-container {
        gap: 30px !important;
    }

    .footer-widget-1,
    .footer-widget-2,
    .footer-widget-3,
    .footer-widget-4 {
        width: calc(100%) !important;
    }

    .footer-grid {
        flex-wrap: wrap !important;
        row-gap: 30px !important;
    }

    .step-box {
        margin-bottom: 20px !important;
    }

    .about-client-flex {
        gap: 15px !important;
    }

    form #submit_btn {
        padding: 10px 20px !important;
        font-size: 16px !important;
    }

    .hero_padding {
        padding: 100px 0px 60px 0px;
    }
}

@media only screen and (max-width: 420.98px) {
    .list-items span {
        font-size: 14px !important;
    }

    .list-items div:first-child {
        width: 18px !important;
        height: 18px !important;
    }

    .list-items div:first-child svg {
        width: 10px !important;
        height: 10px !important;
    }
}

@media only screen and (max-width: 375.98px) {
    .list-flex {
        gap: 10px !important;
    }

    .form-container p {
        margin-bottom: 15px !important;
    }

    .services-items h3 {
        font-size: 24px !important;
    }

    h3.step-title {
        font-size: 20px;
    }

    .project-btn-container .project-btn {
        padding: 10px 20px !important;
    }

    .project-items {
        padding: 0px !important;
    }

    .header-main {
        padding: 8px 30px !important;
    }

    .industry-slider-sec h3 {
        font-size: 24px !important;
    }

    .feature-badges-container {
        justify-content: start !important;
    }
}

@media only screen and (max-width: 320.98px) {
    .banner-col h1.heading-text {
        flex-wrap: wrap !important;
    }

    .about-container {
        gap: 40px !important;
    }

    .heading-text {
        margin-bottom: 18px !important;
    }

    .about-client-flex {
        display: flex !important;
        flex-direction: column !important;
    }

    .project-btn-container .project-btn {
        width: calc(100%) !important;
    }

    .secure-content button {
        font-size: 14px !important;
        padding: 10px 20px !important;
        height: auto !important;
    }

    .secure-content {
        gap: 15px !important;
    }

    .form-container h2 br {
        display: none !important;
    }

    .about-client-flex h3 {
        font-size: 24px !important;
    }
}

/* ====Contact Page css Start============== */

.label1 {
    font-weight: 600;
    color: red;
    position: relative;
    /* bottom: -27px; */
    font-size: 12px;
    left: 0;
}