* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Wix Madefor Text", Arial, sans-serif;
  scroll-behavior: smooth; /* Smooth scroll for other actions */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

body {
  background-color: rgba(0, 2, 23, 1);
  color: white;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 60px;
  z-index: 100;
  background-color: white;
  backdrop-filter: blur(8px);
}

.nav-logo {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: dodgerblue;
  text-decoration: none;
  font-family: "Almarai", Arial, sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
  opacity: 0.85;
}

.nav-links a:hover {
  opacity: 1;
  color: navy;
}

.nav-links a.active {
  opacity: 1;
  color: navy;
  border-bottom: 2px solid navy;
}

.left-graph {
  position: absolute;
  left: -120px;
  top: -320px;
  width: 1200px;
  z-index: -1;
}

.right-graph {
  position: absolute;
  right: -12px;
  bottom: -28px;
  width: 900px;
}

.section {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.home-background {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensure background is behind content */
}

@media only screen and (max-width: 768px) {
  .home-background {
    display: none; /* Removes the element and its layout space */
    width: 100%;
  height: 100%;
  }
}

.content {
  position: absolute;
  text-align: center;
  width: 50%;
  font-family: "Wix Madefor Text", Arial, sans-serif;
  background-color: rgba(0, 2, 23, 1);
  z-index: 1; /* Ensure content is above the background */
}

.logo {
  width: 100%;
  margin-bottom: 20px;
  z-index: 1;
}

p {
  font-size: 1.2rem;
}

h1 {
  font-family: "Wix Madefor Text", Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: normal;
  opacity: 0;
  animation: slideIn 1s ease-out forwards;
}

h2 {
  font-family: "Wix Madefor Text", Arial, sans-serif;
  font-size: 1.5rem;
  text-align: bottom;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#home {
  width: 100%;
}

.footer {
  background-color: rgba(0, 2, 23, 1);
  display: flex;
  justify-content: right;
  /* position: fixed; */
  bottom: 0px;
  padding: 30px;
  width: 100%;
  text-align: center;
  font-family: "Wix Madefor Text", Arial, sans-serif;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  text-decoration: underline;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
  /* margin-bottom: 10px; */
}

.contact-icons {
  display: flex;
  text-align: right;
  justify-content: right;
  gap: 20px;
  padding-top: 10px;
  padding-right: 10px;
  margin-bottom: 10px;
}

.contact-icons i {
  font-size: 28px;
  color: white;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.contact-icons a:hover i {
  color: dodgerblue;
  transform: scale(1.2);
}
