/* Additional CSS for Node.js/EJS components - Updated 2024-09-07 15:16 */

/* CSS Variables */
:root {
  --main-color: #1a1a1a;
  --text-color: #ffffff;
  --accent-color: #ff6b35;
  --font-family: Arial, sans-serif;
  --gray-color: #1f1f1f;
}

/* =========================
   NAVBAR (matches original)
   ========================= */
/* Old .navbar rules kept below for legacy but not used by new markup */

/* New sticky header container */
 .navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--main-color);
  transition: all 0.5s ease-in-out;
  direction: ltr;
 }
 /* Safe area padding for iOS notches */
 @supports (padding: env(safe-area-inset-top)) {
  .navbar-sticky { padding-top: env(safe-area-inset-top); }
 }

/* Transparent initial state on home */
.navbar-sticky.home { background-color: transparent; }

/* Hide on scroll down, show on scroll up */
.navbar-sticky.hidden { top: -100px; }
.navbar-sticky.scrolledUp {
  top: 0;
  background-color: var(--main-color);
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
}

/* Inner layout */
.blink-navbar { padding: 25px 64px; }
.navbar-wrap { display: flex; align-items: center; gap: 4px; }

/* Logo (SVG from partial) */
.navbar-sticky .navbar-wrap svg { width: 174px; height: 40px; }
.navbar-sticky .navbar-wrap svg path { fill: #fff; stroke: #fff; }

/* Right controls */
.navbar-content { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-wrap { display: inline-flex; align-items: center; gap: 0; padding: 0; cursor: pointer; background: none; border: 0; }
/* Force icon and label to sit very close */
.lang-wrap .global-icon { width: 18px; height: 18px; margin-right: 2px; }
.nav-lang-title { font-size: 16px; font-weight: 400; color: #fff; text-transform: uppercase; margin-left: 0 !important; letter-spacing: 0; line-height: 1; }
.menu-wrap { display: flex; align-items: center; gap: 4px; background: none; border: 0; cursor: pointer; }
.menu-icon, .close-icon { width: 24px; height: 24px; }

/* Fullscreen overlay menu */
.main-navbar-inside {
  background-color: var(--main-color);
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  z-index: 999;
  position: fixed;
  overflow: hidden;
  transition: height 0.6s ease;
}
.main-navbar-inside.showMenu { height: 100vh; }

.nav-menu { display: flex; justify-content: space-between; align-items: center; padding: 25px 64px 25px; }

.menu-items-box { height: calc(100vh - 90px); }
.menu-items { list-style: none; padding: 0; margin: 0; height: calc(100vh - 163px); display: flex; flex-direction: column; align-items: center; justify-content: space-around; overflow-y: auto; }
.menu-item-link { color: #fff; }
.menu-item { color: #fff; font-size: 72px; font-weight: 800; line-height: 80px; text-transform: uppercase; display: block; margin-inline: auto; margin-bottom: 16px; width: fit-content; }
.menu-item:hover { font-weight: 250; }

.media-wrap { display: flex; align-items: center; gap: 14px; padding: 24px 64px; }
.media-icon { width: 24px; height: 24px; }

/* Legacy navbar (not used anymore but kept if other pages rely on it) */
.navbar { position: fixed; top: 0; width: 100%; background: transparent; z-index: 1000; transition: all 0.5s ease-in-out; }
.navbar.hidden { top: -100px; }
.navbar.scrolledUp { top: 0; background: var(--main-color); box-shadow: 0 4px 6px rgba(0,0,0,0.15); }

.navbar-container { display: flex; justify-content: space-between; align-items: center; padding: 25px 64px; max-width: 100%; margin: 0 auto; }
.navbar-logo svg { width: 174px; height: 40px; }
.navbar-logo svg path { fill: #fff; stroke: #fff; }

/* Hide traditional inline links — overlay menu handles navigation */
.navbar-menu { display: none; }
.navbar-nav { display: none; }

.nav-link { color: var(--text-color); text-decoration: none; text-transform: uppercase; font-weight: 500; transition: color 0.3s ease; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--accent-color); }
.nav-link.active::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 100%; height: 2px; background: var(--accent-color); }

/* Old language switcher hidden in new header */
.language-switcher { display: none; }
.lang-separator { color: var(--text-color); opacity: 0.5; }

/* Old hamburger bars (unused) */
.navbar-toggle { display: none; }
.navbar-toggle .bar { width: 25px; height: 3px; background: var(--text-color); transition: 0.3s; }
.navbar-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
.navbar-toggle.active .bar:nth-child(2) { opacity: 0; }
.navbar-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }

/* Contact Form Styles */
.contact-section {
  background: var(--main-color);
  padding: 120px 64px;
  color: var(--text-color);
}

/* Two-column layout like the reference */
.contact-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info { padding-top: 16px; }

.contact-title {
  font-size: 64px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 0;
  opacity: 0.9;
  text-transform: uppercase;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 0;
}

.form-group {
  position: relative;
}

/* Underline-only inputs to match screenshot */
.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 4px 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  color: var(--text-color);
  font-size: 16px;
  transition: border-color 0.3s ease, background 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
}

.form-textarea {
  resize: vertical;
  min-height: 132px;
  font-family: inherit;
  text-transform: none; /* message can be mixed case */
}

.form-submit {
  align-self: flex-start;
  background: #2d2d2d;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: var(--text-color);
  padding: 16px 48px;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
  border-radius: 0;
  position: relative;
}

.form-submit:hover {
  background: #3a3a3a;
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.error-message {
  color: #ff6b6b;
  font-size: 14px;
  margin-top: 6px;
  display: none;
}

.success-message {
  color: #44ff44;
  background: rgba(68, 255, 68, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 20px 64px;
  display: none;
}

.error-message.show {
  color: #ff4444;
  background: rgba(255, 68, 68, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin: 20px 64px;
  display: block;
}

/* Footer Styles */
.footer {
  background: #000;
  color: var(--text-color);
  padding: 60px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-logo svg {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.footer-description {
  opacity: 0.8;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--text-color);
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  /* Overlay menu is used on all sizes; keep legacy menu hidden */
  .navbar-menu { display: none !important; }

  .blink-navbar { padding: 16px 20px; }
  .nav-menu { padding: 16px 20px; }
  .menu-item { font-size: 56px; line-height: 56px; }

  /* Ensure navbar wrapper uses full width and proper positioning */
  .navbar-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }

  /* Optimize mobile navbar content spacing - ensure rightmost positioning */
  .navbar-content {
    gap: 12px !important;
    display: flex !important;
    align-items: center !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    /* Ensure it stays at the absolute right */
    position: relative !important;
    right: 0 !important;
    /* Prevent wrapping and ensure proper order */
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }
  
  /* Ensure language toggle comes before menu button */
  .navbar-content .lang-wrap {
    order: 1 !important;
  }
  
  .navbar-content .menu-wrap {
    order: 2 !important;
  }

  /* Language toggle optimization for mobile */
  .lang-wrap {
    gap: 2px !important;
    padding: 8px !important;
    border-radius: 4px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    max-width: 64px !important; /* Prevent taking too much space */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
    flex-shrink: 0 !important; /* Don't shrink */
  }
  
  .lang-wrap:hover,
  .lang-wrap:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
  }
  
  .lang-wrap:active {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(0.98) !important;
  }
  
  .lang-wrap .global-icon { 
    margin-right: 2px !important;
    width: 16px !important;
    height: 16px !important;
  }
  
  .nav-lang-title { 
    font-size: 14px !important;
    letter-spacing: 0 !important;
    font-weight: 500 !important;
  }
  
  /* Menu button optimization for mobile */
  .menu-wrap {
    padding: 8px !important;
    border-radius: 4px !important;
    min-height: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important; /* Keep square */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s ease !important;
    flex-shrink: 0 !important; /* Don't shrink */
  }
  
  .menu-wrap:hover,
  .menu-wrap:focus {
    background: rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
  }
  
  .menu-wrap:active {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: scale(0.98) !important;
  }

  .contact-section { padding: 80px 20px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-title { font-size: 36px; }
  .contact-subtitle { font-size: 18px; }
  .form-submit { align-self: center; width: 200px; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

/* Extra small mobile devices - further navbar optimization */
@media (max-width: 480px) {
  .blink-navbar { padding: 12px 16px; }
  .nav-menu { padding: 12px 16px; }
  
  /* Maintain proper positioning for extra small screens */
  .navbar-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }
  
  .navbar-content {
    gap: 8px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    right: 0 !important;
    flex-wrap: nowrap !important;
  }
  
  /* Maintain proper order for extra small screens */
  .navbar-content .lang-wrap {
    order: 1 !important;
  }
  
  .navbar-content .menu-wrap {
    order: 2 !important;
  }
  
  .lang-wrap {
    padding: 6px !important;
    min-height: 40px !important;
    min-width: 40px !important;
  }
  
  .lang-wrap .global-icon {
    width: 14px !important;
    height: 14px !important;
  }
  
  .nav-lang-title {
    font-size: 12px !important;
  }
  
  .menu-wrap {
    padding: 6px !important;
    min-height: 40px !important;
    min-width: 40px !important;
  }
}

/* iPhone SE and smaller - ultra compact navbar */
@media (max-width: 375px) {
  .blink-navbar { padding: 10px 14px; }
  
  /* Maintain proper positioning for iPhone SE and smaller */
  .navbar-wrap {
    width: 100% !important;
    justify-content: space-between !important;
  }
  
  .navbar-content {
    gap: 6px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    position: relative !important;
    right: 0 !important;
    flex-wrap: nowrap !important;
  }
  
  /* Maintain proper order for iPhone SE and smaller */
  .navbar-content .lang-wrap {
    order: 1 !important;
  }
  
  .navbar-content .menu-wrap {
    order: 2 !important;
  }
  
  .lang-wrap,
  .menu-wrap {
    padding: 4px !important;
    min-height: 36px !important;
    min-width: 36px !important;
  }
  
  .nav-lang-title {
    font-size: 11px !important;
  }
}

/* RTL Support */
[dir="rtl"] .navbar-container {
  flex-direction: row-reverse;
}

[dir="rtl"] .navbar-nav {
  direction: rtl;
}

[dir="rtl"] .language-switcher {
  direction: ltr;
}

/* RTL mobile navbar support */
@media (max-width: 768px) {
  [dir="rtl"] .navbar-content {
    flex-direction: row-reverse;
  }
  
  [dir="rtl"] .lang-wrap .global-icon {
    margin-right: 0 !important;
    margin-left: 2px !important;
  }
}

/* Homepage pinned sections (from Nuxt reference) */

/* Hero section */
.hero-section {
  position: relative;
  z-index: 1;
  margin-bottom: 124px;
  background-color: var(--main-color);
}

.video-box {
  width: 100%;
  overflow: hidden;
  min-height: 720px;
  position: relative;
  /* Ensure smooth scaling transitions */
  transition: all 0.3s ease;
}


/* mask the top watermark subtly */
.video-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0));
  z-index: 1;
  pointer-events: none;
}

 .hero-section-video {
  width: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: center center;
  animation: video_zoom 1s linear;
  animation-play-state: paused;
  animation-delay: calc(var(--scroll) * -1s);
  display: block;
  /* Ensure consistent aspect ratio scaling */
  transform-origin: center center;
 }

/* DESKTOP: Hide mobile video, show desktop video */
@media screen and (min-width: 769px) {
  .hero-section-video.mobile-screen { 
    display: none !important; 
  }
  
  .hero-section-video:not(.mobile-screen) { 
    display: block !important; 
  }
}

/* Clean mobile video implementation - Saudi office style */
.mobile-screen {
  display: none;
}

@media(max-width:480px) {
  .hero-section-video {
    display: none;
  }

  .mobile-screen {
    display: block;
    object-fit: cover;
    animation: video_zoom 1s linear;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll) * -1s);
  }
}

/* Reduce zoom to match screenshot (was 2.5) */
@keyframes video_zoom {
  to {
    transform: scale(1.6);
  }
}

 .hero-section-box {
  width: 100%;
  position: absolute;
  top: 90px;
  color: white;
  height: calc(100% - 89px);
  pointer-events: auto; /* allow interactions inside (CTA) */
 }
/* draw the triangular gradient without clipping text */
.hero-section-box::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 0% 100%, 97% 100%);
  background: linear-gradient(180deg, #00000005, var(--main-color));
  background-size: 100% 50%;
  background-repeat: no-repeat;
  background-position: bottom;
  z-index: 1;
}

 .hero-section-content {
  padding: 0 64px 0;
  position: absolute;
  top: 370px;
  z-index: 2; /* above overlay */
  pointer-events: auto; /* ensure buttons/links are tappable */
 }

 .hero-section-title {
  font-weight: 800;
  font-size: 36px;
  line-height: 47px;
  color: #fff;
  text-transform: uppercase;
  display: block;
  max-width: 720px;
  cursor: default;
  white-space: normal;
 }

 .hero-section-text {
  font-weight: 300;
  font-size: 38px;
  line-height: 47px;
  color: #fff;
  text-transform: uppercase;
  display: block;
  max-width: 960px;
  cursor: default;
  white-space: normal;
 }

 .hero-section-para {
  font-weight: 300;
  font-size: 24px;
  line-height: 29px;
  color: #fff;
  display: block;
  max-width: 720px;
  cursor: default;
  word-wrap: break-word;
  white-space: normal;
 }

.hero-section-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-bottom: 1px solid #fff;
  font-weight: 800;
  font-size: 20px;
  line-height: 24px;
  color: #fff;
  padding: 20px 64px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 24px;
}

/* Creativity (pinned) */
.creativity-section-wrap {
  background: var(--main-color);
  padding-inline: 64px;
  height: 6000px;
}

.creativity-section {
  position: sticky;
  top: -73px;
  overflow-x: hidden;
  width: 100%;
}

.creativity-title {
  font-size: 56px;
  font-weight: 300;
  line-height: 67.2px;
  margin: auto;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  cursor: default;
}

.creativity-title2 {
  font-size: 56px;
  font-weight: 900;
  line-height: 67.2px;
  margin: auto;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 31px;
  cursor: default;
}

.creativity-content {
  display: inline-block;
  height: calc(100vh - 98px);
  text-wrap: nowrap;
  width: 100%;
}

.creativity-video-box1 {
  display: inline-block;
  height: 100%;
  animation: video_scroll1 0.1s linear;
  animation-play-state: paused;
  animation-delay: calc(var(--scrollVideo) * -0.1s);
}

@keyframes video_scroll1 {
  0%, 20% { width: 60%; }
  40%, 100% { width: 19%; }
}

.content-video { width: 100%; height: calc(100% - 67.2px); overflow: hidden; }

.video1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: video1_scroll 0.33s linear;
  animation-play-state: paused;
  animation-delay: calc(var(--scrollVideo) * -0.33s);
}

@keyframes video1_scroll { 0%,20%{filter:none} 40%,100%{filter:blur(5px)} }

.creativity-video-box2 {
  display: inline-block;
  margin-inline: 24px;
  height: 100%;
  animation: video_scroll2 0.1s linear;
  animation-play-state: paused;
  animation-delay: calc(var(--scrollVideo) * -0.1s);
}

@keyframes video_scroll2 {
  0%,20%{width:19%} 40%,60%{width:60%} 80%,100%{width:19%}
}

.video2 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: video2_scroll 0.33s linear;
  animation-play-state: paused;
  animation-delay: calc(var(--scrollVideo) * -0.33s);
}

@keyframes video2_scroll { 0%,20%{filter:blur(5px)} 40%,60%{filter:none} 80%,100%{filter:blur(5px)} }

.video-box3 {
  display: inline-block;
  height: 100%;
  animation: video_scroll3 0.1s linear;
  animation-play-state: paused;
  animation-delay: calc(var(--scrollVideo) * -0.1s);
}

@keyframes video_scroll3 { 0%,60%{width:19%} 80%,100%{width:60%} }

.video3 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: video3_scroll 0.33s linear;
  animation-play-state: paused;
  animation-delay: calc(var(--scrollVideo) * -0.33s);
}

@keyframes video3_scroll { 0%,60%{filter:blur(5px)} 80%,100%{filter:none} }

.video-info { padding-top: 16px; }
.video-title { font-weight: 600; font-size: 20px; line-height: 24px; color: #fff; padding-bottom: 8px; text-transform: capitalize; cursor: default; }

/* Success Partners / Clients */
.clients-section { padding: 120px 64px 0; background: var(--main-color); margin-bottom: 0; }
.clients-title { font-size: 56px; font-weight: 300; line-height: 67.2px; color: #fff; text-transform: uppercase; text-align: center; margin-bottom: 40px; }
.clients-title span { font-weight: 900; }
.clients-images { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; align-items: stretch; }
.img-box { background: #d9d9d9; border-radius: 4px; height: 140px; display: flex; align-items: center; justify-content: center; }
.client-img { max-width: 80%; max-height: 70%; object-fit: contain; filter: grayscale(100%); }
@media (max-width: 1200px) { .clients-images { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .clients-section { padding: 80px 30px 0; } .clients-images { grid-template-columns: repeat(2, 1fr); gap: 16px; } .img-box { height: 120px; } .clients-title { font-size: 40px; line-height: 48px; } }

/* Services page (sections layout) */
.services-page { background: var(--main-color); padding-top: 90px; }
@media (max-width: 768px) {
  .services-page { padding-top: calc(70px + env(safe-area-inset-top, 0px)); }
}
/* Full-width services hero video */
.services-hero-video-section {
  width: 100%;
  margin-bottom: 80px;
  padding-top: 48px;
  position: relative;
  overflow: hidden;
}

.services-hero-video-container {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  background: var(--main-color);
  /* Add subtle gradient overlay for depth */
}

.services-hero-video-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.services-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.5s ease;
  transform-origin: center center;
  position: relative;
  z-index: 0;
}

.services-hero-video:hover {
  transform: scale(1.05);
}

/* Responsive breakpoints for stunning display */
@media (min-width: 1400px) {
  .services-hero-video-container {
    height: 500px;
  }
}

@media (max-width: 1200px) {
  .services-hero-video-container {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .services-hero-video-section {
    padding-top: 24px;
    margin-bottom: 40px;
  }
  
  .services-hero-video-container {
    height: 250px;
    border-radius: 8px;
    margin: 0 16px;
  }
  
  .services-hero-video:hover {
    transform: scale(1.02);
  }
}

@media (max-width: 480px) {
  .services-hero-video-container {
    height: 220px;
    margin: 0 12px;
    border-radius: 6px;
  }
}

.service-section{ padding-top:60px; padding-bottom:50px; overflow-x:hidden; position:relative; background: var(--main-color); height:auto; min-height:auto; }
.service-wrap{ background: var(--gray-color); min-height:299px; position:relative; }
.service-info-left{ padding:50px 0 50px 35px; width:calc(100% - 470px); margin-right:auto; min-height:100%; }
.service-info-right{ padding:50px 35px 50px 0; width:calc(100% - 470px); margin-left:auto; min-height:100%; }
.service-section .service-title{ font-size:42px; font-weight:800; line-height:67.2px; color:#fff; text-transform:uppercase; padding-bottom:16px; cursor:default; }
.service-section .service-title span{ font-weight:250; }
.service-para{ font-size:24px; font-weight:400; line-height:28.8px; color:#fff; cursor:default; }
.img-box-left{ width:470px; position:absolute; top:0; right:0; padding-left:36px; }
.img-box-right{ width:470px; position:absolute; top:0; left:0; padding-right:36px; }
.service-img-right, .service-img-left{ width:100%; object-fit:contain; aspect-ratio:16 / 15; }
.last-services{ margin-bottom:80px; }

/* Ensure services page sections don't inherit homepage scroll behaviors */
.services-page .service-section {
  position: static !important;
  height: auto !important;
  min-height: auto !important;
  overflow: visible !important;
  animation: none !important;
}

.services-page .service-wrap {
  position: relative !important;
  height: auto !important;
  min-height: 299px !important;
  animation: none !important;
}

/* Video production block */
.video-production-section{ padding:104px 120px; margin-bottom:80px; background: var(--main-color); }
.video-production-info{ max-width:77%; width:100%; margin-left:auto; padding-bottom:40px; }
.video-production-title{ font-size:36px; font-weight:250; line-height:48px; color:#fff; padding-bottom:16px; text-transform:uppercase; cursor:default; }
.video-production-title span{ font-weight:800; }
.video-production-para{ font-size:24px; font-weight:400; line-height:28.8px; color:#fff; cursor:default; }
.video-production-box{ clip-path: polygon(22.5% 0, 100% 0, 100% 58%, 78% 100%, 0 100%, 0 43%); height:516px; z-index:2; position:relative; background: var(--gray-color); }
.video-production-wrap{ clip-path: polygon(22.5% 0, 100% 0, 100% 58%, 78% 100%, 0 100%, 0 43%); height:516px; z-index:1; position:absolute; top:24px; width:100%; }
.video-production{ width:100%; height:100%; object-fit:cover; }

@media (min-width: 2049px) and (max-width: 2398px) {
  .services-hero-video-section{ padding-top:63px; }
  .services-hero-video-container{ height:550px; }
  .service-section{ padding-top:70px; padding-bottom:60px; }
  .service-wrap{ min-height:330px; }
  .service-info-left{ padding:60px 0 60px 38px; }
  .service-info-right{ padding:60px 38px 60px 0; }
  .service-info-left, .service-info-right{ width: calc(100% - 500px); }
  .img-box-left, .img-box-right{ width:500px; }
  .service-title{ font-size:47px; padding-bottom:20px; }
  .service-para{ font-size:27px; line-height:34px; }
  .video-production-title{ font-size:40.5px; padding-bottom:20px; }
  .video-production-para{ font-size:27px; line-height:32px; }
  .video-production-box{ height:570px; }
  .video-production-wrap{ height:570px; top:32px; }
}

/* Services (pinned) */
.services-section { margin-top: 30vh; padding-inline: 64px; margin-bottom: 30vh; height: 375vh; }
.services-section-sticky { position: sticky; top: 30vh; width: 100%; overflow: hidden; }
.services-section-wrap { display: flex; align-items: flex-start; gap: 80px; height: 27vh; }
.service-info { flex: 1 0 40%; padding-left: 50px; }
.services-section .service-title { font-size: 4vw; font-weight: 300; line-height: 67.2px; color: #fff; text-transform: uppercase; cursor: default; }
.service-text { font-size: 4vw; font-weight: 800; line-height: 67.2px; color: #fff; text-transform: uppercase; cursor: default; }
.service-name-content { flex: 1 0 40%; height: 935px; overflow: hidden; will-change: transform; animation: scrollServices 1s linear; animation-play-state: paused; animation-delay: calc(var(--scrollServices) * -1s); position: relative; padding: 82px 0 50px 4px; }
@keyframes scrollServices { 0%{transform:translateY(0)} 100%{transform: translateY(calc(7vh - 100%));} }
.service-name { font-size: 3vw; font-weight: 300; line-height: 48px; color: #fff; padding-bottom: 30px; animation: blurServices 1s infinite linear; animation-play-state: paused; cursor: pointer; filter: blur(3px); }
@keyframes blurServices { 0%,9%{filter:blur(3px)} 10%,17%{filter:blur(0)} 18%,100%{filter:blur(3px)} }
.service-name span { font-weight: 800; }

/* About page */
.about-page{ background: var(--main-color); color: var(--text-color); }

/* About hero with wedge shape */
.about-hero{ position: relative; padding: 96px 64px 40px; background: var(--main-color); }
.about-hero::before{ content:""; position:absolute; left:0; top:0; height: 260px; width: 64%; background:#121212; clip-path: polygon(0 0, 100% 40%, 0 100%); z-index:0; }
.about-hero-wrap{ position: relative; z-index:1; display:flex; align-items:flex-start; gap:48px; }
.about-hero-left{ min-width: 340px; }
.about-hero-brand{ font-size:42px; font-weight:800; text-transform:uppercase; letter-spacing:1px; margin-bottom:8px; }
.about-hero-sub{ font-size:24px; font-weight:300; text-transform:uppercase; opacity:.9; }
.about-hero-right{ flex:1; }
.about-hero-text{ font-size:20px; line-height:28px; max-width:980px; opacity:.9; }

/* Section headings with divider */
.about-section{ padding: 24px 64px; }
.about-title{ font-size:36px; font-weight:800; display:flex; align-items:center; gap:24px; margin: 24px 0 12px; }
.about-title::after{ content:""; height:1px; background: rgba(255,255,255,0.35); flex:1; }
.about-paragraph{ font-size:18px; line-height:28px; max-width: 1300px; opacity:.9; }
.about-list{ margin:14px 0 0 24px; padding:0; list-style: disc; font-size:18px; line-height:28px; }

/* Metrics */
.about-metrics{ padding: 24px 64px 16px; }
.metric-row{ display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid rgba(255,255,255,0.35); padding: 24px 0; }
.metric-label{ font-size:56px; font-weight:800; text-transform:uppercase; letter-spacing:1px; }
.metric-value{ font-size:72px; font-weight:800; }

@media (max-width: 900px){
  .about-hero{ padding: 72px 30px 24px; }
  .about-hero::before{ width: 85%; height: 220px; }
  .about-section{ padding: 16px 30px; }
  .about-title{ font-size:28px; }
  .metric-label{ font-size:36px; }
  .metric-value{ font-size:48px; }
}

/* Vision crossfade */
.vision-section-wrap { height: 3000px; background: #000; margin-top: 0; margin-bottom: 124px; margin-inline: 64px; }
.vision { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; }
.video-box-content { height: 100vh; position: relative; width: 100%; }
.vision-main-logo { z-index: 6; position: absolute; left: 0; top: 0; margin-left: 88px; margin-top: 80px; }
/* default logo sizing */
.vision-main-logo .vision-icon { width: 320px; height: auto; display: block; }
.vision-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.vision-video:nth-of-type(1) { z-index: 2; opacity: calc(0.5 - var(--scrollVision)); transition: opacity 0s ease; width: 110%; left: -5%; }
.vision-video:nth-of-type(2) { z-index: 1; opacity: calc(var(--scrollVision)); transition: opacity 0.5s ease; width: 110%; left: -5%; }
.info-video-wrap1 { width: calc(100% - 80px); margin-inline: 40px; background-color: #252422bd; border-radius: 10px; padding: 24px 48px; position: absolute; left: 0; bottom: 55px; animation: vision-info-video1 1s linear; animation-play-state: paused; animation-delay: calc(var(--scrollVision) * -1s); }
@keyframes vision-info-video1 { 0%,30%{transform:translateY(0);opacity:1} 50%,100%{transform:translateY(-200px);opacity:0} }
.video-para { font-size: 28px; font-weight: 400; line-height: 48px; color: white; cursor: default; }
.info-video-wrap2 { width: calc(100% - 80px); margin-inline: 40px; background-color: #252422bd; border-radius: 10px; padding: 24px 48px; position: absolute; left: 0; bottom: 55px; animation: vision-info-video2 1s linear; animation-play-state: paused; animation-delay: calc(var(--scrollVision) * -1s); }
@keyframes vision-info-video2 { 0%,30%{transform:translateY(200px);opacity:0} 50%,100%{transform:translateY(0);opacity:1} }

/* ---- Lang toggle: tighten icon + label spacing (override) ---- */
.lang-wrap{
  display:inline-flex !important;
  align-items:center !important;
  gap:2px !important;          /* control spacing explicitly */
  padding:0 !important;
  border:0 !important;
  background:none !important;
}

.lang-wrap .global-icon,
.lang-wrap svg{
  width:18px !important;
  height:18px !important;
  margin:0 !important;         /* remove margin hacks that add space */
  display:block !important;    /* avoids inline whitespace quirks */
  vertical-align:middle !important;
}

.nav-lang-title{
  margin:0 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
}

/* ========================================
   Reveal-on-scroll animations (global)
   ======================================== */
.reveal-left,
.reveal-right {
  opacity: 0;
  transform: translate3d(var(--reveal-x, 0), 20px, 0);
  transition: transform 0.7s cubic-bezier(.2,.65,.3,1), opacity 0.7s ease;
  will-change: transform, opacity;
}

.reveal-left { --reveal-x: -40px; }
.reveal-right { --reveal-x: 40px; }

.reveal-left.in-view,
.reveal-right.in-view {
  opacity: 1;
  transform: translate3d(0,0,0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Page loader overlay */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader .loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.page-loader .loader-logo {
  animation: logoBlink 1.2s ease-in-out infinite;
  will-change: opacity, transform;
}

.page-loader .loader-logo svg {
  width: 160px;
  height: auto;
  display: block;
}

.page-loader .loader-dots { display: inline-flex; gap: 8px; }
.page-loader .loader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.35;
  animation: dots 1.2s infinite ease-in-out;
}
.page-loader .loader-dots span:nth-child(2) { animation-delay: .2s; }
.page-loader .loader-dots span:nth-child(3) { animation-delay: .4s; }

@keyframes logoBlink {
  0%, 100% { opacity: 0.5; transform: scale(0.985); }
  50%      { opacity: 1;   transform: scale(1.0); }
}

@keyframes dots {
  0%, 80%, 100% { opacity: 0.35; transform: translateY(0); }
  40%           { opacity: 1;    transform: translateY(-3px); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .page-loader .loader-logo,
  .page-loader .loader-dots span {
    animation: none !important;
  }
}

