/* ================================================== */
/* Sense Inn ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â style.css                             */
/* ================================================== */

/* ---- @font-face ---- */

/* ITF Rayat - display / headings */
@font-face {
  font-family: "ITF Rayat";
  src: url("../fonts/itfrayat-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ITF Huwiya Arabic - body / UI text */
@font-face {
  font-family: "ITF Huwiya Arabic";
  src: url("../fonts/itfHuwiyaArabic-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "ITF Huwiya Arabic";
  src: url("../fonts/itfHuwiyaArabic-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ================================================== */
/* Sense Inn ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ÃƒÂ¢Ã¢â€šÂ¬Ã‚Â style.css                             */
/* ================================================== */
/* ---- base ---- */
html {
  overflow-x: hidden;
}
html.si-no-scroll,
html.si-no-scroll body {
  overflow: hidden;
  touch-action: none;
}


@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1180px;
  }
}

/* ---- preloader ---- */
#de-loader {
  position: fixed;
  z-index: 20000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}

.lds-roller div:after {
  content: " ";
  display: block;
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-color);
  margin: -2px 0 0 -2px;
}

.lds-roller div:nth-child(1) {
  animation-delay: -0.036s;
}
.lds-roller div:nth-child(1):after {
  top: 63px;
  left: 63px;
}
.lds-roller div:nth-child(2) {
  animation-delay: -0.072s;
}
.lds-roller div:nth-child(2):after {
  top: 68px;
  left: 56px;
}
.lds-roller div:nth-child(3) {
  animation-delay: -0.108s;
}
.lds-roller div:nth-child(3):after {
  top: 71px;
  left: 48px;
}
.lds-roller div:nth-child(4) {
  animation-delay: -0.144s;
}
.lds-roller div:nth-child(4):after {
  top: 72px;
  left: 40px;
}
.lds-roller div:nth-child(5) {
  animation-delay: -0.18s;
}
.lds-roller div:nth-child(5):after {
  top: 71px;
  left: 32px;
}
.lds-roller div:nth-child(6) {
  animation-delay: -0.216s;
}
.lds-roller div:nth-child(6):after {
  top: 68px;
  left: 24px;
}
.lds-roller div:nth-child(7) {
  animation-delay: -0.252s;
}
.lds-roller div:nth-child(7):after {
  top: 63px;
  left: 17px;
}
.lds-roller div:nth-child(8) {
  animation-delay: -0.288s;
}
.lds-roller div:nth-child(8):after {
  top: 56px;
  left: 12px;
}

@keyframes lds-roller {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ---- WOW.js ---- */
.wow {
  visibility: hidden;
}

/* ---- scaleIn (WOW animation) ---- */
@-webkit-keyframes scaleIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(1.5, 1.5, 1.5);
    transform: scale3d(1.5, 1.5, 1.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    -webkit-transform: scale3d(1.5, 1.5, 1.5);
    transform: scale3d(1.5, 1.5, 1.5);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

.scaleIn {
  -webkit-animation-name: scaleIn;
  animation-name: scaleIn;
}

/* ---- back to top ---- */
#back-to-top {
  background: var(--primary-color);
  position: fixed;
  bottom: -40px;
  right: 20px;
  z-index: 1020;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  padding-top: 5px;
  border: 0;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
  outline: none;
  opacity: 0;
  border-radius: 30px;
}


#back-to-top.show {
  bottom: 20px;
  opacity: 1;
}

#back-to-top.hide {
  bottom: -40px;
}

#back-to-top:before {
  font-size: 18px;
  content: "\2191";
  color: #fff;
  position: relative;
}

/* ---- marquee ---- */
.de-marquee-list {
  display: flex;
  width: max-content;
}
.si-mq-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.de-marquee-list-1 {
  animation: si-mq-right 60s linear infinite;
}
.de-marquee-list-2 {
  animation: si-mq-left 60s linear infinite;
}
@keyframes si-mq-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@keyframes si-mq-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- spacing utilities ---- */
.no-bottom {
  padding-bottom: 0 !important;
  margin-bottom: 0;
}

.no-top {
  padding-top: 0 !important;
}

/* ============================================================
   SENSE INN  CUSTOM STYLES
============================================================ */
:root {
  --primary-color: #b99071;
  --primary-color-rgb: 185, 144, 113;
  --si-accent: #b99071;
  --si-bg: #f4f2ed;
  --si-text: #333132;
  --si-bar: #e6dfd3;
  --si-spaces-bg: #ede8e0;
}

/* ---- Base ---- */
html {
  background-color: var(--si-bg);
  scroll-behavior: smooth;
}
body {
  background-color: var(--si-bg);
  overflow-wrap: break-word;
  word-break: break-word;
}
/* Sticky header offset disabled
[id] {
  scroll-margin-top: 100px;
}
*/
body {
  font-family: "ITF Huwiya Arabic", sans-serif;
  color: var(--si-text);
}

.mb-80px {
  margin-bottom: 80px;
}

/* ---- Typography helpers ---- */
.si-display {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 48px;
  max-width: 580px;
  margin: 0 auto 80px;
  text-align: center;
  line-height: 1.125;
  font-weight: 400;
}
.si-tag {
  font-family: "ITF Huwiya Arabic", sans-serif;
  color: var(--si-text);
}
.si-link {
  font-family: "ITF Huwiya Arabic", sans-serif;
  color: var(--si-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(51, 49, 50, 0.5);
}
.si-link:hover {
  color: var(--si-accent);
  text-decoration-color: var(--si-accent);
}

/* ---- CTA Button ---- */
.si-btn {
	display: inline-block;
	background: var(--si-accent);
	color: #fff !important;
	font-size: 14px;
	letter-spacing: 0.2rem;
	text-transform: uppercase;
	border: none;
	padding: 5px 32px 0px;
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.25s;
	line-height: 35px;
}
.si-btn:hover {
  background: #a07d5e;
}
.si-btn--wide {
  min-width: 280px;
}

/* ============================================================
   NOTIFICATION BAR
============================================================ */
.si-notification {
	background: var(--si-bar);
	text-align: center;
	padding: 0px 1rem;
	font-size: 1rem;
	line-height: 1;
	min-height: 40px;
	align-content: center;
}

/* ============================================================
   NAVIGATION
============================================================ */
.si-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 80px;
  background: var(--si-bg);
  position: relative;
  z-index: 1100;
  transition: transform 0.3s ease;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
/* Sticky header disabled globally */
/*
.si-nav--fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}
.si-nav--hidden {
  transform: translate3d(0, -100%, 0);
}
.si-nav--fixed .si-nav-logo a {
  position: relative;
  top: 0;
}
.si-nav--fixed .si-nav-logo img {
  max-height: 50px;
  transition: max-height 0.3s ease;
}
*/
.si-nav-logo {
	width: 20%;
	position: relative;
	height: 100%;
	display: flex;
	justify-content: center;
	margin: 0 auto;
}
.si-nav-logo a {
  display: flex;
  align-items: center;
  position: absolute;
  top: 20px;
}
.si-nav-logo img {
  max-height: 120px;
}
.si-nav-menu {
	display: flex;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 40%;
}
.si-nav-menu:last-of-type {
  justify-content: end;
}
.si-nav-menu a {
  color: var(--si-text);
  text-decoration: none;
}
.si-nav-menu a:hover {
  color: var(--si-accent);
}

/* ============================================================
   HERO
============================================================ */
.si-hero {
  padding: 160px 0 0;
  text-align: center;
}
.si-hero-text {
  max-width: 420px;
  margin: 0 auto 100px;
  padding: 0 20px;
}
.si-hero h1 {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 2rem;
  line-height: 1.125;
  margin: 14px 0 18px;
  font-weight: 400;
}


/* Hero arch images */
.si-hero-images {
  display: flex;
  gap: 20px;
  padding: 0 20px 40px;
  align-items: flex-end;
}
.si-hero-images .si-arch {
  flex: 1;
  overflow: hidden;
  border-radius: 200px 200px 16px 16px;
}
.si-hero-images .si-arch:nth-child(even) {
  margin-top: 0;
  border-radius: 16px 16px 200px 200px;
}
.si-hero-images img {
	width: 100%;
	height: auto;
	object-fit: contain;
	display: block;
}

/* ============================================================
   MARQUEE STRIP
============================================================ */
.si-marquee-strip {
  background: #fff;
  padding: 18px 0;
  overflow: hidden;
}
.si-marquee-strip .si-marquee-item {
	font-size: 12px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--si-accent);
	padding: 0 20px;
	white-space: nowrap;
}

html[dir="rtl"] .si-marquee-strip .si-marquee-item {
  padding: 0 25px;
}


/* ============================================================
   INTRO QUOTE
============================================================ */
.si-intro {
  padding: 120px 20px;
  text-align: center;
}
.si-intro-quote {
	font-family: "ITF Rayat", serif;
	color: var(--si-accent);
	font-size: 32px;
	line-height: 1.125;
	max-width: 580px;
}
.si-intro-icon {
  height: 80px;
  width: auto;
}
.si-intro-icon--sm     { height: 60px; }
.si-intro-icon--social { height: 65px; margin-bottom: 28px; }
.si-logo-mark          { height: 22px; width: auto; }
.si-logo-mark--sm      { height: 16px; }
.si-logo-mark--hero    { height: 24px; }

/* ============================================================
   ABOUT
============================================================ */
.si-about {
  display: flex;
  gap: 18px;
  padding: 0 20px;
  align-items: stretch;
}
.si-about-photo {
  width: 340px;
  min-width: 340px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.si-about-photo img {
  width: 100%;
  height: 130%;
  min-height: 540px;
  object-fit: cover;
  display: block;
  will-change: transform;
}
.si-about-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 50px;
    text-align: center;
}
.si-about-body {
  max-width: 380px;
}
.si-about-body h2 {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 32px;
  line-height: 1.125;
  margin: 12px 0 22px;
  font-weight: 400;
}

/* ============================================================
   SPACES SECTION
============================================================ */
.si-spaces-wrap {
  margin: 0 20px;
  background: var(--si-spaces-bg);
  border-radius: 16px;
  padding: 100px 40px;
}
.si-spaces-header {
  text-align: center;
  margin-bottom: 80px;
}
.si-spaces-header h2 {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 32px;
  font-weight: 400;
  margin: 12px 0 18px;
}
.si-spaces-header p {
  max-width: 440px;
  margin: 0 auto;
}

/* Individual space card */
.si-space-card {
  background: #fff;
  border-radius: 16px;
  padding: 100px;
  height: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.si-space-card h2 {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
}
.si-space-card p {
  margin-bottom: 28px;
}
.si-space-services {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
}
.si-space-services li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(185, 144, 113, 0.2);
}
.si-space-services li:last-child {
  border-bottom: none;
}
.si-space-actions {
  text-align: center;
}
.si-space-actions .si-btn {
  width: 100%;
  margin-bottom: 16px;
}

/* Space images */
.si-space-img {
  border-radius: 16px;
  overflow: hidden;
}
.si-spaces-wrap .si-space-img { 
  height: 360px; 
  min-height: 360px;
}
.si-space-img img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* ============================================================
      CAFE SECTION
  ============================================================ */
.si-cafe {
  margin: 18px 20px 0;
  background: #fff;
  border-radius: 16px;
  padding: 120px 40px;
  text-align: center;
}
.si-cafe h2 {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 32px;
  font-weight: 400;
  margin: 12px 0 20px;
}
.si-cafe p {
  max-width: 420px;
  margin: 0 auto 36px;
}
.si-cafe-images {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 50px;
}
.si-cafe-images .si-space-img {
  flex: 1;
  max-width: 540px;
  height: 360px;
}

/* ============================================================
   COMMUNITY
============================================================ */
.si-community {
  padding: 120px 20px;
  text-align: center;
}
.si-community-inner {
	max-width: 580px;
	/* margin: 0 auto; */
	padding: 0 100px;
}
.si-community h2 {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 30px;
  font-weight: 400;
  margin: 12px 0 22px;
}
.si-community-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 100px;
}

/* ============================================================
   SOCIAL MEDIA
============================================================ */
.si-social {
  padding: 120px 0;
  text-align: center;
}
.si-social h2 {
  font-family: "ITF Rayat", serif;
  color: var(--si-accent);
  font-size: 32px;
  font-weight: 400;
  margin: 12px 0 50px;
}
.si-social-marquee {
  overflow: hidden;
  margin-top: 50px;
}
.de-marquee-list-img {
  animation: si-mq-left 40s linear infinite;
  gap: 16px;
}
.de-marquee-list-img .si-mq-group {
  gap: 16px;
  padding-right: 16px;
}
.si-social-item {
  width: 260px;
  min-width: 260px;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
}
.si-social-item img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  display: block;
  will-change: transform;
}

/* ============================================================
   FOOTER
============================================================ */
.si-footer {
  padding: 0 20px;
}
.si-footer-inner {
	background: var(--si-bar);
	border-radius: 16px;
	padding: 60px 40px 20px;
}
.si-footer-col h4 {
	font-size: 16px;
	font-weight: 500;
  margin-bottom: 40px;
}
.si-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.si-footer-col li {
  margin-bottom: 12px;
}
.si-footer-col a {
  color: var(--si-text);
  text-decoration: none;
}
.si-footer-col a:hover {
  color: var(--si-accent);
}
.si-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  margin-top: 42px;
  padding-top: 18px;
  border-top: 1px solid rgba(185, 144, 113, 0.25);
  color: var(--si-text);
}
.si-footer-bottom > div {
	display: flex;
	gap: 20px;
}
.si-footer-bottom a {
  color: var(--si-text);
  text-decoration: none;
}
.si-footer-bottom a:hover {
  color: var(--si-accent);
}

.si-footer .logo-footer {
	margin: 40px auto 0;
	display: flex;
	width: 100px;
	position: relative;
	height: 120px;
	overflow: hidden;
}
.si-footer .logo-footer img {
	position: absolute;
	width: 100%;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1199px) {
  /* Sticky header offset disabled
  [id] {
    scroll-margin-top: 90px;
  }
  */
}
@media (max-width: 991px) {
  .si-nav {
    padding: 0 24px;
    gap: 16px;
  }
  .si-hero {
    padding-top: 64px;
  }
  .si-about {
    flex-direction: column;
  }
  .si-about-photo {
    width: 100%;
    min-width: unset;
    height: 280px;
  }
  .si-about-photo img {
    height: 130%;
    min-height: unset;
  }
  .si-spaces-wrap {
    padding: 60px 20px;
  }
  .si-footer-inner {
    padding: 50px 30px 26px;
  }
}
@media (max-width: 767px) {
  /* Sticky header offset disabled
  [id] {
    scroll-margin-top: 24px;
  }
  */
  .si-nav-menu {
    display: none;
  }
  .si-hero-images {
    gap: 10px;
  }
  .si-hero h1 {
    font-size: 34px;
  }
  .si-intro-quote {
    font-size: 24px;
  }
  .si-cafe-images {
    flex-direction: column;
    align-items: center;
  }
  .si-community-frame {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
  }
  .si-community-frame .si-community-inner {
    order: 0;
    flex-basis: 100%;
  }
  .si-community-frame .si-intro-icon {
    order: 1;
    flex: 1;
  }
  .si-about-card {
    padding: 50px 24px;
  }
  .si-space-card {
    padding: 48px 28px;
  }
  .si-footer-inner {
    padding: 40px 20px 20px;
  }
  .si-footer-col li {
    word-break: break-word;
  }
  .si-footer-bottom {
    flex-flow: column-reverse;
    justify-content: center;
    gap: 15px;
  }
}
@media (max-width: 480px) {
  /* utility */
  .mb-80px            { margin-bottom: 40px !important; }

  /* hero */
  .si-hero            { padding-top: 80px; }
  .si-hero-text       { margin-bottom: 50px; }

  /* display text */
  .si-display         { font-size: 32px; margin-bottom: 40px; }

  /* intro sections (quote + spaces divider) */
  .si-intro           { padding: 60px 20px; }

  /* about */
  .si-about-card      { padding: 40px 20px; }

  /* spaces */
  .si-spaces-wrap     { padding: 40px 16px; }
  .si-spaces-header   { margin-bottom: 40px; }
  .si-space-card      { padding: 36px 20px; }

  /* cafe */
  .si-cafe            { padding: 60px 20px; }

  /* community */
  .si-community       { padding: 60px 20px; }
  .si-community-inner { padding: 0; }

  /* social */
  .si-social          { padding: 60px 0; }

  /* footer */
  .si-footer-inner    { padding: 36px 16px 20px; }
  .si-footer-col h4   { margin-bottom: 20px; }
}

/* ---- hamburger button ---- */
.si-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
  flex-shrink: 0;
}
.si-burger span {
  display: block;
  height: 1.5px;
  background: var(--si-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.si-burger span:nth-child(1) { width: 26px; }
.si-burger span:nth-child(2) { width: 20px; }
.si-burger span:nth-child(3) { width: 26px; }

/* open state — animate to × */
.si-burger.is-open span:nth-child(1) {
  width: 26px;
  transform: translateY(6.5px) rotate(45deg);
}
.si-burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.si-burger.is-open span:nth-child(3) {
  width: 26px;
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- fullscreen overlay ---- */
.si-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--si-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
  top: 140px; /* start below the nav */
}
.si-mobile-overlay.is-open {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.35s ease;
}
.si-mobile-overlay-inner {
  text-align: center;
  padding: 40px 24px;
}
.si-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.si-mobile-link {
  font-family: 'ITF Rayat', serif;
  font-size: clamp(2rem, 10vw, 3.5rem);
  font-weight: 400;
  color: var(--si-text);
  text-decoration: none;
  line-height: 1.2;
  letter-spacing: 0.02em;
  display: block;
  padding: 6px 0;
  opacity: 0;
  transform: translateY(18px);
  transition: color 0.2s ease, opacity 0.3s ease, transform 0.3s ease;
}
.si-mobile-overlay.is-open .si-mobile-link {
  opacity: 1;
  transform: translateY(0);
}
/* stagger each link */
.si-mobile-overlay.is-open .si-mobile-link:nth-child(1) { transition-delay: 0.05s; }
.si-mobile-overlay.is-open .si-mobile-link:nth-child(2) { transition-delay: 0.10s; }
.si-mobile-overlay.is-open .si-mobile-link:nth-child(3) { transition-delay: 0.15s; }
.si-mobile-overlay.is-open .si-mobile-link:nth-child(4) { transition-delay: 0.20s; }
.si-mobile-overlay.is-open .si-mobile-link:nth-child(5) { transition-delay: 0.25s; }
.si-mobile-overlay.is-open .si-mobile-link:nth-child(6) { transition-delay: 0.30s; }
.si-mobile-overlay.is-open .si-mobile-link:nth-child(7) { transition-delay: 0.35s; }
.si-mobile-link:hover { color: var(--si-accent); }
.si-mobile-link--ar {
  font-family: 'ITF Huwiya Arabic', sans-serif;
  font-size: clamp(1.5rem, 7vw, 2.5rem);
  color: var(--si-accent);
}
@media (max-width: 767px) {
  .si-burger {
    display: flex;
    position: absolute;
  }
}

/* ============================================================
   EFFECTS
============================================================ */

/* ---- 1. Nav link hover underline ---- */
.si-nav-menu a {
  position: relative;
}
.si-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--si-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.si-nav-menu a:hover::after {
  transform: scaleX(1);
}

/* ---- 2. Heading typing effect (h2) ---- */
.si-char {
  display: inline;
  opacity: 0;
  transition: opacity 0.06s linear;
}
.si-type--in .si-char {
  opacity: 1;
}
/* stagger applied via JS inline transition-delay */

/* ---- 3. Heading word reveal ---- */
.si-wrev {
  display: inline-block;
  /* overflow: hidden; */
  vertical-align: bottom;
  margin-right: 0.22em;
}
.si-wrev-i {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-reveal--in .si-wrev-i {
  transform: translateY(0);
}
/* stagger applied via JS inline transition-delay */

/* ---- 3. Image hover zoom ---- */
.si-space-img,
.si-about-photo,
.si-social-item {
  overflow: hidden;
}
.si-space-img img,
.si-about-photo img,
.si-social-item img {
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-space-img:hover img,
.si-about-photo:hover img,
.si-social-item:hover img {
  transform: scale(1.06);
}

/* ---- 4. Section image scale-in reveal ---- */
.si-img--pending {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.si-img--revealed {
  opacity: 1;
  transform: scale(1);
}

/* ---- 5. Button hover slide fill ---- */
.si-btn {
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.si-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.12);
  transform: translateX(-101%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.si-btn:hover::before {
  transform: translateX(0);
}

/* ============================================================
   ARABIC (RTL) OVERRIDES
============================================================ */
html[lang="ar"] h1,
html[lang="ar"] h2 {
  font-size: 30px;
  line-height: 42px;
}
html[lang="ar"] .si-marquee-item {
  font-size: 15px;
  letter-spacing: 0 !important;
  text-transform: none;
  padding: 0 50px;
}
html[lang="ar"] .si-marquee-strip,
html[lang="ar"] .si-social-marquee {
  direction: ltr;
}
html[lang="ar"] .si-intro-quote {
	font-size: 28px;
	line-height: 42px;
}
/* Word-reveal: replace clip+slide with fade for Arabic (Arabic descenders break overflow:hidden clipping) */
html[lang="ar"] .si-wrev {
  overflow: visible;
}
html[lang="ar"] .si-wrev-i {
  transform: none;
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html[lang="ar"] .si-reveal--in .si-wrev-i {
  opacity: 1;
}
html[lang="ar"] .si-display {
	font-size: 45px;
	line-height: 62px;
}
html[lang="ar"] .si-btn {
	letter-spacing: 0;
	text-transform: none;
  font-size: 1rem;
  padding: 0 32px;
  line-height: 40px;
}
html[lang="ar"] #back-to-top {
	left: 20px;
  right: auto;
}