/* ============================================================
   HMC PODIUM — GLOBAL.CSS
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Cairo:wght@300;400;500;600;700;800&display=swap');


:root {
  --navy:       #12295F;
  --pink:       #F26DF9;
  --teal:       #66C6BA;
  --platinum:   #EAEAEA;
  --white:      #FFFFFF;
  --navy-light: #1a3575;
  --navy-dark:  #0b1a3e;
  --text-dark:  #1a1a2e;
  --text-gray:  #6b7280;
  --bg-light:   #f8f9fc;

  --font-en: 'Poppins', sans-serif;
  --font-ar: 'Cairo', sans-serif;

  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 8px 32px rgba(18,41,95,0.12);
  --shadow-hover:0 20px 60px rgba(18,41,95,0.22);
}


*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { font-family: var(--font-en); color: var(--text-dark); background: var(--white); overflow-x: hidden; line-height: 1.7; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }


h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }


.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section { padding: 100px 0; }

.section-header          { text-align: center; margin-bottom: 60px; }
.section-header h2       { color: var(--navy); margin-bottom: 16px; }
.section-header p        { color: var(--text-gray); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.accent-line {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--pink));
  border-radius: 2px;
  margin: 16px auto 0;
}


.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8fdccf 0%, var(--teal) 50%, #2f8f82 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: var(--navy);
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(102,198,186,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: var(--white);
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-navy::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
.btn-navy:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-portal {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #8fdccf 0%, var(--teal) 50%, #2f8f82 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: var(--white);
  font-size: 0.82rem;
  padding: 9px 20px;
  transition: background-position 0.5s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.btn-portal::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
.btn-portal:hover {
  background-position: 100% 50%;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102,198,186,0.4);
}

@keyframes btn-shimmer {
  0%   { left: -60%; }
  55%  { left: 130%; }
  100% { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-primary::before,
  .btn-navy::before,
  .btn-portal::before { animation: none; display: none; }
}


.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: var(--teal);
  border-radius: 50%;
  opacity: 0.08;
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(18,41,95,0.97);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.navbar--solid {
  background: var(--navy);
  padding: 14px 0;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar__logo-icon {
  width: 42px; height: 42px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
}
.navbar__logo-text {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.navbar__logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.75;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 6px;
}


.navbar__link {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--teal);
  border-radius: 1px;
  transition: var(--transition);
}
.navbar__link:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.navbar__link:hover::after { width: 60%; }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .container {
  width: 100%;
  max-width: 100%;
  padding: 0 40px 0 24px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  background: transparent;
  font-family: var(--font-en);
}
.lang-toggle:hover { border-color: var(--teal); color: var(--teal); }


.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu*/
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 110px;
  padding-bottom: 40px;
  overflow-y: auto;
  gap: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu .navbar__link { font-size: 1.3rem; padding: 12px 24px; }

/* ============================================================
   LOGO IMAGE STYLES
   ============================================================ */

.navbar__logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.footer__logo-img {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 480px) {
  .navbar__logo-img {
    height: 36px;
  }
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.footer__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.footer__shape { position: absolute; border-radius: 50%; }
.footer__shape--1 {
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  opacity: 0.06;
  top: -80px; left: -80px;
}
.footer__shape--2 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, var(--pink), transparent 70%);
  opacity: 0.05;
  bottom: -60px; right: 15%;
}
.footer__shape--3 {
  width: 180px; height: 180px;
  background: radial-gradient(circle, var(--teal), transparent 70%);
  opacity: 0.04;
  top: 40%; right: -40px;
}

.footer .container { position: relative; z-index: 1; }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer__logo { display: flex; align-items: center; margin-bottom: 4px; }
.footer__logo-img { height: 66px; width: auto; display: block; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}


.footer__col-single {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__col ul li { margin-bottom: 10px; }
.footer__col ul li a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer__col ul li a:hover { color: var(--teal); padding-left: 4px; }


.footer__col ul li a.link-disabled {
  pointer-events: none;
  opacity: 0.45;
  cursor: not-allowed;
}
.footer__col ul li a.link-disabled:hover { color: rgba(255,255,255,0.55); padding-left: 0; }


.footer__tagline {
  color: rgba(255,255,255,0.92);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin-top: 22px;
}


.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible        { opacity: 1; transform: translateY(0); }
.reveal-delay-1        { transition-delay: 0.1s; }
.reveal-delay-2        { transition-delay: 0.2s; }
.reveal-delay-3        { transition-delay: 0.3s; }
.reveal-delay-4        { transition-delay: 0.4s; }
.reveal-delay-5        { transition-delay: 0.5s; }
.reveal-delay-6        { transition-delay: 0.6s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ══════════════════════════════════════════
   NAVBAR ACTIVE STATE
══════════════════════════════════════════ */
.navbar__link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.navbar__link.active::after { width: 60%; }

/* ══════════════════════════════════════════
   BACK TO TOP BUTTON
══════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  overflow: hidden;
  background: linear-gradient(135deg, #8fdccf 0%, var(--teal) 50%, #2f8f82 100%);
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease,
              background-position 0.5s ease, box-shadow 0.3s ease;
  z-index: 900;
}
.back-to-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: btn-shimmer 3.2s ease-in-out infinite;
  pointer-events: none;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-position: 100% 50%;
  box-shadow: 0 12px 30px rgba(102,198,186,0.4);
  transform: translateY(-4px);
}
.back-to-top svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top::before { animation: none; display: none; }
}

@media (max-width: 480px) {
  .back-to-top { bottom: 18px; right: 18px; width: 42px; height: 42px; }
}

/* ══════════════════════════════════════════
   RTL FIXES
══════════════════════════════════════════ */
[dir="rtl"] .about-vm__card {
  border-left: none;
  border-right: 4px solid var(--teal);
}
[dir="rtl"] .about-vm__card:nth-child(2) {
  border-right-color: var(--pink);
}