/* Custom Design System for Badirat Al-Khayr */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Colors */
  --primary-color: #0F3057;
  --primary-dark: #051329;
  --primary-light: #164275;
  --secondary-color: #00A896;
  --secondary-light: #E0F4F1;
  --secondary-dark: #008779;
  --accent-color: #FFB703;
  --accent-light: #FFE082;
  --bg-light: #F4F6F9;
  --bg-white: #FFFFFF;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  --border-color: #E2E8F0;
  
  /* Fonts */
  --font-en: 'Outfit', sans-serif;
  --font-ar: 'Cairo', sans-serif;
  --font-family: var(--font-en);
  
  /* Layout & Transitions */
  --header-height: 80px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --box-shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --box-shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --box-shadow-lg: 0 20px 25px -5px rgba(15, 48, 87, 0.1), 0 10px 10px -5px rgba(15, 48, 87, 0.04);
  --max-width: 1200px;
}

/* RTL overrides */
[dir="rtl"] {
  --font-family: var(--font-ar);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal);
}

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

button, input, textarea, select {
  font-family: inherit;
}

/* Header & Glassmorphism Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--box-shadow-sm);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 45px;
  height: 45px;
  transition: transform var(--transition-normal);
}

.logo-link:hover .logo-img {
  transform: rotate(-10deg) scale(1.05);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: -0.5px;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.logo-subtext {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

[dir="rtl"] .nav-link::after {
  left: auto;
  right: 0;
}

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

.nav-link.active {
  color: var(--secondary-color);
}

/* Lang Switcher Button */
.lang-switch-btn {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.lang-switch-btn:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-sm);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Page Frame and Content Sections */
.main-content {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height) - 300px);
  position: relative;
}

.page-view {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  padding: 60px 0;
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Typography & General Containers */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-weight: 700;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

/* ==========================================================================
   Home Page Styles
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(15, 48, 87, 0.95) 0%, rgba(5, 19, 41, 0.95) 100%),
              url('img/hero_bg.jpg') no-repeat center center/cover;
  color: var(--text-light);
  padding: 80px 0;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-height));
  padding-top: calc(80px + var(--header-height));
}

.hero-section::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  z-index: 3;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 12px;
  letter-spacing: -1px;
}

[dir="rtl"] .hero-title {
  font-size: 3.8rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: #CBD5E1;
  max-width: 600px;
  margin-bottom: 40px;
}

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

/* Ship/Container Graphic Illustration inside Hero */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.graphic-container {
  width: 100%;
  max-width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.2) 0%, rgba(15, 48, 87, 0) 70%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.graphic-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--bg-white);
  box-shadow: var(--box-shadow-lg);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 8px solid rgba(0, 168, 150, 0.4);
}

.graphic-circle svg,
.graphic-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Welcome & Quick Specs Section */
.welcome-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--box-shadow-lg);
  margin-bottom: 60px;
  border: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.welcome-content h3 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 800;
}

.welcome-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.welcome-badge {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.welcome-image-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  height: 300px;
  position: relative;
}

.welcome-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.welcome-image-container:hover img {
  transform: scale(1.05);
}

/* Core Stats/Columns Section */
.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 36px;
  text-align: center;
  box-shadow: var(--box-shadow-sm);
  border-bottom: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
  border-bottom-color: var(--secondary-color);
}

.stat-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-light);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 24px;
  color: var(--secondary-color);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.stat-card h4 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.stat-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  margin-bottom: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 800;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-illus {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--box-shadow-lg);
}

.about-illus img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mission, Vision, Philosophy Cards */
.mvp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 80px;
}

.mvp-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px 30px;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.mvp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(95deg, var(--primary-color), var(--secondary-color));
}

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

.mvp-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.mvp-card h3 svg {
  width: 24px;
  height: 24px;
  color: var(--secondary-color);
}

.mvp-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Organization (Wejdan Alazzawi) Card */
.org-section {
  background: linear-gradient(135deg, #0A1B30 0%, #0F3057 100%);
  border-radius: var(--border-radius-lg);
  color: var(--text-light);
  padding: 60px;
  box-shadow: var(--box-shadow-lg);
}

.org-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 50px;
  align-items: center;
}

.org-image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 4px solid var(--secondary-color);
  box-shadow: var(--box-shadow-lg);
}

.org-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.org-info h3 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--bg-white);
}

.org-role {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 24px;
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--secondary-color);
}

.org-desc {
  font-size: 1.05rem;
  color: #D1D5DB;
  line-height: 1.7;
}

/* ==========================================================================
   Services Page Styles
   ========================================================================== */
.services-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 70px;
}

.logistics-card {
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow-sm);
  border-inline-start: 5px solid var(--secondary-color);
}

.logistics-card h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.logistics-card p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Operational Split (Import vs Export) */
.operations-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.op-box {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}

.op-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 5px;
  background-color: var(--secondary-color);
  transition: width var(--transition-normal);
}

[dir="rtl"] .op-box::after {
  left: auto;
  right: 0;
}

.op-box:hover::after {
  width: 100%;
}

.op-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.op-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.op-box-import .op-icon {
  background-color: #E0F2FE;
  color: #0284C7;
}

.op-box-export .op-icon {
  background-color: #FEF3C7;
  color: #D97706;
}

.op-header h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.op-desc {
  color: var(--text-muted);
  font-size: 1rem;
}

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

.detail-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  box-shadow: var(--box-shadow-sm);
  border: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
  border-color: var(--secondary-color);
}

.detail-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-card h4 svg {
  width: 20px;
  height: 20px;
  color: var(--secondary-color);
  flex-shrink: 0;
}

.detail-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.detail-card-more {
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary-color);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.detail-card-more svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.detail-card-more:hover svg {
  transform: translateX(4px);
}

[dir="rtl"] .detail-card-more:hover svg {
  transform: translateX(-4px);
}

/* Modal for expanded details */
.detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(5, 19, 41, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.detail-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  max-width: 650px;
  width: 100%;
  box-shadow: var(--box-shadow-lg);
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.detail-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--bg-light);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-color);
  font-weight: bold;
}

[dir="rtl"] .modal-close {
  right: auto;
  left: 20px;
}

.modal-close:hover {
  background-color: var(--border-color);
}

.modal-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

.modal-icon svg {
  width: 28px;
  height: 28px;
}

.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.modal-body {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* ==========================================================================
   Marketing Page Styles
   ========================================================================== */
.marketing-intro {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--box-shadow-sm);
  margin-bottom: 50px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 30px;
}

.marketing-intro-text {
  flex: 1;
}

.marketing-intro-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.marketing-4p-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.p-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--box-shadow-sm);
  border-bottom: 4px solid var(--primary-color);
  transition: all var(--transition-normal);
}

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

.p-card-product { border-bottom-color: #0284C7; }
.p-card-price { border-bottom-color: #10B981; }
.p-card-promotion { border-bottom-color: #F59E0B; }
.p-card-place { border-bottom-color: #EF4444; }

.p-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.p-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.p-card-product .p-icon { background-color: #E0F2FE; color: #0284C7; }
.p-card-price .p-icon { background-color: #D1FAE5; color: #10B981; }
.p-card-promotion .p-icon { background-color: #FEF3C7; color: #F59E0B; }
.p-card-place .p-icon { background-color: #FEE2E2; color: #EF4444; }

.p-icon svg {
  width: 24px;
  height: 24px;
}

.p-header h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
}

.p-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info-panel {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: var(--border-radius-lg);
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--box-shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background-color: rgba(0, 168, 150, 0.15);
  border-radius: 50%;
}

.contact-info-header h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.contact-info-header p {
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.info-item-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-color);
}

.info-item-icon svg {
  width: 22px;
  height: 22px;
}

.info-item-details h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--bg-white);
}

.info-item-details p,
.info-item-details a {
  font-size: 0.95rem;
  color: #CBD5E1;
}

.info-item-details a:hover {
  color: var(--accent-color);
}

/* Contact Form */
.contact-form-panel {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: var(--box-shadow-md);
  border: 1px solid var(--border-color);
}

.contact-form-panel h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 30px;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  background-color: var(--bg-light);
  color: var(--text-dark);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(0, 168, 150, 0.15);
}

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

.form-feedback {
  display: none;
  padding: 16px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-feedback.success {
  display: block;
  background-color: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

.form-feedback.error {
  display: block;
  background-color: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FCA5A5;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 70px 0 30px;
  border-top: 5px solid var(--secondary-color);
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo-img {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-logo-text {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bg-white);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.footer-logo-subtext {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--secondary-color);
  letter-spacing: 1px;
}

.footer-tagline {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

[dir="rtl"] .footer-title::after {
  left: auto;
  right: 0;
}

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

.footer-link-item a {
  color: #94A3B8;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-link-item a:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

[dir="rtl"] .footer-link-item a:hover {
  transform: translateX(-4px);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #94A3B8;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--secondary-color);
}

.social-icon-btn:hover,
.social-btn:hover {
  transform: translateY(-3px);
}

.social-icon-btn.facebook:hover,
.social-btn.facebook:hover {
  background-color: #1877F2 !important;
  color: #ffffff !important;
}

.social-icon-btn.instagram:hover,
.social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 30px;
}

.footer-bottom p {
  color: #64748B;
  font-size: 0.85rem;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.developer-credits a {
  color: var(--secondary-color);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.developer-credits a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom-flex {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 10px;
  }
}

/* ==========================================================================
   Responsive Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .welcome-card {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .welcome-image-container {
    height: 250px;
  }
  .mvp-grid, .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .org-grid {
    grid-template-columns: 260px 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 24px;
    box-shadow: var(--box-shadow-lg);
    transition: left var(--transition-normal);
    z-index: 999;
  }
  
  [dir="rtl"] .nav-menu {
    left: auto;
    right: -100%;
    transition: right var(--transition-normal);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  [dir="rtl"] .nav-menu.active {
    right: 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-graphic {
    display: none; /* Hide container illustration on small screens for vertical compactness */
  }
  
  .home-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-illus {
    height: 280px;
  }
  
  .mvp-grid {
    grid-template-columns: 1fr;
  }
  
  .org-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .org-image-frame {
    width: 200px;
    margin: 0 auto;
  }
  
  .services-intro-grid {
    grid-template-columns: 1fr;
  }
  
  .operations-split {
    grid-template-columns: 1fr;
  }
  
  .detail-grid {
    grid-template-columns: 1fr;
  }
  
  .marketing-4p-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Premium Live Validation Styles */
.error-msg {
  display: block;
  font-size: 0.8rem;
  color: #EF4444;
  margin-top: 6px;
  opacity: 0;
  transform: translateY(-5px);
  transition: all var(--transition-fast);
  height: 0;
  overflow: hidden;
}
.error-msg.visible {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  margin-bottom: 4px;
}
.form-input.is-invalid {
  border-color: #EF4444 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23EF4444' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='4.5' stroke-width='1'/%3E%3Cpath stroke-linecap='round' d='M6 4v2.5M6 8.5h.01'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px !important;
}
[dir="rtl"] .form-input.is-invalid {
  background-position: left 12px center;
  padding-right: 18px !important;
  padding-left: 40px !important;
}
.form-input.is-valid {
  border-color: var(--secondary-color) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%2300A896' viewBox='0 0 12 12'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M3 6l2 2 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px !important;
}
[dir="rtl"] .form-input.is-valid {
  background-position: left 12px center;
  padding-right: 18px !important;
  padding-left: 40px !important;
}

/* History panel styling */
.history-title {
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 800;
}
.history-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 8px;
}
[dir="rtl"] .history-list {
  padding-right: 0;
  padding-left: 8px;
}
.history-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-sm);
  padding: 16px;
  border-inline-start: 4px solid var(--secondary-color);
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-fast);
}
.history-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-md);
}
.history-card-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
}
.history-card-date {
  color: var(--text-muted);
  font-weight: 400;
}
.history-card-subj {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.history-card-msg {
  font-size: 0.9rem;
  color: var(--text-muted);
  white-space: pre-line;
}

/* ==========================================================================
   Premium Contact Form – Additional Styles
   ========================================================================== */

/* Trust badges in info panel */
.contact-trust {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  color: #CBD5E1;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background var(--transition-fast);
}

.trust-badge:hover {
  background: rgba(0, 168, 150, 0.15);
  color: var(--bg-white);
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--accent-color);
}

/* Two-column form row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Input wrapper with leading icon – Flex layout (immune to SVG sizing bugs) */
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.input-icon {
  position: absolute;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color var(--transition-fast);
  flex-shrink: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* LTR: icon left, RTL: icon right */
[dir="ltr"] .input-icon {
  left: 14px;
}

[dir="rtl"] .input-icon {
  right: 14px;
}

[dir="ltr"] .input-wrapper .form-input {
  padding-left: 42px;
}

[dir="rtl"] .input-wrapper .form-input {
  padding-right: 42px;
}

/* textarea icon sits at top */
.textarea-wrapper .textarea-icon {
  top: 16px;
  transform: none;
}

/* glow icon when field focused */
.input-wrapper:focus-within .input-icon {
  color: var(--secondary-color);
}


/* Character counter */
.char-counter {
  text-align: end;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  transition: color var(--transition-fast);
}

.char-counter.warn {
  color: #F59E0B;
}

.char-counter.over {
  color: #EF4444;
  font-weight: 700;
}

/* Premium submit button */
.btn-submit {
  width: 100%;
  justify-content: center;
  gap: 12px;
  padding: 15px 28px;
  font-size: 1rem;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn-submit:hover::before {
  opacity: 1;
}

.btn-submit .btn-text,
.btn-submit .btn-icon,
.btn-submit .btn-spinner {
  position: relative;
  z-index: 1;
}

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none !important;
}

/* Spin animation for loading state */
@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Captcha Verification Styles */
.captcha-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  background-color: var(--card-bg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.captcha-wrapper:focus-within {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.captcha-question {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-weight: 600;
  font-family: monospace, sans-serif;
  font-size: 1.1rem;
  padding: 0 16px;
  height: 48px;
  border-right: 1px solid var(--border-color);
  user-select: none;
  min-width: 90px;
}

[dir="rtl"] .captcha-question {
  border-right: none;
  border-left: 1px solid var(--border-color);
}

.captcha-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: 48px !important;
  padding: 0 16px !important;
  flex-grow: 1;
  background: transparent !important;
  font-size: 1.1rem !important;
}

/* ==========================================================================
   Home Page Hero Slider Styles
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  color: var(--text-light);
  overflow: hidden;
  padding: 0;
  margin-top: calc(-1 * var(--header-height));
  background: var(--primary-color);
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: var(--header-height);
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Slider buttons styling */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(15, 23, 42, 0.45);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
  transition: all var(--transition-fast);
}

.slider-btn:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-50%) scale(1.05);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

/* Slider Indicators styling */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-dots .dot:hover,
.slider-dots .dot.active {
  background-color: var(--secondary-color);
  width: 32px;
  border-radius: 8px;
}

/* RTL Specific adjustments for slider */
[dir="rtl"] .prev-btn {
  left: auto;
  right: 30px;
  transform: translateY(-50%) rotate(180deg);
}
[dir="rtl"] .prev-btn:hover {
  transform: translateY(-50%) scale(1.05) rotate(180deg);
}

[dir="rtl"] .next-btn {
  right: auto;
  left: 30px;
  transform: translateY(-50%) rotate(180deg);
}
[dir="rtl"] .next-btn:hover {
  transform: translateY(-50%) scale(1.05) rotate(180deg);
}

/* ==========================================================================
   Services Page Incoterms & Solutions Styles
   ========================================================================== */

/* Incoterms Grid */
.incoterms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.incoterm-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.incoterm-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-color);
  transition: all var(--transition-fast);
}

[dir="rtl"] .incoterm-card::before {
  left: auto;
  right: 0;
}

.incoterm-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-lg);
  border-color: transparent;
}

.incoterm-card:hover::before {
  width: 8px;
  background-color: var(--secondary-color);
}

.incoterm-badge {
  display: inline-block;
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
  padding: 4px 12px;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 4px;
  margin-bottom: 15px;
}

.incoterm-badge.font-ddp {
  background-color: #FEF2F2;
  color: #DC2626;
}

.incoterm-card h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 12px;
  font-weight: 800;
}

.incoterm-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Solutions Section */
.solutions-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.solution-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-fast);
}

.solution-item:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--box-shadow-md);
  transform: translateX(5px);
}

[dir="rtl"] .solution-item:hover {
  transform: translateX(-5px);
}

.solution-icon {
  width: 44px;
  height: 44px;
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.solution-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
}

.solutions-image {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
  height: 480px;
}

.solutions-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.solutions-image:hover img {
  transform: scale(1.03);
}

/* Why Choose Us Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-fast);
}

.why-card:hover {
  border-color: var(--secondary-color);
  box-shadow: var(--box-shadow-md);
}

.why-check {
  width: 28px;
  height: 28px;
  background-color: var(--secondary-light);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.why-card p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  margin: 0;
  padding-top: 3px;
}

/* Responsive styling for slider and grids */
@media (max-width: 991px) {
  .solutions-container {
    grid-template-columns: 1fr;
  }
  .solutions-image {
    height: 300px;
    order: -1;
  }
}

@media (max-width: 768px) {
  .slider-btn {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  .prev-btn {
    left: 15px;
  }
  .next-btn {
    right: 15px;
  }
  .slider-dots {
    bottom: 25px;
  }
}

/* ==========================================================================
   Corporate Presentation Video Section Styles
   ========================================================================== */
.video-player-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow-lg);
  background-color: #0F172A;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--border-color);
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(5, 19, 41, 0.6));
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  transition: opacity 0.4s ease;
  pointer-events: auto;
  cursor: pointer;
}

.video-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--text-light);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.6);
  animation: pulse-play 2s infinite;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-play-btn svg {
  fill: currentColor;
  margin-left: 4px;
}

[dir="rtl"] .video-play-btn svg {
  margin-left: 0;
  margin-right: 4px;
  transform: rotate(180deg);
}

.video-play-btn:hover {
  transform: scale(1.1);
  background-color: var(--secondary-dark);
}

@keyframes pulse-play {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.6);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(13, 148, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
}

@media (max-width: 768px) {
  .video-play-btn {
    width: 60px;
    height: 60px;
  }
}

/* ==========================================================================
   Rich Animations, Glassmorphism, and Visual Expansion Styles
   ========================================================================== */

/* Glassmorphism Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 32px 0 rgba(15, 23, 42, 0.05);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
}

[dir="dark"] .glass-card {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(15, 23, 42, 0.1);
  border-color: rgba(13, 148, 136, 0.3);
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.animate-active {
  opacity: 1;
  transform: translateY(0);
}

/* Floating Elements */
.float-slow {
  animation: float-animation 6s ease-in-out infinite;
}

@keyframes float-animation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Services Page Split Boxes Image Layout */
.operations-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.op-box {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 0 !important;
  overflow: hidden;
  align-items: stretch;
}

.op-content-left {
  padding: 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.op-image-right {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.op-image-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.op-box:hover .op-image-right img {
  transform: scale(1.08) rotate(1deg);
}

/* Visual Service Cards (Ocean, Air, Land, Customs) */
.visual-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.visual-service-card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background-color: var(--primary-dark);
}

.visual-service-img {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.visual-service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s ease;
  filter: brightness(0.85);
}

.visual-service-card:hover .visual-service-img img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.visual-service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.2) 60%, rgba(15, 23, 42, 0) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  z-index: 2;
}

.visual-service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--border-radius-md);
  background: rgba(13, 148, 136, 0.2);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.visual-service-card:hover .visual-service-icon {
  transform: scale(1.1) translateY(-3px);
  background: var(--secondary-color);
  color: var(--text-light);
}

.visual-service-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.visual-service-title {
  color: var(--text-light);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Intro Image Hover Zoom */
.intro-image-wrapper {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  height: 350px;
}

.intro-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.intro-image-wrapper:hover img {
  transform: scale(1.06);
}

/* Card Shadow Effect */
.card-shadow {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
  transition: box-shadow 0.3s ease;
}

.card-shadow:hover {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

/* Portfolio Section Styles */
.portfolio-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
}

.portfolio-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12) !important;
}

.portfolio-badge {
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Responsive Grid Adaptations */
@media (max-width: 991px) {
  .operations-split {
    grid-template-columns: 1fr;
  }
  .op-box {
    grid-template-columns: 1fr;
  }
  .op-image-right {
    height: 220px;
    order: -1;
  }
}



