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

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  background-color: #121212;
  color: #fff;
  overflow-x: hidden;
}

header {
  background: rgba(0, 0, 0, 0.635); /* Slightly transparent white background */
  padding: 1rem 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
  box-shadow: 0 10px 10px -9px #1abc9c;
  backdrop-filter: blur(10px); /* Apply blur effect for glassy appearance */
  -webkit-backdrop-filter: blur(10px); /* Safari support */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Optional: add a subtle border */
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: auto;
  transition: background 0.3s;
}

nav.scrolled {
  background: rgba(0, 0, 0, 0.9);
}

.logo img {
  width: 50px;
  height: auto;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid #fff;
  padding: 5px;
  border-radius: 15px;
  background: linear-gradient(45deg, #b30000, #e50914);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.logo img:hover {
  transition: all 0.3s;
  border: 2px solid #1abc9c;
  box-shadow: #1abc9c 0 0 10px;
  transform: scale(1.1);
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 2px;
  color: #e50914;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 1rem;
  transition: transform 0.3s;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 5px 10px; /* Adjust padding for consistency */
  border-radius: 15px; /* Match the hover state */
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
  border: 2px solid transparent; /* Set a transparent border initially */
}

.nav-links a:hover {
  color: #1abc9c;
  border-color: #1abc9c; /* Change border color on hover */
  background-color: rgba(
    27,
    188,
    156,
    0.281
  ); /* Add a slight background change for visual feedback */
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px;
  transition: all 0.3s ease;
}

.hero-section {
  position: relative; /* Ensure positioning context for the pseudo-element */
  background: url("./hero.png") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black tint */
  z-index: 1; /* Ensure the overlay is above the background but below the text */
}

.hero-content {
  position: relative;
  z-index: 2; /* Ensure the text is above the overlay */
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Optional: add another layer of semi-transparency */
  padding: 2rem;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  background: #1abc9c;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, transform 0.3s;
}

.cta:hover {
  background: #148f77;
  transform: scale(1.05);
}

.services-section,
.about-section,
.blockchain-section,
.contact-section {
  padding: 2rem;
  background-color: #1e1e1e;
  transition: background 0.3s, color 0.3s;
}

.services-section {
  background-color: #2b2b2b;
  animation: slideInLeft 1s ease-out;
}

.about-section {
  background-color: #3a3a3a;
  animation: slideInRight 1s ease-out;
}

.blockchain-section {
  background-color: #2b2b2b;
  animation: slideInLeft 1s ease-out;
}

.contact-section {
  background-color: #3a3a3a;
  animation: slideInRight 1s ease-out;
}

.separator {
  height: 20px;
  background-color: #121212;
}

.services-container,
.blockchain-container {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.service,
.blockchain-item {
  background: #1e1e1e;
  padding: 1rem;
  border: 1px solid #333;
  width: 30%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}

.service:hover,
.blockchain-item:hover {
  background: #2b2b2b;
  box-shadow: 0 0 10px 5px #1abc9c;
  transform: scale(1.05);
}

.service:hover h3,
.blockchain-item:hover h3 {
  color: #1abc9c;
  transition: color 0.3s;
}

.about-list {
  margin-top: 1rem;
}

.about-list div {
  margin-bottom: 1rem;
  padding: 0.5rem;
  background-color: #2b2b2b;
  border-radius: 5px;
  transition: background 0.3s;
}

.contact-section form {
  display: flex;
  flex-direction: column;
  width: 50%;
  margin: auto;
}

.contact-section label {
  margin-top: 1rem;
}

.contact-section input,
.contact-section textarea {
  padding: 0.5rem;
  margin-top: 0.5rem;
  background: #333;
  border: none;
  color: #fff;
  border-radius: 5px;
  transition: background 0.3s;
}

.contact-section input:focus,
.contact-section textarea:focus {
  background: #444;
}

.contact-section button {
  padding: 0.5rem 1rem;
  font-size: 1rem;
  border: none;
  background: #e50914;
  color: #fff;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.3s, transform 0.3s;
}

.contact-section button:hover {
  background: #bf0411;
  transform: scale(1.05);
}

footer {
  background: #000;
  text-align: center;
  padding: 1rem 0;
}

footer p {
  color: #999;
}

.section-title {
  font-size: 2rem;
  color: #1abc9c; /* Adding a complementary teal color for section titles */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.section-content {
  background-color: #34495e; /* Subtle blue-gray background for content sections */
  padding: 1.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }

  .burger {
    display: block;
  }

  .nav-active {
    display: flex;
  }

  .services-container,
  .blockchain-container {
    flex-direction: column;
  }

  .service,
  .blockchain-item {
    width: 100%;
    margin-top: 1rem;
  }

  .contact-section form {
    width: 80%;
  }
}

/* Keyframes for animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
