body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f7fafe;
  color: #171d2b;
  margin: 0;
  padding: 0;
}

.main-header {
  background: linear-gradient(90deg, #0e1730 60%, #1971ff 100%);
  color: #fff;
  padding: 0px 50px 20px 0;
  text-align: center;
  width: 100%;
  height: 400px;
  background-image: url("../media/HeadBG.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: block;
  margin: 0;
  border: none;
  box-shadow: none;
  text-align: center;
  margin-top: 0px;
}
#head58{
  position: relative;
  top: 50px;
}

.main-header h1 {
  margin: 0;
  font-family: 'Calistoga', serif;
  font-size: 2.5rem;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0.15em 0.15em 0.05em rgba(0,0,0,0.25);
  font-weight: 800;
}

.main-header2 {
    text-align: center;
}

/* Menü */
.main-nav {
  background: #1971ff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
}
.main-nav a {
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 12px 22px;
  text-decoration: none;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.active,
.main-nav a:hover {
  background: #E09900;
  color: #fff !important;
}

.contact-section {
  background: #fff;
  margin: 50px auto 0 auto;
  max-width: 520px;
  padding: 36px 32px 28px 32px;
  border-radius: 15px;
  box-shadow:
    0 4px 32px rgba(60,60,60,0.13),
    0 2px 8px 0 rgba(120,120,120,0.09),
    0 0 0 5px rgba(180,180,180,0.3);
}

/*.contact-section {
      max-width: 520px;
      margin: 50px auto 0 auto;
      background: #f7fcff;
      border-radius: 16px;
      box-shadow: 0 1px 12px rgba(25,113,255,0.10);
      padding: 30px 24px 24px 24px;
    }*/
    .contact-section h2 {
      text-align: center;
      color: #1971ff;
      margin-bottom: 20px;
      font-size: 1.4rem;
      font-weight: bold;
    }
    .contact-section form label {
      display: block;
      margin-bottom: 6px;
      font-weight: 500;
      color: #0c1e5b;
    }
    .contact-section form input[type="text"],
    .contact-section form input[type="email"],
    .contact-section form textarea {
      width: 100%;
      padding: 10px 14px;
      font-size: 1rem;
      border: 1.5px solid #b7cfff;
      border-radius: 7px;
      margin-bottom: 18px;
      transition: border 0.2s;
      box-sizing: border-box;
    }
    .contact-section form input[type="text"]:focus,
    .contact-section form input[type="email"]:focus,
    .contact-section form textarea:focus  {
      border: 1.5px solid #1971ff;
      outline: none;
    }
    .contact-section form textarea {
      min-height: 90px;
      resize: vertical;
      margin-bottom: 18px;
    }
    .contact-section .required {
      color: #E09900;
      margin-left: 2px;
      font-size: 1.1em;
    }
    .contact-section button {
      background: #1971ff;
      color: #fff;
      font-size: 1.08rem;
      font-weight: 700;
      border-radius: 8px;
      padding: 10px 38px;
      border: none;
      cursor: pointer;
      transition: background 0.15s;
      margin-top: 6px;
    }
    .contact-section button:hover {
      background: #0C71C3;
    }
    .success-message {
      background: #dff5df;
      color: #187d18;
      border: 1px solid #aee3b7;
      padding: 10px 18px;
      border-radius: 7px;
      margin-bottom: 22px;
      text-align: center;
    }
    .error-message {
      background: #ffebea;
      color: #d52d1a;
      border: 1px solid #ffbdbd;
      padding: 10px 18px;
      border-radius: 7px;
      margin-bottom: 22px;
      text-align: center;
    }
    .contact-section .info {
      font-size: 0.99rem;
      color: #1971ff;
      margin-bottom: 16px;
      text-align: center;
    }
    .captcha-refresh {
      display: inline-block;
      font-size: 0.95em;
      margin-left: 12px;
      color: #1971ff;
      cursor: pointer;
      text-decoration: underline;
      border: none;
      background: none;
      padding: 0;
    }
    @media (max-width: 600px) {
      .contact-section {
        margin: 30px 6px 0 6px;
        padding: 16px 6px 16px 6px;
      }
    }