/* ===== TOP BANNER ===== */
.navbar-site .container {
  padding-left: 0;
}

.navbar-site-wordmark {
  margin-left: -70px;
}


/* ===== HERO SECTION ===== */
.hero-section {
  background: #cc0000;
  color: #fff;
  padding: 16px 0 40px;
  margin-bottom: 0;
}

.hero-section h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 10px;
  color: #F1BE48;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

.hero-section .hero-subtitle {
  font-size: 1rem;
  opacity: 0.88;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}

/* ===== SECTION LAYOUT ===== */
.content-section {
  padding: 36px 0;
  border-bottom: 1px solid #e8e8e8;
}

.content-section:last-child {
  border-bottom: none;
  padding-bottom: 48px;
}

.content-section h2 {
  margin-top: 0;
  margin-bottom: 20px;
}

/* ===== PROJECT OVERVIEW CARD ===== */
.overview-card {
  background: #f8f8f8;
  border-left: 4px solid #C8102E;
  border-radius: 4px;
  padding: 20px 24px;
  margin-bottom: 24px;
}

.overview-card p {
  margin: 0 0 8px;
}

.overview-card p:last-child {
  margin-bottom: 0;
}

/* ===== TEAM MEMBER CARDS ===== */
.team-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.team-row > [class*="col-"] {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.team-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 24px 16px 20px;
  margin-bottom: 24px;
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.team-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
  transform: translateY(-4px);
}

.team-photo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid #C8102E;
}

.team-name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  color: #1a1a1a;
}

.team-role {
  font-size: 13px;
  color: #8492a6;
  margin-bottom: 10px;
  display: block;
}

.team-bio {
  font-size: 13px;
  color: #555;
  margin: 0;
}

/* ===== DOCUMENT / REPORT LISTS ===== */
.doc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-list li {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  margin-bottom: 10px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.doc-list li:hover {
  background: #fff9ee;
  border-color: #F1BE48;
}

.doc-list li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 14px 18px;
  color: #333;
  text-decoration: none;
  font-size: 15px;
}

.doc-list li a:hover {
  text-decoration: none;
  color: #C8102E;
}

.doc-icon {
  color: #C8102E;
  margin-right: 14px;
  font-size: 18px;
  width: 22px;
  text-align: center;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}

.doc-label {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

.doc-arrow {
  color: #bbb;
  font-size: 12px;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  -webkit-transform: translateY(24px);
          transform: translateY(24px);
  -webkit-transition: opacity 0.55s ease, -webkit-transform 0.55s ease;
          transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

/* Hero entrance */
.hero-section h1,
.hero-section .hero-subtitle {
  opacity: 0;
  -webkit-transform: translateY(18px);
          transform: translateY(18px);
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
          transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-section.hero-loaded h1 {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}

.hero-section.hero-loaded .hero-subtitle {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
  -webkit-transition-delay: 0.18s;
          transition-delay: 0.18s;
}

/* Active section nav highlight */
.navbar-menu .nav > li.active-section > a {
  border-bottom: 2px solid #F1BE48;
  padding-bottom: 12px;
}

/* ===== FANCY ANIMATIONS ===== */

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #C8102E 0%, #F1BE48 50%, #C8102E 100%);
  background-size: 200% 100%;
  z-index: 10000;
  -webkit-transition: width 0.08s linear;
          transition: width 0.08s linear;
  -webkit-animation: progress-shimmer 2.5s linear infinite;
          animation: progress-shimmer 2.5s linear infinite;
}

@-webkit-keyframes progress-shimmer {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
@keyframes progress-shimmer {
  0%   { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

/* Hero: needs positioning for Three.js canvas overlay */
.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.hero-section .container {
  position: relative;
  z-index: 1;
  padding-left: 0;
}

.hero-text {
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  padding: 14px 20px;
  margin-left: -70px;
}

/* Scale back scene on small screens */
@media (max-width: 600px) {
  #scene-wrap {
    opacity: 0.35;
  }
}

/* Section heading animated gradient underline */
.content-section h2 {
  display: inline-block;
  position: relative;
}

.content-section h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #C8102E, #F1BE48);
  -webkit-transition: width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
          transition: width 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-section h2.heading-revealed::after {
  width: 100%;
}

/* Team photo subtle pulse glow */
@-webkit-keyframes photo-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(200, 16, 46, 0.30); }
  50%       { box-shadow: 0 0 0 7px rgba(200, 16, 46, 0);    }
}
@keyframes photo-pulse {
  0%, 100% { box-shadow: 0 0 0 0   rgba(200, 16, 46, 0.30); }
  50%       { box-shadow: 0 0 0 7px rgba(200, 16, 46, 0);    }
}

.team-photo {
  -webkit-animation: photo-pulse 3s ease-in-out infinite;
          animation: photo-pulse 3s ease-in-out infinite;
}

/* Ripple — needs anchor to be positioned */
.doc-list li a {
  position: relative;
  overflow: hidden;
}

.click-ripple {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.22);
  -webkit-transform: translate(-50%, -50%) scale(0);
          transform: translate(-50%, -50%) scale(0);
  -webkit-animation: ripple-expand 0.65s ease-out forwards;
          animation: ripple-expand 0.65s ease-out forwards;
  pointer-events: none;
}

@-webkit-keyframes ripple-expand {
  to {
    -webkit-transform: translate(-50%, -50%) scale(35);
            transform: translate(-50%, -50%) scale(35);
    opacity: 0;
  }
}
@keyframes ripple-expand {
  to {
    -webkit-transform: translate(-50%, -50%) scale(35);
            transform: translate(-50%, -50%) scale(35);
    opacity: 0;
  }
}

/* ===== LEGACY CLEANUP ===== */
.team-list img {
  width: 50%;
}

.team-list .content {
  width: 50%;
}

.team-list .content .follow {
  position: absolute;
  bottom: 24px;
}

.team-list:hover {
  -webkit-transform: scale(1.05);
          transform: scale(1.05);
}

.team, .team-list {
  -webkit-transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0s;
}

@media (max-width: 768px) {
  .team-list img,
  .team-list .content {
    width: 100%;
    float: none !important;
  }
  .team-list img .follow,
  .team-list .content .follow {
    position: relative;
    bottom: 0;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }
}

.social-icon.social li a {
  color: #adb5bd;
  border-color: #adb5bd;
}
.social-icon li a {
  color: #35404e;
  border: 1px solid #35404e;
  display: inline-block;
  height: 32px;
  text-align: center;
  font-size: 15px;
  width: 32px;
  line-height: 30px;
  -webkit-transition: all 0.4s ease;
  transition: all 0.4s ease;
  overflow: hidden;
  position: relative;
}
.rounded {
  border-radius: 5px !important;
}
.para-desc {
  max-width: 600px;
}
.text-muted {
  color: #8492a6 !important;
}
.section-title .title {
  letter-spacing: 0.5px;
  font-size: 30px;
}

.navbar-site .wordmark-unit {
  margin: 20px 0 30px;
}

