* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', sans-serif;
    }

    body {
      background: linear-gradient(to bottom, #0f172a, #1e293b);
      color: #fff;
      min-height: 100vh;
    }

    /* Navbar */
    .navbar {
      background: #0f172a;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: sticky;
      top: 0;
      z-index: 999;
    }

    .navbar .logo {
      font-size: 1.5rem;
      font-weight: bold;
      color: #38bdf8;
    }

    .navbar ul {
      list-style: none;
      display: flex;
      gap: 1.5rem;
    }

    .navbar ul li a {
      text-decoration: none;
      color: #cbd5e1;
      font-weight: 500;
      transition: color 0.3s;
    }

    .navbar ul li a:hover {
      color: #4ade80;
    }

    .mobile-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .mobile-toggle div {
      width: 25px;
      height: 3px;
      background: #38bdf8;
      margin: 4px 0;
    }

    @media (max-width: 768px) {
      .navbar ul {
        display: none;
        flex-direction: column;
        background: #0f172a;
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 1rem;
      }

      .navbar ul.show {
        display: flex;
      }

      .mobile-toggle {
        display: flex;
      }
    }

    header {
      background: url(images/microworld-front1.png) no-repeat center center/cover;
      height: 100vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
    }

    header::after {
      content: '';
      position: absolute;
      /*inset: 0;*/
      /*background: rgba(0, 0, 0, 0.6);*/
    }

    .hero-text {
      position: relative;
      z-index: 1;
    }

    .hero-text h1 {
      font-size: 8rem;
      color:#020127;
      /*background: linear-gradient(to right, #230218, #750864);
      /*-webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: glow 3s infinite alternate;*/
      margin: 0;
      padding: 0;
      word-wrap: break-word;
      -webkit-text-stroke: 2px #07fcec; /* Outline color and thickness */
    }

    .hero-text p {
      margin-top: 0.5rem;
      color: #020127;
      font-size: 1.5rem;
      -webkit-text-stroke: 1px #000000; /* Outline color and thickness */
    }

    @keyframes glow {
      from { text-shadow: 0 0 10px #22d3ee; }
      to { text-shadow: 0 0 25px #22d3ee, 0 0 40px #38bdf8; }
    }

    .container {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

    .card {
  background-color: #0f1b2a;
  padding: 20px;
  border-radius: 0px; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  text-align: left;
  height: 600px; /* Increase card height */
}



.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2ad3e7; /* Better contrast */
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 1rem;
  color: #d0d0d0;
  line-height: 1.6;
}


.card:hover {
  border-image: linear-gradient(45deg, #4ade80, #38bdf8) 1;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
  transform: translateY(-5px);
}



  .logo img {
  height: 40px;     /* Change height as needed */
  width: 60px;
  object-fit: contain;
  display: block;
  padding: 0;
}
    
   
    footer {
      text-align: center;
      padding: 2rem 1rem;
      font-size: 0.9rem;
      color: #94a3b8;
      background-color: #0f172a;
    }
  
  .btn {
  background-color: #2ad3e7;
  color: #000;
  padding: 12px 24px;
  border: none;
  /*border-radius: 6px;*/
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 60%;
  text-align: center;
}

.btn:hover {
  background-color: #1bb6c8;
  transform: scale(1.02);
}


  
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
}


  
  .about-section {
  background: linear-gradient(to bottom, #0f172a, #1e293b);
  padding: 80px 20px;
  color: white;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  animation: fadeInUp 1.5s ease-in-out;
}

.about-heading {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 40px;
  text-transform: uppercase;
  border-bottom: 3px solid white;
  display: inline-block;
  padding-bottom: 10px;
  animation: pulse 1s ease-in-out infinite alternate;
}

.about-animated-text {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.about-animated-text span {
  display: inline-block;
  transform: translateY(30px);
  opacity: 0;
  animation: riseUp 1s forwards;
}

.about-animated-text span:nth-child(1) { animation-delay: 0.2s; }
.about-animated-text span:nth-child(2) { animation-delay: 0.4s; }
.about-animated-text span:nth-child(3) { animation-delay: 0.6s; }
.about-animated-text span:nth-child(4) { animation-delay: 0.8s; }
.about-animated-text span:nth-child(5) { animation-delay: 1s; }
.about-animated-text span:nth-child(6) { animation-delay: 1.2s; }
.about-animated-text span:nth-child(7) { animation-delay: 1.4s; }
.about-animated-text span:nth-child(8) { animation-delay: 1.6s; }
.about-animated-text span:nth-child(9) { animation-delay: 1.8s; }
.about-animated-text span:nth-child(10) { animation-delay: 2s; }

.about-subtext {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeIn 2s ease forwards;
  animation-delay: 2.5s;
}

/* Keyframes */
@keyframes riseUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.05);
  }
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 4rem;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.5rem;
  }
}

.colored-text {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
}

.colored-text .red {
  color: red;
}

.colored-text .yellow {
  color: yellow;
}

.colored-text .green {
  color: green;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
}

.contact-section {
  padding: 80px 20px;
  background: linear-gradient(to right, #e0f7ff, #f0faff);
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
  padding: 40px;
}

.contact-info h2,
.contact-form h2 {
  margin-bottom: 20px;
  font-size: 28px;
  color: #0f172a;
  font-weight: 600;
}

.contact-info p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 14px 16px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.3);
  background-color: #fff;
  outline: none;
}

.contact-form button {
  padding: 14px;
  background: linear-gradient(to right, #0f172a, #1e40af);
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background: #0b1e39;
  transform: scale(1.02);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form {
    padding: 30px 20px;
  }
}

/* Animation */
@keyframes slide-up {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }
}

.contact-wrapper {
  padding: 60px 20px;
  background: linear-gradient(to bottom, #0f172a, #1e293b);
  display: flex;
  justify-content: center;
}

.contact-box {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  background: rgb(1, 167, 112);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-left {
  background: #a88806;
  color: white;
  flex: 1;
  padding: 40px 30px;
  min-width: 300px;
}

.contact-left h2 {
  font-size: 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-detail {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-detail .icon {
  border: 2px solid white;
  border-radius: 50%;
  padding: 10px;
  margin-right: 15px;
}

.contact-detail i {
  font-size: 18px;
}

.contact-detail h4 {
  font-size: 16px;
  margin-bottom: 5px;
}

.contact-right {
  flex: 2;
  padding: 40px 30px;
  min-width: 300px;
  background: #fff;
}

.contact-right form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-right .row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-right input,
.contact-right textarea {
  padding: 14px 16px;
  font-size: 16px;
  flex: 1;
  border: none;
  border-bottom: 2px solid #ccc;
  background: transparent;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact-right input:focus,
.contact-right textarea:focus {
  border-color: #a88806;
}

.contact-right button {
  padding: 14px;
  background: #a88806;
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.contact-right button:hover {
  background: #3578c4;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-box {
    flex-direction: column;
  }

  .contact-right .row {
    flex-direction: column;
  }
}

.typing-animation {
  font-size: 4rem;
  font-weight: bold;
  color: #07fcec;
  width: 0;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #07fcec;
  animation: typing 2.5s steps(10) forwards, blink 0.75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 11ch } /* 11 characters in "Microworld" */
}

@keyframes blink {
  50% { border-color: transparent; }
}

.loop-typing {
  font-size: 4rem;
  font-weight: bold;
  color: #07fcec;
  font-family: 'Courier New', monospace;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor {
  font-weight: bold;
  font-size: 4rem;
  color: #07fcec;
  animation: blink 0.7s infinite;
  margin-left: 5px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
