﻿body,
html {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-size: 14pt;
}

html {
    scroll-behavior: smooth;
}

/* Section */
.automotive-challenges {
    background: #fff;
}

/* Card */
.challenge-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
    transition: .3s;
    height: 100%;
}

/*    .challenge-card:hover {
        transform: translateY(-5px);
    }*/

.system-issues {
    color: #a440ed;
}

/* Header */
.challenge-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    font-weight: 600;
    background: #fff;
}

    .challenge-header h5 {
        margin: 0;
        font-size: 20px;
        font-weight: 500;
    }

/* Header Colors */
.system-issues {
    color: #9314f0;
}

.connection {
    color: #2962ff;
}

.media {
    color: #4caf50;
    align-items:center !important;
    display:flex !important;
}

.challenge-icon {
    width: 45px;
    height: 45px;
}

/* Card Image */
.challenge-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* Body */
.challenge-body {
    padding: 25px;
}

.challenge-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .challenge-list li {
        position: relative;
        display: flex;
        align-items: center;
        padding: 14px 0;
        font-weight: 500;
    }

        .challenge-list li img {
            width: 22px;
            height: 22px;
            margin-right: 12px;
            flex-shrink: 0;
        }

.challenge-list-text {
    flex: 1;
    padding: 16px 0;
    border-bottom: 1px solid #e8e8e8;
    font-size: 15px;
    color: #333;
}

.challenge-list li:not(:last-child)::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10px; /* trim from left */
    right: 10px; /* trim from right */
    height: 1px;
    background-color: #e8e8e8;
}

.section-heading {
    margin-bottom: 12px;
    line-height: 1.2;
}

/*.heading-dot {
    color: #0d6efd;
}*/

.heading-underline {
    width: 48px;
    height: 3px;
    background: #0d6efd;
    margin: 0 auto;
    border-radius: 10px;
}

.automotive-teams-title {
    font-size: 48px;
    font-weight: 700;
    color: #06113a;
    margin-bottom: 15px;
}

.automotive-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

    .automotive-subtitle .text {
        color: #0B7BFC;
        font-size: 24px;
        font-weight: 500;
    }

/*    .automotive-subtitle .line {
        width: 40px;
        height: 3px;
        background: #0B7BFC;
    }*/

.automotive_sub_title li::marker {
    color: #0B7BFC; /* Blue bullet */
}

.framework-card {
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.framework-image {
    width: 100%;
    height: 260px !important;
    object-fit: cover;
}

.framework-content {
    display: flex;
    padding: 10px;
}

.framework-icon {
    flex: 0 0 70px;
}

    .framework-icon img {
        width: 55px;
        height: 55px;
    }

.framework-text {
    flex: 1;
}

.heading {
    font-size: 24px !important;
    color: #314152;
    font-weight: 500;
    margin-bottom: 0px !important;
}

.framework-text ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.automotive_sub_title {
    font-size: 18px !important;
    color: #314152;
    font-weight: 300;
    margin-bottom : 0px !important;
}

.automotive-videos {
    background: #fff;
}

.video-card {
    height: 100%;
}

.video-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* reserves space for max 2 lines */
    min-height: 50px;
    margin-bottom: 15px;
}

.video-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
}


    .video-thumbnail img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        display: block;
        border-radius: 4px;
    }
/*
    .video-thumbnail:hover img {
        transform: scale(1.03);
    }*/

.video-description {
    margin-top: 15px;
    text-align: left;
    color: #314152;
    font-size: 18px;
    line-height: 1.6;
}

/* Mobile screens */
@media (max-width: 767.98px) {
    .mobile-btn {
        font-size: 0.875rem; /* Similar to btn-sm */
        padding: 0.375rem 0.75rem;
    }

        .mobile-btn.mr-3,
        .mobile-btn.ml-3 {
            margin-left: 0.25rem !important;
            margin-right: 0.25rem !important;
        }
}

/* Tablet */
@media (max-width: 991.98px) {
    .video-title-wrapper {
        min-height: 60px;
    }

    .video-thumbnail img {
        height: 220px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .video-title-wrapper {
        min-height: auto;
    }

    .video-title {
        font-size: 17px;
    }

    .video-thumbnail img {
        height: auto;
    }
}

/* Tablet */
@media (max-width: 991px) {

    .automotive-teams-title {
        font-size: 38px;
    }

    .automotive-subtitle .text {
        font-size: 20px;
    }

    .framework-text h3 {
        font-size: 24px;
    }

    .framework-text p,
    .framework-text li {
        font-size: 16px;
    }
}

.automotive-resource {
    background: #fff;
}

.resource-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 991px) {
    .resource-image {
        width: 400px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .resource-image {
        width: 250px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .automotive-teams-title {
        font-size: 30px;
    }

    .automotive-subtitle {
        flex-wrap: wrap;
        gap:3px;
    }

        .automotive-subtitle .text {
            font-size: 18px;
        }

    .framework-content {
        flex-direction: column;
        text-align: center;
    }

    .framework-icon {
        margin-bottom: 15px;
    }

    .framework-image {
        height: 220px;
    }

    .framework-text h3 {
        font-size: 22px;
    }

    .framework-text p,
    .framework-text li {
        font-size: 15px;
    }

    .framework-text ul {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .heading-underline {
        width: 40px;
        height: 2px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .challenge-image {
        height: 200px;
    }

    .challenge-header h5 {
        font-size: 18px;
    }

    .challenge-list li img {
        margin-left: 16px;
    }

    .challenge-list li span {
        font-size: 14px;
        padding: 12px 16px 12px 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .challenge-card {
        margin-bottom: 20px;
    }

    .challenge-image {
        height: 180px;
    }

    .challenge-header {
        padding: 16px;
    }

        .challenge-header h5 {
            font-size: 17px;
        }

    .challenge-list li {
        min-height: 52px;
    }

        .challenge-list li img {
            width: 18px;
            height: 18px;
            margin-left: 14px;
            margin-right: 10px;
        }

        .challenge-list li span {
            font-size: 14px;
            padding: 12px 14px 12px 0;
        }
}

@media (min-width: 992px) { /* Bootstrap lg breakpoint */
    .automotive-banner {
        min-height: 450px; /* adjust as needed */
    }
}
