/* Base typography & colors */
body {
  font-family: 'Roboto', sans-serif;
  background: rgb(12, 17, 45);
  color: #fff;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
  min-height: 100vh;
}


/* Headings */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
  margin-bottom: 0.7rem;
}
.text-cyan {
  color: rgb(0, 255, 255);
}

/* Buttons */
/* ---------------------------------------------------
   CYAN NEON BUTTON
--------------------------------------------------- */
.btn-cyan {
  display: inline-block;
  padding: .5rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #00faff, #00d0ff);
  color: #001;
  font-weight: 600;
  border: 0;
  box-shadow:
      0 0 10px rgba(0,255,255,0.6),
      inset 0 0 6px rgba(255,255,255,0.4),
      inset 0 0 20px rgba(0,255,255,0.3);
  transition: all .18s ease;
}

.btn-cyan:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(135deg, #00ffff, #00bcd4);
  box-shadow:
      0 0 18px rgba(0,255,255,0.8),
      inset 0 0 10px rgba(255,255,255,0.5);
}

.btn-cyan:active {
  transform: scale(.96);
  box-shadow: 0 0 8px rgba(0,255,255,0.5);
}


/* ---------------------------------------------------
   PRIMARY BLUE BUTTON
--------------------------------------------------- */
.btn-primary {
  display: inline-block;
  padding: .52rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #007bff, #0054ff);
  color: #fff;
  font-weight: 600;
  border: 0;
  box-shadow:
      0 0 10px rgba(0,115,255,0.45),
      inset 0 0 8px rgba(255,255,255,0.35);
  transition: all .18s ease;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.08);
  box-shadow:
      0 0 18px rgba(0,115,255,0.7),
      inset 0 0 10px rgba(255,255,255,0.5);
}

.btn-primary:active {
  transform: scale(.96);
  box-shadow: 0 0 8px rgba(0,115,255,0.45);
}


/* ---------------------------------------------------
   SMALL VARIANT
--------------------------------------------------- */
.btn-cyan.sm,
.btn-primary.sm {
  padding: .33rem .7rem;
  font-size: .85rem;
  font-weight: 500;
}


/* ---------- Section layout & content wrapper ---------- */
.section {
  padding: 90px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;

  background: rgba(0, 18, 32, 0.7);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 20px rgba(0, 255, 255, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* content wrapper — targeted by JS for animation */
.content {
  width: 100%;
  max-width: 1200px;
  transition: opacity .6s ease, transform .6s ease;
  will-change: transform, opacity;
  position: relative;
  z-index: 6; /* above animated bg */
}

.partner-section {
  height: 30vh;
  min-height: 200px;
  padding: 90px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 2.5rem;
  background-image: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.00));
}

/* Base hero container */
.hero-tech {
  height: 100vh;
  min-height: 640px;
  padding: 90px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Professional subtle pattern (no animation) */
.hero-tech::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 140px 140px;
  opacity: 0.07;
  z-index: 0;
}

/* Hero illustration card */
.hero-visual {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.00));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  height: 330px;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    0 4px 16px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.04) inset;

  backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
}

/* Headline + text */
.hero-title {
  position: relative;
  z-index: 2;
  color: #eaffff;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.hero-subtext {
  position: relative;
  z-index: 2;
  color: #b7c8d8;
}


/* --- Value Cards --- */
.value-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03), rgba(255,255,255,0.00));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,255,0.22);
  background: rgba(0,255,255,0.04);
}

/* Icons */
.value-icon {
  font-size: 2rem;
  color: #00eaff;
  opacity: 0.9;
}


/* --- Service Cards --- */
.service-card {
  background: none; /* removed gradient */
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  height: 100%;
  min-height: 320px;
  max-height: 320px;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,255,0.22);
  background: rgba(0,255,255,0.04);
}

.service-list li {
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: #cfe8ff;
}

.more-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #00eaff;
  font-weight: 600;
}

.more-link:hover {
  text-decoration: underline;
}


/* Background animated gradients */
.industry-bg {
  position: absolute;
  width: 480px;
  height: 480px;
  filter: blur(140px);
  z-index: 1;
}

.industry-bg.fx1 {
  background: rgba(0,255,200,0.15);
  left: -150px;
  top: -120px;
  animation: float1 18s infinite linear;
}

.industry-bg.fx2 {
  background: rgba(0,140,255,0.18);
  right: -150px;
  bottom: -150px;
  animation: float2 20s infinite linear;
}

@keyframes float1 {
  0% { transform: translate(0,0); }
  50% { transform: translate(40px,30px); }
  100% { transform: translate(0,0); }
}
@keyframes float2 {
  0% { transform: translate(0,0); }
  50% { transform: translate(-40px,-30px); }
  100% { transform: translate(0,0); }
}

/* Interactive Industry Card */
.industry-pro-card {
  background: rgba(0, 18, 32, 0.8);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 0px rgba(0,255,255,0.1);
  transition: 0.35s ease;
  cursor: pointer;
  border: 1px solid rgba(0,255,255,0.1);
  position: relative;
  z-index: 2;
}

.industry-pro-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 0 22px rgba(0,255,255,0.25);
  border-color: rgba(0,255,255,0.35);
}

/* Header */
.ip-head {
  background: rgba(0,255,255,0.07);
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,255,255,0.15);
}

.ip-head h5 {
  margin: 0;
  color: #00eaff;
  font-weight: 600;
}

/* Body */
.ip-body {
  padding: 18px 20px;
  color: #e0faff;
  font-size: 14px;
}

.ip-expand {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(0,255,255,0.15);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.35s ease;
}

/* Expand on hover */
.industry-pro-card:hover .ip-expand {
  max-height: 200px;
  opacity: 1;
}


/* Partners Section */
#partners {
  background: #0a0e1e;
  color: #fff;
}

#partners h2 {
  color: #00eaff;
}

/* Marquee Wrapper */
.partners-marquee-wrapper {
  width: 100%;
  overflow: hidden;
}

/* Marquee Content */
.partners-marquee {
  display: flex;
  gap: 4rem;
  animation: marquee 20s linear infinite;
}

.partner-logo {
  max-height: 60px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Infinite scroll animation */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* scroll half to loop duplicated logos */
}

/* Responsive */
@media (max-width: 768px) {
  .partners-marquee {
    gap: 2rem;
  }

  .partner-logo {
    max-height: 50px;
  }
}



/* --- CTA Section --- */
.cta-section {
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e0faff;
  position: relative;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 120px;
  text-align: center;
  overflow: hidden;
}

/* --- CTA Title --- */
.cta-title {
  position: relative;
  font-size: 3rem;
  font-weight: 700;
  color: #00eaff;
  text-shadow: 0 0 15px rgba(0,255,255,0.6), 0 0 30px rgba(0,200,255,0.3);
  z-index: 1;
  margin-bottom: 1rem;
}

/* --- CTA Subtext --- */
.cta-subtext {
  position: relative;
  font-size: 1.25rem;
  color: #cfe8ff;
  margin-bottom: 2.5rem;
  z-index: 1;
  line-height: 1.5;
}

/* --- CTA Buttons --- */
.cta-btn {
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.25s ease, box-shadow 0.35s ease, background 0.3s ease;
  position: relative;
  z-index: 1;
}

.cta-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 40px rgba(0, 255, 255, 0.7);
}

.btn-primary.cta-btn {
  background: linear-gradient(90deg,#00d0ff,#0066cc);
  color: #fff;
}

.btn-primary.cta-btn:hover {
  background: linear-gradient(90deg,#00f0ff,#005ee0);
}

.btn-cyan.cta-btn {
  background: #00eaff;
  color: #001;
}

.btn-cyan.cta-btn:hover {
  background: #00d0ff;
  color: #fff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .cta-title {
    font-size: 2.2rem;
  }
  .cta-subtext {
    font-size: 1rem;
    margin-bottom: 1.8rem;
  }
  .cta-btn {
    padding: 0.55rem 1.3rem;
    font-size: 0.95rem;
  }
}


/* Scroll animations (page-turn feel) */
.animate-right {
  opacity: 0;
  transform: translateX(18%) scale(.99);
  transition: transform 0.7s cubic-bezier(.2,.9,.2,1), opacity 0.6s ease;
}
.animate-left {
  opacity: 0;
  transform: translateX(-18%) scale(.99);
  transition: transform 0.7s cubic-bezier(.2,.9,.2,1), opacity 0.6s ease;
}
.visible {
  opacity: 1;
  transform: translateX(0) scale(1);
}

/* subtle depth for cards */
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
}

/* Logos strip */
.logos-strip {
  -webkit-overflow-scrolling: touch;
}
.logo-pill {
  min-width: 140px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,0.03);
}

/* ---------- Futuristic Navbar (rounded, fixed, floating) ---------- */
.nav-futuristic {
  /* prefer max-width with auto centering to ensure equal left/right spacing */
  width: 100%;
  max-width: calc(1200px - 40px); /* visual max width, adjust to your layout */
  margin: 12px 20px 0;            /* explicit top + left/right spacing */
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(0,255,255,0.06);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6);
  backdrop-filter: blur(8px) saturate(110%);
  position: fixed;
  top: 12px;
  left: 50%;                      /* keep centered within viewport */
  transform: translateX(-50%);
  z-index: 7;
  padding: 0.5rem 1rem;           /* comfortable horizontal padding */
  box-sizing: border-box;         /* include padding in width calculations */
}

/* Alternative stricter approach (no translate), use explicit left/right margins */
.nav-futuristic.alt {
  position: fixed;
  top: 12px;
  left: 20px;
  right: 20px;                    /* enforces explicit right margin */
  margin: 0;                      /* already handled by left/right */
  border-radius: 14px;
  max-width: none;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

/* shrink navbar on small screens while maintaining rounded look */
@media (max-width: 576px) {
  .nav-futuristic { width: calc(100% - 32px); margin: 8px 16px 0; border-radius: 10px; top: 8px; transform: none; left: 16px; right: 16px; }
  .nav-futuristic.alt { left: 12px; right: 12px; top: 8px; border-radius: 10px; }
}


/* brand mark (small glowing square) */
.brand-mark {
  width: 12px;
  height: 12px;
  background: radial-gradient(circle at 30% 30%, rgb(0,255,255), rgba(0,255,255,0.5));
  border-radius: 3px;
  box-shadow: 0 6px 22px rgba(0,255,255,0.08), inset 0 -4px 8px rgba(0,0,0,0.25);
  display: inline-block;
  margin-right: 8px;
}

/* Navbar links */
.navbar .nav-link {
  color: rgba(255,255,255,0.88);
  margin: 0 6px;
  transition: color .15s ease, transform .12s ease;
}
.navbar .nav-link:hover, .navbar .nav-link:focus {
  color: rgb(0,255,255);
  transform: translateY(-2px);
}

/* CTA button on navbar right */
.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;              /* pill shape */
  background: linear-gradient(90deg, #00FFFF 0%, #00C8FF 100%);
  color: #001018;
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  box-shadow: 0 6px 18px rgba(0,200,255,0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover / focus — subtle lift and stronger glow */
.btn-nav-cta:hover,
.btn-nav-cta:focus {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0,200,255,0.14);
  outline: none;
}

/* Active — pressed state */
.btn-nav-cta:active {
  transform: translateY(-1px) scale(.997);
  box-shadow: 0 8px 22px rgba(0,160,220,0.10);
}

/* Small variant for tighter navbars */
.btn-nav-cta.btn-sm {
  padding: 0.3rem 0.6rem;
  font-size: 0.85rem;
}

/* High-contrast / reduced-motion support */
@media (prefers-reduced-motion: reduce) {
  .btn-nav-cta { transition: none; }
}

/* Ensure main content offset for fixed navbar */
main.scroll-container {
  padding-top: 96px;
  position: relative;
  z-index: 5;
}

/* ---------- Futuristic Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, rgba(0,0,0,0.28), rgba(0,0,0,0.6));
  border-top: 1px solid rgba(0,255,255,0.03);
  position: relative;
  z-index: 6;
  padding-top: 48px;
  padding-bottom: 28px;
}

/* footer headings & links */
.site-footer h5 { color: rgb(0,255,255); font-family: 'Montserrat', sans-serif; }
.site-footer p, .site-footer .footer-link { color: rgba(255,255,255,0.72); text-decoration: none; }
.site-footer .footer-link:hover { color: rgb(0,255,255); text-decoration: underline; }

/* social icons */
.socials .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
  color: rgb(0,255,255);
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.socials .social-link:hover {
  transform: translateY(-4px) scale(1.06);
  background: linear-gradient(90deg, rgba(0,255,255,0.06), rgba(0,200,200,0.04));
  box-shadow: 0 10px 30px rgba(0,255,255,0.06);
}

/* copyright row */
.site-footer small { color: rgba(255,255,255,0.55); }

/* ---------- Utility & responsive tweaks ---------- */
@media (max-width: 1199px) {
  .section { padding: 70px 18px; min-height: 640px; }
  .hero-visual { height: 260px; }
}
@media (max-width: 767px) {
  h1.display-5 { font-size: 1.7rem; }
  .section { padding: 60px 14px; min-height: 560px; }
  .hero-visual { height: 200px; display: none; } /* hide large visuals on phones */
  .logo-pill { min-width: 120px; padding: 10px; }
  .site-footer .row > div { text-align: center; }
  .socials { justify-content: center; }
  .nav-futuristic .navbar-collapse { background: rgba(0,0,0,0.2); border-radius: 8px; padding: 10px; margin-top: 8px; }
}

/* Accessibility: focus states */
a:focus, button:focus {
  outline: 3px solid rgba(0,255,255,0.12);
  outline-offset: 2px;
}

/* Utility tweaks */
.text-muted { color: rgba(255,255,255,0.65); }
.lead { color: rgba(255,255,255,0.92); font-weight: 400; }

/* Minor performance hint for animated elements */
.content, .card, .hero-visual {
  backface-visibility: hidden;
  transform-origin: center;
}

/* Small elevation helpers */
.elevate-sm { box-shadow: 0 6px 18px rgba(2,6,23,0.55); }
.elevate-lg { box-shadow: 0 16px 50px rgba(2,6,23,0.6); }
