/* ═══════════════════════════════════════════════
   SERVICES PAGE — SPECIFIC STYLES ONLY
   (Shared styles are in global.css)
═══════════════════════════════════════════════ */

/* ─── Services Section ─── */
.services-section {
  width: 100%;
  padding: 32px 16px;
}
.services-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.hero {
  min-height: 370px;
}
.services-pop-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.services-pop {
  width: 119px;
  height: 32px;
  border: 1px solid #e3e8ef;
  margin: 0 auto;
  padding: 4px 8px;
  border-radius: 16px;
}
.services-pop h1 {
  font-weight: 500;
  color: white;
  font-size: 14px;
  text-align: center;
  line-height: 24px;
}
services-card-img {
  width: 343px;
  height: 343px;
}

.services-title {
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  line-height: 30px;
  letter-spacing: -1px;
  text-align: center;
  text-transform: capitalize;
}
.services-cards-container-desk {
  display: flex;
  flex-direction: column-reverse;
  gap: 40px;
}
.services-cards-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.services-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid #f0fef633;
  border-radius: 20px;
  padding: 20px;
}
.service-logo {
  width: 48px;
  height: 48px;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 600px;
}
.service-logo img {
  width: 24px;
  height: 24px;
}
.service-title {
  font-weight: 600;
  font-size: 20px;
  color: #ffffff;
  line-height: 26px;
  text-transform: capitalize;
}
.service-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #e3e8ef;
}
.services-cards-container:hover .service-logo {
  background-color: #50f995;
}
.services-cards-container:hover .service-title {
  color: #50f995;
}
.service-image {
  width: 100%;
  height: auto;
}
.service-image img {
  width: 100%;
  height: auto;
}

/* ─── IBS Advantage Section ─── */
.ibs-advantage {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 32px 16px;
}
.ibs-advantage-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 0 auto;
  border-radius: 32px;
}
.ibs-advantage-img {
  width: 100%;
}
.ibs-advantage-img-desk img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}
.ibs-advantage-img-desk {
  width: 343px;
  height: 343px;
}

.ibs-advantage-text-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
}
.ibs-advantage-pop-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
}
.ibs-advantage-pop {
  display: flex;
  justify-content: center;
  width: 197px;
  height: 32px;
  border-radius: 16px;
  padding: 4px 8px;
  border: 1px solid #e3e8ef;
}
.ibs-advantage-pop h1 {
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  line-height: 24px;
  color: #ffffff;
}
.ibs-advantage-pop-container p {
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  line-height: 30px;
  letter-spacing: -1px;
  text-transform: capitalize;
}
ol {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 20px;
  gap: 16px;
}
ol li {
  font-weight: 300;
  font-size: 16px;
  color: #e3e8ef;
  line-height: 24px;
  list-style: disc;
}
.ibs-advantage-text {
  font-weight: 300;
  font-size: 16px;
  line-height: 20px;
  color: #e3e8ef;
}
.ibs-advantage-btn {
  width: 223px;
  height: 54px;
  border-radius: 16px;
  background-color: #50f995;
  font-weight: 600;
  font-size: 18px;
  line-height: 30px;
  padding: 12px;
  gap: 10px;
  border: none;
  cursor: pointer;
  color: #0e1109;
}
.lang-ar ol {
  padding-right: 20px;
}
.srv-pop-container {
  display: flex;
  flex-direction: row;
  align-items: center;

  height: 40px;
  width: 177px;
  color: #fff;
  text-align: center;
  padding: 6px 12px 6px 6px;
  gap: 12px;
  border-radius: 16px;
  margin: 60px auto 0 auto;
  background: #00000033;
}
.sub-heading {
  width: 84%;
  margin: 0 auto;
}
.sub-heading-srv {
  font-size: 12px;
}
/* ═══════════════════════════════════════════════
   TABLET (376px → 1023px)
═══════════════════════════════════════════════ */
@media (min-width: 768px) and (max-width: 1024px) {
  .ibs-advantage-img-desk {
    width: 100%;
    height: auto;
  }
  .who-about-container {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .who-about-title {
    text-align: center;
    align-items: center;
  }
  .who-about-text p {
    text-align: center;
    width: 85%;
    margin: 0 auto;
  }
  .about-btn {
    margin: 0 auto;
  }
  .sec1-vision,
  .sec2-mission {
    text-align: center;
    width: 85%;
    margin: 0 auto;
  }
  .sec1-vision h1,
  .sec2-mission h1 {
    text-align: center;

    margin: 0 auto;
  }
  .what-about-container {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .what-about-title {
    text-align: center;
    align-items: center;
  }
  .what-about-text p {
    text-align: center;
    width: 85%;
    margin: 0 auto;
  }
  .core-about-container {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .core-about-title {
    text-align: center;
    align-items: center;
  }

  .team-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    gap: 24px;
    align-items: start;
  }
  .who-about-img-desk {
    width: 100%;
    height: auto;
  }
  .about-hero {
    max-width: 100%;
  }
  .who-about-img-desk img {
    width: 83%;
    height: auto;
  }
  .services-section {
    width: 80%;
    margin: 0 auto;
    padding: 48px 40px;
  }
  .services-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    gap: 40px;
  }
  .services-pop-container {
    width: 100%;
    align-items: center;
  }
  .services-title {
    font-size: 28px;
    line-height: 36px;
  }
  .services-cards-container-desk {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    justify-items: center;
    gap: 24px;
  }
  .services-cards-container {
    width: 100%;
    height: 100%;
    gap: 24px;
  }
  .services-card {
    width: 100%;
    padding: 24px;
    gap: 16px;
    height: auto;
  }
  .service-logo {
    padding: 24px;
  }
  .service-title {
    width: 100%;
    font-size: 18px;
    line-height: 26px;
  }
  .service-text {
    font-size: 15px;
  }

  .ibs-advantage {
    width: 80%;
    margin: 0 auto;
    padding: 48px 40px;
    gap: 32px;
  }
  .ibs-advantage-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    flex-direction: column;
    gap: 32px;
  }
  .ibs-advantage-text-container {
    width: 100%;
    gap: 24px;
  }
  .ibs-advantage-pop-container p {
    font-size: 28px;
    line-height: 36px;
  }
  ol {
    width: 100%;
  }
  ol li {
    font-size: 16px;
    line-height: 26px;
  }
  .ibs-advantage-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP (1024px+)
═══════════════════════════════════════════════ */
@media (min-width: 1025px) {
  .background {
    background-image: url("https://res.cloudinary.com/dbrr1jmwx/image/upload/f_auto,q_auto/background_do09cz.svg");
    height: 150vh;
    min-height: unset;
  }
  .services-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: -417px;
    padding: 0 120px 64px;
    gap: 60px;
  }
  .services-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 60px;
  }
  .services-pop-container {
    width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .services-title {
    font-size: 36px;
    line-height: 42px;
    letter-spacing: -1px;
  }
  .services-cards-container-desk {
    display: grid;
    grid-template-columns: repeat(2, 0fr);
    grid-template-rows: repeat(4, 0fr);
    row-gap: 40px;
    column-gap: 40px;
  }
  .services-card {
    height: 342px;
  }
  .service-title {
    font-size: 24px;
    width: 526px;
  }
  .services-cards-container:has(.service-image) {
    padding: 0;
    overflow: hidden;
    border: none;
  }
  .services-cards-container:has(.service-image) .services-card {
    padding: 0;
    height: 100%;
    border: none;
  }
  .service-image {
    object-fit: cover;
    border-radius: 32px;
    width: 100%;
    height: 100%;
  }
  .srv-pop-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 200px;
    color: #fff;
    text-align: center;
    padding: 6px 12px 6px 6px;
    gap: 12px;
    border-radius: 16px;
    margin: 160px auto 0 auto;
    background: #00000033;
  }
  .sub-heading-srv {
    font-size: 14px;
  }
  .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
  }

  .ibs-advantage {
    padding: 32px 120px;
    gap: 60px;
  }
  .ibs-advantage-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
    width: 1200px;
    gap: 40px;
    margin: 0 auto;
  }
  .ibs-advantage-text-container {
    width: 570px;
    gap: 32px;
  }
  .ibs-advantage-img {
    display: none;
  }
  .ibs-advantage-img-desk {
    display: block;
    width: 570px;
    height: 540px;
  }
  .ibs-advantage-img-desk img {
    border-radius: 32px;
    width: 100%;
    height: 100%;
  }
  .lang-ar p.ibs-advantage-text {
    width: 530px;
  }
  .lang-ar .ibs-advantage-pop {
    width: 200px;
  }
}

/* ═══════════════════════════════════════════════
   DESKTOP MEDIUM (1024px → 1440px)
═══════════════════════════════════════════════ */
@media (min-width: 1025px) and (max-width: 1440px) {
  .srv-pop-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 200px;
    color: #fff;
    text-align: center;
    padding: 6px 12px 6px 6px;
    gap: 12px;
    border-radius: 16px;
    margin: 160px auto 0 auto;
    background: #00000033;
  }

  .services-section {
    margin-top: -260px;
    padding-right: 80px;
    padding-bottom: 64px;
    padding-left: 80px;
  }
  .sub-heading-srv {
    font-size: 14px;
  }

  .services-container {
    gap: 48px;
    width: 60%;
  }
  .services-pop-container {
    width: 100%;
    max-width: 1100px;
  }

  .services-title {
    font-size: 30px;
    line-height: 38px;
  }
  .services-cards-container-desk {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    row-gap: 40px;
    column-gap: 40px;
  }
  .service-text {
    font-size: 20px;
    line-height: 30px;
    color: #e3e8ef;
  }
  .ibs-advantage {
    padding-left: 80px;
    padding-right: 80px;
    gap: 48px;
  }
  .ibs-advantage-container {
    width: 100%;
    max-width: 1200px;
    gap: 32px;
  }
  .ibs-advantage-img-desk {
    width: 570px;
    height: 540px;
  }
  .ibs-advantage-text-container {
    width: 45%;
    gap: 20px;
  }
  .ibs-advantage-pop-container p {
    font-size: 28px;
    line-height: 36px;
  }
  .ibs-advantage-btn {
    width: 220px;
  }
}

/* ═══════════════════════════════════════════════
   SMALL MOBILE (max-width: 375px)
═══════════════════════════════════════════════ */
@media (min-width: 320px) and (max-width: 375px) {
  .services-section {
    padding: 24px 12px;
  }
  .services-container {
    width: 100%;
    gap: 24px;
  }
  .services-title {
    font-size: 20px;
    line-height: 28px;
  }
  services-card-img {
    width: 290px;
    height: 343px;
    padding: 5px;
  }
  .services-cards-container-desk {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
  .services-card {
    width: 100%;
    padding: 16px;
    gap: 12px;
  }
  .ibs-advantage-pop h1 {
    font-size: 12px;
  }
  .ibs-advantage-pop {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .service-logo {
    padding: 20px;
    width: 36px;
    height: 36px;
  }
  .service-logo img {
    width: 22px;
    height: 22px;
  }
  .service-title {
    width: 100%;
    font-size: 16px;
    line-height: 24px;
  }
  .service-text {
    font-size: 13px;
    line-height: 20px;
  }
  .service-image {
    padding: 5px;
    width: 100%;
    height: auto;
  }
  .service-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
  .ibs-advantage-img-desk {
    width: 100%;
    height: 100%;
    border-radius: 32px;
  }
  .ibs-advantage-img-desk img {
    width: 100%;
    height: auto;
    border-radius: 32px;
  }
  .ibs-advantage {
    padding: 24px 12px;
    gap: 24px;
  }
  .ibs-advantage-container {
    width: 100%;
    gap: 24px;
  }
  .ibs-advantage-img img {
    border-radius: 20px;
  }
  .ibs-advantage-text-container {
    width: 100%;
    gap: 20px;
  }
  .ibs-advantage-pop {
    width: 180px;
  }
  .ibs-advantage-pop-container p {
    text-align: center;
    font-size: 20px;
    line-height: 28px;
  }
  ol {
    width: 98%;
  }
  ol li {
    font-size: 13px;
    line-height: 20px;
  }
  .ibs-advantage-text {
    font-size: 13px;
  }
  .ibs-advantage-btn {
    width: 100%;
    max-width: 200px;
    font-size: 16px;
    height: 48px;
  }
}
/* ═══════════════════════════════════════════════
   MOBILE MEDIUM (376px → 767px)
═══════════════════════════════════════════════ */
@media (min-width: 376px) and (max-width: 767px) {
  .services-section {
    width: 100%;
    padding: 32px 20px;
  }
  .services-container {
    width: 100%;
    gap: 32px;
  }
  .services-pop-container {
    width: 100%;
    align-items: center;
  }
  .services-title {
    font-size: 26px;
    line-height: 34px;
  }
  .services-cards-container-desk {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
  }
  .services-cards-container {
    width: 100%;
    gap: 20px;
  }
  .services-card {
    width: 100%;
    padding: 20px;
    gap: 14px;
    height: auto;
  }
  .service-logo {
    padding: 20px;
  }
  .service-title {
    width: 100%;
    font-size: 18px;
    line-height: 26px;
  }
  .service-text {
    font-size: 15px;
    line-height: 22px;
  }
  .service-image {
    width: 100%;
    height: auto;
  }
  .service-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
  }
  .ibs-advantage {
    width: 100%;
    padding: 32px 20px;
    gap: 28px;
  }
  .ibs-advantage-container {
    width: 100%;
    gap: 24px;
  }
  .ibs-advantage-text-container {
    width: 100%;
    gap: 22px;
  }
  .ibs-advantage-pop-container p {
    font-size: 26px;
    line-height: 34px;
  }
  ol li {
    font-size: 15px;
    line-height: 24px;
  }
  .ibs-advantage-btn {
    width: 100%;
    max-width: 260px;
  }
}
