/*--------------------------------------------------------------
# Team Page Specific Styles
--------------------------------------------------------------*/

/* Expertise Section */
#expertise {
  padding-top: 150px;
}

.expertise-section {
  padding-top: 150px;
}

.expertise-row-first {
  margin-top: 60px;
}

.expertise-row-second {
  margin-top: 80px;
}

.expertise-text-col {
  padding-right: 30px;
}

.expertise-text-col-right {
  padding-left: 30px;
}

.expertise-image-col-right {
  padding-left: 30px;
}

.expertise-image-col-left {
  padding-right: 30px;
}

#expertise .section-title {
  margin-bottom: 40px;
}

#expertise .section-title h2 {
  font-size: 36px;
  color: #37517e;
  font-weight: 700;
}

#expertise .section-title p {
  color: #666;
  font-size: 16px;
}

/* Data Processing & Image Processing Titles */
#expertise h3 {
  margin-bottom: 30px;
  color: #37517e;
  font-weight: 700;
  font-size: 28px;
}

/* Expertise Cards */
#expertise .expertise-card {
  margin-bottom: 30px;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #4aadbd;
  display: flex;
  gap: 20px;
  align-items: center;
  transition: all 0.3s ease;
}

#expertise .expertise-card:hover {
  box-shadow: 0 4px 12px rgba(74, 173, 189, 0.1);
}

#expertise .expertise-card-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#expertise .expertise-card-icon img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
}

#expertise .expertise-card h4 {
  color: #37517e;
  margin-bottom: 12px;
  font-weight: 600;
}

#expertise .expertise-card p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Row spacing */
#expertise .expertise-row-first {
  margin-top: 60px;
}

#expertise .expertise-row-second {
  margin-top: 80px;
}

/* Column spacing for text/image balance */
#expertise .expertise-text-col {
  padding-right: 1rem;
}

#expertise .expertise-image-col-right {
  padding-left: 1rem;
}

#expertise .expertise-image-col-left {
  padding-right: 1rem;
}

#expertise .expertise-text-col-right {
  padding-left: 1rem;
}

/* Ensure expertise rows stretch so image column can match cards height */
#expertise .row.align-items-center.content {
  align-items: stretch;
}

#expertise .expertise-text-col,
#expertise .expertise-text-col-right {
  display: flex;
  flex-direction: column;
}

#expertise .expertise-image {
  display: flex;
  align-items: center;
  height: 100%;
}

#expertise .expertise-image picture,
#expertise .expertise-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: 12px;
  overflow: hidden;
}

/* Button styling */
#expertise .btn-portfolio {
  display: inline-block;
  padding: 12px 32px;
  background: #4aadbd;
  color: #fff;
  border: 2px solid #4aadbd;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

#expertise .btn-portfolio:hover {
  background: transparent;
  color: #4aadbd;
}

/* Workflow Section */
.workflow-section {
  padding: 60px 0;
  display: flex;
  align-items: center;
}

.workflow-section .section-title h2 {
  color: #37517e;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

.workflow-content h3 {
  color: #37517e;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.workflow-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.workflow-checklist ul li {
  color: #666;
  margin-bottom: 12px;
  font-size: 15px;
}

.workflow-checklist ul li i {
  color: #4aadbd;
  margin-right: 10px;
  font-weight: bold;
}

.workflow-button {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

#workflow {
  padding: 60px 0;
}

#workflow .section-title h2 {
  color: #37517e;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
}

#workflow h1 {
  color: #37517e;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

#workflow ul li {
  color: #666;
  margin-bottom: 12px;
  font-size: 15px;
}

#workflow ul li i {
  color: #4aadbd;
  margin-right: 10px;
  font-weight: bold;
}

.btn-workflow {
  display: inline-block;
  padding: 12px 32px;
  background: #4aadbd;
  color: #fff;
  border: 2px solid #4aadbd;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
  margin-top: 20px;
}

.btn-workflow:hover {
  background: transparent;
  color: #4aadbd;
}

/* Team Section */
#team {
  padding: 60px 0;
}

#team .section-title h2 {
  color: #37517e;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

#team .section-title p {
  color: #666;
  font-size: 15px;
  line-height: 1.8;
}

#team .member {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#team .member:hover {
  box-shadow: 0 4px 16px rgba(74, 173, 189, 0.15);
}

#team .member-info h4 {
  color: #37517e;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

#team .member-info span {
  color: #4aadbd;
  font-size: 14px;
  font-weight: 500;
  display: block;
  margin-bottom: 15px;
}

#team .member-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 991px) {
  #expertise .expertise-text-col,
  #expertise .expertise-image-col-right,
  #expertise .expertise-image-col-left,
  #expertise .expertise-text-col-right {
    padding: 0 !important;
  }

  #expertise .expertise-row-second {
    margin-top: 60px;
  }
}

/*======================================================
# Team Section Styles from style.css
======================================================*/

.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: 100%;
  max-width: 110px;
  min-width: 110px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Specific styling for expertise large images (data_processing & image_processing) */
#expertise img[src$="data_processing.jpg"],
#expertise img[src$="data_processing.webp"],
#expertise img[src$="image_processing.jpg"],
#expertise img[src$="image_processing.webp"] {
  width: 100%;
  max-width: none;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  overflow: hidden;
  filter: grayscale(12%) contrast(1.03);
  transition: transform 0.35s ease, filter 0.35s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

#expertise img[src$="data_processing.jpg"]:hover,
#expertise img[src$="data_processing.webp"]:hover,
#expertise img[src$="image_processing.jpg"]:hover,
#expertise img[src$="image_processing.webp"]:hover {
  transform: scale(1.02);
  filter: none;
}

@media (max-width: 768px) {
  #expertise img[src$="data_processing.jpg"],
  #expertise img[src$="data_processing.webp"],
  #expertise img[src$="image_processing.jpg"],
  #expertise img[src$="image_processing.webp"] {
    height: auto;
    max-width: 100%;
  }
}

.team .member .pic img {
  transition: ease-in-out 0.3s;
  width: 100%;
  height: auto;
  display: block;
}

/* New layout: member-top (pic + name/status) centered vertically, description full width below */
.team .member {
  display: block;
}

.team .member-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.team .member-head h4 {
  margin: 0 0 6px 0;
}

.team .member-head span {
  display: block;
  margin: 0;
}

.team .member-desc {
  margin-top: 12px;
}

/* Justify the member description paragraphs */
.team .member-desc p {
  text-align: justify;
  text-justify: inter-word;
}

@media (max-width: 767px) {
  .team .member-top {
    flex-direction: row;
    align-items: center;
  }
  .team .pic {
    max-width: 90px;
    min-width: 90px;
  }
}

.team .member:hover {
  transform: translateY(-10px);
}

.team .member .member-info {
  padding-left: 20px;
  text-align: justify;
}

.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;
}

.team .member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.team .member .social a {
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 32px;
  height: 32px;
  background: #eff2f8;
}

.team .member .social a i {
  color: #37517e;
  font-size: 16px;
  margin: 0 2px;
}

.team .member .social a:hover {
  background: #47b2e4;
}

.team .member .social a:hover i {
  color: #fff;
}

.team .member .social a+a {
  margin-left: 8px;
}

@media (max-width: 575px) {
  .team .member {
    padding: 20px;
    flex-direction: column;
    text-align: center;
  }

  .team .member .member-info {
    padding-left: 0;
    margin-top: 15px;
  }

  .team .member .pic {
    max-width: 120px;
    min-width: 120px;
  }

  .team .member h4 {
    font-size: 18px;
  }

  .team .member p {
    font-size: 13px;
  }

  .team .member .social {
    justify-content: center;
  }
}
