:root {
  --bs-main: #6B0000;
  --bs-dark: #210A03;
  --bs-secound: #FF5100;
  --bs-text: #f5f5f5;
}

body {
  background: var(--bs-text);
  font-family: "Cairo", sans-serif;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--bs-main);
}

.btn-primary {
  background-color: var(--bs-main);
  border: var(--bs-secound);
}

.btn-primary:hover {
  background-color: var(--bs-secound);
}

.profile-card {
  /* Style your profile card */
  width: 80vw;
  /* Example width */
  background-color: #f8f9fa;
  /* Example background */
  border-radius: 20px;
  /* Example border-radius */
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  /* Example box-shadow */
  overflow-x: hidden;
  overflow-y: auto;
}

.header {
  position: relative;
  padding: 50px;
  margin-bottom: 25px;
  background-color: var(--bs-main);
  background-image: url(../images/sp_main_bg.png);
  background-size: cover;
  -webkit-background-size: cover;
  background-attachment: scroll;
  background-position: center center;
  background-repeat: no-repeat;
}

.header .photo {
  width: 280px;
  height: 250px;
  margin-bottom: -75px;
  border: 3px solid #fff;
  background-color: #fff;
  -webkit-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .1);
  -moz-box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .1);
  box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .1);
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
  overflow: hidden;
}

.header .photo:hover {
  -webkit-transform: translateY(-9px);
  -ms-transform: translateY(-9px);
  -o-transform: translateY(-9px);
  transform: translateY(-9px);
  -webkit-box-shadow: 0 18px 24px rgba(0, 0, 0, .15);
  -moz-box-shadow: 0 18px 24px rgba(0, 0, 0, .15);
  -o-box-shadow: 0 18px 24px rgba(0, 0, 0, .15);
  box-shadow: 0 18px 24px rgba(0, 0, 0, .15);
}

.header .photo img {
  vertical-align: bottom;
  width: 100%;
  height: 100%;
  border: 0;
  -ms-interpolation-mode: bicubic;
  object-fit: cover;
  object-position: center;
}

.header .info {
  color: var(--bs-text);
  text-transform: capitalize;
  text-align: center;
  align-self: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.header .info h2 {
  font-size: 2.5rem;
  font-weight: bolder;
}

.small-caption {
  width: 80%;
  margin: 0 auto;
}

.header .info span {
  font-weight: normal;
  font-size: 1rem;
  text-align: justify;
  text-align-last: center;
  width: 100% !important;
  display: block;
}

.social-media {
  width: 50%;
}

.social-media a {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--bs-text);
  color: var(--bs-main);
  text-decoration: none;
  text-align: center;
  line-height: 40px;
  margin: 5px 10px;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.social-media a:hover {
  background-color: var(--bs-secound);
}

.about-me {
  padding-right: 50px;
  width: 100%;
}

.about-me .block-title h3 {
  font-size: 2rem;
  margin: 20px 0 15px;
  color: var(--bs-dark);
  font-weight: bold;
  line-height: 1.5em;
}

.block-title h3 span {
  font-weight: normal;
  color: var(--bs-main);
}

.about-me p {
  width: 100%;
  display: block;
  text-align: justify;
}

.info-list {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  margin: 20px 10px;
  text-align: right;
}

.info-list li a {
  color: var(--bs-secound);
  text-decoration: none;
  -webkit-transition: all .3s ease-in-out;
  -moz-transition: all .3s ease-in-out;
  -o-transition: all .3s ease-in-out;
  -ms-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.info-list li a:hover {
  color: var(--bs-main);
}

.info-list li .title {
  display: inline-block;
  min-width: 120px;
  font-weight: bolder;
  color: var(--bs-dark);
}

.info-list li .value {
  display: inline-block;
  color: var(--bs-main);
  font-weight: 600;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

span.\.work-off {
  background: #ddd !important;
  padding: 0px 10px !important;
  color: var(--bs-dark) !important;
  margin-left: 5px;
  margin-top: 5px;
  opacity: 0.5;
}

span.\.work-on {
  background: #ddd !important;
  padding: 0px 10px !important;
  color: var(--bs-dark) !important;
  margin-left: 5px;
  margin-top: 5px;
  opacity: 1;
}

.service {
  background: #ddd !important;
  padding: 0px 10px !important;
  color: var(--bs-dark) !important;
  margin-left: 5px;
  margin-top: 5px;
  opacity: 1;
}

swiper-container {
  width: 100%;
  height: 100%;
}

swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

swiper-slide {
  width: 30%;
}


@media only screen and (max-width: 1100px) {
  .header .info h2 {
    font-size: 2rem;
  }

  .social-media {
    width: 100%;
  }
}

@media only screen and (max-width: 880px) {
  .profile-card {
    width: 100vw;
    border-radius: 0;
  }

  .profile-image {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .header .info {
    margin: 110px 0 0 0;
  }

  .social-media {
    bottom: 20px;
  }

  .small-caption {
    margin: 0 0 20px 0;
  }

  .about-section {
    width: 100%;
  }

  .about-me {
    padding-left: 50px;
  }

  .info-section {
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
  }

  .info-list li {
    display: flex;
  }
}