/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
  animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Header */
header {
  background: #0e2237;
  color: #fff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease;
}
header.scrolled {
  background: #06121f;
}
.logo {
  height: 50px;
  width: auto;
  /*opacity: 0.6; /* 0 = fully transparent, 1 = fully visible */
  /*filter: opacity(60%);*/
}

.navbar {
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 0;
  position: fixed;
  width: 100%;
  z-index: 999;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
.navbar nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.menu-toggle {
  display: none;
  background: none;
  color: white;
  border: none;
  font-size: 24px;
}

/* Hero */
.hero {
  background: linear-gradient(270deg, #0e2237, #134678, #0e2237);
  background-size: 600% 600%;
  animation: gradientBG 10s ease infinite;
  height: 90vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@keyframes gradientBG {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

.hero-text h1.animate-slide {
  animation: floatText 4s ease-in-out infinite;
  font-size: 2.8rem;
  color: #fff;
  text-align: center;
}

.hero-text p.animate-fade {
  animation: pulseFade 3s ease-in-out infinite;
  font-size: 1.3rem;
  color: #eee;
  margin-top: 10px;
  text-align: center;
}

@keyframes floatText {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulseFade {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* Sections */
.section {
  padding: 60px 20px;
  background: #fff;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease-out;
}
.section.visible {
  opacity: 1;
  transform: translateY(0);
}
.section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2em;
}

/* Services */
.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.service-card {
  padding: 20px;
  background: #f0f0f0;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.contact input,
.contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.contact button {
  padding: 10px;
  border: none;
  background: #0e2237;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.contact button:hover {
  background: #13375c;
}
.response-msg {
  text-align: center;
  margin-top: 10px;
  font-weight: bold;
}

#bubbleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Footer */
footer {
  text-align: center;
  background: #0e2237;
  color: white;
  padding: 15px 0;
  margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background: #0e2237;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 20px;
  }

  nav.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

.hero-text {
  transition: transform 0.2s ease-out;
}

.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 10%, transparent 10.01%);
  background-size: 100% 100%;
  width: 100px;
  height: 100px;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0;
  transform: scale(0);
  transition: transform 0.5s, opacity 0.5s;
}
.service-card:hover::after {
  opacity: 1;
  transform: scale(3);
}

.service-card .ripple {
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  pointer-events: none;
  transform: scale(0);
  transition: transform 0.5s, opacity 0.5s;
  opacity: 0;
}
.service-card:hover .ripple {
  transform: scale(3);
  opacity: 1;
}

.contact-info {
  text-align: center;
  margin-top: 30px;
  font-size: 1rem;
}
.contact-info p {
  margin: 10px 0;
}
.contact-info a {
  color: #0e2237;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* Bubbles */

.bubbles {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  top: 0;
  left: 0;
  z-index: 0;
  pointer-events: none;
}

.bubbles span {
  position: absolute;
  font-size: 2rem;
  opacity: 0.5;
  animation: float 15s linear infinite;
  color: #00ffe0;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-10vh) rotate(360deg);
    opacity: 0;
  }
}

/* Example randomized positioning */
.bubbles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.bubbles span:nth-child(2) { left: 30%; animation-delay: 3s; }
.bubbles span:nth-child(3) { left: 50%; animation-delay: 6s; }
.bubbles span:nth-child(4) { left: 70%; animation-delay: 1s; }
.bubbles span:nth-child(5) { left: 90%; animation-delay: 4s; }


.binary-background {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.binary-background span {
  position: absolute;
  font-family: monospace;
  font-size: 1.5rem;
  color: #00ff88;
  opacity: 0.3;
  animation: binaryFloat 20s linear infinite;
}

@keyframes binaryFloat {
  0% {
    top: 100%;
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    top: -10%;
    opacity: 0;
  }
}

/* Random positioning for floating */
.binary-background span:nth-child(1) { left: 5%; animation-delay: 0s; }
.binary-background span:nth-child(2) { left: 15%; animation-delay: 2s; }
.binary-background span:nth-child(3) { left: 35%; animation-delay: 4s; }
.binary-background span:nth-child(4) { left: 55%; animation-delay: 1s; }
.binary-background span:nth-child(5) { left: 75%; animation-delay: 3s; }
.binary-background span:nth-child(6) { left: 90%; animation-delay: 5s; }


.about {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.about .about-content {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
}

.about-stats {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  gap: 40px;
}

.about-stats .stat {
  background: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.about-stats h3 {
  color: #0fa;
  font-size: 2rem;
  margin: 0;
}

.about-stats p {
  margin: 5px 0 0;
  color: #666;
}

.services {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  padding: 30px;
  background: #f0f8ff;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card i {
  font-size: 2.5rem;
  color: #00ffaa;
  margin-bottom: 15px;
}

.contact {
  background: #313030;
  color: #fff;
  padding: 80px 20px;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
}

.contact-form {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input, .contact-form textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 1rem;
}

.contact-form button {
  background: #00ffaa;
  color: #2b2828;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.contact-info {
  flex: 1;
}

.contact-info i {
  color: #00ffaa;
  margin-right: 10px;
}


