/* Custom Overrides for wcleaner Branding */

/* Logo Background - Light background for visibility */
.cs_logo_bg_shape.cs_white_bg {
    color: #f5f7fa !important;
}

.cs_logo_wrap .cs_logo_bg_shape.cs_white_bg svg path {
    fill: #f5f7fa !important;
}

/* Ensure logo is not hidden */
.cs_logo_wrap {
    position: relative;
    z-index: 10;
}

/* Force green accent colors everywhere with !important */
.cs_accent_color,
.cs_accent_color *,
i.cs_accent_color,
svg.cs_accent_color {
    color: #3a9061 !important;
}

.cs_accent_bg,
.cs_accent_bg * {
    background-color: #3a9061 !important;
}

/* Override any icon colors that might be red */
.cs_iconbox_icon,
.cs_service_icon,
.cs_feature_icon,
i[class*="fa-"],
.fa-solid,
.fa-regular,
.fa-brands {
    color: inherit;
}

.cs_iconbox_icon.cs_accent_color,
.cs_service_icon.cs_accent_color {
    color: #3a9061 !important;
}

.cs_iconbox_icon.cs_accent_bg,
.cs_service_icon.cs_accent_bg {
    background-color: #3a9061 !important;
}

/* Buttons and links */
.cs_btn.cs_style_1,
.cs_btn.cs_style_1:hover {
    background-color: #3a9061 !important;
    border-color: #3a9061 !important;
}

/* Social icons */
.cs_social_btns a:hover {
    background-color: #3a9061 !important;
}

/* Remove any lingering red or blue tints */
* {
    --accent-color: #3a9061 !important;
}

/* About Section Thumbnail Styling */
.cs_about_thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 400px;
}

.cs_about_thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cs_about_thumbnail:hover img {
    transform: scale(1.05);
}

/* Ensure equal height columns on desktop */
@media (min-width: 992px) {
    .cs_about_thumbnail {
        height: 100%;
        min-height: 500px;
        /* Adjust based on text content height */
    }
}

/* Center Portfolio Hover Content */
.cs_card.cs_style_5 .cs_card_info_wrapper {
    width: 90%;
    position: absolute;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(0.8) !important;
    bottom: auto !important;
    opacity: 0;
    transition: all 0.4s ease-in-out;
    text-align: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    border-radius: 10px;
}

.cs_card.cs_style_5:hover .cs_card_info_wrapper {
    transform: translate(-50%, -50%) scale(1) !important;
    opacity: 1;
}

.cs_card.cs_style_5 .cs_portfolio_text {
    width: 100%;
}

/* Value Cards - Premium Design */
.cs_value_card {
    background: #ffffff;
    border-radius: 25px;
    padding: 45px 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #f0f0f0;
    height: 100%;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cs_value_card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(58, 144, 97, 0.25);
    border-color: #3a9061;
}

.cs_value_card .cs_iconbox_icon {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 30px auto;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.cs_value_card .cs_iconbox_icon i {
    color: #ffffff !important;
    font-size: 52px !important;
}

/* Specific Colors for "Pop" effect */
.cs_icon_gold .cs_iconbox_icon {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%) !important;
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.4) !important;
}

.cs_value_card.cs_icon_gold:hover {
    border-color: #fbbf24 !important;
    box-shadow: 0 20px 50px rgba(217, 119, 6, 0.2) !important;
}

.cs_icon_blue .cs_iconbox_icon {
    background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
    box-shadow: 0 10px 20px rgba(2, 132, 199, 0.4) !important;
}

.cs_value_card.cs_icon_blue:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 20px 50px rgba(2, 132, 199, 0.2) !important;
}

.cs_icon_purple .cs_iconbox_icon {
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%) !important;
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.4) !important;
}

.cs_value_card.cs_icon_purple:hover {
    border-color: #c084fc !important;
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.2) !important;
}

.cs_icon_cyan .cs_iconbox_icon {
    background: linear-gradient(135deg, #22d3ee 0%, #0891b2 100%) !important;
    box-shadow: 0 10px 20px rgba(8, 145, 178, 0.4) !important;
}

/* Green Override if needed */
.cs_icon_green .cs_iconbox_icon {
    background: linear-gradient(135deg, #4ade80 0%, #16a34a 100%) !important;
    box-shadow: 0 10px 20px rgba(22, 163, 74, 0.4) !important;
}

.cs_value_card.cs_icon_green:hover {
    border-color: #4ade80 !important;
    box-shadow: 0 20px 50px rgba(22, 163, 74, 0.2) !important;
}

.cs_value_card .cs_iconbox_icon {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cs_value_card:hover .cs_iconbox_icon {
    transform: scale(1.15) rotate(5deg);
}

.cs_value_card h3 {
    color: #1a1a1a;
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.cs_value_card p {
    color: #555;
    line-height: 1.7;
    font-size: 16px;
}