﻿/* CSS for the Career Page */

.subheader {
    display: none;
}
.pb-3 {
    padding-bottom: 0rem !important;
}

.video-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

#background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;
    padding: 20px;
    background: rgb(0, 0, 0, 0.8);
    margin-top: 80px; /* Reduced margin for a tighter layout */
    min-height: 90vh; /* Adjusted for better vertical spacing */
}
    .content p, .content h1 {
        font-family: Nasalization;
        letter-spacing: 2.5px;
    }
    .content h1 {
        margin-top: 20vh; 
        font-size: max(48px, 6vw); 
        color: silver;
    }
    .content red {
        color: #ca0000;
    }

.secondary-text {
    font-size: 16px;
    color: silver;
    margin-top: -15px;
}

.button {
    font-family: Nasalization;
    border-radius: 25px;
    min-width: 160px; /* Slightly wider for better usability */
    background-color: rgb(159, 13, 13);
    padding: 12px 20px; /* Added padding for better clickability */
    transition: background-color 0.3s ease-in-out; /* Smooth transition effect */
    letter-spacing: 1px;
}

.button:hover {
    background-color: rgb(108, 8, 8);
}

    .button.disabled, .button[disabled] {
        opacity: 1;
        background-color: rgb(159, 13, 13);
    }
    .button.disabled:hover, .button[disabled]:hover {
        opacity: 1;
        background-color: rgb(159, 13, 13);
    }

/* Updated Design for "For Drivers" Section */
.drivers-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 30%, rgba(20, 20, 20, 0.7) 100%);
    margin-top: 5vh;
    border-left: 6px solid #ca0000; /* Vertical red accent border */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* Enhanced shadow for depth */
    gap: 40px;
    margin-top: 25vh;
}

    .drivers-section .content-text {
        max-width: 55%; /* Slightly wider text area */
        padding-right: 20px;
        color: silver;
        text-align: left;
        line-height: 1.8; /* Slightly increased line-height for readability */
        font-family: "Lato";
        letter-spacing: 0.4px;
    }

#driversContentTitle {
    font-family: "Lato";
    font-size: max(24px, 2.5vw);
    margin-bottom: 15px; /* Space between title and list */
    text-transform: uppercase; /* Ensure consistency */
    letter-spacing: 1px;
    color: silver;
    border-bottom: 2px solid #ca0000; /* Red underline to emphasize the title */
    padding-bottom: 5px;
}

#driversContentParagraph {
    list-style-type: none;
    padding-left: 0;
    font-size: max(16px, 1.5vw);
    margin: 0;
}

    #driversContentParagraph li {
        margin-bottom: 15px; /* Increase spacing between items */
        padding-left: 30px; /* Align with custom bullets */
        position: relative;
        font-family: "Lato";
    }

        #driversContentParagraph li::before {
            content: "\f111"; /* FontAwesome circle bullet point */
            font-family: 'Font Awesome 5 Pro';
            color: #ca0000;
            position: absolute;
            left: 0;
            top: 1vh;
            font-size: 0.7em;
        }

.drivers-section .content-image {
    width: 45%; /* Maintain consistency with other sections */
    height: auto;
    border: 3px solid silver;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transform: rotate(-1deg); /* Slight rotation for visual interest */
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

    .drivers-section .content-image:hover {
        transform: rotate(0deg) scale(1.05); /* Subtle rotation and zoom on hover */
    }

#driversContentImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design for the Updated Section */
@media (max-width: 768px) {
    .drivers-section {
        flex-direction: column;
        text-align: center;
        margin-top: 10vh;
    }

        .drivers-section .content-text, .drivers-section .content-image {
            max-width: 100%;
            padding-right: 0;
        }

        .drivers-section .content-image {
            width: 100%;
            margin-top: 20px;
        }
}


/* New Design Element for "For Teams" Section */
.team-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 30%, rgba(20, 20, 20, 0.7) 100%);
    margin-top: 5vh;
    border-left: 6px solid #ca0000; /* New vertical red accent border */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6); /* Enhanced shadow for depth */
    gap: 40px;
}

    .team-section .content-text {
        max-width: 55%; /* Slightly wider text area for this section */
        padding-right: 20px;
        color: silver;
        text-align: left;
        line-height: 1.8; /* Slightly increased line-height for readability */
        font-family: "Lato";
        letter-spacing: 0.4px;
    }

#teamContentTitle {
    font-family: "Lato";
    font-size: max(24px, 2.5vw);
    margin-bottom: 15px; /* Space between title and list */
    text-transform: uppercase; /* Ensure consistency with previous sections */
    letter-spacing: 1px;
    color: silver;
    border-bottom: 2px solid #ca0000; /* Red underline to emphasize the title */
    padding-bottom: 5px;
}

#teamContentParagraph {
    list-style-type: none;
    padding-left: 0;
    font-size: max(16px, 1.5vw);
    margin: 0;
}

    #teamContentParagraph li {
        margin-bottom: 15px; /* Increase spacing between items */
        padding-left: 30px; /* Align with custom bullets */
        position: relative;
        font-family: "Lato";
    }

        #teamContentParagraph li::before {
            content: "\f111"; /* FontAwesome circle bullet point */
            font-family: 'Font Awesome 5 Pro';
            color: #ca0000;
            position: absolute;
            left: 0;
            top: 1vh;
            font-size: 0.7em;
        }

.team-section .content-image {
    width: 45%; /* Maintain consistency with other sections */
    height: auto;
    border: 3px solid silver;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transform: rotate(-1deg); /* Slight rotation for visual interest */
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

    .team-section .content-image:hover {
        transform: rotate(0deg) scale(1.05); /* Subtle rotation and zoom on hover */
    }

#teamContentImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Design for the New Section */
@media (max-width: 768px) {
    .team-section {
        flex-direction: column;
        text-align: center;
        margin-top: 10vh;
    }

        .team-section .content-text, .team-section .content-image {
            max-width: 100%;
            padding-right: 0;
        }

        .team-section .content-image {
            width: 100%;
            margin-top: 20px;
        }
}


/* Design for the "Performance Data" Section */
.data-section {
    padding: 40px;
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.7) 30%, rgba(0, 0, 0, 0.7) 100%);
    margin-top: 5vh;
    border-left: 6px solid #ca0000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
    text-align: center;
}

#dataTitle {
    font-family: "Lato";
    font-size: max(26px, 3vw);
    color: silver;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #ca0000;
    display: inline-block;
    padding-bottom: 5px;
}

#dataDescription {
    font-family: "Lato";
    font-size: max(16px, 1.5vw);
    color: silver;
    margin-bottom: 30px;
    line-height: 1.7;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.data-images {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.data-item {
    width: 45%;
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    border: 3px solid silver;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: transform 0.3s ease-in-out;
}

    .data-item:hover {
        transform: scale(1.05);
    }

.data-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 10px;
}

.data-subtitle {
    font-family: "Lato";
    font-size: max(18px, 2vw);
    color: #ca0000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .data-images {
        flex-direction: column;
        align-items: center;
    }

    .data-item {
        width: 100%;
        margin-bottom: 20px;
    }
}

