/* =========================================================
   LOGISTICS PAGE STYLESHEET
   Professional Icons | Soft Rounded Corners | Clean Motion
   ========================================================= */

:root {
  --l-text: #0f172a;
  --l-muted: #475569;
  --l-soft: rgba(15, 23, 42, 0.06);
  --l-charcoal: #0f1115;
  --l-charcoal2: #171b22;
  --l-gold: #D0A030;
  --l-gold2: #C09020;
  --l-card: #ffffff;
  --l-bg: #f5f6f8;
  --l-border: rgba(15, 23, 42, 0.10);

  /* Soft rounded corners for icons & cards */
  --r-panel: 0px;
  --r-card: 0px;
  --r-icon: 12px;        /* ← was 0px */
  --r-icon-small: 10px;  /* for list items */
  --r-chip: 12px;        /* for vessel chips */
}

/* ===================== Motion Reveal ===================== */
.js-reveal,
.js-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s cubic-bezier(0.2, 0.75, 0.2, 1),
              transform 0.55s cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--d, 0ms);
  will-change: transform, opacity;
}

.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js-reveal,
  .js-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===================== Base Layout ===================== */
.l-section {
  padding: 80px 0;
}

.l-head {
  text-align: center;
  margin-bottom: 26px;
}

.l-title {
  margin: 0 0 10px;
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 900;
  color: var(--l-text);
}

.l-subtitle {
  margin: 0 auto;
  max-width: 860px;
  line-height: 1.9;
  color: #64748b;
  font-weight: 600;
}

  /* ===================== Hero ===================== */
  .l-hero{
    position: relative;
    padding: 120px 0 80px;
    color: #fff;
    overflow: hidden;
    min-height: 70vh; 
  }

  .l-hero::before{
    content:"";
    position:absolute;
    inset:0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    animation: heroZoom 6s ease-in-out infinite alternate;
    z-index: 0;
  }

  @keyframes heroZoom{
    from{ transform: scale(1); }
    to{ transform: scale(1.12); }
  }

  .l-hero-inner{
    position: relative;
    z-index: 2;
    text-align: center;
    transform: translateY(120px);
  }

  .l-hero-title{
    margin: 0 0 14px;
    font-size: clamp(36px, 4.8vw, 64px);
    line-height: 1.08;
    font-weight: 900;
  }

  .l-hero-subtitle{
    margin: 0 auto 26px;
    max-width: 980px;
    font-size: 18px;
    line-height: 1.9;
    opacity: .92;
  }

  .l-hero-actions{
    display:flex;
    justify-content:center;
    gap: 14px;
    flex-wrap: wrap;
  }


/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, filter 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, var(--l-gold), var(--l-gold2));
  color: #fff;
}

.btn-primary:hover {
  filter: brightness(1.04);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* ===================== Panels ===================== */
.l-panel {
  background: var(--l-card);
  border: 1px solid var(--l-soft);
  border-radius: var(--r-panel);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.1);
  padding: 44px 34px;
}

.l-panel-title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3vw, 44px);
  font-weight: 900;
  color: var(--l-text);
  text-align: center;
}

.l-panel-text {
  margin: 0 auto 26px;
  max-width: 980px;
  text-align: center;
  color: #334155;
  line-height: 1.95;
  font-size: 17px;
  font-weight: 600;
}

/* ===================== Feature Cards ===================== */
.l-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.l-card {
  background: var(--l-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--r-card);
  padding: 22px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.l-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
  border-color: rgba(208, 160, 48, 0.3);
}

/* ✅ Professional Icon Box – Rounded */
.l-card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 64px;
  position: relative;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border: none;
}

.l-ico {
  width: 32px;
  height: 32px;
  display: block;
  fill: currentColor;
  stroke: none;
}

.i-gold { background: linear-gradient(135deg, var(--l-gold), var(--l-gold2)); color: #fff; }
.i-gold2 { background: linear-gradient(135deg, #B8860B, var(--l-gold2)); color: #fff; }
.i-dark { background: var(--l-charcoal); color: #fff; }
.i-dark2 { background: var(--l-charcoal2); color: #fff; }

.l-card-title {
  margin: 2px 0 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--l-text);
}

.l-card-text {
  margin: 0;
  color: #475569;
  line-height: 1.9;
  font-weight: 600;
  font-size: 14.5px;
}

/* ===================== Logistics Services ===================== */
.logistics-section {
  padding: 80px 0;
  background: var(--l-bg);
}

.logistics-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 0;
  align-items: stretch;
}

.logistics-card{
  background: var(--l-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-right: 0;
  border-radius: var(--r-panel);
  padding: 34px 30px;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
  display: flex;
  flex-direction: column;
}

.logistics-title {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 900;
  color: var(--l-text);
  text-align: right;
}

.logistics-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
  flex: 1 1 auto;
}

.logistics-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  min-height: 76px;
  border-radius: var(--r-icon-small);
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.logistics-item img,
.logistics-item svg {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: block;
  padding: 8px;
  background: #fff;
  border-radius: var(--r-icon-small);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  stroke: var(--l-text);
  fill: none;
  stroke-width: 2;
}

.logistics-item span {
  color: var(--l-text);
  font-weight: 800;
  font-size: 15.5px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.logistics-image{
  background: var(--l-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.10);
  display: flex;
  aspect-ratio: 4 / 3;
  min-height: 520px;
}

.logistics-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.05);
}
.logistics-item::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-icon-small);
  pointer-events: none;
  background: linear-gradient(90deg, rgba(208, 160, 48, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.logistics-item:hover,
.logistics-item.is-active {
  transform: translateY(-1px);
  border-color: rgba(208, 160, 48, 0.55);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.logistics-item:hover::before,
.logistics-item.is-active::before {
  opacity: 1;
}
html[dir="rtl"] .logistics-card{
  border-right: 1px solid rgba(15, 23, 42, 0.08);
  border-left: 0;
}
/* ===================== Vessel Showcase ===================== */

.vessel-showcase{
  width:100vw;
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#fff;
  padding:0;
}

.vessel-grid{
  display:grid;
  grid-template-columns: 1.25fr 0.75fr; /* video | content */
  min-height:520px;
  align-items:stretch;
}

/* VIDEO (LEFT) */
.vessel-media{
  position:relative;
  overflow:hidden;
  background:#000;
}

.vessel-media video{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* CONTENT (RIGHT) – WHITE BACKGROUND */
.vessel-content{
  background:#ffffff;       /* ✅ white */
  color:#0f172a;
  display:flex;
  align-items:center;
}

.vessel-inner{
  max-width:640px;
  padding:80px 64px;
}

.vessel-title{
  margin:0 0 12px;
  font-size:clamp(30px,3.6vw,52px);
  font-weight:900;
  color:#0f172a;
}

.vessel-subtitle{
  margin:0 0 22px;
  font-size:16px;
  font-weight:800;
  color:#C09020;
  letter-spacing:.4px;
}

.vessel-text{
  margin:0;
  font-size:16.5px;
  line-height:1.95;
  font-weight:600;
  color:#334155;
}

/* RTL */
html[dir="rtl"] .vessel-content{ text-align:right; }

/* Responsive */
@media (max-width:1100px){
  .vessel-grid{ grid-template-columns:1fr; }
  .vessel-inner{ padding:48px 24px; }
}


/* ===================== Vessels Groups ===================== */
.l-vessels {
  background: #fff;
}

.l-vessel-groups {
  display: grid;
  gap: 18px;
}

.l-vgroup {
  background: var(--l-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--r-panel);
  box-shadow: 0 18px 55px rgba(15, 23, 42, 0.1);
  padding: 24px;
}

.l-vgroup-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.l-vgroup-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--r-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.l-vicon {
  width: 28px;
  height: 28px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.l-vgroup-title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  color: var(--l-text);
}

.g-blue { background: rgba(208, 160, 48, 0.04); border-color: rgba(208, 160, 48, 0.14); }
.g-blue .l-vgroup-icon { background: linear-gradient(135deg, var(--l-gold), var(--l-gold2)); }

.g-purple { background: rgba(15, 17, 21, 0.02); border-color: rgba(15, 17, 21, 0.1); }
.g-purple .l-vgroup-icon { background: linear-gradient(135deg, var(--l-charcoal2), var(--l-charcoal)); }

.g-teal { background: rgba(184, 134, 11, 0.03); border-color: rgba(184, 134, 11, 0.14); }
.g-teal .l-vgroup-icon { background: linear-gradient(135deg, #B8860B, var(--l-gold2)); }

.l-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.l-chip {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
  padding: 10px 14px;
  border-radius: var(--r-chip);
  font-weight: 700;
  color: var(--l-text);
  font-size: 14px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.l-chip:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.1);
}

/* ===================== Why Section ===================== */
.l-why {
  background: var(--l-bg);
}

.l-why-box {
  margin-top: 18px;
  border-radius: var(--r-panel);
  padding: 26px;
  background: linear-gradient(135deg, var(--l-charcoal) 0%, var(--l-charcoal2) 60%);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.l-why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.l-why-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-card);
  padding: 20px 18px;
  color: #fff;
  transition: transform 0.15s ease, background 0.15s ease;
}

.l-why-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.l-why-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
}

.l-why-text {
  margin: 0;
  line-height: 1.9;
  opacity: 0.92;
  font-weight: 700;
}

/* ===================== CTA ===================== */
.l-cta {
  padding: 70px 0;
  background: var(--l-charcoal2);
  color: #fff;
}

.l-cta-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-panel);
  padding: 34px 28px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  text-align: center;
}

.l-cta-title {
  margin: 0 0 10px;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
}

.l-cta-text {
  margin: 0 auto 18px;
  max-width: 880px;
  line-height: 1.9;
  opacity: 0.92;
  font-weight: 700;
}

/* ===================== RTL / LTR ===================== */
html[dir="rtl"] .logistics-grid { direction: rtl; }
html[dir="rtl"] .logistics-card,
html[dir="rtl"] .logistics-title,
html[dir="rtl"] .logistics-item,
html[dir="rtl"] .l-vgroup-title {
  text-align: right;
}

/* ===================== Responsive ===================== */
@media (max-width: 1100px) {
  .l-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logistics-grid { grid-template-columns: 1fr; }
  .logistics-image { aspect-ratio: 16 / 9; min-height: 340px; }
}

@media (max-width: 650px) {
  .l-cards { grid-template-columns: 1fr; }
  .l-panel { padding: 34px 18px; }
  .logistics-card { padding: 26px 18px; }
  .l-why-grid { grid-template-columns: 1fr; }
  .logistics-item { padding: 12px 12px; }
  .logistics-item span { font-size: 15px; }
}
/* ✅ تأكيد إزالة أي فراغ أعلى أول سكشن */
main, section:first-of-type{
  margin-top: 0 !important;
  padding-top: 0 !important;
}
