/* Layout: header, navigation, hero shell, page structure */

#sticky-header.header {
  position: sticky !important;
  top: 0 !important;
  left: 0;
  right: 0;
  z-index: 1030;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  padding: 0 clamp(15px, 4vw, 70px);
  margin: 0;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-top: none;
  outline: none;
}

#sticky-header.header > div {
  width: 100%;
  align-items: center;
}

.header {
  top: 20px;
  left: 0;
  right: 0;
  padding: 0 30px;
}

.brand-logo img,
.offcanvas-brand img {
  display: block;
  height: 46px;
  max-height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

.main-nav {
  background-color: #FFFFFF;
  border: 1px solid #DCE3EE;
  padding: 16px 35px;
  border-radius: 10px;
}

.main-menu {
  gap: 21px;
}

.main-menu-link {
  color: #475569;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 17px;
  line-height: 1;
  border-radius: 5px;
}

.main-menu-link.main-menu-active-link,
.main-menu-link:hover {
  color: #1E293B;
  background: #7DDCFF;
}

.contact-btn-wrap {
  gap: 10px;
}

.contact-btn.btn {
  border-radius: 10px;
  padding: 13px 20px;
  font-size: 14px;
}

.menu-toggle-btn {
  width: 40px;
  height: 40px;
  background-color: #FFFFFF;
  border: 1px solid #DCE3EE;
  color: #1E293B;
  padding: 12px 10px;
  border-radius: 10px;
  line-height: 1;
}

.menu-toggle-btn:hover {
  color: #1E293B;
  background-color: #7DDCFF;
  border-color: #7DDCFF;
}

.offcanvas-social-and-navmenu-wrap {
  max-height: none;
  overflow-y: visible;
}

.offcanvas {
  padding-left: 2rem;
  width: 350px !important;
  background-color: #FFFFFF !important;
  overflow-y: visible !important;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
  border-bottom-color: #DCE3EE;
  margin-bottom: 80px;
  padding: 0 !important;
}

.offcanvas-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #FFFFFF;
  line-height: 1;
  font-size: 0;
  border-radius: 10px;
  overflow: hidden;
}

.offcanvas-close svg {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  pointer-events: none;
}

.offcanvas-nav {
  margin-right: 40px;
}

.offcanvas-menu-item {
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(20, 20, 20, 0.1);
  border-bottom-color: #DCE3EE;
}

.offcanvas-menu-item:hover a {
  color: #1E293B !important;
}

.offcanvas-menu-item:hover .animate-arrow-up {
  animation: moveUp 0.8s linear;
}

.offcanvas-menu-link {
  color: #1E293B !important;
  transition-duration: 300ms;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.contact-btn:hover .contact-btn-icon {
  animation: moveUp 0.8s linear;
}

.line-pattern-light .line-verticle {
  background-color: rgba(203, 213, 225, 0.35);
}

.line-pattern-dark .line-verticle {
  background-color: rgba(20, 20, 20, 0.07);
}

.line-verticle {
  top: 0;
  bottom: 0;
  display: block;
  width: 1px;
  height: 100%;
  z-index: -1;
}

.line-left {
  left: 30px;
}

.line-two {
  left: 515px;
}

.line-three {
  left: 50%;
  transform: translateX(-50%);
}

.line-four {
  right: 515px;
}

.line-right {
  right: 30px;
}

.shape-width-400 {
  max-width: 300px;
}

.hero-section {
  background-color: #EDF0F6;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: calc(100svh - 80px);
  height: auto;
  margin-top: -72px;
  padding-top: 80px !important;
  padding-bottom: 24px !important;
  overflow: hidden;
  border-top: none;
}

.hero-section > .container {
  width: 100%;
}

.hero-row {
  row-gap: 20px;
  align-items: center;
  margin-top: 0 !important;
  min-height: 0 !important;
}

.hero-content-col {
  position: relative;
  z-index: 5;
}

.hero-image-col {
  position: relative;
  z-index: 2;
}

.hero-shape-top,
.hero-shape-bottom {
  opacity: 0.18;
  filter: brightness(0) saturate(100%) invert(88%) sepia(8%) saturate(347%) hue-rotate(176deg) brightness(97%) contrast(89%);
  z-index: -1;
}

.hero-shape-top {
  right: 90px;
}

.hero-shape-bottom {
  left: 90px;
}

html[dir="rtl"] .hero-shape-top {
  right: auto;
  left: 90px;
}

html[dir="rtl"] .hero-shape-bottom {
  left: auto;
  right: 90px;
}

.articles-section {
  background-color: #EDF0F6;
  padding: clamp(56px, 8vw, 96px) 0;
}

.services-section {
  background-color: #EDF0F6;
  padding: clamp(48px, 6vw, 72px) 0;
  direction: rtl;
}

.faq-section {
  background-color: #EDF0F6;
  padding: 88px 0 56px;
  direction: rtl;
}

.reviews-section {
  background: linear-gradient(180deg, #F7FAFD 0%, #EDF0F6 100%);
  padding: 62px 0 90px;
  direction: rtl;
  border-top: 1px solid rgba(220, 227, 238, 0.85);
}

#articles,
#services,
#faq,
#reviews,
#contact {
  scroll-margin-top: 88px;
}

.article-page-section {
  background-color: #EDF0F6;
  padding: 104px 0 clamp(56px, 8vw, 80px);
}

a#scrollUp {
  position: fixed;
  left: 50%;
  bottom: -60px;
  z-index: 11;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #7DDCFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #141414;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
