body {
  font-family: 'Arial', sans-serif;
  padding-top: 80px;
  margin: 0;
  background-color: #f9f9f9;
  color: #333;
  position: relative;
  overflow-x: hidden;
  scroll-behavior: smooth;
  text-align: center;
  font-size: 18px;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  padding: 30px 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

nav a {
  margin: 0 12px;
  font-weight: 600;
  color: #0f3853;
  text-decoration: none;
  transition: all 0.2s ease;
}

p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  word-break: keep-all;
  line-break: anywhere;
  line-height: 44px;
  justify-content: center;
  font-size: 1.1rem;
}

h1 {
  color: #0f3853;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

strong,
span,
a {
  word-break: keep-all;
  line-break: anywhere;
}

a {
  color: #0f3853;
  text-decoration: none;
  font-weight: 600;
}

a:hover {
  text-decoration: underline;
}

#toTopBtn {
  display: block;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 999;
  padding: 0;
  overflow: hidden; 
  background-color: transparent; 
}

#toTopBtn img {
  width: 100%;
  height: 100%;
  object-fit: contain;

}

#toTopBtn:hover {
  transform: scale(1.3);
}

.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: #ddd;
  z-index: 9999;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #0f3853;
  transition: width 0.25s ease-out;
}


.contact-icons {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.contact-icons a img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease;
}

.contact-icons a:hover img {
  transform: scale(1.2);
}

.home-link {
  display: block;
  text-align: center;
  margin-top: 50px;
  color: #0f3853;
  font-size: 1.2rem;
  font-weight: 600;
}

.tech-section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
  text-align: center;
}

.tech-title {
  color: #0f3853;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-align: center;
}

.tech-subtitle {
  font-size: 1.5rem;
  color: #444;
  margin: 30px 0 16px;
  font-weight: 600;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tech-grid img {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  padding: 12px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.tech-grid img.visible {
  opacity: 1;
  transform: translateY(0);
}

.tech-grid img:hover {
  transform: scale(1.1);
}


.hero {
  height: 100vh;
  background: url('../assets/images/aurora.jpg') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 0 20px;
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  white-space: nowrap;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.75);
  animation: typing 3s steps(30, end), blink 0.75s step-end infinite;
  width: 0;
}

.hero p {
  font-size: 2rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeInUp 2s ease 3s forwards;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: white;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.background-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  display: flex;
  justify-content: space-between;
}

.background-wrapper .side {
  width: 15%;
  background: url('../assets/images/aurora.jpg') no-repeat center center / cover;
  opacity: 0.6;
}

.background-wrapper .middle {
  flex: 1;
}

.main-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
  background-color: transparent;
  box-shadow: none;
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

html {
  scroll-behavior: smooth;
}

.dark-toggle-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px;
  font-size: 24px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s;
}

.dark-toggle-btn:hover {
  transform: scale(1.2);
}

body.dark-mode {
  background-color: #121212;
  color: #a8a8a8;
}

body.dark-mode .main-content {
  background-color: #1e1e1e;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.05);
}

body.dark-mode h1,a {
  color: #90caf9;
}

.btn {
  background-color: #ffffff;
  color: #333;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn:hover {
  background-color: #f0f0f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  .contact-icons a img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .btn {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 0.95rem;
  }

  .nav-links a {
    font-size: 14px;
  }
}


