@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Varela+Round&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafa;
  color: #222;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

a {
  color: #662d91;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2em;
  background-color: #f4f0f8;
  color: black;
}

header.site-header .logo {
  height: 42px;
}

nav.nav-links {
  display: flex;
  gap: 1.25em;
  font-weight: 500;
  font-size: 0.95rem;
}

nav.nav-links a {
  color: #08306f;
}

footer.site-footer {
  background-color: #f0f0f0;
  color: #666;
  font-size: 0.85rem;
  padding: 1em 2em;
  text-align: center;
  border-top: 1px solid #ddd;
}

main.page {
    padding: 0;
    max-width: 860px;
    margin: 0 auto;
    background: white;
    box-sizing: border-box; 
    width: 100%;            
  }

section {
  margin-bottom: 3em;
}

h1, h2, h3 {
  font-family: 'Varela Round', sans-serif;
  font-weight: 500;
  color: #08306f;
  margin-bottom: 0.5em;
}

.modal {
    position: fixed;
    z-index: 9999;
    left: 0; top: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
}

.modal.hidden {
    display: none !important;
}

.modal-box {
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 0 16px rgba(0,0,0,0.18);
}

.card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    margin-top: 1.5rem;
    transition: border-color 0.2s;
}
.card:hover {
    border-color: #ff9800; /* or your brand orange */
}

.btn {
  background-color: #08306f;
  color: #ffffff;
  padding: 0.6em 1.2em;
  border-radius: 5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  margin-top: 1em;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: #062657;
}

input, textarea,select {
  width: 95%;
  max-width: 95%;
  padding: 0.75em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
  margin-top: 0.5em;
  background-color: #f4f0f8;
  color: #333;
  appearance: none; /* Remove default OS styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width='16' height='16' fill='%23662d91' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 6.354a.5.5 0 0 1 .708 0L8 9l2.646-2.646a.5.5 0 0 1 .708.708l-3 3a.5.5 0 0 1-.708 0l-3-3a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75em center;
  background-size: 1em;
  padding-right: 2em; /* space for the icon */
}

input:focus, textarea:focus {
  outline: none;
  border-color: #662d91;
}

@media (max-width: 768px) {
  header.site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav.nav-links {
    flex-direction: column;
    width: 100%;
  }
}

.logo-full {
    display: block;
    height: 42px;
  }
  
  .logo-icon {
    display: none;
    height: 36px;
  }
  
  @media (max-width: 520px) {
    .logo-full {
      display: none;
    }
    .logo-icon {
      display: inline-block;
    }
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .lang-toggle a {
    color: #08306f;
    font-weight: 500;
  }
  
  .lang-toggle a:hover {
    text-decoration: underline;
    color: #216588; /* darker shade for hover */
  }

  blockquote {
    background-color: #f4f0f8;
    padding: 1.5em 1.5em 1em;
    border-left: 5px solid #662d91;
    border-radius: 8px;
    margin: 2em 0;
    font-style: italic;
    font-size: 1.1em;
    position: relative;
  }

  blockquote p {
    margin: 0;
    line-height: 1.6;
  }
  
  blockquote footer {
    text-align: right;
    font-size: 0.9em;
    margin-top: 1em;
    color: #555;
  }

  /* ✅ Hamburger menu toggle button */
#hamburger-toggle {
  display: none;
  font-size: 1.8em;
  background: none;
  border: none;
  color: #08306f;
  cursor: pointer;
  margin-right: 1em;
}

/* ✅ Active nav link highlight */
.nav-links a.active {
  font-weight: bold;
  text-decoration: underline;
}

/* ✅ Responsive nav menu behavior */
@media (max-width: 768px) {
  nav.nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75em;
    margin-top: 1em;
  }

  nav.nav-links.visible {
    display: flex;
  }

  #hamburger-toggle {
    display: block;
  }

  header.site-header {
    align-items: flex-start;
  }
}
