body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fa;
  color: #333;
}

/* HEADER */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo h2 {
  margin: 0;
  font-size: 22px;
  font-weight: bold;
  color: #222;
  letter-spacing: 1px;
}

/* Pause animation when hovering header */
.site-header:hover .main-nav a {
  animation-play-state: paused;
}

/* NAV */
.main-nav {
  display: flex;
  gap: 22px;
  margin-right: 20px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease, transform 0.3s ease;
  transform-origin: top center; /* pivot point for swing */
  animation: pendulum 2.5s ease-in-out infinite;
}

.main-nav a:nth-child(1) { animation-delay: 0s; }
.main-nav a:nth-child(2) { animation-delay: 0.2s; }
.main-nav a:nth-child(3) { animation-delay: 0.4s; }
.main-nav a:nth-child(4) { animation-delay: 0.6s; }
.main-nav a:nth-child(5) { animation-delay: 0.8s; }

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #0077cc;
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: #0077cc;
}

.main-nav a:hover::after {
  width: 100%;
}

/* RIGHT SIDE */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* CONTACT BUTTON */
.contact-btn {
  background: #0077cc;
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.contact-btn:hover {
  background: #005fa3;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* LANG SELECT */
.lang-select {
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}
.lang-select:hover {
  border-color: #0077cc;
}

/* HERO */
.hero {
  text-align: center;
  padding: 40px;
  background: linear-gradient(to right, #0055aa, #00aaff);
  color: rgb(50, 61, 226);
}

/* CONTACT SECTION */
.contact-section {
  padding: 40px;
  text-align: center;
}
.contact-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.1);
}
.contact-form label {
  display: block;
  margin: 10px 0 5px;
  text-align: left;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}
.contact-form button {
  margin-top: 15px;
  padding: 12px;
  width: 100%;
  border: none;
  background: #0055aa;
  color: white;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form button:hover {
  background: #003366;
  transform: translateY(-2px);
}

/* CONTACT INFO */
.contact-info {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: left;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0,0,0,0.05);
}
.contact-info h3 {
  margin-top: 10px;
}

/* FOOTER */
.footer {
  background: linear-gradient(to bottom, #b6f0ff 0%, #ffffff 100%);
  color: #333;
  padding: 50px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-col {
  flex: 1 1 220px;
  max-width: 280px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #00aaff;
  display: inline-block;
  padding-bottom: 5px;
  color: #003366;
}

.footer-col p,
.footer-col li {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-logo {
  width: 180px;
  margin-bottom: 10px;
}
.partner-logo {
  width: 160px;
  margin-top: 15px;
}

.footer form {
  display: flex;
  flex-direction: column;
}
.footer input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 10px;
}
.footer button {
  background: #00aaff;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.footer button:hover {
  background: #0088cc;
  transform: translateY(-2px);
}

.footer-bottom {
  background: #f2f6f9;
  text-align: center;
  padding: 15px;
  color: #666;
  font-size: 13px;
  margin-top: 20px;
  border-top: 1px solid #ddd;
}

/* PENDULUM ANIMATION */
@keyframes pendulum {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(5deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}
