/********** Template CSS **********/
:root {
    --primary: #D30102;
    --secondary: #525368;
    --light: #E8F5E9;
    --dark: #0F4229;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

h1,
.h1,
h2,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand,
.navbar a.btn {
    height: 78px
}

.d-flex img{
    height:107px !important;
}

.navbar .navbar-nav .nav-link {
    margin-right: 20px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 16px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgb(28 28 28 / 49%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 3rem;
    background-color: var(--primary);
    border: 10px solid var(--primary);
}



@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(15, 66, 41, .6), rgba(15, 66, 41, .6)), url(../img/baner8.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Top Feature ***/
@media (min-width: 991.98px) {
    .top-feature {
        position: relative;
        margin-top: -80px;
        z-index: 1;
    }
}

/* Gold Bottom Border for Top Red Bar */
.top-bar,
.container-fluid.bg-dark,
.container-fluid.topbar {
    border-bottom: 3px solid gold;
}


/* =====================================
   ONLY MOBILE RESPONSIVE FIX
   DESKTOP WILL NOT CHANGE
===================================== */

@media only screen and (max-width: 991px) {

    /* Navbar spacing */
    .navbar {
        padding: 8px 15px !important;
    }

    /* Logo size mobile only */
    .d-flex img,
    .navbar-brand img {
        height: 80px !important;
        width: auto !important;
    }

    /* Keep logo and toggle same row */
    .navbar .container,
    .navbar .container-fluid {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    /* Toggle button */
    .navbar-toggler {
        margin-left: auto !important;
        border: none !important;
        box-shadow: none !important;
        padding: 5px 8px !important;
    }

    /* Mobile menu */
    .navbar-collapse {
        background: #fff;
        padding-top: 10px;
    }

    /* Nav links mobile */
    .navbar .navbar-nav .nav-link {
        padding: 12px 0 !important;
        margin-right: 0 !important;
    }

    /* Topbar mobile */
    .top-bar,
    .topbar {
        text-align: center;
        padding: 8px 10px;
    }

    .top-bar .row,
    .topbar .row {
        flex-direction: column;
        gap: 5px;
    }

    /* Carousel mobile */
    #header-carousel .carousel-item {
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        height: 450px;
        object-fit: cover;
    }

    /* Mobile text */
    .carousel-caption h1 {
        font-size: 26px !important;
        line-height: 1.3;
    }

    .carousel-caption p {
        font-size: 15px !important;
    }

    /* Prevent horizontal scroll */
    body,
    html {
        overflow-x: hidden;
    }
}



/*** Facts & Quote ***/
.facts,
.quote {
    background: rgba(15, 66, 41, .6);
}


/*** Service ***/
.service-item {
    position: relative;
    text-align: center;
}

.service-item .service-img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -1;
}

.service-item .service-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    object-fit: cover;
    transform: scale(1.2);
    transition: .3s;
    z-index: -1;
}

.service-item:hover .service-img img {
    transform: scale(1);
}

.service-item .service-text {
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .3s;
}

.service-item:hover .service-text {
    background: rgba(15, 66, 41, .6);
}

.service-item .service-text h4,
.service-item .service-text p {
    transition: .3;
}

.service-item:hover .service-text h4 {
    color: #FFFFFF;
}

.service-item:hover .service-text p {
    color: var(--light);
}

.service-item .service-text .btn-square {
    width: 100px;
    height: 100px;
    background: transparent;
    transition: .5s;
}

.service-item:hover .service-text .btn-square {
    background: var(--light);
}

.service-item .service-text .btn {
    width: 31px;
    height: 31px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: var(--light);
    white-space: nowrap;
    overflow: hidden;
    transition: .3s;
}

.service-item:hover .service-text .btn {
    width: 112px;
}


/*** Project Portfolio ***/
#portfolio-flters {
    display: inline-block;
    background: var(--light);
    padding: 10px 15px;
}

#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--dark);
    border-color: var(--dark);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(15, 66, 41, .6);
    transition: .5s;
}

.portfolio-inner::after {
    left: auto;
    right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
    width: 50%;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
    transition-delay: .3s;
    opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
    background: var(--light);
    color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Team ***/
.team-item {
    position: relative;
    overflow: hidden;
}

.team-item .team-text {
    position: absolute;
    width: calc(100% - 45px);
    left: -100%;
    bottom: 45px;
    padding: 1.5rem;
    background: #FFFFFF;
    border-radius: 0 4px 4px 0;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-text {
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    background: var(--light);
    color: var(--primary);
}

.team-item .team-social .btn:hover {
    background: var(--primary);
    color: var(--light);
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}


/*** Testimonial ***/

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: var(--light);
    border-radius: 4px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: var(--light);
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #0d1b2a;
    color: #ccc;
    font-size: 14px;
}

.copyright strong {
    color: #fff;
}

.copyright p {
    margin: 0;
}

/* Icon Box */
.btn-square {
    width: 70px;
    height: 70px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: 0.3s;
}

/* Icon Color */
.btn-square i {
    color: #dc3545;
}

/* Hover Effect */
.service-item:hover .btn-square {
    background: #dc3545;
}

.service-item:hover .btn-square i {
    color: #fff;
}


/* Feature Card Style */
.feature-card {
    background: #f8f9fa;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Icon Style */
.feature-icon {
    font-size: 40px;
    color: #dc3545;
}

/* Hover Effect */
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    background: #dc3545;
}

.feature-card:hover .feature-icon,
.feature-card:hover h5 {
    color: #fff;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .mt-5 {
        margin-top: 0 !important;
    }
}

/* home testimonials */

.testimonial-item {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.testimonial-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.testimonial-item p {
    color: #555;
}

.testimonial-item h5 {
    color: #dc3545;
    font-weight: 600;
}


/* about section */

#amiet-about-section i {
    font-size: 20px;
}

#amiet-about-section p {
    color: #555;
    line-height: 1.7;
}

#amiet-about-section h1 {
    font-weight: 700;
}


/* service secion */

.core-box {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.mini-point {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.mini-point i {
    color: #dc3545;
}

/* Right Cards */
.service-card {
    background: #fff;
    border-radius: 15px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card i {
    font-size: 30px;
    color: #dc3545;
    margin-bottom: 10px;
}

.service-card:hover {
    transform: translateY(-10px);
    background: #dc3545;
    color: #fff;
}

.service-card:hover i {
    color: #fff;
}

/* Bottom Boxes */
.value-box {
    background: #f8f9fa;
    border-radius: 12px;
    transition: 0.3s;
}

.value-box i {
    font-size: 28px;
    color: #dc3545;
    margin-bottom: 10px;
}

.value-box:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-8px);
}

.value-box:hover i {
    color: #fff;
}

/* fleet */


/* Card */
.fleet-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Image */
.fleet-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.fleet-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}

/* Body */
.fleet-body h4 {
    font-weight: 600;
}

.capacity {
    color: #dc3545;
    font-weight: 600;
}

/* Hover Effect */
.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.fleet-card:hover img {
    transform: scale(1.08);
}

/* safery*/

.safety-top {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.safety-top i {
    font-size: 30px;
    color: #dc3545;
    margin-bottom: 10px;
}

/* Cards */
.safety-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    transition: 0.3s;
}

.safety-card h4 {
    color: #dc3545;
    margin-bottom: 15px;
}

.safety-card ul {
    padding-left: 20px;
}

.safety-card li {
    margin-bottom: 8px;
    color: #555;
}

/* Hover */
.safety-card:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-8px);
}

.safety-card:hover h4 {
    color: #fff;
}

.safety-card:hover li {
    color: #fff;
}

/* Highlight */
.highlight-text {
    font-style: italic;
    font-weight: 500;
    margin: 20px auto;
    max-width: 700px;
}


/* opertion */


/* Highlight boxes */
.highlight-box {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.highlight-box i {
    font-size: 28px;
    color: #dc3545;
    margin-bottom: 10px;
}

.highlight-box:hover {
    transform: translateY(-8px);
}

/* Cards */
.safety-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    height: 100%;
    transition: 0.3s;
}

.safety-card h4 {
    color: #dc3545;
    margin-bottom: 15px;
}

.safety-card ul {
    padding-left: 18px;
}

.safety-card li {
    margin-bottom: 8px;
    color: #555;
}

/* Hover */
.safety-card:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-8px);
}

.safety-card:hover h4,
.safety-card:hover li {
    color: #fff;
}

/* Highlight text */
.highlight-text {
    font-style: italic;
    max-width: 750px;
    margin: 20px auto;
}


/* management team */

.management-team {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.section-header p {
    color: #666;
    font-size: 16px;
    margin-bottom: 40px;
}

/* Grid Layout */
.team-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Card Design */
.team-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    max-width: 280px;
    width: 100%;
    transition: 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.team-card:hover {
    transform: translateY(-8px);
}

/* Image */
.team-img img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

/* Info */
.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #111;
}

.team-info span {
    font-size: 14px;
    color: #777;
}

/* Responsive */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 26px;
    }

    .team-card {
        max-width: 100%;
    }
}

/* executive team */

.executive-team {
    padding: 60px 20px;
    background: #f8f9fb;
    text-align: center;
}

.section-header h1 {
    font-size: 34px;
    font-weight: 700;
    color: #222;
}

.section-header p {
    color: #666;
    margin-bottom: 40px;
}

/* Grid Layout */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

/* Card Style */
.team-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #800000; /* maroon theme */
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: left;
    transition: 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

/* Name */
.team-card h3 {
    font-size: 18px;
    color: #111;
    margin-bottom: 5px;
}

/* Position */
.team-card span {
    font-size: 14px;
    color: #777;
}

/* Mobile */
@media (max-width: 576px) {
    .section-header h1 {
        font-size: 26px;
    }
}

/* trasnport */

.corporate-transport {
    padding: 70px 20px;
    background: #ffffff;
}

.transport-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

/* LEFT CONTENT */
.transport-content {
    flex: 1;
    min-width: 300px;
}

.transport-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 20px;
}

.transport-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* RIGHT IMAGE */
.transport-image {
    flex: 1;
    min-width: 300px;
}

.transport-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .transport-wrapper {
        flex-direction: column;
    }

    .transport-content h2 {
        font-size: 26px;
    }
}


/* genral */

.fleet-section {
    padding: 60px 20px;
    background: #f9f9f9;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    color: #222;
}

/* AUTO GRID (Important Change) */
.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* Card */
.fleet-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.fleet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* Square Image */
.fleet-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Name */
.fleet-card h3 {
    padding: 15px;
    font-size: 18px;
    color: #333;
}


/* tariff */

.tariff-section {
    padding: 60px 20px;
    background: #f8f9fb;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #222;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

/* Table Wrapper */
.table-responsive {
    overflow-x: auto;
}

/* Table Style */
.tariff-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* Header */
.tariff-table thead {
    background: #0d1b2a;
    color: #fff;
}

.tariff-table th {
    padding: 15px;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Body */
.tariff-table td {
    padding: 14px;
    border-bottom: 1px solid #eee;
    color: #333;
}

/* Row Hover */
.tariff-table tbody tr:hover {
    background: #f1f5f9;
    transition: 0.3s;
}

/* Alternate Rows */
.tariff-table tbody tr:nth-child(even) {
    background: #fafafa;
}



/* contac page */

.contact-section {
    padding: 60px 20px;
    background: #f8f9fb;
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #222;
}

.section-subtitle {
    color: #666;
    margin-bottom: 40px;
}

/* GRID */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

/* CARD */
.contact-card {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #0d1b2a;
}

.contact-card p {
    margin-bottom: 10px;
    color: #444;
    font-size: 15px;
}

/* MAP */
.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* client logo home */

.client-logo {
    max-height: 100px;
    object-fit: contain;
    transition: 0.3s ease;
}

/* Optional subtle hover */
.client-logo:hover {
    transform: scale(1.08);
}