:root {
  --main-color: #1c1c1c;
  --bg-color: #f8f9fa;
  --secondary-font-color: #748182;
  --bs-carousel-indicator-active-bg: #869791;
  --bg-card: #5b5b5b;
  --bs-tertiary-form: #F4F4F4;
}

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

.bg-social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 14px;
  margin: 0 5px;
  background: rgba(0, 0, 0, 0.3);
}

.bg-icon-w {
  width: 35px;
  height: 35px;
}

img {
  max-width: 100%;
}

.progress,
.progress-stacked {
  --bs-progress-bar-bg: var(--main-color);
  --bs-progress-height: 1.5rem;
}

body {
  font-family: "Poppins", sans-serif;
}

.py-100 {
  padding-top: 100px;
  padding-bottom: 100px;
}

.mb-6 {
  margin-bottom: 5rem;
}

p {
  line-height: 1.6;
  margin: 0;
  font-size: 15px;
  color: #748182;
}

.fs-head-sec {
  font-size: 2.5rem;
}

.fs-7 {
  font-size: 0.9rem;
}

.max-900 {
  max-width: 900px;
}

.shadow-inset {
  box-shadow: 0 1px 15px rgba(0, 0, 0, 0.05) inset;
}

.fw-most-bolder {
  font-weight: 900;
}

span {
  display: inline-block;
}

.bg-main-color {
  background-color: var(--main-color);
}

.main-font-color {
  color: var(--main-color);
}

.sec-font-color {
  color: var(--secondary-font-color);
}

.bg-dark-gray {
  background-color: var(--bg-card);
}

.btn {
  --bs-btn-padding-x: 2rem;
  --bs-btn-padding-y: 0.5rem;
  --bs-btn-font-size: 0.9rem;
}

.btn-dark-light {
  --bs-btn-bg: var(--main-color);
  --bs-btn-hover-bg: transparent;
  --bs-btn-hover-color: var(--main-color);
  --bs-btn-border-color: var(--main-color);
  --bs-btn-hover-border-color: var(--main-color);
  --bs-btn-active-color: var(--main-color);
  --bs-btn-active-bg: transparent;
}

.btn-light-dark {
  --bs-btn-bg: transparent;
  --bs-btn-hover-bg: var(--main-color);
  --bs-btn-color: var(--main-color);
  --bs-btn-hover-color: #fff;
  --bs-btn-border-color: var(--main-color);
  --bs-btn-hover-border-color: var(--main-color);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--main-color);
}

.section-head h3 {
  position: relative;
  display: inline-block;
  z-index: 4;
}

.section-head h3::after {
  content: "";
  background-image: url("../imgs/dots.png");
  background-repeat: repeat;
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -1;
}

.inner i {
  transition: all 0.3s ease;
  background-color: var(--bg-color);
}

.services .card:hover i {
  background-color: var(--main-color);
  color: #fff;
}

/*************************** Start Navbar Section ***************************/

a.nav-link {
  position: relative;
}

a.nav-link::after {
  content: "";
  position: absolute;
  height: 2px;
  background-color: #000;
  left: 10%;
  bottom: 0;
  width: 0;
  transition: width 0.3s ease-in-out;
}

a.nav-link.active::after {
  width: 80%;
}

/*************************** Start Header Section ***************************/
.header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../imgs/bg.jpg");
  background-size: cover;
  background-position: center;
}

.header h5 {
  font-size: 50px;
  font-weight: 800;
  margin-bottom: 10px;
}

.header h1 {
  font-weight: 200;
  padding: 0.5rem 0;
  font-size: 4rem;
  line-height: 1.2;
}

/*************************** Start About Section ***************************/
.about .img-side .inner {
  position: relative;
  padding: 0 0 0 30px;
}

.about .img-side .inner::after {
  content: "";
  background-image: url("../imgs/dots.png");
  position: absolute;
  width: 80%;
  height: 80%;
  left: 0;
  bottom: -30px;
  background-repeat: repeat;
  z-index: -1;
}

.progress {
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.15) inset;
}

.about .sup-title {
  letter-spacing: 2px;
  margin-bottom: 20px;
}

/*************************** Start Services Section ***************************/
.item {
  border: none;
  box-shadow: 0px 10px 30px -8px rgba(0, 0, 0, 0.1);
}

.section-head h3::after {
  content: "";
  background-image: url("../imgs/dots.png");
  background-repeat: repeat;
  width: 100%;
  height: 30px;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -1;
}

/*************************** Start Portfolio Section ***************************/

.nav-item {
  margin: 0 15px;
  font-weight: 700;
  position: relative;
}

.nav-item button {
  color: var(--main-color);
}

.nav-item button:hover {
  color: var(--main-color);
}

.nav-pills {
  --bs-nav-pills-border-radius: var(--bs-border-radius);
  --bs-nav-pills-link-active-color: var(--main-color);
  --bs-nav-pills-link-active-bg: transparent;
}

/* Start Work Section */
.work .fig-caption {
  position: absolute;
  top: 120%;
  right: 0;
  bottom: 0;
  left: 0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.work .fig::before {
  content: "";
  position: absolute;
  inset: 5px;
  background-color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  transition: all 0.3s ease;
}

.work .fig:hover::before {
  opacity: 1;
}

.work .fig:hover .fig-caption {
  top: 0;
}

.work .item-img h6 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--main-color);
}

.overlay-info .icon a i {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 28px;
    border-radius: 50%;
    border: 1px solid var(--main-color);
    background: var(--main-color);
    color: #eee;
}

.overlay-info .icon a i:hover {
    background: #fff;
    color: var(--main-color);
} 

.work li button:before {
    content: "";
    width: 0;
    height: 2px;
    background: #111;
    position: absolute;
    left: 0;
    bottom: -5px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: -1;
}

.work li .active:before {
    width: 95%;
}



/*************************** Start Testimonials Section ***************************/
.testimonials img.rounded-circle {
  width: 90px;
  height: 90px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/*************************** Start Counter Section ***************************/
.counter-icon {
  font-size: 30px;
  margin-bottom: 15px;
}

/*************************** Start Team Section ***************************/

.card-style .inner {
  overflow: hidden;
  position: relative;
}

.card-style .inner:hover .img-card {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.img-card {
  object-fit: cover;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.card-style .inner .social {
  background-color: rgba(255, 255, 255, 0.95);
  position: absolute;
  text-align: center;
  inset: 5px;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  transform: rotateY(180deg) scale(0.5, 0.5);
}

.card-style .inner .social ul {
  position: relative;
  display: flex;
  top: 80px;
}

.card-style:hover .social {
  cursor: pointer;
  opacity: 1;
  transform: rotateY(0deg) scale(1, 1);
}

.card-style .inner i {
  transition: all 0.3s ease;
  background-color: transparent;
}

.list-inline li:hover {
  background-color: var(--bg-color);
  border: var(--main-color) solid 1px;
  transition: all 0.3s ease;
}

.list-inline li:hover i {
  color: var(--main-color);
}

/*************************** Start Team Section ***************************/

form input, form textarea {
    background-color: var(--bs-tertiary-form);
}


/*************************** Start Footer Section ***************************/
.footer {
    background-color: #1C1C1C;
    padding: 30px;
}

footer p {
    font-size: 13px;
    word-spacing: 2px;
}


#element {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}
