/* Modern CSS with animations, gradients, and responsive design */

/* Arcade Neon Variables */
:root {
  --arcade-black: #0d0d0d;
  --arcade-purple: #7f00ff;
  --arcade-pink: #ff00cc;
  --arcade-blue: #00f0ff;
  --arcade-glow: #ffffff22;

  --tech-blue: #1e90ff;
  --tech-dark: #0f172a;
  --tech-light: #f8fafc;
  --tech-accent: #38bdf8;
  --tech-text: #e2e8f0;
  --tech-gray: #64748b;
  --tech-gradient: linear-gradient(135deg, #1e90ff 0%, #38bdf8 100%);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--tech-dark);
  color: var(--tech-text);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-svg {
  width: 40px;
  height: 40px;
  animation: logoRotate 20s linear infinite;
}
@keyframes logoRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Logo text styling */
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tech-blue);
}

/* Navbar links */
.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-link {
  text-decoration: none;
  color: var(--tech-text);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}
.nav-link:hover {
  color: var(--tech-blue);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--tech-gradient);
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--tech-text);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  animation: slideInLeft 1s ease-out;
}
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.text-gradient {
  background: var(--tech-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--tech-gray);
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-cta {
  display: flex;
  gap: 1rem;
}
.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}
.btn-primary {
  background: var(--tech-gradient);
  color: white;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(30, 144, 255, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--tech-text);
  border: 2px solid var(--tech-blue);
}
.btn-secondary:hover {
  background: var(--tech-blue);
  color: white;
}
.hero-visual {
  animation: slideInRight 1s ease-out;
}
.hero-svg {
  width: 100%;
  height: auto;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(30, 144, 255, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.1) 0%, transparent 50%);
  z-index: -1;
}

/* Sections */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--tech-text);
}
.section-subtitle {
  font-size: 1.25rem;
  color: var(--tech-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: rgba(30, 144, 255, 0.02);
}
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--tech-blue);
}
.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--tech-gray);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(30, 144, 255, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease;
}
.stat:hover {
  transform: translateY(-5px);
}
.stat h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--tech-blue);
  margin-bottom: 0.5rem;
}
.about-svg {
  width: 100%;
  height: auto;
}

/* Why Choose Us */
.why-choose {
  padding: 6rem 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: rgba(30, 144, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 144, 255, 0.1);
}
.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 144, 255, 0.1);
  border-color: var(--tech-blue);
}
.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--tech-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-icon img {
  width: 40px;
  height: 40px;
}
.feature-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--tech-text);
}
.feature-card p {
  color: var(--tech-gray);
  line-height: 1.6;
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: rgba(30, 144, 255, 0.02);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: rgba(15, 23, 42, 0.8);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(30, 144, 255, 0.2);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(30, 144, 255, 0.2);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--tech-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon img {
  width: 40px;
  height: 40px;
}
.service-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--tech-text);
}
.service-card p {
  color: var(--tech-gray);
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
}
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: rgba(30, 144, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(30, 144, 255, 0.1);
}
.contact-icon {
  width: 40px;
  height: 40px;
}
.contact-item h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--tech-blue);
}
.contact-item p {
  color: var(--tech-gray);
  line-height: 1.6;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group input,
.form-group textarea {
  padding: 1rem;
  border: 1px solid rgba(30, 144, 255, 0.2);
  border-radius: 10px;
  background: rgba(30, 144, 255, 0.05);
  color: var(--tech-text);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--tech-blue);
  box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--tech-gray);
}

/* Footer */
.footer {
  background: rgba(15, 23, 42, 0.95);
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-logo img {
  width: 40px;
  height: 40px;
}
.footer-logo span {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--tech-blue);
}
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(30, 144, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  background: var(--tech-blue);
  transform: translateY(-2px);
}
.footer-social img {
  width: 20px;
  height: 20px;
}
.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(30, 144, 255, 0.1);
  color: var(--tech-gray);
}
.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(30, 144, 255, 0.05) 0%, transparent 50%);
  z-index: -1;
}

/* Animations */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }
  .nav-menu.active {
    left: 0;
  }
  .hamburger {
    display: flex;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .contact-content {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
}
@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .about-stats {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}
  position: relative;
  padding: 5rem 0 4rem 0;
  background: linear-gradient(120deg, #23234a 60%, #18183a 100%);
  overflow: hidden;
}
.why-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.why-blob-svg {
  position: absolute;
  right: 10%;
  top: 10%;
  width: 70vw;
  max-width: 900px;
  opacity: 0.13;
  filter: blur(24px);
}
.why-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.why-title {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  font-size: 2.1rem;
  color: #00ffe7;
  margin-bottom: 2.5rem;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 12px #00ffe7a0;
  text-align: center;
}
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.2rem;
  justify-items: center;
  align-items: stretch;
}
.why-card {
  background: rgba(20, 20, 40, 0.92);
  border: 2.5px solid var(--arcade-blue);
  border-radius: 1.5rem;
  box-shadow:
    0 0 24px 0 var(--arcade-blue),
    0 2px 16px 0 var(--arcade-purple),
    0 0 0 2px transparent;
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  text-align: center;
  transition:
    box-shadow 0.25s cubic-bezier(.6,.2,.3,1),
    border-color 0.25s,
    transform 0.25s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  position: relative;
  overflow: hidden;
}
.why-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.1s;
}
.why-card:hover {
  box-shadow:
    0 0 60px 0 var(--arcade-pink),
    0 2px 32px 0 var(--arcade-blue),
    0 0 0 4px var(--arcade-pink);
  border-color: var(--arcade-pink);
  transform: translateY(-10px) scale(1.07);
  z-index: 2;
}
.why-card:hover .why-icon {
  animation: why-icon-float 0.7s cubic-bezier(.6,.2,.3,1);
  filter: drop-shadow(0 0 32px var(--arcade-pink)) drop-shadow(0 0 12px var(--arcade-blue));
}
.why-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0 12px var(--arcade-blue));
  transition: filter 0.25s, transform 0.25s;
}
@keyframes why-icon-float {
  0% { transform: scale(1);}
  40% { transform: scale(1.18) translateY(-8px);}
  60% { transform: scale(0.96) translateY(2px);}
  100% { transform: scale(1);}
}
.why-card-title {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  font-size: 1.25rem;
  color: var(--arcade-purple);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px var(--arcade-purple), 0 2px 8px #fff2;
  font-weight: 700;
}
.why-card-desc {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.4;
  text-shadow: 0 0 8px var(--arcade-glow);
  opacity: 0.92;
}

/* Responsive grid */
@media (max-width: 900px) {
  .why-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 600px) {
  .why-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .why-title {
    font-size: 2rem;
  }
  .why-card {
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
}

/* Optional: Light sparkle particles */
.why-bg::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: url('assets/svg/why-sparkle.svg') repeat;
  opacity: 0.12;
  animation: sparkle-move 18s linear infinite;
}
@keyframes sparkle-move {
  0% { background-position: 0 0;}
  100% { background-position: 120px 80px;}
}
.why-card:hover {
  box-shadow:
    0 0 40px 0 var(--arcade-pink),
    0 2px 32px 0 var(--arcade-blue),
    0 0 0 3px var(--arcade-pink);
  border-color: var(--arcade-pink);
  transform: translateY(-10px) scale(1.04);
}
.why-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0 12px var(--arcade-blue));
  transition: filter 0.25s, transform 0.25s;
}
.why-card:hover .why-icon,
.why-icon.pulse {
  filter: drop-shadow(0 0 24px var(--arcade-pink)) drop-shadow(0 0 8px var(--arcade-blue));
  animation: why-icon-pulse 0.7s;
}
@keyframes why-icon-pulse {
  0% { transform: scale(1);}
  40% { transform: scale(1.18);}
  60% { transform: scale(0.96);}
  100% { transform: scale(1);}
}
.why-card-title {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  font-size: 1.25rem;
  color: var(--arcade-purple);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px var(--arcade-purple), 0 2px 8px #fff2;
  font-weight: 700;
}
.why-card-desc {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.4;
  text-shadow: 0 0 8px var(--arcade-glow);
  opacity: 0.92;
}

/* Responsive grid */
@media (max-width: 900px) {
  .why-cards {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.2rem;
  }
}
@media (max-width: 600px) {
  .why-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem 0;
  }
  .why-title {
    font-size: 2rem;
  }
  .why-card {
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
}

/* Optional: Light sparkle particles */
.why-bg::after {
  content: '';
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  pointer-events: none;
  background: url('assets/svg/why-sparkle.svg') repeat;
  opacity: 0.12;
  animation: sparkle-move 18s linear infinite;
}

/* Services Section */
#services {
  background: linear-gradient(120deg, #18183a 60%, #23234a 100%);
  position: relative;
  padding: 5rem 0 4rem 0;
  overflow: hidden;
}
.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.services-blob-svg {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 900px;
  max-width: 120vw;
  min-width: 400px;
  transform: translate(-50%, -50%);
  opacity: 0.18;
  filter: blur(2px) brightness(1.2);
  z-index: 0;
}
.services-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}
.services-title {
  font-family: 'Orbitron', 'Press Start 2P', monospace;
  font-size: 2.2rem;
  color: var(--arcade-blue);
  text-align: center;
  margin-bottom: 2.5rem;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px var(--arcade-blue), 0 2px 12px var(--arcade-glow);
  font-weight: 900;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.services-title.visible {
  opacity: 1;
  transform: translateY(0);
}
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem 2.2rem;
  justify-items: center;
  align-items: stretch;
}
.services-card {
  background: rgba(20, 20, 40, 0.92);
  border: 2.5px solid var(--arcade-blue);
  border-radius: 1.5rem;
  box-shadow: 0 0 24px 0 var(--arcade-blue), 0 2px 16px 0 var(--arcade-purple);
  padding: 2.2rem 1.5rem 1.7rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(40px) scale(0.97);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.services-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.1s;
}
.services-card:hover {
  box-shadow: 0 0 60px 0 var(--arcade-pink), 0 2px 32px 0 var(--arcade-blue), 0 0 0 4px var(--arcade-pink);
  border-color: var(--arcade-pink);
  transform: translateY(-10px) scale(1.07);
  z-index: 2;
}
.services-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  filter: drop-shadow(0 0 12px var(--arcade-blue));
  transition: filter 0.25s, transform 0.25s;
}
.services-card:hover .services-icon {
  animation: why-icon-float 0.7s cubic-bezier(.6,.2,.3,1);
  filter: drop-shadow(0 0 32px var(--arcade-pink)) drop-shadow(0 0 12px var(--arcade-blue));
}
@keyframes why-icon-float {
  0% { transform: scale(1);}
  40% { transform: scale(1.18) translateY(-8px);}
  60% { transform: scale(0.96) translateY(2px);}
  100% { transform: scale(1);}
}
.services-card-title {
  font-family: 'Orbitron', 'Press Start 2P', monospace;
  font-size: 1.25rem;
  color: var(--arcade-purple);
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
  text-shadow: 0 0 8px var(--arcade-purple), 0 2px 8px #fff2;
  font-weight: 700;
}
.services-card-desc {
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.4;
  text-shadow: 0 0 8px var(--arcade-glow);
  opacity: 0.92;
  font-family: 'Quicksand', 'Poppins', Arial, sans-serif;
  font-weight: 500;
}

/* Responsive grid for services */
@media (max-width: 900px) {
  .services-cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
@media (max-width: 700px) {
  #services {
    padding: 2.5rem 0 2rem 0;
  }
  .services-content {
    padding: 0 0.5rem;
  }
  .services-cards {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .services-title {
    font-size: 1.5rem;
  }
  .services-card {
    padding: 1.5rem 1rem 1.2rem 1rem;
  }
}

/* Contact Us Section */
#contact {
  background: linear-gradient(120deg, #0d0d0d 60%, #181828 100%);
  position: relative;
  padding: 5rem 0 4rem 0;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    135deg,
    #181828 0 2px,
    transparent 2px 40px
  );
  opacity: 0.13;
}
.contact-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  justify-content: center;
}
.contact-left, .contact-right {
  flex: 1 1 350px;
  min-width: 0;
}
.contact-heading {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.2rem;
}
.contact-mail-icon {
  filter: drop-shadow(0 0 12px var(--arcade-blue));
  animation: mail-float 2.5s ease-in-out infinite alternate;
}
@keyframes mail-float {
  0% { transform: translateY(0);}
  100% { transform: translateY(-10px);}
}
.contact-title {
  font-family: 'Orbitron', 'Press Start 2P', monospace;
  font-size: 2rem;
  color: var(--arcade-blue);
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px var(--arcade-blue), 0 2px 12px var(--arcade-glow);
  font-weight: 900;
}
.contact-subtitle {
  font-family: 'Quicksand', 'Poppins', Arial, sans-serif;
  color: #fff;
  font-size: 1.1rem;
  margin-top: 0.2rem;
  text-shadow: 0 1px 8px var(--arcade-blue);
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.2rem;
}
.form-group {
  position: relative;
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.1rem 1rem 0.7rem 1rem;
  background: rgba(20, 20, 40, 0.85);
  border: 2px solid var(--arcade-glow);
  border-radius: 1rem;
  color: #fff;
  font-family: 'Quicksand', 'Poppins', Arial, sans-serif;
  font-size: 1.08rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  box-shadow: 0 0 0 0 var(--arcade-blue);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--arcade-blue);
  box-shadow: 0 0 12px 0 var(--arcade-blue);
}
.form-group label {
  position: absolute;
  left: 1.1rem;
  top: 1.1rem;
  color: #aaa;
  font-size: 1rem;
  font-family: 'Orbitron', 'Press Start 2P', monospace;
  pointer-events: none;
  background: transparent;
  transition: 0.2s;
  opacity: 0.8;
}
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -0.7rem;
  left: 0.8rem;
  font-size: 0.85rem;
  color: var(--arcade-blue);
  opacity: 1;
  background: #0d0d0d;
  padding: 0 0.3em;
  border-radius: 0.3em;
}
.contact-btn {
  margin-top: 0.5rem;
  padding: 1rem 2.2rem;
  font-family: 'Orbitron', 'Press Start 2P', monospace;
  font-size: 1.1rem;
  color: #fff;
  background: transparent;
  border: 2px solid var(--arcade-blue);
  border-radius: 2em;
  box-shadow: 0 0 18px var(--arcade-blue);
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  position: relative;
  overflow: hidden;
}
.contact-btn:hover, .contact-btn:focus {
  background: var(--arcade-blue);
  color: #0d0d0d;
  border-color: var(--arcade-pink);
  box-shadow: 0 0 32px var(--arcade-pink), 0 2px 8px #fff3;
  transform: scale(1.04);
}
.contact-right {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: flex-start;
  justify-content: flex-start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: #fff;
  font-family: 'Quicksand', 'Poppins', Arial, sans-serif;
  font-size: 1.08rem;
  text-shadow: 0 1px 8px var(--arcade-blue);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.info-item.visible {
  opacity: 1;
  transform: translateY(0);
}
.info-icon {
  filter: drop-shadow(0 0 10px var(--arcade-blue));
  transition: filter 0.2s, transform 0.2s;
}
.info-item:hover .info-icon {
  filter: drop-shadow(0 0 18px var(--arcade-pink));
  transform: scale(1.15);
}
.contact-illustration {
  margin-top: 2.5rem;
  width: 100%;
  display: flex;
  justify-content: center;
}
.contact-anim {
  width: 180px;
  height: 120px;
  animation: envelope-float 2.5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px var(--arcade-blue));
}
@keyframes envelope-float {
  0% { transform: translateY(0);}
  100% { transform: translateY(-14px);}
}

/* Contact Section Entrance Animation */
#contact .contact-content {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s, transform 0.8s;
}
#contact.visible .contact-content {
  opacity: 1;
  transform: translateY(0);
}
#contact .info-item {
  transition-delay: 0.2s;
}
#contact.visible .info-item {
  transition-delay: 0.4s;
}

/* Responsive Contact Section */
@media (max-width: 900px) {
  .contact-content {
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
  }
  .contact-left, .contact-right {
    width: 100%;
    min-width: 0;
  }
  .contact-illustration {
    margin-top: 1.5rem;
  }
}
@media (max-width: 600px) {
  #contact {
    padding: 2.5rem 0 2rem 0;
  }
  .contact-content {
    padding: 0 0.5rem;
  }
  .contact-title {
    font-size: 1.2rem;
  }
  .contact-btn {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
  .contact-anim {
    width: 120px;
    height: 80px;
  }
}

/* Arcade Neon Footer */
.arcade-footer {
  background: var(--arcade-bg, #0d0d0d);
  position: relative;
  overflow: hidden;
  padding-top: 0;
  font-family: 'Press Start 2P', 'Orbitron', Arial, sans-serif;
  color: var(--arcade-white, #ffffffcc);
  border-top: 2px solid var(--arcade-footer-border, #ffffff22);
}
.footer-glow-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    135deg,
    #181828 0 2px,
    transparent 2px 40px
  );
  opacity: 0.13;
  animation: footer-bg-move 18s linear infinite;
}
@keyframes footer-bg-move {
  0% { background-position: 0 0;}
  100% { background-position: 120px 80px;}
}
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.5fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3.2rem 2rem 1.2rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1.2rem;
}
.footer-brand {
  align-items: flex-start;
  gap: 1.2rem;
}
.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}
.footer-logo-svg {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 0 18px var(--arcade-glow-blue, #00f0ff));
  transition: filter 0.3s;
  animation: footer-logo-glow 2.5s infinite alternate;
}
@keyframes footer-logo-glow {
  0% { filter: drop-shadow(0 0 12px #00f0ff) drop-shadow(0 0 2px #7f00ff);}
  100% { filter: drop-shadow(0 0 32px #7f00ff) drop-shadow(0 0 8px #00f0ff);}
}
.footer-logo-link:hover .footer-logo-svg {
  filter: drop-shadow(0 0 32px #ff00cc) drop-shadow(0 0 8px #00f0ff);
}
.footer-logo-text {
  font-family: 'Orbitron', 'Press Start 2P', Arial, sans-serif;
  font-size: 1.2rem;
  color: var(--arcade-blue, #00f0ff);
  letter-spacing: 0.08em;
  text-shadow: 0 0 12px var(--arcade-blue, #00f0ff), 0 2px 8px #fff2;
  font-weight: bold;
  white-space: nowrap;
}
.footer-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  align-items: flex-start;
}
.footer-link {
  color: var(--arcade-white, #ffffffcc);
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Orbitron', 'Press Start 2P', Arial, sans-serif;
  letter-spacing: 0.04em;
  transition: color 0.2s, text-shadow 0.2s;
  text-shadow: 0 0 8px var(--arcade-glow-blue, #00f0ff);
  position: relative;
}
.footer-link:hover {
  color: var(--arcade-pink, #ff00cc);
  text-shadow: 0 0 16px var(--arcade-pink, #ff00cc);
}
.footer-socials {
  display: flex;
  gap: 1.1rem;
  margin-top: 1.2rem;
}
.footer-social svg {
  display: block;
  width: 28px;
  height: 28px;
  transition: filter 0.2s, transform 0.2s;
  filter: drop-shadow(0 0 8px var(--arcade-blue, #00f0ff));
}
.footer-social:hover svg {
  filter: drop-shadow(0 0 18px var(--arcade-pink, #ff00cc)) drop-shadow(0 0 8px var(--arcade-blue, #00f0ff));
  transform: scale(1.13);
}
.footer-contact {
  gap: 0.7rem;
  font-size: 1rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: 'Orbitron', 'Press Start 2P', Arial, sans-serif;
  color: var(--arcade-white, #ffffffcc);
  text-shadow: 0 0 8px var(--arcade-glow-blue, #00f0ff);
  font-size: 1rem;
}
.footer-contact-label {
  font-size: 1.2em;
  color: var(--arcade-pink, #ff00cc);
  text-shadow: 0 0 8px var(--arcade-pink, #ff00cc);
  min-width: 1.5em;
  text-align: center;
}
.footer-contact-text {
  font-size: 1em;
  color: var(--arcade-white, #ffffffcc);
  word-break: break-word;
}
.footer-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #7f00ff 40%, #00f0ff 60%, transparent 100%);
  margin: 0.5rem 0 0.5rem 0;
  opacity: 0.5;
}
.footer-bottom {
  text-align: center;
  color: var(--arcade-white, #ffffffcc);
  font-size: 0.95rem;
  padding: 0.7rem 0 1.2rem 0;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px var(--arcade-glow-blue, #00f0ff);
  border-top: 1px solid var(--arcade-footer-border, #ffffff22);
  background: transparent;
}

/* Responsive Footer */
@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 2.2rem 1rem 1.2rem 1rem;
  }
  .footer-brand {
    align-items: flex-start;
  }
}
@media (max-width: 700px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 0.5rem 1rem 0.5rem;
  }
  .footer-logo-svg {
    width: 40px;
    height: 40px;
  }
  .footer-logo-text {
    font-size: 1rem;
  }
  .footer-contact {
    font-size: 0.95rem;
  }
  .footer-contact-label {
    font-size: 1em;
  }
}

/* Fade/slide in animation for footer */
.arcade-footer {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s cubic-bezier(.6,.2,.3,1), transform 0.8s cubic-bezier(.6,.2,.3,1);
}
.arcade-footer.visible {
  opacity: 1;
  transform: translateY(0);
}
