/* === TEAM SECTION === */
.rn-team-section * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.rn-team-heading {
    text-align: center;
    margin-bottom: 40px;
}

.rn-team-heading h2 {
    font-size: 38px;
    font-weight: 700;
}

.rn-team-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD */
.team-outer-layer {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
}

.team-image {
    border: 2px solid #1C3963;
    border-radius: 28px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 22px;
    transition: transform 0.9s ease;
}

.team-outer-layer:hover .team-image img {
    transform: scale(1.04);
}

/* CONTENT PANEL */
.team-content {
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -100px;
    background: #1C3963;
    color: #fff;
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.6s ease;
}

.team-outer-layer:hover .team-content {
    bottom: 16px;
}

.client-data h3 {
    font-size: 18px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(12px);
    transition: .4s;
    color: #ffffff;
}

.client-data p {
    font-size: 14px;
    opacity: 0;
    transform: translateY(12px);
    transition: .4s;
}

.team-outer-layer:hover .client-data h3,
.team-outer-layer:hover .client-data p {
    opacity: 1;
    transform: translateY(0);
}

/* LinkedIn */
.client-linkdin {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: .4s;
}

.client-linkdin img {
    width: 20px;
}

.team-outer-layer:hover .client-linkdin {
    transform: scale(1);
}

/* === SERVICES SECTION === */
.services-swiper { 
    width: 100%; 
    padding: 40px 0; 
    overflow: hidden; 
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 60px 15px;
    margin: 20px 0 40px;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.1rem;
    color: #1a365d;
    margin: 0;
    font-weight: 700;
}

.service-link {
    text-decoration: none;
    display: block;
}

/* === CREDORA SERVICES GRID === */
.services-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-link {
    text-decoration: none !important;
    display: block;
}

.services-grid-container .service-card {
    background: #f1f6fa;
    border: 2px solid #d1dee8;
    border-radius: 20px;
    padding: 50px 20px;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services-grid-container .service-card:hover {
    background: #ffffff;
    border-color: #0d2c4e;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    transform: translateY(-8px);
}

.service-icon img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 20px;
}

.service-title {
    color: #0d2c4e;
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}







/* === RESPONSIVE DESIGN === */
@media (max-width: 1199px) {
    .team-image img {
        height: 300px;
    }
    .client-data h3 {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .team-image img {
        height: 360px;
    }
    .client-data h3 {
        font-size: 14px;
    }
    .team-image img {
        height: 230px;
    }
    .client-data p {
        font-size: 13px;
    }
    .team-content {
        padding: 12px 10px;
    }
    
    .services-grid-container { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 576px) {
    .rn-team-wrap {
        grid-template-columns: 1fr;
    }
    .team-image img {
        height: 370px;
    }
    .client-data h3 {
        font-size: 16px;
    }
    .client-data p {
        font-size: 14px;
    }
    
    .services-grid-container { 
        grid-template-columns: 1fr; 
    }
}
