.team-details{
	padding: 150px 0px;
	padding-bottom: 0px; /* minimal space */
}

.team-details-content{
	position: relative;
	display: block;
	background: #FFFFFF;
	box-shadow: 0px 2px 70px rgba(0, 0, 0, 0.1);
	border-radius: 10px;
	padding: 50px;
}

.team-details-content .image-box{
	position: relative;
	display: block;
	border-radius: 10px;
}

.team-details-content .image-box img{
	width: 100%;
	border-radius: 10px;
}

.team-details-content .content-box{
	position: relative;
	display: block;
}

.team-details-content .content-box h2{
	display: block;
	font-size: 40px;
	line-height: 50px;
	font-weight: 600;
	margin-bottom: 8px;
}

.team-details-content .content-box .designation{
	position: relative;
	display: block;
	font-weight: 500;
	margin-bottom: 28px;
}

.team-details-content .content-box p{
	margin-bottom: 25px;
}

.team-details-content .content-box .info-list li{
	position: relative;
	display: block;
	margin-bottom: 10px;
}

.team-details-content .content-box .info-list li:last-child{
	margin-bottom: 0px;
}

.team-details-content .content-box .info-list li span{
	color: #222;
	font-weight: 700;
}

.team-details-content .content-box .info-list li a{
	display: inline-block;
	color: #6E6E6E;
}

.team-details-content .content-box .info-list{
	margin-bottom: 33px;
}

.team-details-content .content-box .social-links li{
	position: relative;
	display: inline-block;
	float: left;
	margin-right: 15px;
}

.team-details-content .content-box .social-links li:last-child{
	margin: 0px;
}

.team-details-content .content-box .social-links li a{
	position: relative;
	display: inline-block;
	width: 50px;
	height: 50px;
	line-height: 50px;
	border: 1px solid #E5E5E5;
	text-align: center;
	border-radius: 50%;
	font-size: 18px;
	color: #676767;
}

.team-details-content .content-box .social-links li a:hover{
	color: #fff;
}

.team-details h3{
	display: block;
	font-size: 28px;
	line-height: 38px;
	font-weight: 600;
	margin-bottom: 25px;
}

.team-details .biography-box p{
	margin-bottom: 26px;
}

.team-details .biography-box p:last-child{
	margin-bottom: 0px;
}

.team-details .lower-content h3{
	margin-bottom: 15px;
}

.team-details .lower-content .skills-box p{
	margin-bottom: 30px;
}

.team-details .lower-content .inner-box .single-item{
	position: relative;
	display: block;
	padding-left: 30px;
	margin-bottom: 18px;
}

.team-details .lower-content .inner-box .single-item:last-child{
	margin-bottom: 0px;
}

.team-details .lower-content .inner-box .single-item:before{
	position: absolute;
	content: '';
	width: 16px;
	height: 16px;
	left: 0px;
	top: 6px;
	border-radius: 50%;
}

.team-details .lower-content .inner-box .single-item:after{
	position: absolute;
	content: '';
	width: 6px;
	height: 6px;
	left: 5px;
	top: 11px;
	border-radius: 50%;
}

.team-details .lower-content .inner-box .single-item h4{
	display: block;
	font-size: 20px;
	line-height: 30px;
	font-weight: 600;
	margin-bottom: 6px;
}

.team-details .lower-content .inner-box .single-item p span{
	color: #2C2A49;
	display: block;
}

.team-details .lower-content .education-inner{
	position: relative;
}

.team-details .lower-content .skills-box .progress-box p{
	margin-bottom: 10px;
}

.team-details .lower-content .education-inner{
	position: relative;
}

.team-details .lower-content .education-inner .single-item p span{
	font-weight: 500;
}

/* Banner Image Start */
.page-title .bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: url(banner/team.jpg);
}

/* CSS for Mobile View (active on screens up to 767px wide) */
@media (max-width: 767px) {
  .page-title .bg-layer {
    background-image: url(banner/team.jpg);
    background-position: center;
    background-size: cover;
  }
}
/* Banner Image End*/

/* Make the lower-content stretch full browser width */
.team-details .lower-content {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  box-sizing: border-box;
}

/* Force row to act like a flex container for side-by-side layout */
.team-details .lower-content .row {
  display: flex !important;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;                 /* space between the two columns */
  max-width: 1600px;         /* optional: maximum container width */
  margin: 0 auto;
  padding: 0 60px;           /* left-right page padding */
  box-sizing: border-box;
}

/* Force each column to 50% width side by side */
.team-details .lower-content .skills-column,
.team-details .lower-content .education-column {
  float: none !important;    /* remove Bootstrap float */
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50%;
}

/* Mobile responsive: stack vertically */
@media (max-width: 991px) {
  /* Make lower-content full width on mobile */
  .team-details .lower-content {
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    width: auto;
    padding: 0 15px; /* reduced vertical padding */
  }

  /* Stack columns vertically */
  .team-details .lower-content .row {
    flex-direction: column;
    padding: 0 15px;
    gap: 20px; /* space between stacked blocks */
  }

  /* Make both columns full width and remove side spaces */
  .team-details .lower-content .skills-column,
  .team-details .lower-content .education-column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Remove custom side margins from inner boxes */
  .team-details .skills-box,
  .team-details .education-inner {
    margin: 0 !important;
  }

  /* Reduce huge bottom gaps before footer */
  .team-details .lower-content.mb_90 {
    margin-bottom: 30px !important;
  }
}

@media (max-width: 767px) {
  /* This targets the main content wrapper for each team member */
  .team-details-content .row {
    display: flex;
    flex-direction: column;
  }
  
  /* This targets the content box (name, designation, etc.) and moves it to the top */
  .team-details-content .content-column {
    order: -1;
    margin-bottom: 20px; /* Adds space between the content and the image */
  }

  /* This targets the image box and places it in the middle */
  .team-details-content .image-column {
    order: 0;
  }

  /* Adjust margins for mobile view to avoid awkward spacing */
  .team-details-content .content-box.ml_30 {
    margin-left: 0;
  }

  .team-details-content .image-box.mr_30 {
    margin-right: 0;
  }
}

/* Name & Designation Center Start */
#kalpesh-shah .content-box h2,
#kalpesh-shah .content-box .designation,
#jainam-shah .content-box h2,
#jainam-shah .content-box .designation {
    text-align: left;
}

/* Mobile & tablet: center-aligned */
@media (max-width: 991px) {
    #kalpesh-shah .content-box h2,
    #kalpesh-shah .content-box .designation,
    #jainam-shah .content-box h2,
    #jainam-shah .content-box .designation {
        text-align: center;
    }
}
/* Name & Designation Center End */


/* Default desktop: side by side */
.experience-flex {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

/* MacBook Air / smaller laptops (~1366px) */
@media (max-width: 1366px) {
    .experience-flex {
        gap: 20px;
        justify-content: flex-start;
    }
}








































