
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Matrix Background */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  background: #000;
}

/* Header */
header {
  text-align: center;
  padding: 100px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  border-bottom: 2px solid #00ccff;
}

header h1 {
  font-size: clamp(2rem, 6vw, 3rem);
  margin-bottom: 10px;
  text-shadow: 0 0 10px #00ccff, 0 0 20px #00ccff;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

header .btn {
  display: inline-block;
  padding: 12px 25px;
  background: #00ccff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.3s ease;
}

header .btn:hover {
  background: #ff00cc;
  transform: scale(1.1);
}


section {
  padding: 80px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
}

.glow-on-hover {
    width: 220px;
    height: 50px;
    border: none;
    outline: none;
    color: #000000;
    background: #111;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
    font-family: 'Khula', sans-serif;
    font-size: 15px;
}

.glow-on-hover:before {
    content: '';
    margin-left: 5px;
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
    
}

.glow-on-hover:active {
    color: #d1d1d1
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    opacity:0.9;
    left: 0;
    top: 0;
    border-radius: 20px;
    margin-left: 5px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}

section h2 {
  text-align: center;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #ff00cc, #00ccff);

  -webkit-text-fill-color: transparent;
}

/* Info Box */
.info-box {
  max-width: 900px;
  margin: auto;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.8;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}


.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.container {
  position: relative;
  width: 100%;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.container:nth-child(odd) { align-self: flex-start; }
.container:nth-child(even) { align-self: flex-end; }

.content {
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: min(90vw, 400px);
}

.content:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.6);
}

.content h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #00ccff;
}

/* Animations */
@keyframes fadeInUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Mobile Responsive */
@media screen and (max-width: 680px) {
  header h1 { font-size: 2.5rem; }
  header p { font-size: 1rem; }
  .timeline { align-items: center; }
  .container { align-self: center !important; }
}
