/* Floating header initial state */
#header {
  position: absolute;
  top: 20px;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* Rounded container */
.header-inner {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  background-color: transparent;
  border-radius: 50px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

/* Logo */
.logo-img {
  max-height: 45px;
  width: auto;
}

@media (max-width: 576px) {
  .logo-img { max-height: 35px; }
}

/* Nav link styling */
.nav-links .nav-link {
  padding: 0.5rem 1rem;
  font-weight: 500;
  color: #333;
  text-transform: capitalize;
}

.nav-links .nav-link:hover {
  text-decoration: none;
}

/* Sticky scroll effect */
#header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  background: #fff;
}

#header.sticky .nav-links .nav-link {
  color: #333;
}

#header.sticky .header-inner {
  width: 100%;
  max-width: none;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* === Active Menu Style === */
.main-menu-ex ul li a.active,
.main-menu-ex ul li a:hover {
  color: #ff0000 !important; /* Kakebe red */
}

/* Optional: add a small underline or border for style */
.main-menu-ex ul li a.active::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: #ff0000;
  margin-top: 4px;
  border-radius: 2px;
}

#team-detail {
  padding: 200px 0 100px;
}

.team-btn {
  text-align: center;
  border-radius: 25px;
}

.team-img {
  height: 250px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.star-icon {
  color: #FFD700; /* Gold color for stars */
  margin-right: 4px;
  font-size: 1.2rem;
}

/* dev-only clear cache button (appearance already inline-set, but here's a fallback) */
#dev-clear-cache-btn {
  transition: transform .12s ease, box-shadow .12s ease;
}
#dev-clear-cache-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.glightbox-clean .gslide-description {
    background: transparent !important;
    color: #fff !important;
    font-family: "Figtree", sans-serif !important;
}

/* Hero Section Styles */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  /* FORCE HERO VISIBILITY ON LOAD */
  opacity: 1 !important;
  visibility: visible !important;
}

/* Optional: Smooth fade-in fallback */
.hero-title,
.hero-subtitle,
.hero-ctas,
.hero-stats {
  opacity: 0;
  transform: translateY(30px);
}

.particles-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
  animation: float 20s ease-in-out infinite;
  opacity: 0.5;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.text-gradient {
  background: linear-gradient(45deg, #00d4ff, #0099ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-btn-primary, .hero-btn-secondary {
  transition: all 0.3s ease;
  border: none;
  font-size: 1rem;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
  background: #0099ff;
}

.hero-btn-secondary:hover {
  transform: translateY(-2px);
  border-color: #00d4ff;
  color: #00d4ff;
}

.hero-stats {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
}

.stat-label {
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-content { padding: 20rem 0 2rem; }
  .hero-stats { margin-top: 2rem; }
}

/* Typing Animation (for tagline) */
.typing-effect {
  border-right: 2px solid #00d4ff;
  animation: blink 1s infinite;
  overflow: hidden;
  white-space: nowrap;
}

@keyframes blink {
  0%, 50% { border-color: transparent; }
  51%, 100% { border-color: #00d4ff; }
}

.footer-contact-icon {
  width: 100%;
  height: 24px;
}

/* ==== FIX LAYOUT SHIFT – RESERVE SPACE FOR FA ICONS ==== */
.info-chip i {
  display: inline-block;
  width: 1.2em;           /* reserves space for the icon */
  text-align: center;
  font-size: 0.9em;
  opacity: 0;            /* hide until FA loads */
  transition: opacity 0.3s ease;
}

/* When Font Awesome is ready → make icons visible */
.fas-loaded .info-chip i,
.fab-loaded .info-chip i {
  opacity: 1 !important;
}