/* video banner section */
.videoBanner {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100%) */
    overflow: hidden;
}

.videoBanner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; /* Prevent user interaction */
    z-index: 1; /* Bring the video to the front */
}

.videoBanner h1 {
    font-size: 40px;
    font-weight: 700;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 2; /* Bring the h1 to the front */
}

/* mission section */
.mission {
    height: auto;
    margin: 0 auto;
    text-align: left;
    padding: 30px;
}

.mission h1 {
    font-size: 30px;
}

.mission p {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 300;
}

/* models section */
.models {
    background-color: var(--sectionLight);
    padding: 30px;
}

.models .divider {
    background-color: var(--text);
    height: 1px;
    width: 100%;
    margin: 0 auto;
}

.model img {
    width: 100%;
    margin-top: 30px;
    box-shadow: 3px 3px 15px 0px rgba(0, 0, 0, 0.3);
}

.model:first-child img {
    margin-top: 0;
}

.model h1 {
    font-size: 30px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.specsDetails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    text-align: left;
    justify-items: start;
}

.specsDetails p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 5px;
}

.specsDetails p:last-child {
    margin-bottom: 0;
}

.specsDetails p i {
    margin-right: 5px;
}

.model a {
    display: inline-block;
    padding: 10px 40px;
    margin: 30px 0;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid var(--text); /* Border color */
    border-radius: 25px; /* Adjust this value for the button's roundness */
    color: var(--text); /* Text color */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.model:last-child a {
    margin: 30px 0 0 0;
}

.model a:hover {
    background-color: var(--yellow); /* Background color on hover */
    border: 2px solid var(--yellow); /* Border color */
    color: #fff; /* Text color on hover */
    transform: scale(1.05); /* Scale the button on hover for a cool animation */
}

/* features section */
.features {
    padding: 30px;
}

.features h1 {
    font-size: 30px;
    font-weight: 500;
}

.feature {
    border-bottom: solid 1px var(--text);
    padding-bottom: 20px;
    margin-top: 20px;
}

.feature:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.feature p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0;
}

.feature p:first-child {
    margin-bottom: 5px;
}

.feature p strong {
    font-size: 20px;
    font-weight: 500;
}

.feature p i {
    font-size: 20px;
}

/* testimonials section */
.testimonials {
    padding: 0 30px;
    background-color: var(--sectionLight);
}

.testimonialsSlider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 250px;
}

.testimonialQuote {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 300;
    text-align: center;
}

.testimonialLogoContainer {
    display: none;
}

.testimonialLogoContainer.active {
    display: block;
}

.testimonialLogoContainer img {
    width: 240px;
}

.testimonialNewsroom {
    margin-bottom: 0;
    text-align: center;
    padding-bottom: 30px;
}

.testimonialNewsroom a {
    display: inline-block;
    padding: 10px 40px;
    margin: 30px 0;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid var(--text); /* Border color */
    border-radius: 25px; /* Adjust this value for the button's roundness */
    color: var(--text); /* Text color */
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.testimonialNewsroom a:hover {
    background-color: var(--yellow); /* Background color on hover */
    border: 2px solid var(--yellow); /* Border color */
    color: #fff; /* Text color on hover */
    transform: scale(1.05); /* Scale the button on hover for a cool animation */}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

    .videoBanner h1 {
        font-size: 60px;
    }

    .mission,
    .models,
    .features {
        padding: 40px 100px;
    }

    .testimonials {
        padding: 30px 0;
    }
    
    .testimonialsSlider {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .testimonialQuote {
        margin-bottom: 50px;
        font-size: 20px;
        font-weight: 300;
    }
    
    .testimonialLogos {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .testimonialLogoContainer {
        display: block;
        margin: 0 10px 0 10px;
        padding-bottom: 10px;
        border-bottom: transparent solid 2px;
    }

    .testimonialLogoContainer:hover > img {
        cursor: pointer;
        filter: invert(30%);
    }

    .testimonialLogoContainer:first-child {
        margin-left: 0;
    }

    .testimonialLogoContainer:last-child {
        margin-right: 0;
    }
    
    .testimonialLogoContainer > img {
        filter: invert(50%);
        transition: filter ease .5s;
    }

    .testimonialLogoContainer.active > img {
        filter: invert(0%);
    }

    .testimonialLogoContainer.active {
        border-bottom: var(--yellow) solid 2px;
    }
    
    .testimonialLogoContainer img {
        width: 100px;
    }

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 1024px) {

    .videoBanner {
        padding-top: 35.25%;
    }

    .videoBanner h1 {
        font-size: 90px;
    }

    .features,
    .models {
        padding: 50px 150px;
    }

    .mission {
        padding: 50px 250px;
    }

    .mission p {
        font-size: 20px;
    }

    .models {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px 10px;
    }

    .models .model {
        flex: 0 0 calc(50% - 20px);
        margin: 0 10px 10px 0;
    }

    .model img {
        margin-top: 0;
    }

    .model a {
        margin-bottom: 0;
    }

    .models .divider {
        display: none;
    }

    .featureContents {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-content: space-between;
        gap: 30px 30px;
    }

    .feature {
        border-bottom: none;
        padding-bottom: 0;
    }

    .testimonialLogoContainer {
        margin: 0 20px 0 20px;
    }

    .testimonialLogoContainer:first-child {
        margin-left: 0;
    }

    .testimonialLogoContainer:last-child {
        margin-right: 0;
    }

    .testimonialLogoContainer img {
        width: 130px;
    }

}

/* Extra large devices (large laptops) */
@media only screen and (min-width: 1440px) {

    .videoBanner {
        padding-top: 30.25%;
    }

    .mission,
    .features,
    .models {
        padding: 60px 400px;
    }

    .testimonialLogoContainer {
        margin: 0 30px 0 30px;
    }

    .testimonialLogoContainer:first-child {
        margin-left: 0;
    }

    .testimonialLogoContainer:last-child {
        margin-right: 0;
    }

    .testimonialLogoContainer img {
        width: 150px;
    }

}

/* Extra large devices (Desktops) */
@media only screen and (min-width: 1920px) {

    .videoBanner {
        padding-top: 25.25%;
    }

    .videoBanner h1 {
        font-size: 120px;
    }

    .mission,
    .models,
    .features {
        padding: 60px 500px;
    }

    .mission p {
        font-size: 22px;
    }

    .model p,
    .feature p {
        font-size: 20px;
    }

    .features h1 {
        font-size: 40px;
    }

    .testimonialLogoContainer {
        margin: 0 40px 0 40px;
    }

    .testimonialLogoContainer:first-child {
        margin-left: 0;
    }

    .testimonialLogoContainer:last-child {
        margin-right: 0;
    }

    .testimonialLogoContainer img {
        width: 170px;
    }

}

/* Extra large devices (Large Desktops) */
@media only screen and (min-width: 2560px) {

    .videoBanner {
        padding-top: 20.25%;
    }

    .videoBanner h1 {
        font-size: 110px;
    }

    .mission {
        padding: 60px 600px;
    }

    .models .model {
        flex: 0 0 calc(33.33% - 20px);
    }

    .featureContents {
        grid-template-columns: repeat(3, 1fr);
    }

}