/* ================ additional css ================ */

/* segmented tabs */
.segmented {
  position: relative;
  display: inline-flex;
  border: 2px solid #1e1e1e;
  border-radius: 999px;
  padding: 6px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
  gap: 6px;
}

.segmented .seg-btn {
  position: relative;
  z-index: 2;
  min-width: 210px;
  padding: .65rem 1.25rem;
  border-radius: 999px;
  border: 0;
  background: transparent;
  font-weight: 700;
  color: #333;
  transition: color .2s ease;
}

.segmented .seg-btn.active {
  color: #fff;
  background-color: var(--primary-orange);
}

.segmented .slider {
  position: absolute;
  inset: 4px auto 4px 0;
  width: 0;
  background: linear-gradient(90deg, #ff8c42 0%, #ff8c42 100%);
  border-radius: 999px;
  transition: transform .28s cubic-bezier(.22, .61, .36, 1), width .28s cubic-bezier(.22, .61, .36, 1);
  z-index: 1;
}

/* card buttons (reset native button) */
.leader-card {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: #fff;
  text-align: left;
  width: 100%;
  position: relative;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  padding: 24px 28px 72px;
  overflow: hidden;
  min-height: 190px;
  cursor: pointer;
  transform: translateY(6px);
  opacity: 0;
  animation: rise .45s ease forwards;
  transition: all .3s;
}

.leader-card:focus {
  outline: 3px solid rgba(255, 138, 0, .55);
  outline-offset: 3px;
}

.leader-card.active,
.leader-card:hover {
  color: #fff;
  background: linear-gradient(90deg, #fa5102 0%, #fa7a14 50%, #ff8c42 100%);
}

/* Use hover/active image for decorative overlay */
.leader-card.active::after,
.leader-card:hover::after {
  background-image: url('/assets/images/bg-bod-card-hover.png');
}

.leader-card.active::after {
  opacity: .25;
  filter: brightness(4);
}
@keyframes rise {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.leader-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  background-image: url('/assets/images/bg-bod-card.png');
  background-position-y: bottom;
}

.leader-card.active::after {
  opacity: .25;
  filter: brightness(4);
}

.leader-name {
  font-size: clamp(1.1rem, 1.2rem + .6vw, 1.4rem);
}

.leader-role {
  margin-top: .5rem;
  font-size: 0.825rem;
  line-height: 1.35;
}

.leader-card.active .leader-role,
.leader-card:hover .leader-role {
  color: #fff !important;
}

.wrap {
  max-width: 1100px;
}

.tab-pane {
  transition: opacity .2s ease;
}

.tab-pane.show {
  opacity: 1;
}

.tab-pane:not(.show) {
  opacity: 0;
}

.page-section {
  background: #FDF4ED;
  background: linear-gradient(180deg, rgba(253, 244, 237, 1) 0%, rgba(254, 232, 198, 1) 100%);
  position: relative;
}

.about-wrap::before,
.history-wrap::before,
.leadership-wrap::before,
.contact-wrap::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0px;
  width: 198px;
  height: 182px;
  background: url('../images/bg-flame-portfolio-top.png') no-repeat right top / contain;
  pointer-events: none;
}

.page-title h1 {
  text-align: center;
  color: #333;
  font-weight: 600;
  text-transform: uppercase;
}

.leadership .modal-content {
  background-color: transparent;
  border: none;
}

.leadership .modal-header {
  background-color: transparent;
  border: none;
  padding-right: 0;
}

.leadership .modal-header .btn-close {
  background: url(/assets/images/close.png) no-repeat center;
  background-size: 53px;
  width: 4em;
  height: 4em;
}

.leadership .modal-body {
  background-color: #fff;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  padding: 0;
}

.profile-card {
  border: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(19, 25, 39, .12);
  background: #fff;
  width: 100%;
}

.side-panel {
  color: #fff;
  position: relative;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, #ef6a23 0%, #ff8a2a 45%, #f6b55e 100%);
  padding: 0 2em;
}

.side-panel::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: 1233px;
  pointer-events: none;
  background-image: url(/assets/images/bg-bod-card-hover.png);
  background-position-y: bottom;
  background-position-x: right;
}

.side-panel h6 {
  font-weight: 600;
  letter-spacing: .3px;
  margin: 0;
  line-height: 1.35;
  position: relative;
  z-index: 9;
}

.content-wrap {
  padding: 2.25rem 2rem;
}

.content-wrap h2 {
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.scroll-box {
  max-height: clamp(260px, 48vh, 520px);
  overflow: auto;
  padding-right: .5rem;
}

.scroll-box::-webkit-scrollbar {
  width: 10px;
}

.scroll-box::-webkit-scrollbar-thumb {
  background: #d7dbdf;
  border-radius: 10px;
}

.scroll-box::-webkit-scrollbar-track {
  background: #f1f3f5;
}

.property-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
  height: 250px; /* unify on a single explicit height to allow child to fill */
}

.property-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.property-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  transition: opacity 0.3s ease;
}

.property-card:hover .property-overlay {
  opacity: 1;
}

.property-name {
  position: absolute;
  top: 12px;
  left: 15px;
  font-weight: 400;
  font-size: 25px;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  z-index: 9;
}

.view-more {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
  align-self: self-end;
}

.property-card:hover .view-more {
  opacity: 1;
  transform: translateY(0);
}

.desc {
  margin-top: 15px;
  padding: 0 15px;
}

.desc h5 {
  font-size: 18px;
  color: #333;
}

.desc p {
  font-size: 15px;
  color: #333;
}

.modal {
  background: linear-gradient(180deg, rgba(253, 244, 237, 1) 0%, rgba(254, 232, 198, 1) 100%);
}

.google-map iframe {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  border-radius: 20px;
}

.contact-border {
  border-top: solid 3px #1e1e1e;
  padding-top: 4em;
}

.ir-banner {
  background: url(/assets/images/ir-banner.jpg) no-repeat center center;
  background-size: cover;
  height: 47vh;
  position: relative;
}

.ir-banner-desc {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.ir-banner-desc h1 {
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  margin: 0;
  color: #fff;
}

.ir-body.page-section::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0px;
  width: 198px;
  height: 182px;
  background: url(/assets/images/bg-flame-ir.png) no-repeat right top / contain;
  pointer-events: none;
}

.news-list {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: solid 1px #333;
}

.news-list a {
  text-decoration: none;
  color: inherit;
}

.light-bg {
  padding: 2em 2em;
  border-radius: 20px;
  background-color: #fff6e9;
}

.cg-list a {
  border-bottom: solid 1px #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  margin: 15px 0;
  color: inherit;
  text-decoration: none;
  transition: all .2s;
  font-weight: 500;
}

.cg-list a:hover {
  color: #ef6a23;
}

.cg-list a p {
  transition: all .2s;
  margin-bottom: 10px;
}

.cg-list a img {
  transition: all .2s;
  margin-bottom: 10px;
  width: 25px;
  margin-left: 2em;
}

.accordion-item,
.accordion-button,
.accordion-button:focus {
  background-color: transparent !important;
  border-color: #333 !important;
  border-radius: 0 !important;
  border-left: none !important;
  border-right: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed)::after {
  background-image: url(/assets/images/icon-right.svg);
  transform: rotate(90deg);
}

.accordion-button::after {
  background-image: url(/assets/images/icon-right.svg);
}

.accordion-body a {
  color: inherit;
  text-decoration: none;
  margin-bottom: 1em;
  transition: all .2s;
}

.accordion-body a:hover {
  color: #ef6a23;
}

.text-orange {
  color: #ef6a23;
}

.ar-list {
  display: flex;
  align-items: center;
}

.ar-list img.ar-cover {
  margin-right: 3em;
  box-shadow: 3px 3px 10px 0px rgba(150,150,150,0.75);
  -webkit-box-shadow: 3px 3px 10px 0px rgba(150,150,150,0.75);
  -moz-box-shadow: 3px 3px 10px 0px rgba(150,150,150,0.75);
}

.ar-list h1 {
  font-size: 40px;
  font-weight: 600;
  margin-bottom: 1em;
}

.ar-list a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1em;
  width: 225px;
  transition: all .2s;
}

.ar-list a:hover {
  color: #ef6a23;
}

.ar-list a img {
  width: 20px;
}

.newsroom-list ul {
  list-style: none;
  padding: 0;
}

.newsroom-list li {
  display: inline-flex;
  align-items: baseline;
  border-bottom: solid 1px #333;
  padding-bottom: 1em;
  margin-bottom: 1em;
}

.news-date {
  margin: 0;
  font-weight: 600;
  width: 200px;
}

.news-title {
  margin: 0;
}

.news-title a {
  color: inherit;
  text-decoration: none;
}

.news-filter {
  display: inline-flex;
  align-items: center;
}

.search-news {
  background: #fff;
  border: solid 1px #ccc;
  padding: 8px 10px;
  border-radius: 25px;
  width: 400px;
  margin-top: 8px;
}

.search-news input#news_search {
  border: none;
  width: 90%;
  outline: none;
}

.search-news input.search-icon {
  background-image: url(/assets/images/search-icon.png);
  background-repeat: no-repeat;
  background-size: 25px;
  background-color: #fff;
  border: none;
  width: 30px;
}

.about-box {
  display: inline-flex;
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
  padding: 2em 2em;
  background-color: #fff6e9;
}

.about-box img {
  width: 350px;
  margin: 0 2em;
}

.btn-orange a {
  color: #ef6a23;
  font-size: 14px;
  padding: 5px !important;
  border: solid 1px #ef6a23 !important;
}

@media (max-width: 1199px) {
  .ar-list {
    display: grid;
  }
  .ar-desc {
    margin-top: 1em;
  }
}

@media (max-width: 991px) {
  .content-wrap {
    padding: 1.75rem 1.25rem;
  }
  .side-panel {
    padding: 1.75rem 1.25rem;
  }
  .property-card {
    height: 220px;
  }
  .newsroom-list li {
    display: grid;
  }
  .news-date {
    margin-bottom: 1em;
  }
  .about-box {
    display: grid;
  }
  .about-box img {
    margin-bottom: 2em;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .about-box img {
    width: 320px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 575px) {
  .feature-column::before {
    display: none;
  }
  .feature-column {
    border-bottom: solid 3px var(--primary-orange);
  }
}

@media (max-width: 425px) {
  .search-news {
    width: 100%;
  }
  .search-news input#news_search {
    width: 85%;
  }
}