* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  background: #0b0e17;
  color: #e2e8f0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

/* ============= SECTION OVERFLOW PREVENTION ============= */
section {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

nav {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* ============= PRELOADER ============= */
#preloader {
  position: fixed;
  inset: 0;
  background: #0b0e17;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s ease-out, visibility 1.2s ease-out;
  opacity: 1;
  visibility: visible;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader {
  width: 90px;
  height: 90px;
  border: 5px solid rgba(34, 197, 94, 0.2);
  border-top: 5px solid #22c55e;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============= HERO ============= */
.hero-bg {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
}

.hero-bg .hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


/* ============= GLASSMORPHISM ============= */
.glass-card, .glass-point{
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.glass-card::before , .glass-point::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-16px);
  background: rgba(34, 197, 94, 0.12);
  border-color: #22c55e;
  box-shadow: 0 30px 60px rgba(34, 197, 94, 0.25);
}

.glass-point:hover {
  transform: translateY(-16px);
  background: rgba(197, 34, 34, 0.12);
  border-color: #c52222;
  box-shadow: 0 30px 60px rgba(197, 34, 34, 0.25);
}

.glass-card:hover::before, .glass-ponit:hover::before {
  opacity: 1;
}

@media (max-width: 640px) {
  .glass-card {
    padding: 2rem 1rem;
  }
}

/* ============= GLASS (General) ============= */
.glass {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
}

.glass:hover {
  background: rgba(60, 60, 60, 0.21);
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* ============= TEXT EFFECTS ============= */
.text-glow {
  text-shadow: 0 0 40px rgba(34, 197, 94, 0.7);
}

/* ============= FLOAT ANIMATION ============= */
@media (min-width: 768px) {
  .float-parent-md {
    animation: float 9s ease-in-out infinite;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotateZ(0deg);
  }
  50% {
    transform: translateY(-36px) rotateZ(1.6deg);
  }
}

/* ============= CAROUSEL ============= */
.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Responsive 3D Effects */
.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 20px;
  overflow: hidden;
  opacity: 0;
}

.slide.active {
  opacity: 1;
  box-shadow: inset 0 0 20px rgba(34, 197, 94, 0.2);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  user-select: none;
  pointer-events: none;
  display: block;
}

/* Dots – responsive size */
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  padding: 0;
}

.dot:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

@media (min-width: 640px) {
  .dot {
    width: 14px;
    height: 14px;
  }
}

@media (min-width: 768px) {
  .dot {
    width: 15px;
    height: 15px;
  }
}

.dot.active {
  background: #22c55e;
  transform: scale(1.6);
  box-shadow: 0 0 30px #22c55e99;
}

/* ============= STEP CIRCLES ============= */
.step-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #22c55e;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 640px) {
  .step-circle {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .step-circle {
    width: 88px;
    height: 88px;
  }
}

.step-circle:hover,
.group:hover .step-circle {
  transform: translateY(-10px) scale(1.15);
  box-shadow: 0 0 70px rgba(34, 197, 94, 0.9);
}

/* ============= ACCESSIBILITY ============= */

/* Remove blue tap highlight on mobile */
.tap-highlight-transparent {
  -webkit-tap-highlight-color: transparent;
}

/* Focus visible for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #22c55e;
  outline-offset: 2px;
}

/* Form input improvements */
input,
textarea,
select {
  font-family: inherit;
}

/* ============= FAQ ============= */
details summary {
  list-style: none;
  cursor: pointer;
}

details summary::-webkit-details-marker {
  display: none;
}

details[open] summary i {
  transform: rotate(180deg);
}

/* ============= DOWNLOAD SECTION ============= */
#download {
  padding-left: 5%;
  padding-right: 5%;
}

#download b {
  font-size: 1.5rem;
}

/* ============= UTILITY CLASSES ============= */

/* Screen reader only text (for accessibility) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Smooth transitions */
.smooth-transition {
  transition: transform 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.no-transition {
  transition: none;
}

/* ============= TEAM SECTION RESPONSIVE ============= */
.team-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (min-width: 640px) {
  .team-card img {
    height: 240px;
  }
}

@media (min-width: 768px) {
  .team-card img {
    height: 280px;
  }
}

@media (min-width: 1024px) {
  .team-card img {
    height: 320px;
  }
}

.team-card-content {
  padding: 0.75rem;
}

@media (min-width: 640px) {
  .team-card-content {
    padding: 1rem;
  }
}

@media (min-width: 768px) {
  .team-card-content {
    padding: 1.25rem;
  }
}
