/* ========================================
   BTC Pipeline - Main Stylesheet
   Color Scheme: Deep Ocean Blue + Gold Accents
   ======================================== */

/* CSS Variables */
:root {
    --primary: #0f4c75;
    --primary-dark: #0a3d5c;
    --primary-light: #3282b8;
    --accent: #d4af37;
    --accent-light: #e8c547;
    --accent-dark: #b8960c;
    --secondary: #1b262c;
    --secondary-light: #2d3a42;
    --text: #1a1a2e;
    --text-light: #4a4a6a;
    --text-muted: #7a7a9a;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.section-header {
    margin-bottom: 48px;
}

.section-header.centered {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
}

.section-header.centered .section-subtitle {
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary);
	
}

.logo-img {
    height: 72px;
    width: auto;
    margin-right: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.logo-icon svg {
    width: 100%;
    height: 100%;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: var(--transition);
}

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

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

/* Language Switcher */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switcher {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--border-light);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.lang-option:hover {
    background: var(--bg-light);
}

.lang-option.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}

.lang-flag {
    font-size: 1.25rem;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a1929 0%, #0f2d3d 30%, #1a3a4a 60%, #0d2137 100%);
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(15, 76, 117, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px;
    color: var(--accent-light);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual - Pipeline Animation */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pipeline-illustration {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.pipeline-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 50%, var(--accent) 100%);
    border-radius: 2px;
    transform: translateY(-50%);
}

.pipeline-flow {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 30%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
    border-radius: 2px;
    transform: translateY(-50%);
    animation: flowAnimation 3s linear infinite;
}

@keyframes flowAnimation {
    0% { left: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 60%; opacity: 0; }
}

.pipeline-dot {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pipeline-image {
    
    object-fit: cover;
    border-radius: 12px;
}

.pipeline-dot.baku { left: 10%; }
.pipeline-dot.tbilisi { left: 50%; }
.pipeline-dot.ceyhan { left: 90%; }

.dot-pulse {
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}

.dot-pulse::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

.dot-pulse::after {
    content: '';
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite 0.5s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.dot-label {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    white-space: nowrap;
}

.pipeline-stats-float {
    position: absolute;
    bottom: 20%;
    right: 0;
    background: rgba(15, 76, 117, 0.9);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    border-radius: var(--radius);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.float-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.float-value {
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.float-unit {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* ========================================
   Statistics Section
   ======================================== */

.statistics {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
}

.statistics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    color: var(--primary);
}

.stat-icon svg {
    width: 100%;
    height: 100%;
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
}

.counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ========================================
   Pipelines Section
   ======================================== */

.pipelines {
    padding: 100px 0;
    background: white;
}

.pipelines-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.pipeline-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.pipeline-card:hover {
    box-shadow: var(--shadow-xl);
}

.pipeline-card.featured {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.pipeline-card.featured .pipeline-title,
.pipeline-card.featured .pipeline-description {
    color: white;
}

.pipeline-visual {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.pipeline-map {
    position: relative;
    width: 100%;
    height: 200px;
}

.map-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 100%);
    border-radius: 2px;
    transform: translateY(-50%);
}

.map-flow {
    position: absolute;
    top: 50%;
    left: 10%;
    width: 20%;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.8), transparent);
    border-radius: 2px;
    transform: translateY(-50%);
    animation: flowAnimation 4s linear infinite;
}

.map-point {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.map-point.start { left: 10%; }
.map-point.mid { left: 50%; }
.map-point.end { left: 90%; }

.point-marker {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3);
}

.point-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.pipeline-card:not(.featured) .point-name {
    color: var(--text);
    text-shadow: none;
}

.pipeline-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pipeline-badge {
    display: inline-block;
    padding: 6px 14px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
    margin-bottom: 16px;
    width: fit-content;
}

.pipeline-badge.secondary {
    background: var(--primary-light);
}

.pipeline-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--secondary);
}

.pipeline-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
}

.pipeline-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.metric-unit {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pipeline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.pipeline-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

.pipeline-link svg {
    transition: var(--transition);
}

/* ========================================
   Partners Section
   ======================================== */

.partners {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.partner-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.partner-logo {
    margin-bottom: 16px;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
}

.partner-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}

.partner-role {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   Awards Section
   ======================================== */

.awards {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    position: relative;
    overflow: hidden;
}

.awards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(15, 76, 117, 0.2) 0%, transparent 50%);
}

.awards .section-title {
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.awards .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.award-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.award-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
}

.award-card.featured {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-color: rgba(212, 175, 55, 0.4);
}

.award-card.featured:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
}

.award-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--accent);
}

.award-icon svg {
    width: 100%;
    height: 100%;
}

.award-year {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 100px;
    margin-bottom: 16px;
}

.award-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.award-description {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.award-decoration {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
}

/* ========================================
   News Section
   ======================================== */

.news {
    padding: 100px 0;
    background: white;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
}

.news-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.news-card.featured {
    grid-row: span 2;
}

.news-image {
    position: relative;
    overflow: hidden;
}

.news-card.featured .news-image {
    flex: 1;
    min-height: 300px;
}

.news-card:not(.featured) .news-image {
    height: 200px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.news-card:hover .image-placeholder {
    transform: scale(1.05);
}

.placeholder-content {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.placeholder-content svg {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    opacity: 0.5;
}

.placeholder-content span {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-date {
    position: absolute;
    top: 16px;
    left: 16px;
    background: white;
    border-radius: var(--radius);
    padding: 12px 16px;
    text-align: center;
    box-shadow: var(--shadow);
}

.date-day {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.date-month {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.news-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.news-category {
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 100px;
}

.news-date-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-card.featured .news-title {
    font-size: 1.5rem;
}

.news-excerpt {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    margin-top: auto;
}

.news-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

/* ========================================
   Footer
   ======================================== */

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

.footer-top {
    padding: 80px 0 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: white;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    color: var(--accent);
}

.footer-about {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
    display: inline-block;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

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

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .pipeline-illustration {
        max-width: 400px;
        height: 300px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pipeline-card {
        grid-template-columns: 1fr;
    }

    .pipeline-visual {
        min-height: 250px;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }

    .news-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .awards-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .pipeline-metrics {
        grid-template-columns: 1fr 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-card {
        padding: 24px;
    }

    .counter {
        font-size: 2rem;
    }

    .pipeline-content {
        padding: 24px;
    }

    .award-card {
        padding: 24px;
    }
}

/* ========================================
   Animations & Effects
   ======================================== */

[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-30px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Smooth scroll offset for fixed header */
html {
    scroll-padding-top: 80px;
}

/* Selection color */
::selection {
    background: var(--accent);
    color: var(--secondary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}


/* ========================================
   Multi-Page Styles
   ======================================== */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 120px 0 60px;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(15, 76, 117, 0.2) 0%, transparent 50%);
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.page-header p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* Content Sections */
.about-content,
.pipelines-detail,
.operations-content,
.safety-content,
.sustainability-content,
.news-content,
.careers-content,
.contact-content,
.technical-content,
.route-content,
.terminals-content,
.management-content,
.publications-content,
.legal-content {
    padding: 80px 0;
    background: white;
}

/* About Page */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-text h3 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    color: var(--primary);
}

.about-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.milestones {
    list-style: none;
    padding: 0;
}

.milestones li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-light);
}

.milestones li strong {
    color: var(--accent);
    font-weight: 700;
    margin-right: 8px;
}

.about-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.info-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
}

.info-card h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 8px 0;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-light);
}

.info-card li span:first-child {
    font-weight: 600;
    color: var(--text);
}

/* Pipelines Detail Page */
.pipeline-full {
    margin-bottom: 64px;
}

.pipeline-full h2 {
    font-size: 2rem;
    margin-bottom: 32px;
    color: var(--secondary);
}

.pipeline-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.stat-box {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-unit {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
    margin: 4px 0;
}

.stat-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.section-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.section-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
}

.section-card h4 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.section-card p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.scp-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    color: white;
}

.scp-section h2 {
    color: white;
    margin-bottom: 16px;
}

.scp-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 700px;
}

.scp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 500px;
}

.scp-stats .stat-box {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.scp-stats .stat-number {
    color: white;
}

.scp-stats .stat-unit {
    color: var(--accent);
}

.scp-stats .stat-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* Operations Page */
.operations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.operation-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.operation-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.operation-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.operation-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Safety Page */
.safety-intro {
    max-width: 800px;
    margin-bottom: 48px;
}

.safety-intro p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.safety-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.safety-area {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
}

.safety-area h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.safety-area p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.safety-area ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-light);
}

.safety-area li {
    margin-bottom: 8px;
}

/* Sustainability Page */
.sustainability-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.pillar {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pillar:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.pillar h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 16px;
}

.pillar p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.pillar ul {
    list-style: none;
    padding: 0;
}

.pillar li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
}

.pillar li:before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    margin-right: 8px;
}

/* News Page */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.news-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.news-item .news-date {
    position: static;
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    color: white;
    flex-shrink: 0;
}

.news-item .date-day {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.news-item .date-month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-body h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.news-body p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 12px;
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-dark);
}

/* Careers Page */
.careers-intro {
    max-width: 800px;
    margin-bottom: 48px;
}

.careers-intro p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.7;
}

.job-listings h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.job-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
    transition: var(--transition);
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.job-card h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.job-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.job-meta span {
    font-size: 0.875rem;
    color: var(--text-muted);
    background: white;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid var(--border);
}

.job-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.apply-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info-section h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 32px;
}

.contact-block {
    margin-bottom: 32px;
}

.contact-block h3 {
    font-size: 1.125rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.contact-block p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 4px;
}

.contact-form-section h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 32px;
}

.contact-form {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--text);
    background: white;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Technical Page */
.specs-table {
    max-width: 900px;
    margin: 0 auto;
}

.specs-table h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 32px;
    text-align: center;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.specs-table th {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 16px 24px;
    text-align: left;
    font-weight: 600;
}

.specs-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-light);
}

.specs-table tr:hover td {
    background: var(--bg-light);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

/* Route Page */
.route-description h2 {
    font-size: 1.75rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.route-description p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 800px;
}

.route-description h3 {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.waypoints {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.waypoint {
    display: flex;
    gap: 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.waypoint:hover {
    transform: translateX(8px);
    border-color: var(--accent);
}

.point-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.point-info h4 {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 4px;
}

.point-info p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

/* Terminals Page */
.terminals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.terminal-card {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.terminal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent);
}

.terminal-card h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.terminal-card .location {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
    margin-bottom: 16px;
    display: block;
}

.terminal-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.terminal-card ul {
    list-style: none;
    padding: 0;
}

.terminal-card li {
    padding: 8px 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9375rem;
}

.terminal-card li:before {
    content: '•';
    color: var(--accent);
    font-weight: 700;
    margin-right: 8px;
}

/* Management Page */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-member {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.member-photo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.team-member h3 {
    font-size: 1.125rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.team-member p {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Publications Page */
.publications-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.publication-item {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.publication-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.publication-item h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.pub-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.publication-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
}

.download-link:hover {
    gap: 12px;
    color: var(--accent-dark);
}

/* Legal Pages (Privacy, Terms, Cookies) */
.legal-text {
    max-width: 800px;
    margin: 0 auto;
}

.legal-text h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin: 32px 0 16px;
}

.legal-text h2:first-child {
    margin-top: 0;
}

.legal-text p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-text ul {
    list-style: disc;
    padding-left: 24px;
    color: var(--text-light);
    margin-bottom: 16px;
}

.legal-text li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ========================================
   Responsive Multi-Page
   ======================================== */

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-sidebar {
        position: static;
    }

    .pipeline-stats-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-cards {
        grid-template-columns: 1fr;
    }

    .operations-grid,
    .safety-areas,
    .sustainability-pillars,
    .terminals-grid,
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .waypoints {
        grid-template-columns: 1fr;
    }

    .scp-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .pipeline-stats-row,
    .operations-grid,
    .safety-areas,
    .sustainability-pillars,
    .terminals-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .news-item {
        grid-template-columns: 1fr;
    }

    .news-item .news-date {
        width: 100%;
        height: auto;
        padding: 12px;
        flex-direction: row;
        gap: 8px;
    }

    .specs-table {
        overflow-x: auto;
    }

    .specs-table table {
        min-width: 600px;
    }
    
   
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.hero-visual .video-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-visual .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Mobile fix */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
        width: 100%;
        padding: 0 16px;
    }
    
    .hero-visual .video-container {
        max-width: 100%;
        border-radius: 12px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero-visual .video-container {
        border-radius: 8px;
    }
}
