/********** KG Offshore Custom CSS **********/
:root {
    --primary: #003d5c;
    /* Deep Marine Blue */
    --secondary: #1E8449;
    /* NEW: Marine Green */
    --accent: #1E8449;
    /* CHANGED: Now Green to match Logo/Secondary */
    --light: #e8f4f8;
    /* Original Light Blue Tint */
    --dark: #001f2e;
    /* Dark Blue */
}

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

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


/*** Custom Color Scheme for KG Offshore ***/
.bg-primary {
    background-color: var(--primary) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover {
    background-color: #005f8a !important;
    /* Darker blue hover */
    border-color: #005f8a !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-outline-primary:hover {
    color: #FFFFFF !important;
    background-color: var(--primary) !important;
}

.border-primary {
    border-color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-light-blue {
    color: var(--secondary) !important;
    /* Changed to use new secondary color */
}

/*** Custom Accent Color ***/
.btn-accent {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #FFFFFF !important;
    /* Changed to White text since background is green */
    font-weight: 600 !important;
}

.btn-accent:hover {
    background-color: #145A32 !important;
    /* Darker Green for hover */
    border-color: #145A32 !important;
    color: #FFFFFF !important;
}


/*** Video Banner Styles ***/
.video-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-banner video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Significantly increased visibility of gradient for text contrast (darker) */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

/*** Company Intro Section ***/
.company-intro {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    /* Original Background */
}

.intro-split {
    display: flex;
    align-items: center;
    gap: 50px;
}

.intro-image {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 61, 92, 0.2);
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-text {
    flex: 1;
}

/*** Fleet Section with Lightbox ***/
.fleet-section {
    padding: 100px 0;
    background: white;
    /* Original Background */
}

.fleet-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    margin-bottom: 30px;
}

.fleet-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 92, 0.2);
}

.fleet-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    cursor: pointer;
}

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

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

.fleet-info {
    padding: 25px;
}

.fleet-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.fleet-actions a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s;
}

/*** Lightbox ***/
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--secondary);
}

/*** Services Section ***/
.services-section-bg {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4f8 100%);
    /* Original Background */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 61, 92, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/*** Projects Section with Filter ***/
.projects-section {
    padding: 100px 0;
    background: #f8f9fa;
    /* Original Background */
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 30px;
    border: 2px solid var(--primary);
    background: white;
    color: var(--primary);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.project-card.hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 92, 0.2);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}


/*** [NEW] Why Choose Us Section ***/
.new-why-choose-us-section {
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.8) 0%, rgba(30, 132, 73, 0.7) 100%), url(../img/carousel-1.jpg) center center/cover no-repeat;
    color: #FFFFFF;
    position: relative;
}

.new-feature-card {
    background: var(--primary);
    /* Slightly lighter blue */
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    text-align: center;
    border: 1px solid var(--secondary);
    transition: all 0.3s ease;
}

.new-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(30, 132, 73, 0.3);
}

.new-feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: var(--primary);
    font-size: 2rem;
}


/*** [NEW] Professional Testimonials Section ***/
.new-testimonial-section-pro {
    background-color: #FFFFFF;
    /* Clean white background */
}

.testimonial-item-pro {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 61, 92, 0.1);
    overflow: hidden;
    margin: 15px;
    /* Margin for carousel */
}

.testimonial-img-pro {
    flex-shrink: 0;
    width: 300px;
    /* Fixed width for the image */
    height: 350px;
}

.testimonial-img-pro img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content-pro {
    padding: 40px;
    text-align: left;
}

.testimonial-text-pro {
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
}

.testimonial-author-pro {
    margin-top: 20px;
}

/* Responsive styles for the new testimonial */
@media (max-width: 768px) {
    .testimonial-item-pro {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-img-pro {
        width: 100%;
        height: 250px;
    }

    .testimonial-content-pro {
        padding: 30px;
        text-align: center;
    }

    .testimonial-author-pro {
        justify-content: center;
    }
}

/* Custom styles for Testimonial Carousel dots */
.new-testimonial-section-pro .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-testimonial-section-pro .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    opacity: 0.3;
    border: none !important;
    border-radius: 15px;
    transition: .5s;
}

.new-testimonial-section-pro .owl-dot.active {
    background: var(--secondary);
    /* Green active dot */
    opacity: 1;
    width: 30px;
}


/*** [NEW] Contact Form Section ***/
.new-contact-section {
    background-color: var(--light);
    /* Use original light background */
}

.new-contact-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
}

.new-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 92, 0.15);
}

.contact-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary);
    color: #FFFFFF;
    font-size: 1.5rem;
}

.new-contact-section form {
    background-color: #FFFFFF;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}


/*** Responsive Design ***/
@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        padding-left: 1rem !important;
        /* Sets mobile padding */
        padding-right: 1rem !important;
    }

    .navbar .navbar-brand h2 {
        font-size: 1.25rem;
        /* Set a reasonable fixed size for mobile */
    }

    .navbar .navbar-toggler {
        flex-shrink: 0;
        /* Prevents squishing */
        margin-right: 1rem;
        /* Replaces me-4 */
    }

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

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

    .intro-split {
        flex-direction: column;
    }

    .video-content h1 {
        font-size: 2rem;
    }

    .video-content p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .navbar .navbar-brand h2 {
        font-size: 1.1rem;
        /* Further reduce for very small screens */
    }
}


/*** 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.btn-secondary {
    background-color: var(--secondary) !important;
    border-color: var(--secondary) !important;
}

.btn.btn-secondary:hover {
    background-color: #196F3D !important;
    /* Darker green */
    border-color: #196F3D !important;
}

.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 .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

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

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

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: var(--secondary);
        transition: .5s;
    }

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

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .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 ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

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

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

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

.page-header {
    background: linear-gradient(rgba(0, 61, 92, .7), rgba(0, 61, 92, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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

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

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

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

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

/*** 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);
    }
}

/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

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

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

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

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.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;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

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

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

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

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

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

/*** Testimonial (Original) ***/
/*
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}
.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}
*/
/* Dots are now styled in the .new-testimonial-section-pro .owl-dot block */


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

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

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

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

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 31, 46, .95), rgba(0, 31, 46, .95)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
    background: white;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
    color: var(--secondary);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--secondary);
}


/* --- NEW STYLES FOR ABOUT.HTML PAGE --- */

/*** About Page: Mission & Vision ***/
.new-mission-vision-section {
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.8) 0%, rgba(30, 132, 73, 0.7) 100%), url(../img/carousel-1.jpg) center center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.mission-vision-card {
    background-color: var(--primary);
    padding: 35px 40px;
    border-radius: 15px;
    height: 100%;
    border-left: 5px solid var(--secondary);
    position: relative;
    z-index: 2;
}

.mission-vision-card h3 {
    color: #FFFFFF;
    margin-bottom: 15px;
}

.mission-vision-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.mission-vision-card .card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--secondary);
    color: #FFFFFF;
    font-size: 1.75rem;
    margin-bottom: 20px;
}

/* Overlapping card effect */
@media (min-width: 992px) {
    .mission-vision-card.right {
        margin-top: 40px;
    }

    .mission-vision-card.left {
        margin-bottom: 40px;
    }
}

/*** About Page: Core Values ***/
.core-value-card {
    background: #FFFFFF;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border-bottom: 4px solid var(--primary);
}

.core-value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 92, 0.15);
    border-bottom-color: var(--secondary);
}

.core-value-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--primary);
    color: #FFFFFF;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.core-value-card:hover .core-value-icon {
    background-color: var(--secondary);
}

.core-value-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/*** About Page: New Photo Gallery ***/
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 61, 92, 0.9), transparent);
    color: #FFFFFF;
    padding: 25px 20px 15px 20px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}


/* --- NEW STYLES FOR FLEET.HTML PAGE --- */

/*** Fleet Specification Lists ***/
.fleet-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #e0e0e0;
}

.fleet-specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1rem;
}

.fleet-specs-list li span {
    color: #666;
}

.fleet-specs-list li strong {
    color: var(--primary);
}

/*** Fleet Gallery ***/
.fleet-gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.fleet-gallery-main img {
    transition: transform 0.5s ease;
}

.fleet-gallery-main:hover img {
    transform: scale(1.05);
}

.gallery-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 61, 92, 0.8);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.fleet-gallery-main:hover .gallery-icon {
    opacity: 1;
}

.fleet-gallery-thumb {
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    height: 80px;
    /* Fixed height for neat thumbs */
    width: 100%;
}

.fleet-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.fleet-gallery-thumb:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

/*** Fleet CTA Section ***/
.fleet-cta {
    background: linear-gradient(rgba(0, 31, 46, 0.9), rgba(0, 31, 46, 0.9)), url(../img/carousel-1.jpg) center center;
    background-size: cover;
    background-attachment: fixed;
}


/* --- NEW STYLES FOR CONTACT.HTML PAGE --- */

/*** Floating Contact Info Cards ***/
.contact-info-card {
    background: #FFFFFF;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 61, 92, 0.1);
    text-align: center;
    height: 100%;
    border-bottom: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    border-bottom-color: var(--secondary);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px auto;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    transition: 0.3s;
}

.contact-info-card:hover .card-icon-wrapper {
    background: var(--primary);
    color: #FFFFFF;
}

.contact-info-card h5 {
    margin-bottom: 15px;
    font-weight: 700;
}

/*** Contact Form Container ***/
.contact-form-box {
    border-top: 5px solid var(--secondary);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}


/* --- NEW STYLES FOR SERVICE DETAIL PAGES --- */

/*** Service Sidebar Navigation ***/
.service-sidebar {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.service-sidebar-links a {
    display: block;
    padding: 15px 0;
    color: #666;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
    font-weight: 500;
}

.service-sidebar-links a:last-child {
    border-bottom: none;
}

.service-sidebar-links a:hover,
.service-sidebar-links a.active {
    color: var(--secondary);
    padding-left: 10px;
}

/*** Service Check Items (Capabilities) ***/
.service-check-item {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #f8f9fa;
    height: 100%;
}

/*** Project Table ***/
.project-table th {
    font-weight: 600;
    padding: 15px;
}

.project-table td {
    padding: 15px;
    vertical-align: middle;
}

.project-table tbody tr:hover {
    background-color: #f1f9fa;
}

/*** Service Page Gallery ***/
.service-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    height: 200px;
}

.service-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.service-gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 61, 92, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.service-gallery-item .overlay i {
    color: white;
    font-size: 2rem;
}

.service-gallery-item:hover .overlay {
    opacity: 1;
}











/* --- NEW UPDATES --- */

/* 1. New Background Class (Replaces dark blue with image+gradient) */
.bg-img-overlay {
    background: linear-gradient(rgba(0, 31, 46, 0.9), rgba(0, 31, 46, 0.9)), url(../img/carousel-1.jpg) center center;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #ffffff;
}

/* 2. Hyperlink Color Fix (Prevents changing color on phone/email links) */
a[href^="tel"],
a[href^="mailto"] {
    color: inherit !important;
    text-decoration: none !important;
}

a[href^="tel"]:hover,
a[href^="mailto"]:hover {
    color: var(--secondary) !important;
}

/* 3. Service Page Design Elements */
.service-header-img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-sidebar {
    background: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
}

.service-sidebar-links a {
    display: block;
    padding: 15px 0;
    color: #666;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
    font-weight: 500;
    text-decoration: none;
}

.service-sidebar-links a:hover,
.service-sidebar-links a.active {
    color: var(--secondary);
    padding-left: 10px;
    font-weight: 700;
}

.service-feature-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary);
    transition: 0.3s;
    height: 100%;
}

.service-feature-box:hover {
    transform: translateY(-5px);
    border-left-color: var(--secondary);
}

.service-feature-box i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

/* 4. Fleet Intro Text Justification */
.fleet-intro-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/*** Service Feature Cards ***/
.service-feature-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    height: 100%;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.service-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 61, 92, 0.2);
    border-color: var(--primary);
}

.service-feature-card .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #FFFFFF;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-feature-card h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-feature-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/*** Service Checklist ***/
.service-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-checklist li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.05rem;
}

.service-checklist li:last-child {
    border-bottom: none;
}

/*** Capability Cards ***/
.capability-card {
    background: #FFFFFF;
    border-radius: 12px;
    border-left: 5px solid var(--primary);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.capability-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 61, 92, 0.2);
}

.capability-card h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.capability-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/*** Fleet Card for Service Pages ***/
.fleet-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.fleet-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 61, 92, 0.2);
}

.fleet-card img {
    transition: transform 0.3s ease;
}

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

.fleet-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/*** Service Card Styling for service.html ***/
.service-card {
    background: #FFFFFF;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #f0f0f0;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 61, 92, 0.2);
    border-color: var(--primary);
}

.service-card-image {
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.service-card-image img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

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

.service-card-body {
    display: flex;
    flex-direction: column;
}

.service-card-body h4 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card-body p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/*** Fleet Card Styling ***/
.fleet-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fleet-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 61, 92, 0.2);
}

.fleet-card img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.fleet-card-content {
    flex-grow: 1;
}

/*** Service Feature Card Enhanced ***/
.service-feature-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.service-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 61, 92, 0.15);
}

.service-feature-card .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.1) 0%, rgba(30, 132, 73, 0.1) 100%);
    border-radius: 8px;
    margin: 0 auto 15px;
    font-size: 28px;
    color: var(--primary);
}

.service-feature-card h5 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 15px;
}

.service-feature-card p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/*** Capability Card Styling ***/
.capability-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.capability-card:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(0, 61, 92, 0.15);
}

/*** Page Header Styling ***/
.page-header {
    background: linear-gradient(135deg, rgba(0, 61, 92, 0.95) 0%, rgba(30, 132, 73, 0.85) 100%),
        url(../img/carousel-1.jpg) center center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.page-header .display-3,
.page-header .breadcrumb {
    position: relative;
    z-index: 1;
}

/*** About Section Styling ***/
.about {
    display: flex;
    align-items: center;
}

.about-text h1 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text h6 {
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/*** Button Styles Enhanced ***/
.btn-link {
    color: #999;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.btn-link:hover {
    color: var(--primary);
    padding-left: 5px;
}

/*** Text Light Styles ***/
.text-light-footer {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.text-light-footer:hover {
    color: #fff;
}

/*** Service Checklist ***/
.service-checklist {
    list-style: none;
    padding: 0;
}

.service-checklist li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 0.95rem;
}

.service-checklist li i {
    color: var(--secondary);
    margin-right: 10px;
}

/* Fleet overview centering adjustments */
.fleet-overview-section .about {
    max-width: 1200px;
    margin: 0 auto;
}

.fleet-overview-section .about .row {
    align-items: center;
}

.fleet-overview-section img {
    display: block;
    margin: 0 auto;
}






















/*** [NEW] Brand & Animation Styles ***/

/* Navbar Branding */
.brand-text {
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    color: #002147;
    /* Dark Navy to match logo better */
    text-shadow: none;
    transition: color 0.3s;
}

.navbar-brand:hover .brand-text {
    color: var(--secondary);
}

/* Responsive Navbar Adjustments */
@media (max-width: 991.98px) {
    .navbar-brand img {
        height: 50px !important;
        /* Smaller logo on mobile */
    }

    .brand-text {
        font-size: 16px !important;
        /* Smaller text on mobile */
        letter-spacing: 0.5px !important;
    }

    .navbar-brand {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Animated Ocean Gradient Background */
.bg-marine-animated {
    background: linear-gradient(270deg, #e8f4f8, #d4eaf2, #e8f4f8);
    background-size: 600% 600%;
    animation: marineGradient 15s ease infinite;
    position: relative;
    /* Ensure relative pos for children */
}

@keyframes marineGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Ocean Wave Animation (Footer/Section Divider) */
.ocean {
    height: 100px;
    /* Fixed height for visibility */
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    /* Behind content */
    overflow-x: hidden;
}

.wave {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 88.7'%3E%3Cpath d='M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-.2-31.6z' fill='%23003d5c'/%3E%3C/svg%3E");
    position: absolute;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    animation: wave 10s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
}

.wave:nth-of-type(2) {
    bottom: 10px;
    animation: wave 18s linear reverse infinite;
    opacity: 0.5;
}

.wave:nth-of-type(3) {
    bottom: 15px;
    animation: wave 20s -1s linear infinite;
    opacity: 0.5;
}

@keyframes wave {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Floating Element Animation */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Section Relative Positioning for Waves */
.section-relative {
    position: relative;
    overflow: hidden;
}