/* ========= Staff Photo Modern Style ========= */

img.user {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 14px;

  /* soft clean shadow */
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
  
  /* smooth animation */
  transition: transform .35s ease,
              box-shadow .35s ease,
              filter .35s ease;
  
  display: block;
  background: #fff;
  padding: 6px;
}

/* hover effect */
img.user:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 20px 55px rgba(0,0,0,0.22);
  filter: brightness(1.05) contrast(1.03);
}

/* subtle frame */
.one_third.lastcolumn {
  position: relative;
}

/* optional glow highlight */
.one_third.lastcolumn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity .35s ease;
  background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.35), transparent 60%);
  pointer-events: none;
}

.one_third.lastcolumn:hover::after {
  opacity: .5;
}

/* mobile optimisation */
@media (max-width: 768px){
  img.user:hover{
    transform: scale(1.02);
  }
}


img.user{
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* breathing space between staff blocks */
.container.resume > .two_third {
  margin-top: 40px;
}

.container.resume > .two_third:first-of-type {
  margin-top: 10px;
}

.staff-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
  clear: both;
}

.staff-image {
  flex: 0 0 220px;
}

.staff-image img.user {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.staff-text {
  flex: 1;
}

.staff-text h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.staff-text p {
  margin: 0;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .staff-row {
    flex-direction: column;
  }

  .staff-image {
    flex: none;
  }

  .staff-image img.user {
    max-width: 180px;
  }
}
/* Staff section overall */
.resume {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px 40px;
}

/* Each staff row */
.staff-row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid #d9d9d9;
}

/* Left image area */
.staff-image {
  flex: 0 0 220px;
}

.staff-image img.user {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  border-radius: 8px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* Right text area */
.staff-text {
  flex: 1;
  max-width: 850px;
}

/* Designation */
.staff-text h3 {
  margin: 0 0 14px;
  font-size: 29px;
  line-height: 1.3;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #1f2f46;
}

/* Paragraph text */
.staff-text p {
  margin: 0;
  font-size: 25px;
  line-height: 1.8;
  color: #2f3a4a;
}

/* Name inside paragraph */
.staff-text p strong {
  color: #1c2940;
  font-weight: 700;
}

/* Optional section heading */
.resume h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 30px;
  color: #16263d;
}

/* Better readability on medium screens */
@media (max-width: 991px) {
  .staff-row {
    gap: 20px;
  }

  .staff-image {
    flex: 0 0 180px;
  }

  .staff-image img.user {
    max-width: 180px;
  }

  .staff-text h3 {
    font-size: 24px;
  }

  .staff-text p {
    font-size: 18px;
    line-height: 1.7;
  }
}

/* Mobile layout */
@media (max-width: 768px) {
  .staff-row {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
  }

  .staff-image {
    flex: none;
  }

  .staff-image img.user {
    max-width: 170px;
  }

  .staff-text {
    max-width: 100%;
  }

  .staff-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .staff-text p {
    font-size: 16px;
    line-height: 1.7;
  }
}
.staff-text {
  max-width: 850px;
}
.staff-text h3 {
  color: #22324a;
}

.staff-text p {
  color: #3e4b5c;
}