:root {
  --bg-1: #070607;
  --bg-2: #0e0e10;
  --accent: #ff2e2e;
  --accent-dark: #cc2222;
  --muted: #bfbfbf;
  --panel-bg: rgba(0, 0, 0, 0.35);
  --soft-bg: rgba(20, 20, 20, 0.6);
  --gradient-bg: linear-gradient(135deg, rgba(30, 30, 30, 0.85), rgba(20, 20, 20, 0.6));
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
  background: var(--bg-1);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

/* Background Particles + Hero Section */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--bg-1);
  z-index: -3;
  pointer-events: none;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  -webkit-transform: translate3d(0, 0, 0);
  will-change: transform;
}

#particles-js>canvas {
  filter: drop-shadow(0 0 12px rgba(255, 46, 46, 0.45)) drop-shadow(0 0 6px rgba(255, 46, 46, 0.25));
  mix-blend-mode: screen;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  z-index: 50;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.05));
  backdrop-filter: blur(4px);
}

.logo {
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 75px;
  height: 75px;
  border-radius: 6px;
  /*box-shadow: 0 6px 18px rgba(204,34,34,0.18);*/
}

.logo .mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

/* Hero Section */
.hero-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8%;
  position: relative;
  z-index: 10;
}

.hero {
  width: 46%;
  max-width: 680px;
  min-width: 320px;
  padding: 48px 36px;
  background: var(--panel-bg);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

.kicker {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  margin-bottom: 14px;
}

.subline {
  font-size: 13px;
  color: #a9a9a9;
  margin-bottom: 8px;
}

h1 {
  font-size: 48px;
  line-height: 1.02;
  margin-bottom: 18px;
  font-weight: 900;
  letter-spacing: -0.5px;
}

p.lead {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 26px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #080707;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(255, 46, 46, 0.12);
  font-size: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta:active {
  transform: translateY(1px);
}

.black_background {
  background: rgba(15, 15, 15, 0.85);
  /* more opaque for better contrast */
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  margin-top: 50px;
  position: relative;
  z-index: 20;
}

/* Engagements Section */
.engagements {
  padding: 50px 8%;
  text-align: center;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  box-shadow: 0 8px 40px rgba(74, 72, 72, 0.5);
}

.engagements h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 800;
  color: #fff;
}

.slider {
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 10px;
  position: relative;
}

.slides {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
}

.slide {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 40px;
}

.slide img {
  max-height: 120px;
  max-width: 120px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Services Section */
.services {
  padding: 80px 8%;
  text-align: center;
  /*background: rgba(20,20,20,0.9); */
  /* darker for readability */
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  margin-top: 50px;
  position: relative;
  /* ✅ enables z-index */
  z-index: 30;
  /* stays above particles */
}

.services h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 800;
  color: #fff;
}

.services p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 50px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  align-items: stretch;
}

.service-card {
  flex: 0 0 260px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  z-index: 35;
  /* keep cards clickable */
}

.service-card i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent);
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(255, 46, 46, 0.3);
}

/* About Section */
.about,
.achievements {
  padding: 80px 10%;
  text-align: center;
  position: relative;
  /* ✅ */
  z-index: 30;
  /* above particles */
}

.about h2 {
  font-size: 28px;
  margin-bottom: 20px;
  font-weight: 800;
  color: #fff;
}

.about-content p {
  max-width: 800px;
  margin: 20px auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

/* Achievements Section */
.achievements-wrap {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.achievements .swiper {
  width: 500px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 35;
  /* ✅ clickable slides */
}

.achievements .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.achievements-text {
  max-width: 400px;
  text-align: left;
}

.achievements-text h3 {
  color: var(--accent);
  margin-bottom: 14px;
}

/* Certifications Section */
.certifications {
  padding: 60px 5%;
  text-align: center;
  /*background: rgba(20,20,20,0.9); */
  /* stronger bg for visibility */
  position: relative;
  z-index: 30;
}

.certifications h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #fff;
}

.certifications .swiper {
  width: 80%;
  max-width: 1000px;
  height: 250px;
  margin: 30px auto;
  border-radius: 12px;
  /*box-shadow: 0 6px 24px rgba(116, 99, 99, 0.35);*/
  background: rgba(255, 255, 255, 0.199);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 35;
}

.certifications .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 980px) {
  .hero {
    width: 62%;
  }

  h1 {
    font-size: 40px;
  }

  .service-card {
    flex: 0 0 45%;
  }
}

@media (max-width: 760px) {
  header {
    padding: 14px 20px;
    height: 64px;
  }

  nav {
    display: none;
  }

  .hero-wrap {
    padding: 28px;
  }

  .hero {
    width: 100%;
    padding: 28px;
  }

  h1 {
    font-size: 30px;
  }

  .service-card {
    flex: 0 0 100%;
  }

  .achievements .swiper {
    width: 100%;
  }
}

/* Contact Section */
/* Contact Section */
.contact {
  padding: 80px 8%;
  background: rgba(15, 15, 15, 0.85);
  /* more opaque for better contrast */
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  text-align: center;
  margin-top: 50px;
  position: relative;
  z-index: 20;
  /* ensure it’s above particles */
}

.contact-wrap {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 25;
  /* ensures form inputs are above background */
}

.contact h2 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 16px;
}

.contact p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 30;
  /* form inputs above everything */
}

.contact-form input,
.contact-form textarea {
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.7);
  /* darker for visibility */
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.85);
}

.contact-form button.cta {
  width: fit-content;
  align-self: center;
  z-index: 35;
  position: relative;
}


/* Footer Styles */
.footer {
  background: linear-gradient(180deg, rgba(26, 26, 26, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient);
  opacity: 0.6;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 5% 40px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Brand Section */
.footer-brand {
  max-width: 350px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.brand-logo:hover {
  transform: translateY(-2px);
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.logo-mark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.brand-logo:hover .logo-mark::before {
  transform: translateX(100%);
}

.logo-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: #ff2e2e;
  letter-spacing: -0.5px;
}

.brand-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 32px;
}

.brand-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Footer Sections */
.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  space-y: 12px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--text);
  padding-left: 16px;
}

.footer-links a:hover::before {
  width: 8px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link i {
  font-size: 18px;
  position: relative;
  z-index: 1;
}

.social-link:hover i {
  color: white;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 14px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-legal a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    max-width: none;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 40px 5% 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .brand-stats {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 20px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }
}