* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --main_font: "Montserrat", sans-serif;
}

#font_DANIELS {
  font-size: 18px;
  font-weight: 800;
  line-height: 60px;
  font-family: var(--main_font);
}

#all {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: rgb(17, 17, 17);
  font-family: var(--main_font);
}

.firs_img {
  background-image: url(../img/bg.jpg);
  height: 100vh;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  color: white;
  text-align: center;
  z-index: 1;
}

.firs_img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

.icon i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background-color: rgba(0, 0, 0, 0.538);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  margin-right: 7px;
}

.firs_img h2 {
  font-size: 50px;
  font-weight: 800;
  line-height: 55px;
  font-family: var(--main_font);
}

.paragraph {
  font-size: 60px;
  font-weight: 200;
  line-height: 72px;
  font-family: var(--main_font);
}

.js_paragraph {
  font-size: 60px;
  font-weight: 400;
  line-height: 72px;
  font-family: var(--main_font);
}

#fon_tsec_about h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 33px;
  font-family: var(--main_font);
  color: rgb(52, 52, 52);
}

#fon_tsec_about #p1_fon_tsec_about {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  font-family: var(--main_font);
  color: rgb(153, 153, 153);
}

#fon_tsec_about #p2_fon_tsec_about {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  font-family: var(--main_font);
  color: rgb(116, 129, 130);
}

#fon_tsec_about #p2_fon_tsec_about span {
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  font-family: var(--main_font);
  color: rgb(116, 129, 130);
}

.progress {
  height: 30px;
  background-color: #e9ecef;
  border-radius: 10px;
  margin-bottom: 20px;
}
.progress-bar {
  background-color: #1c1c1c;
  text-align: left;
  padding-left: 10px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 10px;
  border-radius: 10px;
}

.button-container {
  display: flex;
  gap: 8px;
}

.download-cv-button,
.contact-me-button {
  display: inline-block;
  padding: 10px 20px;
  text-decoration: none;
  color: white;
  border-radius: 5px;
  transition: background-color 0.5s ease;
  font-size: 13px;
  font-weight: 400;
  line-height: 19px;
}

.download-cv-button {
  background-color: #000000;
  border: 1px solid #000000;
}

.download-cv-button:hover {
  background-color: white;
  color: #343a40;
}
.contact-me-button {
  background-color: white;
  color: #343a40;
  border: 1px solid #000000;
}

.contact-me-button:hover {
  background-color: #000000;
  color: white;
}

#card_1 i {
  font-size: 30px;
}

#About .container-lg .col-md-5 .inner::after {
  content: "";
  width: 70%;
  height: 80%;
  position: absolute;
  left: -20px;
  bottom: -30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  z-index: -1;
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(128, 128, 128, 0.086);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  color: #000000;
  font-size: 20px;
}

.service-box:hover .icon-circle {
  background-color: #000;
  transform: scale(1.05);
  color: #fff;
}

/* ansfkbaKgbvK:ASdg */
#h5_fonts {
  font-family: 2px;
  font-weight: 800;
  line-height: 20px;
  font-family: var(--main_font);
}

#font_card p {
  font-family: 14px;
  font-weight: 400;
  line-height: 22px;
  font-family: var(--main_font);
  color: rgb(116, 129, 130);
}

#h2_point {
  font-weight: 900;
  font-size: 40px;
  line-height: 44px;
  font-family: var(--main_font);
  color: rgb(52, 52, 52);
}

.hover-card-container {
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.hover-card-container:hover {
  border: 2px solid #bfbfbf;
}

.hover-card-container img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hover-card-container:hover img {
  opacity: 0.6;
}

.content {
  background-color: rgba(255, 255, 255, 0.708);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.hover-card-container:hover .content {
  opacity: 1;
}

.icon_in_card > i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background-color: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.815);
  border-radius: 50%;
  font-size: 14px;
  margin-right: 7px;
  transition: all 0.3s ease;
}

.icon_in_card > i:hover {
  background-color: rgba(255, 255, 255, 0.776);
  color: black;
  transform: scale(1.1);
}

.nav-pills .nav-link {
  border-radius: 0;
  font-weight: 600;
  color: #000;
  position: relative;
  background-color: transparent !important;
  transition: all 0.3s ease;
}

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

.nav-pills .nav-link.active::after {
  width: 100%;
}

.nav-pills .nav-link.active {
  background-color: transparent !important;
  color: #000 !important;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px;
  z-index: 1000;
}
.nav-link {
  text-decoration: none;
  color: black;
  position: relative;
  font-weight: bold;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: black;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background-color: black;
  transition: width 0.3s ease;
}

.nav-link.active::after {
  width: 100%;
}
#width_img {
  width: 90px;
}

.carousel-indicators .active {
  background-color: #000 !important;
}

.carousel-indicators button {
  background-color: #00000025 !important;
}

#chang_P_1 {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  font-family: var(--main_font);
  color: rgb(116, 129, 130);
}

#chang_h6 {
  font-size: 12px;
  font-weight: 600;
  line-height: 17px;
  font-family: var(--main_font);
  color: rgb(52, 52, 52);
}

#chang_P_2 {
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
  font-family: var(--main_font);
  color: rgb(116, 129, 130);
}

#iconfonts {
  font-size: 40px;
}

#h4_number {
  font-size: 30px;
  font-weight: 900;
  line-height: 33px;
  color: rgb(52, 52, 52);
}

#paragraph_hapy {
  font-size: 15px;
  font-weight: 600;
  line-height: 24px;
  color: rgb(116, 129, 130);
  font-family: var(--main_font);
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 50px;
  background-color: #f2f2f2;
}

.card {
  color: white;
  text-align: center;
  width: 300px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.card img {
  width: 100%;
  height: auto;
  display: block;
}

.card h3 {
  margin: 15px 0 8px;
  font-size: 22px;
}

.role-box {
  background-color: #aaaaaa;
  padding: 10px 0;
}

.card .role {
  font-weight: bold;
  margin: 0;
  color: #fff;
}

body:has([href="#Home"].active) .fixed-top.navbar {
  position: absolute !important;
}

body:not(:has([href="#Home"].active)) .fixed-top.navbar {
  animation: identifier forwards 0.5s;
  background-color: white;
  box-shadow: white;
}

@keyframes identifier {
  from {
    transform: translatey(10px);
    opacity: 0;
  }

  to {
    transform: translatey(0);
    opacity: 1;
  }
}

.testimonial-img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
}

.testimonial-text {
  color: #555;
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.testimonial-role {
  color: #888;
  font-size: 0.9rem;
}

#h2_point::after {
  content: "";
  margin-left: 460px;
  width: 180px;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -111111;
}

#h2_point {
  position: relative;
}

#h2_point_3 {
  position: relative;
  font-weight: 900;
  font-size: 40px;
  line-height: 44px;
  font-family: var(--main_font);
  color: rgb(52, 52, 52);
  z-index: 1;
}

#h2_point_3::after {
  content: "";
  margin-left: 460px;
  width: 180px;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -111111;
}

#h2_point_4 {
  position: relative;
  font-weight: 900;
  font-size: 40px;
  line-height: 44px;
  font-family: var(--main_font);
  color: rgb(52, 52, 52);
  z-index: 1;
}

#h2_point_4::after {
  content: "";
  margin-left: 460px;
  width: 180px;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -111111;
}

#h2_point_5::after {
  content: "";
  margin-left: 460px;
  width: 180px;
  height: 30px;
  background-image: url(../img/dots.png);
  background-repeat: repeat;
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -111111;
}

#h2_point_5 {
  position: relative;
  font-weight: 900;
  font-size: 40px;
  line-height: 44px;
  font-family: var(--main_font);
  color: rgb(52, 52, 52);
  z-index: 1;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: #f4f4f4;
  color: rgb(0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s ease;
  font-size: 15px;
}

.contact-icon:hover {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

#color_h5 {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: rgb(52, 52, 52);
  font-family: var(--main_font);
}

#coolor_p {
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
  color: rgb(116, 129, 130);
  font-family: var(--main_font);
}

input:focus,
textarea:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #ced4da;
}

.boda_java_Script {
  font-size: 13px;
  line-height: 21px;
  font-weight: 400;
  color: rgb(116, 129, 130);
  font-family: var(--main_font);
  padding-top: 30px;
}

.carousel-indicators button {
  border: none !important;
  border-radius: 50% !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 5px !important;
  background-color: #ccc !important;
  opacity: 0.5 !important;
}

.carousel-indicators .active {
  opacity: 1 !important;
  background-color: #333 !important;
}

.img-name {
  background-color: #5b5b5b;
}

#Team .inner {
  position: relative;
  overflow: hidden;
}

#Team .inner .overlay {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: rotateY(180deg) scale(0.5);
  transition: all 500ms ease;
  z-index: 2;
}

#Team .inner:hover .overlay {
  opacity: 1;
  transform: rotateY(0deg) scale(1);
}

#Team .inner i {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-size: 1rem;
  margin: 0 0.375rem;
  background-color: #111;
  color: #fff;
  transition: all 500ms ease;
}

#Team .inner i:hover {
  color: #111;
  background-color: #fff;
  border: 1px solid #111;
}

#Team .inner img {
  transition: all 500ms ease;
}

#Team .inner:hover img {
  transform: scale(1.2);
}

#John {
  font-size: 25px;
  font-weight: 500;
  line-height: 28px;
  color: white;
  font-family: var(--main_font);
}

#john_small {
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  color: white;
  font-family: var(--main_font);
}
