@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
  /* Logo blue + supporting blues/greens */
  --blue: #40a1bc;            /* logo color */
  --blue-dark: #2b7d96;       /* darker blue */
  --blue-deep: #13576d;       /* deep blue for headings */
  --navy: #123a56;            /* navy navbar */
  --teal: #2b8f7d;            /* green accent */

  --ink: #23404c;
  --muted: #4e6672;
  --paper: #ffffff;
  --page-bg: #ffffff;
  --line: #e2e6ea;
  --border-soft: #e4e8eb;

  --shadow-sm: 0 1px 3px rgba(19, 87, 109, 0.08);
  --serif: "Georgia", "Times New Roman", serif;
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Reserve scrollbar space so pages with/without a vertical
     scrollbar don't shift the layout (logo, nav, content). */
  scrollbar-gutter: stable;
}

/* Scale the entire site up ~15% for a larger, more readable view.
   Desktop only: on mobile, zoom scales the rendered page and clips
   centered content (like the logo) at the viewport edges. */
@media (min-width: 769px) {
  html {
    zoom: 1.15;
  }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--page-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  width: 100%;
  padding: 1.25rem 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
  border-bottom: none;
  color: inherit;
}

.logo-link:hover {
  border-bottom-color: transparent;
  color: inherit;
}

.logo {
  height: 85px;
  width: auto;
  display: block;
  margin: 0 auto;
  padding-bottom: 0.75rem;
}

/* ---------- Navbar (below logo) ---------- */

.main-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: 100%;
  background: var(--navy);
  padding: 0.55rem 1rem;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1.4rem;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.main-nav a:hover {
  color: #ffffff;
  background: rgba(64, 161, 188, 0.18);
}

.main-nav a.active {
  color: #ffffff;
  border-bottom-color: var(--blue);
  background: transparent;
}

/* ---------- Main layout ---------- */

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem 4rem;
}

/* ---------- Typography ---------- */

h1,
h2 {
  font-family: var(--sans);
  font-weight: 700;
}

h1 {
  font-size: 2.3rem;
  color: var(--blue-deep);
  line-height: 1.2;
  margin: 0 0 1.5rem;
  letter-spacing: -0.01em;
}

h2 {
  font-size: 1.5rem;
  color: var(--blue-dark);
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.1rem;
  color: var(--ink);
}

a {
  color: #0096bc;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* ---------- Home ---------- */

.home-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.home-section h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.home-section p {
  color: var(--muted);
  font-size: 1.02rem;
}

.home-section p:last-child {
  margin-bottom: 0;
}

/* ---------- About ---------- */

.about-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.about-section h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.about-content {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.about-image {
  width: 220px;
  height: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.about-text p {
  color: var(--muted);
  font-size: 1.02rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ---------- Contact ---------- */

.contact-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.contact-section h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 0.5rem 0.25rem 1.5rem;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item h2 {
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.contact-form {
  margin-top: 2rem;
  max-width: 800px;
}

.contact-form h2 {
  margin: 0 0 1rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--ink);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(64, 161, 188, 0.15);
  outline: none;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form button {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--blue);
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.6rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.contact-form button:hover {
  background: var(--blue-dark);
}

/* ---------- News ---------- */

.news-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.news-section h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.news-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  margin: -1rem auto 2rem;
  max-width: 620px;
}

#news-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 1.25rem 0.25rem 1.75rem;
  transition: background 0.25s ease;
}

.news-item:last-child {
  border-bottom: none;
}

.news-item h2 {
  margin-bottom: 0.3rem;
}

.news-item .news-subtitle {
  font-family: var(--sans);
  color: var(--muted);
  font-size: 1.38rem;
  font-weight: 600;
  margin: 0 0 0.6rem;
  line-height: 1.4;
  font-style: italic
}

.news-date {
  font-family: var(--sans);
  font-style: italic;
  color: var(--teal);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  margin: 0 0 1.1rem;
}

.news-item p {
  color: var(--muted);
  font-size: 1rem;
}

.news-item p:last-child {
  margin-bottom: 0;
}

.news-item ul {
  margin: 0 0 1.1rem;
  padding-left: 1.4rem;
  color: var(--muted);
}

.news-item li {
  margin-bottom: 0.4rem;
}

.news-item li::marker {
  color: var(--blue);
}

.news-item ul ul {
  margin: 0.5rem 0 0.9rem;
  padding-left: 1.4rem;
}

.news-item li > ul {
  margin-top: 0.4rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .header-inner {
    padding: 1rem 1.25rem 1rem;
    gap: 1.25rem;
  }

  .logo-link {
    height: 100%;
    display: flex;
    justify-content: center;
  }

  .logo {
    width: 90%;
    max-width: 420px;
    height: auto;
  }

  .main-nav {
    padding: 0.5rem 0.5rem;
    gap: 0.1rem;
  }

  .main-nav a {
    padding: 0.45rem 0.8rem;
    font-size: 0.8rem;
  }

  main {
    padding: 1rem 1.25rem 3rem;
  }

  h1 {
    font-size: 1.9rem;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .about-image {
    width: 180px;
    height: 180px;
  }

  .contact-info {
    gap: 1.5rem;
  }

  .contact-item {
    padding: 0.5rem 0.15rem 1.25rem;
  }

  .news-item {
    padding: 1.25rem 0.15rem 1.5rem;
  }
}
