.statistics-section {
    background: linear-gradient(135deg, rgb(255, 255, 255) 0%, rgb(248, 249, 250) 25%, rgb(255, 255, 255) 50%, rgb(248, 249, 250) 75%, rgb(255, 255, 255) 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    font-family: "Poppins", sans-serif;
}

.statistics-section .hos-subheading {
    text-align: center;
    color: #008BF9;
    font-size: 16px;
}

.statistics-section .hos-mainheading {
    text-align: center;
    color: #1C2B78;
    font-size: 40px;
    font-weight: 600;
    position: relative;
    padding-bottom: 14px;
    margin-bottom: 25px;
}

.statistics-section .hos-mainheading:before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: rgb(255, 102, 0);
    border-radius: 3px;
}

.statistics-section .hos-mainheading:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(30px);
    width: 10px;
    height: 3px;
    background-color: #504f93;
    border-radius: 3px;
}

.nav-pills .nav-link.card {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin-bottom: 0;
    border: none;
    overflow: hidden;
    position: relative;
}

.nav-pills .nav-link {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    text-align: left;
    font-size: 14px;
    font-weight: 500;
    padding: 0;
    color: #666666;
    transition: all 0.3s ease;
    position: relative;
}

.nav-pills .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: transparent;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active {
    background: linear-gradient(135deg, rgb(255, 102, 0) 0%, rgba(255, 102, 0, 0.9) 100%) !important;
    color: #ffffff !important;
    border-color: rgb(255, 102, 0) !important;
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
    transform: translateX(5px);
}

.nav-pills .nav-link.active::before {
    background: #ffffff;
    width: 6px;
}

.nav-pills .nav-link:hover:not(.active) {
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.08) 0%, rgba(255, 102, 0, 0.05) 100%);
    color: rgb(255, 102, 0);
    border-color: rgba(255, 102, 0, 0.3);
    transform: translateX(3px);
}

.nav-pills .nav-link:hover:not(.active)::before {
    background: rgba(255, 102, 0, 0.5);
    width: 4px;
}

/* Nav Link Content with Icon */
.nav-link-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
}

.nav-link-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 102, 0, 0.1);
    color: rgb(255, 102, 0);
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.nav-link.active .nav-link-icon {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: scale(1.1);
}

.nav-link:hover:not(.active) .nav-link-icon {
    background: rgba(255, 102, 0, 0.15);
    transform: scale(1.05);
}

.nav-link-text {
    flex: 1;
    line-height: 1.4;
}

.delayed-content .tab-pane {
    opacity: 0;
    transition: all 0.5s ease-out;
}

/* Fade Animation */
.delayed-content .tab-pane[data-animation-type="fade"] {
    opacity: 0;
    transform: scale(0.95);
}

.delayed-content .tab-pane[data-animation-type="fade"].show {
    opacity: 1;
    transform: scale(1);
}

/* Slide Animation */
.delayed-content .tab-pane[data-animation-type="slide"] {
    opacity: 0;
    transform: translateX(-50px);
}

.delayed-content .tab-pane[data-animation-type="slide"].show {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom Animation */
.delayed-content .tab-pane[data-animation-type="zoom"] {
    opacity: 0;
    transform: scale(0.8);
}

.delayed-content .tab-pane[data-animation-type="zoom"].show {
    opacity: 1;
    transform: scale(1);
}

/* Rotate Animation */
.delayed-content .tab-pane[data-animation-type="rotate"] {
    opacity: 0;
    transform: rotate(-5deg) scale(0.9);
}

.delayed-content .tab-pane[data-animation-type="rotate"].show {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Bounce Animation */
.delayed-content .tab-pane[data-animation-type="bounce"] {
    opacity: 0;
    transform: translateY(-30px);
}

.delayed-content .tab-pane[data-animation-type="bounce"].show {
    opacity: 1;
    transform: translateY(0);
    animation: bounceIn 0.6s ease-out;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8);
    }
    50% {
        transform: translateY(10px) scale(1.05);
    }
    70% {
        transform: translateY(-5px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.tab-content .custom{
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08);
    border: none;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tab-content .custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, rgb(255, 102, 0) 0%, rgba(255, 102, 0, 0.8) 100%);
}

.tab-content .custom .card-body {
    /* padding: 2rem 2.5rem; */
    background: transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tab-content .custom .card-body .row {
    min-height: auto;
    align-items: stretch;
    display: flex;
}

.tab-content .custom .card-body .row .content-column,
.tab-content .custom .card-body .row .image-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tab-content .custom .card-body .row .content-column {
    flex: 1;
}

.tab-content .custom p{
    font-style:"poppins","sans-sheriff";
    font-size:14px;
    color:#666666;
    font-weight:400;
    line-height: 25px;
    text-align: justify;
    margin-top: 0;
    margin-bottom: 1rem;
}

.readmore{
    text-decoration:none;
    font-family: "poppins","sans-sheriff";
    font-weight:400;
    font-size:14px;
    color:#008BF9
}
.readmore:hover{
    text-decoration:none;
    padding:15px;
    color:#FF6600;
}
#tabc {
    z-index: 1;
}
.myimage{
    width:18rem;
    transform:scaleX(-1);
}

/* Tab Content Layout Styling */
.tab-content .row {
    margin: 0;
}

.tab-content .content-column {
    padding-right: 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tab-content .image-column {
    padding-left: 1rem;
    display: flex;
    align-items: stretch;
    height: 100%;
    flex: 0 0 auto;
}

.tab-content .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
    flex: 1;
}

.tab-content .image-wrapper::before {
    display: none;
}

.tab-content .image-wrapper:hover {
    transform: none;
    box-shadow: none;
}

.tab-content-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
    transform: scaleX(-1);
    background: transparent;
    position: relative;
    z-index: 2;
    filter: none;
}

.tab-content .image-wrapper:hover .tab-content-image {
    transform: scale(1.05) scaleX(-1);
    filter: none;
}

.tab-content .content-column p {
    margin-bottom: 1rem;
    margin-top: 0;
}

.tab-content .content-column p:first-child {
    margin-top: 0;
}

.tab-content .content-column ul {
    margin-bottom: 1rem;
}

/* Tab Content Description */
.tab-content-description {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #666666;
    font-weight: 400;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.03) 0%, rgba(255, 153, 102, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid rgb(255, 102, 0);
    position: relative;
}

.tab-content-description::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 48px;
    color: rgba(255, 102, 0, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

/* Tab Feature List with Icons */
.tab-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tab-feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tab-feature-list li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, rgb(255, 102, 0) 0%, rgba(255, 102, 0, 0.8) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.tab-feature-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.15);
    border-color: rgb(255, 102, 0);
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.05) 0%, rgba(255, 153, 102, 0.08) 100%);
}

.tab-feature-list li:hover::before {
    transform: scaleY(1);
}

/* Feature Icon Wrapper */
.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.1) 0%, rgba(255, 153, 102, 0.15) 100%);
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 102, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.tab-feature-list li:hover .feature-icon-wrapper {
    background: linear-gradient(135deg, rgb(255, 102, 0) 0%, rgba(255, 102, 0, 0.9) 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

.tab-feature-list li:hover .feature-icon-wrapper::before {
    width: 100px;
    height: 100px;
}

.feature-icon {
    font-size: 28px;
    color: rgb(255, 102, 0);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.tab-feature-list li:hover .feature-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.feature-text {
    font-size: 16px;
    font-weight: 600;
    color: #1C2B78;
    transition: color 0.3s ease;
    flex: 1;
}

.tab-feature-list li:hover .feature-text {
    color: rgb(255, 102, 0);
}

/* Responsive Styles for Feature List */
@media (max-width: 992px) {
    .tab-feature-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tab-content-description {
        font-size: 14px;
        padding: 1.25rem;
    }
    
    .feature-icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .feature-icon {
        font-size: 24px;
    }
    
    .feature-text {
        font-size: 15px;
    }
}
.statimage {
    width:40rem;
    height: auto;
    transform:scaleX(-1);
}
.right-statimage { right: 12rem; }

/* Media Queries */
@media (max-width: 767px) {
    .statistics-section {
        padding: 2rem 0;
    }

    .statistics-section .hos-subheading {
        font-size: 14px;
    }

    .statistics-section .hos-mainheading {
        font-size: 24px;
    }

    /* Make nav pills horizontal and scrollable on mobile */
    .stat-contain .row {
        flex-direction: column;
    }

    .stat-contain .col-lg-3,
    .stat-contain .col-md-4 {
        order: 1;
        width: 100%;
        margin-bottom: 1.5rem;
    }

    .stat-contain .col-lg-9,
    .stat-contain .col-md-8 {
        order: 2;
        width: 100%;
    }

    .nav-pills {
        flex-direction: row !important;
        overflow-x: auto;
        overflow-y: hidden;
        white-space: nowrap;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgb(255, 160, 137) rgba(0, 0, 0, 0.1);
    }

    .nav-pills::-webkit-scrollbar {
        height: 6px;
    }

    .nav-pills::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1);
        border-radius: 3px;
    }

    .nav-pills::-webkit-scrollbar-thumb {
        background: rgb(255, 160, 137);
        border-radius: 3px;
    }

    .nav-pills::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 160, 137, 0.8);
    }

    .nav-pills .nav-link {
        display: inline-block;
        min-width: max-content;
        margin-right: 0.75rem;
        margin-bottom: 0;
        text-align: center;
        white-space: normal;
        flex-shrink: 0;
        padding: 10px 15px;
        font-size: 13px;
    }

    .nav-pills .nav-link.card {
        min-width: 200px;
        max-width: 250px;
    }
    
    .nav-link-content {
        padding: 12px 15px;
        gap: 10px;
    }
    
    .nav-link-icon {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .nav-link-text {
        font-size: 13px;
    }

    /* Responsive layout for tab content */
    .tab-content .content-column {
        padding-right: 0;
        margin-bottom: 2rem;
        height: auto;
    }

    .tab-content .image-column {
        padding-left: 0;
        margin-top: 1rem;
        min-height: 300px;
        height: auto;
    }

    .tab-content .image-wrapper {
        width: 100%;
        height: 100%;
        min-height: 300px;
        padding: 0;
        background: transparent;
    }

    .tab-feature-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tab-content-description {
        font-size: 13px;
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .tab-feature-list li {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }
    
    .feature-icon-wrapper {
        width: 45px;
        height: 45px;
    }
    
    .feature-icon {
        font-size: 20px;
    }
    
    .feature-text {
        font-size: 14px;
    }

    .tab-content-image {
        width: 100%;
        height: 100%;
        min-height: 300px;
        object-fit: cover;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .statistics-section .hos-mainheading {
        font-size: 26px;
    }

    .tab-content .content-column {
        padding-right: 1.5rem;
    }

    .tab-content .image-column {
        padding-left: 0.5rem;
    }

    .tab-content .image-wrapper {
        width: 100%;
        height: 100%;
        min-height: 350px;
        padding: 0;
        background: transparent;
    }

    .tab-content-image {
        width: 100%;
        height: 100%;
        min-height: 350px;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .nav-pills .nav-link {
        padding-left: 25px;
    }
}
