/* ================= Start global css =====================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* global variables */
:root {
    --main-color: #1d1d1d;
    --secondary-color: #f3a51b;
    --third-color: #e0743f;

}

.orange {
    color: var(--third-color);
}

*::selection {
    background-color: var(--third-color);
    color: #fff;
}

/* global variables */
/* global class */
.btn-global {
    color: #fff;
    background-color: var(--third-color);
    transition: background-color .4s ease-in-out;
    padding: 5px 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;

}

.btn-global:hover {
    color: #fff;
    background-color: var(--main-color);
}

.section-seperator {
    padding: 30px 0px;
    margin-top: 25px;

}

.seaparator-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 7px;
    width: 100%;
    background-color: var(--secondary-color);
}

/* global class */

/* google font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Brygada+1918:wght@400;500;600&display=swap');

/* google font */
body {
    /* height: 3000px; */
    font-family: 'Inter', sans-serif;

}

/* ================= End global css ======================*/
/* ================= Start Header ======================*/
header .navbar-brand img {
    width: 165px;

}

header nav {

    background-color: #fff;
    -webkit-box-shadow: 0px 3px 20px 2px rgba(171, 169, 171, .5);
    -moz-box-shadow: 0px 3px 20px 2px rgba(171, 169, 171, .5);
    box-shadow: 0px 3px 20px 2px rgba(171, 169, 171, .5);
}

header nav .nav-item {
    margin-left: 14px;
    padding: 10px 0px;

}



header nav .nav-item .nav-link {
    font-size: 17px;
    font-weight: 500;
    color: var(--main-color);
    position: relative;
}

header nav .nav-item .nav-link.active {
    color: var(--secondary-color) !important;
    fill: var(--secondary-color) !important;

}

header nav .nav-item .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all .3s ease-in-out;

}

header nav .nav-item .nav-link:hover::after, header nav .nav-item .nav-link.active::after {
    width: 100%;
}


nav .social-icons a i {
    color: var(--main-color);
    font-size: 34px;
    transition: .3s ease-in-out;
}

nav .social-icons a i:hover {
    color: var(--secondary-color);
}

@media (max-width:991px) {
    .nav-item {
        text-align: center;
    }

    header nav .nav-item:hover {
        background-color: #F5F5F5;
    }

    header nav .nav-item .nav-link {
        display: inline-block;
    }

}

@media (max-width:767px) {
    header nav {
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

}

/* ================= End Header ======================*/
/* ================= Start Home ======================*/
#home {
    position: relative;
    height: 100vh;
}

#home .video-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
}

#home video {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
#home .home-content{
    z-index: 5;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 100%;
}
.products-header .home-content {
    z-index: 5;
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    width: 100%;
}

#home .home-content h1 {
    line-height: 1.3;
    font-size: 75px;
    font-weight: 700;
}

#home .home-content p {
    font-size: 18px;
    font-weight: 600;
}

.scale-up-center {
    -webkit-animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.1s both;
    animation: scale-up-center 0.4s cubic-bezier(0.390, 0.575, 0.565, 1.000) 0.1s both;
}


/**
* ----------------------------------------
* animation scale-up-center
* ----------------------------------------
*/
@-webkit-keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes scale-up-center {
    0% {
        -webkit-transform: scale(0.5);
        transform: scale(0.5);
    }

    100% {
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* ================= End Home ======================*/
/* ================= Start About ======================*/
#about h2 {
    font-size: 85px;
    font-family: 'Brygada 1918', serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--third-color);
}

#about p {
    margin: 13px 0;
    line-height: 37px;
    font-weight: 500;
}

.youtube-vid {
    margin-top: 60px;
    margin-top: 50px;
    width: 100%;
    height: 100%;
}

.youtube-vid iframe {
    width: 100%;
    height: 100%;
}


/* ================= End About ======================*/
/* ================= Start Farm ======================*/
#farm .row .row .col-6 {
    margin-bottom: 10px;
}

#farm .row .row .col-6:nth-child(odd) {
    margin-top: 31px;
}

#farm h3 {
    color: var(--third-color);
    font-size: 62px;
    font-family: 'Brygada 1918', serif;
    font-weight: 500;
    line-height: 70px;
}

#farm p.locations {
    font-size: 18px;
    line-height: 40px;
    width: 70%;
    color: #646464;
    font-weight: 300;
}

/* ================= End Farm ======================*/
/* *********************end home page**************** */
/* *******************contact page******************** */
/* ================= Start Contact  ======================*/
.contain {
    height: 550px;
    background-image: url("../images/contact/ContactUs.jpg");
    background-position: top center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.content {
    color: white;
    text-align: center;
}

.content h6 {
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: 'Brygada 1918', serif;
}

.content h1 {
    padding-bottom: 100px;
    letter-spacing: 3px;
    font-size: 5.5rem;
    font-weight: 500;
    font-family: 'Brygada 1918', serif;
}

.places {
    display: flex;
}

.contact>h6 {
    color: var(--third-color);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact>h2 {
    color: var(--secondary-color);
    font-size: 3rem;
    font-weight: 600;
    font-family: 'Brygada 1918', serif;
}

.contact>p {
    word-spacing: 6px;
    font-size: 100%;
}

.places h6 {
    text-transform: uppercase;
    color: var(--third-color);
    letter-spacing: 3px;
}

.places p {
    word-spacing: 5px;
    font-size: 16px;
}

.places .icon i {
    color: var(--secondary-color);
}

.realContact .places {
    margin-left: 80px;
    padding-left: 30px;
    border-left: 1px solid gray;
}

.contactForm h4::before {
    content: " ";
    background-color: var(--third-color);
    width: 48px;
    height: 2px;
    position: absolute;
    top: 0px;
    left: 14px;
    z-index: 9999;
}

.contactForm h4 {
    color: var(--secondary-color);
    text-transform: uppercase;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Brygada 1918', serif;
}

.contactForm .form-group label {
    font-weight: 700;
    color: #7f6c76;
}

.contactForm .form-group span {
    color: red;
    font-size: 20px;
}

.contactForm .form-control {
    width: 50%;
}

.contactForm .hent label {
    font-weight: 500;
    font-size: 15px;
}

.contactForm .sub {
    border-radius: 3px;
    padding: 10px 20px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #ffff;
    background-color: var(--third-color);
    border: 0px solid;
    transition: .3s ease-in-out;
}

.contactForm .sub:hover {
    background-color: var(--secondary-color);
}

/* ================= End Contact  ======================*/
/* *******************contact page******************** */
/* *******************partners page******************** */

/* ================= Start partner  ====================== */
.oil {
    background-image: url("../images/STEAM/8a9b5163-a640-4608-a5b3-063b95798d9f.jpg");
    background-size: cover;
    background-position: center right;
    height: 130vh;
}

.Machinework {
    width: 70%;
}

.Machinework h2 {
    color: #205B4F;
    font-weight: 600;
}

.Machinework p {
    text-align: left;
    color: #94918b;
    line-height: 1.7rem;
}

.labMachine h3 {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: 'Brygada 1918', serif;
    color: #205B4F;
}

.labMachine p {
    color: #94918b;
}

.machines h5 {

    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Brygada 1918', serif;
}

/* ================= End partner  ====================== */
/* *******************partners page******************** */
/* *******************history page********************* */
.contain-2 {
    height: 660px;
    background-image: url("../images/history/history.jpg");
    background-position: center center;
    /* background-size: cover; */
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: repeat-x;

}

.history {
    margin-top: 80px;
}

.contain-2 h4 {
    font-size: 50px;
}

@media (max-width:991px) {
    .contain-2 h4 {
        font-size: 35px;
    }

}

/* The actual timeline (the vertical ruler) */
.history .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.history .timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: var(--third-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

/* Container around content */
.history .container-history {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.history .container-history::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: var(--third-color);
    border: 4px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the container to the left */
.history .container-history:nth-child(odd) {
    left: 0;
}

/* Place the container to the right */
.history .container-history:nth-child(even) {
    left: 50%;
}

/* Add arrows to the left container (pointing right) */
.history .container-history:nth-child(odd)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid rgb(65, 65, 65);
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--main-color);
}

/* Add arrows to the right container (pointing left) */
.history .container-history:nth-child(even)::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid var(--main-color);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--main-color) transparent transparent;
}

/* Fix the circle for containers on the right side */
.history .container-history:nth-child(even)::after {
    left: -12px;
}

/* The actual content */
.history .content {
    padding: 20px 30px;
    background-color: var(--third-color);
    position: relative;
    border-radius: 6px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {

    /* Place the timelime to the left */
    .history .timeline::after {
        left: 31px;
    }

    /* Full-width containers */
    .history .container-history {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    /* Make sure that all arrows are pointing leftwards */
    .history .container-history::before {
        left: 60px;
        border: medium solid rgb(109, 81, 81);
        border-width: 10px 10px rgb(151, 114, 114)0;
        border-color: transparent white transparent transparent;
    }

    /* Make sure all circles are at the same spot */
    .history .container-history:nth-child(odd)::after, .container-history:nth-child(even)::after {
        left: 15px;
    }

    /* Make all right containers behave like the left ones */
    .history .container-history:nth-child(even) {
        left: 0%;
    }
}

.team h2 {
    color: var(--third-color);
    font-size: 55px;
    font-weight: 600;
    margin-top: 100px;
    word-spacing: 9px;
}


.team .box {
    margin: 0 auto;
    margin-top: 80px;
}

.team .card {
    position: relative;
    width: 300px;
    height: 350px;
    background: #fff;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .2);

}

.team .card:before,
.team .card:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    background: rgba(33, 33, 33, .8);
    transition: 0.5s;
    z-index: -1;
}

.team .card:hover:before {
    transform: rotate(20deg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
}

.team .card:hover:after {
    transform: rotate(10deg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, .2);
}

.team .card .imgBx {
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    background: #222;
    transition: 0.5s;
    z-index: 1;
}

.team .card:hover .imgBx {
    bottom: 80px;
}

.team .card .imgBx img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team .card .details {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    height: 60px;
    text-align: center;
}

.team .card .details h2 {
    margin: 0;
    padding: 0;
    font-weight: 600;
    font-size: 20px;
    color: #777;
    text-transform: uppercase;
}

.team .card .details h2 span {
    font-weight: 500;
    font-size: 16px;
    color: #f38695;
    display: block;
    margin-top: 5px;
}

/* *******************history page********************* */
/* *******************products page********************* */

.products-header {
    /* background-image: url('../images/products/header.jpg'); */
    background-size: cover;
    position: relative;
    height: 125vh;
}

.products-header .video-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 2;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
}

.products-header video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.products-header .prod, .products-all .prod {
    margin-top: 10px;
    border-radius: 5px;
    padding: 7px 12px;
    color: var(--third-color);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    transition: transform .3s ease-in-out;
}

.products-header .prod:hover, .products-all .prod:hover {
    transform: scale(1.033333);
    letter-spacing: 3px;

}

.prodContent {
    margin-top: 76px;
}

/* *******************products page********************* */
.hot-products>p {
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--third-color);
    font-size: 14px;
}

.hot-products>h2 {
    font-size: 70px;
    line-height: 1.2;
    color: var(--main-color);

}

.text-container>h4 {
    color: var(--secondary-color);
}

.products-all {
    margin-top: 120px;
    background-color: var(--main-color);
    padding: 100px 0px;
}

.prod {
    position: relative;
}

.prod i {
    position: absolute;
    left: 27px;
    top: 50%;
    transform: translateY(-50%);
}

/* product-details */
.product-image-details img {
    height: 80vh;
}

.content-prod-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.content-prod-details p {
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    letter-spacing: 4px;

}

.content-prod-details h4 {
    color: #fff;
    font-size: 80px;
    font-weight: 600;
}

/* product-details */
/* gallery */
/* ================= start gallery  ======================*/
.gallery {
    background-image: url("../images/gallary/gallery1.jpg");

}

.gallery h5 {
    font-size: 1.25rem;
    font-weight: 600;
    font-family: 'Brygada 1918', serif;
    line-height: 1.6;
    margin-bottom: 20px;

}

.all-Images {
    background-color: #F5F5F5;
}

/* ================= start certificates  ======================*/

.certificate {
    background-attachment: fixed;
    background-image: url("../images/certificates/1.jpg");
    background-position: center right;
}

.allCertificates {
    background-color: #F5F5F5;
}

.paper {
    cursor: pointer;
}

.allCertificates .paper {
    position: relative;
    cursor: pointer;
    height: 100%;
    padding-bottom: 13px;
    border-bottom: 1px solid red;
    background-color: rgb(222, 215, 215);
    border-radius: 5px;
}

.paper img {
    height: 90%;
    width: 100%;
    border-radius: 5px;
}

.secondRow .paper img {
    height: 95%;
}

.lightBox-container {
    position: fixed;
    left: 0px;
    top: 0px;
    bottom: 0px;
    right: 0px;
    background-color: rgba(0, 0, 0, .55);
    display: none;
    z-index: 10000;
}

.lightBox-item {
    width: 45%;
    height: 430px;
    background-image: url(images/portfolio-2.jpg);
    background-size: 100% 100%;
    justify-content: space-between;
    position: relative;
    z-index: 300;
}

.lightBox-item i {
    font-size: 16px;
    cursor: pointer;
}

#close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    transition: .3s ease-in-out;
}

#close:hover {
    color: var(--third-color);
}

#next, #prev {
    font-size: 25px;
    transition: .3s ease-in-out;
}

#next:hover, #prev:hover {
    color: var(--third-color);
}

@media (max-width:500px) {
    .certificate .content h1 {
        font-size: 4rem;
    }

    .lightBox-item {
        width: 100%;
        height: 100%;
    }
}

footer {
    z-index: -1;
}

/* ================= End certificates  ======================*/


/* gallery */
@media (max-width:767px) {
    .content-prod-details h4 {
        font-size: 50px;
    }

}

.prod-details-tabs {
    margin-top: 60px;
}

.prod-details-tabs .nav-pills .nav-link.active {
    background-color: var(--third-color);
}

.prod-details-tabs .nav-link {
    color: var(--main-color);
    padding: 15px;
    position: relative;
}

.prod-details-tabs .nav-link::after {
    position: absolute;
    content: "";
    width: 3px;
    height: 60%;
    background-color: var(--third-color);
    color: var(--third-color);
    font-size: 20px;
    margin-left: 6px;

}

.tab-content {
    border: 1px dashed rgba(148, 148, 148, .6);
}

.tab-content>.active {
    margin: 20px;
}

/* news */

.card-style2 {
    position: relative;
    display: flex;
    transition: all 300ms ease;
    border: 1px solid rgba(0, 0, 0, 0.09);
    padding: 0;
    height: 100%;
}

.card-style2 .card-img {
    position: relative;
    display: block;
    background: #ffffff;
    overflow: hidden;
    border-radius: 0.25rem;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.card-style2 .card-img img {
    transition: all 0.3s linear 0s;
}

.card-style2:hover .card-img img {
    transform: scale(1.05);
}

.card-style2 .date {
    position: absolute;
    right: 30px;
    top: 30px;
    z-index: 1;
    color: #16bae1;
    overflow: hidden;
    padding-bottom: 10px;
    line-height: 24px;
    text-align: center;
    border: 2px solid #ededed;
    display: inline-block;
    background-color: #ffffff;
    text-transform: uppercase;
    border-radius: 0.25rem;
}

.card-style2 .date span {
    position: relative;
    color: #ffffff;
    font-weight: 500;
    font-size: 20px;
    display: block;
    text-align: center;
    padding: 12px;
    margin-bottom: 10px;
    background-color: #00baee;
    border-radius: 0.25rem;
}

.card-style2 .card-body {
    position: relative;
    display: block;
    background: #ffffff;
    padding: 2rem;
}

.card-style2 .card-body h3 {
    margin-bottom: 0.8rem;
}

.card-style2 .card-body h3 a {
    color: #004975;
}

.card-style2 .card-body h3 a:hover {
    color: #00baee;
}

.card-style2 .card-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.09);
    background: transparent;
    padding-right: 2rem;
    padding-left: 2rem;
    -ms-flex-align: end;
    align-items: flex-end;
}

.card-style2 .card-footer ul {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin-bottom: 0;
}

.card-style2 .card-footer ul li {
    font-size: 15px;
}

.card-style2 .card-footer ul li a {
    color: #394952;
}

.card-style2 .card-footer ul li a:hover {
    color: #00baee;
}

.card-style2 .card-footer ul li i {
    color: #00baee;
    font-size: 14px;
    margin-right: 8px;
}
