.hero-dar-almahara {
  position: relative;
  min-height: 100dvh;
  height: auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  background-color: var(--dark-hero);
}
.btn-hero:hover {
  color: #000;
}
.hero-slider,
.slide {
  position: absolute;
  inset: 0;
}
.slide {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1.5s,
    visibility 1.5s;
  z-index: 1;
}
.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.slide.active img {
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgb(6 11 19 / 0.95) 0%,
    rgb(6 11 19 / 0.8) 50%,
    rgb(6 11 19 / 0.4) 100%
  );
  z-index: 3;
}
.hero-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1300px;
  margin: auto;
  padding: 0 clamp(20px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.hero-content {
  max-width: 780px;
  text-align: right;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeInUp 1.2s forwards 0.2s;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgb(255 255 255 / 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgb(255 255 255 / 0.1);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 28px;
}
.hero-badge .star-icon {
  color: var(--primary);
}
.hero-title {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 24px;
}
.title-highlight {
  color: var(--primary);
  display: block;
  margin-top: 5px;
}
.hero-description {
  font-size: 20px;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 40px;
  font-weight: 500;
}
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.btn-hero {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 42px;
  min-height: 64px;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.btn-hero::before {
  content: "";
  position: absolute;
  bottom: -100%;
  left: -10%;
  width: 120%;
  height: 100%;
  background: #fff;
  border-radius: 50% 50% 0 0;
  z-index: -1;
  transition: var(--transition-smooth);
}
.btn-hero:hover::before {
  bottom: 0;
  border-radius: 0;
}
.btn-hero svg {
  width: 24px;
  height: 24px;
  transition: var(--transition-smooth);
}
.btn-hero-primary {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
  box-shadow: 0 10px 25px var(--primary-glow);
}
.btn-hero-primary:hover {
  color: var(--dark-hero);
  border-color: #fff;
}
.btn-hero-secondary {
  background: rgb(255 255 255 / 0.05);
  border: 2px solid rgb(255 255 255 / 0.2);
  color: #fff;
  backdrop-filter: blur(8px);
}
.trust-section {
  border-top: 1px solid rgb(255 255 255 / 0.15);
  display: inline-block;
  padding-top: 20px;
}
.stars {
  color: #fbbf24;
  font-size: 1.6rem;
  letter-spacing: 5px;
  margin-bottom: 6px;
}
.trust-text {
  color: #94a3b8;
  font-size: 1.05rem;
  font-weight: 700;
}
.slider-dots {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  background: rgb(255 255 255 / 0.3);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}
.dot.active {
  background: var(--primary);
  width: 42px;
  border-radius: 20px;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .hero-container {
    max-width: 1500px;
  }
  .hero-content {
    max-width: 850px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-description {
    font-size: 22px;
    max-width: 760px;
  }
}
@media (max-width: 1200px) {
  .hero-dar-almahara {
    min-height: 650px;
  }
  .hero-title {
    font-size: 42px;
  }
  .hero-description {
    font-size: 18px;
  }
}
@media (max-width: 991px) {
  .hero-dar-almahara {
    min-height: 680px;
    height: auto;
    padding: 120px 0 80px;
  }
  .hero-container {
    justify-content: center;
    text-align: center;
  }
  .hero-content {
    text-align: center;
    max-width: 700px;
  }
  .hero-badge {
    margin-inline: auto;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-actions {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .hero-dar-almahara {
    min-height: auto;
    padding: 110px 0 70px;
  }
  .hero-container {
    padding: 0 22px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: 30px;
    line-height: 1.35;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.9;
  }
  .hero-actions {
    max-width: 340px;
    margin: auto;
    flex-direction: column;
  }
  .btn-hero {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    font-size: 16px;
  }
}
@media (max-width: 480px) {
  .hero-dar-almahara {
    padding: 95px 0 65px;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-badge {
    font-size: 14px;
    padding: 8px 15px;
  }
  .btn-hero {
    min-height: 54px;
    font-size: 15px;
  }
}
@media (max-width: 360px) {
  .hero-title {
    font-size: 22px;
  }
  .hero-description {
    font-size: 14px;
  }
}
:root {
  --primary: #0d9488;
  --secondary: #0f1e36;
  --text-muted: #475569;
}
.showcase-section {
  padding: 140px 6% 120px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.showcase-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 90px;
  align-items: center;
}
.showcase-visual-wrapper {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgb(15 30 54 / 0.12);
}
.showcase-visual-wrapper::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 40%;
  height: 200%;
  background: linear-gradient(
    135deg,
    transparent 40%,
    rgb(255 255 255 / 0.35) 50%,
    transparent 60%
  );
  transform: skewX(-25deg);
  transition: all 0.8s ease;
  opacity: 0;
  z-index: 2;
}
.showcase-visual-wrapper:hover::before {
  opacity: 1;
  left: 120%;
}
.showcase-main-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
  border-radius: 32px;
}
.showcase-visual-wrapper:hover .showcase-main-img {
  transform: scale(1.04);
}
.showcase-visual-wrapper::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid rgb(13 148 136 / 0.15);
  border-radius: 38px;
  pointer-events: none;
  z-index: 1;
}
.showcase-info {
  text-align: right;
}
.showcase-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  background: rgb(13 148 136 / 0.1);
  padding: 8px 24px;
  border-radius: 50px;
}
.showcase-title {
  font-size: 2.9rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.25;
  margin: 28px 0 24px;
}
.showcase-title span {
  color: var(--primary);
}
.showcase-desc {
  font-size: 1.18rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.btn-genius {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 19px 46px;
  background: var(--secondary);
  color: #fff;
  font-size: 1.13rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.4s ease;
}
.btn-genius:hover {
  background: var(--primary);
  transform: translateY(-4px);
}
@media (max-width: 992px) {
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 70px;
    text-align: center;
  }
  .showcase-info {
    text-align: center;
  }
}
@media (max-width: 640px) {
  .showcase-section {
    padding: 90px 5% 80px;
  }
  .showcase-title {
    font-size: 2.2rem;
  }
}
.darm-service-section {
  padding: 80px 0;
  background: #f8fafc;
  font-family: Tajawal, sans-serif;
  direction: rtl;
}
.darm-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.darm-top_sec {
  text-align: center;
  margin-bottom: 60px;
}
.darm-sup-title {
  font-size: 30px;
  font-weight: 900;
  color: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}
.darm-sup-title svg {
  width: 40px;
  color: #0d9488;
}
.darm-sup-title span {
  color: #0d9488;
}
.darm-boxs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
.darm-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 15px;
  text-decoration: none;
  color: #1e293b;
  transition: all 0.4s ease;
  position: relative;
}
.darm-card:hover {
  transform: translateY(-8px);
  border-color: #0d9488;
  box-shadow: 0 20px 40px rgb(13 148 136 / 0.15);
}
.darm-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}
.darm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.darm-hover-overlay {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 45%) 0%,
    rgb(0 0 0 / 12%) 35%,
    transparent 70%
  );
  transition: background 0.35s ease;
}

.darm-card:hover .darm-hover-overlay {
  background: linear-gradient(
    to top,
    rgb(0 0 0 / 55%) 0%,
    rgb(0 0 0 / 15%) 40%,
    transparent 75%
  );
}

.darm-view-more {
  background: rgb(255 255 255 / 96%);
  padding: 10px 18px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #0f766e;
  font-weight: 700;
  transform: translateY(18px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease,
              box-shadow 0.35s ease, background 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
  box-shadow: 0 5px 18px rgb(0 0 0 / 12%);
  position: relative;
  z-index: 2;
}

.darm-card:hover .darm-view-more {
  transform: translateY(0);
  opacity: 1;
}

.darm-view-more svg {
  width: 20px;
  height: 20px;
  padding: 3px;
  box-sizing: content-box;
  border-radius: 8px;
  background: #0d9488;
  color: #fff;
  stroke-width: 2.2;
  transition: transform 0.3s ease;
}

.darm-card:hover .darm-view-more svg {
  transform: translateX(-3px);
}

.darm-view-more:hover {
  background: #f0fdfa;
  box-shadow: 0 8px 24px rgb(0 0 0 / 18%);
}
.darm-content {
  padding: 20px 10px;
  text-align: center;
}
.darm-content h2 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  transition: 0.3s;
}
.darm-card:hover h2 {
  color: #0d9488;
}
.darm-all-btn {
  text-align: center;
  margin-top: 50px;
}
.darm-btn-main {
  padding: 15px 40px;
  background: #0d9488;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.4s;
}
.darm-btn-main:hover {
  background: #0f766e;
  box-shadow: 0 10px 20px rgb(13 148 136 / 0.3);
}
@media (max-width: 991px) {
  .darm-boxs {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
    .darm-boxs {
    grid-template-columns: 1fr;
  }

  .darm-hover-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }

  .darm-view-more {
    transform: translateY(14px);
    opacity: 0;
  }
}
.YC-MainPage-Blogs-Section {
  padding: 60px 0;
  background: #fff;
  width: 100%;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 1000px;
}
.YC-MainPage-Blogs-Section .YC-MainTitle-Centered-Box {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.YC-MainPage-Blogs-Section .YC-MainTitle-Centered-Box h2 {
  font-size: 34px;
  font-weight: 800;
  color: #0d1728;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  padding-bottom: 15px;
  margin: 0;
}
.YC-MainPage-Blogs-Section .YC-MainTitle-Centered-Box h2 span.colored-text {
  color: #0d9488;
}
.YC-MainPage-Blogs-Section .YC-MainTitle-Centered-Box h2::before {
  content: "";
  width: 32px;
  height: 32px;
  background-color: #0d9488;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E")
    no-repeat center;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 19.5A2.5 2.5 0 0 1 6.5 17H20'/%3E%3Cpath d='M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z'/%3E%3C/svg%3E")
    no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
  display: inline-block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.YC-MainPage-Blogs-Section .YC-MainTitle-Centered-Box h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #0d9488, #0d9488);
  border-radius: 10px;
  transform: translateX(-50%) scaleX(1);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
}
.YC-MainPage-Blogs-Section:hover .YC-MainTitle-Centered-Box h2::after {
  transform: translateX(-50%) scaleX(1.8);
}
.YC-MainPage-Blogs-Section:hover .YC-MainTitle-Centered-Box h2::before {
  transform: rotate(-10deg) scale(1.1);
}
.YC-MainPage-Blogs-Section .-Posts-RelatedBoxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 45px;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    #e5eaef 0 0 0 1px,
    0 4px 6px -3px #09234012;
  border: 1px solid #e5eaef80;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  will-change: transform, box-shadow;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #fff0 0%,
    rgb(255 255 255 / 0.4) 50%,
    #fff0 100%
  );
  transform: skewX(-25deg);
  transition: none;
  z-index: 4;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link:hover::before {
  left: 150%;
  transition: all 0.8s ease-in-out;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 20px 40px 1px rgb(13 109 139 / 0.18);
  border-color: #e6f2ff;
}
.YC-MainPage-Blogs-Section .YC-Card-Thumb-Wrap {
  width: 100%;
  height: 210px;
  overflow: hidden;
  position: relative;
  background: #f1f5f9;
}
.YC-MainPage-Blogs-Section .YC-Card-Thumb-Wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(9 23 40 / 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  pointer-events: none;
}
.YC-MainPage-Blogs-Section .YC-Card-Thumb-Wrap .YC-Thumb-Img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link:hover .YC-Card-Thumb-Wrap::after {
  background: #fff0;
}
.YC-MainPage-Blogs-Section
  .YC-Blog-Card-Link:hover
  .YC-Card-Thumb-Wrap
  .YC-Thumb-Img {
  transform: scale(1.08);
  filter: brightness(1.03);
}
.YC-MainPage-Blogs-Section .YC-Post-box-item-Info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  z-index: 3;
}
.YC-MainPage-Blogs-Section .YC-category-badge p {
  background: #e6f2ff;
  color: #0d9488;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  width: max-content;
  margin-bottom: 14px;
  margin-top: 0;
}
.YC-MainPage-Blogs-Section .YC-title-post-grid {
  font-size: 21px;
  font-weight: 700;
  color: #0d1728;
  line-height: 1.4;
  margin-bottom: 12px;
  margin-top: 0;
  transition: color 0.3s ease;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link:hover .YC-title-post-grid {
  color: #0d9488;
}
.YC-MainPage-Blogs-Section .YC-P-content {
  font-size: 15px;
  color: #535772;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}
.YC-MainPage-Blogs-Section .YC-Post-Action-BTN {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0d9488;
  font-weight: 700;
  font-size: 15px;
  margin-top: auto;
}
.YC-MainPage-Blogs-Section .YC-Post-Action-BTN svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link:hover .YC-Post-Action-BTN {
  color: #0d9488;
}
.YC-MainPage-Blogs-Section .YC-Blog-Card-Link:hover .YC-Post-Action-BTN svg {
  transform: translateX(-6px);
}
.YC-MainPage-Blogs-Section .YC-LoadMore-Container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  width: 100%;
}
.YC-MainPage-Blogs-Section .YC-LoadMore-BTN {
  background: #0d9488;
  color: #fff;
  padding: 15px 45px;
  border-radius: 16px;
  font-size: 19px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px -5px rgb(13 109 139 / 0.3);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.YC-MainPage-Blogs-Section .YC-LoadMore-BTN svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}
.YC-MainPage-Blogs-Section .YC-LoadMore-BTN::before {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 30%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #fff0 0%,
    rgb(255 255 255 / 0.3) 50%,
    #fff0 100%
  );
  transform: skewX(-25deg);
}
.YC-MainPage-Blogs-Section .YC-LoadMore-BTN:hover::before {
  left: 150%;
  transition: all 0.8s ease-in-out;
}
.YC-MainPage-Blogs-Section .YC-LoadMore-BTN:hover {
  background: #0d9488;
  box-shadow: 0 20px 40px 1px rgb(13 109 139 / 0.18);
  transform: translateY(-5px);
}
.YC-MainPage-Blogs-Section .YC-LoadMore-BTN:hover svg {
  transform: translateY(5px);
}
@media only screen and (max-width: 768px) {
  .YC-MainPage-Blogs-Section {
    padding: 40px 0;
  }
  .YC-MainPage-Blogs-Section .YC-MainTitle-Centered-Box h2 {
    font-size: 26px;
  }
  .YC-MainPage-Blogs-Section .-Posts-RelatedBoxes {
    gap: 20px;
  }
  .YC-MainPage-Blogs-Section .YC-LoadMore-BTN {
    width: 100%;
    justify-content: center;
  }
}

