/* ==========================================================================
   MAVİ ULUSLARARASI NAKLİYAT - MODERN MULTI-PAGE DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Brand Color Palette */
  --primary-navy: #0B192C;
  --primary-dark: #07101C;
  --primary-blue: #005691;
  --accent-cyan: #008DDA;
  --accent-cyan-light: #41C9E2;
  --accent-gold: #F5A623;
  --accent-emerald: #10B981;
  
  /* Neutral Colors */
  --bg-dark: #0A1118;
  --bg-surface: #111D2A;
  --bg-card: #172638;
  --bg-light: #F4F7FA;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-card: rgba(0, 141, 218, 0.2);
  
  /* Text Colors */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  /* Gradients */
  --grad-primary: linear-gradient(135deg, #008DDA 0%, #005691 100%);
  --grad-accent: linear-gradient(135deg, #41C9E2 0%, #008DDA 100%);
  --grad-card: linear-gradient(135deg, rgba(23, 38, 56, 0.9) 0%, rgba(17, 29, 42, 0.8) 100%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.35);
  --shadow-cyan: 0 8px 24px rgba(0, 141, 218, 0.3);
  --shadow-hover: 0 16px 32px rgba(0, 141, 218, 0.22);

  /* Borders & Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility */
.text-gradient {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--accent-cyan-light);
}

.text-gold {
  color: var(--accent-gold);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(0, 141, 218, 0.12);
  border: 1px solid rgba(0, 141, 218, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-padding {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px auto;
}

.section-title {
  font-size: 2.3rem;
  margin: 14px 0;
  letter-spacing: -0.5px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-cyan);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 141, 218, 0.45);
  background: var(--grad-accent);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan-light);
  transform: translateY(-2px);
}

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

/* ==========================================================================
   TOP BAR & HEADER NAVIGATION WITH DROPDOWNS
   ========================================================================== */

.top-bar {
  background: rgba(7, 16, 28, 0.95);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.top-contact-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-contact-item svg, .top-contact-item i {
  color: var(--accent-cyan);
}

.top-contact-item a:hover {
  color: var(--accent-cyan-light);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.top-badge-ffn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(11, 25, 44, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-normal);
}

.header.scrolled {
  background: rgba(7, 16, 28, 0.98);
  box-shadow: var(--shadow-md);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0, 141, 218, 0.3));
}

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

.brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.brand-tagline {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan-light);
  font-weight: 600;
}

/* Nav Menu & Dropdowns */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: rgba(17, 29, 42, 0.98);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-fast);
  z-index: 1050;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.dropdown-link i {
  color: var(--accent-cyan-light);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
}

.dropdown-link:hover {
  background: rgba(0, 141, 218, 0.15);
  color: #FFFFFF;
  transform: translateX(4px);
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 6px 0;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}

/* ==========================================================================
   PAGE HERO / SUB-HEADER FOR INNER PAGES
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 60px 0 65px;
  background: radial-gradient(circle at 80% 20%, rgba(0, 141, 218, 0.18) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.page-hero-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-hero-content h1 {
  font-size: 2.6rem;
  margin: 10px 0 12px;
  letter-spacing: -0.5px;
}

.page-hero-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

.breadcrumbs a {
  color: var(--accent-cyan-light);
}

.breadcrumbs a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   HERO (INDEX PAGE)
   ========================================================================== */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 40px);
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(0, 141, 218, 0.18) 0%, transparent 60%),
              linear-gradient(180deg, var(--bg-dark) 0%, #0B192C 100%);
}

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

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.7;
}

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

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

.stat-item h3 {
  font-size: 1.8rem;
  color: #FFFFFF;
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.hero-card-stack {
  background: var(--grad-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
}

.hero-carousel {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 270px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(7, 16, 28, 0.95) 0%, transparent 100%);
}

.carousel-overlay h4 {
  font-size: 1.05rem;
}

.carousel-overlay p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   CARDS & GRIDS
   ========================================================================== */

.about-grid, .careers-grid, .contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.service-card, .mv-card, .container-type-card, .incoterm-item, .info-box, .form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition-normal);
}

.service-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.service-img-wrapper {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s ease;
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.06);
}

.service-mode-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 16, 28, 0.85);
  border: 1px solid var(--border-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
}

.service-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.6;
}

.service-specs {
  margin-bottom: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
  flex-grow: 1;
}

.service-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.service-spec-item i {
  color: var(--accent-cyan-light);
}

.service-footer {
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.service-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  gap: 10px;
  color: #FFFFFF;
}

/* Filter buttons */
.services-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-cyan);
  color: #FFFFFF;
  border-color: var(--accent-cyan);
}

/* ==========================================================================
   TOOLS / CALCULATOR / CONTINENT TABS
   ========================================================================== */

.tools-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tool-tab-btn {
  padding: 12px 22px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.tool-tab-btn:hover, .tool-tab-btn.active {
  background: var(--bg-card);
  color: #FFFFFF;
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-cyan);
}

.tool-panel {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.tool-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
}

.calc-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.input-group label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.input-control {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  color: #FFFFFF;
  font-size: 0.9rem;
  width: 100%;
}

.input-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 141, 218, 0.2);
}

.calc-results {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(7, 16, 28, 0.6);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent-cyan);
  margin-bottom: 10px;
  font-size: 0.85rem;
}

.result-item strong {
  color: var(--accent-cyan-light);
}

/* Continents */
.continents-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.continent-tab {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
}

.continent-tab:hover, .continent-tab.active {
  background: var(--accent-cyan);
  color: #FFFFFF;
  border-color: var(--accent-cyan);
}

.continent-details {
  background: rgba(7, 16, 28, 0.5);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
}

.continent-details h4 {
  font-size: 0.95rem;
  color: var(--accent-cyan-light);
  margin-bottom: 8px;
}

.continent-details ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.continent-details li::before {
  content: '• ';
  color: var(--accent-cyan);
}

/* ==========================================================================
   FORMS & ALERTS (WITH PHP MAIL SUPPORT)
   ========================================================================== */

.form-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.form-tab-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.form-tab-btn.active {
  background: var(--grad-primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-cyan);
}

.form-pane {
  display: none;
}

.form-pane.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-row.triple {
  grid-template-columns: repeat(3, 1fr);
}

.radio-group-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}

.radio-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 500;
}

.radio-label input {
  display: none;
}

.radio-label:has(input:checked) {
  border-color: var(--accent-cyan);
  background: rgba(0, 141, 218, 0.15);
  color: #FFFFFF;
}

textarea.input-control {
  min-height: 90px;
  resize: vertical;
}

.form-alert {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  font-size: 0.85rem;
  align-items: center;
  gap: 10px;
}

.form-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: #34D399;
}

.form-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid #EF4444;
  color: #F87171;
}

/* Map Container */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 240px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.7) invert(0.9) contrast(1.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 14px 0 20px;
}

.footer-ffn-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.footer-ffn-box img {
  height: 28px;
}

.footer-ffn-box small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-col h5 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 6px;
}

.footer-col h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-cyan);
}

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* Floating Actions */
.floating-actions {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.back-to-top {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-cyan);
}

.whatsapp-float {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  font-size: 1.4rem;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet (max-width: 992px) */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .careers-grid, .contact-layout, .calc-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .mv-grid, .container-cards-grid, .incoterms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-menu {
    gap: 10px;
  }
  .nav-link {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .top-bar {
    display: none !important;
  }

  .header {
    background: rgba(7, 16, 28, 0.98);
  }

  .header-container {
    height: 70px;
  }

  /* Completely hide desktop CTA button on mobile */
  .desktop-cta-btn {
    display: none !important;
  }

  /* Mobile Hamburger Toggle */
  .mobile-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 10px;
    z-index: 1100;
  }

  .mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.25s ease;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Full-screen / Drawer Mobile Menu */
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: #0B192C;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 20px 40px 20px;
    gap: 6px;
    overflow-y: auto;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    border-top: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.open {
    left: 0 !important;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 14px 16px;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(0, 141, 218, 0.2);
    border-color: var(--accent-cyan);
  }

  /* Mobile Dropdown Sub-links */
  .dropdown-menu {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: rgba(7, 16, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    box-shadow: none;
    margin: 6px 0 10px 0;
    width: 100%;
    padding: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .dropdown-link {
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    border-radius: 6px;
  }

  .dropdown-link:hover, .dropdown-link.active {
    background: rgba(0, 141, 218, 0.15);
    color: #FFFFFF;
  }

  /* Mobile CTA inside menu */
  .mobile-nav-cta {
    display: block !important;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
  }

  .mobile-nav-cta .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  /* Layout tweaks for small screens */
  .hero-title {
    font-size: 2.1rem;
  }

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

  .services-grid, .mv-grid, .container-cards-grid, .incoterms-grid, 
  .form-row, .form-row.triple, .calc-row, .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero {
    padding: 40px 0 45px;
  }

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

  .section-padding {
    padding: 50px 0;
  }
}
