﻿:root {
    --pnsc-primary: #99e600; /* Navy Blue */
    --pnsc-accent: #115740; /* Sea Green */
    --pnsc-light: #4caf50; /* Sand White */
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    /*background-color: #bfff4d;*/
    font-family: "Exo", sans-serif;
    font-optical-sizing: auto;
}

p {
}

ul {
}


.header-section-detail-pages {
    background: rgba(0, 51, 102, 1);
    color: white;
    padding: 60px 15px;
    text-align: center;
}

.header-section {
    /*background: rgba(0, 51, 102, 0.01);*/
    background: rgba(165, 242, 127, 0.01);
    color: white;
    padding: 60px 15px;
    text-align: center;
}

    .header-section h1 {
        font-weight: 700;
    }

.btn-primary {
    background-color: #99e600;
    border-color: #004080;
}

.section-title {
    color: #005f99;
    margin-bottom: 30px;
    font-weight: 600;
}

.news-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

footer {
    /*padding: 20px 0;*/
    text-align: center;
    margin-top: 50px;
    padding-bottom: 10px;
    margin-bottom: 50px;
}

.menu-container {
    display: flex;
    align-items: center;
    text-transform: uppercase;
    padding: 10px;
}

.offcanvas.custom-fade.menu-label {
    font-size: 0.9rem;
    margin-left: 8px;
    color: #002296;
    margin-right: 8px;
}

.nav-link {
    font-size: 0.84rem;
    font-weight: 300;
}

.hamburger {
    display: inline-block;
    cursor: pointer;
    padding: 5px;
}

.btn-accent {
    background-color: var(--pnsc-accent);
    color: white;
    border: none;
}

    .btn-accent:hover {
        background-color: #99e600;
    }

.hamburger span {
    display: block;
    height: 2px;
    background-color: #4caf50;
    margin: 4px 0;
    border-radius: 1px;
    transition: 0.3s ease;
}

    .hamburger span:nth-child(1) {
        width: 18px;
    }

    .hamburger span:nth-child(2) {
        width: 12px;
    }

    .hamburger span:nth-child(3) {
        width: 15px;
    }

.fade-text {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.8s ease-in-out;
}

.fade-out {
    opacity: 0;
}

/* Offcanvas with smooth fade and slide */
.offcanvas.custom-fade {
    background-color: var(--pnsc-accent) !important;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 300ms ease, transform 300ms ease;
    will-change: opacity, transform;
    visibility: hidden;
}

.offcanvas.show.custom-fade {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
}

/* Override Bootstrap backdrop to be semi-transparent sea green */
.offcanvas-backdrop {
    background-color: rgba(31, 162, 122, 0.5) !important;
    opacity: 1;
    transition: opacity 300ms ease;
}

    .offcanvas-backdrop.fade-out {
        opacity: 0 !important;
        transition: opacity 300ms ease;
    }

.wavy-underline {
    position: relative;
    display: inline-block;
}

    .wavy-underline::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 100%;
        height: 10px;
        background-image: url("data:image/svg+xml;utf8,<svg width='100%' height='10' xmlns='http://www.w3.org/2000/svg'><path d='M0 5 Q5 10,10 5 T20 5 T30 5 T40 5 T50 5 T60 5 T70 5 T80 5 T90 5 T100 5' stroke='%231FA27A' fill='transparent' stroke-width='2' /></svg>");
        background-repeat: repeat-x;
        background-size: contain;
        pointer-events: none;
    }

.accent-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
}

    .accent-underline::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40%; /* or try 60px for a fixed width */
        height: 2px;
        background-color: #005f99;
        border-radius: 2px;
    }

.btn-accent-square {
    background-color: #1FA27A;
    color: white;
    font-weight: 700;
    border-radius: 0;
    border: none;
    padding: 0.5rem 1.25rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-accent-square:hover,
    .btn-accent-square:focus {
        background-color: #178864; /* darker accent */
        color: #e0f0eb; /* lighter text for hover */
        text-decoration: none;
    }

/* Colors */
:root {
    --accent: #178864;
    --accent-dark: #136a4d;
    --primary: #003366;
    --primary-dark: #002244;
}

/* Section Title Underline */
.accent-underline {
    position: relative;
    padding-bottom: 0.3rem;
}

    .accent-underline::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 4px;
        background-color: #005f99;
        border-radius: 2px;
    }

/* Button */
.btn-accent-square {
    background-color: var(--accent);
    color: white;
    font-weight: 700;
    border-radius: 0;
    border: none;
    padding: 0.5rem 1.25rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .btn-accent-square:hover,
    .btn-accent-square:focus {
        background-color: var(--accent-dark);
        color: #e0f0eb;
        text-decoration: none;
    }

/* Stats container */
.stat-card {
    padding: 1.5rem 1rem;
    border-radius: 8px;
    /*background-color: var(--primary-dark);*/
}

/* Icons */
.stat-icon {
    font-size: 2.2rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem auto;
    text-shadow: none;
}

/* Stat number */
.stat-number {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary);
}

/* Stat label */
.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

@media (max-width: 576px) {
    .top-bar {
        position: relative;
        justify-content: center !important;
        align-items: center !important;
        flex-direction: column;
        padding: 8px 1rem !important;
    }

    .logo-text-group {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        .logo-text-group .text-block {
            display: none !important;
        }

    .logo-container {
        flex-shrink: 0;
        width: 100%;
        max-width: 150px; /* or adjust as needed */
        padding: 0;
    }

        .logo-container img {
            width: 100%;
            height: auto;
            max-width: 150px;
            max-height: 80px;
            object-fit: contain;
        }

    #hamburgerMenu {
        margin-top: 20px;
    }

    .hamburger-shrink {
    }
}

.header-line-art {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* so it won’t interfere with clicks */
    z-index: 0; /* behind header content but above the video (video is -1) */
    mix-blend-mode: screen; /* makes the lines subtly glow on dark backgrounds */
}

.blur-background {
    /*background-color: rgba(255, 255, 255, 0.65);*/ /* translucent */
}

.foggy-corner {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px; /* Adjust as needed */
    height: 200px;
    background: rgba(0, 47, 95, 0.4); /* Navy blue with transparency */
    backdrop-filter: blur(12px); /* Foggy blur effect */
    -webkit-backdrop-filter: blur(12px); /* Safari support */
    z-index: 10;
    pointer-events: none; /* So it doesn’t interfere with clicks */
    border-radius: 0 0 50% 0; /* Optional soft corner effect */
}

.foggy-corner-white {
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 175px;
    background: rgba(255, 255, 255, 0.5); /* Slightly transparent white */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 10;
    pointer-events: none;
    border-radius: 0 0 40px 40px; /* Smooth bottom corners */
}


@media (max-width: 576px) {
    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        width: 100%;
    }

    .logo-text-group {
        flex-shrink: 1;
        max-width: 70%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-container {
        margin-left: auto;
    }

    #hamburgerMenu {
        position: static !important;
        z-index: 9999;
    }
}


.text-block h1 {
    font-size: 0.85rem;
}

.text-block p {
    font-size: 0.75rem;
}

.logo-container img {
    max-height: 60px;
}

.menu-label {
    display: none;
}

.menu-container {
    margin-left: auto;
}

.offcanvas {
    z-index: 1060 !important;
}

.offcanvas {
    z-index: 1080 !important;
}

}

.offcanvas {
    z-index: 1060 !important; /* Higher than .top-bar's 1055 */
}

.menu-container {
    z-index: 1055; /* Ensure it's lower than offcanvas */
}

@media (max-width: 576px) {
    .top-bar {
        align-items: flex-start !important; /* Align items to top */
    }

        .top-bar > a.ms-auto {
            margin-top: 15px; /* Add gap below logo/text */
        }
}

.sub-menu {
    background-color: #187254;
}

    .sub-menu ul li {
        margin-left: 20px;
    }

@media (max-width: 576px) {
    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        width: 100%;
    }

    .logo-text-group {
        flex-shrink: 1;
        max-width: 70%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    #hamburgerMenu {
        position: static !important;
        z-index: 9999;
    }


    .hamburger-shrink {
        position: static !important;
        margin-left: auto;
        z-index: 9999;
    }


    .menu-container {
        margin-left: auto;
    }
}


/* ========================
   TOP BAR - BASE STYLING
======================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: auto;
    padding: 1rem;
}

    .top-bar::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(0, 34, 68, 0.85));
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        opacity: 1; /* Set to 1 to see it always, or toggle via JS */
        transition: opacity 0.6s ease-in-out;
        z-index: 0;
        pointer-events: none;
        border-bottom: 1px solid var(--accent);
    }

/* ========================
   HAMBURGER DEFAULT
======================== */
.hamburger {
    cursor: pointer;
    z-index: 10000;
}

    /* Hamburger lines */
    .hamburger span {
        display: block;
        height: 2px;
        background: white;
        margin: 4px 0;
        transition: all 0.3s ease;
    }

/* ===========================
   SCROLL SHRINK EFFECT
=========================== */
.shrink-on-scroll {
    padding: 4px 1rem !important;
    min-height: 90px;
    height: 90px;
}

    .shrink-on-scroll #logoTextGroup .logo-container img {
        height: 70px;
    }

    .shrink-on-scroll #logoTextGroup .text-block h1,
    .shrink-on-scroll #logoTextGroup .text-block p {
        font-size: 0.8rem;
        opacity: 1;
    }

/* ============================
   MOBILE RESPONSIVENESS
============================ */
@media (max-width: 576px) {
    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
    }

    .logo-text-group {
        flex-shrink: 1;
        max-width: 70%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    /* Make sure hamburger is visible and positioned correctly */

    .hamburger-shrink {
        position: static !important;
        margin-left: auto;
        z-index: 9999;
    }


    /* Optional debug outline */
    /* 
.hamburger-shrink {
    position: static !important;
    margin-left: auto;
    z-index: 9999;
}
 */
}

/* Logo styling */
.logo-container {
    max-width: 150px;
    padding: 5px;
    border-radius: 50%;
    margin-top: 0px;
    margin-left: 3px;
}

    .logo-container img {
        max-height: 100px;
        width: auto;
        display: block;
        margin: 0 auto;
    }

/* Text styling */
.text-block h1, .text-block p {
    margin: 0;
    color: white;
    text-transform: uppercase;
    font-weight: 500;
}

.text-block h1 {
    font-weight: 500;
    font-size: 1rem;
    margin-top: -10px;
    line-height: 1.2;
}

.text-block p {
    font-weight: 400;
    font-size: 0.7rem;
    /*color: #d33e30;*/
}

/* ... existing styles above ... */

/* Text block styles */
.text-block {
    text-align: center;
}

@media (min-width: 577px) {
    .text-block {
        text-align: left;
    }
}

.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: auto;
    padding: 1rem;
}

    .top-bar::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.2), rgba(0, 34, 68, 0.85));
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
        opacity: 1; /* Set to 1 to see it always, or toggle via JS */
        transition: opacity 0.6s ease-in-out;
        z-index: -1;
        pointer-events: none;
        border-bottom: 1px solid var(--accent);
    }

    .top-bar.scrolled::before {
        opacity: 1;
    }

/* Apply blur to the entire page except the modal */
body.modal-open .blur-on-modal {
    background-color: rgba(255, 255, 255, 0.05); /* Light transparent layer */
    backdrop-filter: blur(20px); /* Strong blur effect */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
    transition: filter 0.3s ease;
}

/* Custom collapse animation */
.custom-collapse {
    display: block !important;
    overflow: hidden;
    transition: height 0.35s ease;
    height: 0;
}

/* Arrow icon styling */
.arrow-icon {
    transition: transform 0.35s ease;
    margin-left: 5px;
}

[aria-expanded="true"] .arrow-icon {
    transform: rotate(90deg);
}


#mainTopBar {
    transition: all 0.4s ease;
    padding: 20px 1rem;
    min-height: 80px;
}

#logoTextGroup {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    transform-origin: left center;
}

    #logoTextGroup .logo-container img {
        height: 90px;
        width: auto;
        transition: all 0.4s ease;
    }

    #logoTextGroup .text-block h1 {
        margin: 0;
        transition: all 0.4s ease;
        font-size: 1rem;
        line-height: 1;
        font-size: 1rem;
        line-height: 1;
        font-weight: 700;
        color: #061d6e;
        margin-left: -20px;
    }

    #logoTextGroup .text-block p {
        margin: 0;
        transition: all 0.4s ease;
        font-size: 0.8rem;
        line-height: 1;
        margin-left: -20px;
        color: #061d6e;
        font-weight: 700;
    }

/* SCROLL EFFECT */
.shrink-on-scroll {
    padding: 4px 1rem !important;
    min-height: 90px;
    height: 90px;
}

    .shrink-on-scroll #logoTextGroup {
        opacity: 1;
        height: 90px;
    }

        .shrink-on-scroll #logoTextGroup .logo-container img {
            height: 70px;
        }

        .shrink-on-scroll #logoTextGroup .text-block h1,
        .shrink-on-scroll #logoTextGroup .text-block p {
            opacity: 1;
            font-size: 0.8rem;
        }

video::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Adjust height for stronger/softer fade */
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
    z-index: 1; /* Ensures overlay renders above video */
}


#line-fill {
    height: 4px;
    background-color: white;
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.line-track {
    position: relative;
    background-color: rgba(255, 255, 255, 0.3);
    height: 4px;
    width: 160px;
    border-radius: 2px;
    margin-top: 8px;
}

.line-step {
    position: absolute;
    top: -4px;
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

    .line-step::after {
        content: "";
        position: absolute;
        top: 2px;
        left: 2px;
        width: 8px;
        height: 8px;
        background: white;
        border-radius: 50%;
        opacity: 0.6;
    }

.ceo-message-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e6f0ed 100%);
    border-top: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1d2b36;
}

.ceo-divider {
    width: 60px;
    height: 3px;
    background-color: #178864;
    border: none;
    margin: 0;
}

.ceo-card {
    border: 1px solid #e3e3e3;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .ceo-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

.ceo-img {
    height: auto;
    object-fit: cover;
}

.social-links a {
    color: #1d2b36;
    transition: color 0.3s ease, transform 0.3s ease;
}

    .social-links a:hover {
        color: #178864;
        transform: translateY(-2px);
    }

.ceo-message-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

@media (max-width: 767px) {
    .ceo-message-content {
        padding-top: 1.5rem;
    }
}

:root {
    --primary-darker: #001a33; /* darker background */
    --accent: #178864;
    --accent-light: #20b486;
}

.bg-primary-darker {
    background-color: var(--primary-darker);
    position: relative;
    overflow: hidden;
}

.management-section {
    position: relative;
    padding: 4rem 1rem;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E\
%3Cline x1='0' y1='0' x2='100' y2='0' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='100' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3C/svg%3E");
    background-size: 100px 100px;
    background-repeat: repeat;
    /*background-color: var(--primary-darker);*/
}

    .management-section .overlay {
    }

    .management-section.bg-primary-darker::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        /* dark base */
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E\
%3Cline x1='0' y1='0' x2='100' y2='0' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='100' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3C/svg%3E");
        background-size: 100px 100px;
        background-repeat: repeat;
        z-index: 0;
    }

/* Card Styles */
.management-card {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    border: none;
}

    .management-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 26, 51, 0) 0%, rgba(0, 26, 51, 0.8) 100%);
        transition: all 0.5s ease;
        z-index: 1;
    }

    .management-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

        .management-card:hover::before {
            background: linear-gradient(to bottom, rgba(0, 26, 51, 0) 0%, rgba(0, 26, 51, 0.9) 100%);
        }

.card-overlay {
    position: relative;
    width: 100%;
    padding: 1rem 1rem 2rem;
    z-index: 2;
    transition: all 0.5s ease;
}

.management-card:hover .card-overlay {
    padding-bottom: 3rem;
}

.overlay-content {
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
}

.management-card:hover .overlay-content {
    transform: translateY(0);
}

.card-overlay .name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: white;
    transition: all 0.3s ease;
}

.card-overlay .title {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.management-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--accent-light);
        transform: translateY(-3px);
    }

/* Tab Styles */
.leadership-tabs {
    margin-top: 0;
}

.nav-tabs {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

    .nav-tabs .nav-link {
        color: var(--pnsc-accent);
        background: transparent;
        border: none;
        padding: 0.75rem 1.5rem;
        font-weight: 500;
        position: relative;
        margin-right: 0.5rem;
    }

        .nav-tabs .nav-link:hover {
            border-color: transparent;
        }

        .nav-tabs .nav-link.active {
            background: transparent;
            border: none;
            color: #005f99;
        }

            .nav-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 100%;
                height: 2px;
                background: var(--accent-light);
            }

.empty-state {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

    .empty-state i {
        color: rgba(255, 255, 255, 0.2);
    }

.section-description {
    font-weight: 200;
    line-height: 1.5;
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 600px;
}

@media (max-width: 767px) {
    .management-card {
        height: 280px;
        background-position: center top;
    }

    .card-overlay {
        padding: 1rem 1rem 1.5rem;
    }

        .card-overlay .name {
            font-size: 1.1rem;
        }

        .card-overlay .title {
            font-size: 0.9rem;
        }

    .section-title {
        text-align: left !important;
    }

    .social-links {
        margin-top: 1rem;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

.fleet-graph-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.abstract-lines {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E\
%3Cdefs%3E\
  %3ClinearGradient id='grad' x1='0%' y1='0%' x2='100%' y2='100%'%3E\
    %3Cstop offset='0%' style='stop-color:%23999; stop-opacity:0.2' /%3E\
    %3Cstop offset='100%' style='stop-color:%23999; stop-opacity:0' /%3E\
  %3C/linearGradient%3E\
%3C/defs%3E\
%3Cline x1='0' y1='0' x2='100' y2='100' stroke='url(%23grad)' stroke-width='0.6'/%3E\
%3Cline x1='100' y1='0' x2='0' y2='100' stroke='url(%23grad)' stroke-width='0.6'/%3E\
%3C/svg%3E");
    background-repeat: repeat;
    background-size: 100px 100px;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

.fleet-graph-section .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.service-button {
    display: flex;
    flex-direction: column;
    background-color: white;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-radius: 0;
    overflow: hidden;
}

    .service-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        border-color: #cbd5e1;
        background-color: #f8fafc;
    }

.service-image-wrapper {
    width: 100%;
    height: 180px; /* Adjust height as needed */
    overflow: hidden;
}

    .service-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Fills the container fully */
        display: block;
    }

.service-caption {
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    padding: 1rem;
    background-color: white;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-image-wrapper {
        height: 140px;
    }

    .service-caption {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
}

.timeline-section {
    background: #f4f6fa;
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

    .timeline::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 2px;
        background: #cdd7e0;
        transform: translateX(-50%);
    }

.timeline-block {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
    position: relative;
}

    .timeline-block.right {
        justify-content: flex-start;
    }

    .timeline-block .content {
        background: #fff;
        padding: 1.5rem;
        width: 45%;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        position: relative;
        z-index: 2;
        border-radius: 0; /* Sharp edges */
    }

    .timeline-block.left .content {
        margin-right: auto;
        margin-left: 0;
    }

    .timeline-block.right .content {
        margin-left: auto;
        margin-right: 0;
    }

    .timeline-block::before {
        content: "";
        width: 16px;
        height: 16px;
        background: #1d3557;
        border: 4px solid #fff;
        box-shadow: 0 0 0 3px #1d3557;
        border-radius: 50%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 3;
    }

    .timeline-block h4 {
        margin-top: 0;
        color: #1d3557;
        font-weight: 300;
    }

@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }

    .timeline-block {
        flex-direction: column;
        align-items: flex-start;
    }

        .timeline-block.right,
        .timeline-block.left {
            justify-content: flex-start;
        }

        .timeline-block::before {
            left: 10px;
        }

        .timeline-block .content {
            width: 100%;
            margin-left: 30px;
        }
}

.circle-separator {
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

    .circle-separator span {
        width: 10px;
        height: 10px;
        background-color: #1d3557;
        border-radius: 50%;
        opacity: 0;
        transition: transform 0.3s ease;
    }

        .circle-separator span:hover {
            transform: scale(1.2);
            opacity: 0;
        }


.service-section .container {
    position: relative;
    z-index: 1;
}

#agentsDonutChart {
    display: none;
}

.stat-card {
    flex: 1 1 45%;
    min-width: 200px;
    padding: 1.2rem 1rem;
    background-color: white;
    border-radius: 12px;
    border: 1px solid #d6e6f2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.stat-line {
    border: none;
    height: 1px;
    background: #ccc;
    margin: 0.1rem 0;
}

.stat-desc {
    font-size: 0.85rem;
    margin: 0;
    color: #333;
}

.btn-accent-square {
    background-color: var(--accent);
    padding: 0.75rem 1.5rem;
    border: none;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: inline-block;
    color: white;
}

    .btn-accent-square:hover {
        background-color: #004471;
    }

@media (max-width: 768px) {
    .stat-card {
        flex: 1 1 100%;
    }
}

.service-section .container {
    position: relative;
    z-index: 1;
}



.stat-card {
    flex: 1 1 45%;
    min-width: 200px;
    padding: 1.2rem 1rem;
    background-color: white;
    border-radius: 12px;
    border: 1px solid #d6e6f2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent);
}

.stat-label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.stat-line {
    border: none;
    height: 1px;
    background: #ccc;
    margin: 0.1rem 0;
}

.stat-desc {
    font-size: 0.85rem;
    margin: 0;
    color: #333;
}

.btn-accent-square {
    background-color: var(--accent);
    padding: 0.75rem 1.5rem;
    border: none;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s ease;
    display: inline-block;
}

    .btn-accent-square:hover {
        background-color: #004471;
        color: white;
    }

@media (max-width: 768px) {
    .stat-card {
        flex: 1 1 100%;
    }
}

.table th, .table td {
    padding: 1rem;
    vertical-align: middle;
}

.table th {
    font-weight: 600;
    color: #005c99;
}

.table td {
    font-size: 0.95rem;
    color: #444;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #115740;
}

.table > :not(caption) > * > * {
}

.performance-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.abstract-lines-2 {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E\
%3Cdefs%3E\
  %3ClinearGradient id='grad' x1='0%' y1='0%' x2='100%' y2='100%'%3E\
    %3Cstop offset='0%' style='stop-color:%23999; stop-opacity:0.2' /%3E\
    %3Cstop offset='100%' style='stop-color:%23999; stop-opacity:0' /%3E\
  %3C/linearGradient%3E\
%3C/defs%3E\
%3Cline x1='0' y1='0' x2='100' y2='100' stroke='url(%23grad)' stroke-width='0.6'/%3E\
%3Cline x1='100' y1='0' x2='0' y2='100' stroke='url(%23grad)' stroke-width='0.6'/%3E\
%3C/svg%3E");
    background-repeat: repeat;
    background-size: 100px 100px;
    opacity: 1;
    z-index: -1;
    pointer-events: none;
}

:root {
    --primary-darker: #001a33; /* darker background */
    --accent: #178864;
    --accent-light: #20b486;
}

.bg-primary-darker {
    background-color: var(--primary-darker);
    position: relative;
    overflow: hidden;
}

.management-section {
    position: relative;
    padding: 4rem 1rem;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E\
%3Cline x1='0' y1='0' x2='100' y2='0' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='100' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3C/svg%3E");
    background-size: 100px 100px;
    background-repeat: repeat;
    /*background-color: var(--primary-darker);*/
}

    .management-section .overlay {
    }

    .management-section.bg-primary-darker::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        /* dark base */
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E\
%3Cline x1='0' y1='0' x2='100' y2='0' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='100' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3C/svg%3E");
        background-size: 100px 100px;
        background-repeat: repeat;
        z-index: 0;
    }

/* Card Styles */
.management-card {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center center;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    border: none;
    cursor: pointer;
}

    .management-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0, 26, 51, 0) 0%, rgba(0, 26, 51, 0.8) 100%);
        transition: all 0.5s ease;
        z-index: 1;
    }

    .management-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    }

        .management-card:hover::before {
            background: linear-gradient(to bottom, rgba(0, 26, 51, 0) 0%, rgba(0, 26, 51, 0.9) 100%);
        }

.card-overlay {
    position: relative;
    width: 100%;
    padding: 1rem 1rem 2rem;
    z-index: 2;
    transition: all 0.5s ease;
}

.management-card:hover .card-overlay {
    padding-bottom: 3rem;
}

.overlay-content {
    transform: translateY(40px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1;
}

.management-card:hover .overlay-content {
    transform: translateY(0);
}

.card-overlay .name {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: white;
    transition: all 0.3s ease;
}

.card-overlay .title {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0.5rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.management-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

.social-links a {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .social-links a:hover {
        background: var(--accent-light);
        transform: translateY(-3px);
    }

/* Tab Styles */
.leadership-tabs {
    margin-top: 0;
}

.nav-tabs {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

    .nav-tabs .nav-link {
        color: var(--pnsc-accent);
        background: transparent;
        border: none;
        padding: 0.75rem 1.5rem;
        font-weight: 500;
        position: relative;
        margin-right: 0.5rem;
    }

        .nav-tabs .nav-link:hover {
            border-color: transparent;
        }

        .nav-tabs .nav-link.active {
            background: transparent;
            border: none;
            color: #005f99;
        }

            .nav-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: -2px;
                left: 0;
                width: 100%;
                height: 2px;
                background: var(--accent-light);
            }

.empty-state {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

    .empty-state i {
        color: rgba(255, 255, 255, 0.2);
    }

.section-description {
    font-weight: 200;
    line-height: 1.5;
    font-size: 1rem;
    margin-bottom: 0;
    max-width: 600px;
}

@media (max-width: 767px) {
    .management-card {
        height: 280px;
        background-position: center top;
    }

    .card-overlay {
        padding: 1rem 1rem 1.5rem;
    }

        .card-overlay .name {
            font-size: 1.1rem;
        }

        .card-overlay .title {
            font-size: 0.9rem;
        }

    .section-title {
        text-align: left !important;
    }

    .social-links {
        margin-top: 1rem;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

:root {
    --primary-darker: #99e600; /* darker background */
}

.bg-primary-darker {
    background-color: var(--primary-darker);
    position: relative;
    overflow: hidden;
}

.fleet-section {
    background-image: url("../../assets/img/vessel-ills.jpg");
    background-position: left bottom;
    background-size: cover;
}

    /* Line art background for Fleet Section */
    .fleet-section.bg-primary-darker::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
        /* Apply to any container or body */
        background-color: #ffffff;
        background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E\
%3Cline x1='0' y1='0' x2='100' y2='0' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='100' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='0' y1='0' x2='100' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3Cline x1='100' y1='0' x2='0' y2='100' stroke='%23cccccc' stroke-width='0.2'/%3E\
%3C/svg%3E");
        background-size: 100px 100px;
        background-image: url("../../assets/img/vessel-ills.jpg");
        background-position: left bottom;
        background-size: cover;
        /*animation: scrollGrid 20s linear infinite;*/
        z-index: 0;
    }

@keyframes scrollGrid {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100px 100px;
    }
}

/* Make sure the content is above the background */
.fleet-section .container {
    position: relative;
    z-index: 1;
}

/* Darker background override */
.fleet-section.bg-primary-dark {
    /*background-color: var(--primary-darker);*/
}


.stat-card {
    flex: 1 1 0;
    min-width: 150px; /* smaller width */
    padding: 1rem 1rem; /* reduced padding */
    border: 2px solid var(--pnsc-accent) !important;
    background: transparent !important;
    color: white !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0 !important;
    box-shadow: none !important;
    cursor: default;
}

    /* Optional: scale down the fonts inside */
    .stat-card .stat-number {
        font-size: 1.5rem; /* smaller number */
        font-weight: 600;
    }

    .stat-card .stat-label {
        font-size: 0.85rem; /* smaller label */
        font-weight: 400;
        margin-top: 0.3rem;
    }

:root {
    --accent: #178864;
    --accent-dark: #136a4d;
    --primary: #003366;
    --primary-dark: #002244;
}

.full-width-section {
    width: 100%;
    /*background-color: var(--primary-dark);*/
    padding: 3rem 1rem;
}

.container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-weight: 200;
}

.accent-underline {
    font-size: 1.9rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.3rem;
    color: #002244;
}

    .accent-underline::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100px;
        height: 2px;
        background-color: #005f99;
        border-radius: 2px;
    }

.text-light {
    /*color: #e0e6f0 !important;*/
}

/* Fleet Stats Cards */
.stat-card {
    flex: 1 1 250px;
    min-width: 200px;
    padding: 2rem 1.5rem;
    border-radius: 6px;
    /*background-color: var(--accent);*/
    /*color: white;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number,
.stat-label {
}

.large-text {
    font-size: 2.5rem;
    /*color: white;*/
}

.large-label {
    font-size: 1.2rem;
    /*color: #d9e9e2;*/
    margin-top: 0.5rem;
}

/* Buttons */
.btn-accent-square {
    background-color: var(--pnsc-accent);
    color: white;
    border-radius: 0;
    border: none;
    padding: 0.5rem 1.25rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

    .btn-accent-square:hover,
    .btn-accent-square:focus {
        background-color: var(--accent-dark);
        color: #e0f0eb;
        text-decoration: none;
    }

    .btn-accent-square.btn-sm {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

/* Gradient Divider */
.gradient-divider {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-dark) 100%);
    margin: 0;
}

.investor-section {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .investor-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("data:image/svg+xml;utf8,<svg width='200' height='200' viewBox='0 0 200 200' fill='none' xmlns='http://www.w3.org/2000/svg'> \
      <defs> \
        <pattern id='angledLines' patternUnits='userSpaceOnUse' width='50' height='50' patternTransform='rotate(45)'> \
          <line x1='0' y1='0' x2='0' y2='50' stroke='%23178864' stroke-opacity='0.1' stroke-width='1'/> \
          <line x1='25' y1='0' x2='25' y2='50' stroke='%23178864' stroke-opacity='0.05' stroke-width='1'/> \
          <circle cx='0' cy='0' r='2' fill='%23178864' fill-opacity='0.15'/> \
        </pattern> \
      </defs> \
      <rect width='200' height='200' fill='url(%23angledLines)'/> \
    </svg>");
        background-repeat: repeat;
        background-position: center center;
        background-size: 160px 160px;
        opacity: 1;
        pointer-events: none;
        z-index: 0;
    }

/* Investor Cards Container */
.investor-cards {
    display: flex;
    flex-wrap: nowrap;
}

/* Investor Card - border only, no background */
.investor-card {
    flex: 1 1 0;
    border: 1px solid var(--accent);
    background: transparent;
    /*color: white;*/
    padding: 2rem 1.5rem;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-shadow: none;
}

    /* Remove left border on first card */
    .investor-card:first-child {
        border-left: 1px solid var(--accent);
    }

    /* Hover effect: background accent and brighten border */
    .investor-card:hover {
        background-color: var(--pnsc-accent);
        border-color: var(--pnsc-accent);
        color: #fff;
    }

/* Card titles and content */
.card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.card-content {
    flex-grow: 1;
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* Responsive for smaller screens */
@media (max-width: 767px) {
    .investor-cards {
        flex-wrap: wrap;
        gap: 1.5rem;
        flex-direction: column;
    }

    .investor-card {
        width: 100%;
        border-left: 1px solid var(--accent);
        border-radius: 0px;
    }
}

@media (max-width: 991px) {
    .investor-cards {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .investor-card {
        flex: 1 1 100%;
    }
}


:root {
    --accent: #178864;
    --accent-dark: #136a4d;
    --primary: #003366;
    --primary-dark: #002244;
    --primary-darker: #001a33; /* Slightly darker than primary-dark */
}

.full-width-section {
    width: 100%;
    padding: 3rem 1rem;
}

/* Slightly different background shade */
.bg-primary-darker {
    /*background-color: var(--primary-darker);*/
}

.container {
    max-width: 1140px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Alternative gradient divider: reverse direction */
.gradient-divider-alt {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--accent) 100%);
    margin: 0;
}

/* Match font-weight with Investor Relations */
.section-title {
    font-weight: 700; /* same as investor */
}

/* Alternative underline: shorter and thicker */
.alt-underline {
    position: relative;
    padding-bottom: 0.3rem;
}

    .alt-underline::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100px; /* same width */
        height: 2px; /* same thickness */
        background-color: #005f99;
        border-radius: 2px; /* same rounding */
    }

.text-light {
    color: #e0e6f0 !important;
}

.sustainability-section {
    position: relative;
    overflow: hidden;
    z-index: 1; /* ensure above background */
}

    .sustainability-section::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: url("data:image/svg+xml;utf8,<svg width='200' height='200' viewBox='0 0 200 200' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M10 10 L190 190 M50 0 L50 200 M0 50 L200 50 M0 150 L200 150' stroke='rgba(23,136,100,0.3)' stroke-width='2' stroke-linecap='round'/></svg>");
        background-repeat: repeat;
        background-position: center center;
        background-size: 200px 200px;
        opacity: 0.2; /* increase opacity */
        pointer-events: none;
        z-index: 0; /* behind content */
    }

/* Cards container: flex with no gap */
.sustainability-cards {
    display: flex;
    flex-wrap: nowrap;
    gap: 0; /* no gap */
}

/* Cards with thinner border and no background */
.sustainability-card {
    flex: 1 1 0;
    border: 2px solid var(--pnsc-accent); /* same as investor */
    background: transparent;
    padding: 2rem 1.5rem;
    border-radius: 0; /* square corners like investor */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: none;
}
    /* Remove left border on first card */
    .sustainability-card:last-child {
        border-left: 1px solid var(--pnsc-accent);
    }

    /* Hover effect: lighter accent background, subtle border brighten */
    .sustainability-card:hover {
        background-color: var(--pnsc-accent);
        border-color: var(--pnsc-accent);
        color: #fff;
    }

.card-title {
    font-size: 1.8rem; /* same as investor */
    margin-bottom: 1rem;
    font-weight: 600; /* same as investor */
}

.card-content {
    flex-grow: 1;
    font-size: 1rem; /* same as investor */
    margin-bottom: 2rem;
    line-height: 1.5;
}

.news-underline {
    width: 60px;
    height: 1px;
    background-color: var(--accent);
    margin-top: 5px;
    opacity: 0.8;
}

/* Buttons consistent with original */
.btn-accent-square {
    background-color: var(--pnsc-accent);
    color: white;
    border-radius: 0;
    border: none;
    padding: 0.5rem 1.25rem;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    width: 100%; /* full width */
    display: inline-block;
    text-align: center;
}

    .btn-accent-square:hover,
    .btn-accent-square:focus {
        background-color: var(--accent-dark);
        color: #e0f0eb;
        text-decoration: none;
    }

    .btn-accent-square.btn-sm {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

/* Responsive for smaller screens */
@media (max-width: 767px) {
    .sustainability-cards {
        flex-direction: column;
        gap: 1.5rem;
    }

    .sustainability-card {
        width: 100%;
        border-left: 1px solid var(--accent);
        border-radius: 0px;
    }
}

.scroll-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--accent);
    background-color: transparent;
    color: var(--accent);
    border-radius: 50%;
    font-weight: bold;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .scroll-btn:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }


.latest-news-section {
    background: url('../../assets/img/slide/Slider-1.jpg') center center / cover no-repeat;
    min-height: 520px;
    max-height: 520px;
    position: relative;
    background-size: cover;
    /*background-position: center;*/
    filter: grayscale(0%);
}

@media (max-width: 767px) {
    .latest-news-section {
        min-height: auto !important;
        max-height: none !important;
        padding-bottom: 3rem !important; /* ensures spacing below */
    }

        .latest-news-section .row {
            min-height: auto !important;
        }
}

.custom-slider {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: auto;
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 20px;
    background: transparent;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slider-btn {
    background: #002244;
    color: #fff;
    border: none;
    padding: 8px 16px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 18px;
}

.mySwiperText {
    background-color: #002244;
    padding: 10px;
}


.swiper-slide {
    display: flex;
    justify-content: center; /* Horizontally center */
    align-items: center; /* Vertically center */
    height: 50px; /* Adjust as needed */
    font-size: 16px;
    text-align: center;
}

    .swiper-slide a {
        text-decoration: none;
        color: white;
    }

/* Remove border-radius from modal */
.modal-content,
.modal-header,
.modal-footer {
    border-radius: 0 !important;
}

/* Remove border-radius from buttons */
.btn {
    border-radius: 0 !important;
}

/* Optional: Remove border-radius from inputs/textareas if needed */
.form-control,
.form-check-input,
textarea {
    border-radius: 0 !important;
}
/* Make sure backdrop covers full screen with blur */
.modal-backdrop.show {
    background-color: rgba(255, 255, 255, 0.05); /* Light transparent layer */
    backdrop-filter: blur(20px); /* Strong blur effect */
    -webkit-backdrop-filter: blur(20px); /* Safari support */
}

/* Optional: remove fade animation for immediate blur */
.modal-backdrop.fade {
    opacity: 1 !important;
}

.floating-quote-btn {
    position: fixed;
    bottom: 80px;
    left: 20px;
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    transition: background-color 0.3s ease;
    overflow: hidden;
}

    .floating-quote-btn:hover {
        background-color: #0056b3;
    }

    .floating-quote-btn i {
        font-size: 18px;
    }

    .floating-quote-btn .quote-text {
        opacity: 0;
        max-width: 0;
        white-space: nowrap;
        overflow: hidden;
        transition: opacity 0.3s ease, max-width 0.3s ease;
    }

    .floating-quote-btn:hover .quote-text {
        opacity: 1;
        max-width: 100px; /* adjust as needed */
    }

.floating-feedback-btn {
    position: fixed;
    bottom: 80px;
    left: 150px;
    /*background-color: #007bff;*/
    color: white;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 9999;
    transition: background-color 0.3s ease;
}

    .floating-feedback-btn:hover {
        background-color: #0056b3;
    }

    .floating-feedback-btn i {
        font-size: 18px;
    }

/* Modal content theme */
.modal-content {
    background-color: #fff; /* Light background */
    color: rgb(33,37,41); /* Text in primary navy */
    border: none;
    border-radius: 0;
    font-weight: 300; /* Thin font weight */
}

.modal-header,
.modal-footer {
    background-color: rgb(0, 34, 68);
    color: #fff;
    border: none;
    font-weight: 300; /* Thin font weight */
}

.modal-title {
    color: #fff;
    font-weight: 300; /* Thin font weight */
}

.btn-primary {
    background: rgb(0, 34, 68) !important;
    border-color: var(--pnsc-accent);
    color: #fff;
    border-radius: 0;
}

    .btn-primary:hover {
        background-color: #168d67;
        border-color: #168d67;
    }

.form-control,
.form-check-input {
    border-radius: 0;
    border: 1px solid #ccc;
    color: rgb(33,37,41);
    font-weight: 300; /* Thin font weight */
}

.form-label {
    color: rgb(33,37,41);
    font-weight: 300; /* Thin font weight */
}

.btn-close {
    filter: invert(1); /* white close icon on dark background */
}

.footer-social-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
}

    .footer-social-icons a {
        color: #6c757d;
        font-size: 0.9rem;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #002244;
        border-radius: 50%;
        transition: background 0.3s, color 0.3s;
        text-decoration: none;
    }

        .footer-social-icons a:hover {
            background: #178864;
            color: #fff;
        }

.footer-social-icons {
    display: flex;
    gap: 10px;
    justify-content: center; /* Center horizontally */
    align-items: center;
    margin-top: 1rem; /* optional spacing from other elements */
}

    .footer-social-icons a {
        color: #fff;
        font-size: 0.9rem;
        width: 28px;
        height: 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #002244;
        border-radius: 50%;
        transition: background 0.3s, color 0.3s;
        text-decoration: none;
    }

        .footer-social-icons a:hover {
            background: var(--pnsc-accent);
            color: #fff;
        }

.gradient-divider-footer {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-dark) 100%); /* Adjust colors as per your accent theme */
    border: none;
}

.cc-window {
    border: 1px solid var(--pnsc-accent);
    border-radius: 0px;
    font-family: "Exo", sans-serif;
}

.cc-floating.cc-theme-classic {
    border-radius: 0px;
}

.cc-color-override--868456911 .cc-btn {
    color: rgb(0, 0, 0);
    border: 2px solid var(--pnsc-accent);
    border-radius: 0;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background-color: var(--pnsc-accent);
}

    .cc-color-override--868456911 .cc-btn:hover {
        background-color: #178864;
        color: #e0f0eb;
        text-decoration: none;
    }


.fade-out {
    opacity: 0;
    transition: opacity 0.3s ease;
}


/* Remove rounded corners and refine nav-pills appearance */
.nav-pills .nav-link {
    border-radius: 0 !important; /* Remove rounded edges */
    border: 1px solid #ccc; /* Optional: add border for clarity */
    margin-bottom: 5px; /* Space between items */
    font-weight: 500;
    color: #003366;
    background-color: #f8f9fa; /* Light background */
    transition: all 0.2s ease;
}

    .nav-pills .nav-link.active {
        background-color: var(--pnsc-accent); /* Highlight active tab */
        color: #fff;
        border-color: var(--pnsc-accent);
    }

    .nav-pills .nav-link:hover {
        background-color: #e0f0eb;
        color: #115740;
    }

.justified-text {
    text-align: justify;
}


.topbar-center {
    position: absolute;
    right: 14%;
    z-index: 2;
}


@media (max-width: 576px) {
    .top-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }

    .topbar-center {
        position: absolute;
        right: 20%;
        top: 28%;
        z-index: 2;
    }


    .logo-text-group {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left !important;
    }

    .logo-container img {
        display: block;
        margin: 0;
        padding: 0;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .topbar-center {
        position: absolute;
        right: 20%;
        top: 28%;
        z-index: 2;
    }

    .menu-label {
        display: none;
    }
}

.search-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .search-circle:hover {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
    }


.search-combo {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

    .search-combo:hover {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    .search-combo i {
        font-size: 0.8rem;
    }

.small-table td, .small-table th {
    font-size: 0.8rem;
}



.policy-box {
    background: #fff;
    border-left: 5px solid #115740;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


.btn-learn {
    color: #19459d;
    text-decoration: none;
    font-weight: 500;
}

    .btn-learn:hover {
        text-decoration: underline;
    }


.info-box {
    background: #fff;
    border-left: 5px solid #115740;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .info-box h5 {
        color: #19459d;
        margin-bottom: 0.75rem;
    }

.card {
    border-radius: 0px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

.document-icon {
    font-size: 2rem;
    color: #0d6efd;
}

.opportunity-box {
    background-color: #ffffff;
    border-radius: 0;
    padding: 1.5rem 1.5rem 1.2rem;
    border: 1px solid #dee2e6;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
}

    .opportunity-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    }

    .opportunity-box h5 {
        color: #19459d;
        font-size: 1.15rem;
        display: flex;
        align-items: center;
    }

        .opportunity-box h5 i {
            margin-right: 0.6rem;
            color: #115740;
        }

.contact-box {
    background-color: #e9f5f0;
    border-left: 5px solid #115740;
    padding: 1.5rem;
    margin-top: 2rem;
    border-radius: 0rem;
}

    .contact-box h5 {
        color: #115740;
    }


.gallery-section {
    background-color: #f8f9fa;
}

.gallery-card {
    border: none;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
}

    .gallery-card:hover {
        transform: scale(1.03);
    }

.gallery-img {
    height: 220px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-title {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-img-overlay:hover .gallery-title {
    opacity: 1;
}

.card-img-overlay {
    padding: 0;
}


.gallery-section {
    background-color: #f8f9fa;
}

.gallery-card {
    border: none;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

    .gallery-card:hover {
        transform: scale(1.03);
    }

.gallery-img {
    height: 220px;
    object-fit: cover;
    transition: 0.4s ease;
}

.gallery-title {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px 0;
    font-weight: 500;
    text-align: center;
    font-size: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-img-overlay:hover .gallery-title {
    opacity: 1;
}

.modal-img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.fleet-card {
    background: #fff;
    border: 1px solid #dee2e6;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
    padding: 1.5rem;
    border-left: 5px solid #115740;
    margin-bottom: 1.5rem;
}

    .fleet-card h5 {
        color: #19459d;
        font-weight: 600;
    }


.fleet-card ul li {
    padding: 2px 0;
    color: #495057;
}

.card-bordered-left {
    border-left: 4px solid #198754; /* Bootstrap green */
    border-radius: 0rem;
    background-color: #f8f9fa;
}

.card-content p, .card-content ul {
    margin-bottom: 1rem;
}

.custom-bordered-modal {
    border: 3px solid var(--accent); /* Accent color */
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.swiper-button-next,
.swiper-button-prev {
    width: 25px; /* Smaller width */
    height: 25px; /* Smaller height */
    font-size: 16px; /* Smaller icon size */
    color: white; /* Optional: maintain white color */
    top: 40%; /* Adjust vertical position if needed */
}

    /* Optional: Hide background if present */
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px; /* Controls the size of the default arrow icon */
    }

.swiper-button-next, .swiper-button-prev {
    color: white;
    background-color: #476079;
    font-size: 0.6rem;
    border-radius: 5%;
    padding: 1.6rem;
    top: 44%;
}

.gsc-search-button-v2 {
    font-size: 0;
    padding: 6px 27px;
    width: auto;
    vertical-align: middle;
    border: 1px solid #666;
    border-radius: 2px;
    border-color: #002244;
    background-color: #002244;
    background-image: linear-gradient(top, #4d90fe, #4787ed);
}

.list-group-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .custom-slider {
        width: 85%;
    }

    .slider-wrapper {
        padding: 0;
    }
}

#Liquid_Bulk_Cargo_Services {
    transition: all 1.2s ease-in-out;
}

#Bulk_Carrier_Services {
    transition: all 1.2s ease-in-out;
}

#Project_Cargo_Handling {
    transition: all 1.2s ease-in-out;
}

#Ship_Chartering_And_Tramping_Services {
    transition: all 1.2s ease-in-out;
}