/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
    
    /* Define font sizes for scalability */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 18px;
}

/*** Import Roboto Font ***/
/* Ensure you have imported Roboto in your HTML head:
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">
*/

/*** Global Styles ***/
/* Apply Roboto to the entire document */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300; /* Light weight for regular text */
    font-size: var(--font-size-base); /* Base font size */
    line-height: 1.6; /* Improved readability */
    color: #333; /* Optional: Adjust text color for better readability */
}

/*** Topbar ***/
.container-fluid.bg-dark.d-none.d-lg-block .d-inline-flex small {
    font-weight: 300;
}

.container-fluid.bg-dark.d-none.d-lg-block .d-inline-flex a {
    font-weight: 300;
}

.container-fluid.bg-dark.d-none.d-lg-block .d-inline-flex a.btn {
    font-weight: 400;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }
    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }
    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }
    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }
    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
/* Adjust font weights for headings */
h1,
h2,
.fw-bold {
    font-weight: 500 !important; /* Reduced from 800 to 500 */
}

h3,
h4,
.fw-semi-bold {
    font-weight: 400 !important; /* Reduced from 700 to 400 */
}

h5,
h6,
.fw-medium {
    font-weight: 300 !important; /* Reduced from 600 to 300 */
}

/* Adjust font sizes for headings */
h1 {
    font-size: 2.5rem; /* 40px */
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2rem; /* 32px */
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.75rem; /* 28px */
    line-height: 1.4;
    margin-bottom: 0.5em;
}

h4 {
    font-size: 1.5rem; /* 24px */
    line-height: 1.5;
    margin-bottom: 0.5em;
}

h5 {
    font-size: 1.25rem; /* 20px */
    line-height: 1.6;
    margin-bottom: 0.5em;
}

h6 {
    font-size: 1rem; /* 16px */
    line-height: 1.6;
    margin-bottom: 0.5em;
}


/*** Button ***/
.btn {
    font-family: 'Roboto', sans-serif; /* Changed from 'Nunito' to 'Roboto' */
    font-weight: 400; /* Reduced from 600 to 400 */
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif; /* Changed from 'Nunito' to 'Roboto' */
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 1.125rem; /* 18px */
    font-weight: 400; /* Reduced from 600 to 400 */
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
    font-weight: 500; /* Ensure consistency with h1 font-weight */
    font-size: 2.5rem; /* 40px */
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
        font-size: 1rem; /* 16px */
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
        font-size: 2rem; /* 32px */
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
        font-size: 2.5rem; /* 40px */
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 0.875rem; /* 14px */
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 1.875rem; /* 30px */
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {left: 0; } 50% { left : 145px; } 100% { left: 0; }
}

@-webkit-keyframes section-title-run-center {
    0% { left: 50%; margin-left: -75px; } 50% { left : 50%; margin-left: 45px; } 100% { left: 50%; margin-left: -75px; }
}

@-webkit-keyframes section-title-run-sm {
    0% {left: 0; } 50% { left : 85px; } 100% { left: 0; }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

/* Search Bar */
.form-control {
    background-color: rgba(6, 163, 218, 0.5); /* Transparent light blue */
    color: white; /* Text color */
    font-family: 'Roboto', sans-serif; /* Changed from 'Nunito' to 'Roboto' */
    font-weight: 300; /* Light weight */
    font-size: 1rem; /* 16px */
}

.form-control::placeholder {
    color: white; /* Placeholder text color */
    opacity: 1; /* Make placeholder text fully visible */
    font-weight: 300; /* Light weight */
}

/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img  {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Fleet Cards & Professional Team Styles ***/
.fleet-category {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fleet-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-2px);
}

.opacity-25 {
    opacity: 0.25;
}

/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}

/*** Responsive Font Sizes ***/
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 2.2rem; /* 35.2px */
    }

    h2 {
        font-size: 1.75rem; /* 28px */
    }

    h3 {
        font-size: 1.5rem; /* 24px */
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 1rem; /* 16px */
    }

    .navbar-dark .navbar-brand h1 {
        font-size: 2rem; /* 32px */
    }
}

/* Enhanced Form Inputs */
.form-input {
    background-color: rgba(6, 163, 218, 0.7); /* Lighter blue background */
    color: white; /* White text color */
    font-family: 'Roboto', sans-serif; /* Roboto font */
    font-weight: 300; /* Light weight */
    font-size: 1rem; /* 16px */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    padding-left: 15px; /* Consistent padding */
    padding-right: 15px;
}

/* Form Inputs on Focus */
.form-input:focus {
    background-color: rgba(6, 163, 218, 0.85); /* Slightly more opaque on focus */
    box-shadow: 0 0 10px rgba(6, 163, 218, 0.5); /* Subtle shadow */
    outline: none; /* Remove default outline */
    transform: scale(1.02); /* Slight scale on focus */
}

/* Enhanced Select Dropdown */
.form-select.form-input {
    background-color: rgba(6, 163, 218, 0.7); /* Lighter blue background */
    color: white; /* White text color */
    border-radius: 5px; /* Rounded corners */
    padding-left: 15px; /* Consistent padding */
    padding-right: 15px;
}

/* Select Dropdown on Focus */
.form-select.form-input:focus {
    background-color: rgba(6, 163, 218, 0.85); /* Slightly more opaque on focus */
    box-shadow: 0 0 10px rgba(6, 163, 218, 0.5); /* Subtle shadow */
    outline: none; /* Remove default outline */
    transform: scale(1.02); /* Slight scale on focus */
}

/* Enhanced Textarea */
textarea.form-input {
    background-color: rgba(6, 163, 218, 0.7); /* Lighter blue background */
    color: white; /* White text color */
    font-family: 'Roboto', sans-serif; /* Roboto font */
    font-weight: 300; /* Light weight */
    font-size: 1rem; /* 16px */
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    padding: 15px; /* Consistent padding */
}

/* Textarea on Focus */
textarea.form-input:focus {
    background-color: rgba(6, 163, 218, 0.85); /* Slightly more opaque on focus */
    box-shadow: 0 0 10px rgba(6, 163, 218, 0.5); /* Subtle shadow */
    outline: none; /* Remove default outline */
    transform: scale(1.02); /* Slight scale on focus */
}

/* Enhanced Submit Button */
.btn-dark {
    background-color: var(--dark);
    border: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.btn-dark:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-dark:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments for Form */
@media (max-width: 768px) {
    .btn-dark {
        font-size: 1rem; /* 16px */
    }
}

/* Optional: Adding Floating Placeholder Enhancements */
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.7); /* Slightly transparent white */
    transition: opacity 0.3s ease;
}

.form-input:focus::placeholder {
    opacity: 0; /* Hide placeholder on focus */
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 2rem; /* 32px */
    }

    h2 {
        font-size: 1.5rem; /* 24px */
    }

    h3 {
        font-size: 1.25rem; /* 20px */
    }

    .navbar-dark .navbar-nav .nav-link {
        font-size: 0.875rem; /* 14px */
    }

    .navbar-dark .navbar-brand h1 {
        font-size: 1.75rem; /* 28px */
    }
}

/*** Fleet Showcase Styles ***/
.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}
/*** Fleet Pages ***/
.fleet-intro__badge {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 999px;
}

.fleet-intro__stats {
    border-radius: 1rem;
}

.fleet-intro__stat-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.35rem 0;
    color: #4a4a4a;
    line-height: 1.4;
}

.fleet-highlights .fleet-highlight {
    border-radius: 1rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fleet-highlights .fleet-highlight:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(9, 30, 62, 0.12);
}

.fleet-highlights .icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.5rem;
}

.fleet-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fleet-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(9, 30, 62, 0.12);
}

.fleet-card__image {
    position: relative;
    overflow: hidden;
}

.fleet-card__image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.fleet-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(13, 110, 253, 0.9);
    color: #fff;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.fleet-card__body {
    padding: 1.75rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.fleet-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.fleet-card__summary {
    color: #5c5c5c;
}

.fleet-card__specs li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0;
    color: #4a4a4a;
}

.fleet-card__specs i {
    font-size: 1rem;
}

.fleet-cta .card {
    border-radius: 1.5rem;
}

@media (max-width: 991.98px) {
    .fleet-card__image img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .fleet-intro__badge {
        font-size: 0.75rem;
    }
}
