/* CSS for this specific page */

.hero-section {
    padding: 15rem 0 !important;
}

/* Section headings */
.section h2,
.section h3 {
    font-weight: 600;
    color: #a7d7c5;
    /* soft mint/teal - better than too bright */
}

/* Section paragraphs */
.section p,
.section .lead {
    color: #cfd8d5;
    /* lighter gray for good contrast on dark bg */
    font-size: 1.125rem;
    line-height: 1.6;
}

/* Padding top and bottom for py-6 */
.py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Dark gray background for sections */
.bg-soft-gray {
    background-color: #1f1f1f;
    /* deep dark gray */
}



.bg-soft-gray {
    background-color: #1f1f1f;
    color: #eaeaea;
}

.bg-soft-gray h2,
.bg-soft-gray h3 {
    color: #d4f2ec;
}

.bg-soft-gray p {
    color: #cccccc;
}

.icon-feature {
    font-size: 2rem;
    color: #007f72;
    margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
    .section {
        padding: 2.5rem 1rem;
    }

    h2,
    h3 {
        font-size: 1.6rem;
    }

    .section p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .img-fluid {
        width: 100% !important;
        height: auto !important;
    }

    #mission .row {
        flex-direction: column-reverse;
        margin-top: 1rem !important;
    }

    #mission{

        margin-top:-2rem!important;

    }

    #expertise {

        margin-top: -5rem !important;
    
    }


}

/* Default desktop behavior */
.mission-image {
    max-height: 420px;
    width: 80%;
}

/* Mobile-friendly behavior */
@media (max-width: 767.98px) {

    .mission-image {
        width: 100% !important;
        max-height: none;
        height: auto;
        margin-bottom: 1.5rem !important;
    }

    .expertise-image {
        width: 100% !important;
        max-height: none;
        height: auto;
        margin-bottom: 1.5rem !important;
    }

}

#expertise {
    padding-bottom: 5rem !important;
}

/* Default for larger screens */
.expertise-image {
    max-height: 420px;
    width: 80%;
    margin-bottom: 2.5rem;
    margin-top: 4rem;
}



@media (min-width: 768px) and (max-width: 991px) {

    #mission .row {
        flex-direction: column-reverse;
    }

    #mission .col-lg-6 {
        padding-left: 5rem;
        padding-right: 5rem;
        padding-top: 2rem;
        text-align: center;
    }

    #mission h3 {
        margin-top: 2rem !important;
    }


    #expertise .col-lg-6 {
        padding-left: 5rem;
        padding-right: 5rem;
        padding-top: 2rem;
        text-align: center;
    }



}


.btn-hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

    .btn-hover-lift:hover {
        transform: translateY(-3px); /* Lifts the button slightly */
        box-shadow: 0 10px 20px rgba(0,0,0,0.15) !important; /* Deepens the shadow */
    }

    .btn-hover-lift:active {
        transform: translateY(-1px); /* Sinks slightly when clicked */
    }

/* Overriding Bootstrap's .text-success to a brand green shade */
.text-success {
    color: #4caf50 !important;
    /* a cleaner green, visible on dark bg */
}

/* Container text alignment fixes */
.container-lg.text-center p {
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

/* Images - rounded with subtle shadow */
img.img-fluid.rounded.shadow-sm {
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#faqAccordion {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.accordion-item h2 button,
.accordion-item {
    font-size: 1.3rem !important;
    padding-top: 1rem;
}

.accordion-button:focus,
.accordion-button:not(.collapsed) {
    box-shadow: none !important;
    border: none !important;
    /* background:none!important; */
}


/* Timeline styles */
/**************Animation File Start Here (animate.css)****************/
/**************Copy and Save this in another file (animate.css)****************/

/************** Timeline Animations Refactor **************/

/* Animation delay classes */
[class^="d"], [class*=" d"] {
    animation-fill-mode: both;
}

.d01 {
    animation-delay: 0.1s;
}

.d02 {
    animation-delay: 0.2s;
}

.d03 {
    animation-delay: 0.3s;
}

.d04 {
    animation-delay: 0.4s;
}

.d05 {
    animation-delay: 0.5s;
}

.d06 {
    animation-delay: 0.6s;
}

.d07 {
    animation-delay: 0.7s;
}

.d08 {
    animation-delay: 0.8s;
}

.d09 {
    animation-delay: 0.9s;
}

.d10 {
    animation-delay: 1s;
}

.d11 {
    animation-delay: 1.1s;
}

.d12 {
    animation-delay: 1.2s;
}

.d13 {
    animation-delay: 1.3s;
}

.d14 {
    animation-delay: 1.4s;
}

.d15 {
    animation-delay: 1.5s;
}

.d16 {
    animation-delay: 1.6s;
}

.d17 {
    animation-delay: 1.7s;
}

.d18 {
    animation-delay: 1.8s;
}

.d19 {
    animation-delay: 1.9s;
}

.d21 {
    animation-delay: 2.1s;
}

.d26 {
    animation-delay: 2.6s;
}

/* Animation duration helpers */
.t14 {
    animation-duration: 1.4s !important;
}

.t24 {
    animation-duration: 2.4s !important;
}

/* Initial state for timeline items */
.anim, .anima {
    opacity: 0;
}

    /* Apply animation */
    .anim.animated, .anima.animated {
        opacity: 1;
    }




/************** CSS Start Here****************/
#timeline {
    list-style: none;
    position: relative;
    margin: 50px auto;
    width: 70%;
}

    #timeline:before {
        top: 0;
        bottom: 0;
        position: absolute;
        content: " ";
        width: 2px;
        background-color: #4997cd;
        left: 50%;
        margin-left: -1.5px;
    }

    #timeline .clearFix {
        clear: both;
        height: 0;
    }

    #timeline .timeline-badge {
        color: #fff;
        width: 25px;
        height: 25px;
        font-size: 1.2em;
        text-align: center;
        position: absolute;
        top: 0;
        left: 50%;
        margin-left: -13px;
        background-color: #fff;
        z-index: 6;
        border-radius: 50%;
        border: 2px solid #4997cd;
    }

        #timeline .timeline-badge span.timeline-balloon-date-day {
            font-size: 1.4em;
        }

        #timeline .timeline-badge span.timeline-balloon-date-month {
            font-size: .7em;
            position: relative;
            top: -10px;
        }

        #timeline .timeline-badge.timeline-filter-movement {
            background-color: #ffffff;
            font-size: 1.7em;
            height: 35px;
            margin-left: -18px;
            width: 35px;
            top: 40px;
        }

            #timeline .timeline-badge.timeline-filter-movement a span {
                color: #4997cd;
                font-size: 1.3em;
                top: -1px;
            }

        #timeline .timeline-badge.timeline-future-movement {
            background-color: #ffffff;
            height: 120px;
            width: 120px;
            font-size: 1.7em;
            top: -16px;
            margin-left: -60px;
            border: 2px solid #4997cd;
        }

            #timeline .timeline-badge.timeline-future-movement p {
                color: #1782cc;
                position: absolute;
                top: 40px;
                left: 32px;
            }

            #timeline .timeline-badge.timeline-future-movement a span {
                color: #4997cd;
                font-size: .9em;
                top: 0;
                left: 1px;
            }

    #timeline .timeline-movement {
        /*   border-bottom: dashed 1px #4997cd; */
        position: relative;
        margin-bottom: 10rem;

    }

        #timeline .timeline-movement.timeline-movement-top {
            height: 60px;
        }
        /* #timeline .timeline-movement .timeline-item {
  padding: 20px 0;
} */
        #timeline .timeline-movement .timeline-item .timeline-panel {
            border: 1px solid #d4d4d4;
            border-radius: 3px;
            background-color: #FFFFFF;
            color: #666;
            padding: 10px;
            position: relative;
            -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
            box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
        }

            #timeline .timeline-movement .timeline-item .timeline-panel .timeline-panel-ul {
                list-style: none;
                padding: 5px;
                margin: 0;
            }

            #timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul .lefting-wrap {
                float: right;
                width: 30%;
                height: 130px;
                background-color: floralwhite;
            }

            #timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul .righting-wrap {
                float: left;
                width: 70%;
                height: 130px;
                padding: 0 12px 0 0;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
            }

            #timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul li {
                color: #555;
                width: 100%;
                padding: 2px;
            }

.clear {
    clear: both;
}

#timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul .lefting-wrap {
    float: left;
    width: 30%;
    height: 100px;
    background-color: floralwhite;
}

#timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul .righting-wrap {
    float: right;
    width: 70%;
    height: 130px;
    padding: 0 0 0 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul li.img-wraping {
    width: 100%;
}

    #timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul li.img-wraping a img, #timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul li.img-wraping a img {
        width: 100%;
        height: 130px;
    }

#timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul li {
    color: #555;
    width: 100%;
    padding: 2px;
}

#timeline .timeline-movement .timeline-item .timeline-panel.credits .timeline-panel-ul li a.importo {
    color: #478c1f;
    font-size: 1.3em;
    font-weight: 600;
}

#timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul {
    text-align: left;
}

    #timeline .timeline-movement .timeline-item .timeline-panel.debits .timeline-panel-ul a.importo {
        color: teal;
        font-size: 1.3em;
        font-weight: 600;
    }

/**************Who View Your Profile CSS End Here****************/


#timeline .img-responsive{

    width:100%;
    padding-bottom:4px!important;


}

.testimonial-section {
    margin-bottom: 5rem;
}

/* For better mobile spacing */
@media (max-width: 768px) {
    .testimonial-section .card {
        margin-bottom: 1rem;
    }
}