:root {
    --primary-color: #40e0d0;
    --secondary-color: #00a89a;
    --accent-color: #c2fcf3;

    --dark: #0f2c2c;
    --dark-soft: #1e4c4b;

    --neutral-light: #e8f5f4;
    --text-gray: #475657;
    --white: #ffffff;

    --success: #0eb272;
    --warning: #ffc857;
    --danger: #ff5a5f;
    --info: #3ed2e0;
}

/* ---------------------
   GLOBAL STYLES
---------------------- */
body {
    font-family: Helvetica, sans-serif;
    background-color: var(--neutral-light);
    color: var(--text-gray);
}

* {
    scrollbar-color: var(--primary-color) transparent;
    scrollbar-width: auto;
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: 6px;
    border: 3px solid transparent;
}

::selection {
    color: var(--white);
    background: var(--secondary-color);
}

/* ---------------------
   ABOUT PAGE STYLES
---------------------- */
.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 140px 20px 100px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
}

.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    margin: 100px auto;
    max-width: 1200px;
    padding: 0 20px;
}

.about-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(67, 97, 238, 0.1);
}

.about-item h2 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.about-item h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.about-item p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 1.05rem;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: 70px 20px;
    border-radius: 25px;
    gap: 30px;
    text-align: center;
    margin: 100px auto;
    max-width: 1200px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.about-stats .stat {
    padding: 20px;
    transition: all 0.3s ease;
    border-radius: 15px;
}

.about-stats .stat:hover {
    background: rgba(67, 97, 238, 0.03);
}

.about-stats .stat h3 {
    font-size: 3rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 800;
}

.about-stats .stat p {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Responsive About Page */
@media (max-width: 768px) {
    .about-hero h1 { font-size: 2.5rem; }
    .about-hero p { font-size: 1.1rem; }
    .about-content { grid-template-columns: 1fr; gap: 30px; margin: 60px auto; }
    .about-stats { flex-direction: column; padding: 40px 20px; gap: 40px; }
    .about-stats .stat h3 { font-size: 2.5rem; }
}

/* ---------------------
   NAVBAR
---------------------- */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    z-index: 1000;
}
.navbar.scrolled { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }

.logo-icon {
    width: 50px; height: 50px; border-radius: 50%;
    background-color: var(--secondary-color);
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s ease;
}

.logo-icon i { color: var(--white); font-size: 1.2rem; }
.navbar-brand:hover .logo-icon { transform: rotate(-10deg) scale(1.1); }

.nav-link { color: #000 !important; transition: 0.3s ease; }
.nav-link:hover { color: var(--primary-color) !important; }
.nav-link.active { color: var(--dark-soft) !important; font-weight: 600; }

.navbar-toggler { transition: 0.3s ease; }
.navbar-collapse { transition: all 0.3s ease; }

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        padding: 1rem;
    }
    .nav-link:hover { background: rgba(0,0,0,0.03); }
}
/*Vessels*/
.dashboard-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.card-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.stats-card {
    border-left: 4px solid var(--accent-color);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-active {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.status-inactive {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.status-maintenance {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.vessel-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vessel-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.quick-action-btn {
    padding: 12px 20px;
    border-radius: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e2e8f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--accent-color);
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--accent-color);
}

.nav-tabs-custom {
    border-bottom: 2px solid #e2e8f0;
}

.nav-tabs-custom .nav-link {
    border: none;
    color: #64748b;
    font-weight: 500;
    padding: 12px 24px;
    position: relative;
}

.nav-tabs-custom .nav-link.active {
    color: var(--primary-color);
    background: none;
}

.nav-tabs-custom .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
    }

    .vessel-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}
.sos-container {
    padding: 20px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #dc3545;
}

.sos-btn {
    background: #dc3545;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    width: 100%;
    max-width: 350px;
    transition: 0.2s ease;
}

.sos-btn:hover {
    background: #b82d3a;
    transform: translateY(-2px);
}

.sos-help-text {
    color: #666;
    font-size: 0.9rem;
}

/* ---------------------
   BUTTONS
---------------------- */
.btn-secondary {
    background: var(--secondary-color);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 0.375rem;
    transition: 0.3s ease;
}
.btn-secondary:hover {
    filter: brightness(0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 168, 154, 0.25);
}

.btn-outline-dark {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    border-radius: 0.375rem;
    transition: 0.3s ease;
}
.btn-outline-dark:hover {
    background: var(--dark-soft);
    color: white;
    border-color: var(--dark-soft);
}

.btn-primary,
.hero .btn-primary,
.footer .btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: 0.3s ease;
}
.btn-primary:hover {
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(64, 224, 208, 0.25);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    border-width: 2px;
    font-weight: 500;
    transition: 0.3s ease;
}
.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* ---------------------
   HERO SECTION
---------------------- */
.hero {
    background: linear-gradient(rgba(15,30,60,0.85), rgba(0,40,85,0.9)),
    url('https://images.unsplash.com/photo-1544551763-46a013bb70d5?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    min-height: 85vh;
    color: white;
    display: flex;
    align-items: center;
    position: relative;
}
.hero-bg-animation {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(64,224,208,0.1), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0,168,154,0.1), transparent 50%);
    animation: pulse 4s ease-in-out infinite alternate;
}
@keyframes pulse { from {opacity: .5;} to {opacity: 1;} }

.text-gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------------------
   FEATURE CARDS
---------------------- */
.feature-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------------------------------------
   MODERN FOOTER
---------------------------------------- */
.mv-footer {
    background: var(--dark);
    color: var(--white);
    position: relative;
    padding: 5rem 0 2rem;
}

/* Container */
.footer-container {
    width: 100%;
    max-width: 1300px;
    margin: auto;
    padding: 0 1.5rem;
}

/* Grid */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3.5rem;
}

/* Brand Section */
.footer-brand .brand-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.brand-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    color: transparent;
}

.brand-desc {
    opacity: 0.75;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 350px;
}

/* Social Icons */
.footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    margin-right: 0.6rem;
    font-size: 1.2rem;
    color: var(--white);
    backdrop-filter: blur(6px);
    transition: 0.3s ease;
}

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

/* Links */
.footer-links h5 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-links a {
    text-decoration: none;
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.6rem;
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

/* Contact info */
.info-item {
    margin-bottom: 0.8rem;
    opacity: 0.75;
    display: flex;
    align-items: center;
}
.info-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    row-gap: 1rem;
}

.footer-bottom p {
    opacity: 0.6;
}

.bottom-links a {
    text-decoration: none;
    color: rgba(255,255,255,0.6);
    margin-right: 1rem;
    transition: 0.25s;
}

.bottom-links a:hover {
    color: var(--primary-color);
}

.secure {
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.75;
}
.secure i {
    color: var(--success);
}

/* Responsive fix */
@media (max-width: 500px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* ---------------------
   FLEET DIRECTORY
---------------------- */
.fleet-card, .stat-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    transition: 0.3s ease;
    border-radius: 12px !important;
}
.fleet-card:hover, .stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(64,224,208,0.15);
    border-radius: 50%;
    display: flex;
    align-items:center;
    justify-content:center;
}

/* ---------------------
   CONTACT PAGE
---------------------- */
.contact-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-soft) 100%);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 L100,0 L100,100 Z" fill="%2300a89a" opacity="0.1"/></svg>');
    background-size: cover;
}
.contact-hero h1 { font-size: 3rem; margin-bottom: 1rem; position: relative; }
.contact-hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 2rem; line-height: 1.6; color: var(--neutral-light); position: relative; }
.contact-container {
    max-width: 1200px; margin: 0 auto; padding: 60px 20px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
}
@media (max-width: 900px) { .contact-container { grid-template-columns: 1fr; gap: 40px; } }
.contact-info, .contact-form {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(15, 44, 44, 0.08);
}

/* Additional contact styles (methods, icons, buttons) are unchanged. */
/* Responsive adjustments and animations for forms are unchanged */
