@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');


@font-face {
  font-family: 'Arciform';
  src: url('fonts/Arciform.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Konnect';
  src: url('fonts/Konnect-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}
/* Add additional faces as needed for bold, italic */



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Exo 2', sans-serif;
  background: #0d0d0d;
  color: #f1f1f1;
  line-height: 1.6;
  scroll-behavior: smooth;
  font-size: 1.725rem;
  font-weight: 300; 
  font-style: normal;
}



a {
  text-decoration: none;
  color: #2F77F1;
}
a:hover {
  color: #4e9dff;
}

header.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.logo {
  height: 48px;
}
.nav-links {
  display: flex;
  gap: 3.5rem;
  list-style: none;
}
.nav-link {
  color: #fff;
  font-weight: 600;
  position: relative;
  font-size: 1.3rem;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #2F77F1;
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}
#particles-js {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}



.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.cta-button {
  padding: 12px 28px;
  font-size: 1rem;
  background: #2F77F1;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}
.cta-button:hover {
  background: #000102;
}

/* -- MAIN CONTENT STYLES BELOW -- */

main {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
section {
  margin-bottom: 80px;
  background: #111;
  border-radius: 12px;
  padding: 60px 30px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 2.3rem;
  color: #2F77F1;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
}
p {
  text-align: center;
  font-size: 1.1rem;
  max-width: 850px;
  margin: 0 auto 24px;
  color: #ddd;
}

#about {
  text-align: center;
  margin-bottom: 80px;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.about-card {
  background: rgba(23, 71, 176, 0.215);
  backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 30px 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(47, 119, 241, 0.15);
}
.about-card i {
  font-size: 2.2rem;
  color: #2F77F1;
  margin-bottom: 15px;
}
.about-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #fff;
}
.about-card p {
  font-size: 1rem;
  color: #ccc;
}



/* SERVICES GRID */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.card {
  background: rgba(23, 71, 176, 0.215);
  padding: 32px 22px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(47,119,241,0.15);
  color: #ccc;
}
.card i {
  font-size: 2.2rem;
  color: #2F77F1;
  margin-bottom: 14px;
}
.card:hover {
  transform: translateY(-6px) scale(1.02);
  background: #2c49ee6d;
  box-shadow: 0 6px 30px rgba(47,119,241,0.2);
}
.carousel-wrapper {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 30px 10px;
  max-width: 400px; /* Mobile screenshot size */
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  border-radius: 18px;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.project-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.project-slide img {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 9 / 18;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.project-slide img:hover {
  transform: scale(1.015);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2F77F1;
  color: white;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 50%;
  font-size: 1.1rem;
}
.carousel-btn.prev {
  left: 10px;
}
.carousel-btn.next {
  right: 10px;
}



/* CONTACT */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
  
}
.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 6px;
  background: #1e1e1e;
  border: 1px solid #444;
  color: white;
}
.contact-form button {
  background: #2F77F1;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  color: white;
  cursor: pointer;
}
.contact-form button:hover {
  background: #1a5ed6;
}
.success-message {
  color: #7ed957;
  text-align: center;
  margin-top: 10px;
}

/* FOOTER */
footer {
  background: #040404;
  color: #aaa;
  padding: 30px 20px;
  text-align: center;
}

.footer-socials {
  margin-bottom: 12px;
}

.footer-socials a {
  color: #aaa;
  margin: 0 10px;
  font-size: 1.25rem;
  transition: color 0.3s;
}

.footer-socials a:hover {
  color: #2F77F1;
}
 .footer-socials a svg {
  fill: #aaa;
  transition: fill 0.3s;
}

.footer-socials a:hover svg {
  fill: #2F77F1;
}

.metrics {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 60px 20px;
  text-align: center;
  background: #111111;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.metric h3 {
  font-size: 2.7rem;
  color: #2F77F1;
  margin-bottom: 10px;
  font-family: "Exo 2", sans-serif;
  font-weight: 700;
}

.metric p {
  font-size: 1.1rem;
  color: #ccc;
  font-family: "Exo 2", sans-serif;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 4rem;
  }
  .carousel-track img {
    max-height: 300px;
  }
  section {
    padding: 40px 20px;
  }
}
.founder-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #121212;
  border-radius: 12px;
}
.founder-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2F77F1;
  transition: transform 0.3s ease;
}
.founder-img:hover {
  transform: scale(1.05);
}
.founder-info {
  flex: 1;
  min-width: 260px;
  color: #eee;
}
.founder-info h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  color: #f1f1f1;
}
.founder-info .title {
  font-weight: 600;
  color: #aaa;
  margin-bottom: 10px;
}
.founder-info .bio {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: #ccc;
}
.founder-info .more-bio {
  display: none;
  color: #aaa;
  font-size: 0.95rem;
}
.founder-container:hover .more-bio {
  display: block;
  animation: fadeInUp 0.8s ease;
}
.social-icons {
  margin-top: 12px;
}
.social-icons a {
  color: #2F77F1;
  margin-right: 12px;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #4e9dff;
}
.signature {
  font-family: 'Brush Script MT', cursive;
  font-size: 2rem;
  margin-top: 14px;
  color: #2F77F1;
  animation: signIn 1.8s ease-out forwards;
  opacity: 0;
}

@keyframes signIn {
  0% {
    transform: translateX(-40px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 20px;
    background: #111;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  }

  .nav-links.active {
    display: flex;
  }
}

#toast-container {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}


.toast {
  background: #1e1e1e;
  color: #fff;
  padding: 14px 20px;
  border-radius: 6px;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadein 0.5s ease, fadeout 0.5s ease 3s;
}

.toast.success { border-left: 4px solid #7ed957; }
.toast.error { border-left: 4px solid red; }

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeout {
  from { opacity: 1; }
  to { opacity: 0; transform: translateY(-10px); }
}










/* Optional: overlay reveal effect */
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #0d0d0d;
  mix-blend-mode: normal;
  animation: overlayReveal 1.2s ease-out 0.3s forwards;
}

@keyframes overlayReveal {
  to { opacity: 0; visibility: hidden; }
}

/* Ensure overlay stays behind text but above particles */
.hero {
  position: relative;
}
.hero-content {
  position: relative; z-index: 2;
}
.hero-overlay {
  z-index: 1;
}
.hero-title {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1rem;
  text-align: center;
  font-size: clamp(2.5rem, 8vw, 10rem);
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  color: #2F77F1;
  margin-bottom: 1.5rem;
  margin-left: 500px;
  text-shadow:
    0 2px 6px rgba(255, 255, 255, 0.4),
    0 4px 10px rgba(47, 119, 241, 0.25);
  mix-blend-mode: lighten;
  animation: heroGlowEnter 1.2s ease-out forwards;
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}


.hero-sub {
  font-size: 1.6rem;
  font-weight: 500;
  color: #ccc;
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: entrance-fadeup 1.5s ease-out forwards;
  animation-delay: 0.3s;
  transform: translateY(30px) scale(0.95);
}

.hero-sub span {
  display: inline-block;
  animation: pop-in 0.6s ease forwards;
  opacity: 0;
}
.hero-sub span:nth-child(1) { animation-delay: 0.5s; }
.hero-sub span:nth-child(2) { animation-delay: 0.7s; }
.hero-sub span:nth-child(3) { animation-delay: 0.9s; }

.hero-desc {
  font-size: 1.1rem;
  color: #999;
  margin-bottom: 1.8rem;
  opacity: 0;
  animation: entrance-fadeup 1.7s ease-out forwards;
  animation-delay: 0.6s;
}


/* Glowing overlay behind content */
.hero-overlay-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(47, 119, 241, 0.05), transparent 70%);
  z-index: -1;
}

/* Make sure content is above */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
@keyframes entrance-fadeup {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}






@keyframes heroGlowEnter {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}




@keyframes glitch {
  0% { transform: scale(1) skewX(0); opacity: 1; }
  20% { transform: scale(1.1) skewX(5deg); opacity: 0.8; }
  40% { transform: scale(0.9) skewX(-5deg); opacity: 0.9; }
  60% { transform: scale(1.05) skewX(3deg); opacity: 0.7; }
  80% { transform: scale(0.95) skewX(-3deg); opacity: 0.85; }
  100% { transform: scale(1) skewX(0); opacity: 1; }
}




.glitch-active {
  animation: glitch 0.4s ease-in-out;
}


.static-part {
  font-family: 'Orbitron', sans-serif;
  color: #2F77F1;
  font-size: clamp(10rem, 8vw, 10rem);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;

  text-shadow:
    0 2px 6px rgba(255, 255, 255, 0.4),
    0 4px 10px rgba(47, 119, 241, 0.25);
}

#glitch-word {
  display: inline-block;
  width: 8ch; /* enough space for longest word */
  text-align: left;
  overflow: hidden;
  white-space: nowrap;

  font-family: 'Orbitron', sans-serif;
  color: #2F77F1;
  font-size: clamp(10rem, 8vw, 10rem);
  font-weight: 800;
  text-transform: uppercase;
  text-shadow:
    0 2px 6px rgba(255, 255, 255, 0.4),
    0 4px 10px rgba(47, 119, 241, 0.25);
}


@media (max-width: 768px) {
 .hero-title {
  font-size: clamp(1.8rem, 10vw, 4rem);
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin-right: 320px;
}


.static-part,
#glitch-word {
  font-size: clamp(3.3rem, 8vw, 10rem);
}


  .hero-sub {
    font-size: 0.85rem;
  }
}

/* === ANIMATION TESTING ZONE === */

/* 1. Pulse Glow */
.test-effect.pulse {
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 119, 241, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(47, 119, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 119, 241, 0);
  }
}

/* 2. Bounce In */
.test-effect.bounce {
  animation: bounceIn 1s ease-out 0.4s forwards;
  opacity: 0;
}
@keyframes bounceIn {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  70% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* 3. Shine Sweep */
.test-effect.shine {
  position: relative;
  overflow: hidden;
}
.test-effect.shine::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.3), rgba(255,255,255,0));
  transform: skewX(-20deg);
  animation: sweep 2s infinite;
}
@keyframes sweep {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* 4. Wiggle Pop */
.test-effect.wiggle {
  animation: wigglePop 2.2s ease-in-out infinite;
}
@keyframes wigglePop {
  0%, 100% { transform: scale(1); }
  10% { transform: rotate(-2deg) scale(1.05); }
  20% { transform: rotate(2deg) scale(1.1); }
  30% { transform: rotate(-1deg) scale(1.05); }
  40% { transform: rotate(1deg); }
  50% { transform: scale(1); }
}

/* 5. Neon Flicker */
.test-effect.neon {
  animation: neonFlicker 3s infinite;
  box-shadow: 0 0 5px #2F77F1, 0 0 10px #2F77F1;
}
@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    box-shadow: 0 0 5px #2F77F1, 0 0 10px #2F77F1;
  }
  20%, 24%, 55% {
    box-shadow: none;
  }
}

/* === ANIMATION TESTING ZONE === */

/* 1. Pulse Glow */
.test-effect.pulse {
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(47, 119, 241, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(47, 119, 241, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(47, 119, 241, 0);
  }
}







.outline-pulse {
  position: relative;
  z-index: 1;
}
.outline-pulse::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 2px solid #2F77F1;
  border-radius: 8px;
  opacity: 0;
  z-index: -1;
  animation: outlinePulse 2.5s infinite;
}
@keyframes outlinePulse {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 0.2; transform: scale(1.1); }
  100% { opacity: 0; transform: scale(1.2); }
}



.fireflash {
  animation: flashLoop 2.5s infinite;
}
@keyframes flashLoop {
  0% { box-shadow: 0 0 10px #2F77F1; }
  25% { box-shadow: 0 0 25px #2F77F1; }
  50% { box-shadow: 0 0 15px #2F77F1; }
  75% { box-shadow: 0 0 30px #2F77F1; }
  100% { box-shadow: 0 0 10px #2F77F1; }
}

@keyframes buttonEntrance {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.85);
  }
  40% {
    transform: translateY(10px) scale(1.05);
  }
  70% {
    transform: translateY(0) scale(0.98);
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cta-button.entrance.fireflash {
  animation:
    buttonEntrance 1.2s ease-out forwards,
    fireflash 3s infinite ease-in-out 1.2s;
}
@media (max-width: 768px) {
  .cta-button.entrance {
    animation-delay: 0.8s;
  }
}

.cta-button.combo-animate {
  position: relative;
  z-index: 1;
  animation: buttonEntrance 4.2s ease-out forwards, flashLoop 2.5s infinite ease-in-out 1.2s;
}

.cta-button.combo-animate::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px; right: -4px; bottom: -4px;
  border: 2px solid #2F77F1;
  border-radius: 8px;
  opacity: 0;
  z-index: -1;
  animation: outlinePulse 2.5s infinite 1.2s;
}


.section-animate {
  opacity: 1;
  transform: translateY(60px) scale(0.95);
  transition: transform 0.6s ease, opacity 0.6s ease;
  will-change: transform, opacity;
}

.section-animate.in-view {
  opacity: 1;
  transform: translateY(0) scale(1);
}
