@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Voltfix Dashboard Styles */
.volt-header {
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    padding: 0 30px;
    display: none;
    /* Hidden on desktop */
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1002;
    height: 70px;
}

.volt-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.volt-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.volt-logo i {
    color: inherit;
}

.volt-logo .reliability {
    font-weight: 300;
    color: var(--text-muted);
    padding-left: 10px;
}

.volt-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.volt-separator {
    width: 1px;
    height: 30px;
    background: var(--border);
}

.volt-hamburger {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
}

.volt-subheader {
    padding: 0 30px;
    margin-bottom: 10px;
    background: var(--bg-main);
    display: none;
    /* Hidden by default on desktop */
}

.volt-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.volt-menu-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

/* Volt Nav Menu Overlay */
.volt-nav-overlay {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 300px;
    height: auto;
    background: var(--bg-alt);
    border-left: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    z-index: 1001;
    transition: var(--transition);
    padding: 30px;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
}

.volt-nav-overlay.active {
    right: 0;
}

.volt-nav-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.volt-nav-item {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.volt-nav-item:last-child {
    border-bottom: none;
}

.volt-nav-item i {
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 992px) {
    .volt-header {
        display: flex !important;
        /* Shown only on mobile */
    }

    /* Only hide navbar on mobile if we are on a dashboard page that uses volt-header */
    .dashboard-page .navbar {
        display: none !important;
    }

    .volt-subheader {
        display: flex !important;
        justify-content: center;
        margin-top: 40px;
        /* More space to prevent overlap */
        margin-bottom: 20px;
        padding: 0;
    }

    .volt-menu-btn {
        width: 100%;
        justify-content: center;
        border-radius: 100px;
    }

    .dashboard-container {
        display: block;
        padding-top: 100px !important;
        /* Make room for floating nav */
    }

    .main-content {
        padding: 5px 20px !important;
    }

    .dashboard-menu-toggle {
        display: none !important;
        /* Hidden because we use volt-menu-btn */
    }

    .sidebar {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        height: 100vh !important;
        z-index: 2000 !important;
        transition: var(--transition);
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.2) !important;
    }

    .sidebar.active {
        left: 0 !important;
    }
}



:root {
    /* Avant-Garde Palette: Deep Obsidian, Champagne Gold, & Ethereal Mist */
    --primary: #c5a059;
    /* Lustrous Gold */
    --primary-dark: #a68446;
    --secondary: #0a0a0b;
    /* Deep Obsidian */
    --accent: #ff4d4d;
    /* High-contrast drama */
    --success: #606c38;
    --info: #2a9d8f;
    --warning: #e9c46a;
    --danger: #e76f51;

    /* Light Theme (Default) */
    --bg-main: #f5f5f7;
    --bg-main-rgb: 245, 245, 247;
    --bg-alt: #ffffff;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --border: #d2d2d7;
    --card-bg: #ffffff;
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --glass: rgba(245, 245, 247, 0.9);
    --glass-border: rgba(0, 0, 0, 0.1);
    --hero-stroke: rgba(0, 0, 0, 0.3);
    --hero-text: #ffffff;

    /* Layout */
    --navbar-height: 80px;
    --container-width: 1200px;
    --radius: 12px;
    --transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Dark Theme */
[data-theme="dark"] {
    --bg-main: #0a0a0b;
    --bg-main-rgb: 10, 10, 11;
    --bg-alt: #161617;
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --border: rgba(255, 255, 255, 0.1);
    --card-bg: #161617;
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --glass: rgba(22, 22, 23, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
    --hero-stroke: rgba(255, 255, 255, 0.2);
    --hero-text: #ffffff;
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Minimal Floating Elements */
.logo-capsule,
.nav-actions-capsule {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    pointer-events: auto;
    flex: initial !important;
    /* Prevent capsules from expanding */
}

.nav-actions-capsule {
    gap: 5px;
    padding: 5px 10px;
}

.nav-actions-capsule .toggle-btn {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 35px;
    height: 35px;
    color: #1d1d1f !important;
    /* Force dark color for visibility in light mode */
}

.nav-actions-capsule .toggle-btn i {
    color: inherit !important;
}

[data-theme="dark"] .nav-actions-capsule .toggle-btn {
    color: #f5f5f7 !important;
    /* Force light color for dark mode */
}

.nav-actions-capsule .toggle-btn:hover {
    background: rgba(197, 160, 89, 0.1) !important;
    /* Subtle primary background */
    color: inherit !important;
    /* Maintain current visibility color */
}

.nav-actions-capsule .toggle-btn:hover i {
    color: inherit !important;
    /* Prevent icon color flip to white */
}

.logo-capsule i,
.nav-actions-capsule i {
    font-size: 1.1rem;
}

.logo-capsule:hover,
.nav-actions-capsule:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.floating-nav {
    position: fixed;
    top: 30px;
    left: 0;
    width: 100%;
    z-index: 1050;
    /* Above content, below sidebar/overlays */
    pointer-events: none;
}

.floating-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

@media (max-width: 900px) {
    .floating-nav {
        top: 15px;
    }

    .floating-nav .container {
        padding: 0 15px;
        gap: 10px;
    }

    .logo-capsule {
        padding: 8px 15px;
        font-size: 0.85rem;
        gap: 8px;
    }

    .nav-actions-capsule {
        padding: 4px 8px;
        gap: 4px;
    }

    .nav-actions-capsule .toggle-btn {
        width: 30px;
        height: 30px;
    }

    .logo-capsule i,
    .nav-actions-capsule i {
        font-size: 0.9rem;
    }
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    width: 100%;
}

/* Premium Background System */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 10000;
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(100px);
    opacity: 0.5;
}

.blob {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: moveBlob 20s infinite alternate;
}

.blob:nth-child(2) {
    background: #a68446;
    width: 40vw;
    height: 40vw;
    right: -10%;
    top: 20%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.blob:nth-child(3) {
    background: #1d1d1f;
    width: 60vw;
    height: 60vw;
    left: 20%;
    bottom: -10%;
    animation-duration: 30s;
    animation-delay: -10s;
}

[data-theme="dark"] .blob:nth-child(3) {
    background: var(--primary);
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(10vw, 5vh) scale(1.1);
    }

    66% {
        transform: translate(-5vw, 15vh) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* Subtle Premium Grid */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 100px 100px;
    opacity: 0.03;
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    font-family: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Creative Floating Navbar */
.navbar {
    height: 70px;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    border-radius: 100px;
    z-index: 1000;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    width: 80%;
    top: 10px;
    background: rgba(var(--bg-main-rgb), 0.9);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 30px;
}

.logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    flex-shrink: 0;
}

.nav-links {
    flex: 2;
    /* Occupy center space */
    display: flex;
    justify-content: center;
    gap: 25px;
}

.nav-actions {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

@media (max-width: 1100px) {
    .nav-links {
        display: flex;
        gap: 15px;
    }

    .nav-link {
        font-size: 0.6rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 12px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar for Chrome/Safari */
    }

    .nav-links::-webkit-scrollbar {
        display: none;
    }

    .nav-link i {
        display: none;
        /* Hide the chevron icons on small mobile to save space */
    }
}

.nav-link {
    font-weight: 600;
    color: var(--text-main);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.7rem;
    position: relative;
    padding: 8px 0;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Creative Utilities */
.material-hub {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 100px 0;
}

.material-card {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.material-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.material-card:hover .material-img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.material-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.material-card:hover .material-overlay {
    opacity: 1;
}

.material-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 5px;
    color: var(--primary);
    margin-bottom: 15px;
}

.material-name {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

/* Custom Cursor - Hide on mobile */
.cursor-dot,
.cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
}

@media (pointer: coarse) {

    .cursor-dot,
    .cursor-outline {
        display: none;
    }
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    display: inline-block;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(193, 154, 107, 0.4);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-main);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Theme & RTL Toggles */
.toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main) !important;
    border: 1px solid var(--border);
}

#menu-toggle {
    display: none;
}

.toggle-btn i {
    color: inherit !important;
}

.toggle-btn:hover {
    background: var(--primary);
}

.toggle-btn:hover i {
    color: white !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 120px;
    /* Increased to avoid navbar overlap */
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 900;
    line-height: 0.9;
    color: var(--text-main);
    z-index: 30;
    pointer-events: none;
    text-transform: uppercase;
    transition: color 0.5s ease;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-image-wrap {
    flex: 1;
    position: relative;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

/* Parallax Effect */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    z-index: -1;
    object-fit: cover;
    transform: translateY(0);
}

/* New Hero Classes */
.hero-outline-text {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20vw;
    font-weight: 900;
    line-height: 1;
    z-index: 1;
    white-space: nowrap;
}

.hero-sidebar {
    position: absolute;
    left: 0;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 5;
}

.hero-image-vessel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45vw;
    height: 65vh;
    border-radius: 40px;
    z-index: 10;
}

.hero-bottom-content {
    position: absolute;
    bottom: 5%;
    left: 5%;
    max-width: 35vw;
    z-index: 100;
}

.hero-description {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 15px;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: rgba(var(--bg-main-rgb), 0.3);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 5%;
    right: 0;
    transform: rotate(90deg);
    transform-origin: right;
    letter-spacing: 5px;
    font-size: 0.7rem;
    color: var(--primary);
}

/* Products Section */
.section {
    padding: 100px 0;
}

.product-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Glass-Border Gradient */
.glass-box {
    position: relative;
    background: var(--glass);
    backdrop-filter: blur(20px);
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05)) 1;
}

/* Broken Grid System */
.broken-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    align-items: center;
}

.grid-item-large {
    grid-column: 1 / 8;
}

.grid-item-small {
    grid-column: 8 / 13;
    transform: translateY(100px);
}

@media (max-width: 992px) {
    .broken-grid {
        display: flex;
        flex-direction: column;
    }

    .grid-item-small {
        transform: translateY(0);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        order: 2;
        padding: 40px 0;
    }

    .hero-image-wrap {
        order: 1;
        width: 100%;
        height: 400px;
    }

    .hero-desc {
        margin: 0 auto 2.5rem;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--navbar-height);
        left: 0;
        width: 100%;
        background: var(--bg-main);
        padding: 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
}

/* Outline Text */
.outline-text {
    color: transparent !important;
    -webkit-text-stroke: 1px var(--hero-stroke) !important;
    transition: -webkit-text-stroke 0.5s ease;
}

/* Vertical Text */
.vertical-text {
    writing-mode: vertical-rl;
    text-transform: uppercase;
    letter-spacing: 10px;
    font-size: 0.7rem;
    color: var(--primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    width: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.product-img-wrap {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover .product-img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-cat {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-name {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--primary);
    color: white;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.service-card:hover .service-icon {
    color: white;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: white;
    padding: 100px 0 50px;
    border-top: 1px solid var(--border);
}

.footer .logo,
.footer .footer-title {
    color: white !important;
}

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
}

.footer .footer-links a:hover {
    color: var(--primary);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-title {
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Home 2 Grids */
.feature-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.stats-grid {
    background: var(--secondary);
    color: white;
    padding: 80px 40px;
    border-radius: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.curated-grid {
    background: var(--bg-alt);
    border-radius: 50px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 30px;
}

.masonry-item-tall {
    grid-column: span 4;
    grid-row: span 3;
}

.masonry-item-wide {
    grid-column: span 8;
    grid-row: span 2;
}

.masonry-item-box {
    grid-column: span 4;
    grid-row: span 1;
}

/* Index Grids */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.journal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.collection-banner {
    background: var(--text-main);
    color: var(--bg-main);
    padding: 80px 0;
    border-radius: var(--radius);
    margin: 50px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.countdown-container {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    font-variant-numeric: tabular-nums;
    justify-content: center;
}

/* Services Grids */
.journey-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-item-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.global-stats-grid {
    margin-top: 150px;
    background: var(--secondary);
    color: white;
    padding: 80px;
    border-radius: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
}

.tiers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

/* About Grids */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.materiality-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.substance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border-top: 1px solid var(--border);
    padding-top: 40px;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
    margin-top: 80px;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
    }

    .hero .container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 20px;
    }

    .hero-title {
        font-size: 3rem;
        line-height: 1.1;
        text-align: center;
        order: 1;
        margin-bottom: 0;
        position: relative;
        z-index: 20;
    }

    .hero-image-vessel {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100% !important;
        height: 350px !important;
        order: 2;
        margin: 20px 0;
    }

    .hero-bottom-content {
        position: relative;
        bottom: auto;
        left: auto;
        max-width: 100%;
        width: 100%;
        text-align: center;
        order: 3;
    }

    .hero-description {
        background: transparent;
        padding: 0;
        border: none;
        backdrop-filter: none;
        font-size: 1rem;
        margin-bottom: 20px;
    }

    /* Hide the cluttered outline text on mobile */
    .hero-outline-text {
        display: none;
    }

    .hero-sidebar {
        display: none;
    }

    .hero-scroll-indicator {
        display: none;
    }

    /* Navbar Mobile Fixes */
    .navbar {
        width: 95%;
        /* Keep wide */
        height: auto;
        min-height: 60px;
        top: 10px;
        border-radius: 16px;
        padding: 5px 0;
    }

    .navbar .container {
        padding: 0 10px;
        flex-wrap: nowrap;
        /* Prevent wrapping */
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-alt);
        padding: 30px;
        border-radius: 20px;
        border: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
        max-height: 80vh;
        overflow-y: auto;
        z-index: 1000;
        gap: 15px;
    }

    .nav-links.active {
        display: flex !important;
        animation: fadeInUp 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .nav-link {
        font-size: 1rem !important;
        padding: 10px 0;
        border-bottom: 1px solid rgba(125, 125, 125, 0.05);
        display: block;
        width: 100%;
    }

    .logo {
        font-size: 1rem;
        /* Smaller logo */
        margin-right: auto;
    }

    .nav-actions {
        gap: 5px;
        /* Tighter gap */
        justify-content: flex-end;
        width: auto;
        flex-wrap: nowrap;
    }

    .nav-actions .btn {
        padding: 5px 10px !important;
        font-size: 0.75rem;
        white-space: nowrap;
        height: 32px;
        display: flex;
        align-items: center;
    }

    .nav-actions .toggle-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    /* Mobile Grids */
    .feature-split-grid,
    .process-grid,
    .stats-grid,
    .curated-grid,
    .process-steps-grid,
    .features-grid,
    .journal-grid,
    .story-grid,
    .journey-grid,
    .service-item-grid,
    .case-study-grid,
    .global-stats-grid,
    .tiers-grid,
    .about-hero-grid,
    .about-stats-grid,
    .materiality-grid,
    .substance-grid,
    .philosophy-grid,
    .awards-grid,
    .contact-hero-grid,
    .offices-grid,
    .community-stats-grid,
    .community-images-grid,
    .contact-methods-grid,
    .process-grid,
    .feature-split-grid,
    .masonry-grid,
    .dashboard-grid-3,
    .dashboard-grid-2,
    .dashboard-split-2-1,
    .dashboard-responsive-flex,
    .product-grid,
    .footer-grid,
    .narratives-grid,
    .billing-grid,
    .security-list {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .masonry-item-wide,
    .masonry-item-tall {
        grid-column: span 1 !important;
    }

    .countdown-container {
        gap: 20px;
    }

    .collection-banner h2 {
        font-size: 2.5rem !important;
        /* Scale down big text */
    }

    .feature-split-grid {
        gap: 40px;
    }

    .curated-grid>div {
        padding: 40px !important;
    }

    .stats-grid {
        padding: 40px 20px;
    }

    /* Masonry Mobile */
    .masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .vip-cta-box {
        padding: 40px 20px !important;
    }

    .trust-bar-content {
        justify-content: center !important;
        gap: 30px !important;
        text-align: center;
    }

    .consult-banner {
        flex-direction: column !important;
        padding: 40px 20px !important;
        text-align: center;
        gap: 30px;
    }

    .consult-banner>div {
        text-align: center !important;
    }

    .consult-banner .btn {
        width: 100%;
    }

    .stat-card h3 {
        font-size: 1.2rem;
    }

    header[style*="display: flex; justify-content: space-between;"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 0 20px !important;
        gap: 10px !important;
        margin-top: 0 !important;
        margin-bottom: 15px !important;
    }

    .billing-grid>div {
        min-width: 0 !important;
        width: 100% !important;
    }

    .data-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .data-table th,
    .data-table td {
        white-space: nowrap;
        padding: 10px !important;
    }

    .masonry-item-tall,
    .masonry-item-wide,
    .masonry-item-box {
        grid-column: span 1;
        grid-row: auto;
    }

    .masonry-item-tall {
        height: 400px;
    }

    .masonry-item-wide {
        height: 300px;
    }

    .masonry-item-box {
        height: 250px;
    }
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
}

.input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(193, 154, 107, 0.1);
}

/* Newsletter Form */
.newsletter-form {
    display: flex;
    gap: 20px;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-form .input {
        width: 100% !important;
        flex: none !important;
    }

    .newsletter-form .btn {
        width: 100% !important;
        padding: 12px !important;
    }

    /* About Page Mobile Fixes */
    .about-hero-grid h1.hero-title,
    .materiality-grid h2,
    .philosophy-grid h2,
    section h2[style*="font-size: 5rem"],
    section h2[style*="font-size: 4.5rem"],
    section h2[style*="font-size: 4rem"] {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    section[style*="padding-top: 15vw"] {
        padding-top: 100px !important;
    }

    .materiality-grid h2 {
        font-size: 2.2rem !important;
    }

    .philosophy-grid h4 {
        font-size: 1.2rem !important;
    }

    .glass-box[style*="right: -60px"] {
        position: relative !important;
        right: 0 !important;
        bottom: 0 !important;
        max-width: 100% !important;
        margin-top: -40px;
        margin-left: 20px;
        margin-right: 20px;
        padding: 25px !important;
    }

    .about-hero-grid {
        gap: 40px !important;
    }

    .stat-card .stat-value {
        font-size: 2rem !important;
    }

    section[style*="padding: 15vw 0"],
    section[style*="padding: 10vw 0"] {
        padding: 50px 0 !important;
    }

    .team-card {
        height: 400px !important;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .about-hero-img-wrap {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .about-hero-img-wrap img {
        max-width: 400px;
        margin: 0 auto;
    }

    .team-grid {
        justify-items: center;
    }

    /* Services Page Mobile Fixes */
    .hero[style*="height: 70vh"] {
        height: auto !important;
        min-height: 80vh;
        padding: 120px 0 60px !important;
    }

    .hero-title[style*="font-size: clamp"] {
        font-size: 2.5rem !important;
    }

    .journey-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        margin-top: 40px !important;
    }

    .journey-grid .reveal[style*="margin-top: 100px"] {
        margin-top: 0 !important;
    }

    /* Hide the horizontal line on journey on mobile */
    .journey-grid+div[style*="position: absolute; top: 50%"],
    section[style*="margin-top: 100px"] div[style*="position: absolute; top: 50%"] {
        display: none !important;
    }

    .service-item-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 0 !important;
    }

    .service-item-grid h2 {
        font-size: 2rem !important;
    }

    /* Moodboard Fixes */
    div[style*="height: 450px"] {
        height: 350px !important;
    }

    .Moodboard-Item {
        width: 80px !important;
        height: 110px !important;
    }

    .glass-box[style*="padding: 30px 50px"] {
        padding: 20px !important;
        width: 90%;
    }

    .glass-box h3[style*="white-space: nowrap"] {
        white-space: normal !important;
        font-size: 1rem !important;
    }

    .tiers-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .case-study-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .global-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 40px 25px !important;
        margin-top: 60px !important;
        width: 100% !important;
        border-radius: 30px !important;
    }

    .tier-card {
        padding: 40px 25px !important;
        margin: 0 auto;
        width: 100%;
        max-width: 450px;
    }

    .tier-card h3 {
        font-size: 1.8rem !important;
    }

    .tier-card div[style*="font-size: 4rem"] {
        font-size: 2.5rem !important;
    }

    .case-study-grid div {
        margin-bottom: 30px;
    }

    .services-list-grid {
        gap: 60px !important;
    }
}

/* Dashboard Styles */
.dashboard-container {
    display: flex;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 120px;
    /* Space for standard floating navbar */
}

@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }

    .sidebar {
        width: 280px;
        height: 100vh;
        position: fixed;
        top: 0;
        border-right: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        padding: 30px 20px;
        gap: 0;
        z-index: 2000;
    }

    .main-content {
        padding: 5px 20px !important;
    }
}

.sidebar {
    width: 280px;
    background: var(--bg-alt);
    border-right: 1px solid var(--border);
    padding: 30px 20px;
    position: sticky;
    top: 70px;
    /* Exactly below volt-header */
    height: calc(100vh - 70px);
    overflow-y: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.main-content {
    padding: 40px;
    flex: 1;
    width: 100%;
    /* Ensure full width on mobile */
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.sidebar-link i {
    width: 25px;
    font-size: 1.1rem;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: rgba(197, 160, 89, 0.1);
    /* Primary with opacity */
    color: var(--primary);
}

.section-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.section-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Responsive Dashboard Grids */
.dashboard-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-split-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 1200px) {
    .dashboard-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {

    .dashboard-grid-3,
    .dashboard-grid-4,
    .dashboard-split-2-1 {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .data-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.stat-card {
    background: var(--card-bg);
    padding: 24px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

/* Mockup Chart Styles */
.mock-chart {
    width: 100%;
    position: relative;
}

.mock-chart-container {
    padding: 30px 20px 20px 40px;
    background: rgba(var(--bg-main-rgb), 0.3);
    border-radius: 15px;
    border: 1px solid var(--border);
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}

/* Background Grids */
.chart-grid {
    position: absolute;
    inset: 30px 20px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    pointer-events: none;
    z-index: 0;
}

.grid-line {
    width: 100%;
    height: 1px;
    background: var(--border);
    opacity: 0.3;
}

/* Axis Labels */
.chart-y-axis {
    position: absolute;
    left: 10px;
    top: 30px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: right;
    width: 25px;
}

.chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

/* Bar Chart Mockup */
.mock-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 180px;
    position: relative;
    z-index: 1;
}

.mock-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary), var(--primary-dark));
    border-radius: 6px 6px 2px 2px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 20px;
}

.mock-bar:hover {
    filter: brightness(1.2);
    transform: scaleX(1.1);
    z-index: 2;
}

.mock-bar::after {
    content: attr(data-value);
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mock-bar:hover::after {
    opacity: 1;
}

/* Donut Chart Mockup */
.mock-donut-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 10px;
}

.mock-donut {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) 0% 65%,
            var(--info) 65% 85%,
            var(--warning) 85% 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mock-donut:hover {
    transform: rotate(15deg) scale(1.05);
}

.mock-donut::after {
    content: '';
    width: 70%;
    height: 70%;
    background: var(--card-bg);
    border-radius: 50%;
    position: absolute;
    box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mock-donut-info {
    z-index: 1;
    text-align: center;
}

.mock-donut-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 500;
}

.legend-color {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Line Chart Mockup (SVG based) */
.mock-line-chart {
    height: 180px;
    width: 100%;
    position: relative;
    z-index: 1;
}

.mock-line-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: dash 3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dash {
    to {
        stroke-dashoffset: 0;
    }
}

.mock-line-dots circle {
    fill: var(--card-bg);
    stroke: var(--primary);
    stroke-width: 2;
    transition: r 0.3s ease;
    cursor: pointer;
}

.mock-line-dots circle:hover {
    r: 6;
    fill: var(--primary);
}

/* Activity Grid (Commit Map style) */
.mock-activity-grid {
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    gap: 4px;
}

.activity-cell {
    aspect-ratio: 1;
    border-radius: 3px;
    background: rgba(var(--primary-rgb, 197, 160, 89), 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.activity-cell:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px var(--primary);
    z-index: 1;
}

.activity-cell.level-1 {
    background: rgba(197, 160, 89, 0.35);
}

.activity-cell.level-2 {
    background: rgba(197, 160, 89, 0.65);
}

.activity-cell.level-3 {
    background: rgba(197, 160, 89, 0.95);
}

/* Activity Legend */
.activity-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 15px;
    font-size: 0.65rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .mock-donut-container {
        flex-direction: column;
    }

    .dashboard-grid-3,
    .dashboard-grid-4 {
        gap: 15px;
    }

    .mock-bar-chart {
        height: 150px;
        gap: 6px;
    }

    .mock-bar {
        min-width: 10px;
    }
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.data-table th,
.data-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

[dir="rtl"] .data-table th,
[dir="rtl"] .data-table td {
    text-align: right;
}

/* RTL Specific Overrides */
[dir="rtl"] .nav-links {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* Mobile Nav Items hidden by default */
.mobile-nav-item {
    display: none;
}

/* Mobile Overrides & Fixes */
@media (max-width: 900px) {

    html,
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .navbar {
        width: 95% !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        height: 60px !important;
        top: 10px !important;
        padding: 5px 0 !important;
        border-radius: 16px !important;
        margin: 0 !important;
    }

    .navbar .container {
        padding: 0 15px !important;
    }

    .logo {
        font-size: 1.1rem !important;
    }

    .nav-links {
        display: none !important;
    }

    .nav-links.active {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background: var(--bg-main) !important;
        padding: 20px !important;
        border-radius: 16px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid var(--border) !important;
        z-index: 1000 !important;
    }

    .nav-actions {
        display: flex !important;
        gap: 10px;
    }

    .mobile-nav-item {
        display: block !important;
    }

    /* Force Flex Column Layout for Hero */
    .hero {
        display: flex !important;
        flex-direction: column !important;
        padding-top: 100px !important;
        height: auto !important;
        min-height: auto !important;
        justify-content: flex-start !important;
    }

    .hero .container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 30px !important;
    }

    .hero-title {
        font-size: 2.8rem !important;
        text-align: center !important;
        order: 1 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
    }

    .hero-image-vessel {
        position: relative !important;
        width: 100% !important;
        height: 300px !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        order: 2 !important;
        margin: 0 !important;
    }

    .hero-bottom-content {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        order: 3 !important;
        padding: 0 20px !important;
    }

    #menu-toggle {
        display: flex !important;
        margin-right: 15px;
    }

    .hero-description {
        font-size: 0.95rem !important;
        background: transparent !important;
        padding: 0 !important;
        backdrop-filter: none !important;
        border: none !important;
    }

    .material-hub {
        grid-template-columns: 1fr !important;
    }

    .hero-outline-text,
    .hero-sidebar,
    .hero-scroll-indicator {
        display: none !important;
    }
}

/* Dropdown System */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 10px;
    min-width: 180px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    /* Hidden by default */
    z-index: 1000;
    list-style: none;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px;
    color: var(--text-main);
    text-decoration: none;
    transition: background 0.3s;
    border-radius: 5px;
}

.dropdown-menu a:hover {
    background: var(--bg-alt);
    color: var(--primary);
}

/* Desktop Hover */
@media (min-width: 901px) {
    .nav-links li:hover .dropdown-menu {
        display: block;
        animation: fadeInUp 0.3s ease;
    }
}

/* Mobile Dropdown */
@media (max-width: 900px) {
    .dropdown-menu {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        background: rgba(125, 125, 125, 0.05);
        border: none;
        box-shadow: none;
        padding: 5px;
        margin-top: 5px;
        border-radius: 8px;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-toggle {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
}