.latestnews .pic img{
height: 245px;
}

.latestnews .caption {
  min-height: 47px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}


.ourservices .titre {
  min-height: calc(2 * 1.33em);  /* height of 2 lines */
  display: flex;
  align-items: start;           /* center text vertically if it's short */
}

@media (max-width: 400px) {
  .searchtab {
    display:none;
  }
}

.menuFilter .choose{
max-height: 200px;
  overflow: auto;
}


.latestnews .text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
min-height:65px
}

.search-form{
    display:flex;
    width:100%;
}

#search-error{
  color: white !important;
  position: absolute;
  bottom: -20px;
  font-size: 10px !important;
}

.prev,
.next,
.rotate,
.rotate svg {
  rotate: 180deg;
}

.text * {
  margin: revert;
  padding: revert;
  line-height: revert;
  color: #282828;
}

.text img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.text p > iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pr-0 {
  padding-left: 0 !important;
}

.newsPage {
  background: #fafafa;
}

.newsCategory {
  direction: ltr;
  text-align: left;
  padding-bottom: calc(var(--ratio) * 54px);
}

.newsCategory .container {
  max-width: 1200px;
}

.newsCategory .top {
  text-align: center;
  margin-bottom: calc(var(--ratio) * 24px);
}

.newsCategory .title {
  font-size: calc(var(--ratio) * 28px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
}

.newsCategory .subtitle {
  margin-top: calc(var(--ratio) * 7px);
  font-weight: 400;
  font-size: calc(var(--ratio) * 18px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  color: #919ca0;
}

.newsCategory .grid {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + var(--ratio) * 24px);
  margin-bottom: calc(var(--ratio) * 24px);
}

.newsCategory .grid > li {
  width: calc(33.33% - var(--ratio) * 24px);
  margin-bottom: calc(var(--ratio) * 24px);
  margin-right: calc(var(--ratio) * 24px);
}

.newsCategory .item {
  background: #fff;
  border-radius: calc(var(--ratio) * 16px);
  box-shadow: 0px 0px 10px #eee;
  overflow: hidden;
  height: 100%;
  display: block;
  transition: all 0.35s;
}

.newsCategory .pic {
  height: calc(var(--ratio) * 200px);
  overflow: hidden;
}

.newsCategory .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: all 0.35s;
}

.newsCategory .content {
  padding: calc(var(--ratio) * 16px);
}

.newsCategory .date {
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  color: #919ca0;
  margin-bottom: calc(var(--ratio) * 8px);
  display: flex;
  align-items: center;
}

.newsCategory .date img {
  margin-right: calc(var(--ratio) * 4px);
  height: calc(var(--ratio) * 14px);
  object-fit: contain;
}

.newsCategory .caption {
  font-size: calc(var(--ratio) * 18px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  margin-bottom: calc(var(--ratio) * 8px);
}

.newsCategory .text {
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  color: #919ca0;
}

.newsCategory .stats {
  display: flex;
  margin-top: calc(var(--ratio) * 12px);
  padding-top: calc(var(--ratio) * 12px);
  border-top: 1px solid #eee;
}

.newsCategory .stat {
  display: flex;
  align-items: center;
  margin-right: calc(var(--ratio) * 12px);
  font-size: calc(var(--ratio) * 12px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #65767d;
}

.newsCategory .stat img {
  margin-right: calc(var(--ratio) * 4px);
  height: calc(var(--ratio) * 12px);
  object-fit: contain;
}

.newsCategory .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: calc(var(--ratio) * 24px);
}

.newsCategory .page {
  margin: 0 calc(var(--ratio) * 4px);
  width: calc(var(--ratio) * 32px);
  height: calc(var(--ratio) * 32px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: calc(var(--ratio) * 8px);
  background: #efefef;
  cursor: pointer;
  transition: all 0.35s;
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
  color: #647379;
}

.newsCategory .current .page {
  background: #40a6bf;
  color: #fff;
}

.pageCategory .current {
  background: #40a6bf;
  color: #fff;
}

.newsCategory .page.prev,
.newsCategory .page.next {
  background: #f1f5f9;
}

.newsCategory .page.prev img,
.newsCategory .page.next img {
  height: calc(var(--ratio) * 12px);
  object-fit: contain;
}

.newsCategory .page.prev img {
  transform: scaleX(-1);
}

@media (max-width: 1024px) {
  .newsCategory .grid > li {
    width: calc(50% - var(--ratio) * 24px);
  }
}
 
@media (max-width: 767px) {
  .newsCategory .grid {
    width: 100%;
  }

  .newsCategory .grid > li {
    width: 100%;
    margin-right: 0;
  }
}

/* Hover effects for desktop */
.desktop .newsCategory .filter:hover {
  color: #40a6bf;
}

.desktop .newsCategory .item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
}

.desktop .newsCategory .item:hover .pic img {
  transform: scale(1.05);
}

.desktop .newsCategory .page:hover {
  background: #40a6bf;
  color: #fff;
}
.desktop .newsCategory .page:hover img {
  filter: brightness(0) invert(1);
}

:root {
  --primary-color: #0a5163;
  --secondary-color: #40a6bf;
  --text-color: #283e46;
  --light-bg: #f1f5f9;
  --border-color: #e0e0e0;
}

/* Service Card Styles */
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  margin: 10px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 12px;
}

.service-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: var(--primary-color);
  padding: 5px;
  margin-right: 0;
}

.service-icon img {
  display: block;
  object-fit: contain;
  max-height: 21px;
  max-width: 20px;
  filter: brightness(0) invert(1);
}

.service-title-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-title {
  font-size: 18px;
  line-height: 1.3;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

.blue-tag {
  color: var(--secondary-color);
  font-weight: 700;
  font-size: 16px;
  padding: 0;
  align-self: flex-start;
}

.service-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 20px;
  flex: 1;
}

.service-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 5px;
  border-left: none;
  background: #fafafa;
}

.table-row {
  display: flex;
  border-bottom: 1px solid var(--border-color);
}

.table-row:last-child {
  border-bottom: none;
}

.table-cell {
  flex: 1;
  padding: 12px 8px;
  border-left: 1px solid var(--border-color);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
}

.table-cell:last-child {
  border-left: none;
}

.col-label {
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
  font-weight: 500;
}

.col-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary-color);
  line-height: 1.3;
}

.service-tags {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  background: var(--light-bg);
  color: var(--text-color);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  border: 1px solid #e5e7eb;
}

.link-file-section {
  background: var(--light-bg);
  padding: 15px;
  border-radius: 12px;
  margin-top: 7px;
  border: 1px solid #e5e7eb;
}

.link-title {
  display: block;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  transition: color 0.2s ease;
  color: var(--text-color);
}

.link-title:hover {
  color: var(--secondary-color);
}

.file-size {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .service-header {
    flex-direction: row;
    align-items: center;
  }

  .service-icon {
    margin-bottom: 0;
  }

  .table-row {
    flex-direction: column;
  }

  .table-cell {
    border-left: none;
    border-bottom: 1px solid var(--border-color);
    min-height: 50px;
  }

  .table-cell:last-child {
    border-bottom: none;
  }

  .card-content {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .service-header {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .service-icon {
    align-self: center;
    margin-bottom: 10px;
  }

  .service-title-section {
    align-items: center;
    text-align: center;
  }
}

.errorPage {
  background: #fafafa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.errorSection {
  direction: ltr;
  text-align: center;
  padding: calc(var(--ratio) * 40px) 0;
  width: 100%;
}

.errorSection .container {
  max-width: 800px;
}

.errorGraphic {
  margin-bottom: calc(var(--ratio) * 40px);
  position: relative;
}

.errorNumber {
  font-size: calc(var(--ratio) * 120px);
  line-height: 1;
  font-family: "Tajawal", sans-serif;
  font-weight: 900;
  color: #0a5163;
  margin-bottom: calc(var(--ratio) * 20px);
  text-shadow: 0 10px 20px rgba(10, 81, 99, 0.1);
}

.errorIcon {
  width: calc(var(--ratio) * 200px);
  height: calc(var(--ratio) * 200px);
  margin: 0 auto calc(var(--ratio) * 30px);
  position: relative;
}

.errorIcon .circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #e2eff3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: float 3s ease-in-out infinite;
}

.errorIcon .circle:before {
  content: "";
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  border: 2px dashed #40a6bf;
  animation: rotate 20s linear infinite;
}

.errorIcon img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  z-index: 1;
}

.errorTitle {
  font-size: calc(var(--ratio) * 32px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  margin-bottom: calc(var(--ratio) * 16px);
}

.errorMessage {
  font-size: calc(var(--ratio) * 18px);
  line-height: 160%;
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  color: #919ca0;
  margin-bottom: calc(var(--ratio) * 40px);
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
}

.errorActions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--ratio) * 16px);
  margin-bottom: calc(var(--ratio) * 40px);
}

.errorBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--ratio) * 56px);
  padding: 0 calc(var(--ratio) * 32px);
  border-radius: calc(var(--ratio) * 16px);
  font-size: calc(var(--ratio) * 16px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s;
  border: 1px solid #40a6bf;
}

.errorBtn.primary {
  background: #40a6bf;
  color: #fff;
}

.errorBtn.secondary {
  background: transparent;
  color: #40a6bf;
}

.errorBtn img {
  margin-left: calc(var(--ratio) * 8px);
  height: calc(var(--ratio) * 20px);
  object-fit: contain;
}

.quickLinks {
  background: #fff;
  border-radius: calc(var(--ratio) * 16px);
  box-shadow: 0px 0px 10px #eee;
  padding: calc(var(--ratio) * 24px);
  max-width: 600px;
  margin: 0 auto;
}

.quickLinks .title {
  font-size: calc(var(--ratio) * 20px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  margin-bottom: calc(var(--ratio) * 16px);
  text-align: center;
}

.quickLinksGrid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(var(--ratio) * 12px);
}

.quickLink {
  display: flex;
  align-items: center;
  padding: calc(var(--ratio) * 12px) calc(var(--ratio) * 16px);
  background: #f6fafb;
  border-radius: calc(var(--ratio) * 12px);
  text-decoration: none;
  transition: all 0.35s;
  color: #283e46;
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
}

.quickLink:hover {
  background: #e2eff3;
  transform: translateY(-2px);
}

.quickLink img {
  margin-right: calc(var(--ratio) * 8px);
  height: calc(var(--ratio) * 16px);
  object-fit: contain;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media (max-width: 767px) {
  .errorNumber {
    font-size: calc(var(--ratio) * 80px);
  }

  .errorIcon {
    width: calc(var(--ratio) * 150px);
    height: calc(var(--ratio) * 150px);
  }

  .errorActions {
    flex-direction: column;
    align-items: center;
  }

  .errorBtn {
    width: 100%;
    max-width: 300px;
  }

  .quickLinksGrid {
    flex-direction: column;
  }

  .quickLink {
    justify-content: center;
  }
}

/* Hover effects for desktop */
.desktop .errorBtn.primary:hover {
  background: #0a5163;
  border-color: #0a5163;
}

.desktop .errorBtn.secondary:hover {
  background: #40a6bf;
  color: #fff;
}

.errorBtn svg {
  margin-right: 5px;
}

.contactPage {
  background: #fafafa;
}

.contactHero {
  direction: ltr;
  text-align: left;
  padding: calc(var(--ratio) * 40px) 0 calc(var(--ratio) * 54px);
}

.contactHero .container {
  max-width: 1200px;
}

.contactHero .top {
  text-align: center;
  margin-bottom: calc(var(--ratio) * 40px);
}

.contactHero .title {
  font-size: calc(var(--ratio) * 28px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
}

.contactHero .subtitle {
  margin-top: calc(var(--ratio) * 7px);
  font-weight: 400;
  font-size: calc(var(--ratio) * 18px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  color: #919ca0;
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
}

.contactContent {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + var(--ratio) * 24px);
  margin-bottom: calc(var(--ratio) * 40px);
}

.contactContent > div {
  margin-right: calc(var(--ratio) * 24px);
  margin-bottom: calc(var(--ratio) * 24px);
}

.contactForm {
  width: calc(60% - var(--ratio) * 24px);
  background: #fff;
  border-radius: calc(var(--ratio) * 16px);
  box-shadow: 0px 0px 10px #eee;
  padding: calc(var(--ratio) * 24px);
}

.contactInfo {
  width: calc(40% - var(--ratio) * 24px);
}

.contactForm .title {
  font-size: calc(var(--ratio) * 20px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  margin-bottom: calc(var(--ratio) * 16px);
}

.formRow {
  display: flex;
  flex-wrap: wrap;
  width: calc(100% + var(--ratio) * 16px);
  margin-bottom: calc(var(--ratio) * 16px);
}

.formGroup {
  margin-right: calc(var(--ratio) * 16px);
  margin-bottom: calc(var(--ratio) * 16px);
}

.formGroup.half {
  width: calc(50% - var(--ratio) * 16px);
}

.formGroup.full {
  width: calc(100% - var(--ratio) * 16px);
}

.formLabel {
  display: block;
  margin-bottom: calc(var(--ratio) * 8px);
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
  color: #283e46;
}

.formControl {
  width: 100%;
  height: calc(var(--ratio) * 48px);
  border: 1px solid #ddd;
  border-radius: calc(var(--ratio) * 8px);
  padding: 0 calc(var(--ratio) * 16px);
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  color: #283e46;
  transition: all 0.35s;
}

.formControl:focus {
  border-color: #40a6bf;
}

textarea.formControl {
  height: calc(var(--ratio) * 120px);
  padding: calc(var(--ratio) * 12px) calc(var(--ratio) * 16px);
  resize: vertical;
}

.submitBtn {
  background: #40a6bf;
  color: #fff;
  border: none;
  border-radius: calc(var(--ratio) * 16px);
  height: calc(var(--ratio) * 48px);
  padding: 0 calc(var(--ratio) * 32px);
  font-size: calc(var(--ratio) * 16px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.35s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.submitBtn:hover {
  background: #0a5163;
}

.contactInfo .card {
  background: #fff;
  border-radius: calc(var(--ratio) * 16px);
  box-shadow: 0px 0px 10px #eee;
  padding: calc(var(--ratio) * 24px);
  margin-bottom: calc(var(--ratio) * 24px);
}

.contactInfo .card:last-child {
  margin-bottom: 0;
}

.contactInfo .title {
  font-size: calc(var(--ratio) * 20px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  margin-bottom: calc(var(--ratio) * 16px);
  display: flex;
  align-items: center;
}

.contactInfo .title img {
  margin-right: calc(var(--ratio) * 8px);
  height: calc(var(--ratio) * 20px);
  object-fit: contain;
}

.contactInfo .item {
  display: flex;
  margin-bottom: calc(var(--ratio) * 16px);
  padding-bottom: calc(var(--ratio) * 16px);
  border-bottom: 1px solid #eee;
}

.contactInfo .item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.contactInfo .icon {
  width: calc(var(--ratio) * 40px);
  height: calc(var(--ratio) * 40px);
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: calc(var(--ratio) * 12px);
  flex-shrink: 0;
}

.contactInfo .icon img {
  height: calc(var(--ratio) * 20px);
  object-fit: contain;
}

.contactInfo .details {
  flex: 1;
}

.contactInfo .name {
  font-size: calc(var(--ratio) * 16px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  margin-bottom: calc(var(--ratio) * 4px);
}

.contactInfo .value {
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  color: #919ca0;
}

.contactInfo .value a {
  color: #40a6bf;
  text-decoration: none;
  transition: all 0.35s;
}

.contactMap {
  width: 100%;
  height: calc(var(--ratio) * 400px);
  border-radius: calc(var(--ratio) * 16px);
  overflow: hidden;
  box-shadow: 0px 0px 10px #eee;
  margin-bottom: calc(var(--ratio) * 40px);
}

.contactMap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.faqSection {
  margin-bottom: calc(var(--ratio) * 40px);
}

.faqSection .title {
  font-size: calc(var(--ratio) * 24px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  text-align: center;
  margin-bottom: calc(var(--ratio) * 24px);
}

.faqItem {
  background: #fff;
  border-radius: calc(var(--ratio) * 16px);
  box-shadow: 0px 0px 10px #eee;
  margin-bottom: calc(var(--ratio) * 16px);
  overflow: hidden;
}

.faqQuestion {
  padding: calc(var(--ratio) * 16px) calc(var(--ratio) * 24px);
  font-size: calc(var(--ratio) * 16px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 700;
  color: #283e46;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.35s;
}

.faqQuestion:hover,
.faqSection .active .faqQuestion {
  background: #f9f9f9;
}

.faqQuestion img {
  height: calc(var(--ratio) * 16px);
  object-fit: contain;
  transition: all 0.35s;
}

.faqAnswer {
  padding: 0 calc(var(--ratio) * 24px);
  max-height: 0;
  overflow: hidden;
  transition: all 0.35s;
}

.faqItem.active .faqAnswer {
  padding: 0 calc(var(--ratio) * 24px) calc(var(--ratio) * 16px);
  max-height: 500px;
}

.faqItem.active .faqQuestion img {
  transform: rotate(180deg);
}

.faqAnswer p {
  font-size: calc(var(--ratio) * 14px);
  line-height: 133%;
  font-family: "Tajawal", sans-serif;
  font-weight: 400;
  color: #919ca0;
  margin-bottom: calc(var(--ratio) * 8px);
  margin-top: calc(var(--ratio) * 8px);
}

.faqAnswer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .contactForm,
  .contactInfo {
    width: calc(100% - var(--ratio) * 24px);
  }
}

@media (max-width: 767px) {
  .contactContent {
    width: 100%;
  }

  .contactContent > div {
    margin-right: 0;
  }

  .formGroup.half {
    width: calc(100% - var(--ratio) * 16px);
  }
}

/* Hover effects for desktop */
.desktop .contactInfo .value a:hover {
  color: #0a5163;
}

#email-field-container.error {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  display: none;
  font-size: 12px;
  margin-top: 5px;
  text-align: left;
  width: 100%;
  font-weight: bold;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield !important;
}

.formGroup.error .formControl,
.formGroup.error select {
  border: 1px solid red !important;
}

.error-message {
  color: red;
  display: none;
  font-size: 12px;
  margin-top: 5px;
  text-align: left;
  width: 100%;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield !important;
}

/* Hide Formidable default styling */
.frm_form_fields .frm_form_field {
  margin-bottom: 0 !important;
}

.frm_form_fields .frm_primary_label {
  display: none !important;
}

.frm_form_fields .frm_submit {
  display: none !important;
}

/* Style the form controls */
.formControl {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  background-color: white;
}


 .opensearch {
       
            overflow: hidden;
        }
        
        .openbtn{
                 cursor: pointer;
            direction: rtl;
            font-size: calc(var(--ratio) * 25px);
            color: #40a6bf;
            font-weight: 500;
            padding-left: calc(var(--ratio) * 7px);
            padding-right: calc(var(--ratio) * 7px);
            text-align: center;
            justify-content: center;
            display: flex;
            align-items: center;
            position: relative;
            margin-right: 15px;
        }
        
        .opensearch .searchpopup {
            transform: translateY(0);
        }
        
        .searchpopup {
            background: rgba(10,81,99,0.9);
            position: fixed;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            overflow: auto;
            -webkit-overflow-scrolling: touch;
            z-index: 4;
            transform: translateY(-100%);
            transition: all .35s;
        }
        
        .searchpopup .exit {
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            transition: all .35s;
            font-size: 44px;
            height: 55px;
            width: 55px;
            position: absolute;
            top: 33px;
            right: 33px;
            color: #fff;
        }
        
        .searchpopup .inner {
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 35px;
        }
        
        .searchpopup .holder {
            width: 100%;
            max-width: 800px;
        }
        
        .searchpopup .field {
            height: 73px;
            border-bottom: 2px solid #fff;
            padding-right: 44px;
            position: relative;
        }
        
        .searchpopup .custinput {
            border: 0;
            border-radius: 0;
            background: none;
            -webkit-appearance: none;
            -moz-appearance: none;
            -ms-appearance: none;
            -o-appearance: none;
            appearance: none;
            display: block;
            width: 100%;
            height: 100%;
            font-size: 27px;
            color: #fff;
            font-family: "Tajawal", sans-serif;
        }
        
        .searchpopup .srchbtn {
            -webkit-appearance: none;
            -moz-appearance: none;
            -ms-appearance: none;
            -o-appearance: none;
            appearance: none;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 0;
            border-radius: 0;
            background: none;
            position: absolute;
            padding-top: 2px;
            right: 0;
            top: 0;
            height: 100%;
            width: 35px;
            font-size: 25px;
            color: #fff;
            transition: all .35s;
            cursor: pointer;
        }
        
        @media (max-width:767px) {
            .searchpopup .inner {
                padding: 35px 15px;
            }
            .searchpopup .exit {
                font-size: 27px;
                height: 44px;
                width: 44px;
                right: 10px;
                top: 10px;
            }
            .searchpopup .custinput {
                font-size: 20px;
            }
            .searchpopup .field {
                height: 53px;
            }
            .searchpopup .srchbtn {
                font-size: 18px;
            }
        }
        
        
          .search .field {
            position: relative;
            transition: all 0.3s ease;
        }
        .search  .field.error .search .custinput {
            border-color: #ff3860 !important;
            box-shadow: 0 0 0 0.125em rgba(255, 56, 96, 0.25) !important;
            background-color: #fff5f5;
        }
        .search  .field.success .search .custinput {
            border-color: #23d160 !important;
            box-shadow: 0 0 0 0.125em rgba(35, 209, 96, 0.25) !important;
        }
        .search  .field.focused .search .custinput {
            border-color: #3273dc !important;
            box-shadow: 0 0 0 0.125em rgba(50, 115, 220, 0.25) !important;
        }
        .search  .error-message {
            font-family: "Tajawal", sans-serif;
            color: #ff3860;
            font-size: 0.75rem;
            margin-top: 0.25rem;
            text-align: left;
            position: absolute;
            bottom: -25px;
            left: 0;
            background: white;
            padding: 4px 8px;
            border-radius: 0px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            border: 1px solid #ff3860;
            z-index: 10;
        }
        .search  .hint-message {
            color: #7a7a7a;
            font-size: 0.75rem;
            margin-top: 0.25rem;
            text-align: left;
            position: absolute;
            bottom: -25px;
            left: 0;
            background: #f5f5f5;
            padding: 4px 8px;
            border-radius: 4px;
        }
        .search  .custinput {
            transition: all 0.3s ease;
        }