:root {
  --text-dark: #222;
  --text-muted: #777;
  --card-bg: #fff;
  --border-soft: #efefef;
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.06);
  --cl-primary: #f97a00;
}

.contact-us-section {
  direction: rtl;
  overflow: hidden;
  margin-top: var(--header-height, 60px);
  padding: 2.5rem 0 4rem;
}

.contact-us-row {
  display: flex;
  flex-direction: row-reverse;
  align-items: stretch;
  gap: 0;
  flex-wrap: wrap;
}

.content-col,
.image-col {
  min-width: 0;
}

.contact-us-content {
  min-width: 0;
  width: 100%;
}

.contact-us-content-box {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}

.contact-us-title-wrapper {
  text-align: right;
  width: 100%;
}

.contact-us-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-size: clamp(16px, 1.4vw, 18px);
  font-weight: 700;
  margin: 0 0 8px 0;
}

.contact-us-icon {
  width: auto;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  filter: invert(47%) sepia(87%) saturate(3015%) hue-rotate(12deg) brightness(101%) contrast(101%);
}

.divider-line {
  position: relative;
  width: 60px;
  height: 4px;
  background-color: var(--cl-primary);
  border-radius: 10px;
  margin-top: 4px;
}

.divider-line .dot {
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background-color: var(--cl-primary);
  border-radius: 50%;
}

.contact-us-heading {
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 800;
  line-height: 1.6;
  color: var(--text-dark);
  margin: 15px 0 10px 0;
}

.contact-us-heading .highlight {
  color: var(--cl-primary);
}

.contact-us-desc {
  line-height: 1.6;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-us-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-width: 0;
}

.contact-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--border-soft);
  min-width: 0;
}

.contact-card-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
}

.contact-card-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #fff7ef;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-svg-orange {
  width: 40px;
  max-width: 70%;
  height: auto;
  filter: invert(47%) sepia(87%) saturate(3015%) hue-rotate(12deg) brightness(101%) contrast(101%);
}

.contact-card-text {
  min-width: 0;
}

.contact-card-text h4 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
}

.contact-card-text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

.contact-phone {
  display: inline-block;
  margin-top: 8px;
  color: var(--cl-primary);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background-color: var(--cl-primary);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: 0.3s ease;
}

.call-btn img {
  filter: brightness(0) invert(1);
  width: 25px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.social-icon-contactUs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: auto;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.social-img-contactUs,
.social-icon-contactUs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-us-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 520px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.contact-us-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-us-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(249, 122, 0, 0.95) 0%,
    rgba(249, 122, 0, 0.7) 20%,
    rgba(249, 122, 0, 0.2) 50%,
    rgba(249, 122, 0, 0.05) 100%
  );
  pointer-events: none;
}

.contact-image-overlay {
  position: absolute;
  right: 30px;
  left: 30px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
  text-align: justify;
  padding-right: 20px;
}

.contact-image-overlay h4 {
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 600;
}

.contact-image-overlay p {
  font-size: clamp(12px, 1.1vw, 14px);
}

.contact-image-overlay::before {
  content: "";
  position: absolute;
  right: 0;
  top: 5px;
  bottom: 15px;
  width: 3px;
  background-color: #fff;
  border-radius: 10px;
}

@media (max-width: 1199.98px) and (min-width: 992px) {
  .contact-us-section {
    padding: 1.75rem 0 3rem;
  }

  .contact-card {
    gap: 12px;
    padding: 16px;
  }

  .contact-card-icon {
    width: 56px;
    height: 56px;
  }

  .icon-svg-orange {
    width: 32px;
  }

  .call-btn {
    padding: 10px 14px;
  }

  .contact-image-overlay {
    right: 18px;
    left: 18px;
    bottom: 18px;
    padding-right: 14px;
  }

  .contact-us-image-wrapper {
    min-height: 480px;
  }
}

@media (max-width: 991.98px) {
  .contact-us-section {
    padding: 1.25rem 0 3rem;
    overflow: visible;
  }

  .contact-us-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .image-col {
    order: 1;
    width: 100vw !important;
    max-width: 100vw;
    padding: 0 !important;
    margin-inline: calc(50% - 50vw);
  }

  .content-col {
    order: 2;
    width: 100%;
  }

  .contact-us-content-box {
    margin-bottom: 24px;
  }

  .contact-us-image-wrapper {
    min-height: 0;
    width: 100%;
    height: clamp(260px, 52vw, 380px);
    border-radius: 0;
    box-shadow: none;
  }

  .contact-us-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .contact-image-overlay {
    bottom: 16px;
    right: 20px;
    left: 20px;
    padding-right: 15px;
  }

  .contact-image-overlay h4 {
    font-size: 20px;
    font-weight: 600;
  }

  .contact-image-overlay p {
    font-size: 13px;
    font-weight: 600;
  }

  .contact-card-text h4 {
    margin: 0 0 9px;
    font-size: 16px;
  }

  .contact-card-text p {
    font-weight: 500;
  }

  .contact-phone {
    font-size: 14px;
  }
}

@media (max-width: 767.98px) {
  .contact-us-section {
    padding: 0 0 5.5rem;
  }

  .contact-us-row {
    gap: 0;
  }

  .contact-us-image-wrapper {
    height: clamp(260px, 72vw, 340px);
    min-height: 260px;
    margin-top: 0;
    border: none;
  }

  .contact-image-overlay {
    bottom: 0;
    right: 20px;
    left: 16px;
    padding-right: 15px;
  }

  .contact-image-overlay h4 {
    font-size: 18px;
  }

  .contact-image-overlay p {
    font-size: 12px;
  }

  .content-col {
    padding-top: 1.25rem;
  }

  .contact-us-content {
    display: flex;
    flex-direction: column;
  }

  .contact-us-content-box {
    display: contents;
  }

  .contact-us-title-wrapper {
    order: 1;
    display: block !important;
    text-align: right;
    width: 100%;
    margin-bottom: 20px;
  }

  .contact-us-cards {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-card:nth-child(2) {
    order: 1;
  }

  .contact-card:nth-child(1) {
    order: 2;
  }

  .contact-card:nth-child(3) {
    order: 3;
  }

  .contact-us-heading {
    order: 3;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    margin-top: 25px;
    margin-bottom: 5px;
  }

  .contact-us-desc-wrapper {
    order: 4;
    text-align: center;
    margin-bottom: 20px;
  }

  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
    gap: 7px;
  }

  .contact-card-right {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }

  .social-links {
    justify-content: center;
  }

  .call-btn {
    align-self: center;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 7px 20px;
  }

  .contact-us-title {
    justify-content: flex-start;
    width: 100%;
    text-align: right;
  }
}

@media (max-width: 575.98px) {
  .contact-card-icon {
    width: 56px;
    height: 56px;
  }

  .icon-svg-orange {
    width: 32px;
  }

  .contact-us-icon {
    height: 26px;
  }

  .social-icon-contactUs {
    width: 28px;
  }
}

@media (max-width: 379.98px) {
  .contact-phone {
    font-size: 13px;
  }

  .contact-card {
    padding: 16px 12px;
  }

  .contact-image-overlay {
    right: 14px;
    left: 10px;
  }
}
