﻿.team-section {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

    .team-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%), radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
        pointer-events: none;
    }

.containermm {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.section-headers {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #e60000;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #3b82f6, #8b5cf6);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.section-subtitle {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

@keyframes gradientShift {

    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {

    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.team-slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.team-slider {
    overflow: hidden;
    border-radius: 20px;
}

.team-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 30px;
}

.team-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px;
}

.team-card {
    background: white;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.1);
    border-radius: 24px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out;
}

    .team-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(139, 92, 246, 0.05));
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }

    .team-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 25px 50px rgba(59, 130, 246, 0.15);
    }

        .team-card:hover::before {
            opacity: 1;
        }

    .team-card > * {
        position: relative;
        z-index: 2;
    }

.member-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: bold;
    color: white;
    position: relative;
    overflow: hidden;
}

/* .member-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #ec4899, #3b82f6);
    border-radius: 50%;
    z-index: -1;
    animation: rotate 3s linear infinite;
} */

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #0d47a1;
}

.member-position {
    font-size: 1rem;
    color: #ff8c00;
    font-weight: 600;
    margin-bottom: 16px;
}

.member-description {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 24px;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.skill-tag {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 500;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

    .social-link:hover {
        background: #3b82f6;
        color: white;
        transform: translateY(-2px);
    }

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

    .slider-btn:hover {
        background: linear-gradient(135deg, #3b82f6, #8b5cf6);
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    }

    .slider-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

        .slider-btn:disabled:hover {
            transform: none;
            box-shadow: none;
        }

.slider-dots {
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .slider-dot.active {
        background: #3b82f6;
        transform: scale(1.2);
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-section {
        padding: 80px 0;
    }

    .section-headers {
        margin-bottom: 60px;
    }

    .team-slide {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .team-card {
        padding: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .team-section {
        padding: 60px 0;
    }

    .section-headers {
        margin-bottom: 40px;
    }

    .team-slide {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 10px;
    }

    .team-card {
        padding: 20px;
    }

    .member-avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .member-name {
        font-size: 1.25rem;
    }

    .slider-controls {
        margin-top: 30px;
        gap: 15px;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 40px 0;
    }

    .section-badge {
        padding: 6px 16px;
        font-size: 13px;
    }

    .team-card {
        padding: 16px;
    }

    .member-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        object-fit: contain;
    }

    .member-skills {
        gap: 6px;
    }

    .skill-tag {
        padding: 3px 8px;
        font-size: 0.7rem;
    }

    .member-social {
        gap: 12px;
    }

    .social-link {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}








.team-timeline-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    position: relative;
}

    .team-timeline-section h2::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 4px;
        background-color: #5DADE2;
        border-radius: 2px;
    }

.timeline {
    position: relative;
    padding: 20px 0;
    margin-top: 50px;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: #e9ecef;
        left: 50%;
        margin-left: -2px;
    }

.timeline-item {
    position: relative;
    padding: 20px 0;
    margin-bottom: 20px;
}

    .timeline-item::after {
        content: '';
        display: table;
        clear: both;
    }

.timeline-image {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: #fff;
    border: 5px solid #e9ecef;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-image {
    transform: translateX(-50%) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.timeline-image img {
    border-radius: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-panel {
    width: 45%;
    float: left;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.timeline-item:hover .timeline-panel {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-item.timeline-item-reverse .timeline-panel {
    float: right;
}

.line-divider {
    border-top: 2px solid #5DADE2;
    width: 50px;
    margin-left: 0;
    margin-bottom: 1rem;
}

.timeline-item.timeline-item-reverse .line-divider {
    border-top-color: #A569BD;
    margin-right: 0;
}

.timeline-text {
    line-height: 1.6;
}

/* Connectors */
.timeline-panel::before {
    content: '';
    position: absolute;
    top: 50px;
    right: -14px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 14px;
    border-color: transparent transparent transparent #fff;
}

.timeline-item.timeline-item-reverse .timeline-panel::before {
    left: -14px;
    right: auto;
    border-width: 14px 14px 14px 0;
    border-color: transparent #fff transparent transparent;
}


/* Responsive Design */
@media (max-width: 767.98px) {
    .timeline::before {
        left: 14px;
    }

    .timeline-image {
        left: 0;
        transform: none;
        margin-left: 0;
    }

    .timeline-panel {
        width: 100%;
        float: right;
        padding-left: 70px;
    }

    .timeline-item-reverse .timeline-panel {
        float: right;
    }

    .timeline-panel::before {
        left: 20px;
        right: auto;
        border-width: 14px 14px 14px 0;
        border-color: transparent #fff transparent transparent;
    }
}




.card-financial-feature {
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    height: 100%;
}

.card-financial-feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.icon-feature-circle {
    background-color: #eef2ff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: #e60000;
    margin-bottom: 15px;
}

.feature-step-number {
    font-size: 28px;
    font-weight: 700;
    color: #800080;
}

.feature-heading {
    font-weight: 600;
    font-size: 1.2rem;
}

.feature-description {
    color: #555;
    font-size: 0.95rem;
}


body {
    /*background-color: #f0f2f5;*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.unique-card-wrapper {
    position: relative;
    padding: 1.5rem; /* Space for the background box */
    transition: transform 0.3s ease;
    cursor: pointer;
}

    .unique-card-wrapper:hover {
        transform: translateY(-10px);
    }

.unique-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e2e8f0; /* Light gray background box */
    border-radius: 15px;
    transform: skewY(-4deg); /* Create the angled effect */
    z-index: 1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.unique-card-front {
    position: relative;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.card-img {
    width: 100%;
    height: 150px;
    object-fit: contain; /* Use 'contain' to show full image */
    margin-bottom: 1.5rem;
}

.card-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
}

.card-text {
    color: #7f8c8d;
    line-height: 1.6;
}

.testimonial-section {
    background-color: #f0f2f5;
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-header h2 {
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        font-size: 3rem;
        color: #2c3e50;
    }

.testimonial-box {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}

    .testimonial-box:hover {
        transform: translateY(-5px); /* Subtle lift on hover */
        background-color: #f8f9fa;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    }

.quote-icon {
    font-size: 5rem;
    color: #e9ecef;
    position: absolute;
    top: -10px;
    left: 10px;
    z-index: 0;
    opacity: 0.8;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #495057;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.customer-info {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
}

    .customer-info img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
        margin-right: 1rem;
        border: 2px solid #34495e;
    }

    .customer-info .name {
        font-weight: 600;
        color: #2c3e50;
        font-size: 1.1rem;
    }

    .customer-info .role {
        font-size: 0.9rem;
        color: #7f8c8d;
    }

/* Custom classes for staggering effect */
@media (min-width: 992px) {
    .staggered-down {
        margin-top: 4rem;
    }
}





.timeline {
    position: relative;
    margin: 60px auto;
    padding: 20px 0;
    width: 90%;
}

    /* Center line */
    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        left: 50%;
        width: 6px;
        height: 100%;
        background: #e60000;
        border-radius: 10px;
        transform: translateX(-50%);
    }

/* Timeline items */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
}

    .timeline-item.left {
        left: 0;
        text-align: right;
    }

    .timeline-item.right {
        left: 50%;
        text-align: left;
    }

/* Dots */
.timeline-dot {
    position: absolute;
    top: 40px;
    left: 100%;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 6px solid #800080;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px #800080;
    z-index: 10;
}

.timeline-dots {
    position: absolute;
    top: 40px;
    left: 0%;
    width: 28px;
    height: 28px;
    background: #fff;
    border: 6px solid #800080;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(102,16,242,0.6);
    z-index: 10;
}

/* Card Style */
.card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    background: #fff;
}

    .card:hover {
        transform: translateY(-10px) scale(1.02);
        box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    }

.profile-img {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 0 20px rgba(13,110,253,0.4);
    transition: all 0.3s ease;
}

    .profile-img:hover {
        box-shadow: 0 0 30px rgba(102,16,242,0.6);
        transform: scale(1.05);
    }

.badge {
    font-size: 0.8rem;
    margin: 3px;
    border-radius: 30px;
    padding: 7px 14px;
    background: #e60000;
    color: #fff;
}

/* ✅ Responsive Fix */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
        transform: none;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 20px;
        text-align: left !important;
    }

        .timeline-item.left,
        .timeline-item.right {
            left: 0;
        }

    .timeline-dot {
        left: 10px;
        transform: none;
    }

    .timeline-dots {
        left: 10px;
        transform: none;
    }
}







.section-container {
    padding: 80px 0;
}

.section-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #4b0082;
}

.section-subheading {
    color: #6c757d;
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto;
}

.feature-list-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

    /* Vertical line */
    .feature-list-container::before {
        content: '';
        position: absolute;
        left: 20px;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(to bottom, #d6d9dc, #b0b4b8); /* Gradient line */
    }

.feature-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 45px;
    position: relative;
    padding-left: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

    .feature-list-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .feature-list-item::before {
        content: '';
        position: absolute;
        left: 14px;
        top: 17px;
        width: 14px;
        height: 14px;
        background-color: #800080;
        border-radius: 50%;
        z-index: 1;
        border: 3px solid #fff;
    }

.feature-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e60000; /* A new, sleek color */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    margin-right: 25px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-list-item:hover .feature-icon-circle {
    transform: scale(1.1);
}

.feature-content {
    padding-top: 5px;
}

.feature-number {
    font-size: 1.9rem;
    font-weight: 600;
    color: #b0b4b8;
    line-height: 1;
    margin-bottom: 5px;
}

.feature-title {
    font-weight: 600;
    font-size: 1.4rem;
    color: #212529;
    margin-bottom: 10px;
}

.feature-text {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
}