@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-color: #050811; /* Darker, richer background */
  --text-main: #FFFFFF;
  --text-muted: #94A3B8;
  --primary-start: #00F0FF; /* Brighter neon blue */
  --primary-end: #0057FF; /* Deep vivid blue */
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glass-border: rgba(255, 255, 255, 0.08); /* More subtle border */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Orbs */
body::before, body::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(180px);
  z-index: -1;
  animation: floatOrb 25s infinite alternate ease-in-out;
  pointer-events: none;
}
body::before {
  top: -200px;
  left: -200px;
  background: rgba(0, 240, 255, 0.12);
}
body::after {
  bottom: -200px;
  right: -200px;
  background: rgba(0, 87, 255, 0.12);
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(100px, 150px) scale(1.1); }
  100% { transform: translate(-50px, -100px) scale(0.9); }
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.04em;
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  border-radius: 12px;
}

/* Global Utilities */
.container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 5%;
}

.section {
  padding: 8rem 0;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  font-weight: 800;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; 
}

/* Premium Glassmorphism */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.01), 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  border-radius: 20px;
}

.card {
  padding: 2.5rem;
  border-radius: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 240, 255, 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 240, 255, 0.1) inset;
}

/* Luxury Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-start), var(--primary-end));
  color: #fff;
  box-shadow: 0 10px 20px -5px rgba(0, 87, 255, 0.4);
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: left 0.6s ease;
  z-index: -1;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -5px rgba(0, 87, 255, 0.6);
  color: #fff;
}

.btn-outline {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--primary-start);
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 240, 255, 0.2);
}

/* Sticky Blurred Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(5, 8, 17, 0.85); /* Matches new bg perfectly */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-logo {
  height: 35px; /* Clean shrinkage */
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 1.05rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--primary-start), var(--primary-end));
  transition: var(--transition);
  border-radius: 2px;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: #fff;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #fff;
}

/* Hero Section Enhancement */
.hero {
  padding-top: 14rem;
  padding-bottom: 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.25rem;
  margin-bottom: 3.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Stats */
.stats-container {
  display: flex;
  justify-content: center;
  gap: 6rem;
  margin-top: 6rem;
  padding-top: 4rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.stats-container::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-start), transparent);
}

.stat-item h3 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.stat-item p {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Luxury Icons */
.icon-box {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(0,87,255,0.1));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--primary-start);
  border: 1px solid rgba(0,240,255,0.2);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
}

.card:hover .icon-box {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(0,240,255,0.2), rgba(0,87,255,0.2));
  color: #fff;
}

/* Features List / Why Choose Us */
.feature-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: 16px;
  transition: var(--transition);
}

.feature-item:hover {
  background: rgba(255,255,255,0.02);
  transform: translateX(10px);
}

.feature-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.feature-item p {
  color: var(--text-muted);
}

/* CTA Banner */
.cta-banner {
  text-align: center;
  padding: 6rem;
  border-radius: 30px;
  margin: 2rem 0 6rem 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 240, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0,240,255,0.1) 0%, transparent 60%);
  z-index: 0;
  animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
  100% { transform: rotate(360deg); }
}

.cta-banner h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-banner p {
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.25rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

/* Footer Improvement */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 6rem 0 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #fff;
  letter-spacing: 1px;
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-start);
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #64748B;
  font-size: 0.95rem;
}

/* Forms */
.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-start);
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

/* Animations for scroll */
.fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

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

/* Responsive Overhauls */
@media (max-width: 1200px) {
  .hero h1 { font-size: 3.5rem; }
}

@media (max-width: 992px) {
  .hero h1 { font-size: 3rem; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .stats-container { gap: 3rem; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .section { padding: 5rem 0; }
  .cta-banner h2 { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(5, 8, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .hero h1 { font-size: 2.5rem; }
  .hero { padding-top: 10rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .stats-container { flex-direction: column; gap: 2rem; align-items: center; text-align: center; }
  .cta-banner { padding: 4rem 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* --- Cool New Animations & Effects --- */

/* Scroll Reveal base style */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), 
              transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Team Leadership Cool Effects */
.team-card {
  padding: 3rem 2rem;
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.team-card:hover {
  transform: translateY(-20px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 240, 255, 0.15), inset 0 0 20px rgba(0,240,255,0.05);
  border-color: rgba(0,240,255,0.3);
}

/* Holographic Rotating Ring Element */
.profile-glow {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 2rem auto;
  border-radius: 50%;
  padding: 4px; 
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
}

.profile-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    var(--primary-start),
    var(--primary-end),
    transparent 60%,
    var(--primary-start)
  );
  animation: spinGlowing 4s linear infinite;
  z-index: 0;
}

.profile-glow img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--bg-color); 
}

@keyframes spinGlowing {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Image Logo Core */
.nav-logo {
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.2));
}

footer .nav-logo {
  height: 65px;
  max-width: 320px;
}
