/* Modern Services Page Styles */

/* Force Poppins Font - BUT NOT on icons */
.services-hero,
.services-hero h1,
.services-hero h2,
.services-hero h3,
.services-hero h4,
.services-hero h5,
.services-hero h6,
.services-hero p,
.services-hero span:not([class*="fa"]):not([class*="rt-icon"]) {
    font-family: 'Poppins', sans-serif !important;
}

/* Ensure icons keep their proper font families */
[class^="fa-"],
[class*=" fa-"],
.fa {
    font-family: 'FontAwesome' !important;
}

[class^="rt-icon"],
[class*=" rt-icon"] {
    font-family: 'rt-icons-2' !important;
}

/* Hero Section */
.services-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 100px 0 80px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('../images/truck.png') no-repeat center right;
    background-size: contain;
    opacity: 0.05;
    z-index: 0;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero-badge {
    display: inline-block;
    background: rgba(255, 195, 38, 0.2);
    color: #ffc326;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.services-hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.services-hero h1 .highlight {
    color: #ffc326;
}

.services-hero p.lead {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ddd;
    max-width: 700px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .services-hero h1 {
        font-size: 38px;
    }
    
    .services-hero p.lead {
        font-size: 16px;
    }
    
    .services-hero {
        padding: 80px 0 60px;
    }
}

@media (max-width: 767px) {
    .services-hero h1 {
        font-size: 32px;
    }
    
    .services-hero p.lead {
        font-size: 15px;
    }
    
    .services-hero {
        padding: 60px 0 40px;
    }
    
    .services-hero-badge {
        font-size: 12px;
        padding: 6px 16px;
    }
}

/* Layout tweak: center last-row two cards and hide the third */
/* Hide Category 6: Wrecker, Recovery & Special Services */
.services-category-row > .col-md-4:nth-child(6) {
    display: none;
}

/* On md+ screens, offset the 4th card to center the two remaining */
@media (min-width: 992px) {
    .services-category-row > .col-md-4:nth-child(4) {
        margin-left: 16.6667%; /* Bootstrap col-md-offset-2 equivalent */
    }
}
