/* =============================================
   El Mizan — About Page
   Same palette as Homepage.css
============================================= */

:root {
  --green-dark:  #1a4d2e;
  --green-mid:   #2e7d4f;
  --green-light: #a8d5b5;
  --gold:        #c9a84c;
  --gold-light:  #e8d49a;
  --surface:     #f4f9f6;
  --dark:        #0f2d1c;
  --white:       #ffffff;
}

* {
  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.82);
  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;
  letter-spacing: 1px;
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  transition: 0.3s;
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
  background-color: var(--green-mid);
  color: var(--white) !important;
  opacity: 1;
}

.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);
}

.navbar-toggler-icon { filter: invert(1); }

/* ── SEARCH ────────────────────────────────── */
.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;
}

/* ── MAIN ──────────────────────────────────── */
main { flex: 1; }

.Head {
  padding: 50px 20px 60px;
  direction: ltr;
}

.Head .container {
  max-width: 860px;
  margin: 0 auto;
}

/* ── TITLE ─────────────────────────────────── */
.Head h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 28px;
  text-align: center;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 12px;
}

.Head h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  background: var(--gold);
  border-radius: 99px;
  margin: 10px auto 0;
}

/* ── TAGLINE H4 ────────────────────────────── */
.Head h4 {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 16px 24px !important;
  text-align: center;
  font-weight: 700;
  border-radius: 12px;
  margin-bottom: 16px !important;
}

/* ── STORY PARAGRAPHS ──────────────────────── */
.Head p {
  display: block;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 1px 6px rgba(26, 77, 46, 0.08);
  font-size: 1rem;
  line-height: 1.85;
  color: #3a3a3a;
  font-weight: 500;
  border-right: 4px solid var(--green-light);
  transition: 0.35s ease-in-out all;
  cursor: default;
}

.Head p:hover {
  background-color: rgba(168, 213, 181, 0.15);
  box-shadow: -6px 0 0 var(--green-mid), 0 4px 16px rgba(26,77,46,0.12);
  transform: translateX(6px);
}

.Head .p1 { border-right-color: var(--green-dark); }
.Head .p3 { border-right-color: var(--green-mid); }
.Head .p4 { border-right-color: var(--gold); }
.Head .p5 { border-right-color: var(--green-light); }
.Head .p6 { border-right-color: var(--gold-light); }

.Head .p7 {
  font-style: italic;
  font-weight: 700;
  color: var(--green-dark);
  text-align: center;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(168,213,181,0.15));
  border-right: none;
  border-top: 3px solid var(--gold);
}

.Head .p7:hover {
  transform: none;
  box-shadow: 0 4px 16px rgba(26,77,46,0.1);
}
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);
}

/* ── 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) {
  .Head { padding: 30px 15px 40px; }
  .Head h2 { font-size: 1.6rem; }
  .Head p  { padding: 16px 18px; font-size: 0.95rem; }
  .group { max-width: 160px; }
}