/* ==========================================================================
   Services Section Styling 
   ========================================================================== */

:root {
    --thm-black: #121315;
    --card-dark-bg: #1c1f24;
    --accent-yellow: #ffb400;
    --accent-orange: #ff9800;
    --text-muted-color: #999b9f;
    --text-dark-contrast: #121315;
}

/* Base Section Wrapper matching reference pattern */
.services-wrapper {
    position: relative;
    padding: 120px 0px 90px;
    background-color: var(--thm-black);
    background-image: url('../img/service_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-muted-color);
    margin: 0;
}

/* Header & Title Setup */
.section-main-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 2.75rem;
    letter-spacing: 2px;
}

.title-underline {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange));
    border-radius: 2px;
}

/* Service Card Design */
.service-card {
    background-color: var(--card-dark-bg);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

/* Card Icon Setup */
.card-icon-box {
    font-size: 3.2rem;
    color: var(--accent-yellow);
    margin-bottom: 1.8rem;
    transition: all 0.4s ease;
}

/* Typography Inside Cards */
.service-title {
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.65rem;
    line-height: 1.25;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 1.25rem;
    transition: color 0.4s ease;
}

.service-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted-color);
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.4s ease;
}

/* List Styling */
.service-list {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.service-list li {
    font-size: 1.05rem;
    color: var(--text-muted-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    transition: color 0.4s ease;
}

.list-bullet {
    font-size: 0.45rem;
    margin-right: 12px;
    color: var(--text-muted-color);
    transition: color 0.4s ease;
}

/* Bottom Corner Hover Arrow Indicator */
.hover-arrow {
    position: absolute;
    bottom: 18px;
    right: 22px;
    font-size: 1.1rem;
    color: var(--text-dark-contrast);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.4s ease;
}

/* ==========================================================================
   Smooth Hover States
   ========================================================================== */

.service-card:hover {
    background: linear-gradient(135deg, var(--accent-yellow) 0%, var(--accent-orange) 100%);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 180, 0, 0.35);
}

.service-card:hover .service-title {
    color: var(--text-dark-contrast);
}

.service-card:hover .service-subtitle {
    color: rgba(18, 19, 21, 0.85);
}

.service-card:hover .card-icon-box {
    color: var(--text-dark-contrast);
    transform: scale(1.08);
}

.service-card:hover .service-list li {
    color: var(--text-dark-contrast);
    font-weight: 500;
}

.service-card:hover .list-bullet {
    color: var(--text-dark-contrast);
}

.service-card:hover .hover-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Corner Shader Effect on Hover */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 55px 55px;
    border-color: transparent transparent rgba(0, 0, 0, 0.08) transparent;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover::after {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .services-wrapper {
        padding: 70px 0px 50px;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .section-main-title {
        font-size: 2.1rem;
    }
}