.team {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f3f5fa;
}

.section-team-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-heading-title {
  font-size: 2.5rem;
  line-height: 3.4375rem;
  font-weight: 500;
  color: var(--text-black);
  margin-bottom: 1.5625rem;
  font-family: var(--primary-font);
  font-weight: 700;
  color: #462b34;
  position: relative;
}

.section-heading-title::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 2px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-heading-title::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #462b34;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-team-title p {
  margin-bottom: 0;
}

.team .member {
  position: relative;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  border-radius: 5px;
  background: #fff;
  transition: 0.5s;
  height: 100%;
}

.team .member .pic {
  overflow: hidden;
  width: 180px;
  border-radius: 50%;
}

.team .member .pic img {
  transition: ease-in-out 0.3s;
}

.team .member:hover {
  transform: translateY(-10px);
}

.team .member .member-info {
  padding-left: 30px;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  color: #37517e;
}

.team .member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: #cbd6e9;
  bottom: 0;
  left: 0;
}

.team .member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 52px;
  height: 52px;
  background: #000000;
  margin: 0px 10px;
}

.social a i {
  color: #ffffff;
  font-size: 23px;
  margin: 0 20px;
}

.social a:hover {
  background: #462b34;
}

.social a:hover i {
  color: #fff;
}

.team .member .social a + a {
  margin-left: 8px;
}

/* about */

.about-section {
  position: relative;
  margin: 6rem 0rem 0rem 0rem;
}

.about-section .content-column {
  position: relative;
  margin-bottom: 40px;
}

.about-section .content-column .inner-column {
  position: relative;
  padding-top: 50px;
  padding-right: 100px;
}

.about-section .content-column .text {
  position: relative;
  color: #777777;
  font-size: 15px;
  line-height: 2em;
  margin-bottom: 40px;
}

.about-section .content-column .email {
  position: relative;
  color: #252525;
  font-weight: 700;
  margin-bottom: 50px;
}

.about-section .image-column {
  position: relative;
  margin-bottom: 50px;
}

.about-section .image-column .inner-column {
  position: relative;
  padding: 40px 40px 0px 0px;
  margin-left: 50px;
}

.about-section .image-column .inner-column:after {
  position: absolute;
  content: "";
  right: 0px;
  top: 0px;
  left: 40px;
  bottom: 100px;
  z-index: -1;
  border: 2px solid #8b5c52;
}

.about-section .image-column .inner-column .image {
  position: relative;
}

.about-section .image-column .inner-column .image:before {
  position: absolute;
  content: "";
  left: -50px;
  bottom: -50px;
  width: 299px;
  height: 299px;
  background: url(img/pattern-2.png) no-repeat;
}

.about-section .image-column .inner-column .image img {
  position: relative;
  width: 100%;
  display: block;
}

.about-section .image-column .inner-column .image .overlay-box {
  position: absolute;
  left: 40px;
  bottom: 48px;
}

.about-section .image-column .inner-column .image .overlay-box .year-box {
  position: relative;
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4em;
  padding-left: 125px;
}

.about-section
  .image-column
  .inner-column
  .image
  .overlay-box
  .year-box
  .number {
  position: absolute;
  left: -20px;
  top: -50px;
  width: 443px;
  height: 81px;
  color: #d7a449;
  font-size: 26px;
  font-weight: 700;
  line-height: 105px;
  text-align: center;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #000000;
  display: flex;
  justify-content: center;
  opacity: 0.9;
}
.about-section .btn-style-three:before {
  position: absolute;
  content: "";
  left: 10px;
  top: 10px;
  z-index: -1;
  right: -10px;
  bottom: -10px;
  background: url(https://i.ibb.co/DKn55Qz/pattern-1.jpg) repeat;
}
.about-section .btn-style-three:hover {
  color: #ffffff;
  background: #8b5c52;
}
.about-section .btn-style-three {
  position: relative;
  line-height: 24px;
  color: #252525;
  font-size: 15px;
  font-weight: 700;
  background: none;
  display: inline-block;
  padding: 11px 40px;
  background-color: #ffffff;
  text-transform: capitalize;
  border: 2px solid #8b5c52;
  font-family: "Arimo", sans-serif;
  transition: 0.3s ease-in-out;
}
.sec-title2 {
  color: #fff;
}
.sec-title {
  position: relative;
}
.sec-title .title {
  position: relative;
  color: #000000;
  font-size: 18px;
  font-weight: 700;
  padding-right: 50px;
  margin-bottom: 15px;
  display: inline-block;
  text-transform: capitalize;
}
.sec-title .title:before {
  position: absolute;
  content: "";
  right: 0px;
  bottom: 7px;
  width: 40px;
  height: 1px;
  background-color: #bbbbbb;
}

.res {
  flex-direction: row;
  text-align: left;
}

@media (max-width: 800px) {
  .col-4,
  .col-8 {
    width: 100%;
    box-sizing: border-box;
    float: none; /* Optional based on layout */
  }
  .res {
    flex-direction: column;
  }
}

.employee-profile {
  background: #f2f0f2;
  text-align: center;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-image {
  width: 100%;
  height: 340px; /* Uniform height */
  object-fit: cover; /* Crops images proportionally */
  border-radius: 10px;
}

.employee-name {
  font-size: 22px;
  font-weight: bold;
  color: #4a2c2c;
  margin: 1rem 0;
}

.job-title {
  font-size: 1rem;
  color: #444;
  font-weight: bold;
  margin-top: 5px;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--bs-heading-color);
}

.employee-description {
  font-size: 14px;
  color: #666;
  margin: 12px 0;
  line-height: 1.4;
  font-size: 1rem;
  line-height: 1.6;
}

.social-links {
  margin-top: 12px;
}

.social-links a {
  text-decoration: none;
  font-size: 18px;
  color: #0077b5; /* LinkedIn blue */
  background: #e0e0e0;
  padding: 10px;
  border-radius: 50%;
  display: inline-block;
}

.social-links a:hover {
  background: #d0d0d0;
}
