/* ============================================================
   THREE.JS HERO + ENHANCED HOMEPAGE STYLES
   ============================================================ */

/* ===== PREMIUM SWIPER HERO ===== */
.hero { position: relative; height: 100vh; min-height: 650px; overflow: hidden; background: #0C1B3A; }
.hero__canvas { position: absolute; inset: 0; z-index: 0; }
.hero-swiper { width: 100%; height: 100%; position: absolute; inset: 0; z-index: 1; }
.hero-swiper .swiper-slide { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }

/* Backgrounds */
.hero__bg-img, .hero__bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transform: scale(1.08); transition: transform 8s ease; opacity: 0.8; }
.swiper-slide-active .hero__bg-img, .swiper-slide-active .hero__bg-video { transform: scale(1); }
.hero__bg-gradient { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(12,27,58,0.95) 0%, rgba(27,63,139,0.7) 100%); z-index: 2; }

/* Content Animations */
.hero-swiper .hero__content { position: relative; z-index: 3; max-width: 800px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__label { display: inline-flex; align-items: center; gap: 10px; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; color: var(--eg-orange); margin-bottom: 24px; padding: 8px 20px; background: rgba(232,119,34,0.1); border: 1px solid rgba(232,119,34,0.2); border-radius: var(--radius-full); backdrop-filter: blur(8px); }
.hero__title { font-family: var(--font-heading); font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 800; color: var(--white); line-height: 1.1; margin-bottom: 24px; opacity: 0; transform: translateY(40px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s; }
.hero__subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.85); line-height: 1.8; margin-bottom: 40px; opacity: 0; transform: translateY(30px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s; }
.hero__actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; opacity: 0; transform: translateY(20px); transition: all 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s; }

/* Animate in active slide */
.swiper-slide-active .hero__title, .swiper-slide-active .hero__subtitle, .swiper-slide-active .hero__actions { opacity: 1; transform: translateY(0); }

/* Highlight Text */
.hero__highlight { background: linear-gradient(135deg, var(--eg-orange), var(--eg-green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Swiper Controls */
.hero-swiper .swiper-button-next, .hero-swiper .swiper-button-prev { color: var(--white); background: rgba(255,255,255,0.1); width: 50px; height: 50px; border-radius: 50%; backdrop-filter: blur(8px); transition: all var(--duration) var(--ease); border: 1px solid rgba(255,255,255,0.2); }
.hero-swiper .swiper-button-next:hover, .hero-swiper .swiper-button-prev:hover { background: var(--eg-orange); border-color: var(--eg-orange); transform: scale(1.1); }
.hero-swiper .swiper-button-next:after, .hero-swiper .swiper-button-prev:after { font-size: 1.2rem; font-weight: bold; }
.hero-swiper .swiper-pagination-bullet { background: var(--white); opacity: 0.4; width: 10px; height: 10px; transition: all 0.4s ease; }
.hero-swiper .swiper-pagination-bullet-active { opacity: 1; background: var(--eg-orange); width: 32px; border-radius: 5px; }

/* Logo floating in hero */
.hero__floating-logo { position: absolute; top: 50%; right: 8%; transform: translateY(-50%); z-index: 3; width: 280px; opacity: 0.08; animation: float 6s ease-in-out infinite; pointer-events: none; }
@keyframes float { 0%,100% { transform: translateY(-50%) translateX(0); } 50% { transform: translateY(-55%) translateX(-8px); } }

/* ===== ABOUT SNAPSHOT ===== */
.about-snapshot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-snapshot__desc { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; margin: 20px 0 32px; }
.about-snapshot__features { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.about-snapshot__feature { display: flex; gap: 16px; align-items: flex-start; }
.about-snapshot__feature-icon { width: 48px; height: 48px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; transition: all 0.4s var(--ease); }
.about-snapshot__feature:nth-child(1) .about-snapshot__feature-icon { background: rgba(58,142,56,0.1); color: var(--eg-green); }
.about-snapshot__feature:nth-child(2) .about-snapshot__feature-icon { background: rgba(27,63,139,0.1); color: var(--eg-blue); }
.about-snapshot__feature:nth-child(3) .about-snapshot__feature-icon { background: rgba(232,119,34,0.1); color: var(--eg-orange); }
.about-snapshot__feature:hover .about-snapshot__feature-icon { transform: scale(1.15) rotate(-5deg); }
.about-snapshot__feature strong { font-size: 0.95rem; display: block; margin-bottom: 2px; }
.about-snapshot__feature p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }
.about-snapshot__image-grid { position: relative; }
.about-snapshot__img-main { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); position: relative; }
.about-snapshot__img-main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,27,58,0.3), transparent 50%); }
.about-snapshot__img-main img { width: 100%; height: 420px; object-fit: cover; }
.about-snapshot__img-accent { position: absolute; bottom: -24px; right: -24px; }
.about-snapshot__exp-badge { background: linear-gradient(135deg, var(--eg-orange), var(--eg-orange-light)); padding: 28px 32px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-glow-orange); }
.about-snapshot__exp-num { display: block; font-family: var(--font-heading); font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.about-snapshot__exp-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.85); }

/* ===== CONCERNS GRID ===== */
.concerns-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 24px; }
.concern-card__logo-placeholder { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, rgba(27,63,139,0.08), rgba(58,142,56,0.08)); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 1.8rem; color: var(--secondary); }
.concern-card__arrow { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--secondary); margin-top: 16px; transition: all var(--duration) var(--ease); }
.concern-card:hover .concern-card__arrow { background: var(--eg-orange); color: var(--white); transform: translateX(4px); }

/* ===== NEWS GRID ===== */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px; }

/* ===== TESTIMONIALS GRID ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.section--dark .testimonial-card__quote { color: rgba(255,255,255,0.9); }
.section--dark .testimonial-card__name { color: var(--white); }
.section--dark .testimonial-card__company { color: rgba(255,255,255,0.5); }

/* ===== CTA SECTION ===== */
.cta-section { padding: 100px 0; background: var(--surface); }
.cta-inner { background: var(--gradient-primary); border-radius: var(--radius-xl); padding: 64px; text-align: center; position: relative; overflow: hidden; }
.cta-inner::before { content: ''; position: absolute; top: -50%; right: -20%; width: 450px; height: 450px; background: radial-gradient(circle, rgba(232,119,34,0.15), transparent 70%); }
.cta-inner::after { content: ''; position: absolute; bottom: -30%; left: -10%; width: 350px; height: 350px; background: radial-gradient(circle, rgba(58,142,56,0.12), transparent 70%); }
.cta-title { font-family: var(--font-heading); font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.cta-text { font-size: 1.05rem; color: rgba(255,255,255,0.65); max-width: 550px; margin: 0 auto 32px; line-height: 1.7; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 50px; height: 50px; border-radius: 50%; background: var(--eg-orange); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-glow-orange); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--duration) var(--ease); z-index: 999; cursor: pointer; border: none; font-size: 1.1rem; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--secondary); box-shadow: var(--shadow-glow-blue); transform: translateY(-4px); }

/* ===== CORE VALUES (GLASSMORPHISM GRID) ===== */
.core-values { padding: 120px 0; position: relative; background: url('../images/homepage/core_values_bg_1780910023981.png') center/cover no-repeat fixed; }
.core-values::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(12,27,58,0.9), rgba(12,27,58,0.7)); }
.core-values .container { position: relative; z-index: 2; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 30px; margin-top: 50px; }
.value-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-xl); padding: 48px 32px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); text-align: center; transition: all 0.5s var(--ease); overflow: hidden; position: relative; }
.value-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 50% 0%, rgba(232,119,34,0.15), transparent 60%); opacity: 0; transition: opacity 0.5s var(--ease); }
.value-card:hover { transform: translateY(-10px); border-color: rgba(232,119,34,0.4); background: rgba(255,255,255,0.06); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.value-card:hover::before { opacity: 1; }
.value-card__icon { font-size: 2.5rem; color: var(--eg-orange); margin-bottom: 24px; position: relative; z-index: 1; transition: transform 0.5s var(--ease); }
.value-card:hover .value-card__icon { transform: scale(1.15); }
.value-card__title { font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 16px; position: relative; z-index: 1; }
.value-card__desc { font-size: 1rem; color: rgba(255,255,255,0.7); line-height: 1.7; position: relative; z-index: 1; }

/* ===== GLOBAL FOOTPRINT (PARALLAX NETWORK) ===== */
.global-footprint { padding: 140px 0; position: relative; background: url('../images/homepage/global_network_bg_1780910036817.png') center/cover no-repeat; overflow: hidden; }
.global-footprint::before { content: ''; position: absolute; inset: 0; background: rgba(8,14,30,0.85); }
.global-footprint .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.global-content { flex: 1; max-width: 500px; }
.global-content h2 { font-family: var(--font-heading); font-size: clamp(2.5rem, 4vw, 3.5rem); font-weight: 800; color: var(--white); margin-bottom: 24px; }
.global-content p { font-size: 1.15rem; color: rgba(255,255,255,0.7); line-height: 1.8; margin-bottom: 40px; }
.global-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.global-stat-number { font-family: var(--font-heading); font-size: 3rem; font-weight: 800; color: var(--eg-orange); line-height: 1; margin-bottom: 8px; }
.global-stat-label { font-size: 1rem; color: var(--white); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ===== LEADERSHIP EDITORIAL ===== */
.leadership { padding: 120px 0; background: var(--surface); }
.leadership-layout { display: grid; grid-template-columns: 5fr 6fr; gap: 0; align-items: center; }
.leadership-img { position: relative; z-index: 1; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); transform: translateX(40px); }
.leadership-img img { width: 100%; height: 600px; object-fit: cover; display: block; }
.leadership-content { background: var(--white); padding: 80px 60px; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); position: relative; z-index: 2; transform: translateX(-40px); }
.leadership-content .quote-icon { font-size: 3rem; color: rgba(27,63,139,0.1); margin-bottom: 24px; }
.leadership-quote { font-family: var(--font-heading); font-size: 1.6rem; font-style: italic; color: var(--primary); line-height: 1.6; margin-bottom: 32px; }
.leadership-author { border-left: 3px solid var(--eg-orange); padding-left: 20px; }
.leadership-author h4 { font-size: 1.2rem; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.leadership-author span { font-size: 0.95rem; color: var(--text-light); font-weight: 500; }

/* ===== PARTNER MARQUEE ===== */
.partner-marquee { background: var(--white); padding: 60px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; display: flex; }
.marquee-track { display: flex; align-items: center; gap: 80px; padding: 0 40px; animation: scrollMarquee 30s linear infinite; }
.marquee-item { flex-shrink: 0; filter: grayscale(100%) opacity(0.5); transition: all 0.4s ease; font-size: 1.5rem; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 12px; }
.marquee-item:hover { filter: grayscale(0%) opacity(1); transform: scale(1.05); color: var(--eg-blue); }
@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 992px) {
  .leadership-layout { grid-template-columns: 1fr; }
  .leadership-img { transform: translateX(0); height: 400px; }
  .leadership-img img { height: 100%; }
  .leadership-content { transform: translateX(0) translateY(-40px); padding: 50px 30px; margin: 0 20px; }
  .global-footprint .container { flex-direction: column; }
}

@media (max-width: 768px) {
  .hero { min-height: 550px; }
  .hero__title { font-size: 2rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__floating-logo { display: none; }
  .about-snapshot { grid-template-columns: 1fr; gap: 40px; }
  .about-snapshot__img-main img { height: 280px; }
  .concerns-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
  .news-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .global-stats { grid-template-columns: 1fr; gap: 20px; }
  .cta-inner { padding: 40px 24px; }
}
