:root {
  --primary-color: #3a54a4;
  --secondary-color: #3b82f6;
  --accent-color: #2bbdbd;
  --dark-blue: #0d1326;
  --light-blue: #e0f2fe;
  --gold: #fbbf24;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --white: #eceff8;
}

* {
  font-family: "IBM Plex Sans Arabic";
}

.html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}

/* ====== Selection Style ====== */
::selection {
  background: var(--accent-color);
  /* تركواز */
  color: var(--white);
  /* أبيض */
}

::-moz-selection {
  background: var(--accent-color);
  color: var(--white);
}

/* ====== Scrollbar Style (Webkit Browsers) ====== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--light-blue);
  /* أزرق فاتح */
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  /* أزرق أساسي */
  border-radius: 8px;
  border: 2px solid var(--light-blue);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
  /* أزرق فاتح أكثر */
}

/* ====== Firefox Scrollbar (Experimental) ====== */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--light-blue);
}

/* Typography Styles */
h1,
h2,
.hero-title,
.section-title,
.navbar-brand {
  font-family: "Amiri", serif !important;
  font-weight: 700;
}

h3,
h4,
h5,
.btn,
h6 {
  font-family: "Amiri", serif;
  font-weight: 700;
}

p,
.hero-subtitle,
.form-control,
.nav-link,
.text-muted {
  font-family: "IBM Plex Sans Arabic", sans-serif;
}

body {
  overflow-x: hidden !important;
  line-height: 1.8;
  background-color: #f2f2f3;
}

.text-primary {
  color: var(--dark-blue) !important;
  line-height: 1.6;
}

.navbar {
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar.transparent {
  background-color: transparent;
  backdrop-filter: none;
}

.navbar.scrolled {
  background-color: var(--primary-color);
}

.navbar-brand {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 700;
  font-size: 14px;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
  transform: translateY(-2px);
}

.left-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.left-nav a {
  color: var(--white) !important;
  font-weight: 700;
  font-size: 16px;
  padding: 11px 46px;
}

.left-nav .btn-lang {
  color: var(--white) !important;
  border: none;
  background: none;
  font-weight: 700;
  font-size: 14px;
  padding: 0;
  font-family: "IBM Plex Sans Arabic";
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: clamp(260px, 50vw, 280px);
  height: 100%;
  background: linear-gradient(180deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  z-index: 1051;
  transition: right 0.3s ease;
  padding: clamp(16px, 3vw, 20px);
}

.sidebar.active {
  right: 0;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* خلفية شفافة مع لون */
  background: rgba(15, 23, 42, 0.45);
  /* لون أزرق غامق شفاف */
  backdrop-filter: blur(8px);
  /* تأثير الزجاج */
  -webkit-backdrop-filter: blur(8px);
  /* دعم Safari */

  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.sidebar .nav-link {
  color: var(--white) !important;
  font-size: clamp(14px, 2vw, 16px);
  padding: clamp(10px, 2vw, 15px) 0;
  display: block;
  transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
  color: var(--accent-color) !important;
  padding-right: clamp(6px, 1vw, 10px);
}

.sidebar .close-btn {
  color: var(--white);
  font-size: clamp(18px, 3vw, 24px);
  background: none;
  border: none;
  position: absolute;
  top: clamp(12px, 2vw, 20px);
  left: clamp(12px, 2vw, 20px);
}

.sidebar .left-nav {
  margin-top: clamp(12px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 2vw, 15px);
  align-items: center;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .navbar-nav {
    display: none;
  }

  .left-nav {
    display: none;
  }

  .navbar-toggler {
    display: block !important;
    color: var(--white) !important;
    border: 1px solid var(--white);
  }
}

@media (min-width: 992px) {
  .sidebar {
    display: none;
  }
}

.hero-section {
  background: linear-gradient(rgba(0, 1, 4, 0.75), rgba(0, 1, 4, 0.75)),
    url("../images/hero-img.jpg") center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
  align-items: flex-end;
  z-index: 1;
  padding-bottom: clamp(80px, 15vw, 140px);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.right-hero {
  flex: 1;
  min-width: 300px;
}

.left-hero {
  flex: 1;
  min-width: 250px;
  margin-bottom: clamp(20px, 5vw, 42px);
  display: flex;
  justify-content: center;
}

.left-hero img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: bold;
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  margin-bottom: clamp(16px, 3vw, 24px);
  animation: slideInRight 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(14px, 2.5vw, 18px);
  font-weight: 500;
  color: var(--white);
  margin-bottom: clamp(16px, 3vw, 32px);
  animation: slideInRight 1s ease-out 0.2s both;
  max-width: 100%;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.btn-primary-custom {
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 209.84%);
  border: none;
  padding: clamp(8px, 2vw, 11px) clamp(20px, 4vw, 30px);
  border-radius: 0;
  border-top-left-radius: 50px;
  transition: all 0.3s ease;
  color: var(--white) !important;
  font-weight: 700;
  font-size: clamp(14px, 2.5vw, 18px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: clamp(200px, 50vw, 320px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .right-hero {
    order: 2;
  }

  .left-hero {
    order: 1;
    margin-bottom: clamp(10px, 3vw, 20px);
  }

  .hero-section {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: clamp(40px, 10vw, 80px);
  }
}

@media (max-width: 576px) {
  .hero-title {
    text-align: center;
  }

  .hero-subtitle {
    text-align: center;
  }

  .btn-primary-custom {
    margin: 0 auto;
  }
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(6, 181, 212, 0.238);
}

.section-title {
  font-size: clamp(20px, 2vw + 1rem, 32px);
  font-weight: 700;
  color: var(--primary-color);
  margin: auto;
  margin-bottom: 3rem;
  position: relative;
  text-align: center;
  width: fit-content;
  transition: all 0.3s ease;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: -14px;
  transform: translateX(50%);
  width: 11px;
  height: 11px;
  background: #27c2c7;
  border-top-left-radius: 100%;
}

.clients-section {
  padding: 80px 40px 80px 180px;
  position: relative;
  overflow: hidden;
}

.top-right-link {
  position: absolute;
  bottom: 20px;
  right: 30%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-color, #2f4dcc) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8) rotate(45deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
  font-size: 30px;
}

.top-right-link i,
.top-right-link svg {
  font-size: 30px;
  color: var(--accent-color, #00c4b3);
  transition: transform 0.3s ease;
  transform: scaleY(1.5) !important;
}

/* hover effect */
.top-right-link:hover i {
  transform: scaleY(1.5) translate(2px, -2px) !important;
  color: var(--accent-color, #00c4b3);
}

/* show on swiper hover */
.clients-swiper:hover~.top-right-link,
.top-right-link:hover {
  opacity: 1;
  pointer-events: auto;
  color: var(--accent-color, #00c4b3);

  transform: scale(1) rotate(45deg);
}

.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 340px;
  height: 100%;
  z-index: 100;
  pointer-events: none;
  background: linear-gradient(to right,
      #f2f2f3 0%,
      #f2f2f3 90%,
      #f4f4f448 100%);
}

img.client-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: all 0.3s ease;
}

.client-logo {
  transition: all 0.3s ease;
  max-width: 180px;
  height: 118px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo:hover .client-img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gradient-bg {
    width: 30px;
  }

  .clients-section {
    padding: 50px 0;
  }
}

/* vision & mission section */
.vision-mission-section {
  padding: clamp(2rem, 5vw, 6rem) 0;
  overflow: hidden !important;
}

.vision-card,
.mission-card {
  height: 100%;
  max-width: 90%;
  margin: auto;
  margin-bottom: clamp(40px, 10vw, 100px);
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: var(--dark-blue);
  text-align: center;
  margin-bottom: clamp(16px, 3vw, 24px);
}

.vision-card p,
.mission-card p {
  font-weight: 400;
  font-size: clamp(16px, 2.5vw, 24px);
  text-align: center;
  color: #070a13;
  transition: all 0.3s ease;
  line-height: 1.6;
}

.vision-card p .text-accent-custom,
.mission-card p .text-accent-custom {
  color: var(--accent-color);
  text-decoration: underline;
}

.vision-card p .text-primary-custom,
.mission-card p .text-primary-custom {
  color: var(--primary-color);
  text-decoration: underline;
}

.hover-preview {
  position: absolute;
  pointer-events: none;
  z-index: 200;
  transform: translate(15px, -50%);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  display: flex;
  gap: 10px;
}

.first-image,
.second-image {
  position: relative;
  transition: all 0.3s ease;
}

.first-image {
  bottom: clamp(20px, 5vw, 50px);
  left: clamp(-150px, -10vw, -100px);
}

.second-image {
  top: clamp(40px, 8vw, 80px);
  left: clamp(-300px, -15vw, -250px);
}

.first-image img,
.second-image img {
  position: relative;
  z-index: 2;
  width: clamp(100px, 15vw, 160px);
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.3s ease;
  display: none;
}

.first-image img[src]:not([src=""]),
.second-image img[src]:not([src=""]) {
  display: block;
}

.hover-preview.active {
  display: flex;
  opacity: 1;
}

.dimmed {
  opacity: 0.5 !important;
}

.first-image::before,
.first-image::after,
.second-image::before,
.second-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  transition: all 0.3s ease;
}

.first-image.text-accent-custom::before,
.first-image.text-accent-custom::after,
.second-image.text-accent-custom::before,
.second-image.text-accent-custom::after {
  background: var(--accent-color);
}

.first-image.text-primary-custom::before,
.first-image.text-primary-custom::after,
.second-image.text-primary-custom::before,
.second-image.text-primary-custom::after {
  background: var(--primary-color);
}

.first-image::before,
.second-image::before {
  top: -8px;
  left: -8px;
  border-top-right-radius: 12px;
  border-top-left-radius: 12px;
  width: clamp(50px, 10vw, 90px);
  height: clamp(30px, 5vw, 48px);
  transition: opacity 0.25s ease;
}

.first-image::after,
.second-image::after {
  bottom: -8px;
  right: -8px;
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  width: clamp(50px, 10vw, 90px);
  height: clamp(30px, 5vw, 48px);
  transition: opacity 0.25s ease;
}

.first-image.active::before,
.first-image.active::after,
.second-image.active::before,
.second-image.active::after {
  opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hover-preview {
    display: none !important;
  }

  .vision-card,
  .mission-card {
    max-width: 100%;
    margin-bottom: clamp(20px, 5vw, 40px);
  }

  .vision-card p,
  .mission-card p {
    padding: 0 clamp(10px, 3vw, 20px);
  }
}

@media (max-width: 576px) {
  .vision-mission-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
  }

  .section-title {
    text-align: center;
  }

  .vision-card p,
  .mission-card p {
    text-align: center;
  }
}

/* services section */

.services-section {
  position: relative;
  overflow: hidden !important;
  padding: clamp(2rem, 5vw, 5rem) 0;
}

.services-section .section-title {
  text-align: right;
  margin-right: 0;
  font-weight: 700;
  font-size: clamp(14px, 2vw, 16px);
  color: var(--dark-blue);
}

.services-section h3 {
  font-weight: 400;
  font-size: clamp(24px, 4vw, 42px);
  color: var(--dark-blue);
  text-align: right;
}

.service-list-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-preview-col {
  min-height: clamp(300px, 50vw, 500px);
  display: flex;
  align-items: center;
}

.service-list .service-item {
  padding: 0 clamp(10px, 2vw, 20px);
  margin-bottom: clamp(20px, 5vw, 50px);
  border-radius: 8px;
  cursor: pointer;
  color: #b1b1b4;
  transition: all 0.2s ease;
}

.service-list .service-item:hover,
.service-list .service-item.active {
  transform: translateX(-5px);
  color: var(--primary-color);
}

.service-list h4 {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.5vw, 24px);
  text-align: right;
  transition: all 0.2s ease;
}

.service-marker {
  position: absolute;
  bottom: 0;
  right: -14px;
  transform: translateX(50%);
  width: clamp(20px, 3vw, 32px);
  height: clamp(20px, 3vw, 32px);
  background: #b1b1b4;
  border-top-left-radius: 100%;
  transition: all 0.2s ease;
}

.service-item.active .service-marker {
  background: var(--accent-color);
}

.service-preview {
  width: 100%;
  max-width: 500px;
  margin: auto;
  position: relative;
}

.service-preview img {
  max-height: clamp(200px, 30vw, 280px);
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.service-preview p {
  font-weight: 500;
  font-size: clamp(14px, 2vw, 18px);
  color: var(--dark-blue);
  transition: all 0.2s ease;
  text-align: right;
  max-width: clamp(300px, 50vw, 400px);
  margin: 0 auto;
  margin-top: clamp(12px, 2vw, 20px);
}

.services-section .btn-primary-custom {
  padding: clamp(8px, 2vw, 11px) clamp(30px, 5vw, 60px);
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 209.84%);
  border: none;
  border-radius: 0;
  border-top-left-radius: 50px;
  color: var(--white);
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: clamp(200px, 40vw, 300px);
}

/* Top-left corner */
.service-preview::before {
  content: "";
  position: absolute;
  top: -26px;
  left: -25px;
  width: clamp(150px, 25vw, 250px);
  height: clamp(80px, 15vw, 134px);
  background: url("../images/left-corner.png") no-repeat center/contain;
  z-index: 2;
  pointer-events: none;
}

/* Top-right corner */
.service-preview::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -60px;
  width: clamp(150px, 25vw, 250px);
  height: clamp(80px, 15vw, 134px);
  background: url("../images/right-corner.png") no-repeat center/contain;
  z-index: 2;
  pointer-events: none;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .row {
    flex-direction: column;
  }

  .service-list-col {
    order: 2;
    margin-top: clamp(20px, 5vw, 40px);
  }

  .service-preview-col {
    order: 1;
    margin-top: 0;
    min-height: auto;
  }

  .service-preview {
    max-width: 100%;
  }

  .services-section .section-title,
  .services-section h3 {
    text-align: center;
    margin: auto;
  }

  .service-list h4 {
    text-align: center;
  }

  .service-preview p {
    text-align: center;
  }

  .service-marker {
    right: 6%;
    transform: translateX(50%);
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
  }

  .service-preview::before,
  .service-preview::after {
    display: none;
  }

  .service-list .service-item {
    padding: 0 clamp(8px, 2vw, 15px);
    margin-bottom: clamp(15px, 4vw, 30px);
  }

  .btn-primary-custom {
    margin: 0 auto;
  }
}

/* more services */

.more-services-section {
  padding: clamp(2rem, 5vw, 6rem) 0;
  background: transparent;
  overflow: hidden !important;
}

.section-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: bold;
  color: var(--dark-blue);
  margin-bottom: clamp(16px, 3vw, 24px);
}

.accordion {
  border-top: none;
}

.accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid #02abde40;
}

.accordion-header {
  width: 100%;
  background: transparent;
  border: none !important;
  outline: none !important;
  padding: clamp(0.8rem, 2vw, 1.2rem);
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 600;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.accordion-header span {
  color: #051515;
}

.accordion-header.active span {
  color: #1e1e1e !important;
}

.accordion-header .arrow {
  font-size: clamp(16px, 2.5vw, 24px);
  transition: transform 0.3s;
}

.accordion-header.active .arrow {
  transform: rotate(45deg);
  color: #1e1e1e;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.3s ease;
  padding: 0;
}

.accordion-body.open {
  max-height: clamp(300px, 100vw, 400px);
  padding: clamp(0.5rem, 2vw, 1rem) 0;
}

.accordion-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  text-align: center;
  flex-wrap: wrap;
}

.service-img {
  width: clamp(80px, 15vw, 120px);
  height: clamp(80px, 15vw, 120px);
  object-fit: cover;
}

.left-img {
  border-top-left-radius: 100%;
}

.right-img {
  border-bottom-right-radius: 100%;
}

.service-text {
  flex: 1;
  text-align: center;
  min-width: 200px;
}

.service-text p {
  color: #666666;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 500;
  margin: 0;
}

.more-services-section .btn-primary-custom {
  color: var(--white);
  font-size: clamp(14px, 2vw, 16px);
  padding: clamp(10px, 2vw, 14px) clamp(30px, 5vw, 44px);
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 209.84%);
  border: none;
  border-radius: 0;
  border-top-left-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
  max-width: clamp(200px, 40vw, 300px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .accordion-content {
    flex-direction: column;
    gap: clamp(0.5rem, 2vw, 1rem);
  }

  .service-img {
    width: clamp(60px, 12vw, 100px);
    height: clamp(60px, 12vw, 100px);
  }

  .service-text {
    min-width: 100%;
  }

  .more-services-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
  }
}

@media (max-width: 576px) {
  .accordion-header {
    font-size: clamp(14px, 2vw, 16px);
  }

  .accordion-body.open {
    max-height: clamp(400px, 120vw, 600px);
  }

  .btn-primary-custom {
    margin: 0 auto;
  }
}

/* contact banner */
.contact-banner {
  background: linear-gradient(122.26deg, #3ec6c2 9.87%, #16203e 69.35%);
  padding: clamp(3rem, 8vw, 10rem) 0;
  color: var(--white);
  text-align: center;
}

.image-stack {
  position: relative;
  width: 100%;
  max-width: clamp(200px, 40vw, 320px);
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  margin: 0 auto;
}

.image-stack .layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  will-change: transform, opacity;
}

.image-stack .layer-identity {
  max-width: clamp(60px, 15vw, 90px);
  max-height: clamp(80px, 20vw, 120px);
  inset: 0;
  margin: auto;
}

.right-side-contact {
  text-align: right;
}

.right-side-contact h3 {
  font-weight: 700;
  font-size: clamp(32px, 6vw, 76px);
  margin-bottom: clamp(16px, 3vw, 32px);
}

.right-side-contact p {
  font-weight: 500;
  font-size: clamp(14px, 2.5vw, 18px);
  margin-bottom: clamp(16px, 3vw, 32px);
}

.right-side-contact .btn-primary-custom {
  padding: clamp(8px, 2vw, 12px) clamp(40px, 8vw, 70px);
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 209.84%);
  border: none;
  border-radius: 0;
  border-top-left-radius: 50px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s ease;
  margin-left: auto;
  max-width: clamp(200px, 40vw, 300px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .row {
    flex-direction: column;
    align-items: center;
  }

  .right-side-contact {
    text-align: center;
    order: 2;
    padding: 0 clamp(15px, 3vw, 20px);
  }

  .col-lg-6.d-flex {
    order: 1;
    justify-content: center;
    margin-bottom: clamp(16px, 3vw, 24px);
  }

  .right-side-contact .btn-primary-custom {
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .contact-banner {
    padding: clamp(2rem, 5vw, 4rem) 0;
  }

  .image-stack {
    max-width: clamp(150px, 30vw, 200px);
  }
}

/* News Section */

.news-section {
  padding: clamp(2rem, 5vw, 6rem) 0;
  background: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.news-section-title {
  text-align: center;
  color: #051515;
  font-weight: 700;
  font-size: clamp(24px, 4vw, 40px);
  margin-bottom: clamp(12px, 2vw, 16px);
  position: relative;
}

.section-subtitle {
  text-align: center;
  color: var(--accent-color);
  font-size: clamp(14px, 2vw, 16px);
  margin-bottom: clamp(16px, 3vw, 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(16px, 3vw, 24px);
  border-radius: 50px;
  padding: clamp(6px, 1vw, 8px);
  max-width: clamp(250px, 50vw, 400px);
  margin: 0 auto clamp(16px, 3vw, 24px);
}

.filter-tab.right {
  border-bottom-right-radius: 100px;
  border-left: none;
}

.filter-tab.left {
  border-top-left-radius: 100px;
  border-right: none;
}

.filter-tab {
  font-family: "Amiri", sans-serif;
  flex: 1;
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 3vw, 24px);
  background: transparent;
  color: var(--primary-color);
  font-weight: 600;
  font-size: clamp(12px, 2vw, 14px);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background-image: linear-gradient(#f2f2f3, #f2f2f3),
    linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.filter-tab.active {
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 160%);
  color: var(--white);
}

.news-swiper {
  padding: clamp(12px, 2vw, 20px) 0 clamp(24px, 5vw, 60px);
  overflow: visible;
}

.swiper-slide {
  height: auto;
}

.news-card {
  background: #f2f2f3;
  overflow: hidden;
  box-shadow: 0px 4px 20px 0px #0000000a;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  border-radius: 12px;
}

.news-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0px 4px 20px 0px #00000012;
  border-color: rgba(74, 144, 226, 0.2);
}

.news-image {
  height: clamp(160px, 25vw, 220px);
  position: relative;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-content {
  padding: clamp(12px, 2vw, 20px);
}

.news-date {
  color: #97979b;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 400;
  margin-bottom: clamp(8px, 1vw, 12px);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.news-title {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  text-align: right;
  color: #070a13;
  font-weight: 500;
  font-size: clamp(16px, 2.5vw, 22px);
  margin-bottom: clamp(8px, 1vw, 12px);
}

.news-excerpt {
  color: var(--dark-blue);
  font-size: clamp(12px, 1.8vw, 14px);
  margin-bottom: clamp(12px, 2vw, 20px);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  font-family: "Amiri", sans-serif;
  color: #2a2a2a;
  font-weight: 400;
  font-size: clamp(12px, 1.8vw, 14px);
  display: inline-flex;
  border-top-left-radius: 80px;
  padding: clamp(8px, 1.5vw, 10px) 0 clamp(8px, 1.5vw, 10px) clamp(24px, 4vw, 44px);
  text-decoration: underline;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  color: var(--white);
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 209.84%);
  padding: clamp(8px, 1.5vw, 10px) clamp(12px, 2vw, 20px) clamp(8px, 1.5vw, 10px) clamp(24px, 4vw, 44px);
  transform: translateX(-3px);
}

.news-section .btn-primary-custom {
  color: var(--white);
  font-size: clamp(14px, 2vw, 16px);
  padding: clamp(10px, 2vw, 14px) clamp(24px, 4vw, 44px);
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 209.84%);
  border: none;
  border-radius: 0;
  border-top-left-radius: 50px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet {
  width: clamp(10px, 2vw, 15px) !important;
  height: clamp(10px, 2vw, 15px) !important;
  border-radius: 3px !important;
  border: 1px solid var(--accent-color);
  background-color: transparent !important;
  transition: all 0.3s ease;
  transform: scale(1) !important;
  opacity: 1 !important;
}

.swiper-pagination-bullet:first-child {
  border-top-left-radius: 100% !important;
}

.swiper-pagination-bullet:last-child {
  border-top-right-radius: 100% !important;
}

.swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
}

.load-more-section {
  text-align: center;
  margin-top: clamp(16px, 3vw, 24px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .filter-tabs {
    max-width: clamp(200px, 60vw, 300px);
    margin-bottom: clamp(12px, 2vw, 16px);
  }

  .filter-tab {
    padding: clamp(6px, 1.2vw, 10px) clamp(12px, 2vw, 16px);
    font-size: clamp(10px, 1.8vw, 12px);
  }

  .swiper-pagination-bullets-dynamic {
    bottom: -2px !important;
  }

  .news-image {
    height: clamp(140px, 20vw, 180px);
  }

  .news-content {
    padding: clamp(10px, 1.8vw, 16px);
  }

  .news-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
  }
}

@media (max-width: 576px) {
  .news-swiper {
    padding: clamp(8px, 2vw, 12px) 0 clamp(16px, 3vw, 24px);
  }

  .news-card {
    border-radius: 8px;
  }

  .btn-primary-custom {
    margin: 0 auto;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.active {
  opacity: 1 !important;
  transform: translateY(0);
}

/* Loading State */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid var(--medium-gray);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ------------------------ contact section ------------------------ */
.contact-section {
  padding: clamp(2rem, 5vw, 6rem) 0;
  background: url("../images/bg-contact.png") no-repeat center center/cover;
  position: relative;
  overflow: hidden;
  min-height: clamp(600px, 80vh, 100vh);
  color: var(--white);
}

.overlay {
  position: absolute;
  inset: 0;
  background: var(--dark-blue);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

.contact-section .section-title {
  font-size: 18px;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: clamp(16px, 3vw, 24px);
}

.contact-section .section-subtitle {
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  color: var(--white);
}

.contact-form {
  max-width: clamp(300px, 80vw, 514px);
  margin: 0 auto;
  width: 100%;
}

.contact-section .form-control {
  border: none;
  border-radius: 6px;
  padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 20px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: right;
  font-size: clamp(14px, 2vw, 16px);
  max-height: 150px;
}

.contact-section .form-control::placeholder {
  color: #6d6e71;
}

.contact-section .btn-primary-custom {
  padding: clamp(8px, 1.5vw, 12px) clamp(24px, 4vw, 44px);
  background: linear-gradient(90deg,
      var(--primary-color) 0%,
      var(--accent-color) 209.84%);
  border: none;
  border-radius: 0;
  border-top-left-radius: 50px;
  font-size: clamp(14px, 2vw, 16px);
  font-weight: 700;
  color: var(--white);
  transition: all 0.3s ease;
}

.layer-identity-contact {
  max-height: clamp(200px, 50vw, 400px) !important;
  max-width: clamp(100px, 30vw, 180px);
  pointer-events: none;
  margin: 0 auto;
  display: block;
}

.layer-frame,
.layer-top-corner,
.layer-bottom-corner {
  position: absolute;
  transform: translate(-50%, -50%);
  opacity: 0;
  transform-origin: center center;
  pointer-events: none;
}

.layer-frame {
  top: 50%;
  left: 50%;
  max-width: clamp(150px, 40vw, 300px);
}

.layer-top-corner {
  top: clamp(10px, 2vw, 20px);
  left: clamp(10px, 2vw, 20px);
  max-width: clamp(80px, 20vw, 150px);
}

.layer-bottom-corner {
  right: -60px;
  bottom: clamp(-80px, -20vw, -100px);
  max-width: clamp(80px, 20vw, 150px);
}

.contact-info-box {
  color: #fff;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.8;
  width: 100%;
  max-width: clamp(300px, 80vw, 514px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  margin: 0 auto;
}

.welcome-text {
  font-weight: 600;
  font-size: clamp(20px, 3.5vw, 32px);
  text-align: right;
  color: var(--accent-color);
  margin-bottom: clamp(12px, 2vw, 24px);
  font-family: "IBM Plex Sans Arabic", sans-serif;
  line-height: 1.6;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: clamp(8px, 1.5vw, 16px);
  color: var(--white);
}

.info-item i {
  margin-left: clamp(6px, 1vw, 10px);
  color: #2dd4bf;
  font-size: clamp(12px, 1.8vw, 14px);
}

.info-item span {
  color: var(--white);
  margin-right: clamp(6px, 1vw, 8px);
  font-weight: 400;
  font-size: clamp(14px, 2vw, 18px);
  text-align: right;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }

  .contact-info-box {
    margin-bottom: clamp(16px, 3vw, 24px);
    text-align: center;
  }

  .welcome-text {
    text-align: center;
  }

  .info-item {
    justify-content: center;
  }

  .contact-form {
    margin: 0 auto;
  }

  .contact-section .btn-primary-custom {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    min-height: clamp(400px, 100vh, 600px);
  }

  .layer-frame,
  .layer-top-corner,
  .layer-bottom-corner {
    display: none;
  }
}

/* ------------------------- Footer ---------------------------- */
.footer {
  background: var(--dark-blue) !important;
  color: #fff;
  padding: clamp(16px, 3vw, 32px) 0;
  font-size: clamp(12px, 1.8vw, 14px);
}

.footer-main {
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(12px, 2vw, 16px);
}

.footer-logo {
  flex: 0 0 auto;
}

.footer-logo img {
  max-height: clamp(30px, 6vw, 50px);
}

.footer-links {
  gap: clamp(8px, 1.5vw, 16px);
  flex: 1;
  justify-content: center;
}

.footer-secondary-social {
  gap: clamp(12px, 2vw, 24px);
  margin-bottom: clamp(12px, 2vw, 16px);
}

.footer-secondary {
  gap: clamp(8px, 1.5vw, 16px);
  flex: 1;
  justify-content: center;
}

.footer-links li,
.footer-secondary li {
  display: inline-block;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 400;
  font-size: clamp(14px, 1.8vw, 18px);
  text-align: center;
}

.footer a:hover {
  color: var(--text-light);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 1.5vw, 28px);
}

/* .footer-social a {
  font-size: clamp(14px, 2vw, 26px);
  margin: 0 clamp(4px, 0.8vw, 8px);
  color: #fff;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: var(--text-light);
} */

.footer-bottom {
  font-size: clamp(10px, 1.5vw, 12px);
}

.footer-bottom p {
  font-weight: 700;
  text-align: center;
  font-size: clamp(10px, 1.5vw, 12px);
  margin-bottom: clamp(8px, 1.5vw, 12px);
  color: var(--white);
  opacity: 1 !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
  }

  .footer-secondary-social {
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vw, 16px);
  }

  .footer-links,
  .footer-secondary {
    gap: clamp(14px, 1.2vw, 16px);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-social {
    gap: clamp(6px, 1.2vw, 12px);
  }
}

@media (max-width: 576px) {
  .footer {
    padding: clamp(12px, 3vw, 24px) 0;
  }

  .footer-links,
  .footer-secondary {
    gap: clamp(12px, 1vw, 14px);
  }

  .footer-social a {
    margin: 0 clamp(3px, 0.6vw, 6px);
  }

  .footer-bottom p {
    margin-bottom: clamp(6px, 1.2vw, 8px);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
}

.navbar.scrolled {
  background: #23232355 !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.alert-success {
  border: none;
  border-radius: 10px;
  margin-bottom: 2rem;
}

.jumbotron {
  background: linear-gradient(rgba(0, 1, 4, 0.745), rgba(0, 1, 4, 0.745)),
    var(--bg-image) no-repeat center bottom/cover;
  color: #fff;
  padding: 4rem 0 0 0;
  min-height: 370px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.jumbotron-logo {
  max-width: 50px;
  height: auto;
  filter: brightness(0) invert(1);
  /* White logo effect */
}

.jumbotron-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.jumbotron-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  font-weight: 400;
}

.container {
  position: relative;
  /* z-index: 1; */
}

/* Optional: Add a blur effect to the background image if supported */
@media (min-width: 768px) {
  .jumbotron {
    /* background-attachment: fixed; */
  }
}

.promo-banner {
  position: relative;
  padding: 5.625rem 0;
  overflow: hidden;
}

.promo-banner .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

.promo-banner .banner-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 auto;
}

.promo-banner .banner-text {
  flex: 1;
  text-align: right;
}

.promo-banner .banner-title {
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
  margin: 0 0 0 auto;
}

.promo-banner .banner-subtitle {
  font-size: 3rem;
  font-family: "Amiri", serif;
  color: var(--accent-color);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.promo-banner .banner-description {
  font-weight: 500;
  font-size: 1rem;
  text-align: justify;
  color: var(--dark-blue);
  line-height: 1.6;
  max-width: 500px;
}

.promo-banner .banner-description-text {
  font-weight: 400;
  font-size: 1.5rem;
  text-align: center;
  color: var(--primary-color);
  width: 75%;
  margin: 2rem auto 0;
}

.promo-banner .banner-image {
  flex: 1;
  height: 37.5rem;
  max-height: 37.5rem;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  padding: 1.25rem 0;
}

.promo-banner .banner-image-container {
  position: relative;
  transition: all 0.3s ease;
}

.promo-banner .banner-image-container::before {
  content: "";
  position: absolute;
  top: -0.5rem;
  left: -0.5rem;
  width: 5.5rem;
  height: 3rem;
  background-color: var(--accent-color);
  border-radius: 0.75rem 0.9375rem 0 0;
  z-index: 0;
  pointer-events: none;
}

.promo-banner .banner-image-container::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  right: -0.5rem;
  width: 5.5rem;
  height: 3rem;
  background-color: var(--accent-color);
  border-radius: 0 0 0.75rem 0.9375rem;
  z-index: -1;
}

.promo-banner .banner-img {
  max-width: 100%;
  height: auto;
  border-radius: 0.625rem;
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center top;
}

.promo-banner .blue-corner {
  width: 4.75rem;
  height: 4.75rem;
  background: var(--primary-color);
  border-bottom-right-radius: 150%;
  z-index: -1;
  margin-bottom: 2.8125rem;
}

@media (max-width: 1025px) {
  .promo-banner .banner-description {
    max-width: 410px;
  }

  .promo-banner .banner-image-container {
    left: 16px !important;
    max-width: 495px !important;
  }
}

@media (max-width: 992px) {
  .promo-banner .banner-content {
    flex-direction: column;
    align-items: center;
  }

  .promo-banner .banner-text,
  .promo-banner .banner-image {
    flex: none;
    width: 100%;
    max-width: 600px;
  }

  .promo-banner .banner-image {
    height: auto;
    max-height: 25rem;
    padding: 1rem 0;
  }

  .promo-banner .banner-title {
    font-size: 1.75rem;
  }

  .promo-banner .banner-subtitle {
    font-size: 2.5rem;
  }

  .promo-banner .banner-description {
    max-width: 100%;
  }

  .promo-banner .banner-description-text {
    font-size: 1.25rem;
    width: 90%;
  }
}

@media (max-width: 768px) {
  .promo-banner {
    padding: 3rem 0;
  }

  .promo-banner .container {
    padding: 0 0.75rem;
  }

  .promo-banner .banner-title {
    font-size: 1.5rem;
    margin-right: 14px;
  }

  .promo-banner .banner-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .promo-banner .banner-description {
    font-size: 0.875rem;
  }

  .promo-banner .banner-image {
    max-height: 20rem;
    position: relative !important;
    margin-bottom: 50px;
    inset: 0;
    width: auto;
  }

  .promo-banner .banner-image-container::before,
  .promo-banner .banner-image-container::after {
    width: 4rem;
    height: 2rem;
  }

  .promo-banner .blue-corner {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 576px) {
  .promo-banner {
    padding: 2rem 0;
  }

  .promo-banner .banner-title {
    font-size: 1.25rem;
  }

  .promo-banner .banner-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .promo-banner .banner-description {
    font-size: 0.8125rem;
  }

  .promo-banner .banner-description-text {
    font-size: 1rem;
    width: 95%;
  }

  .promo-banner .banner-image {
    max-height: 15rem;
    padding: 0.75rem 0;
  }

  .promo-banner .banner-image-container::before,
  .promo-banner .banner-image-container::after {
    width: 3rem;
    height: 1.5rem;
    border-radius: 0.5rem;
  }

  .promo-banner .blue-corner {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 400px) {
  .promo-banner {
    padding: 1.5rem 0;
  }

  .promo-banner .container {
    padding: 0 0.5rem;
  }

  .promo-banner .banner-title {
    font-size: 1rem;
  }

  .promo-banner .banner-subtitle {
    font-size: 1.5rem;
  }

  .promo-banner .banner-description {
    font-size: 0.75rem;
  }

  .promo-banner .banner-description-text {
    font-size: 0.875rem;
  }

  .promo-banner .banner-image {
    max-height: 12rem;
  }

  .promo-banner .banner-image-container::before,
  .promo-banner .banner-image-container::after {
    width: 2rem;
    height: 1rem;
  }

  .promo-banner .blue-corner {
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
  }
}

.data-protection-section .logo-container {
  max-width: 250px;
  margin: 0 auto;
  width: 100%;
}

.data-protection-section .company-logo {
  transition: all 0.3s ease;
  border: 3px solid #6c5ce7;
  border-bottom-right-radius: 100%;
  padding: 12px;
  padding-top: 4rem;
  min-height: 230px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.data-protection-section .company-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
}

.data-protection-section .company-logo img {
  max-width: 159px;
  height: 53px;
  width: 100%;
  object-fit: contain;
}

.data-protection-section .certification-badge {
  margin-left: auto;
  margin-right: 0;
}

.data-protection-section .certification-badge .curved-bg {
  width: 210px;
  height: 210px;
  border: 5px solid var(--accent-color);
  border-radius: 0 0 0 100%;
  top: 0;
  right: 0;
  position: absolute;
}

.data-protection-section .certification-badge:hover .curved-bg {
  opacity: 1;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.data-protection-section .company-logo .text-center>div:first-child {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.3125rem;
}

.data-protection-section .company-logo .text-center>div:nth-child(2) {
  font-size: 0.75rem;
}

.data-protection-section .company-logo .text-center>div:last-child {
  color: #00d4aa;
  font-size: 1.5rem;
  font-weight: bold;
  margin-top: 0.625rem;
}

.data-protection-section .certification-icon {
  margin-bottom: 0.625rem;
}

.data-protection-section .certification-icon div {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.data-protection-section .certification-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

.data-protection-section .badge-content {
  width: 210px;
  height: 210px;
  border: 5px solid var(--accent-color);
  border-radius: 0 0 0 100%;
  top: 0;
  right: 0;
  position: absolute;
}

.data-protection-section .badge-content div span {
  font-size: 0.75rem;
}

.data-protection-section .row {
  display: flex;
  align-items: center;
  margin-bottom: 1.875rem;
  flex-wrap: nowrap;
}

.data-protection-section a {
  text-decoration: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
  margin-right: 1rem;
}

.data-protection-section p {
  color: var(--dark-blue);
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 0;
}

.data-protection-section .container {
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.data-protection-section .content-wrapper {
  padding: 1.25rem;
}

.data-protection-section .logo-container,
.data-protection-section .certification-badge {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  flex-shrink: 0;
}

.data-protection-section .row>.col-lg-9,
.data-protection-section .row>.col-lg-3 {
  flex: 0 0 auto;
}

.data-protection-section .row>.col-lg-9 {
  width: calc(100% - 270px);
}

.data-protection-section .row>.col-lg-3 {
  width: 270px;
}

/* Large screens (desktops, 992px and up) */
@media (max-width: 992px) {
  .data-protection-section .row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .data-protection-section .row>.col-lg-9,
  .data-protection-section .row>.col-lg-3 {
    width: 100%;
    max-width: 600px;
  }

  .data-protection-section .logo-container,
  .data-protection-section .certification-badge {
    margin: 0 auto 1.25rem;
    padding: 1.25rem;
  }

  .data-protection-section .content-wrapper {
    padding: 1rem;
    text-align: center;
  }

  .data-protection-section .company-logo {
    padding-top: 2rem;
    min-height: 200px;
  }

  .data-protection-section .badge-content {
    width: 180px;
    height: 180px;
  }
}

/* Medium screens (tablets, 768px and below) */
@media (max-width: 768px) {
  .data-protection-section .row {
    flex-wrap: wrap;
    text-align: center;
  }

  .data-protection-section .row.down {
    flex-wrap: wrap;
    text-align: center;
    flex-direction: column-reverse;
  }

  .data-protection-section .row>.col-lg-9,
  .data-protection-section .row>.col-lg-3 {
    width: 100%;
  }

  .data-protection-section .content-wrapper {
    padding: 1rem;
  }

  .data-protection-section .logo-container,
  .data-protection-section .certification-badge {
    margin-bottom: 1rem;
    padding: 1rem;
    max-width: 200px;
  }

  .data-protection-section a {
    font-size: 1.25rem;
  }

  .data-protection-section p {
    font-size: 0.875rem;
  }
}

/* Small screens (mobile, 576px and below) */
@media (max-width: 576px) {
  .data-protection-section p {
    font-size: 0.8125rem !important;
  }

  .data-protection-section .company-logo {
    padding: 1rem !important;
    min-height: 150px !important;
  }

  .data-protection-section .logo-container,
  .data-protection-section .certification-badge {
    padding: 0.75rem;
    max-width: 150px;
  }

  .data-protection-section .badge-content {
    width: 140px;
    height: 140px;
  }

  .data-protection-section .company-logo img {
    max-width: 120px;
    height: 40px;
  }

  .data-protection-section a {
    font-size: 1rem;
  }
}

/* Extra small screens (below 400px) */
@media (max-width: 400px) {
  .data-protection-section .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .data-protection-section .content-wrapper {
    padding: 0.5rem;
  }

  .data-protection-section .logo-container,
  .data-protection-section .certification-badge {
    max-width: 120px;
  }

  .data-protection-section .company-logo {
    padding-top: 2rem;
    min-height: 120px !important;
  }

  .data-protection-section .badge-content {
    width: 100px;
    height: 100px;
  }

  .data-protection-section .company-logo img {
    max-width: 100px;
    height: 33px;
  }
}

.vision-mission-whoUs {
  margin: 0 auto;
  padding: 5rem 1.25rem;
  position: relative;
}

.vision-mission-whoUs .content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background-color: #f2f2f3;
  max-width: 850px;
  margin: auto;
  padding: 2.5rem 5rem;
  position: relative;
  border-radius: 8px;
}

.vision-mission-whoUs .content-grid::after {
  content: "";
  position: absolute;
  top: -0.75rem;
  left: -0.75rem;
  width: 5.5rem;
  height: 3rem;
  background-color: #3a54a4;
  z-index: -1;
  border-radius: 1.375rem 1.375rem 0 0;
}

.vision-mission-whoUs .content-grid::before {
  content: "";
  position: absolute;
  bottom: -0.75rem;
  right: -0.75rem;
  width: 5.5rem;
  height: 3rem;
  background-color: #3a54a4;
  z-index: -1;
  border-radius: 0 0 1.375rem 1.375rem;
}

.vision-mission-whoUs .who-we-are {
  padding-right: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 1.25rem 0 0 0;
  position: relative;
  z-index: 2;
}

.vision-mission-whoUs .who-we-are p {
  color: #3a54a4;
  font-size: 1rem;
  text-align: justify;
  font-weight: 500;
}

.vision-mission-whoUs .vision-section {
  background: var(--accent-color);
  border-top-left-radius: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 3.75rem 0 0 3.75rem;
  min-width: 21.25rem;
  min-height: 21.25rem;
}

.vision-mission-whoUs .vision-title {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.vision-mission-whoUs .mission-content {
  padding-left: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0 0 0 1.25rem;
}

.vision-mission-whoUs .mission-content p {
  color: #3a54a4;
  font-size: 1rem;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 0.9375rem;
}

.vision-mission-whoUs .mission-section {
  background: var(--accent-color);
  border-bottom-right-radius: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 3.125rem 4.375rem 4.4375rem 0;
  min-width: 21.25rem;
  min-height: 21.25rem;
}

.vision-mission-whoUs .mission-title {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

.vision-mission-whoUs .vision-icon svg,
.vision-mission-whoUs .mission-icon svg {
  width: 7.625rem;
  height: 7.5rem;
}

@media (max-width: 992px) {
  .vision-mission-whoUs .content-grid {
    grid-template-columns: 1fr;
    padding: 2rem 3rem;
    max-width: 600px;
  }

  .vision-mission-whoUs .vision-section,
  .vision-mission-whoUs .mission-section,
  .vision-mission-whoUs .who-we-are,
  .vision-mission-whoUs .mission-content {
    border-radius: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 2rem;
    min-width: auto;
    min-height: auto;
  }

  .vision-mission-whoUs .who-we-are,
  .vision-mission-whoUs .mission-content {
    padding: 2rem;
  }

  .vision-mission-whoUs .vision-title,
  .vision-mission-whoUs .mission-title {
    font-size: 1.75rem;
  }

  .vision-mission-whoUs .vision-icon svg,
  .vision-mission-whoUs .mission-icon svg {
    width: 6rem;
    height: 5.875rem;
  }
}

@media (max-width: 768px) {
  .vision-mission-whoUs {
    padding: 3rem 1rem;
  }

  .mission-content {
    order: 4;
  }

  .vision-mission-whoUs .content-grid {
    padding: 1.5rem 2rem;
    max-width: 100%;
  }

  .vision-mission-whoUs .content-grid::after,
  .vision-mission-whoUs .content-grid::before {
    width: 4rem;
    height: 2rem;
    border-radius: 0.75rem;
  }

  .vision-mission-whoUs .vision-section,
  .vision-mission-whoUs .mission-section {
    padding: 2rem;
  }

  .vision-mission-whoUs .who-we-are p,
  .vision-mission-whoUs .mission-content p {
    font-size: 0.875rem;
  }

  .vision-mission-whoUs .vision-title,
  .vision-mission-whoUs .mission-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .vision-mission-whoUs {
    padding: 2rem 0.75rem;
  }

  .vision-mission-whoUs .content-grid {
    padding: 1rem 1.5rem;
  }

  .vision-mission-whoUs .vision-section,
  .vision-mission-whoUs .mission-section,
  .vision-mission-whoUs .who-we-are,
  .vision-mission-whoUs .mission-content {
    padding: 1.5rem;
  }

  .vision-mission-whoUs .who-we-are p,
  .vision-mission-whoUs .mission-content p {
    font-size: 0.8125rem;
  }

  .vision-mission-whoUs .vision-title,
  .vision-mission-whoUs .mission-title {
    font-size: 1.25rem;
  }

  .vision-mission-whoUs .vision-icon svg,
  .vision-mission-whoUs .mission-icon svg {
    width: 4.5rem;
    height: 4.375rem;
  }
}

@media (max-width: 400px) {
  .vision-mission-whoUs {
    padding: 1.5rem 0.5rem;
  }

  .vision-mission-whoUs .content-grid {
    padding: 0.75rem 1rem;
  }

  .vision-mission-whoUs .content-grid::after,
  .vision-mission-whoUs .content-grid::before {
    width: 3rem;
    height: 1.5rem;
    border-radius: 0.5rem;
  }

  .vision-mission-whoUs .vision-section,
  .vision-mission-whoUs .mission-section,
  .vision-mission-whoUs .who-we-are,
  .vision-mission-whoUs .mission-content {
    padding: 1rem;
  }

  .vision-mission-whoUs .vision-title,
  .vision-mission-whoUs .mission-title {
    font-size: 1rem;
  }
}

/* /////// services ///// */
.legal-services {
  padding: 3.75rem 1.25rem;
  direction: rtl;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.legal-services .section-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 2rem;
  color: var(--primary-color);
  line-height: 1.6;
}

.legal-services .section-subtitle {
  font-size: 2.625rem;
  margin-bottom: 2.5rem;
  color: var(--dark-blue);
}

.legal-services .service-card {
  display: grid;
  grid-template-columns: 12.5rem 1fr 2fr;
  align-items: center;
  gap: 1.25rem;
  border: 1px solid var(--accent-color);
  border-radius: 0.75rem;
  padding: 2.5rem 1.875rem;
  margin-bottom: 1.5625rem;
  transition: all 0.3s ease-in-out;
  text-align: right;
  min-height: 13.75rem;
}

.legal-services .service-card:hover {
  box-shadow: 0 0.25rem 0.9375rem rgba(58, 84, 164, 0.15);
}

.legal-services .service-number {
  font-weight: 300;
  font-size: 5.625rem;
  color: var(--accent-color);
  text-align: center;
  font-family: "Bahnschrift", sans-serif;
}

.legal-services .service-title h3 {
  font-size: 1.5rem;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 500;
  color: #3a54a4;
  margin: 0;
  line-height: 1.6;
  max-width: 12.5rem;
}

.legal-services .service-description p {
  font-size: 1rem;
  line-height: 1.8;
  color: #000000;
  margin: 0;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 992px) {
  .legal-services .service-card {
    grid-template-columns: 4.375rem 1fr;
    grid-template-rows: auto auto;
    min-height: 12.5rem;
    padding: 1.5rem 1.25rem;
  }

  .legal-services .service-number {
    font-size: 3.5rem;
    grid-row: 1 / 2;
  }

  .legal-services .service-title {
    grid-column: 2 / 3;
  }

  .legal-services .service-description {
    grid-column: 1 / 3;
    margin-top: 0.9375rem;
  }
}

@media (max-width: 768px) {
  .legal-services {
    padding: 2.5rem 0.75rem;
  }

  .legal-services .section-title {
    font-size: 0.875rem;
  }

  .legal-services .section-subtitle {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .legal-services .service-card {
    padding: 1.25rem 1rem;
    min-height: 11.25rem;
  }

  .legal-services .service-number {
    font-size: 3rem;
  }

  .legal-services .service-title h3 {
    font-size: 1.25rem;
  }

  .legal-services .service-description p {
    font-size: 0.875rem;
  }
}

@media (max-width: 576px) {
  .legal-services {
    padding: 2rem 0.5rem;
  }

  .legal-services .section-title {
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .legal-services .section-subtitle {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .legal-services .service-card {
    padding: 1rem 0.75rem;
    min-height: 10rem;
    gap: 1rem;
  }

  .legal-services .service-number {
    font-size: 2.5rem;
  }

  .legal-services .service-title h3 {
    font-size: 1rem;
    max-width: 10rem;
  }

  .legal-services .service-description p {
    font-size: 0.8125rem;
  }
}

@media (max-width: 400px) {
  .legal-services {
    padding: 1.5rem 0.375rem;
  }

  .legal-services .section-subtitle {
    font-size: 1.5rem;
  }

  .legal-services .service-card {
    min-height: 9rem;
    padding: 0.75rem 0.5rem;
    gap: 0.75rem;
  }

  .legal-services .service-number {
    font-size: 2rem;
  }

  .legal-services .service-title h3 {
    font-size: 0.875rem;
    max-width: 8rem;
  }

  .legal-services .service-description p {
    font-size: 0.75rem;
  }
}

/* clients & parteners */
.serve-section {
  padding: 80px 0;
}

.serve-section .section-subtitle {
  font-size: clamp(24px, 3vw, 42px);
  color: var(--dark-blue);
  margin-bottom: 50px;
}

.serve-section .section-title {
  font-size: 16px;
  margin-bottom: 30px;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
}

/* Flex Wrapper */
.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: center;
}

.client-card {
  flex: 1 1 calc(25% - 20px);
  /* 4 في الصف */
  min-width: 250px;
  /* عشان مايصغروش قوي في الموبايل */
  border: 1px solid transparent;
  border-radius: 0 50px 0 50px;
  background-clip: padding-box;
  position: relative;
  padding: 20px 80px;
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 300px;
}

.client-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0 50px 0 50px;
  padding: 1px;
  background: linear-gradient(111.86deg, #2bbdbd 0%, #3a54a4 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* partenter & clients Section styling */
.parteners-section {
  padding: 80px 0;
}

.parteners-section .section-title {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.parteners-section .section-subtitle {
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 400;
  margin-bottom: 30px;
  color: var(--dark-blue);
}

/* Clients box */
.clients-box {
  border: 1px solid var(--accent-color);
  border-radius: 15px;
  padding: 40px 20px;
}

/* Grid system */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
}

/* Logo styling */
.client-logo img {
  /* max-width: 218px; */
  /* max-height: 138px; */
  object-fit: cover;
  transition: all 0.3s ease-in-out;
  width: 100%;
  height: auto;
}

.client-logo img:hover {
  filter: grayscale(0%) brightness(1.1);
  transform: scale(1.05);
}

/* blogs-section */
.blogs-section {
  padding: 80px 0;
}

.blogs-section .section-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 38px;
}

/* Specialization-section */
.Specializations-section {
  padding: clamp(30px, 5vw, 50px) 0;
}

.Specializations-section .section-title {
  font-size: clamp(12px, 2vw, 16px);
  text-align: center;
  margin-bottom: clamp(8px, 1.5vw, 44px);
}

.Specializations-section .section-subtitle {
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
  margin-bottom: clamp(25px, 4vw, 40px);
  color: var(--dark-blue);
}

.Specialization-card {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(180deg, #2bbdbd 0%, #3a54a4 100%);
  color: #fff;
  border-radius: 12px;
  padding: clamp(15px, 4vw, 30px) clamp(20px, 6vw, 50px);
  margin-bottom: clamp(20px, 4vw, 30px);
  box-shadow: 0px 4px 20px 0px #1d72170a;
  position: relative;
  justify-content: space-between;
  overflow: hidden;
}

.Specialization-info {
  flex: 1;
  max-width: 25%;
  text-align: right;
  padding-left: clamp(10px, 2vw, 20px);
}

.Specialization-title {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  color: #fff;
  font-family: "IBM Plex Sans Arabic";
  position: relative;
  background-color: transparent;
  z-index: 5;
  padding: 12px 22px;
}

.Specialization-title::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  width: 88px;
  height: 48px;
  background-image: url("../images/blue-bottom-corner.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.Specialization-title::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 88px;
  height: 48px;
  background-image: url("../images/blue-top-corner.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.Specialization-title .num {
  font-weight: 400;
}

.Specialization-description {
  flex: 3;
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.9;
  padding-right: clamp(10px, 2vw, 20px);
  max-width: 65%;
}

.gradient-decor-first,
.gradient-decor-second,
.gradient-decor-third {
  position: absolute;
  pointer-events: none;
}

.gradient-decor-first {
  width: clamp(80px, 12vw, 140px);
  height: clamp(80px, 12vw, 140px);
  bottom: -15px;
  right: clamp(60px, 10vw, 115px);
  background: linear-gradient(352deg, #3a54a4 0%, #2bbdbd 100%);
  border-top-left-radius: 100%;
  transform: rotate(326deg);
}

.gradient-decor-second {
  width: clamp(120px, 20vw, 230px);
  height: clamp(120px, 20vw, 230px);
  bottom: -10px;
  right: clamp(60px, 10vw, 115px);
  background: var(--primary-color);
  border-bottom-right-radius: 100%;
}

.gradient-decor-third {
  width: clamp(120px, 20vw, 225px);
  height: clamp(120px, 20vw, 225px);
  bottom: clamp(60px, 15vw, 115px);
  right: clamp(50px, 8vw, 100px);
  background: var(--accent-color);
  border-bottom-left-radius: 100%;
}

/* 📱 Mobile styles */
@media (max-width: 768px) {
  .Specialization-card {
    flex-direction: column;
    padding: clamp(10px, 4vw, 15px);
  }

  .Specialization-info {
    max-width: 100%;
    padding-left: 0;
    margin: 12px auto;
    margin-bottom: clamp(10px, 3vw, 15px);
    text-align: center;
  }

  .Specialization-description {
    padding-right: 0;
    max-width: 100%;
    text-align: center;
  }
}

/* Single Page */
.single-blog-section {
  padding: 60px 0;
}

.single-blog-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.single-blog-section h2,
.single-blog-section h3 {
  margin-bottom: 15px;
  color: #222;
  line-height: 1.6;
}

.single-blog-section p,
.single-blog-section ul {
  margin-bottom: 30px;
  color: #444;
  line-height: 1.8;
  font-size: 16px;
}

.single-blog-section ul {
  padding-left: 20px;
}

.blog-image-container {
  margin: 30px 0;
  text-align: center;
}

.blog-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

/* contact page */
.contact-section-page {
  margin-bottom: 80px;
}

.contact-items {
  color: var(--primary-color);
}

.contact-section-page .contact-items .info-item span {
  color: var(--primary-color);
  font-size: 20px;
  font-weight: 400;
}

.contact-section-page .form-control {
  padding: 14px 12px;
  border: none;
  text-align: right;
  max-height: 118px;
}

.contact-section-page .section-title {
  color: var(--primary-color);
}

.social-icons {
  gap: 70px;
  margin-top: 40px;
  transition: all 0.3s ease-in-out;
}

.social-icon svg {
  font-size: 18px !important;
  color: #3a54a4;
  transition: all 0.3s ease-in-out;
}

.social-icon svg:hover {
  transform: scale(1.2);
}

.info-item svg {
  font-size: 23px;
  margin-left: 8px;
  color: var(--primary-color);
}

.instruction {
  color: #000;
  font-weight: 500;
  font-size: 11px;
  text-align: right;
  margin-top: 14px;
}

.contact-section-page .contact-container {
  margin-top: 140px;
  background-color: #f2f2f3;
  padding: 60px;
  width: fit-content;
  margin: auto;
  position: relative;
  border-radius: 12px;
}

.contact-section-page .contact-container::after {
  content: "";
  position: absolute;
  top: -11px;
  left: -11px;
  width: 140px;
  height: 76px;
  background: #3a54a4;
  z-index: -1;
  border-radius: 12px 12px 0 0;
}

.contact-section-page .contact-container::before {
  content: "";
  position: absolute;
  bottom: -11px;
  right: -11px;
  width: 140px;
  height: 76px;
  background: #3a54a4;
  z-index: -1;
  border-radius: 0 0 12px 12px;
}

.contact-section-page .middle-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 50px;
  max-height: 50px;
}

/* Additional responsive adjustments */
@media (max-width: 992px) {
  .contact-section-page .contact-container {
    width: 90%;
  }

  .contact-section-page .contact-items .info-item span {
    font-size: 18px;
  }

  .social-icons {
    gap: 40px;
  }

  .contact-section-page .form-control {
    padding: 12px 10px;
  }
}

/* Existing media query for mobile */
@media (max-width: 768px) {
  .contact-section-page .contact-container {
    padding: 0;
    width: 100%;
  }

  .contact-section-page .contact-container .container {
    padding: 0;
    width: 100%;
  }

  .contact-section-page .contact-container::after,
  .contact-section-page .contact-container::before,
  .contact-section-page .middle-img {
    content: none;
    display: none;
  }
}

@media (max-width: 576px) {
  .contact-section-page .contact-items .info-item span {
    font-size: 16px;
  }

  .social-icons {
    gap: 20px;
    margin: auto;
    margin-top: 20px;
  }

  .info-item svg {
    font-size: 20px;
  }

  .contact-section-page .info-item {
    justify-content: flex-start !important;
  }

  .contact-section-page .contact-form .btn-lg {
    font-size: 16px;
    padding: 10px;
  }

  .instruction {
    font-size: 10px;
  }
}

/* privacy page  */
.privacy-header {
  position: relative;
  max-width: 40%;
  padding: 0 80px;
}

.privacy-header .section-title {
  font-weight: 700;
  font-size: clamp(14px, 2vw, 16px);
  text-align: center;
}

.privacy-header .text-primary {
  font-weight: 400;
  font-size: clamp(24px, 4vw, 42px);
}

.privacy-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  width: 90px;
  height: 90px;
  background: #3a54a4;
  border-top-right-radius: 100%;
}

.privacy-header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -100px;
  width: 90px;
  height: 90px;
  background: #3a54a4;
  border-bottom-left-radius: 100%;
}

.tr-main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row-reverse;
}

.tr-privacy-policy-section {
  padding: 40px 0;
}

.tr-privacy-content {
  display: flex;
  justify-content: space-between;
}

.tr-accordion {
  width: 70%;
}

.tr-accordion-item {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.tr-accordion-header {
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  color: #0d1326;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tr-accordion-header:hover {
  background-color: #e9ecef;
}

.tr-accordion-content {
  padding: 15px;
  display: none;
  color: #0d1326;
}

.tr-accordion-content.active {
  display: block;
}

.tr-tabs {
  width: 25%;
  padding: 15px;
}

.tr-tab {
  padding: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  text-align: right;
  color: #0d13268d;
  font-weight: 600;
  font-size: 16px;
}

.tr-tab:hover {
  color: rgba(13, 19, 38, 0.9);
}

.tr-tab.active {
  color: #0d1326;
}

.tr-accordion-header .tr-chevron {
  transition: transform 0.3s ease;
}

.tr-accordion-header.active .tr-chevron {
  transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .tr-accordion {
    width: 65%;
  }

  .tr-tabs {
    width: 30%;
  }
}

@media (max-width: 992px) {
  .tr-accordion {
    width: 60%;
  }

  .tr-tabs {
    width: 35%;
  }

  .tr-accordion-header {
    padding: 12px;
    font-size: 14px;
  }

  .tr-accordion-content {
    padding: 12px;
    font-size: 14px;
  }

  .tr-tab {
    font-size: 15px;
    padding: 8px;
  }
}

@media (max-width: 768px) {
  .privacy-header {
    width: 100%;
    max-width: unset;
    padding: 0 40px;
  }

  .tr-privacy-content {
    flex-direction: column;
  }

  .privacy-header::after,
  .privacy-header::before {
    display: none;
  }

  .tr-accordion {
    width: 100%;
  }

  .tr-tabs {
    width: 35%;
    margin-top: 20px;
  }

  .tr-tab {
    font-size: 14px;
    padding: 8px;
    display: inline-block;
    width: 100%;
    margin-right: 4%;
  }

  .tr-tab:nth-child(2n) {
    margin-right: 0;
  }
}

@media (max-width: 576px) {
  .tr-privacy-policy-section {
    padding: 20px 0;
  }

  .tr-accordion-header {
    padding: 10px;
    font-size: 13px;
  }

  .tr-accordion-content {
    padding: 10px;
    font-size: 13px;
  }

  .tr-tab {
    font-size: 12px;
    padding: 6px;
    width: 100%;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .tr-tabs {
    padding: 10px;
  }
}

.middle-image-decorate {
  pointer-events: none;
  margin: auto;
}

.our-team .row {
  display: flex;
  flex-direction: row !important;
}