/* ==================== RESET & BASE ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Courier New', Courier, monospace, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #000000;
  color: #00ff41;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ==================== CYBER ANIMATIONS ==================== */
@keyframes glitch {
  0% {
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
  }
  25% {
    text-shadow: -2px -2px #ff00ff, 2px 2px #00ffff;
  }
  50% {
    text-shadow: 2px -2px #ff00ff, -2px 2px #00ffff;
  }
  75% {
    text-shadow: -2px 2px #ff00ff, 2px -2px #00ffff;
  }
  100% {
    text-shadow: 2px 2px #ff00ff, -2px -2px #00ffff;
  }
}

@keyframes scan-line {
  0% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ==================== STICKY HEADER ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #00ff41;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-brand {
  text-align: center;
  padding: 12px 0 8px;
  transition: all 0.3s ease;
}

.site-header.scrolled .header-brand {
  max-height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 900;
  color: #00ff41;
  margin-bottom: 2px;
  letter-spacing: 3px;
  text-shadow: 0 0 10px #00ff41;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #00ff41;
  font-weight: 600;
  opacity: 0.8;
  letter-spacing: 1px;
}

/* MOBILE NAV - 3x2 GRID */
.main-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 8px;
  padding: 8px;
}

.main-nav a {
  padding: 10px 8px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #000000;
  text-decoration: none;
  background: #00ff41;
  border: 2px solid #00ff41;
  border-radius: 4px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a:hover,
.main-nav a:active {
  background: #000000;
  color: #00ff41;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
  transform: translateY(-2px);
}

/* ==================== CONTENT WRAPPER ==================== */
.content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== HERO SECTION ==================== */
.hero-video {
  position: relative;
  width: 100%;
  height: 70vh; /* Increased from 60vh */
  min-height: 500px; /* Increased from 400px */
  max-height: 800px; /* Increased from 700px */
  overflow: hidden;
  background: linear-gradient(135deg, #000000 0%, #001a00 50%, #000000 100%);
  border-bottom: 3px solid #00ff41;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 255, 65, 0.03) 0px,
      rgba(0, 255, 65, 0.03) 1px,
      transparent 1px,
      transparent 2px
    );
  pointer-events: none;
  animation: scan-line 8s linear infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.glitch-text .hero-title {
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 16px;
  color: #00ff41;
  text-shadow: 0 0 20px #00ff41;
  letter-spacing: 2px;
  animation: pulse 2s ease-in-out infinite;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #00ff41;
  opacity: 0.9;
  letter-spacing: 1px;
}

.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: #00ff41;
  color: #000000;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 4px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
  transition: all 0.3s;
  border: 2px solid #00ff41;
}

.hero-cta:hover {
  background: #000000;
  color: #00ff41;
  box-shadow: 0 0 50px rgba(0, 255, 65, 1);
  transform: scale(1.05);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  max-width: 600px;
  width: 100%;
  padding: 0 10px; /* Add padding for mobile */
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid #00ff41;
  border-radius: 4px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 900;
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
}

.stat-label {
  font-size: 0.7rem;
  color: #00ff41;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* ==================== SECTIONS ==================== */
section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(0, 255, 65, 0.2);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 12px;
  color: #00ff41;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 0 0 15px #00ff41;
}

.section-subtitle {
  text-align: center;
  color: #00ff41;
  opacity: 0.8;
  margin-bottom: 40px;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* ==================== ABOUT SECTION ==================== */
.section-about {
  background: #000000;
}

.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.about-image {
  text-align: center;
}

.image-frame {
  background: rgba(0, 255, 65, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 2px solid #00ff41;
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.placeholder-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid #00ff41;
  border-radius: 4px;
  transition: all 0.2s;
  color: #00ff41;
}

.social-icon:hover {
  background: #00ff41;
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.8);
  transform: translateY(-3px);
}

.about-content {
  text-align: center;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #00ff41;
  opacity: 0.9;
  margin-bottom: 30px;
  font-family: 'Courier New', monospace;
}

.about-features {
  list-style: none;
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
}

.about-features li {
  padding: 12px 0 12px 32px;
  position: relative;
  color: #00ff41;
  font-size: 0.95rem;
  font-family: 'Courier New', monospace;
}

.about-features li:before {
  content: ">";
  position: absolute;
  left: 0;
  color: #00ff41;
  font-size: 1.2rem;
  font-weight: 900;
}

/* ==================== SERVICES SECTION ==================== */
.section-services {
  background: linear-gradient(180deg, #000000 0%, #001a00 100%);
}

.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  background: rgba(0, 255, 65, 0.03);
  border: 2px solid #00ff41;
  border-radius: 8px;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.service-card:hover {
  background: rgba(0, 255, 65, 0.08);
  transform: translateY(-8px);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
}

.service-card.featured {
  border-color: #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.4);
}

.popular-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: #00ff41;
  color: #000000;
  font-size: 0.65rem;
  font-weight: 900;
  border-radius: 4px;
  letter-spacing: 1px;
}

.service-icon {
  color: #00ff41;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 10px #00ff41);
}

.service-card h3 {
  font-size: 1.4rem;
  color: #00ff41;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.service-desc {
  color: #00ff41;
  opacity: 0.85;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  margin: 20px 0;
  text-align: left;
}

.service-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: #00ff41;
  font-size: 0.85rem;
  font-family: 'Courier New', monospace;
}

.service-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #00ff41;
  font-weight: 900;
  font-size: 1rem;
}

.service-btn {
  display: inline-block;
  padding: 12px 28px;
  background: transparent;
  color: #00ff41;
  font-weight: 700;
  border: 2px solid #00ff41;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 12px;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-btn:hover {
  background: #00ff41;
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
  transform: scale(1.05);
}

/* ==================== PORTFOLIO SECTION ==================== */
.section-portfolio {
  background: #000000;
}

.portfolio-grid {
  display: grid;
  gap: 28px;
}

.portfolio-card {
  background: rgba(0, 255, 65, 0.03);
  border: 2px solid #00ff41;
  border-radius: 8px;
  padding: 28px;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.portfolio-card:hover {
  background: rgba(0, 255, 65, 0.08);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.4);
  transform: translateY(-4px);
}

.portfolio-header {
  margin-bottom: 16px;
}

.portfolio-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #00ff41;
  color: #000000;
  font-size: 0.7rem;
  font-weight: 900;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.portfolio-card h3 {
  color: #00ff41;
  font-size: 1.3rem;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.portfolio-desc {
  color: #00ff41;
  opacity: 0.85;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

.portfolio-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 255, 65, 0.3);
}

.portfolio-stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 900;
  color: #00ff41;
  text-shadow: 0 0 10px #00ff41;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  color: #00ff41;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==================== PROCESS SECTION ==================== */
.section-process {
  background: linear-gradient(180deg, #001a00 0%, #000000 100%);
}

.process-timeline {
  display: grid;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.process-step {
  background: rgba(0, 255, 65, 0.03);
  border: 2px solid #00ff41;
  border-radius: 8px;
  padding: 24px;
  position: relative;
  transition: all 0.3s;
}

.process-step:hover {
  background: rgba(0, 255, 65, 0.08);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
  transform: translateX(8px);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: #000000;
  color: #00ff41;
  font-size: 1.5rem;
  font-weight: 900;
  padding: 4px 16px;
  border: 2px solid #00ff41;
  border-radius: 4px;
}

.process-step h3 {
  color: #00ff41;
  font-size: 1.2rem;
  margin-bottom: 8px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-step p {
  color: #00ff41;
  opacity: 0.85;
  font-family: 'Courier New', monospace;
  line-height: 1.6;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.section-testimonials {
  background: #000000;
}

.testimonials-grid {
  display: grid;
  gap: 24px;
}

.testimonial-card {
  background: rgba(0, 255, 65, 0.03);
  border: 2px solid #00ff41;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: rgba(0, 255, 65, 0.08);
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.4);
  transform: translateY(-4px);
}

.testimonial-quote {
  color: #00ff41;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-family: 'Courier New', monospace;
  opacity: 0.9;
}

.testimonial-author {
  color: #00ff41;
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.testimonial-role {
  color: #00ff41;
  opacity: 0.7;
  font-size: 0.85rem;
}

/* ==================== CONTACT SECTION ==================== */
.section-contact {
  background: linear-gradient(180deg, #000000 0%, #001a00 100%);
}

.contact-container {
  display: grid;
  gap: 40px;
}

.contact-info h3 {
  color: #00ff41;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(0, 255, 65, 0.05);
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 4px;
  margin-bottom: 12px;
  color: #00ff41;
}

.contact-item svg {
  color: #00ff41;
  filter: drop-shadow(0 0 5px #00ff41);
}

.contact-item a {
  color: #00ff41;
  text-decoration: none;
  font-family: 'Courier New', monospace;
}

.contact-item a:hover {
  text-shadow: 0 0 10px #00ff41;
}

.contact-certifications {
  margin-top: 30px;
  padding: 20px;
  background: rgba(0, 255, 65, 0.05);
  border: 2px solid #00ff41;
  border-radius: 8px;
}

.contact-certifications h4 {
  color: #00ff41;
  margin-bottom: 16px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cert-badge {
  padding: 8px 16px;
  background: #00ff41;
  color: #000000;
  font-weight: 900;
  border-radius: 4px;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.contact-form-wrapper {
  background: rgba(0, 255, 65, 0.03);
  border: 2px solid #00ff41;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.contact-form {
  display: grid;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #00ff41;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 2px solid rgba(0, 255, 65, 0.5);
  border-radius: 4px;
  color: #00ff41;
  font-family: 'Courier New', monospace;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00ff41;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.4);
}

.submit-btn {
  padding: 16px;
  background: #00ff41;
  color: #000000;
  border: 2px solid #00ff41;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.submit-btn:hover {
  background: #000000;
  color: #00ff41;
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.6);
  transform: scale(1.02);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: #000000;
  border-top: 2px solid #00ff41;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.footer-brand h3 {
  color: #00ff41;
  font-size: 1.4rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
  text-shadow: 0 0 10px #00ff41;
}

.footer-brand p {
  color: #00ff41;
  opacity: 0.8;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links h4 {
  color: #00ff41;
  font-size: 1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  color: #00ff41;
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s;
  font-family: 'Courier New', monospace;
}

.footer-links a:hover {
  opacity: 1;
  text-shadow: 0 0 10px #00ff41;
  transform: translateX(5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 255, 65, 0.3);
}

.footer-bottom p {
  color: #00ff41;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #00ff41;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-shadow: 0 0 10px #00ff41;
}

/* ==================== TABLET (768px+) ==================== */
@media (min-width: 768px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
  }

  .header-brand {
    text-align: left;
    padding: 0;
  }

  .brand-name {
    font-size: 2rem;
  }

  .brand-tagline {
    font-size: 0.85rem;
  }

  /* Desktop Nav */
  .main-nav {
    display: flex;
    gap: 12px;
    grid-template-columns: none;
    grid-template-rows: none;
    padding: 0;
  }

  .main-nav a {
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  /* Hero Video */
  .hero-video {
    height: 70vh;
    max-height: 800px;
  }

  .glitch-text .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-cta {
    font-size: 1.1rem;
    padding: 16px 40px;
  }

  /* About Grid */
  .about-grid {
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
  }

  .about-content {
    text-align: left;
  }

  .about-features {
    margin: 0;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Portfolio Grid */
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Process Timeline */
  .process-timeline {
    max-width: 900px;
  }

  /* Testimonials Grid */
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Contact Container */
  .contact-container {
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==================== LARGE DESKTOP (1200px+) ==================== */
@media (min-width: 1200px) {
  .section-title {
    font-size: 2.8rem;
  }

  .hero-video {
    max-height: 900px;
  }

  .glitch-text .hero-title {
    font-size: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-timeline {
    max-width: 1000px;
  }
}

/* ==================== MOBILE OPTIMIZATIONS ==================== */
@media (max-width: 768px) {
  .hero-video {
    height: 75vh; /* Even taller on mobile */
    min-height: 550px; /* Ensure enough space */
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 30px;
  }

  .stat-item {
    padding: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .portfolio-stats {
    grid-template-columns: 1fr;
  }

  .cert-badges {
    justify-content: center;
  }
}

/* FORCE MOBILE HERO FIX - ADD AT BOTTOM */
@media (max-width: 768px) {
  .hero-video {
    height: auto !important;
    min-height: 650px !important;
    padding-bottom: 40px !important;
  }

  .hero-overlay {
    position: relative !important;
    min-height: 650px !important;
  }

  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    margin-top: 30px !important;
    margin-bottom: 30px !important;
  }
}