/* ==========================================================================
   TOPRAKLAR GÜMRÜK MÜŞAVİRLİĞİ VE DIŞ TİCARET DANIŞMANLIĞI
   High-End Light & Logistics Corporate Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Colors - Light & Logistics Theme */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-elevated: rgba(255, 255, 255, 0.95);
  
  /* Brand Typography & Core */
  --navy-deep: #0B192C;
  --navy-slate: #1E293B;
  --navy-subtle: #334155;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-light: #94A3B8;

  /* Logistics Accents */
  --sea-blue: #0284C7;        /* Ocean Maritime */
  --sea-light: #38BDF8;
  --sea-glow: #BAE6FD;
  --sea-ice: #F0F9FF;
  
  --sky-cyan: #0EA5E9;        /* Sky Air Freight */
  --sky-turquoise: #06B6D4;
  --sky-mint: #14B8A6;
  --sky-ice: #ECFEFF;
  
  --land-slate: #475569;      /* Land Logistics & Transport */
  --land-dark: #1E293B;
  --land-muted: #E2E8F0;
  
  --accent-gold: #D97706;     /* Premium Corporate Accent */
  --accent-gold-light: #FEF3C7;
  --success: #10B981;
  --danger: #EF4444;

  /* Borders & Dividers */
  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #0284C7;
  --border-glass: rgba(226, 232, 240, 0.85);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px -1px rgba(15, 23, 42, 0.07), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -12px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 24px rgba(2, 132, 199, 0.15);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Dimensions */
  --header-height: 84px;
  --topbar-height: 40px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--sea-blue);
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-deep);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p {
  color: var(--text-secondary);
  font-size: 1.025rem;
  font-weight: 400;
  line-height: 1.7;
}

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

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

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

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

/* Badge & Utility Classes */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-blue {
  background: var(--sea-ice);
  color: var(--sea-blue);
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.badge-cyan {
  background: var(--sky-ice);
  color: var(--sky-turquoise);
  border: 1px solid rgba(6, 182, 212, 0.25);
}

.badge-gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.badge-pulse::before {
  content: '';
  width: 7px;
  height: 7px;
  background-color: currentColor;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.95); opacity: 0.9; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--sea-blue) 0%, #0369A1 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369A1 0%, #075985 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--navy-deep);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: #CBD5E1;
  transform: translateY(-2px);
  color: var(--sea-blue);
}

.btn-accent {
  background: linear-gradient(135deg, var(--sky-turquoise) 0%, var(--sea-blue) 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(6, 182, 212, 0.45);
}

.btn-white {
  background: #FFFFFF;
  color: var(--sea-blue);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--sea-ice);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
  border-radius: 6px;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.05rem;
  border-radius: 10px;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.topbar {
  background: var(--navy-deep);
  color: #94A3B8;
  font-size: 0.82rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: var(--sea-light);
}

.topbar-item svg {
  color: var(--sea-light);
  width: 14px;
  height: 14px;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.topbar-socials a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all var(--transition-fast);
}

.topbar-socials a:hover {
  color: #FFFFFF;
  background: rgba(2, 132, 199, 0.45);
  border-color: #38BDF8;
  transform: translateY(-1px);
}

.topbar-socials a svg {
  width: 14px;
  height: 14px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94A3B8;
  transition: all var(--transition-fast);
}

.footer-social-btn:hover {
  color: #FFFFFF;
  background: var(--sea-blue);
  border-color: var(--sea-light);
  transform: translateY(-2px);
}

/* Language Switcher */
.lang-switcher {
  position: relative;
  cursor: pointer;
  user-select: none;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  color: #FFFFFF;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: rgba(255, 255, 255, 0.45);
}

.flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.2), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  padding: 8px;
  display: none;
  z-index: 1005;
  list-style: none;
  animation: fadeInDown 0.2s ease-out forwards;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  width: 172px;
}

.lang-dropdown.show {
  display: grid;
}

.lang-dropdown li {
  display: flex;
}

.lang-dropdown li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 5px 3px;
  background: var(--bg-secondary);
  border: 1.5px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-dropdown li a:hover {
  background: var(--sea-ice);
  border-color: var(--sea-light);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(2, 132, 199, 0.15);
}

.lang-dropdown li a.active {
  background: #EFF6FF;
  border-color: #0284C7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.25);
}

.flag-dropdown-img {
  width: 28px;
  height: 19px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Mobile Flag Bar */
.mobile-flag-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 0 16px 0;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.mobile-flag-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  background: var(--bg-secondary);
  transition: all var(--transition-fast);
}

.mobile-flag-bar a.active {
  border-color: #0284C7;
  background: #EFF6FF;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

/* ==========================================================================
   Main Header & Sticky Navbar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-glass);
  z-index: 1000;
  height: var(--header-height);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: var(--bg-glass-elevated);
  box-shadow: var(--shadow-md);
  height: 74px;
}

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

/* Brand Logo */

/* Brand Logo Image */
.brand-logo-img {
  height: 56px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent;
  border: none;
  outline: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 58px;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.mobile-drawer-header .brand-logo-img {
  height: 44px;
  width: auto;
  max-width: 50px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--sea-blue) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  position: relative;
  overflow: hidden;
}

.logo-symbol::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 60%);
  animation: rotate 10s linear infinite;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy-deep);
  line-height: 1.1;
}

.logo-title span {
  color: var(--sea-blue);
}

.logo-tagline {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 2px;
}

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

.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy-slate);
  padding: 8px 4px;
  position: relative;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sea-blue);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
  border-radius: 2px;
}

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

/* Nav Item With Dropdown */
.nav-item-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-arrow {
  transition: transform var(--transition-fast);
  font-size: 0.75rem;
}

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

/* Services Mega Dropdown */
.services-mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: 980px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 24px;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  z-index: 1010;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-dropdown:hover .services-mega-menu {
  display: grid;
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

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

.mega-column-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--border-subtle);
  margin-bottom: 4px;
}

.mega-col-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--sea-ice);
  color: var(--sea-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.mega-col-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mega-service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-service-item a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.mega-service-item a:hover {
  background: var(--bg-secondary);
  transform: translateX(4px);
}

.service-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sea-blue);
  background: var(--sea-ice);
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
}

.service-meta {
  display: flex;
  flex-direction: column;
}

.service-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.35;
}

.mega-service-item a:hover .service-name {
  color: var(--sea-blue);
}

.service-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.25;
  margin-top: 2px;
}

/* Mega Menu Footer Banner */
.mega-footer-banner {
  grid-column: span 3;
  margin-top: 10px;
  padding: 12px 18px;
  background: linear-gradient(90deg, var(--sea-ice) 0%, var(--sky-ice) 100%);
  border-radius: 8px;
  border: 1px solid rgba(2, 132, 199, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-footer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-deep);
}

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

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy-deep);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  margin: 5px 0;
  background-color: var(--navy-deep);
  transition: all var(--transition-fast);
  border-radius: 2px;
}

/* Mobile Navigation Drawer */
.mobile-menu-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -8px 0 32px rgba(15, 23, 42, 0.2);
  z-index: 2000;
  overflow-y: auto;
  transition: right var(--transition-normal);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-menu-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 20px;
}

.mobile-drawer-close {
  background: var(--bg-tertiary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--navy-deep);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-services-accordion {
  margin: 8px 0;
}

.mobile-services-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-services-content {
  display: none;
  padding: 10px 0 10px 12px;
  flex-direction: column;
  gap: 8px;
}

.mobile-services-content.open {
  display: flex;
}

.mobile-service-sublink {
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-service-sublink:hover {
  color: var(--sea-blue);
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  display: none;
}

.drawer-backdrop.open {
  display: block;
}

/* ==========================================================================
   Hero Section & Interactive 3D ThreeUI Canvas
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height) - var(--topbar-height));
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 65%, #F8FAFC 100%);
  overflow: hidden;
  padding: 60px 0 80px 0;
}

.hero-bg-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(240, 249, 255, 0.76) 45%,
    rgba(240, 249, 255, 0.52) 80%,
    rgba(255, 255, 255, 0.72) 100%
  );
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  z-index: 2;
  transition: opacity 0.5s ease;
}

.hero-video-overlay.cinematic {
  opacity: 0.15;
}

.hero-overlay-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(2, 132, 199, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(2, 132, 199, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 2;
}

.hero-container {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-title {
  color: var(--navy-deep);
  line-height: 1.15;
}

.hero-title .highlight-gradient {
  background: linear-gradient(135deg, var(--sea-blue) 0%, var(--sky-turquoise) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.hero-stat-card {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1;
}

.hero-stat-num span {
  color: var(--sea-blue);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 4px;
}

/* 3D Interactive Control Card */
.hero-interactive-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.interactive-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.interactive-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Live Stream Indicator */
.live-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  display: inline-block;
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseLiveDot 1.5s infinite;
}

@keyframes pulseLiveDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 7px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Video Player Toolbar Controls inside card */
.video-toolbar-modes,
.three-scene-modes {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  background: var(--bg-tertiary);
  padding: 4px;
  border-radius: 8px;
}

.video-ctrl-btn,
.mode-tab {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.video-ctrl-btn:hover,
.mode-tab:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy-deep);
}

.video-ctrl-btn.active,
.mode-tab.active {
  background: #FFFFFF;
  color: var(--sea-blue);
  box-shadow: var(--shadow-sm);
}

/* Live Simulation Ticker */
.simulation-telemetry {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.telemetry-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
}

.telemetry-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.telemetry-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-top: 4px;
}

/* Instant Quick HS/GTİP or Duty Estimator */
.quick-inquiry-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-input-group {
  position: relative;
  display: flex;
}

.quick-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition-fast);
}

.quick-input:focus {
  border-color: var(--sea-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.video-stream-badge,
.three-hint-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--sea-blue);
  background: var(--sea-ice);
  padding: 6px 10px;
  border-radius: 6px;
  margin-top: 10px;
}

/* ==========================================================================
   Section Headers & Standard Blocks
   ========================================================================== */
.section-wrapper {
  padding: 90px 0;
  position: relative;
}

.section-bg-alt {
  background: var(--bg-secondary);
}

.section-bg-gradient {
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-secondary) 100%);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.section-title {
  color: var(--navy-deep);
  position: relative;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   15 Dedicated Services Showcase (Grid & Card Style)
   ========================================================================== */
.services-division-block {
  margin-bottom: 50px;
}

.division-header-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.division-header-pill h3 {
  font-size: 1.05rem;
  margin: 0;
  color: var(--navy-deep);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--sea-blue), var(--sky-turquoise));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: #BAE6FD;
  box-shadow: var(--shadow-xl);
}

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

.service-card-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card-icon-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--sea-ice);
  color: var(--sea-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-card-icon {
  background: var(--sea-blue);
  color: #FFFFFF;
  transform: scale(1.05);
}

.service-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-tertiary);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-card-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 18px 0;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.service-card-features li {
  font-size: 0.85rem;
  color: var(--navy-slate);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card-features li svg {
  color: var(--sea-blue);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.service-card-bottom {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sea-blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition-fast);
}

.service-card-link:hover {
  gap: 10px;
  color: #0369A1;
}

/* ==========================================================================
   Customs Workflow / Process Timeline
   ========================================================================== */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.workflow-step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  transition: all var(--transition-normal);
}

.workflow-step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sea-light);
}

.step-num-bubble {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 34px;
  height: 34px;
  background: var(--navy-deep);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 4px 10px rgba(11, 25, 44, 0.3);
}

.workflow-step-card:hover .step-num-bubble {
  background: var(--sea-blue);
}

.step-icon {
  margin-top: 8px;
  margin-bottom: 16px;
  color: var(--sea-blue);
  font-size: 1.6rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--navy-deep);
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Dedicated Service Detail Page Template Layout
   ========================================================================== */
.service-hero-header {
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
  padding: 60px 0 50px 0;
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

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

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: var(--sea-blue);
  font-weight: 600;
}

.breadcrumb-nav span {
  color: var(--text-light);
}

.service-page-title {
  color: var(--navy-deep);
  margin-bottom: 18px;
}

.service-page-intro {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-3d-canvas-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-3d-canvas {
  width: 100%;
  height: 100%;
  cursor: grab;
}

.service-3d-canvas:active {
  cursor: grabbing;
}

.canvas-badge-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy-deep);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
}

/* Service Content Layout */
.service-content-layout {
  padding: 70px 0;
}

.service-body-grid {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 48px;
}

.service-main-article {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.content-block h2 {
  font-size: 1.8rem;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sea-ice);
}

.content-block p {
  margin-bottom: 16px;
  font-size: 1.025rem;
  line-height: 1.75;
}

.content-block ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}

.content-block ul li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--navy-slate);
}

.content-block ul li::before {
  content: '✓';
  background: var(--sea-ice);
  color: var(--sea-blue);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Document Checklist Box */
.document-checklist-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-top: 20px;
}

.doc-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-deep);
}

.doc-item svg {
  color: var(--sea-blue);
  flex-shrink: 0;
}

/* Service Sidebar */
.service-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.sidebar-widget {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.sidebar-services-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

.sidebar-services-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.sidebar-services-nav a:hover,
.sidebar-services-nav a.active {
  background: var(--sea-ice);
  color: var(--sea-blue);
  font-weight: 700;
}

.sidebar-cta-card {
  background: linear-gradient(135deg, var(--navy-deep) 0%, #1E3A8A 100%);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-cta-card h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
}

.sidebar-cta-card p {
  color: #CBD5E1;
  font-size: 0.9rem;
}

/* ==========================================================================
   Useful Links & Tools Section
   ========================================================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tool-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
}

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

.tool-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--sea-ice);
  color: var(--sea-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  color: #94A3B8;
  padding: 80px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-brand .logo-title {
  color: #FFFFFF;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-column h4 {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--sea-light);
  transform: translateX(3px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: #CBD5E1;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  color: var(--sea-light);
  width: 16px;
  height: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #64748B;
}

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

.footer-bottom-links a {
  color: #94A3B8;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer Attribution Credit */
.footer-credit {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-credit a {
  color: #38BDF8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.footer-credit a:hover {
  color: #7DD3FC;
  text-decoration: underline;
}

.credit-badge {
  display: inline-block;
  padding: 1px 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 999px;
  color: #38BDF8;
  font-size: 0.74rem;
  font-weight: 500;
}

