h1 {
    color: #2c4b3c;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    margin-bottom: 10px;
}

.claim-container{
    margin-top:600px;
}

.tabs-container {
    margin-bottom: 30px;
}

.custom-tabs .nav-link,
.custom-tabs .nav-link.active,
.custom-tabs .nav-link:focus,
.custom-tabs .nav-link:active,
.custom-tabs .nav-link:hover {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    border-bottom: none !important;
    background: none !important;
    position: relative;
}

/* Remove any underline created using ::after or ::before pseudo-elements */
.custom-tabs .nav-link::after,
.custom-tabs .nav-link::before {
    content: none !important;
    display: none !important;
}

.custom-tabs {
    border: none;
    display: flex;
    gap: 10px;
}

.custom-tabs .nav-link {
    color: #2A3E334D;
    font-size: 18px;
    border: none;
    padding: 10px 5px;
    margin-right: 20px;
    background: none;
    position: relative;
    transition: all 0.3s;
}

.custom-tabs .nav-link.active {
    color: #DC8C41;
    font-weight: 500;
    background: none;
}

.nav-link:focus {
    outline: none;
    box-shadow: none;
}

.custom-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: #e08a41;
    transition: width 0.3s;
}

.custom-tabs .nav-link.active::after {
    width: 100%;
}

.tab-content {
    margin-top: 20px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s;
}

.image-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
    min-height: 450px;
}

.process-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    height: 450px;
    cursor: pointer;
    /* Enhanced smooth transitions */
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center top;
    transform: scale(1);
    align-self: flex-start;
}

.process-image.active {
    flex: 3;
    max-width: 600px;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10;
    align-self: flex-start;
}

.process-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.process-image.active img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
    padding: 30px;
    color: white;
    opacity: 0;
    /*transform: translateY(5px);*/
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.process-image.active .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: bold;
    /*transform: translateY(3px);*/
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.3s;
}

.process-image.active .image-overlay h3 {
    transform: translateY(0);
}

.image-overlay p {
    font-size: 16px;
    line-height: 1.6;
    width: 80%;
    opacity: 0;
    transition: opacity 0.5s ease 0.4s;
    /*transform: translateY(3px);*/
    /*transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);*/
    /*transition-delay: 0.4s;*/
}

.process-image.active .image-overlay p {
    /*transform: translateY(0);*/
    opacity: 1;
}



/* Loading animation for smooth transitions */
.process-image.transitioning {
    pointer-events: none;
}

.trust_section{
    margin-left: 10px;
}

@media (max-width: 768px) {
    .custom-tabs {
        flex-direction: column;
    }

    .custom-tabs .nav-link {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .image-container {
        position: relative;
        flex-direction: column;
        gap: 0;
    }

    .process-image {
        display: none;
        max-width: 100%;
        height: 300px;
        transform: scale(1);
    }

    .process-image.active {
        display: block;
        flex: none;
        max-width: 100%;
        transform: scale(1);
        box-shadow: none;
    }

    .image-overlay p {
        width: 100%;
    }

    .claim-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-top:0px;
    }
}

/* Additional animation classes */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.process-image.newly-active {
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
    .custom-tabs {
        flex-direction: column;
    }

    .custom-tabs .nav-link {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .image-container {
        position: relative;
    }

    .process-image {
        display: none;
    }

    .process-image.active {
        display: block;
    }

    .process-image img {
        width: 100%;
        height: auto;
    }

    .claim-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-top:0px;
    }
}

