/* =====================================================
   NEXGLOBE - Home Page Styles
   ===================================================== */

/* ---- Hero ---- */
#hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 650px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: #000;
}

/* Background slideshow */
.hero-bg-slides {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  will-change: opacity;
  filter: brightness(1.2) contrast(1.05);
}
.hero-slide.active { opacity: 1; }

/* Gradient overlay for text readability */
.hero-bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(4, 9, 30, 0.55);
}

/* ---- Hero body: left text + right cards ---- */
.hero-body {
  position: relative; z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: flex-end;
  gap: 20px;
  padding: 110px 52px 100px;
  box-sizing: border-box;
}

/* Left column — fills remaining grid space */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(20, 20, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  padding: 8px 20px; border-radius: 99px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  width: fit-content;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #E1AD01;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-family: 'Butler', 'Cormorant Garant', serif;
  font-size: clamp(2.4rem, 3.8vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.gold-text {
  color: #E1AD01;
}

.hero-btns {
  display: flex; align-items: center;
  gap: 14px; flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn-hero-nav {
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 600;
  background: var(--gold-gradient);
  border: 1.5px solid transparent;
  color: var(--navy-dark);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-gold);
}
.btn-hero-nav:hover, .btn-hero-nav:active {
  box-shadow: var(--shadow-gold-lg);
  transform: translateY(-3px);
  filter: brightness(1.05);
}

.btn-filled {
  background: #F0D27A;
  color: #111;
  box-shadow: none;
}
.btn-filled:hover {
  background: #f5d46e;
}

.btn-outline-gold {
  background: transparent;
  color: #F0D27A;
  border: 1px solid rgba(240, 210, 122, 0.4);
  box-shadow: none;
}
.btn-outline-gold:hover {
  border-color: #F0D27A;
  background: rgba(240, 210, 122, 0.05);
  box-shadow: none;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  line-height: 1.7;
  max-width: 550px;
  margin-bottom: 40px;
}

/* Stats row – bottom left */
.hero-stats-row {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px 28px;
  width: fit-content;
}
.hero-stat-item { text-align: center; padding: 0 20px; }
.hero-stat-item .stat-num {
  display: block;
  font-size: 1.7rem; font-weight: 800;
  color: #E1AD01;
  margin-bottom: 2px;
  line-height: 1;
}
.hero-stat-item .stat-label {
  font-size: 0.7rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em; text-transform: uppercase;
}
.hsr-divider {
  width: 1px; height: 36px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

/* ---- Right: Portrait card strip ---- */
.hero-card-strip {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
  padding-bottom: 4px;
  margin-bottom: -68px;
}

.hcs-card {
  position: relative;
  width: 76px;
  height: 168px;
  border-radius: 14px;
  overflow: hidden;
  border: 1.5px solid rgba(212,175,55,0.25);
  cursor: pointer;
  transition: width 0.45s cubic-bezier(0.4,0,0.2,1),
              transform 0.45s cubic-bezier(0.4,0,0.2,1),
              box-shadow 0.45s cubic-bezier(0.4,0,0.2,1),
              border-color 0.45s cubic-bezier(0.4,0,0.2,1);
  flex-shrink: 0;
  transform: translateY(30px);
  opacity: 0;
  animation: cardSlideUp 0.6s ease forwards;
  text-decoration: none;
}
.hcs-card[data-index="0"] { animation-delay: 0.5s; }
.hcs-card[data-index="1"] { animation-delay: 0.7s; }
.hcs-card[data-index="2"] { animation-delay: 0.9s; }
.hcs-card[data-index="3"] { animation-delay: 1.1s; }

@keyframes cardSlideUp {
  to { transform: translateY(0); opacity: 1; }
}

.hcs-card:hover {
  width: 108px;
  border-color: var(--gold-light);
  box-shadow: 0 16px 48px rgba(212,175,55,0.35), 0 0 0 1px rgba(212,175,55,0.5);
  transform: translateY(-6px);
}

.hcs-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  image-rendering: -webkit-optimize-contrast;
}
.hcs-card:hover .hcs-img { transform: scale(1.06); }

/* Neutral black gradient — NO blue tint on cards */
.hcs-grad {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.30) 50%,
    transparent 100%
  );
  transition: background 0.4s ease;
}
.hcs-card:hover .hcs-grad {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.80) 0%,
    rgba(0,0,0,0.15) 55%,
    transparent 100%
  );
}

/* Gold top-edge sweep on hover */
.hcs-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-gradient-h);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: 3;
}
.hcs-card:hover::before { transform: scaleX(1); }

.hcs-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px 14px;
  z-index: 2;
}
.hcs-label {
  display: block;
  font-size: 0.78rem; font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.4); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; z-index: 3;
  text-decoration: none;
  animation: fadeInUp 1s ease 2s both;
}
.scroll-arrow {
  width: 20px; height: 30px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex; justify-content: center; padding-top: 5px;
}
.scroll-arrow div {
  width: 3px; height: 6px;
  background: rgba(212,175,55,0.6);
  border-radius: 99px;
  animation: scroll-dot 1.8s ease-in-out infinite;
}
@keyframes scroll-dot { 0%{transform:translateY(0);opacity:1} 100%{transform:translateY(8px);opacity:0} }
@keyframes fadeInUp { from{opacity:0;transform:translateX(-50%) translateY(20px)} to{opacity:1;transform:translateX(-50%) translateY(0)} }



/* ---- Why Cards ---- */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  padding: 40px 32px;
  text-align: center;
  position: relative; overflow: hidden;
  cursor: default;
}
.why-icon-wrap {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
  border: 1.5px solid rgba(212,175,55,0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}
.why-icon { width: 32px; height: 32px; color: var(--gold-light); transition: var(--transition); }
.why-card:hover .why-icon-wrap { background: var(--gold-gradient); border-color: transparent; box-shadow: var(--shadow-gold); }
.why-card:hover .why-icon { color: var(--navy-dark); }
.why-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy-primary); margin-bottom: 12px; }
.why-card p { font-size: 0.9rem; color: var(--navy-primary); line-height: 1.7; }
.why-card-glow {
  position: absolute;
  width: 150px; height: 150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,0.12), transparent 70%);
  bottom: -40px; right: -40px;
  transition: var(--transition-slow);
  pointer-events: none;
}
.why-card:hover .why-card-glow { transform: scale(2); opacity: 0.7; }

/* ---- Services Split ---- */
.services-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.service-main-card { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.smc-image {
  height: 380px; position: relative;
  background-size: cover; background-position: center;
  transition: var(--transition-slow);
}
.service-main-card:hover .smc-image { transform: scale(1.02); }
.logistics-bg {
  background: linear-gradient(135deg, #001040, #001F5B, #0A2458),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><text y='.9em' font-size='150'>✈️</text></svg>") center/30% no-repeat;
}
.trading-bg {
  background: linear-gradient(135deg, #0a1a30, #001F5B, #1a3a6b),
    url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><text y='.9em' font-size='150'>🌐</text></svg>") center/30% no-repeat;
}
/* Override: use solid gradient since we have icons */
.logistics-bg { background: linear-gradient(160deg, #04091E 0%, #070D28 40%, #0B1535 100%); }
.trading-bg { background: linear-gradient(160deg, #060C1A 0%, #08102E 40%, #0F1840 100%); }

.smc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,9,30,0.95) 0%, rgba(4,9,30,0.4) 70%, transparent 100%);
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.smc-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px;
}
/* Real photo overlay in services split */
.smc-image { position: relative; overflow: hidden; min-height: 520px; }
.smc-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease, opacity 0.6s ease;
  filter: grayscale(100%);
  opacity: 0.25;
}
.service-main-card:hover .smc-bg-img { 
  transform: scale(1.06); 
  filter: grayscale(0%);
  opacity: 0.85;
}
.service-main-card:hover .smc-overlay {
  opacity: 0.7;
}

.smc-icon { font-size: 3.5rem; margin-bottom: 16px; }
.smc-icon-svg { margin-bottom: 20px; display: flex; align-items: center; }
.smc-content h3 { font-family: 'Butler', 'Bodoni Moda', serif; font-size: 1.8rem; color: var(--white); margin-bottom: 12px; }
.smc-content p { font-size: 0.95rem; color: rgba(255,255,255,0.75); margin-bottom: 24px; line-height: 1.6; }

.smc-bullet-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}
.smc-bullet-list li {
  position: relative;
  padding-left: 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}
.smc-bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-light);
}

/* ---- Industries ---- */
.industries-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ind-card {
  background: var(--navy-primary);
  border: 1px solid rgba(220,174,29,0.3);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-slow);
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  height: 100%;
}
.ind-card:hover {
  border-color: #E1AD01;
  box-shadow: 0 4px 15px rgba(220,174,29,0.2);
  transform: translateY(-8px);
  background: var(--navy-dark);
}
.ind-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; border-radius: 12px; background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.06)); border: 1px solid rgba(212,175,55,0.2); }
.ind-icon svg { width: 24px; height: 24px; stroke: var(--gold-light); }
.ind-card h4 { font-size: 0.88rem; font-weight: 600; color: #E1AD01; }

/* ---- Stats Banner ---- */
#stats-banner { padding: 0; }
.stats-banner-inner { position: relative; overflow: hidden; }
.stats-banner-bg {
  position: absolute; inset: 0;
  background: var(--navy-gradient);
}
.stats-banner-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 200'><defs><radialGradient id='g' cx='50%25' cy='50%25'><stop offset='0%25' stop-color='%23D4AF37' stop-opacity='0.1'/><stop offset='100%25' stop-color='transparent'/></radialGradient></defs><rect fill='url(%23g)' width='1440' height='200'/></svg>") center/cover;
}
.stats-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 70px 40px;
}
.stat-item { text-align: center; padding: 20px; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.si-num {
  display: block; font-size: 3rem; font-weight: 800;
  color: #E1AD01;
  margin-bottom: 8px;
}
.si-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); letter-spacing: 0.05em; }

/* ---- CTA Section ---- */
#cta-section { padding: 0; }
.cta-inner {
  background: var(--navy-gradient);
  padding: 100px 40px;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-bg-el {
  position: absolute; border-radius: 50%;
  pointer-events: none;
}
.cta-el1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,175,55,0.1), transparent 70%);
  top: -200px; left: -100px;
}
.cta-el2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(212,175,55,0.08), transparent 70%);
  bottom: -150px; right: -80px;
}
.cta-content { position: relative; z-index: 2; }
.cta-title {
  font-family: 'Butler', 'Bodoni Moda', serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700; color: var(--white);
  line-height: 1.15; margin-bottom: 20px;
}
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,0.65); margin-bottom: 48px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }


/* ---- Responsive ---- */
@media (max-width: 1400px) {
  .hero-body { padding: 100px 44px 40px; gap: 16px; }
  .hcs-card { width: 72px; height: 158px; }
  .hcs-card:hover { width: 102px; }
}
@media (max-width: 1200px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-body { gap: 14px; padding: 94px 30px 36px; }
  .hero-title { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
  .hcs-card { width: 68px; height: 145px; }
  .hcs-card:hover { width: 96px; }
}
@media (max-width: 1024px) {
  .hero-body {
    grid-template-columns: 1fr;
    padding: 108px 32px 32px;
    gap: 18px;
  }
  .hero-card-strip { align-self: flex-start; gap: 8px; }
  .hcs-card { width: 88px; height: 148px; }
  .hcs-card:hover { width: 118px; }
}
@media (max-width: 900px) {
  .services-split { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }
  .hero-card-strip { gap: 7px; }
  .hcs-card { width: 74px; height: 128px; border-radius: 10px; }
  .hcs-card:hover { width: 98px; }
}
@media (max-width: 640px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-bg-overlay {
    background: rgba(4, 9, 30, 0.65);
  }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-body { padding: 110px 16px 80px; justify-items: start; align-items: stretch; text-align: left; }
  .hero-left { align-items: flex-start; text-align: left; width: 100%; justify-content: flex-start; }
  .hero-badge { width: fit-content; margin-bottom: 24px; margin-left: 0; }
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.4rem); line-height: 1.08; margin-bottom: 16px; text-align: left; letter-spacing: -0.02em; word-break: break-word; }
  .hero-sub { max-width: 280px; font-size: 1.05rem; line-height: 1.5; text-align: left; margin-bottom: 40px; color: rgba(255,255,255,0.85); }
  .hero-btns { justify-content: flex-start; }
  .hero-bottom-btns { flex-direction: column !important; align-items: stretch !important; gap: 16px !important; width: 100%; max-width: 280px; margin-top: auto !important; }
  .hero-bottom-btns a { width: 100%; justify-content: center; padding: 14px 20px; }
  .hero-stats-row { padding: 12px 12px; }
  .hero-stat-item { padding: 0 10px; }
  .hero-stat-item .stat-num { font-size: 1.3rem; }
  .hsr-divider { height: 22px; }
  .hero-card-strip { display: none; }
  #stats-banner { padding: 24px 16px; }
  .stats-banner-inner { border-radius: 20px; box-shadow: var(--shadow-md); }
  .stats-grid { padding: 40px 20px; }
  .si-num { font-size: 2.4rem; }
  .si-label { font-size: 0.75rem; }
  .stat-item { padding: 10px; }
  .stat-item:nth-child(1), .stat-item:nth-child(2) { padding-bottom: 24px; }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { padding-top: 24px; }
  .hero-scroll-hint { 
    left: auto; right: 20px; bottom: 20px; 
    transform: none !important; 
    font-size: 0; color: transparent; 
  }
  .hero-scroll-hint .scroll-arrow { 
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.4); 
    display: flex; align-items: center; justify-content: center; padding: 0; position: relative;
  }
  .hero-scroll-hint .scroll-arrow::after {
    content: '↓'; font-size: 18px; color: white; display: block; line-height: 1;
  }
  .hero-scroll-hint .scroll-arrow div { display: none; }
}






/* ---- CTA Section Layout ---- */
.cta-flex-container {
  display: flex; align-items: stretch; gap: 0; padding: 0; overflow: hidden;
}
.cta-text-col {
  flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center;
  padding: 80px 60px; position: relative; z-index: 2;
}
.cta-img-col {
  flex: 0 0 45%; position: relative; overflow: hidden; min-height: 420px;
}

@media (max-width: 900px) {
  .cta-flex-container {
    flex-direction: column;
  }
  .cta-img-col {
    flex: none; width: 100%; min-height: 350px;
  }
  .cta-text-col {
    padding: 60px 30px;
  }
}
@media (max-width: 600px) {
  .cta-text-col { padding: 50px 20px; }
  .cta-img-col { min-height: 280px; }
}
