/********** Template CSS **********/
:root {
    color-scheme: light;
    --primary: #29693A;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}
@media (prefers-color-scheme: dark) {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
}
body {
    background-color: #ffffff;
    color: #212529;
}
input,
textarea,
select {
    background-color: #ffffff !important;
    color: #212529 !important;
}



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

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


/*** 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 {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.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 {
    transition: all 0.4s ease;
    z-index: 999;
}

/* Brand */
.navbar-light .navbar-brand {
    height: 75px;
    display: flex;
    align-items: center;
}

/* Logo */
.navbar-logo {
    height: 45px;
    width: auto;
}

/* Nav links */
.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 28px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    font-weight: 500;
    text-transform: none; /* cleaner, modern */
    transition: color 0.3s ease;
}

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

/* hover */
.btn-primary:hover,
.btn-primary:focus {
    background-color: #0d3b66 !important;
    border-color: #0d3b66 !important;
}

/* Service Cards */
.service-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Icon Circle */
.service-icon {
    width: 70px;
    height: 70px;
    background: #0d6efd15;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 28px;
    color: #0d6efd;
}

/* Section Divider */
.section-divider {
    width: 60px;
    height: 4px;
    background: #0d6efd;
    margin: 15px auto 30px;
    border-radius: 10px;
}

/* Accordion mobile style */
.accordion-button {
    font-weight: 600;
}

/* Desktop underline animation */
@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 3px;
        bottom: 10px;
        left: 50%;
        background: var(--primary);
        transition: all 0.3s ease;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

/* Mobile navbar */
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav {
        border-top: 1px solid #eee;
    }

    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 12px 0;
    }
}

/* Sticky animation */
.navbar-light.sticky-top {
    top: -100px;
}

.navbar-light.sticky-top.show {
    top: 0;
}


/* HERO WRAPPER */
.hero-wrapper {
    position: relative;
}

/* Carousel Item */
.header-carousel .owl-carousel-item {
    position: relative;
    height: 92vh;
    min-height: 540px;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 14s ease-in-out infinite alternate;
}

/* Smooth cinematic zoom */
@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

/* Overlay with glass blur */
.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(
        100deg,
        rgba(5, 10, 25, 0.92) 0%,
        rgba(5, 10, 25, 0.75) 45%,
        rgba(5, 10, 25, 0.35) 100%
    );
    backdrop-filter: blur(4px);
}

/* Content container */
.hero-content {
    max-width: 680px;
    color: #fff;
    animation: fadeSlideUp 1.2s ease;
}
.hero-content h1 {
    color: #fff !important;
}
/* Tag label */
.hero-tag {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(0, 255, 200, 0.12);
    color: #2df3c5;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 18px;
}

/* Headline */
.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.hero-content h1 span {
    color: #2df3c5;
}

/* Paragraph */
.hero-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 28px;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #00c6a9, #007bff);
    border: none;
    padding: 14px 28px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* Outline button */
.btn-outline {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 12px 26px;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-outline:hover {
    background: #ffffff;
    color: #0a1f44;
}

/* Fade animation */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* NAV ARROWS MODERN */
.header-carousel .owl-nav {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);
}

.header-carousel .owl-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    margin: 8px 0;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 18px;
    transition: 0.3s ease;
}

.header-carousel .owl-nav button:hover {
    background: #2df3c5;
    color: #001018;
}

/* MOBILE */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        height: 80vh;
    }

    .hero-content h1 {
        font-size: 2.1rem;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
}



/*** About Section ***/
.about-section {
    background-color: #f8f9fa;
}

.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-description {
    font-size: 16px;
    color: #555;
    max-width: 600px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.about-image img {
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 20px;                     /* 20px from top */
    right: 20px;                   /* 20px from right */
    background: rgba(0, 40, 80, 0.9); /* Dark semi-transparent background */
    color: #fff;                   /* White text */
    padding: 10px 16px;            /* Internal spacing */
    border-radius: 30px;           /* Rounded pill shape */
    font-size: 13px;               /* Small font */
    display: flex;                 /* Flex for icon + text */
    align-items: center;           /* Vertically center icon and text */
    gap: 8px;                      /* Space between icon and text */
    z-index: 10;                   /* Ensure it stays above the image */
}

.about-feature {
    display: flex;
    gap: 15px;
    background: #ffffff;
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.about-feature i {
    font-size: 26px;
    color: var(--primary);
}

.about-feature h6 {
    margin: 0;
    font-weight: 600;
}

.about-feature p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}



/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}

/* Quote Section Enhancements */
.hero-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Mobile Fix */
@media (max-width: 576px) {
    .hero-cta-buttons {
        flex-direction: column;
    }

    .hero-cta-buttons .btn {
        width: 100%;
    }
}

#quote {
    letter-spacing: 1px;
}

.bg-light input,
.bg-light select,
.bg-light textarea {
    background: #ffffff;
}

.bg-light input::placeholder,
.bg-light textarea::placeholder {
    color: #999;
}

.bg-light .btn-primary {
    transition: all 0.3s ease;
}

.bg-light .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.service-item img {
    transition: .5s;
}

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

.service-item a.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.service-item a.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span {
    background: var(--secondary);
}

/*** Coming Soon Service ***/
.service-item.coming-soon {
    opacity: 0.9;
}


/*** Page Header ***/
.page-header {
    height: 525px;
    background: url("../img/fuel flow truck image.jpeg") center center no-repeat;
    background-size: cover;
    position: relative;
}

.page-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 3, 21, 0.9) 0%,
        rgba(6, 3, 21, 0.6) 55%,
        rgba(6, 3, 21, 0.3) 100%
    );
}

.page-header h1 {
    font-weight: 800;
    line-height: 1.1;
}

.page-header h6 {
    letter-spacing: 2.5px;
    font-weight: 600;
}

.page-header .breadcrumb {
    background: transparent;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

/* Mobile */
@media (max-width: 768px) {
    .page-header {
        height: 320px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }
}


/*** Contact Typography ***/
.contact-form h6 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--primary);
}

.contact-form h1 {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    color: #0b1c2d; /* dark professional blue */
}

.contact-form h4 {
    font-size: 16px;
    font-weight: 400;
    color: #555;
    line-height: 1.6;
}

/*** Form Text ***/
.contact-form .form-control {
    font-size: 15px;
    font-weight: 400;
}

.contact-form .form-floating label {
    font-size: 14px;
    color: #666;
}

/*** Button Text ***/
.contact-form .btn {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/*** Mobile Optimization ***/
@media (max-width: 768px) {
    .contact-form h1 {
        font-size: 26px;
    }

    .contact-form h4 {
        font-size: 15px;
    }
}



/*** Footer ***/
.footer {
    background:
        linear-gradient(rgba(6, 10, 25, 0.9), rgba(6, 10, 25, 0.95)),
        url(../img/map.png) center center no-repeat;
    background-size: cover;
    color: #cfd8e3;
    font-size: 14px;
}

/* Titles */
.footer-title {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 0.4px;
}

/* Logo */
.footer-logo {
    height: 45px;
}

/* Links */
.footer .btn.btn-link {
    display: block;
    padding: 0;
    margin-bottom: 8px;
    color: #dfe6ee;
    text-align: left;
    font-weight: 400;
    text-transform: none;
    transition: all 0.3s ease;
}

.footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
    color: var(--primary);
}

.footer .btn.btn-link:hover {
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Social icons */
.footer .btn-social {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.4);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer .btn-social:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Footer links */
.footer-link {
    color: #ffffff;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--primary);
}

/* Inputs */
.footer input.form-control {
    border-radius: 50px;
}

.footer button.btn-primary {
    border-radius: 50px;
}

/* CTA button */
.footer .btn-outline-light {
    border-radius: 30px;
    font-weight: 500;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 20px 0;
    margin-top: 40px;
}

/* Mobile */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }
}
/* Floating label for footer input */
.form-floating {
    position: relative;
}

.form-floating input:focus,
.form-floating input:not(:placeholder-shown) {
    padding-top: 1.5rem; /* adjust so label moves above */
}

.form-floating label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #ccc;
    pointer-events: none;
    transition: 0.3s ease all;
}

.form-floating input:focus + label,
.form-floating input:not(:placeholder-shown) + label {
    top: 0.3rem;
    font-size: 12px;
    color: var(--primary);
}
