/* Services Section */
.services-section {
    background-color: #ffffff;
    padding: 70px 0;
}

.services-header {
    margin-bottom: 60px;
    text-align: center;
}

.services-header-left {
    max-width: 700px;
    margin: 0 auto;
}

.services-title {
    font-family: 'Commissioner', sans-serif;
    font-size: 56px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -1px;
    margin-top: -50px;
}

.services-description {
    font-family: 'Commissioner', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}

.trucks-title {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 19px;
    font-weight: 550;
    color: #2c2c2c;
    margin: 60px 0 40px;
    text-transform: uppercase;
    margin-left: 20px;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: -20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 250px;
    min-height: 320px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    height: 120px;
    flex: 1;
}

.service-card:first-child .service-icon-wrapper,
.service-card:nth-child(2) .service-icon-wrapper,
.service-card:nth-child(3) .service-icon-wrapper {
    justify-content: flex-start;
    padding-left: 10px;
}

.service-image {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.service-card:first-child .service-image {
    transform: scale(1.8);
    max-height: 160px;
}

.service-card:nth-child(2) .service-image {
    transform: scale(2.0);
    max-height: 170px;
}

.service-card:nth-child(3) .service-image {
    transform: scale(2.2);
    max-height: 180px;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.service-card-title {
    font-family: 'Commissioner', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-right: -140px;
    margin-bottom: -10px;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 12px;
    z-index: 10;
    pointer-events: none;
}

.service-card:hover .service-card-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}

.service-card-details {
    text-align: center;
    padding: 20px;
}

.detail-item {
    font-family: 'Commissioner', sans-serif;
    font-size: 18px;
    color: #fff;
    margin: 0;
    text-align: center;
}

.detail-label {
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 8px;
}

/* Services Industries Section - White Background */
.services-industries-section {
    background-color: #fff !important;
}

/* Industries Cards Shadow in Services Page */
.services-industries-section .industry-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    border: 1px solid #e0e0e0;
}

.services-industries-section .industry-card .card-title,
.services-industries-section .industry-card .card-description {
    color: #fff;
}

.services-industries-section .industry-card .quotation-button {
    color: #000;
    background-color: #fff;
}

.services-industries-section .industry-card .quotation-button:hover {
    color: #fff;
    background-color: #000;
}

.services-industries-section .industry-card .card-icon {
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.services-industries-section .industry-card .card-icon svg path {
    fill: #fff;
    transition: fill 0.3s ease;
}

.services-industries-section .industry-card:hover .card-icon {
    background-color: #e3b305;
}

.services-industries-section .industry-card:hover .card-icon svg path {
    fill: #fff;
}

.services-industries-section .industry-card:first-child {
    background-color: transparent !important;
    background-image: url('images/bg8.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.services-industries-section .industry-card:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    border-radius: 25px;
}

.services-industries-section .industry-card:first-child > * {
    position: relative;
    z-index: 2;
}

.services-industries-section .industry-card:nth-child(2) {
    background-color: transparent !important;
    background-image: url('images/bg7.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.services-industries-section .industry-card:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    border-radius: 25px;
}

.services-industries-section .industry-card:nth-child(2) > * {
    position: relative;
    z-index: 2;
}

.services-industries-section .industry-card:nth-child(3) {
    background-color: transparent !important;
    background-image: url('images/bg6.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.services-industries-section .industry-card:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
    border-radius: 25px;
}

.services-industries-section .industry-card:nth-child(3) > * {
    position: relative;
    z-index: 2;
}

.services-industries-section {
    background-color: #f5f5f5;
    padding: 20px 0;
    margin-bottom: 50px;
}
