/* Petromarine Desalination Solutions FZE-LLC — High-Precision Industrial Styles */
@layer base {
    html {
        scroll-behavior: smooth;
    }
    html, body {
        margin: 0;
        padding: 0;
    }
    body {
        overscroll-behavior: none;
    }
    main > :first-child {
        margin-top: 0 !important;
    }
    main > :last-child {
        margin-bottom: 0 !important;
    }
}

/* Custom subtle industrial scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #020b18;
}
::-webkit-scrollbar-thumb {
    background: #006399;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #67bafd;
}

/* Industrial Card Hover & Active States */
.industrial-card {
    border: 1px solid #e2e8f0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}
.industrial-card:hover {
    border-color: #006399;
    box-shadow: 0 12px 28px rgba(11, 37, 69, 0.09);
}

/* Technical Cyan Top Accent Bar */
.cyan-top-bar {
    position: relative;
}
.cyan-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #006399, #67bafd);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.cyan-top-bar:hover::before,
.cyan-top-bar.active-card::before {
    opacity: 1;
}

/* Rich Content Styling for Dynamic Pages & Blogs */
.prose-industrial h2,
.prose-industrial h3,
.prose-industrial h4 {
    font-family: 'Montserrat', sans-serif;
    color: #0b1c30;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.prose-industrial p {
    font-family: 'Inter', sans-serif;
    color: #44474e;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.prose-industrial ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    color: #44474e;
}
.prose-industrial li {
    margin-bottom: 0.4rem;
}
.prose-industrial code {
    font-family: 'JetBrains Mono', monospace;
    background: #eff4ff;
    color: #004972;
    padding: 0.15rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.85em;
}

