
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }
 
 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }
 
 #fruite-img{
    height: 80px;
 }
 .navbar-custom {
    background-color: #ffffff;
}
.navbar-brand h1 {
    font-size: 1.75rem;
    color: #007bff;
}
.navbar-nav .nav-link {
    color: #333;
    margin-right: 1rem;
}
.navbar-nav .nav-link:hover {
    color: #007bff;
}
.dropdown-menu {
    background-color: #6c757d;
}
.navbar-toggler{
    background-color: #05083b !important;
}
.dropdown-menu .dropdown-item {
    /*color: #fff;*/
}
.dropdown-menu .dropdown-item:hover {
    background-color: #007bff;
    color: #fff;
}
.btn-custom {
    background-color: #dc3545;
    color: #fff;
}
.btn-custom:hover {
    background-color: #c82333;
}
.btn-search {
    border-color: #6c757d;
}
.cart-badge {
    top: -5px;
    left: 15px;
    height: 20px;
    min-width: 20px;
}

 .back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

.btn.border-secondary:hover {
    background: var(--bs-secondary) !important;
    color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

.topbar .top-info {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link {
    font-size: 15px;
    line-height: 0;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.topbar .top-link a {
    letter-spacing: 1px;
}

.topbar .top-link a small:hover {
    color: var(--bs-secondary) !important;
    transition: 0.5s;
}

.topbar .top-link a small:hover i {
    color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    text-align: center;
    
    height: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
   
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}

.modal-content {
    border-radius: 8px;
    padding: 20px;
   
}

.modal-header {
    border-bottom: none;
}

.modal-title {
    font-size: 1.5em;
}

.form-group {
    margin-bottom: 1.5em;
}
.carousel-item-content {
    height: auto;
    position: relative;
    text-align: center;
}

.carousel-item img {
    width: 70%;
    display: block; /* Ensures the image is centered within its container */
    margin: auto; /* Centers the image horizontally */
}

.carousel-item-content a {
   
   
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem; /* Adjust font size as needed */
    padding: 10px 20px; /* Adjust padding as needed */
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
}



.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}
/*** Navbar End ***/

/*** Hero Header ***/

.hero-header {
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)), url(../img/trucking5.jpg) no-repeat center center;
    background-size: cover; /* Ensures the image scales to cover the entire container */
    background-position: center; /* Centers the image horizontally and vertically */
    width: 100%; /* Full width of the parent container */
    height: 100vh; /* Full height of the viewport */
    overflow: hidden; /* Ensures any overflowing parts of the image are cropped */
}



@media (orientation: landscape) {
    .hero-header {
        background-size: cover; /* Cover the full area in landscape mode */
    }
}

.carousel-item {
    position: relative;
}

.carousel-item a {
    position: absolute;
    top: 97%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    background: linear-gradient(rgba(124, 81, 81, 0), rgba(0, 0, 0, 0));
}

.carousel-control-next,
.carousel-control-prev {
    background-image: ("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");

}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/truck-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


.hero-header{
    /* margin-top: 50px !important; */
}
.page-header {
    margin-top: 52px !important;
}

@media (max-width: 351px) {
    .hero-header{
        margin-top: 92px !important;
    }
}

/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
    content: "";
    width: 35px;
    height: 35px;
    background: var(--bs-secondary);
    position: absolute;
    bottom: -10px;
    transform: translate(-50%);
    transform: rotate(45deg);
    background: var(--bs-secondary);
    
}
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    width: 250px; 
    height: 130px; 
    top: -50%; 
    left: 50%; 
    transform: translate(-50%, -50%);
}

/*** service End ***/

/*** Courses Start***/
.containerr {
    display: flex;
    background: #ffffff;
    overflow: hidden;    
    width: 80%;
    max-width: 1200px;
    margin-left: 15%;
    flex-direction: row; /* Default to row for desktop view */
}

.image-section {
    
    background-color: #ffffff; /* Light blue background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}


.content-section {   
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
}

.course-description, .certificate-included {
    padding: 20px;
}

.course-description h4, .certificate-included h4 {
    color: #333;
    margin-top: 0;
}

.course-description p, .certificate-included p, .additional-info p {
    color: #555;
    line-height: 1.6;
}

body{
    overflow-x: hidden;
}

.additional-info {
    background-color: #e7f4ff;
    padding: 20px;
    max-width: 1200px;
    margin-left: 15%;
    margin-top: 20px;
}

.cardsection {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 50px;
}

.card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    /* width: 40%; Adjusted for mobile */
    height: auto; /* Adjusted for mobile */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card h2 {
    margin: 10px 0;
    padding: 30px;
    font-size: 26px;
}
.navbar-brand {
    height: 100%; /* Ensure full height for vertical centering */
    display: flex;
    align-items: center; /* Vertically center align */
}

@media (min-width: 992px) {
    .navbar-nav {
        height: 100%; /* Ensure full height for vertical centering */
        display: flex;
        align-items: center; /* Vertically center align */
    }
}


.card p {
    padding: 0 10px 20px;
    color: #666;
    align-content: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.course-curriculum {
    text-align: center;
    margin-top: 20px;
    background-color: #ececec;
    padding: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.grid-item {
    background-color: #05083b;
    color: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
}

.grid-item:nth-child(3n+2) {
    background-color: #FFB524;
    color: black; /* Change text color to black for better readability */
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 930px) {
     
    .containerr {
        flex-direction: column; /* Change to column for mobile view */
        width: 90%;
        margin-left: 5%;
    }

.image-section {
    background-color: #ffffff; /* Light blue background */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 100%;
}

.content-section {
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    width: 100%;
}

.course-description, .certificate-included {
    padding: 20px;
}

.course-description h4, .certificate-included h4 {
    color: #333;
    margin-top: 0;
}

.course-description p, .certificate-included p, .additional-info p {
    color: #555;
    line-height: 1.6;
}

.additional-info {
    background-color: #e7f4ff;
    padding: 20px;
    max-width: 1200px;
    margin-left: 15%;
    margin-top: 20px;
}


    .card {
        width: 100%;
        margin-bottom: 20px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .additional-info {
        margin-left: 0;
    }
}


/*** Courses End***/

/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
    color: var(--bs-white) !important; 
}

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
    transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
    color: var(--bs-secondary);
}

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}
.fruite .fruite-item:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
    transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
    transform: scale(1.3);
}
/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

.vesitable .vesitable-item:hover {
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
    overflow: hidden;
    transition: 0.5s;
    border-radius: 10px 10px 0 0;
}

.vesitable .vesitable-item .vesitable-img img {
    transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
    transform: scale(1.2);
}

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;

}

.vesitable .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
    font-size: 60px;
    margin-bottom: 25px;
}

.counter h4 {
    color: var(--bs-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.counter h1 {
    margin-bottom: 0;
}
/*** Facts End ***/



/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
    background: var(--bs-secondary);
    color: var(--bs-white);
}
/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
    color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/
.navbar-toggler .fa-bars {
    color: black;
}

.navbar {
    padding: 10px 20px;
}



.navbar-toggler-icon {
    padding: 10px;
    color: #000000;
}

/* Collapsed navbar styling */
@media (max-width: 992px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px;
        font-size: 16px;
    }

    .navbar .navbar-nav {
        text-align: center;
    }
}

/* Custom styles */
.navbar {
    height: auto;
    border-bottom: none;
}

.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
    color: #333;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-menu {
    background-color: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}

.navbar .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
}

/* Mobile styling */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar .navbar-nav {
        margin: 0;
    }

    .navbar .navbar-nav .nav-item {
        margin: 5px 0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 10px;
    }

    .navbar .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: var(--bs-light);
    }

    .navbar .dropdown-menu a {
        padding: 10px 20px;
    }

    .navbar .dropdown-toggle::after {
        margin-left: 5px;
    }
}