header h1 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #b7dbff;
  transition: color 0.3s ease;
}

header h1:hover {
  color: #ffffff;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section.visible {
  animation: fadeInUp 0.6s ease forwards;
}

html {
  scroll-behavior: smooth;
}

section {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

.cta-button {
  display: inline-block;
  background: #0066cc;
  color: white;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 20px;
  transition: background 0.3s;
}
.cta-button:hover {
  background: #004080;
}

.social-links a {
  margin-right: 15px;
  text-decoration: none;
  color: var(--main-blue);
  font-weight: 600;
}

.social-links a:hover {
  color: var(--light-blue);
}

:root {
  --main-blue: #004080;
  --light-blue: #b7dbff;
  --white: #ffffff;
  --text-color: #333333;
  --bg-color: #f9f9f9;
  --shadow-color: rgba(0,0,0,0.1);
}


#toTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #0066cc;
  color: rgb(255, 255, 255);
  border: none;
  padding: 10px 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
}

#toTopBtn:hover {
  background-color: #0066cc;
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #004080;
  color: white;
  padding: 40px 20px;
  text-align: center;

  position: sticky;
  top: 0;
  z-index: 1000;
}

section {
  padding: 40px 20px;
  max-width: 960px;
  margin: auto;
}

section p em {
  display: block;
  margin-bottom: 20px;
  color: #666;
  font-style: italic;
  font-size: 0.9em;
  text-align: center;
}

.screenshots {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  display: grid;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #b7dbff;
}

.screenshots img {
  width: 100%;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.screenshots img:hover {
  transform: scale(1.03);
}

.contact-form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1em;
}

.contact-form button {
  background-color: var(--main-blue);
  color: white;
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #003060;
}


@media (max-width: 600px) {
  .screenshots {
    flex-direction: column;
  }
}

footer {
  background: #004080;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9em;
  border-top: 4px solid #b7dbff;
}

h2 {
  color: #004080;
  margin-top: 0;
}

.modal {
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 15px #000;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #ddd;
}

.main-nav a.active {
  border-bottom: 2px solid var(--light-blue);
}

header.scrolled {
  background-color: #003060;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}