@charset "UTF-8";

/*
Theme Name: Qabbani services
Theme URI: https://qabbani.netlify.app/
Author: Abdullah Qabbani
Author URI: https://qabbani.netlify.app/
Description: A theme of construction website in saudi arabia.
Version: v5 abraj alazel
License: GNU General Public License v4 or later
License URI: https://qabbani.netlify.app/
Text Domain: Qabbani services
(C) 2025 WordPress.org
*/

* {
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

::selection {
  color: #fff;
  background: #2c7fb6;
}

body {
  background: #fff;
  color: #333;
  font-family: "Alexandria", sans-serif, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    Arial, sans-serif;
  font-size: 16px;
  line-height: 2;
}
iframe {
  max-width: 100%;
}
a {
  color: #333;
  text-decoration: none;
}

a:active,
a:hover {
  outline-width: 0;
}

button {
  -webkit-appearance: button;
  cursor: pointer;
}

figure,
header,
footer {
  display: block;
}

.site {
  position: relative;
  word-wrap: break-word;
}

.wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 700px;
  padding: 0 10px;
}

.wrapper:before,
.gallery:before,
.gallery:after,
.clear:before,
.clear:after,
.comment-list .comment:before,
.comment-list .comment:after {
  content: "";
  display: table;
  table-layout: fixed;
}

.gallery:after,
.comment-list .comment:after,
.clear:after {
  clear: both;
}

.wrapper:after {
  clear: both;
  content: "";
  display: block;
}

/*--------------------------------------------------------------
2.0 Accessibility
--------------------------------------------------------------*/

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/*--------------------------------------------------------------
3.0 Alignments
--------------------------------------------------------------*/

.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}

.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.txtcenter {
  text-align: center;
}

.txtright {
  text-align: right;
}

.txtleft {
  text-align: left;
}

.txtjustify {
  text-align: justify;
}

.svg-xs {
  width: 1em;
}

.ml-1 {
  margin-left: 10px;
}

.svg-color {
  color: #000000;
}

.main-navigation ul,
.unstyled {
  list-style: none;
}

.list-inline li {
  display: inline-block;
}

/*--------------------------------------------------------------
4.0 header
--------------------------------------------------------------*/

.site-header {
  transition: top 300ms ease;
}

.site-header.fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;

  z-index: 9999;
  /* direction: ltr; */
  width: 100%;
  transform: translateX(0);
  border-radius: 0;
}

.site-header.fixed .logo-link {
  position: absolute;
  top: 0;
  right: -30%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.site-header.fixed .logo-link img {
  max-width: 80%;
}

.site-header.fixed .nav-bar {
  margin-top: 0;
}

.site-header .wrapper {
  padding: 0;
}

.mobile-btn {
  padding: 5px 20px;
  height: 65px;
}

.site-header .wrapper {
  padding: 0;
}

.top-bar {
  color: #ffffff;
  background-color: #000000;
}

.site-branding {
  text-align: center;
}

.logo-link,
.widget-card .img-link {
  display: inline-block;
  height: 100%;
}

.nav-bar {
  background: #fff;
  box-shadow: 0 0 9px 1px rgba(100, 100, 100, 0.3);
}

.menu-items,
.search-wrap,
.sub-menu,
.scrollUp {
  display: none;
}

.menu-toggle {
  background: transparent;
  border-radius: 20%;
  padding: 10px 12px;
  margin-top: 4px;
  position: absolute;
  left: 20px;
}

.search-toggle,
.logo-toggle {
  background: transparent;
  padding: 12px 12px;
}

.menu-items.toggled-on,
.menu-items .sub-menu.toggled-on,
.search-wrap.toggled-on {
  display: block;
}

.search-toggle {
  float: left;
}

.menu-items {
  border-top: 1px solid rgb(0, 0, 0, 0.1);
  padding-right: 10%;
}

.menu-items li {
  position: relative;
}

.menu-items > li {
  border-bottom: 1px solid rgb(0, 0, 0, 0.1);
  margin-top: 5px;
}

.menu-items > li:last-child {
  border-bottom: 0;
}

.menu-items a {
  color: #000000;
  font-weight: 600;
  white-space: nowrap;
  display: block;
  padding: 5px 0;
  text-decoration: none;
}

.menu-items li:hover > a {
  color: #205d86;
}

.icon-angle-down {
  border: solid #5f6f81;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.dropdown-toggle {
  background: 0 0;
  display: block;
  left: 0;
  padding: 9px;
  position: absolute;
  top: 0;
}

.dropdown-toggle.toggled-on .icon-angle-down {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

.menu-items .sub-menu {
  padding-right: 20px;
}

.search-wrap {
  padding: 15px;
  border-top: 1px solid #c8d7e1;
}

.search-form {
  display: flex;
  justify-content: center;
}

.search-input {
  border: 1px solid #c8d7e1;
  border-radius: 0 5px 5px 0;
  width: 80%;
  padding: 11px;
  -webkit-appearance: textfield;
}

.search-submit {
  background: #255ca2;
  border-radius: 5px 0 0 5px;
  padding: 0 10px;
}

/*--------------------------------------------------------------
4.0 footer
--------------------------------------------------------------*/

.site-footer {
  overflow: hidden;
  border-top: 1px solid #b4bac5;
  color: #d8d8d8;
  /* background-color: #e3e3e3; */
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-contact {
  padding-bottom: 22.85px;
}

.contact-block {
  width: 100%;
  text-align: right;
  margin: 13px 0;
}

.widgets-div .icon-div {
  display: inline-block;
  margin-left: 15px;
}

.widgets-div .text-div {
  display: inline-block;
  margin-left: 5px;
  line-height: 2;
  text-align: right;
}

.widgets-div .text-div span {
  color: #142752;
}

.widgets-div .text-div span + span {
  color: #142752;
}

.site-footer .block {
  margin: 15px 0;
}

.site-footer .subtitle {
  font-size: 1.6em;
  color: #142752;
  text-shadow: -0.5px -1px 0 #e7eeff, 0.5px -1px 0 #e7eeff, 1px 1px 0 #e7eeff,
    1px 1px 0 #e7eeff;
}

.site-footer a {
  color: #142752;
}
.footer-menu-items {
  margin-right: 22px;
}

.subtitle {
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-weight: 700;
  position: relative;
  margin-bottom: 33px;
  font-size: 22px;
}

.bold {
  font-family: Helvetica, Verdana, Arial, sans-serif;
  font-weight: 700;
}

.subtitle:after {
  content: "";
  background: #bb9032;
  right: 0;
  width: 80px;
  height: 2px;
  position: absolute;
  bottom: -9px;
}

.site-footer .about p {
  text-align: justify;
}

.social-follow {
  display: inline;
  margin-top: 15px;
  margin-left: 15px;
}

.social-follow li {
  margin-left: 2px;
  display: inline-block;
  width: 50px;
  height: 50px;
  font-size: 18px !important;
  line-height: 40px;
  text-align: center;
  padding: 0px 14px;
  border-radius: 50%;
  background-color: white;
}

.hcontact li {
  padding: 10px 0px;
}

.social-share .facebook {
  background-color: #2f55a4;
}

.social-share .twitter {
  background-color: #000000;
}

.social-share .youtube {
  background-color: #000000;
}
.social-share .instagram {
  background-color: #ff00b3;
}
.social-share .whatsapp {
  background-color: #08ee60;
}
.social-share .whatsapp svg {
  background-color: rgb(255, 255, 255);
}

.site-copyright {
  color: #0e153e;
  padding: 15px;
  background: #fff;
  font-weight: 800;
}

.site-copyright p {
  margin-bottom: 10px;
}

.ms-whats-button,
.ms-call-button,
.scrollUp {
  position: fixed;
  bottom: 6px;
  z-index: 9999;
  text-align: center;
  z-index: 9999;
}

.scrollUp {
  background-color: #fff;
  left: 25px;
  width: 45px;
  height: 45px;
  line-height: 55px;
  border-radius: 50%;
  bottom: 100px;
}

.scrollUp.toggled-on {
  display: block;
}

.ms-whats-button,
.ms-call-button {
  display: flex;
  outline: 0;
  cursor: pointer;
}

.ms-call-button {
  right: 6px;
  bottom: 85px;
}

.ms-whats-button {
  right: 6px;
}

.ms-call-icon {
  display: inline-block;
  position: relative;
  width: 65px;
  height: 64px;
  text-align: center;
  border-radius: 30%;
  background-color: white;
  -webkit-box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
  -moz-box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
  box-shadow: 1px 1px 6px 0px rgba(68, 68, 68, 0.705);
}

.ms-call-button .ms-call-icon {
  animation: callrotate 2s infinite ease-in-out;
}

.ms-whats-txt,
.ms-call-txt {
  padding: 0 8px 0 20px;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  background: #fff;
  color: #000;
  margin-left: -13px;
  line-height: 28px;
  border-radius: 10px;
  height: 35px;
  margin-top: 14px;
}

.ms-whats-txt {
  padding: 0 21px;
}

.ModalTrigger,
.scrollUp,
.ms-whats-txt,
.ms-call-button .ms-call-txt {
  -webkit-box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.modal-wrap {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
  padding: 30px;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: visibility 0s linear 0.1s, opacity 0.3s ease;
  background: #fff;
}

.modal-header {
  position: relative;
  margin-bottom: 15px;
  border-bottom: 1px solid #d6d6d6;
}

.modal-content {
  position: relative;
  z-index: 22;
  width: 88%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 11px;
  margin: 0 auto;
  padding: 17px 10px 10px 10px;
  background-color: #fff;
}

.date {
  margin-left: 15px;
}

.alert {
  position: relative;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.modal-content label {
  color: #232323;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 21;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 0;
  left: 10px;
  border: none;
  outline: none;
  background: none;
  font-size: 24px;
  color: #000000;
  font-weight: bold;
}

.form-title {
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 8px;
  margin-left: 28px;
}

.modal-wrap.open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.overhidden {
  overflow-y: hidden;
}

label {
  font-weight: 800;
  line-height: 2.4;
  margin-right: 10px;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
select {
  font-size: 20px;
  background: #fbfbfb;
  border: 1px solid #c8d7e1;
  border-radius: 25px;
  display: block;
  padding: 12px 30px;
  margin-bottom: 20px;
  width: 100%;
}

input[type="submit"] {
  background-color: #255ca2;
  border-radius: 25px;
  box-shadow: none;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  padding: 7px 15px;
}

@keyframes callrotate {
  0%,
  100%,
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
    transform: rotate(0) scale(1) skew(1deg);
  }
  10%,
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20%,
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    transform: rotate(25deg) scale(1) skew(1deg);
  }
}

@media only screen and (min-width: 768px) {
  .wrapper {
    max-width: 1200px;
  }
  .site-header .wrapper {
    max-width: 1300px;
  }

  .modal-content {
    width: 47%;
  }
  .contact-block {
    width: 33%;
    float: right;
  }
}
@media only screen and (max-width: 768px) {
  .hero-logo {
    margin-top: 30px;
    /* visibility: hidden; */
  }
  .img-logo {
    margin-top: -10px;
    margin-right: 10px;
  }
  .banner {
    height: 95vh;
  }
}
@media only screen and (min-width: 1024px) {
  .hero-logo {
    margin-top: 50px;
  }
  .w-hero {
    margin-bottom: 35px;
  }
  .img-logo {
    /* margin: -10px 0px; */
  }
}

@media only screen and (min-width: 1024px) {
  .wrapper {
    max-width: 1350px;
  }
  .site-header {
    position: fixed;
    top: 0;
    z-index: 9999;

    width: 100%;

    background: #fff;
    padding: 5px 30px;
    box-shadow: 0 0 10px 5px rgb(0 0 0 / 10%);
  }
  .site-branding {
    text-align: right;
  }
  .site-header.fixed .logo-link {
    position: static;
    text-align: center;
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  .site-header.fixed .logo-link img {
    max-width: 90%;
    padding-top: 5px;
  }
  .content-right {
    width: 70%;
    float: right;
  }
  .side-left {
    width: 27%;
    float: left;
  }
  .widget-card {
    width: 47.0588235294%;
  }
  .site-branding {
    width: 16%;
  }
  .site-branding {
    vertical-align: middle;
  }
  .nav-bar {
    background-color: transparent;
    width: 84%;
    box-shadow: none;
    position: relative;
  }
  .mobile-btn {
    width: 3%;
    margin-top: 7px;
  }
  .menu-toggle,
  .search-toggle,
  .logo-toggle {
    padding: 12px 0;
  }
  .mobile-btn {
    float: left;
  }
  .site-branding,
  .nav-bar,
  .site-footer .block {
    float: right;
  }
  .site-footer .block {
    margin: 15px;
  }
  .site-footer .about {
    width: 35%;
  }
  .site-branding .wrapper {
    text-align: right;
    padding: 0;
  }
  .search-wrap {
    position: absolute;
    left: 0;
    background: #fff;
    top: 64px;
    line-height: 30px;
    z-index: 9999;
    border: 1px solid #c8d7e1;
  }
  .menu-items {
    text-align: right;
    display: block;
    border: 0;
    margin-top: 10px;
  }
  .dropdown-toggle,
  .menu-toggle,
  .logo-toggle {
    display: none;
  }
  .menu-items > li {
    display: inline-block;
    border: 0;
    padding: 9px 0;
  }
  .menu-items > li > a {
    padding: 0 20px;
  }
  .menu-items li.has-child > a:after {
    content: " ";
    border: solid #343434;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    margin-right: 5px;
    position: relative;
    top: -3px;
    right: 0;
  }
  .menu-items .sub-menu {
    background: #fff;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    padding-right: 0;
    border-radius: 4px;
    -webkit-box-shadow: 0 20px 29px 0 rgba(0, 0, 0, 0.4);
    box-shadow: 0 20px 29px 0 rgba(0, 0, 0, 0.4);
    z-index: 9999;
  }
  .menu-items li.has-child:hover .sub-menu {
    display: block;
  }
  .menu-items .sub-menu a {
    padding: 3px 20px;
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 7px;
  }
  .menu-items .sub-menu li:hover {
    border-bottom: 1px solid #dad8d894;
  }
  .site-contact,
  .site-info {
    width: 36%;
  }
  .footer-pages {
    width: 19%;
  }
  .second-menu {
    width: 21%;
    padding-left: 15px;
    padding-right: 15px;
  }
  .terms {
    width: 50%;
    text-align: justify;
  }
  .site-footer .wrapper {
    padding: 30px 0;
  }
}

@media only screen and (min-width: 1480px) {
  .site-header {
    width: 100%;
  }
}
/* arabic */
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alexandria/v3/UMBXrPdDqW66y0Y2usFeaijdA4M5.woff2)
    format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1,
    U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF,
    U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EFD-10EFF,
    U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32,
    U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B,
    U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D,
    U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77,
    U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3,
    U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
/* vietnamese */
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alexandria/v3/UMBXrPdDqW66y0Y2usFeaiLdA4M5.woff2)
    format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1,
    U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329,
    U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alexandria/v3/UMBXrPdDqW66y0Y2usFeaiPdA4M5.woff2)
    format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: "Alexandria";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/alexandria/v3/UMBXrPdDqW66y0Y2usFeai3dAw.woff2)
    format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------------------------------------------------------- */
.stats-card {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #dbe3f7;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  margin: auto;
  margin-top: 80px;
  margin-bottom: 10px;
}

.stat {
  text-align: center;
  color: #333;
}

.stat .number {
  font-size: 1.5em;
  font-weight: bold;
  color: #bb9032;
}
.number:hover {
  color: #000000;
}

.stat .description {
  font-size: 1em;
  margin-top: 5px;
}

/* ----------------- */
.Qab-container {
  background-color: #dbe3f7;
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.Qab-head {
  flex-direction: column;
  text-align: center;
}
.Qab-head h2 {
  font-size: 1.8em;
  margin-bottom: 40px;
  color: #000000;
  text-shadow: -0.5px -1px 0 #e7eeff, 0.5px -1px 0 #e7eeff, 1px 1px 0 #e7eeff,
    1px 1px 0 #e7eeff;
}
@media (max-width: 768) {
  .Qab-head h2 {
    font-size: 1.5em;
  }
}

/* تنسيق الفقرات */
.Qab-head p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}
/* تنسيق الأقسام */
.Qab-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 0 30px;
  margin-bottom: 40px;
}

/* تنسيق الصور داخل الأقسام */
.Qab-section img {
  max-width: 50%;
  height: auto;
  flex: 1 1 40%;
}

/* تنسيق النصوص داخل الأقسام */
.Qab-text {
  flex: 1 1 50%;
  padding: 20px;
}

/* تنسيق العناوين */
.Qab-text h2 {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #333;
}

/* تنسيق الفقرات */
.Qab-text p {
  font-size: 1em;
  line-height: 1.6;
  color: #555;
}
.cards {
  display: flex;
  justify-content: space-evenly;
}
@media (min-width: 1024px) {
  .custom-margin {
    margin: 0 100px;
  }
  .sc-displaly {
    display: none;
  }
}

.h1-hero {
  color: #bb9032;
  font-size: 32px;
  text-align: center;
  margin: 15px 0px;
  text-shadow: -0.5px -1px 0 #000, 0.5px -1px 0 #e7eeff, 1px 1px 0 #ffffff,
    1px 1px 0 #000;
}
/* استجابة التصميم للأجهزة الصغيرة */
@media (max-width: 768px) {
  .Qab-section {
    flex-direction: column;
    text-align: center;
  }
  .stats-card {
    margin-bottom: 60px;
  }
  .Qab-text {
    padding: 10px;
  }
  .Qab-section img {
    max-width: 100%;
  }
  .cards {
    display: block;
    margin-right: 5%;
  }
  .dir2 {
    direction: ltr;
  }
  .mob-none {
    display: none;
  }
  .align-info {
    text-align: center;
  }
  .subtitle::after {
    margin: 0 40%;
  }
  .h1-hero {
    font-size: 32px;
  }
}

/* --------------------------------- */
.section-title2 {
  font-size: 1.5em;
  color: #000000;
  margin-bottom: 19px;
  display: inline-block;
  padding: 0 20px;

  text-shadow: -0.5px -1px 0 #e7eeff, 0.5px -1px 0 #e7eeff, 1px 1px 0 #e7eeff,
    1px 1px 0 #e7eeff;
}

/* ------------------------------------------------------ */
/* slider  */
/* ------------------------------------------------------ */

.boody {
  /* background-color: #dbe3f7; */
  height: 400px;
  margin: 0;
  display: grid;
  grid-template-rows: 270px 150px;
  grid-template-columns: 1fr 30px 30px 30px 30px 30px 1fr;
  align-items: center;
  justify-items: center;
  font-family: "Poppins", sans-serif;
}

.occupation {
  font-style: italic;
  margin-top: 2px;
}

main#carousel {
  grid-row: 1 / 2;
  grid-column: 1 / 8;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;

  justify-content: center;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 500px;
  --items: 5;
  --middle: 3;
  --position: 1;
  pointer-events: none;
}

div.item {
  text-align: center;
  padding: 5px;
  border: 1px solid #000000;
  border-radius: 20px;
  position: absolute;
  width: 300px;
  height: 200px;
  background-color: #ffffff;
  --r: calc(var(--position) - var(--offset));
  --abs: max(calc(var(--r) * -1), var(--r));
  transition: all 0.25s linear;
  transform: rotateY(calc(-10deg * var(--r)))
    translateX(calc(-300px * var(--r)));
  z-index: calc((var(--position) - var(--abs)));
}
@media (min-width: 1024px) {
  div.item {
    width: 500px;
    height: 350px;
  }
  .boody {
    background-color: transparent;
    margin-top: 100px;
    margin-bottom: 100px;
  }
}

@media (max-width: 768px) {
  div.item {
    margin-top: 50px;
    height: 250px;
  }
  .boody {
    grid-template-rows: 270px 100px;
    height: 350px;
    margin-bottom: 50px;
  }
  .stats-card {
    margin-top: 50px;
  }
}
.item img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

div.item:nth-of-type(1) {
  --offset: 1;
}
div.item:nth-of-type(2) {
  --offset: 2;
}
div.item:nth-of-type(3) {
  --offset: 3;
}
div.item:nth-of-type(4) {
  --offset: 4;
}
div.item:nth-of-type(5) {
  --offset: 5;
}

input:nth-of-type(1) {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}

input:nth-of-type(1):checked ~ main#carousel {
  --position: 5;
}

input:nth-of-type(2) {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
}
input:nth-of-type(2):checked ~ main#carousel {
  --position: 4;
}

input:nth-of-type(3) {
  grid-column: 4 /5;
  grid-row: 2 / 3;
}
input:nth-of-type(3):checked ~ main#carousel {
  --position: 3;
}

input:nth-of-type(4) {
  grid-column: 5 / 6;
  grid-row: 2 / 3;
}
input:nth-of-type(4):checked ~ main#carousel {
  --position: 2;
}

input:nth-of-type(5) {
  grid-column: 6 / 7;
  grid-row: 2 / 3;
}
input:nth-of-type(5):checked ~ main#carousel {
  --position: 1;
}

/*--------------------------------------------------------------
# Our Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
  box-shadow: 0 4px 16px rgba(233, 230, 230, 0.2);
}

.container {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 90%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  .kt-row-layout-bottom-sep {
    display: none;
  }
  .v4_hero__google {
    display: none;
  }
}
@media (max-width: 768px) {
  .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}
.gy-5 {
  --bs-gutter-y: 3rem;
}
.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-0.5 * var(--bs-gutter-x));
  margin-left: calc(-0.5 * var(--bs-gutter-x));
}

*,
::after,
::before {
  box-sizing: border-box;
}

.team .member .member-img {
  display: flex;
  justify-content: center;
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  transition: all 0.3s;
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 60px;
  }
}

.team .member .member-img img {
  position: relative;
  z-index: 1;
}
/* @media (max-width: 768px) {
  .team .member .member-img img {
    max-width: 240px;
  }
} */
.team .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.team .member .member-img .social a {
  transition: 0.3s;
  color: #fff;
  font-size: 20px;
  margin: 0 8px;
}

.team .member .member-img .social a:hover {
  color: var(--color-primary);
}
.team .member:hover .member-img {
  transform: scale(1.1);
}

.team .member .member-info {
  margin-top: 30px;
  text-align: center;
}

.team .member .member-info p {
  color: #bb9032;
}
.team .member .member-info h3 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
  color: #000000;
}

.team .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: #838893;
  margin-bottom: 10px;
}

.team .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.team .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}
/* --------- */

.kt-row-layout-bottom-sep {
  position: absolute;
  height: 100px;
  bottom: -1px;
  left: 0;
  overflow: hidden;
  right: 0;
  z-index: 1;
}

.kt-row-layout-bottom-sep svg {
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 100.2%;
  height: 100%;
  display: block;
}
