@import url("https://fonts.googleapis.com/css2?family=Baloo+Bhaijaan+2:wght@400..800&display=swap");

:root {
  --main-color: #C79441;
  --secondColor: #9c7d5b;
  --secondColor2: #463f35;
  --white-color: #ffffff;
  --white-color-color: #fefefe;
  --bg-light: #f9f7f5;
  --grad-line: linear-gradient(90deg, transparent, #d4b483, transparent);
  --grad-gold: linear-gradient(135deg, #C79441, #d4b483);
}

:target {
  scroll-margin-top: 100px;
}

.fancybox__container {
  z-index: 1999;
}

.fancybox__track,
.fancybox__content,
.carousel__track {
  direction: ltr !important;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background-color: var(--white-color-color);
}

::-webkit-scrollbar-thumb {
  background: var(--main-color);
  height: 300px;
}

* {
  margin: 0;
  padding: 0;
  line-height: 1.5;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* overscroll-behavior: none; */
  -webkit-tap-highlight-color: transparent;
  font-family: "Baloo Bhaijaan 2", sans-serif;
}

html,
body {
  overscroll-behavior: none;
}

body {
  background: var(--white-color);
  overflow-x: hidden;
  position: relative;
  /* direction: rtl; */
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

button,
input,
textarea {
  border: none;
  outline: none;
  background: none;
}

.row {
  margin: 0;
  padding: 0;
}

.preloader {
  background-color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.preloader .preloaderImg {
  width: 200px;
  height: 176px;
  position: relative;
  -webkit-mask: url("../images/fav.png") center/contain no-repeat;
          mask: url("../images/fav.png") center/contain no-repeat;
  animation: preloaderPulse 1.8s ease-in-out infinite;
}
@media screen and (max-width: 1024px) {
  .preloader .preloaderImg {
    width: 150px;
    height: 132px;
  }
}
/* الشعار الذهبي الثابت */
.preloader .preloaderImg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #e3c693 0%, var(--main-color) 70%, var(--secondColor) 100%);
}
/* لمعة تمر فوق الشعار */
.preloader .preloaderImg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  transform: translateX(-130%);
  animation: preloaderShimmer 1.6s ease-in-out infinite;
}
@keyframes preloaderShimmer {
  0% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}
@keyframes preloaderPulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* ===== Header (white background) ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
header nav {
  padding: 14px 35px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease-in-out;
}
header nav .logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
header nav .logo img {
  height: 60px;
}
@media screen and (max-width: 768px) {
  header nav .logo img {
    height: 48px;
  }
}
header nav .nav_links {
  gap: 28px;
  transition: 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
header nav .nav_links a {
  color: #1a1a1a;
  font-weight: 500;
  transition: color 0.3s ease-in-out;
  font-size: 20px;
}
header nav .nav_links a:hover {
  color: var(--main-color);
}
header nav .nav_links a.active {
  color: var(--main-color);
}
header nav .nav_links a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--main-color);
  margin-top: 2px;
}
@media screen and (max-width: 992px) {
  header nav .nav_links {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    height: 100vh;
    flex-direction: column;
    background: #fff;
    width: 70%;
    max-width: 320px;
    padding: 80px 32px;
    align-items: start;
    justify-content: start;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 9998;
  }
  header nav .nav_links a {
    color: #1a1a1a;
    font-size: 17.5px;
  }
  header nav .nav_links.active {
    right: 0;
  }
}
header nav .actions {
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 16px;
}
header nav .actions .profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--main-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}
header nav .actions .profile-btn:hover {
  background: var(--secondColor);
  transform: translateY(-1px);
}
header nav .actions button {
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}
header nav .actions .toggler {
  display: none;
}
@media screen and (max-width: 992px) {
  header nav .actions .toggler {
    display: flex;
  }
}
@media screen and (max-width: 576px) {
  header nav .actions .profile-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}
header nav.sticky {
  padding: 8px 35px !important;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
@media screen and (max-width: 768px) {
  header nav.sticky {
    padding: 10px 16px !important;
  }
}

/* ===== New Hero Section (split / diagonal) ===== */
.hero-section {
  position: relative;
  direction: ltr; /* يثبّت الصورة على اليمين والنص على اليسار */
  width: 100%;
  min-height: 100vh;
  background: #fff;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
.hero-section .hero-content {
  flex: 1 1 54%;
  display: flex;
  align-items: center;
  padding: 120px 6% 80px 5%;
  z-index: 3;
}
.hero-section .hero-text {
  direction: rtl;
  text-align: right;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: heroFadeUp 1s ease forwards;
}
.hero-section .hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #1f1f1f;
}
.hero-section .hero-title .hl {
  color: var(--main-color);
}
.hero-section .hero-desc {
  font-size: 18px;
  line-height: 1.9;
  color: #5b5b5b;
  margin: 0;
  max-width: 560px;
}
.hero-section .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-section .hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--main-color);
  color: #fff;
  padding: 14px 34px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 12px 26px rgba(156, 125, 91, 0.35);
}
.hero-section .hero-btn:hover {
  background: var(--secondColor);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(52, 27, 0, 0.35);
}
.hero-section .hero-media {
  position: relative;
  flex: 0 0 46%;
  align-self: stretch;
}
/* الشريط الذهبي المائل خلف الصورة */
.hero-section .hero-media .hero-shape {
  position: absolute;
  inset: 0;
  left: -60px;
  background: linear-gradient(135deg, var(--secondColor2), var(--main-color));
  -webkit-clip-path: polygon(20% 0, 100% 0, 100% 100%, 4% 100%);
          clip-path: polygon(20% 0, 100% 0, 100% 100%, 4% 100%);
  z-index: 1;
}
.hero-section .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-clip-path: polygon(24% 0, 100% 0, 100% 100%, 9% 100%);
          clip-path: polygon(24% 0, 100% 0, 100% 100%, 9% 100%);
  z-index: 2;
}
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media screen and (max-width: 1200px) {
  .hero-section .hero-title {
    font-size: 46px;
  }
}
@media screen and (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    min-height: auto;
  }
  .hero-section .hero-media {
    flex: none;
    width: 100%;
    height: 320px;
    order: -1;
  }
  .hero-section .hero-media .hero-shape {
    display: none;
  }
  .hero-section .hero-media img {
    -webkit-clip-path: none;
            clip-path: none;
  }
  .hero-section .hero-content {
    padding: 40px 24px 56px;
  }
  .hero-section .hero-text {
    max-width: 100%;
  }
  .hero-section .hero-title {
    font-size: 36px;
  }
}
@media screen and (max-width: 576px) {
  .hero-section .hero-media {
    height: 240px;
  }
  .hero-section .hero-title {
    font-size: 28px;
  }
  .hero-section .hero-desc {
    font-size: 16px;
  }
  .hero-section .hero-btn {
    padding: 12px 26px;
    font-size: 15px;
  }
}

/* ===== About / حول الشركة ===== */
.about_section .about-company {
  display: flex;
  direction: rtl;
  align-items: center;
  gap: 48px;
}
.about_section .about-company__media {
  order: 2;
  flex: 1 1 50%;
}
.about_section .about-company__media img {
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.about_section .about-company__content {
  order: 1;
  flex: 1 1 50%;
  text-align: right;
}
.about_section .about-company__kicker {
  display: inline-block;
  color: var(--main-color);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}
.about_section .about-company__title {
  font-size: 44px;
  font-weight: 800;
  color: #1f1f1f;
  margin: 0 0 22px;
}
.about_section .about-company__title .hl {
  color: var(--main-color);
}
.about_section .about-company__text p {
  color: #5b5b5b;
  font-size: 16px;
  line-height: 2;
  margin: 0 0 16px;
}
.about_section .about-company__signature {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px 0 26px;
}
.about_section .about-company__signature .role {
  color: #1f1f1f;
  font-weight: 600;
}
.about_section .about-company__signature .name {
  color: var(--main-color);
  font-weight: 700;
}
.about_section .about-company__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--secondColor2);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 42px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}
.about_section .about-company__more:hover {
  background: var(--main-color);
  color: #fff;
  transform: translateY(-2px);
}
@media screen and (max-width: 992px) {
  .about_section .about-company {
    flex-direction: column;
    gap: 32px;
  }
  .about_section .about-company__media,
  .about_section .about-company__content {
    flex: none;
    width: 100%;
  }
  .about_section .about-company__media {
    order: 1;
  }
  .about_section .about-company__content {
    order: 2;
  }
  .about_section .about-company__title {
    font-size: 32px;
  }
}

/* ===== About modal ===== */
.about-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.about-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.about-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.about-modal__dialog {
  position: relative;
  direction: rtl;
  text-align: right;
  background: #fff;
  width: 100%;
  max-width: 1040px;
  max-height: 88vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 48px 48px 40px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.about-modal.is-open .about-modal__dialog {
  transform: translateY(0);
}
.about-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
  color: #fff;
  background: #1f1f1f;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.about-modal__close:hover {
  background: var(--main-color);
}
.about-modal__heading {
  font-size: 26px;
  font-weight: 800;
  color: #1f1f1f;
  margin: 28px 0 16px;
}
.about-modal__heading:first-child {
  margin-top: 0;
}
.about-modal__body p {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 2;
  margin: 0 0 14px;
}
.about-modal__name {
  color: var(--main-color) !important;
  font-weight: 700;
  margin-top: 4px !important;
}
@media screen and (max-width: 576px) {
  .about-modal__dialog {
    padding: 56px 22px 28px;
  }
  .about-modal__heading {
    font-size: 21px;
  }
}

/* ===== Features (Mission / Goal / Vision) ===== */
.features_section {
  padding: 90px 0;
  direction: rtl;
}
.features_section .features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.features_section .feature-card {
  position: relative;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 30px;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.features_section .feature-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.72), rgba(20, 20, 20, 0.82));
  transition: background 0.45s ease;
  z-index: 1;
}
/* البطاقة الوسطى مميزة باللون الذهبي كما في التصميم */
.features_section .feature-card:nth-child(2) .feature-card__overlay {
  background: linear-gradient(180deg, rgba(212, 180, 131, 0.82), rgba(156, 125, 91, 0.9));
}
.features_section .feature-card__content {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.45s ease;
}
.features_section .feature-card__icon {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  transition: background 0.45s ease, color 0.45s ease, transform 0.45s ease;
}
.features_section .feature-card__title {
  font-size: 26px;
  font-weight: 800;
  margin: 0;
  color: var(--main-color);
}
.features_section .feature-card:nth-child(2) .feature-card__title {
  color: #1f1f1f;
}
.features_section .feature-card__sub {
  font-size: 15px;
  font-weight: 600;
  color: #f0f0f0;
}
.features_section .feature-card__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.9;
  color: #f2f2f2;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(14px);
  transition: max-height 0.5s ease, opacity 0.45s ease, transform 0.45s ease, margin 0.45s ease;
}
.features_section .feature-card:nth-child(2) .feature-card__desc {
  color: #2a2113;
}
/* عند الهوفر يظهر الوصف بالكامل بانيميشن ناعم */
.features_section .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.28);
}
.features_section .feature-card:hover .feature-card__overlay {
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.84), rgba(15, 15, 15, 0.92));
}
.features_section .feature-card:nth-child(2):hover .feature-card__overlay {
  background: linear-gradient(180deg, rgba(156, 125, 91, 0.92), rgba(52, 27, 0, 0.92));
}
.features_section .feature-card:nth-child(2):hover .feature-card__title,
.features_section .feature-card:nth-child(2):hover .feature-card__desc {
  color: #fff;
}
.features_section .feature-card:hover .feature-card__content {
  transform: translateY(-6px);
}
.features_section .feature-card:hover .feature-card__icon {
  background: var(--secondColor2);
  color: #1f1f1f;
  transform: translateY(-2px);
}
.features_section .feature-card:hover .feature-card__desc {
  max-height: 240px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 4px;
}
@media screen and (max-width: 992px) {
  .features_section .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .features_section .feature-card {
    min-height: 340px;
  }
  /* على الموبايل نُظهر الوصف دائماً لسهولة القراءة */
  .features_section .feature-card__desc {
    max-height: 240px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 4px;
  }
}

/* ===== Company Services (cards + details popup) ===== */
.services-section {
  padding: 90px 0;
  direction: rtl;
}
.services-section .services-header {
  margin-bottom: 50px;
}
.services-section .services-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--main-color);
  margin: 0;
}
.services-section .services-title .hl {
  color: var(--main-color);
}
.services-section .services-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  color: var(--main-color);
}
.services-section .services-divider span {
  width: 60px;
  height: 2px;
  background: #d9d9d9;
  display: inline-block;
}
.services-section .services-divider i {
  font-size: 18px;
}
.services-section .srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.services-section .srv-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}
.services-section .srv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
}
.services-section .srv-card__media {
  height: 230px;
  overflow: hidden;
}
.services-section .srv-card__media img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.services-section .srv-card:hover .srv-card__media img {
  transform: scale(1.06);
}
.services-section .srv-card__title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0;
  padding: 20px 16px;
}
.services-section .srv-card__actions {
  display: flex;
  margin-top: auto;
}
.services-section .srv-btn {
  flex: 1;
  text-align: center;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  border: none;
}
.services-section .srv-btn--details {
  background: var(--main-color);
  color: #fff;
}
.services-section .srv-btn--details:hover {
  background: var(--secondColor);
  color: var(--main-color);
}
.services-section .srv-btn--request {
  background: #1f1f1f;
  color: #fff;
}
.services-section .srv-btn--request:hover {
  background: #000;
}
@media screen and (max-width: 992px) {
  .services-section .srv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 576px) {
  .services-section .srv-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  .services-section .services-title {
    font-size: 30px;
  }
}

/* ===== Service details modal ===== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.service-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.service-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
}
.service-modal__dialog {
  position: relative;
  direction: rtl;
  text-align: right;
  background: #fff;
  width: 100%;
  max-width: 620px;
  max-height: 85vh;
  overflow-y: auto;
  border-radius: 10px;
  padding: 44px 40px 34px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.service-modal.is-open .service-modal__dialog {
  transform: translateY(0);
}
.service-modal__close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  line-height: 1;
  color: #fff;
  background: #1f1f1f;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease;
}
.service-modal__close:hover {
  background: var(--main-color);
}
.service-modal__title {
  font-size: 24px;
  font-weight: 800;
  color: #1f1f1f;
  margin: 0 0 16px;
  padding-left: 40px;
}
.service-modal__body {
  color: #555;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
}
.service-modal .input_field label {
  display: block;
  color: #1f1f1f;
  font-weight: 700;
  margin-bottom: 8px;
}
.service-modal .input_field input,
.service-modal .input_field textarea {
  width: 100%;
  border: 1px solid #ddd;
  outline: none;
  border-radius: 6px;
  padding: 12px 14px;
  background: #fff;
  color: #1f1f1f;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-modal .input_field input:focus,
.service-modal .input_field textarea:focus {
  border-color: var(--main-color);
  box-shadow: 0 0 0 3px rgba(200, 161, 101, 0.15);
}
.service-modal .input_field textarea {
  min-height: 110px;
  resize: vertical;
}
.service-modal .srv-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}
.service-modal .srv-btn--request {
  background: #1f1f1f;
  color: #fff;
}
.service-modal .srv-btn--request:hover {
  background: #000;
}

/* ===== What distinguishes us / ما يميزنا ===== */
.whyus-section {
  padding: 90px 0;
  direction: rtl;
  background: #fafafa;
}
.whyus-section .whyus-head {
  text-align: center;
  margin-bottom: 50px;
}
.whyus-section .whyus-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--main-color);
  margin: 0;
}
.whyus-section .whyus-body {
  display: flex;
  align-items: center;
  gap: 50px;
}
.whyus-section .whyus-intro {
  flex: 0 0 38%;
  text-align: right;
}
.whyus-section .whyus-subtitle {
  font-size: 26px;
  font-weight: 800;
  color: var(--main-color);
  margin: 0 0 16px;
}
.whyus-section .whyus-desc {
  font-size: 16px;
  line-height: 2;
  color: #5b5b5b;
  margin: 0;
}
.whyus-section .whyus-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.whyus-section .whyus-feature {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.whyus-section .whyus-feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.08);
  border-color: var(--secondColor2);
}
.whyus-section .whyus-feature__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(156, 125, 91, 0.12);
  color: var(--main-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  transition: background 0.3s ease, color 0.3s ease;
}
.whyus-section .whyus-feature:hover .whyus-feature__icon {
  background: var(--main-color);
  color: #fff;
}
.whyus-section .whyus-feature__title {
  font-size: 17px;
  font-weight: 700;
  color: #1f1f1f;
  margin: 0;
}
@media screen and (max-width: 992px) {
  .whyus-section .whyus-body {
    flex-direction: column;
    gap: 32px;
  }
  .whyus-section .whyus-intro {
    flex: none;
    width: 100%;
    text-align: center;
  }
}
@media screen and (max-width: 576px) {
  .whyus-section .whyus-grid {
    grid-template-columns: 1fr;
  }
  .whyus-section .whyus-title {
    font-size: 30px;
  }
}

/* ===== Security Guard Services Overview ===== */
.security-services-overview {
  position: relative;
  padding: 95px 0;
  overflow: hidden;
  background: #141414;
}
.security-services-overview__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.88), rgba(25, 25, 25, 0.72)), url("../images/power.jpg") center/cover no-repeat;
  opacity: 0.96;
}
.security-services-overview .container {
  position: relative;
  z-index: 1;
}
.security-services-overview__head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.security-services-overview__head h2 {
  color: #fff;
  font-size: 40px;
  font-weight: 900;
  margin: 14px 0 0;
}
.services-divider--light span {
  background: rgba(214, 178, 96, 0.5);
}
.services-divider--light i {
  color: var(--main-color);
}
.security-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.security-service-card {
  position: relative;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.security-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.35);
}
.security-service-card__media {
  position: relative;
  overflow: hidden;
}
.security-service-card__media img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.security-service-card:hover .security-service-card__media img {
  transform: scale(1.06);
}
.security-service-card__badge {
  position: absolute;
  bottom: 0;
  right: 22px;
  transform: translateY(50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  font-size: 26px;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(156, 125, 91, 0.4);
  z-index: 2;
  transition: background 0.4s ease, transform 0.4s ease;
}
.security-service-card:hover .security-service-card__badge {
  background: var(--secondColor2);
  color: #1f1f1f;
}
.security-service-card__body {
  padding: 34px 26px 14px;
  text-align: center;
  flex: 1;
}
.security-service-card__body h3 {
  color: #1f1f1f;
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 12px;
  transition: color 0.3s ease;
}
.security-service-card:hover .security-service-card__body h3 {
  color: var(--main-color);
}
.security-service-card__body p {
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.9;
  margin: 0;
}
.security-service-card::after {
  content: "";
  display: block;
  margin: 16px 24px 20px;
  border-top: 2px dashed #e2e2e2;
}
@media screen and (max-width: 992px) {
  .security-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media screen and (max-width: 576px) {
  .security-services-overview {
    padding: 70px 0;
  }
  .security-services-overview__head h2 {
    font-size: 30px;
  }
  .security-services-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
  .security-service-card__media img {
    height: 220px;
  }
}

/* ===== Certificates (Swiper) ===== */
.certificates-section {
  padding: 90px 0;
  direction: rtl;
  background: #fff;
}
.certificates-section .services-header {
  margin-bottom: 45px;
}
.certificates-section .certificates-swiper {
  padding: 10px 6px 20px;
}
.certificates-section .certificate-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.certificates-section .certificate-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
  border-color: var(--secondColor2);
}
.certificates-section .certificate-card img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.certificates-section .certificates-pagination {
  position: static;
  margin-top: 26px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.certificates-section .certificates-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #d9d9d9;
  opacity: 1;
  transition: width 0.3s ease, background 0.3s ease;
}
.certificates-section .certificates-pagination .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 6px;
  background: var(--main-color);
}
.certificates-section .certificates-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
}
.certificates-section .certificates-nav .swiper-button-next,
.certificates-section .certificates-nav .swiper-button-prev {
  position: static;
  margin: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e6e6e6;
  color: var(--main-color);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.certificates-section .certificates-nav .swiper-button-next:hover,
.certificates-section .certificates-nav .swiper-button-prev:hover {
  background: var(--main-color);
  color: #fff;
  border-color: var(--main-color);
}
.certificates-section .certificates-nav .swiper-button-next::after,
.certificates-section .certificates-nav .swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

/* ===== About Us / نبذة عنا ===== */
.aboutus-section {
  position: relative;
  padding: 95px 0;
  direction: rtl;
  background: #0f3b2e;
  background-image: linear-gradient(160deg, #11442f 0%, #0c2f24 100%);
  overflow: hidden;
}
.aboutus-section::before {
  content: "\f132";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 38%;
  transform: translateY(-50%);
  font-size: 620px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}
.aboutus-section .container {
  position: relative;
  z-index: 1;
}
.aboutus-section .aboutus-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}
.aboutus-section .aboutus-media {
  position: sticky;
  top: 100px;
}
.aboutus-section .aboutus-media img {
  width: 100%;
  height: 560px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4);
}
.aboutus-section .aboutus-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.aboutus-section .aboutus-block {
  margin-bottom: 14px;
}
.aboutus-section .aboutus-block__title {
  display: inline-block;
  background: linear-gradient(135deg, var(--secondColor2), var(--main-color));
  color: #1f1f1f;
  font-size: 22px;
  font-weight: 800;
  padding: 12px 40px;
  border-radius: 40px;
  margin: 0 0 16px;
  box-shadow: 0 10px 26px rgba(156, 125, 91, 0.3);
}
.aboutus-section .aboutus-block__desc {
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 2;
  margin: 0;
}
@media screen and (max-width: 992px) {
  .aboutus-section .aboutus-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .aboutus-section .aboutus-media {
    position: static;
  }
  .aboutus-section .aboutus-media img {
    height: 380px;
  }
  .aboutus-section::before {
    font-size: 360px;
    left: auto;
    right: -40px;
  }
}
@media screen and (max-width: 576px) {
  .aboutus-section {
    padding: 70px 0;
  }
  .aboutus-section .aboutus-block__title {
    font-size: 18px;
    padding: 10px 28px;
  }
}

/* ===== Company Statistics ===== */
.company-stats {
  position: relative;
  padding: 90px 0;
  direction: rtl;
  background: #fff;
  overflow: hidden;
}
.company-stats__bg {
  position: absolute;
  inset: 0;
  background: url("../images/logo-1.webp") center/360px no-repeat;
  opacity: 0.05;
  pointer-events: none;
}
.company-stats .container {
  position: relative;
  z-index: 1;
}
.company-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.company-stats .stat-box {
  background: linear-gradient(160deg, #1f4d33, #163a26);
  border: 1px solid rgba(212, 180, 131, 0.18);
  border-radius: 18px;
  padding: 42px 18px;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.company-stats .stat-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.45);
  border-color: rgba(212, 180, 131, 0.55);
}
.company-stats .stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  direction: ltr;
  color: #fff;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 10px;
}
.company-stats .stat-number .plus {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
}
.company-stats .stat-label {
  color: var(--main-color);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
@media screen and (max-width: 992px) {
  .company-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .company-stats .stat-number {
    font-size: 44px;
  }
}
@media screen and (max-width: 480px) {
  .company-stats__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ===== Partners (شركاؤنا) with curtain hover ===== */
.partners-section {
  padding: 90px 0;
  direction: rtl;
  background: #fff;
}
.partners-section .services-header {
  margin-bottom: 45px;
}
.partners-section .partners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.partner-card {
  position: relative;
  height: 180px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}
.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}
.partner-card__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}
.partner-card__logo img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  transition: filter 0.4s ease, transform 0.5s ease;
}
.partner-card:hover .partner-card__logo img {
  transform: scale(0.92);
}
/* الستارة التي تنزل من الأعلى عند الهوفر */
.partner-card__curtain {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background: linear-gradient(160deg, var(--main-color), var(--secondColor));
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
/* حافة الستارة المموجة (هدّاب الستارة) */
.partner-card__curtain::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -13px;
  height: 16px;
  background: radial-gradient(circle at 11px -3px, var(--secondColor) 11px, transparent 12px) repeat-x;
  background-size: 22px 16px;
}
.partner-card:hover .partner-card__curtain {
  transform: translateY(0);
}
.partner-card__name {
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  text-align: center;
  padding: 0 14px;
  transform: translateY(-18px);
  opacity: 0;
  transition: transform 0.5s ease 0.12s, opacity 0.5s ease 0.12s;
}
.partner-card:hover .partner-card__name {
  transform: translateY(0);
  opacity: 1;
}
@media screen and (max-width: 1200px) {
  .partners-section .partners-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media screen and (max-width: 992px) {
  .partners-section .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 576px) {
  .partners-section .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Careers / التوظيف ===== */
.careers-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url("../images/employment_request.png") center/cover no-repeat;
  background-attachment: fixed;
}
.careers-hero__title {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 46px;
  font-weight: 900;
  margin: 0;
  padding-top: 70px;
}
.careers-form-section {
  padding: 70px 0 90px;
  direction: rtl;
  background: #fff;
}
.careers-card {
  max-width: 920px;
  margin: -120px auto 0;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  padding: 48px 44px;
}
.careers-card__head {
  text-align: center;
  margin-bottom: 34px;
}
.careers-card__head h2 {
  font-size: 32px;
  font-weight: 800;
  color: #1f1f1f;
  margin: 0 0 14px;
}
.careers-card .careers-divider {
  width: 160px;
  height: 3px;
  background: var(--main-color);
  margin: 0 auto;
  border-radius: 4px;
}
.careers-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.careers-field {
  margin-bottom: 18px;
}
.careers-field input,
.careers-field textarea {
  width: 100%;
  background: #f1f1f1;
  border: 1px solid transparent;
  border-radius: 30px;
  padding: 16px 22px;
  font-size: 15px;
  color: #333;
  outline: none;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.careers-field textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 130px;
}
.careers-field input:focus,
.careers-field textarea:focus {
  border-color: var(--main-color);
  background: #fff;
}
.careers-file {
  margin: 8px 0 26px;
}
.careers-file__label {
  display: block;
  font-weight: 700;
  color: #1f1f1f;
  margin-bottom: 12px;
  text-align: right;
}
.careers-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  padding: 30px 20px;
  border: 2px dashed #d8cdbb;
  border-radius: 16px;
  background: #faf7f2;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease;
}
.careers-upload:hover,
.careers-upload.is-dragover {
  border-color: var(--main-color);
  background: #f5efe6;
}
.careers-upload.is-dragover {
  transform: scale(1.01);
}
.careers-upload.has-file {
  border-style: solid;
  border-color: #2e7d32;
  background: #f3f8f3;
}
.careers-upload__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--main-color);
  color: #fff;
  font-size: 24px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.careers-upload:hover .careers-upload__icon {
  transform: translateY(-3px);
}
.careers-upload.has-file .careers-upload__icon {
  background: #2e7d32;
}
.careers-upload__text {
  font-weight: 700;
  color: #333;
  font-size: 15px;
  word-break: break-all;
}
.careers-upload__btn {
  display: inline-block;
  background: var(--secondColor2);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 22px;
  border-radius: 30px;
  transition: background 0.3s ease, color 0.3s ease;
}
.careers-upload:hover .careers-upload__btn {
  background: var(--main-color);
  color: #fff;
}
.careers-upload__hint {
  color: #999;
  font-size: 12px;
}
.careers-form__actions {
  text-align: center;
}
.careers-btn {
  background: var(--main-color);
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  padding: 15px 60px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.careers-btn:hover {
  background: var(--secondColor);
  transform: translateY(-2px);
}
.careers-alert {
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 14px;
}
.careers-alert--error {
  background: #fde8e8;
  color: #b42318;
  border: 1px solid #f5c2c0;
}
.careers-alert ul {
  padding-right: 18px;
}
@media screen and (max-width: 768px) {
  .careers-hero__title {
    font-size: 30px;
  }
  .careers-card {
    padding: 36px 20px;
    margin-top: -90px;
  }
  .careers-form__row {
    grid-template-columns: 1fr;
  }
}

/* ===== Quote request WhatsApp block ===== */
.quotes-whatsapp {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px dashed #e2e2e2;
}
.quotes-whatsapp p {
  color: #555;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 18px;
}
.quotes-whatsapp__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--main-color);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 40px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.quotes-whatsapp__btn i {
  font-size: 20px;
}
.quotes-whatsapp__btn:hover {
  background: var(--secondColor);
  color: #fff;
  transform: translateY(-2px);
}

/* ===== News / أخبارنا ===== */
.news-hero {
  position: relative;
  min-height: 51vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65)), url("../images/our_news.jfif") center/cover no-repeat;
  background-attachment: fixed;
}
.news-hero__title {
  color: #fff;
  font-size: 42px;
  font-weight: 900;
  margin: 0;
  padding-top: 70px;
}
.news-page {
  padding: 70px 0 90px;
  direction: rtl;
  background: #f7f7f7;
}
.news-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 34px;
  align-items: start;
}
/* ---- cards grid ---- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 26px;
}
.news-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.12);
}
.news-card__img {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
}
.news-card__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.5s ease;
}
.news-card:hover .news-card__img img {
  transform: scale(1.07);
}
.news-card__cat {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--main-color);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
}
.news-card__body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card__date {
  color: var(--main-color);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}
.news-card__date i {
  margin-left: 5px;
}
.news-card__title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 10px;
}
.news-card__title a {
  color: #1f1f1f;
  transition: color 0.3s ease;
}
.news-card__title a:hover {
  color: var(--main-color);
}
.news-card__body p {
  color: #6b6b6b;
  font-size: 14.5px;
  line-height: 1.9;
  margin: 0 0 14px;
}
.news-card__more {
  margin-top: auto;
  align-self: flex-start;
  color: var(--main-color);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.news-card__more i {
  transition: transform 0.3s ease;
}
.news-card__more:hover i {
  transform: translateX(-4px);
}
.news-empty {
  background: #fff;
  border-radius: 14px;
  padding: 60px 20px;
  text-align: center;
  color: #888;
  font-weight: 700;
}
.news-pagination {
  margin-top: 30px;
}
.news-pagination .pagination {
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.news-pagination .page-link {
  color: var(--main-color);
  border-radius: 8px !important;
  border-color: #e6e6e6;
}
.news-pagination .page-item.active .page-link {
  background: var(--main-color);
  border-color: var(--main-color);
  color: #fff;
}
/* ---- sidebar ---- */
.news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.news-widget {
  background: #fff;
  border-radius: 14px;
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.news-widget__title {
  font-size: 19px;
  font-weight: 800;
  color: #1f1f1f;
  margin: 0 0 18px;
  padding-right: 14px;
  position: relative;
}
.news-widget__title::before {
  content: "";
  position: absolute;
  right: 0;
  top: 3px;
  bottom: 3px;
  width: 4px;
  border-radius: 4px;
  background: var(--main-color);
}
.news-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-cats li {
  border-bottom: 1px dashed #ececec;
}
.news-cats li:last-child {
  border-bottom: none;
}
.news-cats li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 4px;
  color: #444;
  font-weight: 600;
  transition: color 0.3s ease, padding 0.3s ease;
}
.news-cats li a i {
  color: var(--main-color);
  font-size: 13px;
}
.news-cats li a:hover,
.news-cats li.is-active a {
  color: var(--main-color);
  padding-right: 10px;
}
.news-cats__empty {
  color: #999;
  padding: 10px 4px;
}
.news-latest {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-latest li {
  margin-bottom: 16px;
}
.news-latest li:last-child {
  margin-bottom: 0;
}
.news-latest li a {
  display: flex;
  gap: 12px;
  align-items: center;
}
.news-latest__img {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
}
.news-latest__img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.news-latest__title {
  font-size: 14px;
  font-weight: 700;
  color: #444;
  line-height: 1.7;
  transition: color 0.3s ease;
}
.news-latest li a:hover .news-latest__title {
  color: var(--main-color);
}
/* ---- detail ---- */
.news-detail {
  background: #fff;
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.news-detail__img {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 22px;
}
.news-detail__img img {
  width: 100%;
  max-height: 460px;
  -o-object-fit: cover;
     object-fit: cover;
}
.news-detail__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #888;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}
.news-detail__cat {
  background: rgba(156, 125, 91, 0.12);
  color: var(--main-color);
  padding: 4px 14px;
  border-radius: 20px;
}
.news-detail__title {
  font-size: 30px;
  font-weight: 900;
  color: #1f1f1f;
  line-height: 1.5;
  margin: 0 0 20px;
}
.news-detail__intro {
  color: #444;
  font-size: 16px;
  line-height: 2;
  margin-bottom: 24px;
}
.news-section {
  margin-bottom: 24px;
}
.news-section__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--main-color);
  margin: 0 0 14px;
}
.news-section__desc {
  color: #444;
  font-size: 16px;
  line-height: 2;
  margin: 0 0 12px;
}
.news-section__points {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-section__points li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 10px;
  color: #444;
  font-size: 15.5px;
  line-height: 1.9;
}
.news-section__points li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 11px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--main-color);
}
.news-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: var(--main-color);
  font-weight: 700;
}
@media screen and (max-width: 992px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-hero__title {
    font-size: 30px;
  }
}
@media screen and (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-detail__title {
    font-size: 24px;
  }
}

main .hero_section {
  width: 100%;
  height: 100dvh;
  position: relative;
}
main .hero_section video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
main .hero_section .layer {
  position: absolute;
  top: 0;
  padding: 12px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.479);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
main .hero_section .layer h1 {
  font-size: 18px;
  color: #fff;
}
main .hero_section .layer h2 {
  color: #fff;
  text-align: center;
  font-size: 42px;
}
main .hero_section .layer h2 i {
  font-size: 24px;
}
/* main .about_section {
  padding: 80px 0;
}
main .about_section .content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
main .about_section .content h3 {
  font-size: 32px;
  color: #4069a6;
  display: flex;
  gap: 4px;
  align-items: center;
}
main .about_section .content h3::before {
  content: "";
  display: block;
  width: 14px;
  height: 3px;
  border-radius: 12px;
  background-color: #4069a6;
}
main .about_section .content .statistic {
  padding: 8px 0;
  display: flex;
  gap: 12px;
  align-items: center;
}
main .about_section .content .statistic .counterUp {
  font-weight: bold;
  font-size: 100px;
  background: rgba(167, 169, 172, 0.062745098);
  background-size: contain;
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-stroke: 1px #a7a9ac;
  font-family: "Manrope Alt", Sans-serif;
}
@media (max-width: 768px) {
  main .about_section .content .statistic .counterUp {
    font-size: 70px;
  }
}
main .about_section .content .statistic h6 {
  font-weight: bold;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  max-height: 100px;
  text-align: center;
  transform: scaleX(-1) scaleY(-1);
}
main .about_section .img {
  width: 100%;
}
main .about_section .img img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  border-radius: 24px;
}
main .about_section .vission_card {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
  display: flex;
  gap: 16px;
  flex-direction: column;
}
main .about_section .vission_card .head {
  display: flex;
  align-items: end;
  gap: 12px;
}
main .about_section .vission_card h4 {
  color: #4069a6;
  margin: 0;
}
main .about_section .vission_card p {
  margin: 0;
}
@media screen and (max-width: 768px) {
  main .about_section .vission_card p {
    font-size: 14px;
    text-wrap: balance;
  }
}
main .about_section .vission_card .values {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
@media screen and (max-width: 576px) {
  main .about_section .vission_card .values {
    flex-direction: column;
  }
}
main .about_section .vission_card .values .value {
  padding: 24px;
  flex: 1;
  border: 1px dashed #eee;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 150px;
  border-radius: 12px;
  transition: all 0.3s ease-in-out;
} */
main .services_section {
  padding: 80px 0;
  background: #fafafa;
}
main .services_section .service_card {
  border: 1px solid #eee;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
main .services_section .service_card .img {
  width: 100%;
  aspect-ratio: 3/2;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
main .services_section .service_card .img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
}
main .services_section .service_card .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
main .services_section .service_card .content {
  padding: 24px 16px;
  display: flex;
  gap: 8px;
  flex: 1;
  flex-direction: column;
}
main .services_section .service_card .content h6 {
  color: #000;
  font-size: 18px;
}
main .services_section .service_card .content p {
  margin: 0;
  font-size: 14px;
  color: #a7a9ac;
}
main .services_section .service_card .content a {
  margin-top: auto;
  color: #4069a6;
}
main .services_section .service_card .content ul {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
main .services_section .service_card .content ul li {
  color: #4069a6;
  padding-inline-end: 24px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 4px;
}
main .services_section .service_card .content ul li::before {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #4069a6;
}
main .team_section {
  padding: 80px 0;
}
main .team_section .team_card {
  box-shadow: 0 2rem 3rem rgba(0, 0, 0, 0.0509803922);
}
main .team_section .team_card .img {
  width: 100%;
  aspect-ratio: 1/1;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
main .team_section .team_card .img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: top;
     object-position: top;
}
main .team_section .team_card .img .content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, #000000 10%, rgba(0, 0, 0, 0.2745098039), rgba(0, 0, 0, 0));
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
main .team_section .team_card .img .content h6 {
  color: #fff;
  font-size: 20px;
}
main .team_section .team_card .img .content p {
  color: #fff;
  margin: 0;
}
main .projects {
  padding: 80px 0;
  background: #fafafa;
}
main .projects .swiper {
  width: 100%;
}
main .projects .swiper .swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 12px;
  padding-top: 0;
}
main .projects .swiper .swiper-slide::before {
  content: "";
  width: 1px;
  height: 75px;
  display: block;
  border: 1px dashed #d7d7d7;
}
main .projects .swiper .swiper-slide::after {
  content: "";
  width: 100%;
  height: 1px;
  border: 1px dashed #d7d7d7;
  position: absolute;
  top: 0;
  left: 0;
}
main .projects .swiper .swiper-slide .time {
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 2px;
}
main .projects .swiper .swiper-slide .time .date {
  font-weight: bold;
  color: #4069a6;
  text-align: center;
  font-size: 32px;
}
@media screen and (max-width: 768px) {
  main .projects .swiper .swiper-slide .time .date {
    font-size: 24px;
  }
}
main .projects .swiper .swiper-slide .time p {
  margin: auto;
  background-color: #fff;
  color: #000;
  flex: 1;
  padding: 20px 8px;
  width: 100%;
  font-size: 14px;
  border-radius: 12px;
  margin: 4px 0;
}
main .projects .swiper .swiper-slide .time img {
  width: 100%;
  max-height: 200px;
  aspect-ratio: 1/1;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  padding: 4px;
  background-color: #fff;
  border-radius: 12px;
}
main .projects .swiper .swiper-slide:nth-child(even)::before {
  height: 24px;
}
main .projects .swiperControl {
  justify-content: center;
  padding: 8px;
}
main .contact {
  padding: 80px 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
main .contact::before,
main .contact::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(64, 105, 166, 0.08);
  pointer-events: none;
}
main .contact::before {
  top: -120px;
  right: -120px;
}
main .contact::after {
  bottom: -140px;
  left: -120px;
  background: rgba(23, 89, 115, 0.08);
}
main .contact .container {
  position: relative;
  z-index: 1;
}
main .contact .map {
  border-radius: 16px;
  overflow: hidden;
}
main .contact .contact-card {
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(23, 89, 115, 0.08);
}
main .contact .contact-info-card,
main .contact .contact-form-card {
  height: 100%;
}
main .contact .contact-map-card {
  padding: 10px;
}
main .contact .info {
  display: grid;
  gap: 16px;
}
main .contact .info .link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #f0f1f4;
  background: #fbfbfb;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
main .contact .info .link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(23, 89, 115, 0.12);
  border-color: rgba(64, 105, 166, 0.2);
}
main .contact .info .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(64, 105, 166, 0.1);
  color: var(--secondColor);
  flex-shrink: 0;
}
main .contact .info .icon svg {
  width: 22px;
  height: 22px;
}
main .contact .info .icon svg path {
  fill: currentColor;
}
main .contact .info p {
  margin: 0;
  color: #1f2a37;
  font-weight: 700;
  line-height: 1.4;
}
main .contact .info p span {
  display: block;
  color: #6b7280;
  font-weight: 500;
  margin-top: 4px;
}
main .contact h5 {
  font-size: 32px;
  color: var(--secondColor);
  display: flex;
  gap: 4px;
  align-items: center;
}
main .contact h5::before {
  content: "";
  display: block;
  width: 14px;
  height: 3px;
  border-radius: 12px;
  background-color: var(--secondColor);
}
main .contact .contact-form-card h5 {
  margin-bottom: 8px;
}
main .contact .contact-form-card p {
  color: #6b7280;
  margin-bottom: 16px;
}
main .contact form {
  padding: 0;
}
main .contact form button {
  margin-top: 12px;
  background: var(--main-color);
  padding: 10px 36px;
  color: #fff;
  border-radius: 70px;
  border: none;
  transition: 0.4s ease-in-out;
  box-shadow: 0 12px 24px rgba(23, 89, 115, 0.18);
}
main .contact form button:hover {
  background: var(--secondColor);
  transform: translateY(-2px);
}
main .contact .input_field {
  display: flex;
  gap: 4px;
  flex-direction: column;
}
main .contact .input_field input,
main .contact .input_field select,
main .contact .input_field textarea {
  height: 52px;
  border: 1px solid #e5e9ef;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 0 12px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
main .contact .input_field input:focus,
main .contact .input_field select:focus,
main .contact .input_field textarea:focus {
  border-color: var(--secondColor);
  box-shadow: 0 0 0 3px rgba(64, 105, 166, 0.15);
}
main .contact .input_field textarea {
  height: 120px;
}
main .contact .input_field label {
  color: var(--main-color);
  font-weight: 600;
}
main .head_sec {
  color: #4069a6;
  text-align: center;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
main .head_sec::after {
  content: "";
  width: 12px;
  height: 3px;
  border-radius: 12px;
  background-color: #4069a6;
}
main .head_sec::before {
  content: "";
  width: 12px;
  height: 3px;
  border-radius: 12px;
  background-color: #4069a6;
}
main .sub_head {
  text-align: center;
  font-size: 16px;
  color: #a7a9ac;
  margin-bottom: 40px;
}
main .service_details {
  padding: 60px 0;
}
main .service_details .content {
  display: flex;
  padding: 0;
  flex-direction: column;
  gap: 16px;
}
@media screen and (max-width: 768px) {
  main .service_details .content {
    margin-top: 62px;
  }
}
main .service_details .content h3 {
  background: #f4f4f4;
  padding: 16px;
  font-size: 24px;
  color: #000;
  position: relative;
}
main .service_details .content h3::before {
  content: "";
  width: 4px;
  height: 100%;
  background-color: #4069a6;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
main .service_details .title {
  margin: 32px 0 24px;
  color: #4069a6;
  font-size: 22px;
}
main .service_details ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 12px;
}
@media screen and (max-width: 768px) {
  main .service_details ul {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
main .service_details ul li {
  background: #f4f4f4;
  display: flex;
  align-items: center;
  padding: 16px;
  gap: 12px;
}
main .service_details ul li .icon {
  min-width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid #4069a6;
  display: flex;
  align-items: center;
  justify-content: center;
}
main .service_details ul li .icon img {
  height: 42px;
  -o-object-fit: contain;
     object-fit: contain;
}
main .service_details ul li .content {
  gap: 0;
  padding: 0;
  margin: 0;
}
main .service_details ul li .content h6 {
  color: #4069a6;
}
main .service_details ul li .content p {
  font-size: 14px;
  margin: 0;
}
main .project_details {
  padding: 80px 0;
}
main .project_details .projectDetailsSlider {
  position: relative;
  aspect-ratio: 9/6;
  border-radius: 2px;
}
main .project_details .projectDetailsSlider .swiper-slide {
  position: relative;
}
main .project_details .projectDetailsSlider .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}
main .project_details .projectDetailsSlider .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 2px;
  display: block;
}
main .project_details .swiper-button-next {
  left: 0;
  top: unset;
  right: unset;
  bottom: -50px;
  background-color: #4069a6;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
main .project_details .swiper-button-next::after {
  color: #fff;
  background: none;
  font-family: "Font Awesome 6 Pro";
  content: "\f104";
  font-size: 18px;
}
main .project_details .swiper-button-prev {
  left: 40px;
  right: unset;
  top: unset;
  bottom: -50px;
  background-color: #4069a6;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}
main .project_details .swiper-button-prev::after {
  color: #fff;
  background: none;
  font-family: "Font Awesome 6 Pro";
  content: "\f105";
  font-size: 18px;
}
main .project_details .swiper-pagination {
  right: 0 !important;
  left: unset !important;
  transform: translateX(0%);
  bottom: -46px;
  text-align: start;
}
main .project_details .swiper-pagination .swiper-pagination-bullet {
  background-color: #4069a6;
}
main .project_details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #4069a6;
}
main .project_details .content {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
  gap: 16px;
}
@media screen and (max-width: 768px) {
  main .project_details .content {
    padding: 0;
    margin-top: 80px;
  }
}
main .project_details .content .head p {
  color: #777;
  font-size: 14px;
}
main .project_details .content h3 {
  color: #4069a6;
}
main .partners {
  position: relative;
  z-index: 2;
  padding: 100px 0 60px;
  overflow: hidden;
}
main .partners .sectionTitle {
  padding-bottom: 10px;
  margin-bottom: 8px;
  text-align: center;
}
main .partners .sectionTitle .title {
  color: #4069a6;
  font-weight: bold;
}
main .partners .sectionTitle .sub {
  color: #000;
  font-weight: bold;
}
main .partners .sectionTitle .hint {
  color: #777;
  width: min(100% - 40px, 800px);
  margin: auto;
  margin-top: 16px;
}
main .partners .logo {
  padding: 10px;
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
}
main .partners .logo img {
  height: 100%;
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
main .partners .swiperControl {
  position: relative;
  padding-top: 60px;
}
main .partners .swiperControl .swiper-pagination {
  justify-content: center;
}
main .partners .swiperControl .swiper-pagination .swiper-pagination-bullet {
  background-color: #fff;
}
main .partners .inner {
  background-color: #4069a6;
  text-align: center;
  padding: 24px;
  height: 100%;
}
main .partners .inner .subTitle {
  color: #fff;
  font-weight: bold;
  font-family: fontBold;
  margin-bottom: 16px;
}

.page_header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5568627451), rgba(0, 0, 0, 0.5568627451)), url("../images/header.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 300px;
  position: relative;
}

footer {
  padding: 60px 0 0;
  display: flex;
  align-items: end;
  background-image: url("../images/footer.webp");
  background-color: #f9f6f1;
  background-size: contain;
  background-position: right bottom;
  background-repeat: no-repeat;
}
footer .about {
  margin-top: 32px;
  margin-bottom: 0;
  padding-inline-end: 60px;
}
@media screen and (max-width: 768px) {
  footer .about {
    padding: 0;
  }
}
footer .title {
  color: var(--main-color);
  margin-bottom: 32px;
}
footer .contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
footer .contacts .icon {
  border: 1px solid #a7a9ac;
  color: #a7a9ac;
  font-size: 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: all 0.3s ease-in-out;
}
footer .contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
}
footer .contacts li p {
  margin: 0;
}
footer .contacts li a {
  color: #000;
}
footer .contacts li:hover .icon {
  color: var(--main-color);
  border-color: var(--main-color);
}
footer .contacts li:hover a {
  color: var(--main-color);
}
footer .images {
  display: flex;
  align-items: center;
  gap: 12px;
}
footer .images img {
  height: 65px;
}
@media screen and (max-width: 768px) {
  footer .images img {
    height: 50px;
  }
}
footer .images span {
  display: block;
  height: 52px;
  width: 1px;
  background: #dddddd;
}
@media screen and (max-width: 768px) {
  footer .images span {
    height: 42px;
  }
}
footer .copy_rights {
  border-top: 1px solid #eee;
  padding: 24px 0;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  footer .copy_rights {
    flex-direction: column-reverse;
    gap: 12px;
  }
}
footer .copy_rights a {
  color: var(--main-color);
}
footer .copy_rights p {
  text-align: center;
}
footer .copy_rights ul {
  display: flex;
  align-items: center;
  gap: 8px;
}
footer .copy_rights ul a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--main-color);
  color: var(--main-color);
  font-size: 14px;
  transition: 0.3s ease-in-out;
}
footer .copy_rights ul a:hover {
  color: var(--secondColor);
  border-color: var(--secondColor);
}/*# sourceMappingURL=style.css.map */

/* My Styles 3mer */
section.mainSlider {
    height: 100dvh;
    position: relative;
    overflow: hidden;
    z-index: 6;
}

section.mainSlider .swiper {
    width: 100%;
    height: 100%;
    padding-bottom: 0px;
}

section.mainSlider .swiper .swiper-slide {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    min-height: 600px;
    isolation: isolate;
    /* border-radius: 0 0 24px 24px; */
    overflow: hidden;
    padding: 120px 24px 64px;
}

section.mainSlider .swiper .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 47, 69, 0.68) 0%, rgba(23, 89, 115, 0.45) 45%, rgba(174, 223, 242, 0.15) 100%);
    z-index: -1;
}

section.mainSlider .swiper .swiper-slide::after {
    content: "";
    width: 100%;
    height: 100%;
    /* background-image: radial-gradient(circle at 15% 20%, rgba(65, 155, 191, 0.35), transparent 45%),
    radial-gradient(circle at 85% 15%, rgba(174, 223, 242, 0.28), transparent 40%); */
    background-color: #00000080;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
    transition: all 0.3s ease-in-out;
}

section.mainSlider .swiper .swiper-slide .info {
    width: min(100% - 24px, 820px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    text-align: center;
}

@media (max-width: 768px) {
    section.mainSlider .swiper .swiper-slide .info {
        justify-content: center;
        padding: 20px;
        text-align: center;
    }
}

section.mainSlider .swiper .swiper-slide .info .sliderTitle {
    color: #fff;
    text-shadow: 2px 6px 18px rgba(9, 27, 38, 0.35);
    font-size: clamp(20px, 3vw, 40px);
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 768px) {
    section.mainSlider .swiper .swiper-slide .info .sliderTitle {
        font-size: clamp(18px, 4vw, 30px);
    }
}

section.mainSlider .swiper .swiper-slide .info .hint {
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 2px 6px 14px rgba(9, 27, 38, 0.35);
    font-size: clamp(15px, 2vw, 20px);
    font-weight: 600;
    margin-bottom: 0;
    max-width: 720px;
}

section.mainSlider .swiper-slide-active .sliderTitle {
    animation: fadeInUp 1s 0.75s both;
}

section.mainSlider .swiper-slide-active .hint {
    animation: fadeInUp 1s 0s both;
}

section.mainSlider .swiper-slide-active .slider-actions {
    animation: fadeInUp 1s 1.2s both;
}

section.mainSlider .swiper-slide-active .slider-badges {
    animation: fadeInUp 1s 1.5s both;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    to {
        opacity: 1;
        transform: translateZ(0);
    }
}

section.mainSlider .slider-eyebrow {
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
}

section.mainSlider .slider-eyebrow .eyebrow-line {
    width: 46px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondColor2), var(--main-color));
    border-radius: 999px;
    display: inline-block;
}

section.mainSlider .slider-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 6px;
}

section.mainSlider .slider-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 8px;
}

section.mainSlider .slider-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

section.mainSlider .slider-badge i {
    color: var(--secondColor2);
}

@media (max-width: 576px) {
    section.mainSlider .slider-actions {
        flex-direction: column;
    }

    section.mainSlider a.btn-slider {
        width: 100%;
        justify-content: center;
    }
}

section.mainSlider a.btn-slider{
    /* background-image: linear-gradient(90deg, #9c7d5b, var(--secondColor2)); */
    background: var(--main-color);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 16px !important;
    font-weight: 700;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 14px 30px rgba(13, 47, 69, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
section.mainSlider a.btn-slider:hover{
    /* background-image: linear-gradient(90deg, var(--secondColor2), #9c7d5b); */
    background: #ffffffdc;
    color: var(--main-color) !important;
    transform: translateY(-2px);
}

section.mainSlider a.btn-slider.ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

section.mainSlider a.btn-slider.ghost:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff !important;
}

section.mainSlider .swiper-button-next, section.mainSlider .swiper-button-prev {
    color: var(--main-color);
    transition: color 0.3s ease-in-out;
}

section.mainSlider .swiper-button-next:hover, section.mainSlider .swiper-button-prev:hover {
    color: var(--secondColor2);
}

section.mainSlider .swiper-button-next::after, section.mainSlider .swiper-button-prev::after{
  font-size: 34px;
}

.language-btn{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease-in-out;
  font-weight: 500;
  color: #1a1a1a;
}

.language-btn:hover{
  color: var(--main-color);
}

.language-btn img{
  height: 15px;
  width: auto;
}

.navbar .sideBtn {
    position: relative;
    width: 34px;
    height: 24px;
    padding: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    z-index: 99999;
}

.navbar .sideBtn span {
    position: absolute;
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 4px 0;
    transition: width 0.3s, transform 0.5s, opacity 0.3s;
}

.navbar .sideBtn:hover span {
    background-color: var(--main-color);
}

.navbar .sideBtn span:first-child {
    top: 0;
}

.navbar .sideBtn span:nth-child(2) {
    width: 10px;
    top: 7px;
}

.navbar .sideBtn span:nth-child(3) {
    width: 16px;
    bottom: 0;
}

.navbar .sideBtn:not(.active):hover span:first-child {
    width: 16px;
}

.navbar .sideBtn:not(.active):hover span:nth-child(2) {
    width: 20px;
}

.navbar .sideBtn.active span {
    background-color: var(--main-color) !important;
}

.navbar .sideBtn.active span:first-child {
    transform: rotate(45deg);
    top: 8px;
    width: 20px;
}

.navbar .sideBtn.active span:nth-child(2) {
    width: 0;
    opacity: 0;
}

.navbar .sideBtn.active span:last-child {
    transform: rotate(-45deg);
    top: 8px;
    width: 20px;
}

.about_section {
  padding: 80px 0;
  background-color: var(--white-color);
  font-family: 'Cairo', sans-serif; /* يفضل استخدام خط Cairo */
}

/* العنوان الرئيسي */
.about_section h3 {
  color: var(--secondColor);
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.about_section h4 span{
  color: var(--main-color);
  font-weight: 700;
}

.about_section h3::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--main-color);
  margin-top: 10px;
}

/* النصوص */
.about_section p {
  color: #555;
  line-height: 1.8;
  font-size: 1.1rem;
  text-align: justify;
}

/* إحصائية التأسيس */
.statistic {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  background: var(--secondColor);
  padding: 20px;
  border-radius: 12px;
  width: fit-content;
  color: var(--white-color);
  box-shadow: 0 10px 20px rgba(52, 27, 0, 0.15);
}

.statistic h6 {
  margin: 0;
  font-weight: 400;
  color: var(--secondColor2);
}

.statistic h1 {
  margin: 0;
  font-weight: 800;
  color: var(--white-color);
}

/* الصور */
.about_section .img img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 0px var(--secondColor2); /* حركة فنية خلف الصورة */
  transition: transform 0.3s ease;
}

.about_section .img img:hover {
  transform: scale(1.02);
}

/* كروت الرؤية والرسالة */
.vission_card {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
  height: 100%;
  border-bottom: 4px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.vission_card:hover {
  border-bottom-color: var(--main-color);
  transform: translateY(-10px);
  background: var(--white-color);
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
}

.vission_card .head {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.vission_card .head img {
  width: 45px;
  filter: sepia(1) saturate(5) hue-rotate(10deg); /* تلوين الأيقونات تلقائياً لتناسب ألوانك */
}

.vission_card h4 {
  color: var(--secondColor);
  font-weight: 700;
  margin: 0;
}

/* قيمنا - توزيع شبكي */
.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.value {
  padding: 20px;
  background: var(--white-color);
  border-radius: 10px;
  border: 1px inset var(--secondColor2);
}

.value h6 {
  color: var(--main-color);
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.value p {
  font-size: 0.95rem;
  margin: 0;
}

/* استجابة الشاشات الصغيرة */
@media (max-width: 768px) {
  .about_section h3 { font-size: 2rem; }
  .about_section .img img { box-shadow: 10px 10px 0px var(--secondColor2); }
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: #fdfdfd;
    /* direction: rtl; */
}

/* الهيدر الموحد */
.services-header { margin-bottom: 60px; }
.services-kicker { color: var(--main-color); font-weight: 700; margin-bottom: 10px; }
.services-title { color: var(--main-color); font-size: 2.2rem; font-weight: 800; }
.title-line { 
    width: 100px; height: 4px; 
    background: linear-gradient(90deg, var(--secondColor2), var(--main-color)); 
    margin: 15px auto; border-radius: 10px;
}

/* شبكة الخدمات */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* الكارت الأساسي */
.service-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(65, 155, 191, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* تأثير الخلفية عند التأشير */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--secondColor);
    z-index: -1;
    transition: all 0.4s ease;
    border-radius: 0 0 50% 50%;
}

.service-card:hover::before {
    height: 100%;
    border-radius: 0;
}

/* الأيقونة */
.service-icon {
    width: 70px;
    height: 70px;
    background: var(--secondColor2);
    color: var(--secondColor);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    transition: 0.4s;
}

.service-card:hover .service-icon {
    background: var(--white-color);
    color: var(--main-color);
    transform: rotateY(360deg);
}

.service-name {
    font-size: 1.3rem;
    color: var(--secondColor);
    font-weight: 700;
    margin-bottom: 15px;
    transition: 0.4s;
}

.service-text {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.7;
    transition: 0.4s;
}

/* نصوص الكارت عند التأشير */
.service-card:hover .service-name,
.service-card:hover .service-text {
    color: var(--white-color);
}

.service-hover-content a {
    margin-top: 20px;
    color: var(--secondColor2);
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s;
}

.service-card:hover .service-hover-content a{
    opacity: 1;
    transform: translateY(0);
}

/* زر "جميع خدماتنا" السفلي */
.all-services-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--main-color);
    color: var(--white-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 50px;
    box-shadow: 0 10px 20px rgba(65, 155, 191, 0.2);
    transition: 0.3s;
}

.all-services-btn:hover {
    background: var(--secondColor);
    transform: scale(1.05);
    color: var(--white-color);
}


/* Container for the bubbles */
.background-bubbles {
    position: fixed; /* لتطفو الدوائر فوق المحتوى */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* لمنع الدوائر من الخروج عن حدود الشاشة */
    z-index: 5; /* لجعلها تظهر خلف المحتوى */
    pointer-events: none; /* لتجنب التفاعل مع الماوس */
}

.background-bubbles span {
    position: absolute;
    display: block;
    list-style: none;
    /* لون secondColor2 مع شفافية */
    /* background: rgba(27, 17, 0, 0.1); */
    background-image: linear-gradient(rgba(52, 27, 0, 0.15) 0%, rgba(212, 180, 131, 0.2) 100%);

    animation: animateBubbles 25s linear infinite; /* اسم الحركة، المدة، نوع التكرار */
    bottom: -150px; /* تبدأ من أسفل الشاشة */
    border-radius: 50%; /* لجعلها دائرية */
    opacity: 0; /* تبدأ شفافة تماماً */
}

/* لتغيير حجم وموضع وسرعة كل دائرة بشكل عشوائي */
.background-bubbles span:nth-child(1) {
    left: 10%;
    width: 80px;
    height: 80px;
    animation-duration: 20s;
    animation-delay: 0s;
}
.background-bubbles span:nth-child(2) {
    left: 20%;
    width: 20px;
    height: 20px;
    animation-duration: 12s;
    animation-delay: 2s;
}
.background-bubbles span:nth-child(3) {
    left: 25%;
    width: 100px;
    height: 100px;
    animation-duration: 25s;
    animation-delay: 4s;
}
.background-bubbles span:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-duration: 18s;
    animation-delay: 0s;
}
.background-bubbles span:nth-child(5) {
    left: 55%;
    width: 120px;
    height: 120px;
    animation-duration: 23s;
    animation-delay: 1s;
}
.background-bubbles span:nth-child(6) {
    left: 70%;
    width: 30px;
    height: 30px;
    animation-duration: 15s;
    animation-delay: 3s;
}
.background-bubbles span:nth-child(7) {
    left: 80%;
    width: 90px;
    height: 90px;
    animation-duration: 28s;
    animation-delay: 2s;
}
.background-bubbles span:nth-child(8) {
    left: 90%;
    width: 50px;
    height: 50px;
    animation-duration: 10s;
    animation-delay: 5s;
}
.background-bubbles span:nth-child(9) {
    left: 30%;
    width: 70px;
    height: 70px;
    animation-duration: 20s;
    animation-delay: 1s;
}
.background-bubbles span:nth-child(10) {
    left: 60%;
    width: 40px;
    height: 40px;
    animation-duration: 17s;
    animation-delay: 3s;
}


/* Keyframes for the bubble animation */
@keyframes animateBubbles {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0; /* تبدأ شفافة */
        border-radius: 0; /* تبدأ مربعة قليلاً */
    }
    10% {
        opacity: 0.5; /* تظهر تدريجياً */
    }
    80% {
        opacity: 0.3; /* تقل الشفافية قليلاً أثناء الحركة */
    }
    100% {
        transform: translateY(-1000px) rotate(720deg); /* تصعد لأعلى وتدور */
        opacity: 0; /* تختفي عند الوصول للأعلى */
        border-radius: 50%; /* تصبح دائرية تماماً */
    }
}

/* Why Us Section */
.luxury-about-section {
    padding: 100px 0;
    background-color: var(--bg-light);
    /* direction: rtl; */
    font-family: 'Cairo', sans-serif;
}

.luxury-about-section .container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    gap: 50px;
    padding: 0 20px;
}

/* تنسيق الصورة */
.luxury-about-section .col-image {
    flex: 1;
    min-width: 400px;
    position: relative;
}

.luxury-about-section .image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 30px 30px 0px -10px var(--secondColor2); /* إطار خلفي ذهبي */
}

.luxury-about-section .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.luxury-about-section .image-wrapper:hover img {
    transform: scale(1.05);
}

.luxury-about-section .experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--secondColor);
    color: var(--white-color);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.luxury-about-section .experience-badge .number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondColor2);
}

/* تنسيق المحتوى */
.luxury-about-section .col-content {
    flex: 1.2;
    min-width: 400px;
}

.luxury-about-section .luxury-about-section .subtitle {
    color: var(--main-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
}

.luxury-about-section .title {
    color: var(--secondColor);
    font-size: 2.8rem;
    font-weight: 800;
    margin: 10px 0;
}

.luxury-about-section .fancy-divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to left, var(--secondColor), var(--secondColor2));
    margin-bottom: 30px;
}

.luxury-about-section .main-desc {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

/* قائمة الخدمات */
.luxury-about-section .service-item {
    display: flex;
    margin-bottom: 25px;
    transition: 0.3s;
}

.luxury-about-section .whyUs-icon {
    width: 60px;
    height: 60px;
    background: var(--white-color);
    color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 50%;
    margin-left: 20px;
    box-shadow: 0 5px 15px rgba(156, 125, 91, 0.2);
    border: 1px solid var(--secondColor2);
    transition: all 0.4s ease-in-out;
}

.luxury-about-section .whyUs-icon:hover {
    background: var(--secondColor2);
    color: var(--white-color);
}

.luxury-about-section .whyUs-icon i {
    transition: transform 0.4s ease-in-out;
}
.luxury-about-section .whyUs-icon:hover i {
    transform: scale(1.2);
}

.luxury-about-section .service-text h4 {
    color: var(--secondColor);
    font-weight: 700;
    margin-bottom: 5px;
}

.luxury-about-section .service-text p {
    color: #777;
    font-size: 0.95rem;
    margin: 0;
}

/* الهواتف */
@media (max-width: 992px) {
    .luxury-about-section .col-image, .luxury-about-section .col-content { min-width: 100%; }
    .luxury-about-section .image-wrapper { box-shadow: 15px 15px 0px -5px var(--secondColor2); }
    .luxury-about-section .experience-badge { right: 10px; }
}


/* Solutions Section */
.solutions-section {
    padding: 80px 0;
    /* direction: rtl; */
    background: #fff;
    font-family: 'Cairo', sans-serif;
}

/* العناوين والخطوط المتدرجة */
.main-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.line-gradient {
    flex: 1;
    height: 2px;
    background: var(--grad-line);
}

.section-main-title {
    color: var(--secondColor);
    font-weight: 800;
    white-space: nowrap;
}

/* كروت الحلول */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.solution-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(52, 27, 0, 0.08);
    border-color: var(--secondColor2);
}

.solution-card .icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--secondColor);
    color: var(--secondColor2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.solution-card h3 {
    color: var(--secondColor);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

/* شبكة القطاعات */
.sub-heading {
    text-align: center;
    color: var(--secondColor);
    font-size: 2rem;
    margin-bottom: 10px;
}

.fancy-line {
    width: 100px;
    height: 4px;
    background: var(--main-color);
    margin: 0 auto 50px;
    border-radius: 10px;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.sector-item {
    text-align: center;
    transition: 0.3s;
}

.sector-img-holder {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, var(--main-color), var(--secondColor2)) border-box; /* تدرج على الحدود */
    transition: 0.4s;
}

.sector-item:hover .sector-img-holder {
    transform: rotate(10deg) scale(1.1);
}

.sector-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-item h4 {
    font-size: 1rem;
    color: var(--secondColor);
    font-weight: 700;
}

/* التجاوب */
@media (max-width: 768px) {
    .main-title-wrapper .line-gradient { display: none; }
}

/* Stats Section */
.stats-section {
    padding: 100px 0;
    background: #fff;
    /* direction: rtl; */
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* التنسيق النصي */
.stats-header { margin-bottom: 40px; }
.stats-kicker { color: var(--mainColor); font-weight: 700; margin-bottom: 10px; }
.stats-title { color: var(--secondColor); font-size: 2.5rem; font-weight: 800; }
.stats-desc { color: #666; font-size: 1.1rem; line-height: 1.8; margin-top: 20px; }

/* شبكة العدادات */
.counters-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.counter-item {
    background: #fbfdfe;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-right: 4px solid var(--mainColor);
    transition: 0.3s;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(23, 89, 115, 0.1);
}

.counter-icon {
    font-size: 2rem;
    color: var(--mainColor);
}

.counter-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--main-color);
    display: inline-block;
}

.suffix { font-size: 1.2rem; font-weight: 800; color: var(--secondColor); }
.counter-label { color: #777; font-size: 0.95rem; margin-top: 5px; }

/* --- تأثير الماء والصورة --- */
.stats-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.water-blob-container {
    position: relative;
    width: 400px;
    height: 400px;
}

.image-inner {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 5;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; /* شكل غير منتظم احترافي */
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* الأشكال المتحركة خلف الصورة (تأثير الماء) */
.blob {
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    background: var(--secondColor2);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: 1;
    opacity: 0.5;
    animation: water-flow 8s infinite alternate ease-in-out;
}

.shape-2 {
    background: var(--mainColor);
    opacity: 0.2;
    animation-duration: 12s;
    animation-delay: 1s;
    z-index: 0;
}

@keyframes water-flow {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg) scale(1); }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(5deg) scale(1.05); }
    100% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; transform: rotate(-5deg) scale(1); }
}

/* للتجاوب مع الجوال */
@media (max-width: 991px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stats-visual { order: -1; }
    .water-blob-container { width: 300px; height: 300px; }
}

/* Specialties Section */
.specialties-section {
    padding: 100px 0;
    background-color: #f9f9f9;
    /* direction: rtl; */
    font-family: 'Cairo', sans-serif;
}

.section-subtitle {
    text-align: center;
    color: #888;
    margin-top: -40px;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.specialty-card {
    background: var(--white-color);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(156, 125, 91, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.specialty-card:hover {
    transform: scale(1.03);
    box-shadow: 0 25px 50px rgba(52, 27, 0, 0.1);
    border-color: var(--secondColor2);
}

/* أيقونات ملونة بتدرجات ناعمة */
.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 20px;
    color: var(--white-color);
    background: var(--grad-gold); /* التدرج الأساسي */
}

/* تدرجات مختلفة لكل أيقونة لزيادة الجاذبية */
.gradient-1 { background: linear-gradient(135deg, #341b00, #9c7d5b); }
.gradient-2 { background: linear-gradient(135deg, #9c7d5b, #d4b483); }
.gradient-3 { background: linear-gradient(135deg, #d4b483, #341b00); }
.gradient-4 { background: linear-gradient(135deg, #341b00, #d4b483); }
.gradient-5 { background: linear-gradient(135deg, #9c7d5b, #341b00); }

.specialty-card h3 {
    color: var(--secondColor);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.specialty-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 25px;
    text-align: justify;
}

.read-more-btn {
    color: var(--main-color);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    transition: 0.3s;
}

.read-more-btn:hover {
    color: var(--secondColor);
    gap: 12px;
}

/* تحسينات للشاشات الصغيرة */
@media (max-width: 768px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }
}
