/* ======================================================
   DEVOPS SWIPER – FINAL RESPONSIVE CSS
====================================================== */

/* ===== Section ===== */
.devops-slider-section {
  background: #3294e4;
  overflow: hidden;
}

/* ===== Heading ===== */
.devops-slider-heading {
  color: #fff !important;
  font-family: ProximaNova-Bold;
  text-align: center;
  margin-bottom: 50px !important;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Swiper ===== */
.devops-swiper {
  padding-bottom: 90px; /* arrows space */
}

.devops-swiper .swiper-wrapper {
  align-items: stretch;
}

.devops-swiper .swiper-slide {
  display: flex;
  justify-content: center;
  transition: all 0.35s ease;
}
.engineer-card h3 {
	font-weight: 600;
	font-size: 20px;
	line-height: 128%;
}
.engineer-exp span {
	font-weight: 400;
	font-size: 16px;
	line-height: 128%;
}
/* ======================================================
   CARD (DEFAULT – DESKTOP LARGE)
====================================================== */
.engineer-card {
	width: 405px;
	min-height: 450px;
	background: rgba(255,255,255,0.65);
	border-radius: 12px;
	padding: 24px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	box-shadow: 0 4px 5.6px rgba(0,0,0,0.1);
	transition: all 0.35s ease;
	gap: 10px;
}
/* Active */
.devops-swiper .swiper-slide-active .engineer-card {
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(0,0,0,0.25);
}

/* CTA wrapper */
.engineer-hover-cta {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
}

/* Show on hover */
.engineer-card:hover .engineer-hover-cta {
    opacity: 1;
}

.hire-btn {
	display: block;
	width: 100%;
	background: #fa4616;
	color: #fff;
	padding: 14px 0;
	border-radius: 10px;
	font-weight: 600;
	text-decoration: none;
	text-align: center;
	border-radius: 0 0 12px 12px;
}

.engineer-card:hover .engineer-img {
    width: 105px;     /* 👈 112 → 96 (perfect squeeze) */
    height: 105px;
}
.engineer-desc {
	margin-top: 10px;
}

.engineer-exp::before {
	content: "";
	background-image: url("https://devimages.bloomcs.com/devimagesassets/2026/01/Group-1171275925-69736948ba75b.png");
	width: 18px;
	height: 17px;
	background-repeat: no-repeat;
	background-size: contain;
}
/* ======================================================
   SCALE / OPACITY (DESKTOP ONLY)
====================================================== */
@media (min-width: 768px) {

  .devops-swiper .swiper-slide {
    transform: scale(0.9);
    opacity: 0.55;
  }

  .devops-swiper .swiper-slide-prev,
  .devops-swiper .swiper-slide-next {
    transform: scale(0.95);
    opacity: 0.75;
  }

  .devops-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
  }
}

/* ======================================================
   CARD CONTENT
====================================================== */
.engineer-img {
	width: 112px;
	height: 112px;
	border-radius: 12px;
	margin-bottom: 12px;
	object-fit: cover;
	object-position: top center;
     transition: width 0.25s ease, height 0.25s ease;
}

.engineer-exp {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 6px 0;
	font-size: 16px;
	font-family: ProximaNova-semiBold;
}
.engineer-exp .exp-icon {
display: none;
}

.engineer-card h3 {
  font-family: ProximaNova-Bold;
}

.engineer-role {
	font-size: 15px;
	color: #716565;
	margin-bottom: 8px;
}

.engineer-card p {
	flex-grow: 1;
	color: #000;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	font-weight: 400;
	font-size: 16px;
	line-height: 128%;
	letter-spacing: 0%;
}

/* ======================================================
   ARROWS
====================================================== */
.devops-swiper .swiper-button-prev,
.devops-swiper .swiper-button-next {
  top: auto;
  bottom: 0;
  width: 38px;
  height: 38px;
  background: #ffffff;
  border-radius: 50%;
  color: #2563eb;
}

.devops-swiper .swiper-button-prev {
  left: 50%;
  transform: translateX(-52px);
}

.devops-swiper .swiper-button-next {
  right: 50%;
  transform: translateX(52px);
}

.devops-swiper .swiper-button-prev::after,
.devops-swiper .swiper-button-next::after {
  font-size: 14px;
  font-weight: bold;
}

/* ======================================================
   🔥 1300px BELOW – AUTO WIDTH FIX
====================================================== */
@media (max-width: 1299px) {
  .engineer-card {
    width: auto;
    max-width: 360px;
  }
}

/* ======================================================
   TABLET (<=1024)
====================================================== */
@media (max-width: 1024px) {
  .engineer-card {
    max-width: 320px;
  }
}

/* ======================================================
   MOBILE (<=767)
====================================================== */
@media (max-width: 767px) {

  .devops-slider-section {
    padding: 60px 16px;
  }

  .devops-swiper {
    padding-bottom: 60px;
  }

  .devops-swiper .swiper-slide {
    transform: none !important;
    opacity: 1 !important;
  }

  .engineer-card {
    width: 100%;
    max-width: 100%;
    height: auto;
  }
}
