/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== HEADER / NAVBAR ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
  background: #ffffff;
  border-bottom: 1px solid #e8ecf2;
  transition: all 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.nav {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #294FFF;
  -webkit-text-fill-color: #294FFF;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  color: #33475b;
  letter-spacing: 0.2px;
  transition: color 0.2s;
  font-weight: 500;
}

.nav-links a:hover {
  color: #000;
}

.nav-cta {
  padding: 11px 26px;
  background: #ff5c35;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  transition: background 0.2s, transform 0.2s;
  margin-left: 5px;
}

.nav-cta:hover {
  background: #e5431e;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #33475b;
  transition: 0.3s;
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-dropdown > a .dropdown-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.3s;
  margin-top: 1px;
}

.nav-dropdown:hover > a {
  color: #000;
}

.nav-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 300px;
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 8px;
  padding: 8px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 3000;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  top: calc(100% + 6px);
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.87rem;
  color: #33475b !important;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: #f5f8fa;
  color: #294FFF !important;
}

/* invisible bridge so hover doesn't break between link and dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 15px;
}

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 40px 80px;
  position: relative;
  overflow: hidden;
  background: #050A14;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 1;
}


.hero-content {
  position: relative;
  z-index: 10;
  max-width: 750px;
  background: none;
  padding: 50px 60px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 22px;
  border: 1px solid rgba(140,212,74,0.7);
  border-radius: 50px;
  font-size: 0.8rem;
  color: #b8f06a;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
  background: rgba(97,162,41,0.2);
  font-weight: 700;
  backdrop-filter: blur(8px);
  text-shadow: 0 0 10px rgba(140,212,74,0.3);
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

.hero h1 .highlight {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.hero h1 .highlight-green {
  filter: drop-shadow(0 0 15px rgba(140,212,74,0.4));
  -webkit-text-fill-color: initial;
  color: #8cd44a;
  white-space: nowrap;
}

.hero h1 .highlight-green .driven-text {
  background: linear-gradient(135deg, #8cd44a, #b8f06a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rotating-wrapper {
  display: inline-block;
  position: relative;
  width: 8em;
  text-align: left;
  vertical-align: baseline;
}

.rotating-word {
  display: inline-block;
  background: linear-gradient(135deg, #8cd44a, #b8f06a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.45s ease, transform 0.45s ease;
  opacity: 1;
  transform: translateY(0);
}

.rotating-word.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.rotating-word.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: slideUp 0.45s ease forwards;
}

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

.hero-dot {
  color: #f5a623;
  -webkit-text-fill-color: #f5a623;
  font-weight: 900;
  transition: opacity 0.4s ease;
}

.hero-sub {
  font-size: 1.15rem;
  color: #e0eaf5;
  font-weight: 500;
  max-width: 550px;
  margin: 20px auto 40px;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.btn-secondary-light {
  color: #aab;
  border-color: rgba(255,255,255,0.2);
}

.btn-secondary-light:hover {
  border-color: #00c6ff;
  color: #00c6ff;
}

/* header-dark class kept for compatibility but header is always white */

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  background: #61a229;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: #4e8221;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(97,162,41,0.3);
}

.btn-secondary {
  padding: 14px 32px;
  background: transparent;
  border: 1px solid #d0d8e8;
  color: #555;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary:hover {
  border-color: #294FFF;
  color: #294FFF;
}

/* ===== SECTIONS & LAYOUT ===== */
.section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #294FFF;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.2;
  color: #0a1628;
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  max-width: 520px;
}

/* ===== VISION SECTION ===== */
.vision-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.vision-grid {
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.vision-text {
  flex: 1;
}

.vision-text .section-label {
  display: block;
  margin-bottom: 15px;
}

.vision-text .section-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.vision-visual {
  flex: 0 0 340px;
}

.vision-globe-img {
  width: 100%;
  max-width: 340px;
}

/* Vision staggered animation */
.vision-section.visible .vision-text .section-label {
  transition-delay: 0.1s;
}
.vision-section.visible .vision-text .section-title {
  transition-delay: 0.25s;
}
.vision-section.visible .vision-text .section-desc {
  transition-delay: 0.4s;
}
.vision-section.visible .vision-visual {
  transition-delay: 0.5s;
}

/* ===== PILLAR SECTIONS ===== */
.pillar {
  display: flex;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px;
}

.pillar.reverse {
  flex-direction: row-reverse;
}

.pillar-content {
  flex: 1;
}

.pillar-visual {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.pillar-icon-box {
  width: 260px;
  height: 260px;
  border-radius: 30px;
  background: #f8faff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8ecf2;
}

.pillar-icon-box.green {
  background: #f5faf0;
  border-color: #e0f0d0;
}

.pillar-icon-box.blue {
  background: #f0faff;
  border-color: #d0ecf8;
}

/* Rotating orbit animation */
.ring {
  animation: orbitSpin 15s linear infinite;
  transform-origin: 100px 100px;
}

@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Pulsing outer circle */
.pulse-circle {
  animation: pulseRing 3s ease-in-out infinite;
}

@keyframes pulseRing {
  0%, 100% { r: 85; opacity: 0.15; }
  50% { r: 88; opacity: 0.25; }
}

.pillar-stats {
  display: flex;
  gap: 40px;
  margin-top: 35px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 1.6rem;
  font-weight: 900;
  color: #0a1628;
}

.stat-label {
  font-size: 0.8rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* ===== SHOWCASE CARDS ===== */
.showcase {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 40px 60px;
  text-align: center;
}

.showcase-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 25px;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.showcase-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: 30px 25px;
  transition: all 0.3s ease;
}

.showcase-card:hover {
  border-color: #c0d0e8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.showcase-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.showcase-card-desc {
  font-size: 0.8rem;
  color: #888;
  line-height: 1.6;
}

/* ===== REVIEWS ===== */
.reviews-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 40px 60px;
  text-align: center;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.review-card {
  background: #fff;
  border: 1px solid #e8ecf2;
  border-radius: 16px;
  padding: 30px 25px;
  text-align: left;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: #c0d0e8;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.review-text {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0f4ff;
  color: #294FFF;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a2e;
}

.review-role {
  font-size: 0.75rem;
  color: #888;
  margin-top: 2px;
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; max-width: 500px; margin-left: auto; margin-right: auto; }
}

/* ===== IN THE KNOW / NEWS ===== */
.news-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.news-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.news-tab {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  background: #f0f4f8;
  cursor: pointer;
  transition: all 0.3s;
}

.news-tab.active {
  background: #294FFF;
  color: #fff;
}

.news-placeholder {
  padding: 60px;
  background: #f8faff;
  border-radius: 16px;
  border: 1px solid #e8ecf2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== AWARDS ===== */
.awards-section {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.awards-badge {
  padding: 50px;
  background: #f8faff;
  border-radius: 16px;
  border: 1px solid #e8ecf2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.showcase-coming {
  display: inline-block;
  margin-top: 25px;
  padding: 6px 18px;
  background: #f0f4f8;
  color: #888;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
}

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center;
  padding: 100px 40px;
  background: #050A14;
  position: relative;
  overflow: hidden;
}

.final-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(41,79,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.final-cta p {
  font-size: 1.05rem;
  color: #8899aa;
  max-width: 500px;
  margin: 0 auto 35px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a1628;
  color: #8899aa;
  padding: 60px 40px 30px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-newsletter {
  display: flex;
  gap: 0;
  max-width: 300px;
}

.footer-newsletter input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #1e2d45;
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: #0f1f38;
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}

.footer-newsletter input::placeholder {
  color: #556;
}

.footer-newsletter button {
  padding: 10px 18px;
  background: #294FFF;
  color: #fff;
  border: none;
  border-radius: 0 6px 6px 0;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.footer-newsletter button:hover {
  background: #1a3de0;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #6678;
  margin-bottom: 10px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #1e2d45;
  padding-top: 25px;
  font-size: 0.8rem;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  font-size: 0.85rem;
  font-weight: 600;
  color: #6678;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #fff;
}

/* ===== FADE-UP ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .pillar { flex-direction: column; text-align: center; gap: 40px; padding: 60px 25px; }
  .pillar.reverse { flex-direction: column; }
  .pillar-content { align-items: center; }
  .section-desc { margin: 0 auto; }
  .pillar-stats { justify-content: center; }
  .showcase-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .section-title { font-size: 2rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px 40px;
    gap: 18px;
    border-bottom: 1px solid #e8ecf2;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  }

  .nav-dropdown {
    width: auto;
    text-align: center;
  }
  .nav-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.88rem;
    color: #33475b;
    font-weight: 500;
  }
  .nav-dropdown > a .dropdown-arrow {
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    transition: transform 0.3s;
  }
  /* Disable hover on mobile, only click toggles */
  .nav-dropdown:hover .nav-dropdown-menu {
    opacity: 0;
    visibility: hidden;
    display: none;
  }
  .nav-dropdown-menu {
    position: static;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 10px 0 0 0;
    background: transparent;
    opacity: 1 !important;
    visibility: visible !important;
    display: none;
    transition: none;
  }
  .nav-dropdown-menu.mobile-open {
    display: block !important;
  }
  .nav-dropdown-menu a {
    padding: 8px 15px;
    font-size: 0.82rem;
    color: #516f90 !important;
  }
  .nav-dropdown::after { display: none; }

  .vision-grid {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  .vision-text { text-align: center; }
  .vision-section .section-label { text-align: center; }
  .vision-section .section-title { text-align: center; font-size: 1.8rem; margin: 0 auto 15px; }
  .vision-section .section-desc { text-align: center; margin: 0 auto; }
  .vision-globe-img { max-width: 280px; }

  .hero { padding: 100px 25px 60px; }
  .hero h1 { font-size: 2rem; }
  .hero h1 .highlight-green { padding-left: 10px; }
  .hero-sub { font-size: 0.95rem; }
  .footer-top { grid-template-columns: 1fr; }
}
