@font-face {
  font-family: main;
  src: url("../fonts/alfont_com_URWGeometricArabic-Regular.ttf");
}

@font-face {
  font-family: font-bold;
  src: url("../fonts/alfont_com_URWGeometricArabic-Bold.ttf");
}

@font-face {
  font-family: font-semi-bold;
  src: url("../fonts/alfont_com_URWGeometricArabic-SemiBold.ttf");
}

@font-face {
  font-family: font-extra-bold;
  src: url("../fonts/alfont_com_URWGeometricArabic-ExtraBold.ttf");
}

@font-face {
  font-family: font-heavy;
  src: url("../fonts/alfont_com_URWGeometricArabic-Heavy.ttf");
}

@font-face {
  font-family: font-medium;
  src: url("../fonts/alfont_com_URWGeometricArabic-Medium.ttf");
}

body {
  background-color: #000;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

.navbar {
  /* height: 125px; */
  opacity: 0.9;
  background-color: #000 !important;
  padding: 8px;
  /* padding-right: 72px;
  padding-left: 72px; */
}

@media(min-width:767px) {
  .navbar {
    /* height: 125px; */
    opacity: 0.9;
  }
}

.navbar:hover {
  color: #B99748;

}

.safa-logo {
  /* width: 211.57px;
  min-height: 63px; */
}

.nav-contact {
  /* width: 286px; */
  object-fit: contain;
  min-height: 27px;
}

.nav-links {
  /* display: flex; */
  /* gap: 36px !important; */
  list-style: none !important;
}

.nav-link {
  font-family: main;
  font-size: 20px;
  font-weight: 400;
  line-height: 30.48px;
  height: 30px;
  /* text-align: left; */
  color: #ffffff;
}

.bi-list {
  color: #A27C33;
  font-size: 25px;
}

.body-img {
  min-height: 1440px;
  width: 100%;
}

.body-section {
  background-image: url("../img/slider/Frame\ \(1\).png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 90vh;
  display: flex;
  justify-content: end;
  margin-bottom: 16px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 0px;
}

@media(max-width:767px) {
  .divider {
    width: 50%;
  }
}

.about {
  background-image: url("../img/slider/Group\ 274.png");
  /* background-size: cover; */
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
  align-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-bottom: 0px;
}

.about-card {
  width: 1096px;
  min-height: 384px;
  border: 1px solid;

  border-color: #A27C33;
  border-radius: 15px;
  padding: 0px, 40px, 24px, 40px !important;
}

.body-section h2 {
  z-index: 2;
  margin: 0;
  padding: 20px;
  text-align: center;
  color: #ffffff !important;
  font-family: main;
}

.img-title {
  background: linear-gradient(180deg,
      #B99748 0%,
      rgba(214, 185, 101, 1) 50%,
      #B99748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  font-size: 64px;
  font-weight: 400;
  font-family: font-extra-bold !important;
}

.img-title-details {
  color: #fff;
  font-size: 64px;
  font-weight: 400;
  font-family: font-medium;
}

.services {
  background-image: url("../img/cards/Frame\ \(2\).png");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
  align-items: center;
  padding-top: 32px;
  padding-bottom: 170px !important;
  position: relative;
}

.service-img {
  position: absolute;
  top: 0px;
  left: -250px;
}

/* .card-style {
  max-width: 450px;
  height: 240px;
  padding: 24px 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  color: #ffff;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  font-family: main;
} */

.services-title {
  font-weight: 400;
  font-family: font-extra-bold !important;
  font-size: 64px !important;
  margin-bottom: 32px;
  background: linear-gradient(90deg,
      #B99748 0%,
      rgba(214, 185, 101, 1) 50%,
      #B99748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  align-items: center;
  font-weight: 400;
  font-family: font-extra-bold;
}

.about-title {
  font-weight: 400;
  font-family: font-bold !important;
  font-size: 40px !important;
  background: linear-gradient(90deg,
      #B99748 0%,
      rgba(214, 185, 101, 1) 50%,
      #B99748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  align-items: center;
  font-weight: 400;
  font-family: font-extra-bold;
}

.card-style {
  max-width: 300px;
  min-height: 240px;
  padding: 24px 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(125.96deg, rgba(0, 0, 0, 0.3) 27.5%, rgba(142, 142, 142, 0.1563) 89.54%, rgba(255, 255, 255, 0.0423001) 138.1%, rgba(0, 0, 0, 0) 157.01%);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  color: #fff;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-family: main;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease,
    border-color 0.3s ease, color 0.3s ease;
}



.card-style:hover * {
  color: #B99748;
}

.card-style:hover svg path {
  fill: #B99748;
}


.card-style:hover * {
  color: #B99748;
}

.about-body {
  font-family: URWGeometricArabic-Regular;
  font-size: 18px !important;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
  font-family: main;
  line-height: 24px;
}

.rrr {
  font-family: font-bold !important;
}

.footer {
  width: 100%;
  min-height: 400px !important;
  background-color: rgba(0, 0, 0, 0.9);
}

.footer-body {
  /* margin-right: 4rem !important; */
}

.footer-header {
  /* margin-right: 7rem !important;
  margin-left: 7rem !important; */
}

.vertical-line {
  width: 80%;
  color: #B99748;
  text-align: center;
  align-items: center;
}

.body-vertical-line hr {
  width: 738px;
  text-align: center;
  align-items: center;
  border: none;
  height: 1px;
  background: linear-gradient(75.56deg, #A27C33 -153.8%, #D6B965 42.41%, #A27C33 99.63%);
  opacity: 1;
}

.footer-vertical-line hr {
  width: 100%;
  text-align: center;
  align-items: center;
  border: none;
  height: 1px;
  background: linear-gradient(75.56deg, #A27C33 -153.8%, #D6B965 42.41%, #A27C33 99.63%);
  opacity: 1;
}

.footer-title {
  font-size: 40px !important;
  font-family: font-extra-bold;
  font-weight: 400;
  background: linear-gradient(90deg,
      #B99748 0%,
      rgba(214, 185, 101, 1) 50%,
      #B99748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  align-items: center;
}

.footer-body-title {
  font-family: font-bold;
  font-weight: 400;
  font-size: 32px;
  color: rgba(255, 255, 255, 1);
}

.footer-text {
  font-family: font-bold;
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
}

.card-title {
  font-family: font-bold;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  text-align: center;
}

@media (max-width: 768px) {
  /* .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  } */

  .nav-links {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .nav-link {
    font-size: 18px;
  }

  .safa-logo {
    /* width: 150px; */
    height: 40px !important;
    width: 100%;
    object-fit: contain;
  }

  .nav-contact {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .nav-item {
    width: 100%;
    text-align: right;
  }
}

@media (max-width: 768px) {

  .body-section,
  .about {
    height: auto;
    margin-bottom: 0px;
  }

  .img-title {
    font-size: 32px;
  }

  .img-title-details {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .services-title {
    font-size: 28px;
    text-align: center;
  }

  .card-style {
    max-width: 100%;
    height: auto;
    padding: 16px;
  }
}

@media (max-width: 768px) {
  .footer-body {
    margin-right: 0;
    text-align: center;
  }

  .footer-title {
    font-size: 28px;
  }

  .footer-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .about {
    height: auto;
    padding: 20px;
    margin-bottom: 20px;
  }

  .about-card {
    width: 100%;
    height: auto;
    padding: 16px;
    margin-bottom: 16px;
    border-radius: 10px;
  }

  .about-card-title {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    padding: 10px;
  }

  .about-body {
    padding: 16px;
    text-align: center;
    line-height: 1.5;
    font-size: 16px;
  }

  .about-body p {
    margin-bottom: 12px;
  }

  .services-title {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .about {
    padding: 10px;
  }

  .about-card {
    padding: 12px;
  }

  .about-card-title {
    padding: 8px;
  }

  .services-title {
    font-size: 24px;
  }
}

.services {
  background-image: url("../img/cards/Frame (2).png");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-img {
  position: absolute;
  top: 0;
  left: -250px;
  max-width: 100%;
}

.services-title {
  font-weight: 400;
  font-family: font-extra-bold !important;
  font-size: 3.5rem;
  margin-bottom: 32px;
  background: linear-gradient(90deg,
      #B99748 0%,
      rgba(214, 185, 101, 1) 50%,
      #B99748 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  text-align: center;
}

.services-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 8px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.card-style {
  width: 300px;
  min-height: 240px;
  padding: 24px 20px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(125.96deg, rgba(0, 0, 0, 0.589) 45.5%, rgba(142, 142, 142, 0.055) 89.54%, rgba(255, 255, 255, 0.0423001) 138.1%, rgba(0, 0, 0, 0) 157.01%);
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-family: main;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: center;
}

.card-style img {
  margin-bottom: 16px;
}

.card-style:hover {
  /* transform: scale(1.05); */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  background: #000000B5;
  color: #B99748;
  border-color: #B99748;
}

.card-title {
  margin: 0;
  width: 218px;
  color: #fff;
  font-size: 1.1rem;
}

.safa-logo,
.nav-contact,
.about-card,
.card-style,
.footer,
.footer-body,
.footer-title,
.footer-text {
  max-width: 100%;
  box-sizing: border-box;
}
.copy-right 
{
  text-align: center;
}
.copy-right p {
  color: #B99748;

}
.copy-right p a{
  color: #B99748;

}
@media(min-width:767px) {
  .small-hot {
    display: none;
  }
}

@media(max-width:767px) {
  .hott {
    display: none;
  }
}

@media screen and (max-width: 768px) {
  .services-title {
    font-size: 2.5rem;
  }

  .card-style {
    max-width: 100%;
    margin: 0 auto;
  }

  .services-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
  }
}

@media (max-width: 992px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
  }

  .card-style {
    max-width: 100%;
    height: auto;
    padding: 16px;
  }

  .footer {
    position: relative;
  }

  .footer-body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    position: absolute;
    left: 0;
  }
}
