@import url('font-awesome.css');
@import url('simple-line-icons.css');
@import url('animate.css');
@import url('owl.css');
@import url('smooth-scrollbar.css');
@import url('scrollbar.css');
@import url('jquery.fancybox.min.css');


/* الخطوط العربية */

@font-face {
  font-family: 'TheYearofHandcrafts_Regular';
  src: url(../fonts/TheYearofHandicrafts-Regular.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;

}

@font-face {
  font-family: 'TheYearofHandcrafts_Bold';
  src: url(../fonts/TheYearofHandicrafts-Bold.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheYearofHandcrafts_Black';
  src: url(../fonts/TheYearofHandicrafts-Black.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheYearofHandcrafts_Medium';
  src: url(../fonts/TheYearofHandicrafts-Medium.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'TheYearofHandcrafts_SemiBold';
  src: url(../fonts/TheYearofHandicrafts-SemiBold.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* الإنجليزي */
@font-face {
  font-family: 'SakkalMajalla_Regular';
  src: url(../fonts/majalla.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SakkalMajalla_Bold';
  src: url(../fonts/majallab.woff2) format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}


/*** 

====================================================================

  Reset

====================================================================

 ***/

* {
  margin: 0px;
  padding: 0px;
  border: none;
  outline: none;
}




/*** 

====================================================================

  Global Settings

====================================================================

 ***/

.fancybox-caption {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  color: #ddd0bf;
  font-size: 1.1rem;
  direction: rtl;
}

body {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.60em;
  font-weight: 400;
  background: #101010;
  -webkit-font-smoothing: antialiased;
  -moz-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  cursor: pointer;
  color: #ddd0bf;
}

a:hover,
a:focus,
a:visited,
a:active,
button:active,
button:focus {
  text-decoration: none;
  outline: none;
}

ul,
ul li,
ol,
ol li {
  list-style: none;
  margin: 0 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  position: relative;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-weight: 400;
  margin: 0 0 15px;
  background: none;
  color: #ffffff;
  line-height: 1.33em;
}

:lang(en) {
  font-family: 'SakkalMajalla_Regular', sans-serif;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: #ffffff;
}

h1 {
  font-size: 60px;
}

h2 {
  font-size: 54px;
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 26px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 14px;
}

input,
button,
select,
textarea {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
}

textarea {
  overflow: hidden;
  resize: none;
}

p {
  position: relative;
  line-height: 1.60em;
  margin-bottom: 20px;
}

.text {
  position: relative;
  line-height: 1.60em;
  margin-bottom: 0px;
}

.strike-through {
  text-decoration: line-through;
}

.auto-container {
  position: static;
  max-width: 1240px;
  padding: 0px 20px;
  margin: 0 auto;
}

.site-container {
  position: relative;
  margin: 0 auto;
  width: 100%;
  min-height: 100vh;
  min-width: 300px;
}

.fade-in {
  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 1.5s;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.main-content-container {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  padding-left: 130px;
}

.site-container .body-bg-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-position: center top;
  background-repeat: repeat-y;
  background-size: cover;
}

.fit-banner .main-content-container {
  padding-left: 0;
}

.scroll-container {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ddd0bf;
}

.theme-btn {
  display: inline-block;
  -moz-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.centered {
  text-align: center;
}

.light-font {
  font-weight: 300;
}

.regular-font {
  font-weight: 400;
}

.semibold-font {
  font-weight: 600;
}

.bold-font {
  font-weight: 700;
}

.ex-bold-font {
  font-weight: 800;
}

.heavy-font {
  font-weight: 900;
}

.bg-lightgrey {
  background-color: #f6f7f8;
}

.no-bg {
  background: none;
}

.text-uppercase {
  text-transform: uppercase;
}

.grey-color {
  color: #333333 !important;
}

img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/*** 

====================================================================

  Scroll To Top style

====================================================================

***/

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 52px;
  color: #ddd0bf;
  font-size: 16px;
  text-transform: uppercase;
  line-height: 52px;
  text-align: center;
  z-index: 100;
  cursor: pointer;
  border-radius: 15px 15px 0 0;
  background: #793234;
  display: none;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
}

.scroll-to-top img {
  position: relative;
  top: -2px;
  vertical-align: middle;
  height: 10px;
}

.scroll-to-top:hover {
  color: #793234;
  background: white;
}

/*** 

====================================================================

  Main Header style

====================================================================

***/



.main-header-bar {
  position: fixed;
  left: 0px;
  top: 0px;
  z-index: 9999;
  width: 130px;
  height: 100%;
  background: rgba(255, 255, 255, 0.0);
}

.menu-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.50);
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
  z-index: 999;
}

.navbar-visible .menu-backdrop {
  opacity: 1;
  visibility: visible;
}

.main-header-bar .line-one {
  position: absolute;
  left: 64px;
  top: 120px;
  bottom: 450px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.main-header-bar .line-two {
  position: absolute;
  left: 64px;
  bottom: 155px;
  height: 80px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.main-header-bar .header-bar-inner {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.0);
}

.main-header-bar .header-bar-inner .outer-box {
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.20);
  z-index: 5;
}

.main-header-bar .social-links {
  position: absolute;
  left: 45px;
  bottom: 270px;
  width: 100%;
  padding: 0px 0;
  text-align: center;
}

.main-header-bar .social-links li {
  position: relative;
  display: block;
  margin-top: 16px;
  line-height: 38px;
}

.main-header-bar .social-links li a {
  position:
    relative;
  display:
    block;
  width: 38px;
  color: white;
  height: 38px;
  text-align: center;
  background: rgba(255, 255, 255, 0.10);
  font-size: 14px;
  line-height: 38px;
  border-radius: 50%;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  transition: all 300ms ease;
}

.main-header-bar .social-links li a:hover {
  color: #101010;
  background: #d8f744;
}

.main-header-bar .nav-toggler {
  position: absolute;
  left: 0px;
  top: 50px;
  width: 100%;
}


.main-header-bar .nav-toggler .toggler-btn {
  position: relative;
  display: block;
  background: none;
  width: 34px;
  height: 20px;
  margin: 0 auto;
  cursor: pointer;
}

.main-header-bar .nav-toggler .toggler-btn.active {}

.main-header-bar .nav-toggler .toggler-btn .bar {
  position: relative;
  display: block;
  border-radius: 2px;
  border-bottom: 3px solid #ffffff;
  margin-bottom: 5px;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

.main-header-bar .nav-toggler .toggler-btn .bar:last-child {
  width: 24px;
  margin-bottom: 0px;
}

.main-header-bar .copyright {
  position: absolute;
  left: 50px;
  bottom: 0px;
  width: 160px;
  transform-origin: left top;
  transform: rotate(-90deg);
}

.main-header-bar .alt-logo-box {
  position: absolute;
  left: 184px;
  top: 45px;
  display: none;
  z-index: 1;
}

.main-header-bar.alt-logo .alt-logo-box {
  display: block;
}

.main-header-bar .alt-logo-box img {
  width: 192px;
  max-width: none;
}





.main-nav-outer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  max-height: 100%;
  background: none;
  z-index: 2;
  visibility: hidden;
}

.main-nav-outer .nav-closer {
  position: absolute;
  left: 45px;
  top: 45px;
  width: 46px;
  height: 46px;
  opacity: 0;
  visibility: hidden;
  -ms-transform: scale(0);
  transform: scale(0);
  transition: all 700ms ease 0ms;
  -moz-transition: all 700ms ease 0ms;
  -webkit-transition: all 700ms ease 0ms;
  -ms-transition: all 700ms ease 0ms;
  -o-transition: all 700ms ease 0ms;
  cursor: pointer;
  transform: scale(0.25);
  -ms-transform: scale(0.25);
  z-index: 10;
}

.main-nav-outer.now-visible .nav-closer {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  -ms-transform: scale(1);
  transition: all 300ms ease 300ms;
  -moz-transition: all 300ms ease 300ms;
  -webkit-transition: all 300ms ease 300ms;
  -ms-transition: all 300ms ease 300ms;
  -o-transition: all 300ms ease 300ms;
}

.main-nav-outer.now-visible {
  opacity: 1;
  visibility: visible;

  opacity: 1;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-in;
  animation-duration: 0.25s;
}

.main-nav-outer .outer-nav-box {
  position: relative;
  padding: 45px 0px 20px;
  background: none;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.main-nav-outer .main-nav-box {
  position: relative;
  background: none;
  width: 100%;
  max-height: 100%;
  overflow: auto;
}

.main-nav-outer .scrollbar-thumb,
.main-nav-outer .scrollbar-thumb,
.main-nav-outer .scrollbar-thumb {
  background: rgba(255, 255, 255, 0.40);
}

.main-nav-outer .outer-nav-box .top-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  bottom: 35px;
  background: #793234;
}

.main-nav-outer .outer-nav-box .bottom-bg {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 35px;
  bottom: 0px;
  background: #793234;
}

.main-nav-outer .main-logo-box {
  position: relative;
  padding: 0px 54px;
  width: 100%;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  -ms-transform: translateY(-150px);
  transform: translateY(-150px);
  transition: all 300ms ease 200ms;
  -moz-transition: all 300ms ease 200ms;
  -webkit-transition: all 300ms ease 200ms;
  -ms-transition: all 300ms ease 200ms;
  -o-transition: all 300ms ease 200ms;
  z-index: 1;
}

.main-nav-outer.now-visible .main-logo-box {
  opacity: 1;
  visibility: visible;
  -ms-transform: translateY(0px);
  transform: translateY(0px);
  -moz-transition: all 700ms ease 400ms;
  -webkit-transition: all 700ms ease 400ms;
  -ms-transition: all 700ms ease 400ms;
  -o-transition: all 700ms ease 400ms;
  transition: all 700ms ease 400ms;
}

.main-nav-outer .main-nav-box .main-nav {
  position: relative;
  display: block;
  padding: 100px 30px 0;
}

.main-nav-outer .main-nav-box .main-nav .navigation {
  position: relative;
  left: 0px;
  top: 0px;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  display: block;
}

/* 1. Initial State: Hidden and slightly below final position */
.main-nav-outer .main-nav-box .main-nav .navigation>li {
  position: relative;
  display: block;
  width: fit-content;
  margin-right: 0;
  margin-left: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  /* Subtle distance is more professional */
  /* Transition applies to all properties. 600ms is the 'sweet spot' for smoothness */
  transition: all 600ms cubic-bezier(0.25, 1, 0.5, 1);
}

.dead {
  /* 1. Stops all mouse events (clicks, hovering, pointer changes) */
  pointer-events: none;
  /* 2. Prevents the user from highlighting/selecting the text */
  user-select: none;
  /* 3. Optional: Visual cues to show it's disabled */
  cursor: default;
  color: #ddd0bf;
  /* Makes it look like regular text */
  /* 2. The Rotation */
  transform: rotate(-90deg);
  /* 3. Optional: Pivot point */
  /* center is default, but you can use 'left top' or 'right bottom' */
  transform-origin: center center;
  position: absolute;
  top: 45%;
  padding: 0;
  margin: 0;
  text-align: center;
  white-space: nowrap;

  /* Optional: Ensures the browser treats the text as a single unit */
  word-break: keep-all;
  opacity: 0.75;
  font-size: 1.25rem;
}

.in-the-middle {
  display: flex;
  flex-direction: column;
  /* Keeps content stacked vertically */
  justify-content: center;
  /* This is the magic: Centers children vertically */
  min-height: 100%;
  /* Or use 100vh if it covers the whole screen */

}

.social-icons-section {
  display: flex;
  gap: 20px;
  /* Space between circles */
  align-items: center;
  justify-content: flex-start;
  /* Change to 'center' if you want them in the middle */
  direction: rtl;
}

.icon-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  /* Circle size */
  height: 80px;
  /* Circle size */
  border-radius: 50%;
  /* Makes it a perfect circle */
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Thin elegant border */
  color: #ffffff;
  /* Icon color */
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
}

/* Hover effect for a professional feel */
.icon-circle:hover {
  background-color: #ddd0bf;
  color: #793234;
  /* Icon turns black on white background */
  transform: translateY(-3px);
  /* Subtle lift */
}



.icon-circle i {
  font-size: 22px;
  /* Icon size inside the circle */
}

.nav-company-info {
  margin-bottom: 40px;
  font-size: 40px;
  opacity: 0.75;
}

.nav-company-address {
  margin-bottom: 40px;
  font-size: 22px;
  opacity: 0.75;
}

.nav-company-contact {
  font-size: 18px;
  color: white;
  opacity: 0.75;
}

.nav-company-contact:hover {
  color: #ddd0bf;
}

.nav-company-last {
  margin-bottom: 40px;
  font-size: 22px;
}

/* 1. The Hidden State */
.in-the-middle {
  opacity: 0;
  transform: translateX(-200px) translateY(30px);
  /* Starts 30px lower */


  /* The Transition */
  /* cubic-bezier(0.22, 1, 0.36, 1) is a "Quintic" out curve: 
       it starts fast and decelerates very smoothly for a premium feel */
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 2. The Visible State */
.main-nav-outer.now-visible .in-the-middle {
  opacity: 1;
  transform: translateX(-200px) translateY(0);
  transition-delay: 0.3s;

}


/* 2. Visible State: Fade in and slide to 0 */
.main-nav-outer.now-visible .main-nav-box .main-nav .navigation>li {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 3. Staggered Delays: Incremental 0.1s steps for a 'waterfall' effect */
.main-nav-outer.now-visible .main-nav-box .main-nav .navigation>li {
  /* This calculates the delay: index * 0.05s */
  /* We use 0.1s as a fallback in case --i isn't set */
  transition-delay: calc(var(--i, 1) * 0.05s);
}

/* A simple horizontal line for your menu */
.nav-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  /* Light line color */
  margin: 20px 0 20px auto;
  /* Space above and below the line */
  width: 65%;
  /* Length of the line */
  list-style: none;
  /* Removes bullet points */

}

/* NAV MENU BACKGROUND ICONS */

/* Background image assignments */
#img-design {
  background-image: url('../images/nav-icons/img-design.png');
}

#img-studio {
  background-image: url('../images/nav-icons/img-studio.png');
}

#img-production {
  background-image: url('../images/nav-icons/img-production.png');
}

#img-marketing {
  background-image: url('../images/nav-icons/img-marketing.png');
}

#img-socialmedia {
  background-image: url('../images/nav-icons/img-socialmedia.png');
}

#img-writing {
  background-image: url('../images/nav-icons/img-writing.png');
}

#img-events {
  background-image: url('../images/nav-icons/img-events.png');
}

#img-uiux {
  background-image: url('../images/nav-icons/img-uiux.png');

}

/* Base Image Styles */
.hover-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8) rotate(-5deg);
  width: 400px;
  height: 400px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: -1;
}

/* THE CSS SELECTORS */
.main-nav-box:has(.link-design:hover) #img-design,
.main-nav-box:has(.link-studio:hover) #img-studio,
.main-nav-box:has(.link-production:hover) #img-production,
.main-nav-box:has(.link-marketing:hover) #img-marketing,
.main-nav-box:has(.link-socialmedia:hover) #img-socialmedia,
.main-nav-box:has(.link-writing:hover) #img-writing,
.main-nav-box:has(.link-uiux:hover) #img-uiux,
.main-nav-box:has(.link-events:hover) #img-events {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1) rotate(0deg);
}

.main-nav-outer:not(.now-visible) .hover-img {
  opacity: 0 !important;
  transition: none;
}

/* unshrink the dividers */
.main-nav-outer .main-nav-box .main-nav .navigation>li.nav-divider {
  width: 65%;
  margin-right: 0;
  margin-left: auto;
}


/*** 

====================================================================
  Main banner video section
====================================================================

***/



/* LOGO SECTION */
/* Shared Styles for both logos */
.main-site-logo {
  position: fixed;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 140px;
  pointer-events: auto;
  /* Let clicks pass through to menu buttons */
  opacity: 1;
}

.main-site-logo svg {
  width: 100%;
  height: auto;
}

/* Logo svg shadow */
.logo-shadow {
  -webkit-filter: drop-shadow(rgb(0 0 0 / 20%) 0px 2px 8px);
  filter: drop-shadow(rgb(0 0 0 / 20%) 0px 2px 8px);
  /* Similar syntax to box-shadow */
}

/* LOGO A (Main Page): Start White */
.logo-main-page path {
  fill: white;
}

/* Logo B (The Menu Logo) Base State */
.logo-menu-page {
  z-index: 100;
  opacity: 0;
  /* Hidden until menu starts opening */
}

.logo-menu-page path {
  fill: white !important;
  /* Your brand color */
}

/* The Animation Trigger */
.main-nav-outer.now-visible .logo-menu-page {
  opacity: 1;
  /* We use a 'reveal' animation and a 'fade' at the same time */
  animation: gradualFill 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes gradualFill {
  0% {
    opacity: 0;
    /* Clip-path creates a box that hides the logo. 
           100% means the box is at the bottom (logo hidden) */
    clip-path: inset(100% 0 0 0);
    transform: translateX(-50%) scale(0.95);
  }

  40% {
    opacity: 0.75;
    /* Fade in quickly at the start */
  }

  100% {
    opacity: 0.75;
    /* 0% means the box covers the whole logo (logo revealed) */
    clip-path: inset(0% 0 0 0);
    transform: translateX(-50%) scale(1);
  }
}

.logo-menu-page {
  /* This ensures a smooth exit when the 'now-visible' class is removed */
  transition: opacity 0.5s ease, clip-path 0.5s ease;
}

/* HERO VIDEO */
/* Ensure the section fills the whole screen */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Takes full height of the viewport */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
  background-color: #000;
  /* Backup if video fails */
}

/* Video Container */
.video-bg-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.main-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* This makes the video behave like a background image */
}

/* The Vignette Effect */
.video-overlay-vignette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle,
      rgba(0, 0, 0, 0.1) 20%,
      rgba(0, 0, 0, 0.8) 100%);
  z-index: 2;
}

/* Centering the Content */
.hero-content {
  position: relative;
  z-index: 3;
  /* Must be higher than vignette */
  text-align: center;
  color: #fff;
  margin-right: 180px;
  /* Space from the right edge */
  margin-bottom: 120px;
  /* Space from the bottom edge */

  /* Ensure the box doesn't get too wide on large screens */
  max-width: 600px;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
}



.main-nav-outer .main-nav-box .main-nav .navigation>li.dropdown>a:after {
  content: "\f105";
  font-family: 'FontAwesome';
  position: absolute;
  right: 0;
  top: 10px;
  line-height: 30px;
  font-size: 14px;
  line-height: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.20);
  transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;

}

.privacy-policy-link {
  font-size: 14px !important;
  font-weight: 300 !important;
}

.main-nav-outer .main-nav-box .main-nav .navigation>li.dropdown.open>a:after {
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.main-nav-outer .main-nav-box .main-nav .navigation>li>a {
  position: relative;
  display: inline-block;
  padding: 12px 0px 12px 0px;
  font-size: 28px;
  color: white;
  line-height: 30px;
  /* font-weight: 700; */
  text-transform: none;
  letter-spacing: 1px;
  opacity: 0.75;
  transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
}

.arabic-text {
  text-align: right;
  margin-right: 50px;
}

.main-nav-outer .main-nav-box .main-nav .navigation>li:hover>a:before,
.main-nav-outer .main-nav-box .main-nav .navigation>li.current>a:before,
.main-nav-outer .main-nav-box .main-nav .navigation>li.open>a:before {
  background: #d2bda5;
}

.main-nav-outer .main-nav-box .main-nav .navigation>li:hover>a,
.main-nav-outer .main-nav-box .main-nav .navigation>li.current>a,
.main-nav-outer .main-nav-box .main-nav .navigation>li.open>a,
.main-nav-outer .main-nav-box .main-nav .navigation>li.dropdown:hover>a:after,
.main-nav-outer .main-nav-box .main-nav .navigation>li.dropdown.current>a:after,
.main-nav-outer .main-nav-box .main-nav .navigation>li.dropdown.open>a:after {
  color: #d2bda5;
}

.main-nav-outer .main-nav-box .main-nav .navigation>li>ul {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  padding: 3px 0;
  display: none;
}

.main-nav-outer .main-nav-box .main-nav .navigation>li>ul>li {
  position: relative;
  display: block;
  padding-left: 30px;
}

.main-nav-outer .main-nav-box .main-nav .navigation>li>ul>li>a {
  position: relative;
  display: block;
  padding: 5px 0px;
  font-size: 18px;
  color: #ffffff;
  line-height: 24px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 1px;
  opacity: 1;
  transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -webkit-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
}

.main-nav-outer .main-nav-box .main-nav .navigation>li>ul>li:hover>a,
.main-nav-outer .main-nav-box .main-nav .navigation>li>ul>li.current>a {
  color: #793234;
}


/*** 

====================================================================
  About Us Section
====================================================================

***/


.about-agency-section {
  padding: 160px 0 80px 0;
  /* Deep padding for a luxury feel */
  background-color: #ddd0bf;
  display: flex;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s cubic-bezier(0.215, 0.61, 0.355, 1),
    transform 1.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

/* The class that triggers the appearance */
.about-agency-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.agency-description {
  font-size: 1.6rem;
  /* Large, readable font */
  line-height: 1.8;
  color: #793234;
  font-weight: 300;
  margin-bottom: 60px;
  /* Optional: Smooth fade-in if you use your reveal animation here */
  direction: rtl;
  text-align: justify !important;
  text-align-last: center !important;
  font-feature-settings: "ss01" 1 !important;

}

/* Call to Action Button */
.cta-button-main {
  display: inline-block;
  padding: 18px 45px;
  border: 1px solid #793234;
  color: #793234;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  font-feature-settings: "ss01" 1;

}

.cta-button-main:hover {
  background-color: #793234;
  color: #ffffff;
  transform: translateY(-5px);
}


/*** 

====================================================================
  Services Section
====================================================================

***/

/* ============ MOBILE SERVICES SECTION ============ */

.mobile-service-content {
  flex: 1;
  min-width: 0;
  position: relative;
}

.mobile-service-bg {
  width: 100%;
  height: 90px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  margin: 12px 0;
  opacity: 0.15;
}

.services-section-mobile {
  background-color: #ddd0bf;
  padding: 70px 0;
  direction: rtl;
}

.mobile-services-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 25px;
}

.mobile-services-title {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-feature-settings: "ss01" 1;
  font-size: 2.4rem;
  color: #793234;
  margin-bottom: 16px;
  text-align: center;
}

.mobile-services-desc {
  font-size: 1rem;
  color: #793234;
  opacity: 0.75;
  text-align: center;
  line-height: 1.9;
  margin-bottom: 40px;
}

.mobile-services-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-service-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background-color: rgba(121, 50, 52, 0.06);
  background-size: 100px 100px;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(121, 50, 52, 0.12);
  border-radius: 8px;
  padding: 24px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 140px;
}

.mobile-service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(221, 208, 191, 0.85);
  z-index: 0;
}

.mobile-service-card:hover::before {
  background: rgba(221, 208, 191, 0.78);
}

.mobile-service-number,
.mobile-service-name,
.mobile-service-text {
  position: relative;
  z-index: 1;
}

.mobile-service-card:hover {
  background: rgba(121, 50, 52, 0.12);
  transform: translateY(-2px);
}

.mobile-service-number {
  font-family: 'SakkalMajalla_Bold', sans-serif;
  font-size: 1.8rem;
  color: #793234;
  opacity: 0.3;
  line-height: 1;
  flex-shrink: 0;
}

.mobile-service-name {
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-feature-settings: "ss01" 1;
  font-size: 1.15rem;
  color: #793234;
  margin-bottom: 6px;
  line-height: 1.5;
  text-align: right;
}

.mobile-service-text {
  font-size: 0.9rem;
  color: #793234;
  opacity: 0.65;
  line-height: 1.7;
  margin-bottom: 0;
}


/* Pattern Divider */
.section-divider {
  background-color: #ddd0bf;
  background-image: url('../images/pattern/4.png');
  background-repeat: repeat-x;
  background-size: 600px auto;
  height: 100px;
  background-position: top, 164px;
}

.section-divider img {
  width: 100%;
  display: block;
}

.section-divider img {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
}


/* 1. Reset everything to ensure no hidden overflows */
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* 2. The Scroll Container MUST have a fixed height */
.scroll-container {
  height: 100vh;
  width: 100%;
  overflow: hidden;
  /* Smooth-scrollbar handles the rest */
}

/* 3. The Track - This creates the scrolling room */
.services-section {
  position: relative;
  width: 100%;
  height: 700vh;
  overflow: hidden;
}

/* 4. The Wrapper - We will manually "pin" this with JS */
.services-sticky-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  /* flex-direction: column; */
  justify-content: center;
  align-items: center;
  /* CHANGE: changed from hidden to visible */
  overflow: visible;
  /* background: #ddd0bf; */
  /* Section background */
  will-change: transform;
}

/* gradient fade in */
.services-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(160, 120, 80, 0.7) 100%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}


.active-service-info {
  position: absolute;
  /* This moves the text down into the top arc of the wheel */
  bottom: 3vh;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1000px;
  text-align: center;
  z-index: 10;
  /* Higher layer to sit ON TOP of the black wheel */

  /* Contrast: Make text white so it's readable on the black wheel */
  color: #793234;
  pointer-events: none;
  direction: rtl;

}

.service-title-text {
  color: #793234;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
  margin-bottom: 30px;
  font-size: 45px;
}

.service-desc-text {
  position: relative;
  display: block;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  /* transition: opacity 0.3s ease; لتنعيم أي تغييرات أخرى */
  text-align: justify;
  text-align-last: center;
  font-size: 1.3rem;

}

.service-icon {
  font-size: 3rem;
  margin-bottom: 30px;

  color: rgb(121, 50, 52);

  font-family: 'SakkalMajalla_Bold', sans-serif;
  opacity: 1;
}

.fafa {
  transition: transform 0.3s ease;
}

.service-icon i {
  display: inline-block;
  /* Required for transforms */
}

.wheel-outer-container {
  position: absolute;
  /* Position it so the top half is visible at the bottom of the screen */
  left: 50%;
  transform: translate(-50%, 50%);
  /* Centers it horizontally */
  width: 180vh;
  height: 165vh;
  z-index: -1;
  /* Ensure it is above the white background */
  pointer-events: none;
  /* Allows scrolling 'through' the wheel */
}

.black-wheel {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  /* Solid black */
  border-radius: 50%;
  /* box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2); */
  /* Adds a shadow so you can see the edge */
  display: block !important;
  /* Forces visibility */
  transform: rotate(0deg);

  transform: rotate(-90deg);
  will-change: transform;
  position: relative;
}

.wheel-ring-image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: auto;
  /* change from 115% to auto */
  aspect-ratio: 1;
  pointer-events: none;
  /* opacity: 0.5; */
  /* mix-blend-mode: overlay; */
}


.services-section-title {
  position: absolute;
  top: 10%;
  right: 8%;
  left: auto;
  transform: none;
  z-index: 15;
  text-align: right;
  width: 35%;
  direction: rtl;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
}

.main-title {
  /* font-family: 'SakkalMajalla_Bold', sans-serif; */
  font-size: 4rem;
  font-weight: 400;
  color: #793234;
  display: block;
  margin-bottom: 60px;
  white-space: nowrap;
}


.services-sub-text {
  font-size: 1.4rem;
  font-weight: 300;
  color: #793234;
  opacity: 0.75;
  line-height: 1.9;
  direction: rtl;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  margin-top: 40px;
  text-align: justify;
}



/* =============================================
           MOBILE PORTFOLIO SECTION
============================================= */

.mobile-portfolio-section {
  background-color: #793234;
  padding: 70px 0 80px;
  direction: rtl;
  overflow: hidden;
  text-align: right;
}

/* ---- Header ---- */
.mobile-portfolio-header {
  padding: 0 28px;
  margin-bottom: 40px;
}

.mobile-portfolio-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: #ddd0bf;
  opacity: 0.45;
  margin-bottom: 12px;
  display: block;
}

.mobile-portfolio-title {
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ddd0bf;
  line-height: 1.3;
  margin-bottom: 14px;
  font-feature-settings: "ss01" 1;
  text-align: center;
}

.mobile-portfolio-subtitle {
  font-size: 0.95rem;
  color: #ddd0bf;
  opacity: 0.6;
  line-height: 1.8;
  max-width: 340px;
  text-align: center;
}

/* ---- Grid ---- */
.mobile-portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 0 4px;
}

/* Card */
.mobile-portfolio-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: block;
}

/* Tall card — spans 2 rows */
.mobile-portfolio-card.card-tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* Card image */
.mobile-portfolio-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Placeholder backgrounds for demo (remove once you have real images) */
.mobile-portfolio-card .placeholder-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay — sits on top of the image, appears on hover/tap */
.mobile-portfolio-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,
      rgba(53, 36, 38, 0.95) 0%,
      rgba(53, 36, 38, 0.4) 50%,
      transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

a.mobile-portfolio-card-overlay {
  color: #ddd0bf !important
}

.mobile-portfolio-card:hover .mobile-portfolio-card-overlay,
.mobile-portfolio-card:active .mobile-portfolio-card-overlay {
  opacity: 1;
}

.mobile-portfolio-card:hover .mobile-portfolio-card-img {
  transform: scale(1.06);
}

.mobile-portfolio-card-category {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #ddd0bf;
  opacity: 0.6;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.mobile-portfolio-card-name {
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #ddd0bf;
  line-height: 1.4;
  margin: 0;
}

/* ---- Bottom CTA ---- */
.mobile-portfolio-cta {
  text-align: center;
  margin-top: 40px;
  padding: 0 28px;
}

.mobile-portfolio-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(221, 208, 191, 0.35);
  color: #ddd0bf;
  font-size: 1rem;
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-weight: 600;
  transition: all 0.35s ease;
  border-radius: 2px;
}

.mobile-portfolio-btn:hover {
  background: #ddd0bf;
  color: #793234;
  border-color: #ddd0bf;
}

/* ---- Social strip ---- */
.mobile-portfolio-socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 36px;
}

.mobile-portfolio-social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(221, 208, 191, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ddd0bf;
  opacity: 0.6;
  font-size: 16px;
  transition: all 0.3s ease;
}

.mobile-portfolio-social-link:hover {
  opacity: 1;
  background: rgba(221, 208, 191, 0.12);
  color: #ddd0bf;
}

.mobile-portfolio-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ---- Clients ticker (optional — same as your existing one) ---- */
.mobile-clients-strip {
  margin-top: 50px;
  overflow: hidden;
  border-top: 1px solid rgba(221, 208, 191, 0.12);
  padding: 28px 0;
  position: relative;
}

.mobile-clients-strip::before,
.mobile-clients-strip::after {
  content: '';
  position: absolute;
  top: 0;
  width: 60px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.mobile-clients-strip::before {
  right: 0;
  background: linear-gradient(to left, #793234, transparent);
}

.mobile-clients-strip::after {
  left: 0;
  background: linear-gradient(to right, #793234, transparent);
}

.mobile-clients-track {
  display: flex;
  gap: 50px;
  align-items: center;
  animation: scrollClients 20s linear infinite;
  width: max-content;
}

.mobile-client-logo {
  font-size: 0.75rem;
  color: #ddd0bf;
  opacity: 0.4;
  letter-spacing: 0.15em;
  white-space: nowrap;
  text-transform: uppercase;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ================================
   PORTFOLIO VIDEO ITEMS
   ================================ */

.portfolio-video {
  overflow: hidden;
}

.portfolio-video-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.portfolio-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background-color: rgba(221, 208, 191, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  z-index: 5;
  transition: all 0.3s ease;
}

.portfolio-video:hover .portfolio-play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: #ddd0bf;
}

.portfolio-video .portfolio-item-overlay {
  z-index: 6;
}

/* Video hover effect - play preview */
.portfolio-video:hover .portfolio-video-bg {
  opacity: 1;
}

.portfolio-video .portfolio-video-bg {
  opacity: 0.7;
}

/* ================================
   PORTFOLIO FILTERS
   ================================ */

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.portfolio-filter-pill {
  padding: 10px 24px;
  background-color: #2a2a2a;
  color: #ddd0bf;
  border: 1px solid #3a3a3a;
  border-radius: 30px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.portfolio-filter-pill:hover {
  background-color: #3a3a3a;
}

.portfolio-filter-pill.active {
  background-color: #ddd0bf;
  color: #1a1a1a;
  border-color: #ddd0bf;
}

/* Portfolio Item Overlay */
.portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-item-category {
  display: inline-block;
  padding: 4px 12px;
  background-color: #ddd0bf;
  color: #1a1a1a;
  border-radius: 12px;
  font-size: 0.75rem;
  margin-bottom: 8px;
}

.portfolio-item-title {
  color: #fff;
  font-size: 1.1rem;
  margin: 0;
}

/* Filter Animation */
.portfolio-item {
  transition: all 0.4s ease;
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.portfolio-item.visible {
  opacity: 1;
  transform: scale(1);
  position: relative;
  visibility: visible;
}

/***
====================================================================
  Profile / Clients Section
====================================================================
***/

.fancybox-slide>* {
  height: 90% !important;
}

.portfolio-hidden-slide {
  display: none !important;
}

.profile-clients-section {
  background-color: #793234;
  padding: 100px 0 0;
  position: relative;
  z-index: 10;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.25);
  will-change: transform;
  margin-top: -200vh;

}


/* --- Gallery + Social Wrapper --- */
.profile-gallery-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  direction: ltr;
}

.portfolio-gallery-row {
  display: flex;
  gap: 30px;
}

/* --- Image Grid --- */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(4, 220px);
  gap: 15px;
  width: 100%;
}

.grid-item {
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  cursor: pointer;
}

.grid-item:hover {
  transform: scale(1.04);
  z-index: 2;
}

.grid-item:hover::after {
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.45);
}

.grid-item::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.005);
  border-radius: 4px;
  pointer-events: none;
  transition: box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.grid-tall {
  grid-row: span 2;
}

.grid-wide {
  grid-column: span 2;
}

.grid-small {
  grid-column: span 1;
}

.profile-grid {
  order: 1;
}

/* --- Social Icons --- */
.profile-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  order: 2;
  /* push to the right */
}

.social-icon-link {
  color: #ddd0bf;
  font-size: 24px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
  text-decoration: none;
  line-height: 1;
}

.social-icon-link:hover {
  opacity: 1;
  transform: scale(1.15);
  color: #fff;
}

/* --- Clients Slider --- */
.clients-slider-wrapper {
  margin-top: 40px;
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid rgba(221, 208, 191, 0.2);
  position: relative;
  transform: translateZ(0);
}

/* Fade edges */
.clients-slider-wrapper::before,
.clients-slider-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-slider-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #793234, transparent);
}

.clients-slider-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #793234, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  will-change: transform;
  gap: 60px;
}

.client-logo {
  font-family: 'SakkalMajalla_Regular', sans-serif;
  font-size: 1rem;
  color: #ddd0bf;
  opacity: 1;
  letter-spacing: 0.15em;
  white-space: nowrap;
  padding: 0 30px;
  flex-shrink: 0;
  /* prevent flex from collapsing items */
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo img {
  max-width: 200px;
  /* adjust to taste — this keeps logos reasonable */
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.clients-label {
  text-align: center;
  /* margin-bottom: 30px; */
  margin-top: 60px;
  direction: rtl;
  opacity: 0.75;
}

.clients-label span {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-size: 2rem;
  color: #ddd0bf;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;

  /* opacity: 0.5; */
}


/***
====================================================================
  CTA Section
====================================================================
***/


.cta-section {
  padding: 150px 0;
  position: relative;
  background-color: #ddd0bf;
  overflow: hidden;
  border-bottom: 0.5px solid #793234;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('../images/temp_bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.cta-container {
  position: relative;
}

.cta-wrapper {
  text-align: center;
  direction: rtl;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-description {
  font-size: 2.2rem;
  line-height: 1.8;
}

.cta-main-btn {
  margin-top: 50px;
  display: inline-flex;
}

/***
====================================================================
  Blog Feed Section
====================================================================
***/


.blog-feed-section {
  background-color: #ddd0bf;
  padding: 100px 0;
  position: relative;
}

.blog-feed-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  direction: rtl;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
}

.blog-feed-title {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
  font-size: 4rem;
  color: #793234;
  margin-bottom: 60px;
  text-align: right;
}

/* --- Featured Article --- */

.featured-article {
  display: flex;
  flex-direction: row-reverse;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  margin-bottom: 60px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.featured-article-image {
  width: 70%;
  min-height: 376px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.featured-article-info {
  background-color: #F2F0EF;
  width: 30%;
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.featured-article-date {
  font-size: 0.85rem;
  color: #747474;
  margin-bottom: 12px;
}

.featured-article-title {
  font-size: 1.5rem;
  color: #793234;
  margin-bottom: 16px;
  line-height: 1.6;
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;

}

.featured-article-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

.featured-article-btn {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #793234;
  border-radius: 30px;
  color: #793234;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.featured-article:hover .featured-article-btn {
  background-color: #793234;
  color: #fff;
}

/* --- Blog Grid --- */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card-image {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-card-content {
  padding: 20px 22px;
  background-color: #F2F0EF;

}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: #747474;
}

.blog-card-category {
  font-size: 0.75rem;
  color: #793234;
  background: rgba(121, 50, 52, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
}

.blog-card-title {
  font-size: 1.15rem;
  color: #793234;
  line-height: 1.6;
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  text-align: right;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;

}

/* --- View All Button --- */

.blog-feed-cta {
  text-align: center;
  margin-top: 60px;
}


/***
====================================================================
  Contact Section
====================================================================
***/


.contact-section {
  background-color: #ddd0bf;
  position: relative;
}

.contact-wrapper {
  display: flex;
  width: 100%;
  min-height: 700px;
}

/* --- Left Side: Info --- */

.contact-info-side {
  width: 50%;
  background-color: #793234;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.contact-info-content {
  padding: 60px 50px;
  direction: rtl;
  color: #ddd0bf;
  text-align: right;
}

.contact-info-title {
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: #ddd0bf;
}

.contact-info-desc {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 50px;
  opacity: 0.85;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-detail-label {
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-size: 0.85rem;
  opacity: 0.6;
}

.contact-detail-value {
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-size: 1.05rem;
  color: #ddd0bf;
}

.contact-detail-link {
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-detail-link:hover {
  color: #fff;
}

/* --- Right Side: Form --- */

.contact-form-side {
  width: 50%;
  padding: 80px 50px;
  display: flex;
  align-items: center;
  justify-content: center !important;
  direction: rtl;
  background-color: #d2bda5;
}

.contact-form {
  width: 100%;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-group {
  margin-bottom: 24px;
  width: 70%;
}

.form-label {
  display: block;
  font-size: 1.25rem;
  color: #793234;
  margin-bottom: 8px;
  font-feature-settings: "ss01" 1;
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  text-align: right;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(121, 50, 52, 0.25);
  border-radius: 4px;
  background: #ddd0bf !important;
  font-size: 1rem;
  color: #793234 !important;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  outline: none;
  transition: border-color 0.3s ease;
  display: block;
}

.form-input:focus {
  border-color: #793234 !important;
}


.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 30px;
  border: 1px solid #793234;
  border-radius: 0;
  color: #793234;
  background: transparent;
  font-size: 1.25rem;
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  float: right;
}

.contact-submit-btn:hover {
  background-color: #793234;
  color: #fff;
}

.contact-info-logo {
  margin-bottom: 60px;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #793234;
  cursor: pointer;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #793234;
  cursor: pointer;
}


.form-error {
  color: #e74c3c;
  font-size: 0.85rem;
  display: block;
  margin-top: 5px;
}

.input-error {
  border-color: #e74c3c !important;
}

.form-success-message {
  color: #27ae60;
  font-size: 1rem;
  margin-top: 15px;
  text-align: center;
}

.form-error-message {
  color: #e74c3c;
}

/***
====================================================================
  Main Footer
====================================================================
***/

/* Footer Contact Info */
.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #999;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: #ddd0bf;
}

.footer-contact-item svg {
  color: rgba(221, 208, 191, 0.7);
  flex-shrink: 0;
}

.main-footer {
  background-color: #352426;
  padding: 100px 0 10px 0;
  direction: rtl;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
}

.footer-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 40px; */
  gap: 100px;
}

/* --- Column Base --- */

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-about {
  flex: 1.5;
}

.footer-services {
  flex: 1;
}

.footer-important {
  flex: 0.8;
}

/* --- Logo + Description --- */

.footer-logo {
  margin-bottom: 24px;
  text-align: right;
}

.footer-logo svg {
  width: 70px;
  height: auto;
  fill: #ddd0bf;
}

.footer-description {
  font-size: 0.95rem;
  color: rgba(221, 208, 191, 0.7);
  line-height: 2;
  text-align: justify;
  text-align-last: right;
  margin-bottom: 28px;
}

/* --- Social Icons --- */

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(221, 208, 191, 0.25);
  color: rgba(221, 208, 191, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-social-link:hover {
  background-color: #ddd0bf;
  color: #2b1517;
  border-color: #ddd0bf;
}

.footer-social-link i,
.footer-social-link svg {
  font-size: 15px;
}

/* --- Column Titles --- */

.footer-col-title {
  font-family: 'TheYearofHandcrafts_Bold', sans-serif;
  font-size: 1.15rem;
  color: #ddd0bf;
  margin-bottom: 28px;
  text-align: right;
}

/* --- Links --- */

.footer-links {
  text-align: right;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(221, 208, 191, 0.6);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

/* --- Copyright --- */

.footer-bottom {
  text-align: center;
  padding-top: 50px;
  margin-top: 50px;
  border-top: 1px solid rgba(221, 208, 191, 0.1);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 40px;
  padding-right: 40px;
}

.footer-copyright {
  font-feature-settings: "ss01" 1;
  font-size: 0.85rem;
  color: rgba(221, 208, 191, 0.4);
  line-height: 1.8;
}


/* STOPPING THE USER FROM SCROLLING IN THE BACKGROUND WHEN THE MENU IS OPEN */
body.menu-open {
  overflow: hidden;
  height: 100vh;
  /* Prevents the page from "jumping" when the scrollbar disappears */
  padding-right: 0px;
}



/***
====================================================================
  Hero Video Section
====================================================================
***/


.hero-text {
  font-family: 'SakkalMajalla_Bold', sans-serif;
  font-size: 100px !important;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
  margin-bottom: 0 !important;
  opacity: 1;

  text-shadow: rgb(0 0 0 / 50%) 0px 2px 8px
}

.hero-subtext {
  font-family: 'SakkalMajalla_Regular', sans-serif;
  font-size: 50px !important;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
  opacity: 1;
  text-align: right;

}

html {
  scrollbar-gutter: stable;
}

/* HERO TEXT REVEAL ANIMATION */
.reveal-text {
  opacity: 0;
  filter: blur(20px);
  /* Start very blurry */
  transform: scale(0.95);
  /* Slightly smaller */
  animation: blurryFadeIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1s;
}

/* Delay for the subtext */
.reveal-text.delayed {
  animation-delay: 1.6s;
}

/* Keyframes for the cinematic entrance */
@keyframes blurryFadeIn {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    filter: blur(0px);
    /* Crystal clear */
    transform: scale(1);
    /* Original size */
  }
}

/* BRAND TAG */
.side-brand-tag {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  z-index: 1;
  /* Stays above everything */

  /* Rotation logic */
  writing-mode: vertical-lr;
  /* Rotates text 90 degrees naturally */

  padding: 20px 10px;
  pointer-events: none;
  /* User can click "through" it */
}

.side-brand-tag span {
  font-size: 1.2rem;
  font-weight: 700;

  /* problematic in arabic text  */
  /* letter-spacing: 2px; */


  text-transform: uppercase;
  color: #ffffff;
  /* Default color */

  /* THE "POP" SECRET: This makes the text change color 
       based on the background it's floating over */
  mix-blend-mode: difference;
  font-family: 'SakkalMajalla_regular', sans-serif;
  font-weight: 100;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
  transition: color 0.5s ease;
  opacity: 0.75;
}

.dark-theme span {
  color: #793234 !important;
  opacity: 1 !important;
}

/* DOWN POINTING ARROW */
/* Container for the arrow to handle positioning */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  /* Distance from the bottom of the screen */
  left: 50%;
  transform: translateX(-50%);
  /* The secret to perfect centering */
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.5s ease;
}

.scroll-indicator:hover {
  opacity: 1;
}

/* Creating the Arrow Shape */
.arrow-icon {
  width: 24px;
  height: 24px;
  border-right: 2px solid #ffffff;
  /* Use a thin 1px line */
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
  /* Rotates the L-shape to look like an arrow head */

  /* The "Breathing" Animation */
  animation: arrowFloat 2s infinite ease-in-out;
}

@keyframes arrowFloat {
  0% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.3;
  }

  50% {
    transform: rotate(45deg) translate(10px, 10px);
    /* Moves down-right due to rotation */
    opacity: 1;
  }

  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.3;
  }
}


/***
====================================================================
  Top Banner Navigation
====================================================================
***/


.top-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 60px;
  z-index: 1001;
  transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.5s ease;
  opacity: 1;
  visibility: visible;
  text-shadow: rgb(0 0 0 / 20%) 0px 2px 8px;

  background-color: rgba(255, 255, 255, 0);
  /* Start transparent */
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition:
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    box-shadow 0.3s ease,
    opacity 0.3s ease;

}


.top-nav-bar.nav-scrolled {
  background-color: rgba(255, 255, 255, 0.05);
  /* Soft white */
  backdrop-filter: blur(6px);
  /* Frosted glass effect */
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  /* Subtle lift */
  padding: 30px 60px;
}

.top-nav-bar.nav-scrolled .nav-link,
.top-nav-bar.nav-scrolled .side-brand-tag {
  color: #1a1a1a;
  /* Ensure contrast against white bg */
}

.top-nav-bar.nav-faded {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  /* Subtle lift-off effect */
  pointer-events: none;
}

/* Wings take up equal space */
.nav-wing {
  display: flex;
  flex: 1;
  gap: 80px;
}

.left-wing {
  justify-content: flex-end;
  margin-right: 60px;
}

.right-wing {
  justify-content: flex-start;
  margin-left: 60px;
}

/* The Links */
.wing-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 500;
  font-feature-settings: "ss01" 1, "ss02" 1, "ss03" 1, "ss04" 1, "ss05" 1;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, background-size 0.5s, color 0.5s ease;
  cursor: pointer;
  background: linear-gradient(currentColor 0 0) bottom right/ var(--underline-width, 0%) 0.1em no-repeat;
}


.wing-link:hover {
  transform: scale(1.1);
  color: white;
  --underline-width: 100%;

}

.wing-link:active {
  transform: scale(0.95);
  transition: transform 0.1s;
}

/* Existing Logo Adjustments */
.logo-main-page {
  position: relative;
  /* Remove any absolute/fixed positioning it had */
  top: unset;
  left: unset;
  transform: unset;
  width: 120px;
  /* Adjust size as needed */
}

/* Fading Class */
.nav-faded {
  opacity: 0;
  visibility: hidden;
}

/* THIS PART HANDLES THE SCROLLING ON WHITE BACKGROUND -> TURNS THE LINKS AND LOGO COLORS TO ARABE COLOR */

.wing-link,
#logo-svg .cls-1 {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease, background-size 0.5s, color 0.5s ease,
    fill 0.5s ease;
}

.top-nav-bar.nav-dark-theme .wing-link {
  color: #793234;
}

.top-nav-bar.nav-dark-theme #logo-svg .cls-1 {
  fill: #793234;
}

.bar.nav-dark-theme {
  border-bottom: 3px solid #793234 !important;
}

.banner-section .slide-item .text {
  position: relative;
  display: block;
  font-family: 'TheYearofHandcrafts_Regular', sans-serif;
  font-size: 24px;
  line-height: 1.6em;
  padding-top: 5px;
}

.banner-section .slide-item .links-box {
  position: relative;
  display: block;
  padding-top: 30px;
}

.banner-section .slide-item .links-box .link {
  position: relative;
  display: inline-block;
  vertical-align: top;
}

.banner-section .owl-dots {
  display: none;
}

.banner-section .owl-nav {
  position: absolute;
  right: 5px;
  bottom: 5px;
}

.banner-section .owl-theme .owl-nav .owl-next,
.banner-section .owl-theme .owl-nav .owl-prev {
  position: relative;
  display: block;
  float: left;
  width: 80px;
  height: 80px;
  margin-left: 5px;
  color: #ffffff;
  font-size: 30px;
  text-align: center;
  line-height: 80px;
  background: rgba(255, 255, 255, 0.15);
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  transition: all 500ms ease;
}

/* remove google recaptcha badge */
.grecaptcha-badge {
  visibility: hidden !important;
}