/* Custom Styles from Finves Template */

/* Global Helpers */
.site-heading {
	text-align: center;
	width: 60%;
	margin: 0 auto 30px;
}
.site-heading h4 {
	font-size: 20px;
	font-weight: 700;
	color: #FE9347;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.site-heading h2 {
	color: #081528;
	font-weight: 700;
	text-transform: capitalize;
	font-size: 37px;
	margin-bottom: 20px;
	position: relative;
	display: inline-block;
}
.site-heading h2 span {
	display: block
}

.section_70 { padding: 70px 0; }
.section_100 { padding: 100px 0; }

/* Breadcrumb */
.finves-breadcromb-area {
	background: url(../img/breadcrumb/services1.png) no-repeat fixed 0 0/cover;
	position: relative;
	z-index: 1;
	padding: 200px 0 100px;
}
.finves-breadcromb-area:after {
	position: absolute;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(8, 21, 40, 0.45) none repeat scroll 0 0;
	z-index: -1;
}
.breadcromb-box { text-align: center; }
.breadcromb-box h3 {
	font-weight: 700;
	color: rgb(255, 255, 255);
	letter-spacing: 0px;
	margin-bottom: 10px;
	text-transform: capitalize;
	font-size: 45px;
}
.breadcromb-box li {
	display: inline-block;
	margin: 0 2px;
	color: #fff !important;
	font-size: 16px
}
.breadcromb-box li a { color: #fff }
.breadcromb-box li i { color: #FE9347 }

/* Project Style One */
.finves-project-area { padding-bottom: 40px }
.finves-project-area .site-heading { width: 50% }
.project-image img { width: 100% }
.portfolio-filter { text-align: center; margin-bottom: 20px }
.portfolio-filter li {
	text-transform: capitalize;
	color: #111;
	font-weight: 500;
	padding: 5px 15px;
	display: inline-block;
	cursor: pointer;
	position: relative;
	transition: all 0.4s ease 0s;
	border: 2px solid #6861BC;
	margin: 0 5px;
	border-radius: 5px
}
.portfolio-filter li:after, .portfolio-filter li:before,
.portfolio-filter li.active:after, .portfolio-filter li.active:before {
	position: absolute; right: 0; width: 4px; height: 15px;
	background: #fff; content: ""; top: 12px;
}
.portfolio-filter li:after { left: -2px; }
.portfolio-filter li:before { right: -2px; }
.portfolio-filter li:hover, .portfolio-filter li.filter.active {
	color: #fff; background: #6861BC;
}

.portfolio-warp { margin-top: 30px; }
.work-item { display: block; margin-bottom: 30px; position: relative; }
.project-img img { min-width: 100%; }
.work-item .project-img { position: relative; }

/* Text Card Styles for Project Grid (servicesupport.html) */
.project-text-card {
    background: #0e0e0e; /* Very dark background */
    padding: 30px 20px;
    color: #fff;
    min-height: auto; /* Let content dictate height, but keep consistent with flex */
    height: 100%; /* Fill the column height if possible, or just auto */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 20px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
    
    /* Narrower constraint */
    max-width: 320px; 
    width: 280px; /* Fixed width for auto columns */
    margin-left: auto;
    margin-right: auto;
}

.project-text-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
}

.project-text-card h4 {
    color: #fff;
    font-size: 1.3rem; /* Larger font */
    font-weight: 800;
    margin-bottom: 0;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 15px;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Icon container styles */
.project-text-card h4 i {
    color: #fff;
    font-size: 1.4rem; /* Larger icon */
    background: rgba(255,255,255,0.05);
    width: 50px; 
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Description text */
.project-text-card p {
    color: #e0e0e0;
    font-size: 1rem; /* Larger text */
    margin-top: 25px;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Separator line */
.project-text-card hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin: 0 0 25px 0;
    width: 100%;
}

/* List styles */
.project-text-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-text-card ul li {
    color: #d0d0d0;
    font-size: 0.9rem; /* Larger list text */
    margin-bottom: 15px;
    padding-left: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Outlined Checkmark Icon */
.project-text-card ul li::before {
    content: '\f00c'; /* FontAwesome check */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: static;
    color: #fff;
    background: transparent;
    width: 24px;
    height: 24px;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3); /* Ring outline */
    flex: 0 0 24px;
    margin-top: 0;
}

/* Theme colors for different card types if needed, using nth-child or classes */

/* Card 1: Investigation (White/Grey) */
.details-item:nth-of-type(1) .project-text-card h4 i {
    color: #fff;
    box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

/* Card 2: Strategic/Training (Green/Blue/Cyan) */
.details-item:nth-of-type(2) .project-text-card h4 i {
    color: #00ffd5;
    border-color: rgba(0, 255, 213, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.1);
}
.details-item:nth-of-type(2) .project-text-card ul li::before {
    color: #00ffd5;
    border-color: rgba(0, 255, 213, 0.5);
}

/* Card 3: Blue/Purple */
.details-item:nth-of-type(3) .project-text-card h4 i {
    color: #4facfe;
    border-color: rgba(79, 172, 254, 0.3);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.1);
}
.details-item:nth-of-type(3) .project-text-card ul li::before {
    color: #4facfe;
    border-color: rgba(79, 172, 254, 0.5);
}

/* Card 4: Purple/Pink */
.details-item:nth-of-type(4) .project-text-card h4 i {
    color: #d649ff;
    border-color: rgba(214, 73, 255, 0.3);
    box-shadow: 0 0 15px rgba(214, 73, 255, 0.1);
}
.details-item:nth-of-type(4) .project-text-card ul li::before {
    color: #d649ff;
    border-color: rgba(214, 73, 255, 0.5);
}

.details-item.shareholder .project-text-card {
    background: linear-gradient(180deg, #0f1516 0%, #0a0d0e 100%);
    border-color: rgba(0, 255, 213, 0.18);
}
.details-item.shareholder .project-text-card h4 i {
    color: #00ffd5;
    border-color: rgba(0, 255, 213, 0.35);
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.12);
}
.details-item.shareholder .project-text-card ul li::before {
    color: #00ffd5;
    border-color: rgba(0, 255, 213, 0.55);
}
.details-item.shareholder .project-text-card hr {
    border-top-color: rgba(0, 255, 213, 0.18);
}

.details-item.strategy .project-text-card {
    background: linear-gradient(180deg, #15111f 0%, #0d0a14 100%);
    border-color: rgba(145, 110, 255, 0.2);
}
.details-item.strategy .project-text-card h4 i {
    color: #9b7bff;
    border-color: rgba(155, 123, 255, 0.35);
    box-shadow: 0 0 15px rgba(155, 123, 255, 0.12);
}
.details-item.strategy .project-text-card ul li::before {
    color: #9b7bff;
    border-color: rgba(155, 123, 255, 0.55);
}
.details-item.strategy .project-text-card hr {
    border-top-color: rgba(155, 123, 255, 0.18);
}

.details-item.securities .project-text-card {
    background: linear-gradient(180deg, #17130c 0%, #0e0b07 100%);
    border-color: rgba(255, 170, 60, 0.22);
}
.details-item.securities .project-text-card h4 i {
    color: #ffb24a;
    border-color: rgba(255, 178, 74, 0.4);
    box-shadow: 0 0 15px rgba(255, 178, 74, 0.12);
}
.details-item.securities .project-text-card ul li::before {
    color: #ffb24a;
    border-color: rgba(255, 178, 74, 0.6);
}
.details-item.securities .project-text-card hr {
    border-top-color: rgba(255, 178, 74, 0.2);
}

.details-item.tone-cyan .project-text-card {
    background: linear-gradient(180deg, #0e1212 0%, #0a0e0f 100%);
    border-color: rgba(0, 255, 213, 0.18);
}
.details-item.tone-cyan .project-text-card h4 i {
    color: #00ffd5;
    border-color: rgba(0, 255, 213, 0.35);
    box-shadow: 0 0 15px rgba(0, 255, 213, 0.12);
}
.details-item.tone-cyan .project-text-card ul li::before {
    color: #00ffd5;
    border-color: rgba(0, 255, 213, 0.55);
}
.details-item.tone-cyan .project-text-card hr {
    border-top-color: rgba(0, 255, 213, 0.18);
}

.details-item.tone-blue .project-text-card {
    background: linear-gradient(180deg, #0f1218 0%, #0a0d12 100%);
    border-color: rgba(79, 172, 254, 0.2);
}
.details-item.tone-blue .project-text-card h4 i {
    color: #4facfe;
    border-color: rgba(79, 172, 254, 0.35);
    box-shadow: 0 0 15px rgba(79, 172, 254, 0.12);
}
.details-item.tone-blue .project-text-card ul li::before {
    color: #4facfe;
    border-color: rgba(79, 172, 254, 0.55);
}
.details-item.tone-blue .project-text-card hr {
    border-top-color: rgba(79, 172, 254, 0.18);
}

.details-item.tone-purple .project-text-card {
    background: linear-gradient(180deg, #14111b 0%, #0d0a14 100%);
    border-color: rgba(155, 123, 255, 0.2);
}
.details-item.tone-purple .project-text-card h4 i {
    color: #9b7bff;
    border-color: rgba(155, 123, 255, 0.35);
    box-shadow: 0 0 15px rgba(155, 123, 255, 0.12);
}
.details-item.tone-purple .project-text-card ul li::before {
    color: #9b7bff;
    border-color: rgba(155, 123, 255, 0.55);
}
.details-item.tone-purple .project-text-card hr {
    border-top-color: rgba(155, 123, 255, 0.18);
}

.details-item.tone-pink .project-text-card {
    background: linear-gradient(180deg, #18121a 0%, #100b12 100%);
    border-color: rgba(214, 73, 255, 0.22);
}
.details-item.tone-pink .project-text-card h4 i {
    color: #d649ff;
    border-color: rgba(214, 73, 255, 0.4);
    box-shadow: 0 0 15px rgba(214, 73, 255, 0.12);
}
.details-item.tone-pink .project-text-card ul li::before {
    color: #d649ff;
    border-color: rgba(214, 73, 255, 0.6);
}
.details-item.tone-pink .project-text-card hr {
    border-top-color: rgba(214, 73, 255, 0.2);
}

.details-item.tone-orange .project-text-card {
    background: linear-gradient(180deg, #1a140e 0%, #120d09 100%);
    border-color: rgba(255, 178, 74, 0.22);
}
.details-item.tone-orange .project-text-card h4 i {
    color: #ffb24a;
    border-color: rgba(255, 178, 74, 0.4);
    box-shadow: 0 0 15px rgba(255, 178, 74, 0.12);
}
.details-item.tone-orange .project-text-card ul li::before {
    color: #ffb24a;
    border-color: rgba(255, 178, 74, 0.6);
}
.details-item.tone-orange .project-text-card hr {
    border-top-color: rgba(255, 178, 74, 0.2);
}

.details-item.tone-red .project-text-card {
    background: linear-gradient(180deg, #1a0f11 0%, #12090b 100%);
    border-color: rgba(255, 92, 119, 0.22);
}
.details-item.tone-red .project-text-card h4 i {
    color: #ff5c77;
    border-color: rgba(255, 92, 119, 0.4);
    box-shadow: 0 0 15px rgba(255, 92, 119, 0.12);
}
.details-item.tone-red .project-text-card ul li::before {
    color: #ff5c77;
    border-color: rgba(255, 92, 119, 0.6);
}
.details-item.tone-red .project-text-card hr {
    border-top-color: rgba(255, 92, 119, 0.2);
}

/* =========================================
   Use Case Cards (servicesdynamics.html)
   ========================================= */

.use-case-card {
    background: #f4f4f4; /* Light gray background */
    padding: 30px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    height: 100%;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-5px);
}

.use-case-icon {
    flex: 0 0 80px;
    height: 80px;
    background: #e6e6e6; /* Slightly darker gray for icon box */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-right: 25px;
}

.use-case-icon i {
    font-size: 32px;
    color: #e6005c; /* Pinkish red color */
}

.use-case-icon img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.use-case-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.use-case-content h4 {
    color: #081528;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.use-case-content p {
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.use-case-content .learn-more {
    color: #e6005c;
    font-weight: 600;
    font-size: 14px;
    text-align: right;
    display: block;
    margin-top: auto;
    text-decoration: none;
    transition: color 0.3s ease;
}

.use-case-content .learn-more:hover {
    color: #081528;
}
