html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
iframe,
video {
  max-width: 100%;
}

.container,
.container-fluid {
  width: min(100%, 1400px);
}

.fixed-top {
  z-index: 1030;
}

.fixed-top header#navbar {
  position: relative;
  z-index: 1031;
}

.fixed-top .navbar > .container {
  min-height: 82px;
  gap: 12px;
}

.nav-links ul {
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-bottom: 0;
  padding-right: 0;
}

.nav-links ul li {
  margin-left: 0 !important;
}

.nav-links ul li a {
  display: block;
  white-space: nowrap;
  padding: 8px 6px !important;
}

.logo-img {
  max-width: 180px;
}

.sidebar {
  z-index: 1040;
  overflow-y: auto;
}

.box-shadow,
.blog-card,
.seo-page section {
  overflow: hidden;
}

.box-shadow img,
.blog-card img,
.seo-hero img,
.blog-page img,
.www-100,
.service-card img {
  object-fit: cover;
}

.img-div {
  min-height: 520px;
  display: flex;
  align-items: end;
}

.img-text {
  width: 100%;
}

.center_div {
  min-height: 360px;
  height: auto !important;
  padding: 48px 16px;
}

.center_div p {
  max-width: 720px;
}

.element-img {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-section .row {
  row-gap: 24px;
}

@media (max-width: 1199px) {
  .fixed-top .navbar > .container {
    max-width: 100%;
  }

  .logo-img {
    max-width: 155px;
  }

  .nav-links ul li a {
    font-size: 14px;
  }
}

@media (max-width: 991.98px) {
  .fixed-top .navbar > .container {
    display: grid !important;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    min-height: 76px;
    grid-auto-flow: column;
  }

  .mobile-menu-icon {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 28px !important;
    line-height: 1;
  }

  .logo {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    justify-self: center;
  }

  .logo-img {
    height: 58px !important;
    max-width: 150px;
  }

  .fixed-top .navbar > .container > div[style*="position: relative"] {
    display: none !important;
  }

  .btnnav {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    width: auto;
    min-width: 86px;
    padding: 8px 10px !important;
    font-size: 12px !important;
    text-align: center;
    white-space: nowrap;
  }

  .sidebar {
    top: 0 !important;
    left: -86vw;
    width: min(86vw, 320px) !important;
    padding-top: 58px !important;
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.22);
  }

  .sidebar ul li a {
    font-size: 16px;
    padding: 13px 18px !important;
  }

  .close-btn {
    color: #123670 !important;
    font-size: 24px !important;
  }

  .top_navber .container {
    justify-content: center !important;
  }

  .center-text h6 {
    margin: 0;
    padding: 6px 0;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  [style*="margin-top:150px"],
  [style*="margin-top: 150px"],
  [style*="margin-top:130px"],
  [style*="margin-top: 130px"] {
    margin-top: 112px !important;
  }

  [style*="margin-top:100px"],
  [style*="margin-top: 100px"] {
    margin-top: 98px !important;
  }

  .container,
  .container-fluid,
  .blog-list,
  .blog-page,
  .seo-page {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .row {
    --bs-gutter-x: 1rem;
  }

  h1,
  .seo-page h1,
  .blog-list h1,
  .blog-page h1 {
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.35;
  }

  h2 {
    font-size: clamp(21px, 6vw, 26px) !important;
    line-height: 1.4;
  }

  h3,
  h4 {
    line-height: 1.45;
  }

  p,
  li {
    font-size: 15px !important;
    line-height: 1.85 !important;
  }

  .img-div {
    min-height: 420px;
    border-radius: 0 !important;
    margin-left: -14px;
    margin-right: -14px;
    padding: 0 14px 28px;
  }

  .tttt {
    margin: 0 0 16px !important;
    display: block !important;
    text-align: right;
  }

  .tttt h1 {
    text-wrap: balance;
  }

  .img-div2 {
    width: min(100%, 340px) !important;
    margin: 0 !important;
    padding: 10px 12px !important;
  }

  .phone-call {
    justify-content: center !important;
    flex-wrap: wrap;
    text-align: center;
  }

  .row-top,
  .row-img-bottom,
  .google-img,
  .location {
    margin-left: -4px;
    margin-right: -4px;
  }

  .img-2 {
    width: 100% !important;
    height: auto !important;
    margin-top: 0 !important;
  }

  .img-2 img,
  img[style*="height: 500px"],
  img[style*="height:500px"],
  img[style*="height:300px"],
  img[style*="height: 300px"] {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }

  .phone-number-overlay {
    bottom: 42px !important;
    font-size: 18px !important;
    max-width: calc(100% - 24px);
    text-align: center;
    overflow-wrap: anywhere;
  }

  .img-center-text {
    height: auto !important;
    min-height: 150px;
    padding: 34px 18px !important;
  }

  .center_div {
    min-height: auto;
    padding: 38px 14px;
  }

  .center_div p,
  .center_div .w-50 {
    width: 100% !important;
  }

  .background-22 {
    width: min(100%, 330px) !important;
  }

  .element-img h4 {
    padding: 34px 16px !important;
  }

  .seo-page,
  .blog-list,
  .blog-page {
    margin-top: 112px !important;
    margin-bottom: 28px !important;
  }

  .seo-hero {
    gap: 16px !important;
  }

  .seo-links {
    display: grid;
    gap: 10px;
  }

  .seo-links a {
    margin-left: 0 !important;
  }

  .box-shadow {
    margin: 10px 0 !important;
  }

  .blog-grid {
    gap: 14px !important;
  }

  .blog-card div {
    padding: 12px !important;
  }

  .blog-card img {
    height: 175px !important;
  }

  .page3 .p-5,
  .arabic_language.p-5,
  .arabic-language.p-5,
  .col-md-6.p-5 {
    padding: 18px !important;
  }

  .www-100 {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
  }

  iframe {
    height: 320px !important;
  }

  .my-button,
  .my-button2 {
    width: 46px !important;
    height: 46px !important;
    font-size: 25px !important;
    bottom: 18px !important;
    z-index: 1025 !important;
  }

  .my-button {
    right: 14px !important;
  }

  .my-button2 {
    left: 14px !important;
  }

  .footer-section .blue {
    padding: 28px 12px !important;
  }

  .footer-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .footer-center,
  .footer-section .arabic-language {
    text-align: center !important;
  }

  .footer-section .div2 {
    line-height: 1.5 !important;
  }
}

@media (max-width: 420px) {
  .fixed-top .navbar > .container {
    grid-template-columns: 40px 1fr 78px;
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .logo-img {
    height: 52px !important;
    max-width: 128px;
  }

  .btnnav {
    min-width: 76px;
    padding: 7px 8px !important;
    font-size: 11px !important;
  }

  .img-div {
    min-height: 360px;
  }

  .img-div2 {
    font-size: 13px;
  }
}
