/* NetHub Universal Card Base */
.nethub-uni-card {
    position: relative;
    background: #ffffff;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #EAECF0;
    transition: all 0.4s ease; 
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.nethub-uni-card:hover {
    transform: translateY(-10px);
    border-color: #00828e;
    box-shadow: 0 20px 40px rgba(0, 136, 149, 0.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.nethub-uni-card.has-bg-image .card-overlay {
    background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.95) 100%);
}

.nethub-uni-card.is-light-mode .card-overlay {
    background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.add-gradient .nethub-uni-card .card-overlay {
	background: linear-gradient(to bottom, #f0fafa 0%, #ffffff 100%);
}

.add-gradient .nethub-uni-card.is-light-mode .card-overlay {
	background: linear-gradient(to bottom, #00828e 0%, #005f69 100%);
}

.add-gradient .nethub-uni-card.is-light-mode .accent-icon {
	color: rgba(255, 255, 255, .8);
}

.add-gradient .nethub-uni-card.is-light-mode .accent-icon svg {
	fill: rgba(255, 255, 255, .5);
}

.add-gradient .nethub-uni-card.is-light-mode:hover .card-link-text {
	color: #0e2b3c;
}

.card-inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-accent {
    display: flex;
    align-items: center;
}

/* Number stays in original NetHub Teal style */
.accent-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: #00828e;
    background: rgba(0, 136, 149, 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'Montserrat', sans-serif;
	margin-bottom: 25px; 
}

/* Icon uses the control color (Default Black) */
.accent-icon { 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; 
    height: 40px;
    font-size: 2rem;
    transition: color 0.3s ease;
	margin-bottom: 25px; 
}

.accent-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor; 
    stroke: none;
    object-fit: contain;
}

.card-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0e2b3c;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.2;
}

.card-desc {
    font-size: 1rem;
    color: #475467;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1;
}

.card-link-wrapper {
    margin-top: 25px;
}

.card-link-text {
    text-decoration: none;
    color: #0e2b3c;
    font-weight: 700;
    font-size: 0.9rem;
	line-height: normal;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.btn-arrow {
    display: inline-block;
    margin-left: 8px;
    transition: transform 0.3s ease;
}

/* Hover States */
.nethub-uni-card:hover .card-link-text { color: #00828e; }
.nethub-uni-card:hover .btn-arrow { transform: translateX(5px); }

.nethub-stretched-link::after {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    z-index: 5;
}

/* Light Mode Support */
.is-light-mode .card-title { color: #ffffff; }
.is-light-mode .card-desc { color: rgba(255,255,255,0.8); }
.is-light-mode .card-link-text { color: #ffffff; }
.is-light-mode .nethub-uni-card:hover .card-link-text { color: #00828e; }
.is-light-mode .accent-number { background: rgba(255,255,255,0.2); color: #ffffff; }

@media (max-width: 1024px) {
	.nethub-uni-card {
		padding: 30px;
	}
	
	.card-title {
		font-size: 1.2rem;
	}
}