* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 2px, transparent 2px);
  background-size: 30px 30px;
  background-repeat: repeat;
}

a {
    color: #c800ff;  /* link color */
    text-decoration: none; /* f the underline */
  }
  
  a:hover {
    text-decoration: underline; /* underline on hover */
  }
  


/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
}

header .logo img {
  width: 120px;
}

header .logo img:hover {
  filter: drop-shadow(0px 0px 10px #c800ff);
  transition: filter 0.3s ease;
}

header nav ul {
  display: flex;
  list-style: none;
}

header nav ul li {
  margin-left: 20px;
  }

header nav ul li a {
  color: white;
  text-decoration: none;
}

header nav ul li a.active {
  color: #c800ff;
}

header nav ul li a:hover {
  color: #c800ff;
  transform: scale(1.1);
  transition: transform 0.3s ease, color 0.3s ease;
}

.timeline-item .image img {
    transition: transform 0.3s ease, filter 0.3s ease, border 0.3s ease; /* Smooth transitions */
  }
  
  .timeline-item .image img:hover {
    transform: scale(1.1); /* Scale effect */
    filter: saturate(1.5); /* Increase saturation */
    border: 5px solid #c800ff; /* Add a purple border */
  }
  


/* Hamburger Menu */
header .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

header .hamburger div {
  width: 30px;
  height: 5px;
  background-color: white;
}


@media (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 112px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 0px;
  }

  header nav.active ul {
    display: flex;
  }

  header .hamburger {
    display: flex;
  }
}

/* Global Image Size Restrictions */
img {
    max-width: 100%;    /* Ensures images scale down to fit their container */
    height: auto;       /* Maintains aspect ratio */
    max-height: 500px;  /* Adjust this as needed for your layout */
    object-fit: contain; /* Ensures images scale proportionally without distortion */
    border-radius: 15px; /* Add this to keep the rounded corners */
  }
  

/* Timeline Section */
.timeline {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.timeline-item .content,
.timeline-item .image {
  flex: 1;
  padding: 20px;
}

.timeline-item .content h2 {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  color: #333;
  margin-bottom: 10px;
}

.timeline-item .content p {
  font-size: 1.2rem;
  color: #555;
}

.timeline-item .image img {
  width: 100%;
  border-radius: 15px;
}

.timeline-item:nth-child(even) .content {
  order: 1;
}

.timeline-item:nth-child(even) .image {
  order: 1;
}

/* Responsive Timeline */
@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }

  .timeline-item .content,
  .timeline-item .image {
    order: unset;
    padding: 10px;
  }
  .timeline-item:nth-child(even) .content {
    order: 1;
  }
  
  .timeline-item:nth-child(even) .image {
    order: 2;
  }
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
  }
  
  footer .social-icons a img {
    width: 30px;
    margin: 0 35px;
    transition: transform 0.3s ease; /* smooth transition */
    border-radius: 0%;
  }
  
  footer .social-icons a img:hover {
    transform: scale(1.2); /* icon 20% bigga on hover */
  }
  
  
  
  