/*
*
*   ====================================== global  ======================================
*
*/

html {
    font-size: 1rem;
    /* scroll-behavior: smooth; */
}

:focus {
    outline: none;
}

body {
    color: #444;
    font-family: 'Roboto', sans-serif;
}

a {
    color: white;
}

h2,
h3,
h4,
h5 {
    color: #dd2c0f;
}

.custom__underline {
    border-bottom: 2px solid #dd2c0f;
    padding-bottom: 4px;
}

.padding-top-bottom {
    padding: 5rem 0;
}

.margin__bottom {
    margin-bottom: 2rem;
}

.custom__shadow {
    -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 20, 0.2);
    box-shadow: 2px 2px 10px rgba(0, 0, 20, 0.2);
}

.section__title {
    position: relative;
}

.section__title::before,
.section__title::after {
    display: inline-block;
    content: "";
    border-top: 1px solid #dd2c0f;
    border-bottom: 1px solid #dd2c0f;
    height: 4px;
    position: absolute;
    width: 100px;
    top: 50%;
    transform: translateY(-50%);
}

.section__title::before {
    left: -120px;
}

.section__title::after {
    right: -120px;
}

@media (max-width: 576px) {
    .section__title::before,
    .section__title::after {
        display: none;
    }
}

.gray__background {
    background-color: #f7f7f7
}

.white {
    background-color: var(--white);
}

.row:after {
    content: "";
    clear: both;
    display: table;
}


/*
*
*   ====================================== navbar section ======================================
*
*/

.navbar {
    background-color: #232323;
    background-color: rgba(35, 35, 35, 0.704);
    padding: 0rem 1rem;
}

.navbar-brand {
    padding-top: 0;
    padding-bottom: 0;
}

.logo--image {
    max-height: 80px;
    width: 150px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .navbar-nav .nav-link:hover {
    opacity: 1;
    color: whitesmoke;
    background-color: rgb(221, 44, 15);
}

@media (max-width: 576px) {
    .navbar-nav>li {
        margin: 10px;
    }
}


/*
*
*   ====================================== slider section ======================================
*
*/

.carousel-caption {
    background-color: rgba(0, 0, 0, 0.650);
}

.slide__title {
    color: var(--white);
}

.carousel-indicators {
    top: initial;
    transform: translateY(0);
}

.carousel-indicators li {
    background-color: #dd2c0f;
    height: 5px;
}

@media (min-width: 768px) {
    .carousel-indicators li {
        background-color: var(--white);
        height: 5px;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    background-color: rgb(200, 198, 198);
    color: #dd2c0f;
    width: 50px;
    height: 50px;
}

.carousel-control-prev-icon>.prev__icon,
.carousel-control-next-icon>.next__icon {
    width: 50px;
    height: 50px;
}


/*
*
*   ====================================== about section ======================================
*
*/

.about__image {
    height: 600px;
}

@media (max-width: 992px) {
    .about__image {
        height: 450px;
        margin-top: 1.5rem;
    }
}


/*
*
*   ====================================== services section ======================================
*
*/

.service__container:not(:last-child) {
    margin: 1.5rem 0;
}

.service__container:last-child {
    margin-top: 1.5rem;
}

.service-image {
    height: 250px;
    width: 100%;
}

@media (max-width: 576px) {
    .service__container {
        margin: 1.5rem 1rem !important;
    }
    .service-image {
        height: 200px;
        width: 100%;
    }
}

@media (min-width: 992px) {
    .service-image {
        height: 100%;
    }
}


/*
*
*   ====================================== products section ======================================
*
*/

.products-image {
    height: 250px;
    width: 100%;
}

.item-image {
    height: 250px;
}

@media (max-width: 576px) {
    .product__card {
        margin: 1rem !important;
    }
}


/*
*
*   ====================================== partners section ======================================
*
*/

.partners-image {
    height: 250px;
    width: 100%;
}


/*
*
*   ====================================== trophies section ======================================
*
*/

@media (max-width: 991px) {
    .trophy-container:not(:last-child) {
        margin-bottom: 1.5rem;
    }
}

.trophy-holder h4 {
    font-size: 40px;
    color: var(--black);
    font-weight: 700;
}


/*
*
*   ====================================== testimonials section ======================================
*
*/

.testimonials .owl-item {
    margin-bottom: 2.5rem;
}

.testimonial-card {
    background-color: var(--white);
}

@media (max-width: 576px) {
    .testimonial-card {
        margin: 1rem !important;
    }
}

.avatar__holder {
    width: 100px;
    height: 100px;
    left: 50%;
    transform: translate(-50%, -30%);
}


/*
*
*   ====================================== contact section ======================================
*
*/


/* Style inputs with type="text", and textarea */

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    background: transparent !important;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}


/* Style the submit button with a specific background color etc */

input[type="submit"] {
    background-color: #dd2c0f;
    color: white;
    padding: 12px 20px;
    border: none;
    width: 150px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}


/* When moving the mouse over the submit button, add a darker green color */

input[type="submit"]:hover {
    border: none;
    background-color: #a12411;
}


/* Add a background color and some padding around the form */

.contact-form {
    border-radius: 5px;
    background-color: white;
    -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 20, 0.2);
    box-shadow: 2px 2px 10px rgba(0, 0, 20, 0.2);
    padding: 20px;
}

.contact-form label {
    color: rgba(0, 0, 0, 0.582);
}

.custom__label {
    transform: translate(13px, 54px);
    transition: all 0.5s ease-in-out;
    order: -1;
}

.custom__label.custom__transition {
    transform: translate(0, 0);
    color: #dd2c0f;
    font-weight: 700;
}

.hidden {
    display: none;
}


/* ================================= footer section  =================================  */

.footer {
    background-color: #232323;
    color: #cdcdcd;
}

.footer__header {
    font-size: 800;
    color: white;
}

.footer__social a {
    color: #cdcdcd;
}

.footer__social li {
    margin: .5rem 0.5rem 0.5rem 0;
    transition: bottom .3s ease-in-out;
    bottom: 0;
}

.footer__social .icons {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    color: #f5f5f5;
    line-height: 1;
    width: 30px;
    height: 30px;
    border-radius: 0;
}

@media (max-width: 576px) {
    .footer_social .icons {
        width: 25px;
        height: 25px;
    }
}

.footer__social li:hover {
    bottom: 6px;
    opacity: .7;
    transition: bottom .3s ease-in-out;
}


/*
*
*   ====================================== copyright section ======================================
*
*/

.copyright {
    background-color: #212124;
    color: #cdcdcd;
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    opacity: 0.5;
    color: #dd2c0f;
}


/*
*
*   ====================================== media query  ======================================
*
*/

@media (min-width: 576px) {
    html {
        font-size: 1.25rem;
    }
}