/* About Us section custom background */
.about-bg {
    background-color: #ededed !important;
}
/* Custom border for MY MES DASHBOARD button (applies to all pages) */
.mes-dashboard-border {
    border: 2px solid #fff !important;
    box-shadow: none !important;
    padding: 0.75rem 1.5rem;
}
/* Custom border for MY MES DASHBOARD button */
.mes-dashboard-border {
    border: 2px solid #fff !important;
    box-shadow: none !important;
    padding: 0.75rem 1.5rem;
}
/* ====================================
   MARITIME ECOSYSTEM - COMPLETE CSS
   ==================================== */

/* ===== CSS VARIABLES - CUSTOMIZE HERE ===== */
:root {
    /* NAVBAR CUSTOMIZATION */
    --navbar-bg-transparency: 0.2;  /* 0 = fully transparent, 1 = fully opaque */
    --navbar-bg-color: 0, 96, 100;  /* RGB values for cyan: 0, 96, 100 */
    --navbar-scrolled-transparency: 0.5;  /* transparency when scrolled */
    --navbar-blur: 20px;  /* blur amount */
    --navbar-width: 96%;  /* width of navbar (% of screen) */
    --navbar-max-width: 1400px;  /* maximum width in pixels */
    --navbar-border-radius: 20px;  /* rounded corners */
    
    /* COLOR PALETTE */
    --primary-cyan: #006064;
    --primary-cyan-dark: #004d50;
    --primary-cyan-light: #004d50;
    --secondary-black: #000000;
    --secondary-black-light: #212121;
    --accent-gray: #757575;
    --accent-gray-light: #BDBDBD;
    --accent-gray-very-light: #E0E0E0;
    --white: #FFFFFF;
    
    /* TYPOGRAPHY */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    /* SHADOWS */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    
    /* SPACING & EFFECTS */
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--secondary-black-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: transparent;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITY CLASSES ===== */
.section-padding {
    padding: 5rem 0;
}

.bg-light {
    background-color: #f8f9fa !important;
}

/* ===== BUTTON STYLES ===== */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
}

.btn-cyan {
    background-color: var(--primary-cyan);
    color: var(--white);
}

.btn-cyan:hover {
    background-color: var(--primary-cyan-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-cyan {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-cyan:hover {
    background-color: var(--white);
    color: var(--primary-cyan);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--secondary-black);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* ===== GLASSY TRANSPARENT NAVBAR ===== */
.custom-navbar {
    background: rgba(var(--navbar-bg-color), var(--navbar-bg-transparency)) !important;
    backdrop-filter: blur(var(--navbar-blur)) saturate(180%);
    -webkit-backdrop-filter: blur(var(--navbar-blur)) saturate(180%);
    padding: 1rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1030;
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: var(--navbar-width);
    max-width: var(--navbar-max-width);
    border-radius: var(--navbar-border-radius);
}

.custom-navbar.scrolled {
    padding: 0.75rem 0;
    background: rgba(var(--navbar-bg-color), var(--navbar-scrolled-transparency)) !important;
    backdrop-filter: blur(calc(var(--navbar-blur) + 5px)) saturate(200%);
    -webkit-backdrop-filter: blur(calc(var(--navbar-blur) + 5px)) saturate(200%);
}

.navbar-brand {
    margin-right: 1rem;
}

.navbar-brand .logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--white);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-cyan-light);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: transparent;
    color: var(--white);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    position: relative;
    z-index: 2;
}

/* ===== ANIMATED GLOBE PARTICLES ===== */
.globe-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.particle {
    position: absolute;
    background: rgba(0, 188, 212, 0.5);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.particle:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    width: 60px;
    height: 60px;
    top: 60%;
    left: 80%;
    animation-delay: 4s;
}

.particle:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: 8s;
}

.particle:nth-child(4) {
    width: 50px;
    height: 50px;
    top: 30%;
    left: 70%;
    animation-delay: 12s;
}

.particle:nth-child(5) {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    animation-delay: 16s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0.8;
    }
}

/* ===== SHIPPING ROUTES ANIMATION ===== */
.shipping-routes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.route {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.8), transparent);
    animation: routeMove 15s infinite linear;
}

.route-1 {
    width: 300px;
    top: 20%;
    left: -300px;
    animation-delay: 0s;
}

.route-2 {
    width: 400px;
    top: 40%;
    left: -400px;
    animation-delay: 5s;
}

.route-3 {
    width: 350px;
    top: 60%;
    left: -350px;
    animation-delay: 10s;
}

.route-4 {
    width: 300px;
    top: 80%;
    left: -300px;
    animation-delay: 7s;
}

@keyframes routeMove {
    0% {
        left: -400px;
    }
    100% {
        left: 100%;
    }
}

/* ===== VALUE CARDS ===== */
.value-card {
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-light);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-black);
}

.value-card p {
    color: var(--accent-gray);
    margin-bottom: 0;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-black);
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--primary-cyan);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary-black);
}

.feature-card p {
    color: var(--accent-gray);
    margin-bottom: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--secondary-black) 0%, var(--secondary-black-light) 100%);
    color: var(--white);
}

.cta-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    transition: var(--transition);
}

.cta-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.cta-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.cta-card p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--primary-cyan-dark) 100%);
    color: var(--white);
    padding: 10rem 0 4rem;
    margin: 0;
    position: relative;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===== ABOUT PAGE ===== */
.about-image .image-placeholder {
    background: var(--accent-gray-very-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-gray);
}

/* Make images fill their placeholder square */
.about-image .image-placeholder {
    position: relative;
    padding: 0; /* remove padding so image can fill the area */
    overflow: hidden;
}

.about-image .image-placeholder img.image-fill {
    width: 100%;
    height: 100%;
    object-fit: cover; /* preserve aspect ratio and fill */
    display: block;
}

.about-image .image-placeholder p {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    margin: 0;
    color: rgba(255,255,255,0.9);
    text-align: center;
    background: rgba(0,0,0,0.35);
    padding: 0.5rem 1rem;
}

.about-image .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

.mission-vision-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.mission-vision-card.mission {
    border-top-color: var(--primary-cyan);
}

.mission-vision-card.vision {
    border-top-color: var(--secondary-black);
}

.mission-vision-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.mission-vision-card .material-icons {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.mission-vision-card h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-black);
}

.value-item {
    text-align: center;
    padding: 2rem 1rem;
}

.value-item .material-icons {
    font-size: 3rem;
    color: var(--primary-cyan);
    margin-bottom: 1.5rem;
}

.value-item h4 {
    margin-bottom: 1rem;
    color: var(--secondary-black);
}

.advantage-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-item {
    text-align: center;
    padding: 2rem 1rem;
}

.advantage-item .material-icons {
    font-size: 3rem;
    color: var(--primary-cyan-light);
    margin-bottom: 1rem;
}

.advantage-item h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

.advantage-item p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== SERVICES PAGE ===== */
.services-nav .nav-link {
    background: transparent;
    color: var(--secondary-black);
    border: 2px solid var(--accent-gray-light);
    margin: 0 0.5rem 0.5rem 0.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
}

.services-nav .nav-link.active {
    background: var(--primary-cyan);
    border-color: var(--primary-cyan);
    color: var(--white);
}

.services-nav .nav-link:hover:not(.active) {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.service-detail {
    padding: 2rem 0;
}

.service-icon-large {
    margin-bottom: 2rem;
}

.service-icon-large .material-icons {
    font-size: 4rem;
    color: var(--primary-cyan);
}

.service-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-benefits li {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.service-benefits .material-icons {
    color: var(--primary-cyan);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.service-image .image-placeholder {
    background: var(--accent-gray-very-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent-gray);
}

.service-image .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

.dashboard-teaser {
    position: relative;
}

.badge {
    background: var(--primary-cyan);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.dashboard-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

.feature-item .material-icons {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-cyan-light);
}

.feature-item span {
    font-size: 0.9rem;
    color: var(--white);
}

.dashboard-preview .preview-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.dashboard-preview .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.dashboard-preview p {
    color: rgba(255, 255, 255, 0.8);
}

/* ===== CONTACT PAGE ===== */
.contact-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.form-floating {
    margin-bottom: 1rem;
}

.form-control, .form-select {
    border: 2px solid var(--accent-gray-very-light);
    border-radius: var(--border-radius);
    padding: 1rem 0.75rem;
    transition: var(--transition);
    font-family: var(--font-body);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 0 0.2rem rgba(0, 96, 100, 0.25);
    outline: none;
}

.form-floating label {
    color: var(--accent-gray);
}

.contact-info {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    margin-right: 1rem;
}

.contact-icon .material-icons {
    font-size: 1.5rem;
    color: var(--primary-cyan);
}

.contact-details h5 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: var(--secondary-black);
}

.contact-details p {
    color: var(--accent-gray);
    margin-bottom: 0;
}

.quick-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 0.75rem;
}

.quick-links a {
    display: flex;
    align-items: center;
    color: var(--accent-gray);
    transition: var(--transition);
    text-decoration: none;
}

.quick-links a:hover {
    color: var(--primary-cyan);
    padding-left: 5px;
}

.quick-links .material-icons {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.map-section {
    padding: 0;
}

.map-container {
    height: 400px;
    background: var(--accent-gray-very-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-placeholder {
    text-align: center;
    color: var(--accent-gray);
}

/* Small tweak for hero subtitle emphasized phrases */
.hero-feature {
    font-size: 1.15em; /* slightly larger than surrounding subtitle */
    font-style: italic;
    font-weight: 700; /* make it bolder */
    line-height: 1.1;
}

.map-placeholder .material-icons {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--secondary-black);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5, .footer h6 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer p {
    color: var(--accent-gray-light);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--accent-gray-light);
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-cyan-light);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    color: var(--accent-gray-light);
    margin-bottom: 0.75rem;
}

.footer-contact .material-icons {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--primary-cyan);
}

.social-icons {
    display: flex;
    margin-top: 1.5rem;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    text-decoration: none;
    color: var(--white);
}

.social-icons a:hover {
    background-color: var(--primary-cyan);
    transform: translateY(-3px);
}

.copyright {
    color: var(--accent-gray);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    text-align: center;
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Large Devices (Desktops, 992px and up) */
@media (max-width: 992px) {
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (max-width: 768px) {
    :root {
        --navbar-width: 95%;
        --navbar-border-radius: 15px;
    }

    .custom-navbar {
        top: 0.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    .page-header {
        padding: 8rem 0 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .services-nav .nav-link {
        margin: 0.25rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .contact-form-container,
    .contact-info {
        padding: 2rem;
    }
    
    .advantage-content {
        grid-template-columns: 1fr;
    }
    
    .dashboard-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .value-card,
    .feature-card {
        margin-bottom: 1.5rem;
    }
}

/* Small Devices (Phones, 576px and up)
@media (max-width: 576px) */