/* Global Design Token Configuration Variables */
:root {
    --bg-primary: #0b0f17;
    --bg-secondary: #121824;
    --accent-color: #00ffcc;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(11, 15, 23, 0.7);
    --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
}

/* Glassmorphism Navigation Structure */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
    text-decoration: none;
    font-size: 1.2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.95rem;
    cursor: pointer ;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-invest {
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s var(--ease-premium);
}

.btn-invest:hover {
    background: var(--accent-color);
    color: var(--bg-primary);
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
}

/* UI Tags / Labels */
.section-tag {
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 3px;
    display: inline-block;
    margin-bottom: 15px;
}

/* Hero Presentation Component */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    overflow: hidden;
    background: radial-gradient(circle at 80% 20%, #1e293b 0%, var(--bg-primary) 70%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; 

    background: linear-gradient(
        135deg,
        rgba(11, 15, 23, 0.95) 0%,   
        rgba(11, 15, 23, 0.75) 50%,  
        rgba(18, 24, 36, 0.40) 100%  
    ), url('images/Background2.png') no-repeat center center/cover;
    
    filter: brightness(0.7) contrast(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 23, 0.2);
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10;
}

.hero-content h1 {
    font-size: 3.8rem;
    line-height: 1.1;
    font-weight: 800;
    margin: 20px 0;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 30%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}

.hero-actions button {
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--text-main);
    border: none;
    color: var(--bg-primary);
    text-decoration: none !important;
    display: inline-block; 
    text-align: center;    
    
    padding: 14px 28px;    
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-secondary:hover {
    border-color: var(--text-main);
}

/* General Base Content Section Layout */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 100px 40px;
}

/* About Layout with Structural Grid */
.about-section {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.highlight-text {
    font-size: 1.4rem;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.7;
}

.about-visual {
    height: 400px;
    border: 1px dashed var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
}

/* Fast Facts / Metric Elements Container */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.metric-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 50px 40px;
    border-radius: 8px;
    transition: transform 0.4s var(--ease-premium);
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 204, 0.2);
}

.metric-num {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.metric-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.metric-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Dynamic Logistics Interaction Grid Dashboard */
.logistics-dashboard {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    margin-top: 40px;
}

.vessel-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vessel-item {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vessel-item.active {
    border-color: var(--accent-color);
    background: rgba(0, 255, 204, 0.02);
}

.vessel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.vessel-id {
    font-weight: 700;
    font-size: 1.1rem;
}

.status-indicator {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 4px;
}

.status-indicator.live {
    background: rgba(0, 255, 204, 0.1);
    color: var(--accent-color);
}

.status-indicator.transit {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.vessel-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

.vessel-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-main);
    font-weight: 600;
}

.logistics-map {
    border: 1px solid var(--glass-border);
    background: linear-gradient(
        180deg,
        rgba(15, 20, 28, 0.40) 0%,
        rgba(15, 20, 28, 0.75) 100%
    ), url('images/Background1.png') no-repeat center center/cover;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px;
}

.map-node {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    position: relative;
    z-index: 5;
}

.map-node.base-hub {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.1);
}

/* Split-Screen Sticky Scrollytelling Setup */
.scrollytelling-container {
    display: flex;
    position: relative;
    width: 100%;
    background: var(--bg-secondary);
}

.left-text-panel {
    width: 50%;
    padding: 120px 8% 120px 40px;
    max-width: 720px;
    margin-left: auto;
}

.left-text-panel h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 60px;
}

.step-card {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.15;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-premium);
}

.step-card.active {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    display: block;
}

.step-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.step-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.right-image-panel {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.sticky-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.8s var(--ease-premium), transform 1.2s var(--ease-premium);
}

/* 🚀 STEP 1: BRIGHT VIBRANT PICTURE PATHS (DARK MASK REMOVED) */

#img-1 {
    background: url('images/Rig2.png') no-repeat center center/cover;
}

#img-2 {
    background: url('images/Building.png') no-repeat center center/cover;
}

#img-3 {
    background: url('images/Tech.png') no-repeat center center/cover;
}

#img-4 {
    background: url('images/Con.png') no-repeat center center/cover;
}



.slide-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* Infinite Looping Partner Ticker */
.partners-section {
    padding: 100px 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.ticker-wrap {
    width: 100%;
    background: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 30px 0;
    margin-top: 40px;
}

.ticker {
    display: flex;
    width: max-content;
    animation: loopTicker 25s linear infinite;
}

.ticker-item {
    padding: 0 50px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes loopTicker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Production Footer Structure Layout */
.main-footer {
    background: #06090e;
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
}

.footer-brand h3 {
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    max-width: 320px;
    line-height: 1.6;
}

.footer-links h4, .footer-contact h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 25px;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-main);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 15px;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 30px 40px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Global On-Scroll Reveal Utilities Handling */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s var(--ease-premium), transform 1.2s var(--ease-premium);
}

.scroll-reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hardware Accelerated Hero Text Transitions */
.text-reveal {
    animation: textFadeIn 1.4s var(--ease-premium) forwards;
}

@keyframes textFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Adaptive Viewports Media Breaks */
@media (max-width: 1024px) {
    .about-grid, .logistics-dashboard, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .scrollytelling-container {
        flex-direction: column;
    }
    .left-text-panel, .right-image-panel {
        width: 100%;
    }
    .right-image-panel {
        height: 50vh;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

.contact-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer ;
    transition: color 0.3s var(--ease-premium);
}

/* Hover accent matching your global neon green color token */
.contact-link:hover {
    color: var(--accent-color);
}

/* Default state: Hide the notification badge completely */
.toast-hidden {
    display: none;
    margin-left: 8px;
    color: var(--accent-color); /* Uses your premium green variable for the pop */
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}


