/* ─── PAGE BANNER ─── */
.page-banner {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background image */
.banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

/* Dark overlay */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 6, 4, 0.72);
  z-index: 1;
}

/* Content above overlay */
.banner-content {
  position: relative;
  z-index: 2;
  padding: 70px 20px;
}

/* Breadcrumb */
.banner-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.80);
  margin-bottom: 18px;
  letter-spacing: 0.3px;
}

.banner-breadcrumb a {
  color: rgba(255, 255, 255, 0.80);
  text-decoration: none;
  transition: color .2s;
}

.banner-breadcrumb a:hover {
  color: #ffffff;
}

.banner-breadcrumb-sep {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.60);
}

/* Heading */
.banner-heading {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

/* ─── DIVIDER — dots + solid line + dots ─── */
.banner-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 28px;
}

/* Dotted lines on both sides */
.banner-dots {
  display: block;
  width: 460px;
  height: 2px;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.45) 1.5px,
    transparent 1.5px
  );
  background-size: 20px 2px;
  background-repeat: repeat-x;
}

/* Solid white line in center */
.banner-line {
  display: block;
  width: 150px;
  height: 4px;
  background: #ffffff;
  border-radius: 2px;
  flex-shrink: 0;
}

/* Subtitle */
.banner-subtitle {
  font-size: clamp(14px, 1.8vw, 20px);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  max-width: 640px;
  margin: 0 auto;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .page-banner {
    min-height: 300px;
  }
  .banner-content {
    padding: 50px 20px;
  }
  .banner-dots {
    width: 80px;
  }
  .banner-line {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .page-banner {
    min-height: 260px;
  }
  .banner-dots {
    width: 50px;
  }
  .banner-breadcrumb {
    font-size: 12.5px;
  }
}


/* ─── ABOUT SECTION ─── */
.associates-section {
  padding: 40px 0;
  background-color: #FEF8F8;
}

.associates-section .about-text h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #7F3319;
  margin-bottom: 18px;
}

.associates-section .about-text p {
  color: #000000;
  line-height: 33px;
  margin-bottom: 14px;
  /*font-weight: 600;*/
  text-align: justify;
  font-size: 16px;
}

.associates-section .btn-readmore {
  display: inline-block;
  background: #3b1a10;
  color: #ffffff;
  padding: 11px 26px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 10px;
  transition: background .2s;
}

.associates-section .btn-readmore:hover {
  background: #7b2d1e;
}

/* ─── COLLAGE WRAPPER ─── */
.associates-section .about-images {
  position: relative;
  width: 100%;
}

.associates-section .about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 12px;
}

/* ─── EACH CELL — icon sits behind, img sits on top ─── */
.associates-section .img-cell {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon always visible as fallback */
.associates-section .img-icon {
  font-size: 52px;
  color: rgba(255, 255, 255, 0.35);
  z-index: 1;
  position: absolute;
}

/* Image sits on top of icon — covers it when loaded */
.associates-section .img-cell img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

/* ─── BORDER SHAPES ─── */

/* Left — tall pill shape */
.associates-section .img-left {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: 120px 20px 20px 120px;
}

/* Top right — rounded top */
.associates-section .img-right-top {
  grid-column: 2;
  grid-row: 1;
  border-radius: 20px 80px 20px 20px;
}

/* Bottom right — rounded bottom */
.associates-section .img-right-bottom {
  grid-column: 2;
  grid-row: 2;
  border-radius: 20px 20px 80px 20px;
}

/* ─── BADGE — centered at intersection of 3 images ─── */
.associates-section .badge-years {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #7b2d1e;
  color: #ffffff;
  border-radius: 50%;
  width: 95px;
  height: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  line-height: 1.1;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
  z-index: 10;
  text-align: center;
  border: 3px solid #ffffff;
}

.associates-section .badge-years small {
  font-size: 10px;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 576px) {
  .associates-section .about-collage {
    grid-template-rows: 160px 160px;
  }
  .associates-section .badge-years {
    width: 75px;
    height: 75px;
    font-size: 17px;
  }
  .associates-section .badge-years small {
    font-size: 8px;
  }
}


/* ─── SOCIAL RESPONSIBILITY — ABOUT PAGE ─── */
.sr-section {
  padding: 40px 0;
  background: #ffffff;
}

/* ─── LEFT IMAGE WRAPPER ─── */
.sr-images {
  position: relative;
  width: 100%;
  height: 520px; /* total height of image area */
}

/* Beige rounded background behind images */
.sr-img-bg {
  position: absolute;
  top: -15px;
  left: -5px;
  width: 80%;
  height: 90%;
  background: #E8DFDD;
  border-radius: 24px;
  z-index: 0;
}

/* Main tall image */
.sr-img-main {
  position: absolute;
  top: 0;
  left: 10px;
  width: 82%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  z-index: 1;
  border: 5px 0 0 0 solid black;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.sr-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Circle image — bottom right overlapping */
.sr-img-circle {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  z-index: 2;
  border: 10px solid #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.14);
}

.sr-img-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── RIGHT TEXT CONTENT ─── */
.sr-content {
  
}

.sr-heading {
  font-size: 2.8rem;
  font-weight: 700;
  color: #7E361D;
  line-height: 1.2;
  margin-bottom: 28px;
}

.sr-content p {
  font-size: 16px;
  color: #000000;
  /*font-weight: 700;*/
  line-height: 33px;
  margin-bottom: 20px;
  text-align: justify;
}

.sr-content p:last-child {
  margin-bottom: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 991px) {
  .sr-images {
    height: 420px;
    margin-bottom: 20px;
  }
  .sr-img-circle {
    width: 160px;
    height: 160px;
  }
  .sr-content {
    padding-left: 0;
  }
}

@media (max-width: 576px) {
  .sr-images {
    height: 340px;
  }
  .sr-img-main {
    width: 86%;
  }
  .sr-img-circle {
    width: 130px;
    height: 130px;
    bottom: 0;
    right: 0;
  }
  .sr-img-bg {
    width: 90%;
  }
}


/* ─── TEAM MEMBERS SECTION ─── */
.team-members-section {
  padding: 40px 0;
  background: #ffffff;
}

/* Each member row */
.team-member-row {
  padding: 40px 24px;
  border-radius: 14px;
  transition: background 0.35s ease;
  background: #ffffff;
  margin-bottom: 0;
}

/* Expanded state — light pink bg */
.team-member-row.expanded {
  background: #fdf0ec;
}

/* ── Name ── */
.tm-name {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: #7E361D;
  margin-bottom: 8px;
  line-height: 1.2;
}

/* ── Role ── */
.tm-role {
  font-size: 20px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 18px;
  letter-spacing: 0.2px;
}

/* ── Bio wrapper — clips height, shows fade ── */
.tm-bio-wrap {
  position: relative;
  max-height: 110px;       /* collapsed: shows ~3 lines */
  overflow: hidden;
  transition: max-height 0.5s ease;
}

/* Expanded: show full text */
.team-member-row.expanded .tm-bio-wrap {
  max-height: 600px;
}

/* Bio text */
.tm-bio {
  font-size: 16px;
  /*font-weight: 600;*/
  color: #000000;
  line-height: 33px;
  margin-bottom: 0;
  text-align: justify;
}

/* Fade gradient overlay — hides bottom of collapsed text */
.tm-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* Fade changes to match pink bg when expanded */
.team-member-row.expanded .tm-fade {
  background: linear-gradient(
    to bottom,
    rgba(253, 240, 236, 0) 0%,
    rgba(253, 240, 236, 0) 100%
  );
}

/* ── Photo ── */
.tm-photo {
  width: 200px;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #e8e0db;
  margin: 0 auto 16px;
  background: #f0ece8;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.tm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ── Read button ── */
.tm-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1.5px solid #c0b8b4;
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
}

.tm-read-btn:hover {
  border-color: #7b2d1e;
  color: #7b2d1e;
}

/* + icon in button */
.tm-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid #7b2d1e;
  border-radius: 5px;
  color: #7b2d1e;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

/* Button when expanded — minus icon */
.team-member-row.expanded .tm-read-btn {
  border-color: #7b2d1e;
  color: #7b2d1e;
}

.team-member-row.expanded .tm-plus::before {
  content: '−';
}
.team-member-row.expanded .tm-plus {
  font-size: 0; /* hide + */
}

/* ── Divider ── */
.tm-divider {
  border: none;
  border-top: 3px solid #D9D9D9;
  margin: 0 24px;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .tm-photo {
    width: 160px;
    height: 200px;
  }
}

@media (max-width: 576px) {
  .team-member-row {
    padding: 28px 14px;
  }
  .tm-photo {
    width: 140px;
    height: 170px;
  }
  .tm-name {
    font-size: 24px;
  }
}


/* ─── GALLERY SECTION ─── */
.gallery-section {
  padding: 60px 0;
  background: #f7f5f3;
}

/* ─── EACH GALLERY ITEM ─── */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  height: 220px;
  background: #e0d8d4;
  box-shadow: 0 2px 14px rgba(0,0,0,0.08);
  transition: transform .25s, box-shadow .25s;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.16);
}

/* Image fills cell */
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Hover overlay with expand icon */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 10, 5, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
  color: #ffffff;
  font-size: 24px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ─── LIGHTBOX OVERLAY ─── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 5, 2, 0.82);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

/* Show when active */
.lightbox-overlay.active {
  display: flex;
}

/* Lightbox box */
.lightbox-box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 900px;
  width: 100%;
  animation: lbFadeUp .35s ease;
}

@keyframes lbFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Lightbox image */
.lightbox-box img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 18px;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.55);
}

/* Close pill button — white with brown text */
.lightbox-close-btn {
  display: inline-block;
  background: #ffffff;
  color: #7b2d1e;
  border: none;
  padding: 12px 48px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background .2s, color .2s, transform .2s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.lightbox-close-btn:hover {
  background: #7b2d1e;
  color: #ffffff;
  transform: scale(1.04);
}

/* ─── LIGHTBOX ARROWS ─── */
.lightbox-box {
  position: relative; /* ensure arrows position correctly */
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.40);
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, transform .2s;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.30);
  border-color: rgba(255, 255, 255, 0.70);
}

.lightbox-prev {
  left: -70px;
}

.lightbox-next {
  right: -70px;
}

/* ─── LIGHTBOX COUNTER ─── */
.lightbox-counter {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.70);
  letter-spacing: 1px;
  text-align: center;
  margin-top: -10px;
}

/* ─── RESPONSIVE ARROWS ─── */
@media (max-width: 1100px) {
  .lightbox-prev { left: -50px; }
  .lightbox-next { right: -50px; }
}

@media (max-width: 768px) {
  .lightbox-prev { left: 0; }
  .lightbox-next { right: 0; }
  .lightbox-arrow {
    width: 38px;
    height: 38px;
    font-size: 15px;
    top: 40%;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .gallery-item {
    height: 170px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {
  .gallery-item {
    height: 140px;
    border-radius: 10px;
  }
  .lightbox-close-btn {
    padding: 10px 36px;
    font-size: 14px;
  }
}