/* ========================================
   HOME PAGE - BOOTSTRAP ENHANCED STYLES
   ======================================== */

/* ---------------- HERO VIDEO ---------------- */

.hero-section {
  height: 100vh;
  padding-top: 110px;
}

.object-fit-cover {
  object-fit: cover;
}

/* Darker cinematic overlay */
.hero-dark-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.65));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* HERO TEXT STYLE */
#heroTitle,
#heroDesc {
  color: #fff;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.55);
}

/* Smooth animation states */
.hero-fade {
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.hero-fade.hide {
  opacity: 0;
  transform: translateY(14px);
}

/* ===== HERO BUTTON WRAPPER ===== */
.hero-btns .btn {
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.35s ease;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #ffc107, #ffb300);
  color: #111;
  border: none;
  box-shadow: 0 10px 25px rgba(255, 193, 7, 0.35);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(255, 193, 7, 0.45);
  color: #111;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-3px);
  color: #fff;
}

/* ================= SPLIT SECTION ================= */

.split-section h2 {
  color: var(--primary-color);
  font-weight: 700;
}

.split-section p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--neutral-color);
}

.split-section img {
  transition: transform 0.45s ease;
}

.split-section img:hover {
  transform: translateY(-10px);
}

/* From Uiverse.io by fthisilak */
.invest-now-btn {
  position: relative;
  padding: 12px 24px;
  font-size: 16px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.invest-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.icon-container {
  position: relative;
  width: 24px;
  height: 24px;
}

.icon {
  position: absolute;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  color: #fff;
  opacity: 0;
  visibility: hidden;
}

.default-icon {
  opacity: 1;
  visibility: visible;
}

/* Hover animations */
.invest-now-btn:hover .icon {
  animation: none;
}

.invest-now-btn:hover .growth-icon {
  opacity: 0;
  visibility: hidden;
}

.invest-now-btn:hover .coin-icon {
  animation: iconRotate 2.5s infinite;
  animation-delay: 0.5s;
}

.invest-now-btn:hover .analytics-icon {
  animation: iconRotate 2.5s infinite;
  animation-delay: 0s;
}

.invest-now-btn:hover .shield-icon {
  animation: iconRotate 2.5s infinite;
  animation-delay: 1s;
}

.invest-now-btn:hover .check-icon {
  animation: iconRotate 2.5s infinite;
  animation-delay: 1.5s;
}

.invest-now-btn:active .icon {
  animation: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.invest-now-btn:active .check-icon {
  animation: checkmarkAppear 0.6s ease forwards;
  visibility: visible;
}

@keyframes iconRotate {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.5);
  }
  5% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  15% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
  20% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.5);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.5);
  }
}

@keyframes checkmarkAppear {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

/* .btn-learn-more {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 26px;
  font-weight: 500;
  letter-spacing: 0.5px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.35s ease;
}

.btn-learn-more:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  color: #000;
}

.btn-learn-more .arrow {
  transition: transform 0.3s ease;
}

.btn-learn-more:hover .arrow {
  transform: translateX(6px);
} */

.about-image-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.about-image {
  max-height: 350px;
  width: 100%;
  height: auto;

  mix-blend-mode: darken;
  opacity: 0.9;
}

/* ================= STATS ================= */
.stats-section {
  background: #f8f9fa;
}

/* Card look instead of plain text */
.stat-card {
  background: #fff;
  padding: 32px 20px;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

/* Numbers */
.stat-number {
  font-weight: 700;
  color: var(--secondary-color);
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.stat-number.plus::after {
  content: "+";
  margin-left: 2px;
}

.stat-number.percent::after {
  content: "%";
  margin-left: 2px;
}

/* Title */
.stat-title {
  font-weight: 600;
  color: #111;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-left: 2px;
}

/* ================= TEAM SECTION ================= */
.team-section {
  background: var(--light-bg);
}

.leader-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.leader-image {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.leader-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.leader-card:hover .leader-image img {
  transform: scale(1.1);
}

.leader-info {
  padding: 2rem;
}

.leader-name {
  font-size: 1.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.leader-role {
  font-size: 1rem;
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.leader-bio {
  font-size: 0.95rem;
  color: var(--neutral-color);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.leader-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.leader-linkedin:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* ===== Meet Our Team Button ===== */
.btn-meet-team {
  background: var(--primary-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.35s ease;
}

.btn-meet-team:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  color: #fff;
}

.btn-meet-team .arrow {
  transition: transform 0.3s ease;
}

.btn-meet-team:hover .arrow {
  transform: translateX(6px);
}

/* =====================================================
   HOW WE DO IT – LEFT TITLE + DESC / RIGHT IMAGE
===================================================== */

.how-item {
  background: #fff;
  padding: 20px 22px;
  border-radius: 14px;
  margin-bottom: 16px;
  cursor: pointer;
  border: 1px solid #eee;
  transition: all 0.35s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.how-item:hover {
  transform: translateX(6px);
}

.how-item.active {
  border-left: 4px solid #ffc107;
  background: #111;
  color: #fff;
}

.how-item.active .how-desc {
  color: rgba(255, 255, 255, 0.85);
}

.how-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.how-desc {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  transition: all 0.35s ease;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.how-item.active .how-desc {
  max-height: 200px;
  opacity: 1;
  margin-top: 8px;
}

.how-item.active {
  border-left: 4px solid #ffc107;
  background: #fff;
}

.how-item.active .how-desc {
  color: #444;
}

/* RIGHT IMAGE (STACKED IN GRID) */
.how-img-grid {
  display: grid;
  place-items: center;
}

.how-right-img {
  grid-area: 1 / 1;
  max-height: 340px;
  opacity: 0;
  transform: translate3d(15px, 0, 0);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
  mix-blend-mode: darken;
  will-change: opacity, transform;
  backface-visibility: hidden;
  z-index: 1;
}

.how-right-img.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  z-index: 2;
}

/* =====================================================
   FAQ SECTION
===================================================== */

.faq-item {
  background: #fff;
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 18px 20px;
  cursor: pointer;
  border: 1px solid #eee;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.faq-item:hover {
  transform: translateX(6px);
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-icon {
  font-size: 20px;
  color: #ffc107;
  transition: transform 0.3s ease;
}

/* ANSWER — height/opacity/transition managed by JS (initFaqAccordions) */
.faq-answer {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ACTIVE FAQ */
.faq-item.active {
  border-left: 4px solid #ffc107;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* RIGHT IMAGE */
.faq-img {
  max-height: 340px;
  mix-blend-mode: darken;
}

/* ================= BOOTSTRAP INFINITE LOGO ================= */

.logo-marquee {
  width: max-content;
  animation: scrollInfinite 35s linear infinite;
}

.brand-logo {
  height: 60px;
  margin-right: 60px;
  flex-shrink: 0;
  opacity: 0.75;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.brand-logo:hover {
  opacity: 1;
  transform: scale(1.08);
}

@keyframes scrollInfinite {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* =====================================================
   BLOG SECTION
===================================================== */

.blog-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  will-change: transform;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 18px;
}

.blog-content h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-content p {
  font-size: 0.95rem;
  color: #666;
}
/* =====================================================
   TESTIMONIAL SECTION (FIXED SIZE + IMAGE)
===================================================== */

.testimonial-marquee {
  width: max-content;
  animation: testScroll 40s linear infinite;
  will-change: transform;
}

.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin-right: 30px;
  width: 320px; /* fixed width */
  height: 185px;
  border: 1px solid #eee;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.testimonial-top {
  gap: 12px;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #666;
  margin-top: 12px;

  /* keeps text height consistent */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* INFINITE SMOOTH SCROLL */
@keyframes testScroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.logo-marquee,
.testimonial-marquee {
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: content;
}

/* =====================================================
   CREDENTIALS SECTION
===================================================== */

.credentials-section {
  background: #fff;
}

.credential-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.credential-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  border-color: var(--secondary-color, #ffc107);
}

.credential-logo-wrap {
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.credential-logo-img {
  max-height: 65px;
  max-width: 250px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.credential-card:hover .credential-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

.credential-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.credential-authority {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color, #1a1a2e);
  letter-spacing: 1px;
}

.credential-label {
  font-size: 0.82rem;
  color: #888;
  margin: 0;
  line-height: 1.4;
  text-align: center;
}

.credential-badge {
  margin-top: 6px;
  background: #f8f9fa;
  border-radius: 50px;
  padding: 6px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e9ecef;
}

.credential-reg-label {
  font-size: 0.75rem;
  color: #999;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.credential-reg-number {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-color, #1a1a2e);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  #heroTitle {
    font-size: 2.3rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
    min-height: 440px; /* prevents too small on tiny phones */
    padding-top: 90px;
  }

  /* Hero spacing fix for navbar */
  .vh-100 {
    min-height: 85vh;
  }

  /* Improve readability on small screens */
  #heroTitle {
    line-height: 1.2;
  }

  #heroDesc {
    font-size: 1rem;
  }

  /* Split section stack */
  .split-section {
    text-align: center;
  }

  .split-section img {
    max-height: 260px !important;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 50vh;
    min-height: 440px; /* prevents too small on tiny phones */
    padding-top: 90px;
  }

  #heroTitle {
    font-size: 1.8rem;
  }

  #heroDesc {
    font-size: 0.95rem;
  }

  .lead {
    font-size: 0.95rem;
  }
}
