 body {
      margin: 0;
      font-family: 'Merriweather', serif;
      background-color: #0B0C2A;
      color: #E100FF;
    }



    header {
      padding: 40px 20px;
      text-align: center;
    }

    header h1 {
      margin: 0;
      font-size: 3rem;
      display: inline-block;
      opacity: 0;
      color: #0ff;
      text-shadow: 0 0 5px #0ff, 0 0 15px #0ff, 0 0 30px #0ff, 0 0 60px #0ff;
      animation: flashIn 0.4s forwards ease-out, flicker 2s infinite ease-in-out;
       position: relative; 
    }

    header h1 .spark {
  position: absolute;
  bottom: 0;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #fff 20%, #0ff 60%, transparent 80%);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
  animation: sparkle 1.2s infinite;
}

header h1 .spark1 { left: 10%; animation-delay: 0.1s; }
header h1 .spark2 { left: 50%; animation-delay: 0.3s; }
header h1 .spark3 { left: 90%; animation-delay: 0.5s; }
header h1 .spark4 { left: 20%; animation-delay: 0.7s; }
header h1 .spark5 { left: 70%; animation-delay: 0.9s; }
header h1 .spark6 { left: 35%; animation-delay: 1.1s; }

@keyframes sparkle {
  0% { opacity: 0; transform: scale(0); }
  30% { opacity: 1; transform: scale(1.2); }
  60% { opacity: 0.7; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(0); }
}


    header p {
      color: #F6AFFF;
      margin-bottom: 1.5rem;
      margin-top: 2rem;
      text-shadow: 0 0 4px #F6AFFF, 0 0 8px #E6B3FF;
      font-size: 1.2rem;
    }

    h2 {
      width: 100%;
      text-align: center;
    }

    .cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  padding: 0 1rem;
}

.cta a {
  /*display: inline-block;*/
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid #F6AFFF;
   color: #00FFFF;
  background-color: transparent;
  transition: all 0.3s ease;
  box-shadow: 
    0 0 8px #f6afff55,
    0 0 12px #00ffff44,
    inset 0 0 6px #f6afff22;
}

.cta a:hover {
  background-color: #F6AFFF;
  color: #0B0C2A;
  transform: scale(1.05);
  box-shadow: 
    0 0 12px #f6afff99,
    0 0 18px #00ffffaa,
    inset 0 0 10px #ffffff55;
}


    .animated-title span {
      display: inline-block;
      opacity: 0;
      transform: translateY(20px);
      animation: fadeInLightning 0.8s forwards, flicker 2s infinite ease-in-out;
      animation-delay: var(--delay);
    }

    @keyframes fadeInLightning {
      0% { opacity: 0; transform: translateY(20px); text-shadow: none; }
      40% { opacity: 1; transform: translateY(0); text-shadow: 0 0 10px #00f6ff; }
      100% { opacity: 1; transform: translateY(0); text-shadow: 0 0 20px #00e0ff; }
    }

    @keyframes flicker {
      0%, 100% { opacity: 1; text-shadow: 0 0 10px #0ff, 0 0 20px #0ff; }
      15% { opacity: 0.6; text-shadow: 0 0 20px #0ff; }
      30% { opacity: 0.8; text-shadow: 0 0 5px #0ff; }
      45% { opacity: 0.3; text-shadow: none; }
      60% { opacity: 1; text-shadow: 0 0 30px #0ff; }
    }

    @keyframes flashIn {
      0% { opacity: 0; transform: scale(0.8) rotate(-15deg); text-shadow: none; }
      100% { opacity: 1; transform: scale(1) rotate(0); }
    }

    .header-container {
      position: relative;
      padding-bottom: 40px;
      margin-bottom: 60px;
      text-align: center;
      animation: shake 0.4s ease-in-out 1.5s 1;
    }

    .header-container::before,
    .header-container::after {
      content: "";
      position: absolute;
      bottom: 0;
      height: 4px;
      width: 50%;
      background: #0ff;
      box-shadow: 0 0 10px #0ff, 0 0 20px #0ff;
      transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    }

    .header-container::before { left: 0; transform-origin: right center; }
    .header-container::after { right: 0; transform-origin: left center; }

    .header-container:hover::before { transform: rotate(15deg) translateX(-10px); opacity: 0.8; }
    .header-container:hover::after { transform: rotate(-15deg) translateX(10px); opacity: 0.8; }

    .spark {
      position: absolute;
      bottom: 0;
      width: 8px;
      height: 8px;
      background: radial-gradient(circle, #fff 20%, #0ff 60%, transparent 80%);
      border-radius: 50%;
      opacity: 0;
      pointer-events: none;
      transform: scale(0);
    }

    .spark1 { left: 48%; }
    .spark2 { left: 50%; }
    .spark3 { left: 52%; }

    .header-container:hover .spark1 { animation: sparkOut1 0.6s ease-out forwards; }
    .header-container:hover .spark2 { animation: sparkOut2 0.6s ease-out 0.1s forwards; }
    .header-container:hover .spark3 { animation: sparkOut3 0.6s ease-out 0.2s forwards; }

    @keyframes sparkOut1 {
      0% { opacity: 1; transform: translateY(0) scale(1); }
      100% { opacity: 0; transform: translate(-30px, -30px) scale(0.1); }
    }
    @keyframes sparkOut2 {
      0% { opacity: 1; transform: translateY(0) scale(1); }
      100% { opacity: 0; transform: translateY(-35px) scale(0.1); }
    }
    @keyframes sparkOut3 {
      0% { opacity: 1; transform: translateY(0) scale(1); }
      100% { opacity: 0; transform: translate(30px, -30px) scale(0.1); }
    }

    @keyframes shake {
      0%, 100% { transform: translateX(0); }
      25% { transform: translateX(-2px); }
      50% { transform: translateX(2px); }
      75% { transform: translateX(-1px); }
    }

header,
.team,
.contact {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}

.team {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4.5rem;
}

.team {  
   min-height: 100vh;
  height: auto;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.team h2 {
  font-size: 2rem;
  color: #00FFFF;
  letter-spacing: 0.2rem;
  word-spacing: 0.2rem;
  margin-bottom: 1rem; 
  padding-top: 1rem;
}

#team h2 {
  font-size: 2.5rem;
  color: #00ffff;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow:
    0 0 2px #00ffff,
    0 0 5px #00ffff,
    0 0 10px #00ffff,
    0 0 15px #00e0ff;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0% {
    text-shadow:
      0 0 5px #00ffff,
      0 0 10px #00ffff,
      0 0 20px #00ffff,
      0 0 40px #00e0ff;
  }
  50% {
    text-shadow:
      0 0 2px #00ffff,
      0 0 4px #00ffff,
      0 0 8px #00ffff,
      0 0 16px #00e0ff;
  }
  100% {
    text-shadow:
      0 0 5px #00ffff,
      0 0 10px #00ffff,
      0 0 20px #00ffff,
      0 0 40px #00e0ff;
  }
}




.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 7rem;
  justify-content: center;
  align-items: center;
}

.member {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem;
  border-radius: 12px;
  width: 200px;
  box-shadow: 0 0 10px rgba(0,255,255,0.3);
  transition: transform 0.3s ease;
  perspective: 1000px;
  width: 260px;
  height: 340px;
  transition: transform 0.3s ease

}

.member:hover {
  transform: scale(1.05);
}

.member img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.member h3 {
  color: #00FFFF;
  margin: 0.5rem 0 0.2rem;
}

.member p {
  color: #F6AFFF;
  font-size: 0.9rem;
  margin: 0;
}

.member {
  perspective: 1000px;
  width: 200px;
  height: 280px;
}

.card {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s;
  background-color: #000814;
  border: 2px solid #00ffffaa;
  border-radius: 12px;
  box-shadow: 0 0 12px #00ffff55, inset 0 0 8px #00ffff33;
}

.member:hover .card {
  transform: rotateY(180deg);
  cursor: pointer;
}

/* Shared styles */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 1.2rem;
}

/* Front Side */
.card-front {
  background-color: #0b0c2a;
  color: #00ffff;
  box-shadow: inset 0 0 10px #00ffff22;
}

.card-front img {
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 0 12px #00ffff88;
}


.card-front h3,
.card-front p {
  margin: 0.3rem 0;
  color: #00ffff;
  text-shadow: 0 0 6px #00ffff99;
  font-weight: bold;
}

/* Back Side */
.card-back {
  background-color: #01061c;
  color: #F6AFFF;
  transform: rotateY(180deg);
  box-shadow: inset 0 0 15px #e100ff44;
  text-align: center;
}

.card-back h3 {
  color: #F6AFFF;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 6px #E100FF;
}

@keyframes pinkPulse {
  0%, 100% {
    box-shadow: 0 0 10px #f6afff55, inset 0 0 8px #f6afff33;
  }
  50% {
    box-shadow: 0 0 20px #f6afffaa, inset 0 0 12px #f6afff66;
  }
}


.member:hover .card {
  animation: pinkPulse 1.5s infinite ease-in-out;
  border-color: #F6AFFF;
}




.image-glow {
  position: relative;
  display: inline-block;
  border-radius: 12px;
  overflow: hidden;
}

.image-glow img {
  width: 140px;
  height: auto;
  display: block;
  border-radius: 12px;
  z-index: 1;
  position: relative;
}

.image-glow::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;

  /* Electric tracer */
  background: linear-gradient(
    90deg,
    transparent 0%,
    #00ffff 50%,
    transparent 100%
  );
  background-size: 200% 200%;
  animation: borderTracer 2s linear infinite;

  /* Glow effect */
  filter: drop-shadow(0 0 6px #00ffffaa)
          drop-shadow(0 0 10px #00ffff88);

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;

  padding: 2px;
  border: 2px solid transparent;
  box-sizing: border-box;
}
@keyframes borderTracer {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.section-heading {
  width: 100%;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #00ffff;
  text-shadow: 0 0 4px #00ffff99;
  text-transform: uppercase;
  animation: glowPulse 2s infinite;
  padding-top: 2rem;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4rem;
  padding: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.role-box {
  flex: 1 1 300px;
  max-width: 400px;
  min-height: 360px;
  background: rgba(0, 0, 0, 0.25); /* Transparent glass-like base */
  backdrop-filter: blur(12px);
  border: 1px solid #00ffff44;
  border-radius: 16px;
  box-shadow:
    0 0 12px #00ffff44,
    inset 0 0 6px #00ffff22;
  color: #fff;
  text-align: center;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-box:hover {
  transform: translateY(-6px);
  animation: pinkGlowPulse 2s infinite ease-in-out;
  border-color: #F6AFFF;
}

@keyframes pinkGlowPulse {
  0%, 100% {
    box-shadow: 0 0 10px #f6afff55, inset 0 0 8px #f6afff33;
  }
  50% {
    box-shadow: 0 0 20px #f6afffaa, inset 0 0 12px #f6afff66;
  }
}



.role-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-shadow: 0 0 4px #fff;
}

.role-box ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-top: 1rem;
}

.role-box ul li {
  margin-bottom: 0.6rem;
  padding-left: 1.5rem;
  position: relative;
  font-size: 1rem;
}

.role-box ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00ffff;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-shadow: 0 0 10px #00ffffaa;
}

.contact-section {
  padding-top: 2rem;
  padding-bottom: 6.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background-color: #0B0C2A;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  box-shadow: 0 0 20px #00ffff55, inset 0 0 10px #00ffff22;
  border: 1px solid #00ffff33;
  transition: box-shadow 0.3s ease;
  margin: 0 auto;
  box-sizing: border-box;
}

}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
  max-width: 600px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.3); /* Semi-transparent background */
  backdrop-filter: blur(10px);    /* Glassy blur */
  border-radius: 16px;
  box-shadow: 0 0 20px #00ffff55, inset 0 0 10px #00ffff22;
  border: 1px solid #00ffff33;
  transition: box-shadow 0.3s ease;
}
@keyframes cardPulse {
  0%, 100% {
    box-shadow: 0 0 20px #00ffff55, inset 0 0 10px #00ffff22;
  }
  50% {
    box-shadow: 0 0 30px #00ffff88, inset 0 0 15px #00ffff44;
  }
}

.contact-form {
  animation: cardPulse 3s infinite ease-in-out;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #F6AFFF;
  background-color: rgba(0, 0, 0, 0.3);
  color: #F6AFFF;
  box-shadow: 0 0 6px #f6afff33;
  transition: box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 10px #F6AFFF, 0 0 20px #F6AFFF66;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form button {
  align-self: center;
  padding: 0.75rem 2rem;
  background-color: #00ffff;
  color: #0B0C2A;
  font-weight: bold;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 0 10px #00ffffaa;
}

.contact-form button {
  width: fit-content;
  background-color: transparent;
  color: #F6AFFF;
  border: 1px solid #F6AFFF;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 6px #f6afff44;
}

.contact-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00ffffcc;
}

.contact-form button:hover {
  background-color: #F6AFFF;
  color: #0B0C2A;
  box-shadow: 0 0 12px #f6afff99, 0 0 24px #f6afffaa;
}




footer {
  padding: 2.5rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  border-top: 1px solid #00ffff33;
  text-align: center;
  color: #F6AFFF;
  font-size: 0.95rem;
  box-shadow: 0 -2px 12px #00ffff44;
}
  .glow-card {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
  border: 1px solid #00ffff33;
  border-radius: 16px;
  box-shadow: 0 0 15px #00ffff55, inset 0 0 10px #00ffff22;
}

}

  body {
      overflow-x: hidden;
    }

    @media (max-width: 1024px) {
      .team-members {
        gap: 2rem;
        flex-wrap: wrap;
        justify-content: center;
      }
       .member {
    width: 220px;
    height: 300px;
  }
    }

    @media (max-width: 768px) {
  .team {
    padding: 1rem;
  }

  .team h2 {
    font-size: 1.8rem;
  }

  .team-members {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .member {
    width: 100%;
    max-width: 320px;
    height: auto;
  }

  .card {
    min-height: 360px;
    min-width: 260px;
  }

  .card-front img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
}


  @media (max-width: 480px) {
  .team h2 {
    font-size: 1.6rem;
  }

  .member {
    width: 95%;
    height: auto;
  }

  .card {
    min-height: 300px; 
    min-width: 240px;
  }

  .card-front img {
    max-height: 200px;  
  }

  .card-front h3,
  .card-front p,
  .card-back h3,
  .card-back p {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 5rem 1rem;
  }

  .contact-form {
    padding: 1.5rem;
    margin: 0 1rem;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 4rem 0.75rem;
  }

  .contact-form {
    padding: 1rem;
    margin: 0 0.5rem;
    gap: 0.8rem;
  }
}

@media (max-width: 768px) {
  .cta {
    flex-direction: column;
    gap: 1rem;
    margin-right: 35px;
  }

  .cta a {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .cta a {
    font-size: 0.9rem;
    padding: 0.75rem 1.2rem;
  }
}
