/* EMCO – Homepage Styles */

:root {
  --brand-primary: #374564;
  --brand-brown: #374564;
  --brand-teal: #00829b;
  --primary-900: #374564;
  --primary-800: #2c364f;
  --accent: #00829b;
  --white: #ffffff;
  --black: #18181b;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-500: #71717a;
  --gray-50: #f7f7f7;
  --container-max: 1320px;
  --header-height: 112px;
  --font-main: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --font-serif: var(--font-display);
  --transition: 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, p {
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
}

.main-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--brand-primary);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: var(--header-height);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  min-width: 0;
}

.logo-container {
  flex-shrink: 0;
}

.logo-image {
  width: auto;
  height: 64px;
  max-width: 220px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.nav-item {
  position: relative;
}

.nav-item.has-dropdown::after {
  content: "";
  position: absolute;
  left: -16px;
  right: -16px;
  top: 100%;
  height: 24px;
}

.nav-link {
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity var(--transition), color var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  white-space: nowrap;
}

.nav-link:hover,
.nav-item.is-open > .nav-trigger {
  opacity: 1;
  color: var(--white);
}

.nav-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-item.is-open .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(24, 24, 27, 0.18);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: var(--white);
  box-shadow: -2px -2px 4px rgba(24, 24, 27, 0.04);
}

.nav-dropdown-wide {
  min-width: 300px;
}

.nav-item.is-open .nav-dropdown,
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-link {
  display: block;
  padding: 11px 20px;
  color: var(--black);
  font-size: 15px;
  line-height: 1.4;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-link:hover {
  background: var(--gray-50);
  color: var(--brand-teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  line-height: 1.2;
  transition: opacity var(--transition), border-color var(--transition);
}

.header-contact-link:hover {
  border-top-color: var(--white);
  border-bottom-color: var(--white);
  opacity: 1;
  color: var(--white);
}

.header-contact-text {
  font-size: 14px;
  letter-spacing: 0.03em;
}

.search-btn,
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  padding: 4px 2px;
  transition: color var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--white);
}

.lang-divider {
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  user-select: none;
  line-height: 1;
}

/* Google Translate – hide default widget UI */
.google-translate-hidden,
#google_translate_element,
.goog-te-gadget,
.goog-te-gadget-simple,
.skiptranslate iframe,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-combo {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Full-screen Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.92) 0%,
    rgba(44, 54, 79, 0.88) 50%,
    rgba(0, 0, 0, 0.95) 100%
  );
  backdrop-filter: blur(6px);
}

.search-overlay-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  padding: 0 24px;
}

.search-close-btn {
  position: fixed;
  top: 28px;
  right: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  opacity: 0.8;
  transition: opacity var(--transition);
  z-index: 2;
}

.search-close-btn:hover {
  opacity: 1;
}

.search-form {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 12px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 300;
  font-family: var(--font-main);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-submit-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.search-submit-btn:hover {
  opacity: 1;
}

body.search-open {
  overflow: hidden;
}

body.menu-open {
  overflow: hidden;
}

body.rtl {
  direction: rtl;
}

body.rtl .nav-menu,
body.rtl .header-inner,
body.rtl .about-content-row,
body.rtl .about-stats-row,
body.rtl .footer-bottom {
  direction: rtl;
}

body.rtl .mobile-nav {
  right: auto;
  left: 0;
  transform: translateX(-100%);
  box-shadow: 8px 0 32px rgba(0, 0, 0, 0.2);
}

body.rtl .mobile-nav.open {
  transform: translateX(0);
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(55, 69, 100, 0.25) 0%,
    rgba(55, 69, 100, 0.45) 50%,
    rgba(55, 69, 100, 0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.breadcrumb {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-title {
  color: var(--white);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  max-width: 700px;
  letter-spacing: -0.02em;
}

/* EMCO About Us Section */
.emco-about-section {
  padding: 80px 0 90px;
  background: var(--white);
}

.emco-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1fr 0.55fr;
  gap: 32px;
  align-items: start;
}

.emco-about-title {
  font-family: var(--font-main);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--black);
  margin-bottom: 28px;
}

.emco-about-title strong {
  font-weight: 700;
  color: var(--brand-primary);
}

.emco-about-intro p,
.emco-about-stats p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.emco-stat-block {
  margin-top: 32px;
}

.emco-stat-block-bottom {
  margin-top: 40px;
}

.emco-stat-line {
  display: block;
  width: 100%;
  max-width: 280px;
  height: 2px;
  background: var(--brand-primary);
  margin-bottom: 16px;
}

.emco-stat-number {
  font-family: var(--font-main);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.emco-stat-number-light {
  color: var(--white);
}

.emco-stat-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-primary);
}

.emco-stat-label-light {
  color: rgba(255, 255, 255, 0.9);
}

.emco-feature-card {
  background: var(--brand-primary);
  color: var(--white);
  border-radius: 0 28px 28px 0;
  padding: 36px 32px 40px;
  min-height: 100%;
}

.emco-feature-stat {
  margin-bottom: 20px;
}

.emco-feature-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
  margin-bottom: 24px;
}

.emco-feature-card p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 18px;
}

.emco-about-stats .emco-stat-block {
  margin-top: 0;
  margin-bottom: 24px;
}

.emco-about-deco {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding-left: 8px;
}

.emco-logo-mark {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 260px;
  margin-right: -24px;
}

.emco-deco-bar {
  display: block;
  width: 130%;
  height: 54px;
  background: var(--brand-primary);
  border-radius: 54px 0 0 0;
  /* margin-left: auto; */
  margin: -15px 0 0 0px;
}

/* Chairman Message */
.chairman-section {
  padding: 80px 0 90px;
  background: var(--brand-primary);
  color: var(--white);
}

.chairman-heading {
  font-family: var(--font-main);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  text-align: center;
  color: var(--white);
  margin-bottom: 56px;
  letter-spacing: 0.02em;
}

.chairman-heading strong {
  font-weight: 700;
  color: var(--white);
}

.chairman-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.chairman-content {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.chairman-body {
  width: 100%;
}

.chairman-text {
  font-size: 17px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.chairman-signature {
  text-align: right;
  padding-top: 8px;
}

.chairman-name {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}

.chairman-name em {
  font-style: italic;
}

.chairman-role {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.chairman-image img {
  width: 100%;
  max-width: 480px;
  display: block;
  object-fit: contain;
}

/* List Of Sectors */
.sectors-section {
  padding: 80px 0 100px;
  background: var(--white);
}

.sectors-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.sectors-header-left {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.sectors-logo-mark {
  max-width: 140px;
  margin-right: 0;
  gap: 14px;
}

.sectors-logo-mark .emco-deco-bar {
  height: 32px;
  border-radius: 32px 0 0 0;
}

.sectors-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.sectors-title-light {
  font-family: var(--font-main);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  line-height: 1;
}

.sectors-title-bold {
  font-family: var(--font-main);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--brand-primary);
  line-height: 1;
}

.sectors-more-btn {
  flex-shrink: 0;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.sector-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 190px;
  padding: 36px 16px;
  background: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  border-radius: 20px;
  text-align: center;
  overflow: hidden;
  transition: border-color var(--transition);
}

.sector-card-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--white);
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.sector-card:hover .sector-card-fill {
  height: 100%;
}

.sector-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b8c0cc;
  transition: color var(--transition);
}

.sector-card:hover .sector-icon {
  color: var(--brand-primary);
}

.sector-label {
  position: relative;
  z-index: 1;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #b8c0cc;
  transition: color var(--transition);
}

.sector-card:hover .sector-label {
  color: var(--brand-primary);
}

/* Legacy about stats (unused) */
.about-section {
  background: var(--brand-primary);
  padding: 80px 0 90px;
  color: var(--white);
}

.about-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  text-align: center;
  color: var(--white);
  margin-bottom: 56px;
  letter-spacing: -0.02em;
}

.about-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.about-text p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.about-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  width: 100%;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-stat-line {
  width: 48px;
  height: 3px;
  background: var(--brand-teal);
  margin-bottom: 16px;
}

.about-stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 300;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.about-stat-desc {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
}

/* Case Study Banner */
.case-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.case-banner-bg {
  position: absolute;
  inset: 0;
}

.case-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(55, 69, 100, 0.88) 0%, rgba(55, 69, 100, 0.4) 60%, transparent 100%);
}

.case-banner-content {
  position: relative;
  z-index: 1;
  padding: 80px 0;
  max-width: 640px;
}

.chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.case-banner h2 {
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
}

.case-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin-bottom: 28px;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.btn-white {
  background: var(--white);
  color: var(--primary-900);
  border-color: var(--white);
}

.btn-white:hover {
  color: var(--white);
  background: var(--brand-teal);
  border-color: var(--brand-teal);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline-white:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--white);
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--white);
  border-color: var(--brand-primary);
}

.btn-primary:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: var(--white);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--black);
  font-weight: 500;
  font-size: 15px;
  transition: color var(--transition);
}

.btn-link:hover {
  color: var(--brand-teal);
}

.btn-link svg path {
  stroke: currentColor;
}

/* Our Expertise */
.expertise-section {
  padding: 80px 0 100px;
  background: var(--white);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  color: var(--brand-primary);
  margin-bottom: 48px;
  text-align: center;
  letter-spacing: -0.02em;
}

.expertise-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.expertise-row {
  display: grid;
  gap: 20px;
}

.expertise-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.expertise-row-2 {
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.expertise-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-100);
}

.expertise-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
}

.expertise-card:hover .expertise-card-bg {
  transform: scale(1.06);
}

.expertise-card-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  background: var(--brand-primary);
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.expertise-card:hover .expertise-card-fill {
  height: 100%;
}

.expertise-card-content {
  position: relative;
  z-index: 2;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 24px;
  background: linear-gradient(
    to top,
    rgba(55, 69, 100, 0.82) 0%,
    rgba(55, 69, 100, 0.35) 45%,
    transparent 100%
  );
  transition: background var(--transition);
}

.expertise-card:hover .expertise-card-content {
  background: transparent;
}

.expertise-card h3 {
  color: var(--white);
  font-family: var(--font-main);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 8px;
  transition: transform 0.35s ease;
}

.expertise-card:hover h3 {
  transform: translateY(-4px);
}

.expertise-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  line-height: 1.5;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.35s ease, margin 0.35s ease;
  margin: 0;
}

.expertise-card:hover p {
  max-height: 80px;
  opacity: 1;
  margin-top: 4px;
}

.expertise-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  margin-top: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color var(--transition);
}

.expertise-card:hover .expertise-card-arrow {
  opacity: 1;
  transform: translateY(0);
  border-color: var(--white);
}

/* Our Clients */
.clients-section {
  padding: 80px 0 100px;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
}

.clients-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.clients-header-text {
  max-width: 560px;
}

.clients-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.clients-title-light {
  font-family: var(--font-main);
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  line-height: 1;
}

.clients-title-bold {
  font-family: var(--font-main);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--brand-primary);
  line-height: 1;
}

.clients-header-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
  margin: 0;
}

.clients-more-btn {
  flex-shrink: 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 14px;
}

.client-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 35px 8px;
  background: var(--white);
  border: 1px solid rgba(55, 69, 100, 0.18);
  border-radius: 14px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.client-card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 10px 28px rgba(55, 69, 100, 0.1);
  transform: translateY(-3px);
}

.client-card img {
  display: block;
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform var(--transition), filter var(--transition);
}

.client-card:hover img {
  transform: scale(1.04);
  filter: none;
}

.client-card--accent {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.client-card--accent img {
  filter: brightness(0) invert(1);
  max-height: 48px;
}

.client-card--accent:hover {
  background: var(--primary-800);
  border-color: var(--primary-800);
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 2px solid var(--brand-primary);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--brand-primary);
}

.carousel-btn:hover svg path {
  stroke: var(--white);
}

.carousel-btn svg path {
  stroke: var(--brand-primary);
  transition: stroke var(--transition);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 100px 0;
  color: var(--white);
  background: url('../images/Plant2.jpg') center center / cover no-repeat;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 36px;
  max-width: 820px;
  color: var(--white);
}

.cta-contact {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.cta-contact svg {
  flex-shrink: 0;
}

.cta-contact a,
.cta-email {
  color: var(--white);
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  transition: border-color var(--transition), opacity var(--transition);
}

.cta-contact a:hover,
.cta-email:hover {
  border-color: var(--white);
  opacity: 0.9;
  color: var(--white);
}

/* Our Newsroom */
.newsroom-section {
  --newsroom-card-width: 420px;
  --newsroom-card-height: 560px;
  padding: 80px 0 100px;
  background: var(--white);
  overflow: hidden;
}

.newsroom-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) 1fr;
  gap: 56px;
  align-items: start;
}

.newsroom-intro {
  display: flex;
  flex-direction: column;
  min-height: var(--newsroom-card-height);
  padding-top: 4px;
}

.newsroom-heading {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 44px);
  color: var(--brand-primary);
  line-height: 1.2;
  margin-bottom: 24px;
}

.newsroom-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.newsroom-cta {
  align-self: flex-start;
  margin-bottom: 0;
}

.newsroom-nav {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.newsroom-nav .carousel-btn:not(.carousel-btn-active) {
  background: var(--gray-100);
  border-color: var(--gray-200);
}

.newsroom-nav .carousel-btn:not(.carousel-btn-active) svg path {
  stroke: var(--gray-500);
}

.carousel-btn-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.carousel-btn-active svg path {
  stroke: var(--white);
}

.newsroom-carousel-wrap {
  min-width: 0;
  position: relative;
  overflow: hidden;
  margin-right: calc(-1 * max(24px, (100vw - var(--container-max)) / 2));
  padding-right: max(24px, calc((100vw - var(--container-max)) / 2));
}

.newsroom-carousel-wrap .owl-carousel .owl-stage-outer {
  overflow: hidden;
}

#newsroom-carousel.owl-carousel .owl-item {
  padding: 0;
}

.newsroom-card {
  width: var(--newsroom-card-width);
}

.newsroom-card-link {
  position: relative;
  display: block;
  width: var(--newsroom-card-width);
  height: var(--newsroom-card-height);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.newsroom-card-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.55s ease;
}

.newsroom-card:hover img {
  transform: scale(1.04);
}

.newsroom-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px 32px 32px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.newsroom-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: capitalize;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.newsroom-card-overlay h3 {
  font-family: var(--font-main);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 14px;
}

.newsroom-card-meta {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

/* Our Purpose */
.purpose-section {
  background: var(--gray-50);
  padding: 100px 0 120px;
}

.purpose-content {
  max-width: 720px;
}

.purpose-accent {
  display: block;
  width: 14px;
  height: 14px;
  background: var(--brand-teal);
  margin-bottom: 28px;
}

.purpose-heading {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--black);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.purpose-text {
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-500);
  max-width: 640px;
}

/* Footer */
.site-footer {
  background: var(--brand-primary);
  color: var(--white);
  padding: 60px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-logo-image {
  width: auto;
  height: 64px;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 24px;
}

.footer-heading {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  opacity: 0.7;
}

.footer-nav a {
  display: block;
  color: var(--white);
  font-size: 15px;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer-nav a:hover {
  opacity: 1;
  color: var(--brand-teal);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social span {
  font-weight: 600;
  font-size: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
}

/* Mobile Nav */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 380px);
  height: 100dvh;
  background: var(--brand-primary);
  z-index: 999;
  padding: 0;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-nav-label {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mobile-nav-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition);
}

.mobile-nav-close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.mobile-nav-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 14px;
  cursor: pointer;
  transition: background var(--transition);
}

.mobile-search-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-nav-body {
  padding: 8px 0 32px;
  overflow-y: auto;
  max-height: calc(100dvh - 140px);
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  padding: 18px 24px;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
}

.mobile-nav-trigger:hover,
.mobile-nav-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}

.mobile-nav-trigger[aria-expanded="true"] .mobile-chevron {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  padding: 0 0 12px;
  background: rgba(0, 0, 0, 0.12);
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  padding: 12px 24px 12px 40px;
  transition: color var(--transition), background var(--transition);
}

.mobile-submenu a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-link {
  display: block;
  color: var(--white);
  font-size: 17px;
  font-weight: 500;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-nav-cta {
  margin: 24px 24px 0;
  width: calc(100% - 48px);
  justify-content: center;
}

.mobile-lang-switcher {
  padding: 0;
  margin: 0;
  border: none;
}

/* AOS overrides */
[data-aos] {
  pointer-events: auto;
}

/* Responsive */
@media (max-width: 1399px) {
  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 1399px) {
  .clients-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1199px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .nav-menu {
    gap: 12px;
  }

  .nav-link {
    font-size: 13px;
  }

  .sectors-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .clients-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 991px) {
  .header-left .nav-menu,
  .header-actions .lang-switcher,
  .header-contact-link {
    display: none;
  }

  .header-left {
    gap: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }

  .emco-about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .emco-about-deco {
    display: none;
  }

  .emco-feature-card {
    border-radius: 20px;
  }

  .chairman-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .chairman-image img {
    margin: 0 auto;
  }

  .sectors-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .sectors-header-left {
    gap: 24px;
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .clients-header {
    align-items: flex-start;
  }

  .about-content-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .newsroom-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .newsroom-intro {
    min-height: 0;
  }

  .newsroom-nav {
    margin-top: 2rem;
  }

  .newsroom-carousel-wrap {
    margin-right: 0;
    padding-right: 0;
  }

  .newsroom-section {
    --newsroom-card-width: 100%;
    --newsroom-card-height: 480px;
  }

  .newsroom-card-link {
    width: 100%;
  }

  .expertise-row-3,
  .expertise-row-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --header-height: 88px;
  }

  .main-container {
    padding: 0 16px;
  }

  .logo-image,
  .footer-logo-image {
    height: 52px;
    max-width: 180px;
  }

  .emco-about-section {
    padding: 56px 0 64px;
  }

  .emco-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .emco-feature-card {
    border-radius: 16px;
    padding: 28px 24px;
  }

  .chairman-section {
    padding: 56px 0 64px;
  }

  .chairman-signature {
    text-align: right;
  }

  .chairman-image img {
    margin: 0 auto;
  }

  .sector-label {
    font-size: 15px;
  }

  .sectors-section {
    padding: 56px 0 70px;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sectors-header-left {
    flex-direction: column;
    align-items: flex-start;
  }

  .sectors-logo-mark {
    max-width: 120px;
  }

  .sectors-more-btn {
    width: 100%;
    justify-content: center;
  }

  .about-stats-row {
    grid-template-columns: 1fr;
  }

  .about-section {
    padding: 60px 0 70px;
  }

  .expertise-row-3,
  .expertise-row-2 {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 260px;
  }

  .expertise-card-content {
    min-height: 260px;
  }

  .search-close-btn {
    top: 20px;
    right: 20px;
  }

  .newsroom-section {
    --newsroom-card-height: 420px;
  }

  .expertise-section,
  .clients-section {
    padding: 60px 0 70px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .client-card {
    min-height: 92px;
    padding: 16px 12px;
  }

  .client-card img {
    max-height: 44px;
  }

  .clients-more-btn {
    width: 100%;
    justify-content: center;
  }

  .cta-section {
    padding: 72px 0;
  }

  .btn-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid .btn {
    width: 100%;
    justify-content: center;
  }

  .purpose-section {
    padding: 70px 0 90px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-section {
    min-height: 70vh;
    padding-bottom: 48px;
  }

  .case-banner {
    min-height: auto;
  }

  .case-banner-content {
    padding: 48px 0;
  }
}

/* About Us – Inner Page */
.page-hero {
  background: var(--brand-primary);
  padding: calc(var(--header-height) + 56px) 0 80px;
}

.page-hero .breadcrumb {
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--white);
  max-width: 720px;
  letter-spacing: -0.02em;
}

.zigzag-sections {
  width: 100%;
}

.zigzag-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.zigzag-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.zigzag-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.zigzag-media--accent::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  background: var(--brand-teal);
  z-index: 1;
}

.zigzag-content {
  display: flex;
  align-items: center;
  padding: 72px clamp(28px, 5vw, 88px);
  background: var(--white);
}

.zigzag-content--navy {
  background: var(--brand-primary);
  color: var(--white);
}

.zigzag-content-inner {
  max-width: 560px;
}

.zigzag-accent {
  display: block;
  width: 52px;
  height: 52px;
  background: var(--brand-teal);
  margin-bottom: 28px;
}

.zigzag-heading {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.3;
  color: var(--brand-primary);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.zigzag-content--navy .zigzag-heading {
  color: var(--white);
}

.zigzag-heading strong {
  font-weight: 700;
}

.zigzag-content--navy .zigzag-text {
  color: rgba(255, 255, 255, 0.88);
}

.zigzag-signature--on-light .zigzag-signature-name {
  color: var(--brand-primary);
}

.zigzag-signature--on-light .zigzag-signature-role {
  color: var(--gray-500);
}

.zigzag-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-500);
  margin-bottom: 18px;
}

.zigzag-text:last-child {
  margin-bottom: 0;
}

.zigzag-quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(64px, 8vw, 96px);
  line-height: 0.8;
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0.9;
}

.zigzag-quote {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 40px;
}

.zigzag-signature {
  text-align: right;
}

.zigzag-signature-name {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 4px;
}

.zigzag-signature-name em {
  font-style: italic;
}

.zigzag-signature-role {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

@media (max-width: 991px) {
  .page-hero {
    padding: calc(var(--header-height) + 40px) 0 56px;
  }

  .zigzag-row,
  .zigzag-row--reverse {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .zigzag-media {
    order: -1;
    min-height: 280px;
  }

  .zigzag-media img {
    min-height: 280px;
  }

  .zigzag-content {
    padding: 48px 24px;
  }

  .zigzag-content-inner {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .page-hero-title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .zigzag-content {
    padding: 40px 20px;
  }

  .zigzag-media {
    min-height: 240px;
  }

  .zigzag-media img {
    min-height: 240px;
  }
}

.coming-soon-section {
  padding: 100px 0 140px;
  background: var(--white);
  text-align: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
}

.coming-soon-label {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--brand-primary);
  letter-spacing: 0.04em;
  margin: 0;
}

@media (max-width: 767px) {
  .coming-soon-section {
    padding: 72px 0 96px;
    min-height: 32vh;
  }
}

@media (max-width: 480px) {
  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .client-card {
    min-height: 84px;
    padding: 14px 10px;
    border-radius: 12px;
  }

  .client-card img {
    max-height: 38px;
  }
}
