/* ========================================
   AURORA INFOTECH - COSMIC CSS STYLES
   ======================================== */

/* ========================================
   CSS RESET & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Exo 2", sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ========================================
   COSMIC COLOR VARIABLES
   ======================================== */

:root {
  /* Primary Cosmic Colors */
  --cosmic-black: #0a0a0a;
  --cosmic-navy: #0f0f23;
  --cosmic-dark-blue: #1a1a2e;
  --cosmic-blue: #16213e;

  /* Neon Accent Colors */
  --neon-cyan: #00ffff;
  --neon-purple: #8a2be2;
  --neon-pink: #ff1493;
  --neon-green: #00ff7f;
  --aurora-blue: #4169e1;
  --aurora-purple: #9370db;

  /* Gradients */
  --cosmic-gradient: linear-gradient(
    135deg,
    var(--neon-cyan) 0%,
    var(--neon-purple) 50%,
    var(--neon-pink) 100%
  );
  --aurora-gradient: linear-gradient(
    90deg,
    var(--aurora-blue) 0%,
    var(--aurora-purple) 50%,
    var(--neon-cyan) 100%
  );
  --dark-gradient: linear-gradient(
    135deg,
    var(--cosmic-black) 0%,
    var(--cosmic-navy) 50%,
    var(--cosmic-dark-blue) 100%
  );

  /* Typography */
  --font-primary: "Exo 2", sans-serif;
  --font-display: "Orbitron", monospace;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 100px 0;
  --element-spacing: 2rem;

  /* Animation Timing */
  --transition-fast: 0.3s ease;
  --transition-smooth: 0.6s ease;
  --transition-slow: 1s ease;
}

/* ========================================
   PARTICLE BACKGROUND CANVAS
   ======================================== */

#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.7;
}

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
}
h2 {
  font-size: clamp(2rem, 6vw, 4rem);
}
h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}
h4 {
  font-size: clamp(1.2rem, 3vw, 2rem);
}
h5 {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
}
h6 {
  font-size: clamp(0.9rem, 2vw, 1.2rem);
}

p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* Glowing Text Effect */
.glow-text {
  text-shadow: 0 0 10px currentColor, 0 0 20px currentColor,
    0 0 30px currentColor;
  animation: textGlow 3s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px currentColor, 0 0 20px currentColor,
      0 0 30px currentColor;
  }
  to {
    text-shadow: 0 0 20px currentColor, 0 0 30px currentColor,
      0 0 40px currentColor;
  }
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  background: var(--cosmic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--cosmic-gradient);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--neon-cyan);
  opacity: 0.8;
  font-style: italic;
}

/* ========================================
   NAVIGATION
   ======================================== */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 5px 30px rgba(0, 255, 255, 0.1);
}

.nav-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.logo-svg {
  width: 60px;
  height: 60px;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  fill: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition-fast);
  padding: 0.5rem 1rem;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--cosmic-gradient);
  transition: var(--transition-fast);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.nav-link:hover::before {
  width: 100%;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--neon-cyan);
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(
    ellipse at center,
    var(--cosmic-dark-blue) 0%,
    var(--cosmic-black) 100%
  );
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.starfield-svg {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero-title {
  margin-bottom: 2rem;
  line-height: 1;
}

.title-line {
  display: block;
  background: var(--cosmic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  animation: titleReveal 2s ease-out forwards;
  opacity: 0;
  transform: translateY(50px);
}

.title-line:nth-child(2) {
  animation-delay: 0.5s;
}

@keyframes titleReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typewriter Effect */
.title-line::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: var(--cosmic-black);
  color: transparent;
  animation: typewriter 2s steps(20) forwards;
  animation-delay: inherit;
}

@keyframes typewriter {
  from {
    width: 100%;
  }
  to {
    width: 0;
  }
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 2rem);
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 1.5s forwards;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-cta {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s ease-out 2.5s forwards;
}

/* ========================================
   BUTTONS
   ======================================== */

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: var(--cosmic-gradient);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.cta-button.primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
}

.cta-button.secondary:hover {
  background: var(--neon-cyan);
  color: var(--cosmic-black);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
}

.button-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

.cta-button:hover .button-icon {
  transform: translateX(5px);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--neon-cyan);
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-arrow {
  width: 30px;
  height: 30px;
  margin: 0 auto 0.5rem;
}

.scroll-arrow svg {
  width: 100%;
  height: 100%;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  background: linear-gradient(
    135deg,
    var(--cosmic-navy) 0%,
    var(--cosmic-dark-blue) 100%
  );
  position: relative;
}

.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%2300ffff" opacity="0.1"/><circle cx="80" cy="30" r="1" fill="%238a2be2" opacity="0.1"/><circle cx="60" cy="70" r="1.5" fill="%23ff1493" opacity="0.1"/></svg>');
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.text-block {
  margin-bottom: 2rem;
}

.text-block h3 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-system {
  width: 100%;
  max-width: 400px;
  height: 400px;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(transparent, rgba(0, 255, 255, 0.1), transparent);
  animation: rotate 8s linear infinite; /* Slower rotation for better performance */
  z-index: -1;
  will-change: transform; /* Optimize for hardware acceleration */
}

.stat-item:hover {
  transform: translateY(-10px);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 900;
  background: var(--cosmic-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #cccccc;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   SERVICES SECTION
   ======================================== */

.services {
  background: var(--cosmic-black);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 255, 0.1),
    transparent
  );
  transition: var(--transition-smooth);
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: var(--neon-cyan);
  box-shadow: 0 25px 50px rgba(0, 255, 255, 0.2);
}

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  position: relative;
}

.service-svg {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.service-card:hover .service-svg {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card p {
  margin-bottom: 2rem;
  line-height: 1.6;
}

.service-card ul {
  list-style: none;
  text-align: left;
}

.service-card li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.service-card li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-size: 0.8rem;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */

.portfolio {
  background: linear-gradient(
    135deg,
    var(--cosmic-dark-blue) 0%,
    var(--cosmic-navy) 100%
  );
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  position: relative;
}

.portfolio-item:hover {
  transform: translateY(-10px);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.portfolio-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.portfolio-svg {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.portfolio-item:hover .portfolio-svg {
  transform: scale(1.05);
}

.portfolio-content {
  padding: 2rem;
}

.portfolio-content h3 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.portfolio-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.portfolio-tags span {
  background: var(--cosmic-gradient);
  color: #ffffff;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ========================================
   TIMELINE SECTION
   ======================================== */

.timeline {
  background: var(--cosmic-black);
  position: relative;
}

.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
}

.timeline-svg {
  width: 100%;
  height: 100%;
}

.timeline-items {
  position: relative;
  z-index: 2;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-marker {
  width: 80px;
  height: 80px;
  position: relative;
  z-index: 3;
  margin: 0 2rem;
}

.timeline-content {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.timeline-content:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.1);
  transform: translateY(-5px);
}

.timeline-content h3 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* ========================================
   GLOBAL PRESENCE SECTION
   ======================================== */

.global-presence {
  background: linear-gradient(
    135deg,
    var(--cosmic-navy) 0%,
    var(--cosmic-dark-blue) 100%
  );
}

.world-map-container {
  margin: 4rem 0;
  display: flex;
  justify-content: center;
}

.world-map {
  width: 100%;
  max-width: 800px;
  height: 400px;
}

.presence-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.presence-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.presence-item:hover {
  transform: translateY(-10px);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.presence-item h3 {
  color: var(--neon-cyan);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials {
  background: var(--cosmic-black);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 6rem;
  color: var(--neon-cyan);
  opacity: 0.2;
  font-family: serif;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  border-color: var(--neon-cyan);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.testimonial-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.testimonial-author h4 {
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.testimonial-author span {
  color: #cccccc;
  font-size: 0.9rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  background: linear-gradient(
    135deg,
    var(--cosmic-dark-blue) 0%,
    var(--cosmic-navy) 100%
  );
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(0, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
  transform: translateX(10px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

.contact-details h3 {
  color: var(--neon-cyan);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-details p {
  margin: 0;
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 255, 0.2);
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--neon-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(0, 255, 255, 0.2);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: var(--transition-smooth);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* Animated Input Glow */
.input-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--cosmic-gradient);
  transition: var(--transition-smooth);
  border-radius: 1px;
}

.form-group input:focus + .input-glow,
.form-group select:focus + .input-glow,
.form-group textarea:focus + .input-glow {
  width: 100%;
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: var(--cosmic-gradient);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.4);
}

.submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: var(--transition-smooth);
}

.submit-btn:hover::before {
  left: 100%;
}

.btn-icon {
  width: 20px;
  height: 20px;
  transition: var(--transition-fast);
}

.submit-btn:hover .btn-icon {
  transform: translateX(5px);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--cosmic-black);
  position: relative;
  padding: 4rem 0 2rem;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-svg {
  width: 100%;
  height: 100%;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  color: var(--neon-cyan);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-section p {
  line-height: 1.8;
  margin-bottom: 2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: #cccccc;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-section a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.footer-logo-svg {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  fill: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(0, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-smooth);
}

.social-link:hover {
  background: var(--neon-cyan);
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-link:hover svg {
  fill: var(--cosmic-black);
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--neon-cyan);
}

/* ========================================
   ADDITIONAL RESPONSIVE ENHANCEMENTS
   ======================================== */

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .portfolio-item:hover,
  .testimonial-card:hover,
  .contact-item:hover {
    transform: none;
  }

  .cta-button:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.3);
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .hero-title,
  .section-title {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* Landscape orientation for mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0 4rem;
  }

  .hero-content {
    padding: 2rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
  }

  .container {
    padding: 0 1rem;
  }

  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Hero */
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  /* Grid Layouts */
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid,
  .portfolio-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .presence-stats {
    grid-template-columns: 1fr;
  }

  /* Timeline */
  .timeline-line {
    left: 30px;
    transform: none;
  }

  .timeline-item {
    flex-direction: row;
    padding-left: 60px;
  }

  .timeline-item:nth-child(even) {
    flex-direction: row;
  }

  .timeline-marker {
    position: absolute;
    left: -10px;
    margin: 0;
    width: 60px;
    height: 60px;
  }

  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */

/* Fade In Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Slide In From Left */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Slide In From Right */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scale In */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Glow Animation */
@keyframes glow {
  from {
    box-shadow: 0 0 10px currentColor;
  }
  to {
    box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  }
}

/* Floating Animation */
@keyframes floating {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Scroll-triggered Animation Classes */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.8s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

/* Hardware Acceleration - Optimized */
.hero-background,
.particle-canvas,
.nav-menu {
  will-change: transform;
}

/* Only add will-change on hover for better performance */
.service-card:hover,
.portfolio-item:hover,
.testimonial-card:hover {
  will-change: transform;
}

.service-card,
.portfolio-item,
.testimonial-card {
  will-change: auto;
}

/* Smooth Scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Performance Optimizations */
* {
  /* Use CSS containment for better performance */
  contain: layout style paint;
}

/* Optimize expensive operations */
.hero-background,
.starfield-svg,
.particle-canvas {
  transform: translateZ(0); /* Force hardware acceleration */
  backface-visibility: hidden;
}

/* Reduce Motion for Accessibility and Performance */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  * {
    animation-duration: 0.3s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.3s !important;
  }

  /* Disable complex animations on mobile */
  .stat-item::before,
  .service-card::before {
    animation: none !important;
  }
}
