/* ============================================
   GLOBAL ICT TECHNOLOGIES — hero.css
   Hero section and page banner styles
   ============================================ */

/* --- Main Hero (Homepage) --- */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 9rem 0 5rem;
  max-width: 100%;
}

/* Background grid */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}

/* Glow orbs */
.hero-glow-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(52,199,89,0.07) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.hero-glow-2 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(29,131,226,0.07) 0%, transparent 70%);
  bottom: -80px;
  left: -80px;
  z-index: 0;
  animation: float 10s ease-in-out infinite reverse;
}

/* Content layout */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left text content */
.hero-text { }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.25);
  color: var(--brand-green);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--brand-green);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title .line-2 {
  display: block;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 540px;
  font-weight: 300;
  line-height: 1.85;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Trust indicators */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.hero-trust-item i {
  color: var(--brand-green);
  font-size: 1.1rem;
}

/* Right visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: visible;
}

.hero-globe-wrap {
  position: relative;
  width: min(420px, 45vw);
  height: min(420px, 45vw);
  animation: float 6s ease-in-out infinite;
}

.hero-globe-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(29,131,226,0.2));
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: spin-slow linear infinite;
}

.orbit-ring-1 {
  inset: -30px;
  border-color: rgba(52,199,89,0.15);
  animation-duration: 15s;
}

.orbit-ring-2 {
  inset: -60px;
  border-color: rgba(29,131,226,0.1);
  animation-duration: 25s;
  animation-direction: reverse;
  border-style: dashed;
}

.orbit-ring-3 {
  inset: -90px;
  border-color: rgba(40,165,157,0.07);
  animation-duration: 35s;
}

/* Floating service badges */
.hero-badge-float {
  position: absolute;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 0.75rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-float i {
  font-size: 1.4rem;
  color: var(--brand-green);
}

.hero-badge-float .badge-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  display: block;
  line-height: 1.2;
}

.hero-badge-float .badge-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.55);
  display: block;
}

.badge-float-1 {
  top: 5%;
  left: -30%;
  animation-delay: 0s;
  animation-duration: 5s;
}

.badge-float-2 {
  bottom: 12%;
  left: -30%;
  animation-delay: 1s;
  animation-duration: 6s;
}

.badge-float-3 {
  top: 8%;
  right: -30%;
  animation-delay: 0.5s;
  animation-duration: 4.5s;
}

.badge-float-4 {
  bottom: 8%;
  right: -30%;
  animation-delay: 1.5s;
  animation-duration: 5.5s;
}

/* Hide badges on mobile — not enough room */
@media (max-width: 768px) {
  .hero-badge-float { display: none; }
}

/* --- Page Banner (Inner pages) --- */
.page-banner {
  background: var(--navy);
  padding: 9rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-banner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-banner-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  right: 5%;
  top: -100px;
  background: radial-gradient(circle, rgba(29,131,226,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: var(--trans-fast);
}

.breadcrumb a:hover { color: var(--white); }

.breadcrumb-sep {
  color: rgba(255,255,255,0.3);
  font-size: 0.75rem;
}

.breadcrumb-current {
  color: var(--brand-green);
  font-weight: 500;
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 6.5vw, 3.5rem);
}

.page-banner p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-globe-wrap { width: 350px; height: 350px; }
  .badge-float-1, .badge-float-2 { left: -5%; }
  .badge-float-3, .badge-float-4 { right: -5%; }
}

@media (max-width: 1100px) {
  .hero {
    padding: 6rem 0 4rem;
    min-height: auto;
    overflow: hidden;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; flex-wrap: wrap; }

  .hero-visual { order: -1; }
  .hero-globe-wrap { width: 280px; height: 280px; }

  .badge-float-1, .badge-float-2,
  .badge-float-3, .badge-float-4 { display: none; }
}

@media (max-width: 600px) {
  .hero-globe-wrap { width: 180px; height: 180px; }
  .hero-trust { gap: 1rem; }
  .hero-trust-item:last-child { display: none; }
  .hero-title { font-size: clamp(1.4rem, 7vw, 2.25rem); }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-badge { font-size: 0.7rem; }
  .orbit-ring { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(1.25rem, 6.5vw, 1.9rem); letter-spacing: -0.01em; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}
