.group {
  display: flex;
  line-height: 28px;
  align-items: center;
  position: relative;
  max-width: 220px;
}

.input {
  width: 100%;
  height: 40px;
  line-height: 28px;
  padding: 0 1rem;
  padding-left: 2.5rem;
  border: 2px solid transparent;
  border-radius: 8px;
  outline: none;
  background-color: rgba(255,255,255,0.12);
  color: var(--white);
  transition: 0.3s ease;
}

.input::placeholder { color: rgba(255,255,255,0.5); }

.input:focus,
.input:hover {
  outline: none;
  border-color: var(--gold);
  background-color: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
}

.icon {
  position: absolute;
  left: 1rem;
  fill: rgba(255,255,255,0.5);
  width: 1rem;
  height: 1rem;
}

:root {
  --green-dark:  #1a4d2e;
  --green-mid:   #2e7d4f;
  --green-light: #a8d5b5;
  --gold:        #c9a84c;
  --gold-light:  #e8d49a;
  --surface:     #f4f9f6;
  --dark:        #0f2d1c;
  --white:       #ffffff;
  --muted:       #5a7a65;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: var(--surface);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── NAVBAR ────────────────────────────────── */
.navbar {
  background-color: rgba(15, 45, 28, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .navbar-brand,
.navbar .fa-scale-balanced {
  color: var(--gold) !important;
  font-weight: 700;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  transition: 0.3s;
  font-weight: 500;
  opacity: 1;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background-color: var(--green-mid);
  color: var(--white) !important;
}

.dropdown-menu {
  background-color: var(--dark);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.dropdown-item {
  color: var(--gold-light);
  font-weight: bold;
  transition: 0.3s all ease-in-out;
}

.dropdown-item:hover {
  color: var(--white);
  background-color: var(--green-mid);
}

.navbar .btn-success {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
  font-weight: 700;
  transition: 0.3s;
}

.navbar .btn-success:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--dark);
}

/* ── MAIN ──────────────────────────────────── */
main {
  flex: 1;
  padding: 40px 20px;
}

.parent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

/* ── PAGE TITLE ────────────────────────────── */
.pp {
  font-weight: 800;
  font-size: 2rem;
  text-align: center;
  color: var(--green-dark);
  position: relative;
  padding-bottom: 10px;
}

.pp::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--gold);
  border-radius: 99px;
  margin: 8px auto 0;
}

/* ── LOGO / AVATAR ─────────────────────────── */
.circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: url("../image/image.png") center/cover no-repeat;
  border: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(26, 77, 46, 0.2);
}

.logocontainer {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  margin-top: 10px;
}

/* ── INFO BOX ──────────────────────────────── */
.info-box {
  min-height: 80px;
  width: 420px;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 500;
  margin-top: 20px;
  border-radius: 4px 18px 4px 18px;
  box-shadow: 0 4px 16px rgba(26, 77, 46, 0.2);
  line-height: 1.7;
  display: flex;
  align-items: center;
}

/* ── LIST ──────────────────────────────────── */
.list {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-left: 50px;
  gap: 12px;
  align-items: center;
}

.list p {
  margin-left: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
}

.list div {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  width: 100px;
  height: 30px;
  text-align: center;
  padding-bottom: 0;
  margin-top: 6px;
  margin-left: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.list .tolist {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.tolist button {
  border: none;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.arrow {
  display: inline-block;
  margin-left: 8px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ── FORM ──────────────────────────────────── */
.form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

input {
  background-color: var(--white);
  width: 320px;
  padding: 12px 16px;
  font-size: 16px;
  border: 1.5px solid var(--green-light);
  outline: none;
  border-radius: 12px;
  color: #2c2c2c;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  font-family: inherit;
}

input:focus {
  transform: scale(1.03);
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(46, 125, 79, 0.12);
}

.form button {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  color: var(--white);
  width: 180px;
  text-align: center;
  height: 50px;
  margin-top: 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(26, 77, 46, 0.25);
  transition: opacity 0.2s, transform 0.1s;
}

.form button:hover  { opacity: 0.9; }
.form button:active { transform: scale(0.97); }

/* ── RESULT BOX ────────────────────────────── */
.cont {
  margin-top: 20px;
  background: var(--white);
  border: 2px solid var(--green-light);
  border-right: 5px solid var(--gold);
  min-height: 80px;
  width: 420px;
  border-radius: 16px;
  margin-left: 0;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(26, 77, 46, 0.1);
  transition: box-shadow 0.2s;
}

.cont:hover {
  box-shadow: 0 6px 22px rgba(26, 77, 46, 0.18);
}

.cont p {
  padding-left: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-top: 0;
  border-radius: 0;
  line-height: 1.7;
}

/* ── FOOTER ────────────────────────────────── */
.footer {
      background: #080f0b;
      border-top: 1px solid rgba(201,168,76,0.25);
      padding: 36px 0 24px;
      text-align: center;
    }
     .footer-brand { font-family: 'Playwrite IE', cursive; font-size: 20px; color: #c9a84c; letter-spacing: 2px; margin-bottom: 4px; };
    .footer-tagline { font-size: 12px; color: rgba(255,255,255,0.3); margin-bottom: 20px; }
    .footer-socials { display: flex; justify-content: center; gap: 12px; margin-bottom: 20px; }
    .footer-social {
      width: 38px; height: 38px;
      border-radius: 10px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.08);
      color: rgba(255,255,255,0.5);
      display: flex; align-items: center; justify-content: center;
      font-size: 16px;
      text-decoration: none;
      transition: 0.25s;
    }
    .footer-social:hover { transform: translateY(-2px); }
    #f-twitter:hover  { background: rgba(29,161,242,0.15); color: #1da1f2; border-color: rgba(29,161,242,0.3); }
    #f-linkedin:hover { background: rgba(0,119,181,0.15); color: #0077b5; border-color: rgba(0,119,181,0.3); }
    #f-youtube:hover  { background: rgba(255,0,0,0.15); color: #ff4444; border-color: rgba(255,0,0,0.3); }
    #f-facebook:hover { background: rgba(24,119,242,0.15); color: #1877f2; border-color: rgba(24,119,242,0.3); }
    .footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }
    .footer-divider { height: 1px; background: rgba(255,255,255,0.06); margin: 20px auto; width: 120px; }


/* ── RESPONSIVE ────────────────────────────── */
@media (max-width: 576px) {
  main { padding: 20px 10px; }

  .pp { font-size: 1.5rem; }

  .logocontainer {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .info-box,
  .cont {
    width: 95%;
    margin-left: 0;
    height: auto;
    text-align: center;
  }

  .list {
    flex-direction: column;
    margin-left: 0;
    align-items: center;
    gap: 10px;
  }

  .list div { margin-left: 0; width: 70%; }
  .list p   { font-size: 14px; text-align: center; }

  .form  { width: 100%; }
  input  { width: 95%; font-size: 14px; }

  .form button { width: 95%; }

  .circle { width: 42px; height: 42px; }
}

@media (min-width: 577px) and (max-width: 992px) {
  .info-box, .cont { width: 85%; margin-left: 0; }
  .list { margin-left: 0; }
}
button,
button:focus {
  font-size: 10px;
  padding: 5px 15px;
  border-radius: 0.7rem;
  background-image: linear-gradient(rgb(46, 125, 79), rgb(46, 125, 79));
  border: 2px solid rgb(50, 50, 50);
  border-bottom: 5px solid rgb(50, 50, 50);
  box-shadow: 0px 1px 6px 0px green;
  transform: translate(-3px, -3px);
  cursor: pointer;
  transition: 0.2s;
  transition-timing-function: linear;
  color:white;
}

button:active {
  transform: translate(0, 0);
  border-bottom: 2px solid rgb(50, 50, 50);
}
