﻿:root {
    --primary: #f59e0b;          /* Caterpillar Marine Warm Gold */
    --primary-dark: #d97706;     /* Deep Industrial Amber */
    --primary-glow: rgba(245, 158, 11, 0.25);
    --secondary: #0a2540;        /* Marinise Deep Marine Navy */
    --secondary-dark: #06192d;
    --secondary-surface: #0f3254;
    --ocean-blue: #0284c7;       /* Marinise Ocean Blue */
    --ocean-blue-hover: #0369a1;
    --gold-accent: #c89b3c;
    --bg-light: #f8fafc;
    --bg-card: #ffffff;
    --text-dark: #0f172a;        /* Deep Slate Headings */
    --text-body: #334155;        /* Slate Body */
    --text-light: #64748b;       /* Muted Subtext */
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --border-focus: #0284c7;
    --radius-sm: 8px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.05);
    --shadow: 0 4px 15px -2px rgba(10, 37, 64, 0.06), 0 2px 6px -1px rgba(10, 37, 64, 0.04);
    --shadow-lg: 0 20px 40px -12px rgba(10, 37, 64, 0.12), 0 8px 16px -6px rgba(10, 37, 64, 0.06);
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font);
    background-color: var(--bg-light);
    color: var(--text-body);
    line-height: 1.65;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

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

/* Typography */
h1, h2, h3, h4 {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: -0.025em;
}

p {
    color: var(--text-body);
}

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

a:hover {
    color: var(--ocean-blue-hover);
}

.text-center { text-align: center; }
.mt-sm { margin-top: 16px; }
.mt-md { margin-top: 32px; }
.mt-lg { margin-top: 48px; }
.w-full { width: 100%; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 8px;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background-color: #ffffff;
    color: var(--secondary);
    border: 1.5px solid var(--border-strong);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: #f8fafc;
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.btn-call {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background-color: rgba(2, 132, 199, 0.08);
    color: var(--ocean-blue);
    border: 1px solid rgba(2, 132, 199, 0.25);
    padding: 8px clamp(10px, 1vw, 16px);
    font-size: clamp(0.8rem, 0.88vw, 0.88rem);
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.btn-call:hover {
    background-color: var(--ocean-blue);
    border-color: var(--ocean-blue);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

/* Header */
.header {
    height: 82px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(10, 37, 64, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    flex-wrap: nowrap !important;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    height: clamp(38px, 4vw, 46px);
    max-width: 180px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(6px, 1.1vw, 15px) !important;
    flex-wrap: nowrap !important;
    flex-shrink: 0;
}

.nav a {
    color: var(--text-body);
    font-size: clamp(0.78rem, 0.88vw, 0.88rem) !important;
    font-weight: 600;
    padding: 6px clamp(4px, 0.6vw, 10px) !important;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap !important;
}

.nav a:hover {
    color: var(--ocean-blue);
    background-color: rgba(2, 132, 199, 0.06);
}

/* Navigation Dropdown (Uzmanlıklar) */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 25px;
    pointer-events: auto;
}

.nav-item-dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: clamp(0.78rem, 0.88vw, 0.88rem) !important;
    font-weight: 600;
    color: var(--text-body);
    padding: 6px clamp(4px, 0.6vw, 10px) !important;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap !important;
}

.nav-item-dropdown .dropdown-toggle:hover,
.nav-item-dropdown:hover .dropdown-toggle,
.nav-item-dropdown.dropdown-open .dropdown-toggle {
    color: var(--ocean-blue);
    background-color: rgba(2, 132, 199, 0.06);
}

.nav-item-dropdown .nav-arrow {
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.nav-item-dropdown:hover .nav-arrow,
.nav-item-dropdown.dropdown-open .nav-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 290px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 16px 36px rgba(10, 25, 47, 0.16);
    border: 1px solid var(--border-light);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1100;
    display: flex;
    flex-direction: column;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    transform: rotate(45deg);
    border-left: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
}

@media (min-width: 993px) {
    .nav-item-dropdown:hover .dropdown-menu,
    .nav-item-dropdown:focus-within .dropdown-menu,
    .nav-item-dropdown.dropdown-open .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
        display: flex !important;
    }
}

.dropdown-item {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 11px 20px !important;
    color: #0a2540 !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    transition: all 0.2s ease;
    text-decoration: none !important;
    border-bottom: none !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 0 !important;
}

.dropdown-item i {
    color: var(--gold-accent);
    width: 18px;
    text-align: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.dropdown-item:hover {
    background: #f8fafc !important;
    color: var(--ocean-blue) !important;
    padding-left: 24px !important;
}

@media (max-width: 992px) {
    .nav-item-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item-dropdown .dropdown-toggle {
        font-size: 1.15rem;
        padding: 10px 0;
        width: 100%;
        justify-content: center;
        border-bottom: 1px solid #f1f5f9;
        color: var(--text-dark);
    }
    
    .nav-item-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        margin-top: 6px;
        padding: 6px 0;
        display: none;
        border-radius: 8px;
        width: 100%;
    }
    
    .nav-item-dropdown .dropdown-menu::before {
        display: none;
    }
    
    .nav-item-dropdown.dropdown-open .dropdown-menu {
        display: flex;
    }
    
    .nav-item-dropdown .dropdown-item {
        justify-content: flex-start;
        padding: 10px 16px !important;
        font-size: 0.95rem !important;
    }
}

.header-actions-right {
    flex-shrink: 0 !important;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 16px) !important;
    white-space: nowrap !important;
    flex-wrap: nowrap !important;
}

.header-cta {
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    padding: 2px 6px;
    transition: var(--transition);
}

.lang-btn:hover {
    color: var(--text-dark);
}

.lang-btn.active {
    color: var(--secondary);
}

.lang-divider {
    color: var(--border);
    font-size: 0.7rem;
    pointer-events: none;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    overflow: hidden;
    min-height: 700px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.1rem;
    line-height: 1.15;
    margin: 16px 0 24px;
    color: var(--text-dark);
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
    color: var(--text-light);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(10, 37, 64, 0.06);
    color: var(--secondary);
    border: 1px solid rgba(10, 37, 64, 0.12);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.hero-feature-item i {
    font-size: 1.1rem;
    color: var(--primary);
}

/* Premium Form Card */
.card-form {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 34px;
    box-shadow: var(--shadow-lg);
}

.hero-form h3 {
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--secondary);
    letter-spacing: -0.3px;
}

.form-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 24px;
    color: var(--text-light);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background-color: #f8fafc;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-family: var(--font);
    font-size: 0.92rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.18);
}

/* Sections */
.section {
    padding: 100px 0;
    position: relative;
}

.sub-title {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.section h2 {
    font-size: 2.3rem;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-desc {
    max-width: 680px;
    margin: 0 auto;
    font-size: 1rem;
    color: var(--text-light);
}

/* Grid templates */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

/* Solution Cards */
.solution-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.solution-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(5, 40, 68, 0.15);
}

/* Dark Marine Section Styling */
.section-dark-marine {
    background: linear-gradient(135deg, #091e34 0%, #0d2e4f 50%, #06182a 100%) !important;
    color: #ffffff !important;
}

.section-dark-marine .sub-title {
    color: #f59e0b !important;
}

.section-dark-marine h2 {
    color: #ffffff !important;
}

.section-dark-marine .section-desc {
    color: #cbd5e1 !important;
}

.section-dark-marine .solution-card {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25) !important;
}

.section-dark-marine .solution-card:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #f59e0b !important;
    transform: translateY(-4px);
}

.section-dark-marine .solution-card h3 {
    color: #ffffff !important;
}

.section-dark-marine .solution-card .sol-card-icon {
    background: rgba(245, 158, 11, 0.18) !important;
    color: #f59e0b !important;
}

.sol-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background-color: rgba(5, 40, 68, 0.04);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.solution-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Preferred Card Showcase (Service vitrin) */
.preferred-card {
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
}

.preferred-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(5, 40, 68, 0.15);
}

.pref-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 204, 0, 0.1);
    color: #b28900;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

.pref-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-right: 70px;
}

.pref-desc {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--text-light);
    margin-bottom: 20px;
}

.pref-specs {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-bottom: 20px;
}

.pref-spec-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    margin-bottom: 8px;
}

.pref-spec-item .label {
    color: var(--text-light);
    font-weight: 500;
}

.pref-spec-item .val {
    color: var(--text-dark);
    font-weight: 600;
}

.text-success {
    color: #22c55e !important;
}

/* Engine Models Selection Grid */
.model-selection-grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
}

.model-tab {
    padding: 10px 24px;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.model-tab:hover,
.model-tab.active {
    background-color: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
    box-shadow: 0 4px 15px rgba(5, 40, 68, 0.2);
}

.model-details-card {
    padding: 40px;
    margin-top: 24px;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.gold-text {
    color: #c29c00;
}

/* 19 Technical Systems Grid Layout */
.systems-grid-layout {
    display: grid;
    grid-template-columns: 0.35fr 0.65fr;
    gap: 30px;
    min-height: 520px;
}

.systems-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 550px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.sys-tab-btn {
    width: 100%;
    padding: 14px 20px;
    background-color: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.sys-tab-btn:hover {
    background-color: #f8fafc;
    color: var(--text-dark);
}

.sys-tab-btn.active {
    background-color: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
}

.systems-content-display {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Interactive CAT ET Simulator (Dark terminal style dashboard) */
.simulator-wrapper {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    border: 1px solid #1e293b;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.sim-sidebar {
    background-color: #0f172a;
    border-right: 1px solid #1e293b;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sim-sidebar-title {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding-left: 8px;
}

.sim-menu-btn {
    width: 100%;
    padding: 12px 16px;
    background: none;
    border: none;
    border-radius: var(--radius);
    color: #94a3b8;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.sim-menu-btn:hover:not(:disabled) {
    background-color: rgba(255, 255, 255, 0.04);
    color: #f8fafc;
}

.sim-menu-btn.active {
    background-color: var(--primary);
    color: #0f172a;
}

.sim-menu-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.sim-screen {
    background-color: #1e293b;
    padding: 40px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
}

.sim-tab {
    display: none;
    width: 100%;
    height: 100%;
}

.sim-tab.active {
    display: block;
}

.sim-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 280px;
    text-align: center;
}

.sim-status-indicator {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 20px;
}

.sim-status-indicator.disconnected {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.sim-status-indicator.loading {
    background-color: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    animation: spin 2s linear infinite;
}

.sim-status-indicator.connected {
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.sim-center-content h4 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

/* Cylinder cutout grid */
.cylinder-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.cylinder {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid #334155;
    border-radius: var(--radius);
    padding: 16px 8px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: #94a3b8;
    transition: var(--transition);
}

.cylinder.active {
    background-color: rgba(34, 197, 94, 0.1);
    border-color: #22c55e;
    color: #22c55e;
}

.cylinder.testing {
    background-color: rgba(245, 158, 11, 0.2);
    border-color: #f59e0b;
    color: #f59e0b;
}

.cylinder.cutout {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    color: #ef4444;
}

.test-status-msg {
    font-size: 0.88rem;
    font-family: var(--font-mono);
    color: #22c55e;
}

/* Telemetry screen */
.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 16px;
}

.tel-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid #334155;
    border-radius: var(--radius);
    padding: 20px;
}

.tel-card span {
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
}

.tel-card h3 {
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 1.8rem;
    margin: 8px 0 12px;
}

.tel-progress-bg {
    height: 4px;
    background-color: #334155;
    border-radius: 2px;
    overflow: hidden;
}

.tel-progress-bar {
    height: 100%;
    background-color: var(--primary);
    transition: width 0.8s ease;
}

/* Active Fault Code Items */
.sim-code-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.sim-code-item {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid #334155;
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sim-code-item.danger {
    border-left: 4px solid #ef4444;
}

.sim-code-item.warning {
    border-left: 4px solid #f59e0b;
}

.code-id {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: #f8fafc;
}

.code-details strong {
    display: block;
    color: #ffffff;
    font-size: 0.88rem;
}

.code-details p {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Blue Action Banner */
.section-blue-gradient {
    background: linear-gradient(135deg, #052844 30%, #FFCC00 200%);
    border-top: 1px solid rgba(255,255,255,0.08);
}

.section-blue-gradient .sub-title {
    color: var(--primary);
}

.section-blue-gradient h2,
.section-blue-gradient p {
    color: #ffffff;
}

/* Footer Section */
.footer {
    background-color: #052844;
    padding: 80px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

.footer-brand p {
    margin: 16px 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
}

.footer-contact i {
    color: var(--primary);
}

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

.disclaimer-text {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
}

.disclaimer-text p {
    font-size: 0.76rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}

.footer-copyright p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid var(--border);
    padding: 40px;
    max-width: 480px;
    margin: 15% auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.modal-content h3 {
    margin-bottom: 8px;
    font-size: 1.4rem;
    color: var(--text-dark);
}

.modal-content p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-light);
}

/* Responsive Overrides (max-width: 1024px) */
@media (max-width: 1024px) {
    .mobile-cta-bar {
        display: grid !important;
    }
    body {
        padding-bottom: 64px !important;
    }
    .section {
        padding: 60px 0;
    }
    .header {
        height: 74px;
    }
    .header-container {
        padding: 0 16px;
    }
    .logo {
        margin-right: auto;
    }
    .logo-img {
        height: 38px;
    }
    .nav {
        display: none;
    }
    .nav.active {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: absolute;
        top: 74px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        border-bottom: 2px solid var(--secondary);
        padding: 32px 24px;
        gap: 20px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }
    .nav.active a {
        font-size: 1.15rem;
        color: var(--text-dark);
        padding: 10px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--border);
        font-weight: 600;
        text-decoration: none;
    }
    .nav.active a:last-child {
        border-bottom: none;
    }
    .nav-toggle {
        display: flex;
    }
    .header-actions-right {
        gap: 12px;
        margin-right: 12px;
    }
    .header-cta {
        display: none;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-form-wrapper {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .hero-features {
        align-items: center;
    }
    .grid-3, .grid-2 {
        grid-template-columns: 1fr;
    }
    .hero-content h1 {
        font-size: 2.1rem;
    }
    .model-details-card {
        padding: 20px 16px;
    }
    .systems-grid-layout {
        grid-template-columns: 1fr;
    }
    .systems-sidebar-list {
        max-height: 250px;
    }
    .simulator-wrapper {
        grid-template-columns: 1fr;
    }
    .sim-sidebar {
        border-right: none;
        border-bottom: 1px solid #1e293b;
    }
    .telemetry-grid {
        grid-template-columns: 1fr;
    }
    .cylinder-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
        margin-bottom: 40px;
    }
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-brand .logo {
        justify-content: center;
    }
    .footer-contact p {
        justify-content: center;
    }
    .footer-social-icons {
        justify-content: center;
    }
    .footer-copyright {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        justify-content: center;
    }
}

/* Footer Enhancements */
.footer-social-icons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-social-icons a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-icons a:hover {
    background-color: var(--primary);
    color: #111827 !important;
    transform: translateY(-2px);
    border-color: var(--primary);
}

.working-hours p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.8rem;
    line-height: 1.6;
}

.working-hours p strong {
    color: #ffffff;
}

/* Premium Service Card Icon Style (CRO Boost) */
.service-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(5, 40, 68, 0.05);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

.preferred-card:hover .service-card-icon {
    background-color: var(--primary);
    color: #111827;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 16px rgba(255, 204, 0, 0.25);
}

/* Adjust card layout to have proper spacing */
.preferred-card {
    min-height: 420px !important;
    padding: 36px 28px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pref-title {
    margin-top: 8px;
    font-size: 1.25rem !important;
    line-height: 1.4;
    font-weight: 700;
}


/* responsive grid-4 for why us section */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* Faaliyet Alanları tab styling */
.faaliyet-tab-btn {
    border-bottom: 3px solid transparent !important;
}
.faaliyet-tab-btn.active {
    color: var(--secondary) !important;
    border-bottom-color: var(--primary) !important;
}


/* Fix Turkish browser uppercase 'i' to 'I' casing bug for English text */
html[lang="en"] .badge,
html[lang="en"] .sub-title,
html[lang="en"] .pref-badge,
html[lang="en"] .footer h4 {
    text-transform: none !important;
}

/* ==========================================================================
   VESSEL SEGMENTS & ACTIVITY SECTORS (HOMEPAGE MATCHING 6 SEGMENT CARDS)
   ========================================================================== */
.segments-section {
  background: #ffffff;
  border-top: 1px solid rgba(13, 71, 161, 0.08);
  border-bottom: 1px solid rgba(13, 71, 161, 0.08);
  padding: 85px 0;
}

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 36px;
}

@media (max-width: 992px) {
  .segments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

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

.segment-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg, 14px);
  padding: 30px 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.segment-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--ocean-blue, #0284c7);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.segment-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(11, 31, 56, 0.1);
  border-color: var(--ocean-blue, #0284c7);
}

.segment-card:hover::before {
  opacity: 1;
}

.segment-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.segment-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--ocean-blue, #0284c7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: all 0.25s ease;
}

.segment-card:hover .segment-icon-box {
  background: var(--ocean-blue, #0284c7);
  color: #ffffff;
  transform: scale(1.05);
}

.segment-category-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: #fef3c7;
  padding: 4px 10px;
  border-radius: 9999px;
}

.segment-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--secondary, #0a2540);
  margin-bottom: 10px;
  line-height: 1.3;
}

.segment-desc {
  font-size: 0.88rem;
  color: var(--text-light, #64748b);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.segment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #f1f5f9;
  padding-top: 14px;
}

.segment-pills li {
  font-size: 0.76rem;
  font-weight: 600;
  color: #334155;
  background: #f1f5f9;
  padding: 4px 11px;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.segment-card:hover .segment-pills li {
  background: #e0f2fe;
  color: #0369a1;
}

/* ==========================================================================
   PERSISTENT FLOATING WHATSAPP BUTTON (DESKTOP & MOBILE)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #ffffff !important;
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #25d366;
  border-radius: 50%;
  z-index: -1;
  opacity: 0.6;
  animation: wa-pulse 2.2s infinite ease-out;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.4);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 84px; /* Keeps clear of mobile bottom CTA bar */
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
}



/* MOBILE OVERFLOW SHIELD */
html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
    position: relative;
}
*, *::before, *::after {
    max-width: 100%;
    box-sizing: border-box;
}
img, svg, video, canvas, iframe {
    max-width: 100% !important;
    height: auto;
}
.cookie-banner {
    max-width: calc(100vw - 24px) !important;
    box-sizing: border-box !important;
}
@media (max-width: 768px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden;
    }
}
