/* Import fonts with the weights you want */
/*
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700;900&display=swap');

body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgb(65,65,65);
  line-height: 1.8;
}

h1,h2{
  color: rgb(54, 100, 191);
}

h1{
  margin-top: 1.5rem;
  font-size: 60px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  text-shadow: rgba(0, 0, 0, 0.498) -1px -1px 0px,
             rgba(0, 0, 0, 0.498) -1px 1px 0px,
             rgba(0, 0, 0, 0.498) 1px 1px 0px,
             rgba(0, 0, 0, 0.498) 1px -1px 0px;
}

h2{
  margin-top: 1.0rem;
  font-size: 35px;
  margin-bottom: 2.0rem;
}

p {
  margin-bottom: 1.5rem;
}

.centred {
  display: block;
  margin-left: auto;
  margin-right: auto;
  /* optional: set a max width */
  max-width: 100%;
}


img.footer-image{
  max-width: 60%;
}

a { text-decoration:none; color:#111; }
a:hover { opacity:0.7; }

a.smooth {
  text-align: center;
  text-transform: uppercase;
  background-color: rgb(54, 100, 191); /* Blue color */
  color: white;              /* Text color */
  border: none;              /* Remove default border */
  padding: 10px 20px;        /* Vertical and horizontal padding */
  font-size: 16px;           /* Text size */
  cursor: pointer;           /* Pointer on hover */
  border-radius: 0;          /* Rectangle corners */
}


.body-container {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: 780px; /* optional, your block width */
  max-width: 95%;
}
.container { width:90%; max-width:1200px; margin:0 auto; }


/* Header */
header { display:flex; justify-content:center; align-items:center; padding:1rem 0; border-bottom:1px solid #ddd; background:#fff; }
header .logo { font-weight:bold; font-size:1.5rem; }
.nav a { margin-left:1.5rem; font-size:0.95rem; font-weight:500; }
header.container {
  width: 100%;
}

/* Hero */
.hero img {
  width: 100%;
  height: auto;
  display: block;
}
.hero { text-align:center; padding:0.1rem 0.1rem; }
.hero h1 { font-size:2.5rem; margin-bottom:1rem; font-weight:bold; }
.hero p { color:#333; font-size:1.1rem; max-width:700px; margin:0 auto; }

/* Sections */
.section { padding:3rem 0; }
.section h2 { font-size:2rem; margin-bottom:1.5rem; }
.section p { color:#555; margin-bottom:1rem; }

/* Buttons */
.btn { display:inline-block; padding:0.6rem 1.2rem; background:#0056b3; color:#fff; border-radius:4px; transition:all 0.2s; }
.btn:hover { background:#003f7f; }

/* Gallery */
.gallery img {
  width: 216px;   
  height: 216px;   
  border-radius: 50%;  /* makes the image circular */
  object-fit: cover;   /* ensures the image fills the circle without distortion */
  display: block;      /* optional, removes inline spacing */
  margin: 0 auto; /* centers the image */
}

/* Footer */
.feed-wrap {
  display: flex;           /* Use flexbox layout */
  flex-direction: column;  /* Stack children vertically */
  align-items: center;     /* Center children horizontally */
  text-align: center;      /* Center text inside children */
  gap: 1rem;               /* Optional spacing between children */
  padding: 2rem;           /* Optional padding */
}
footer { text-align:center; padding:2rem 1rem; background:#f9f9f9; font-size:0.85rem; color:#555; margin-top:3rem; }
/* Hamburger lines */
.hamburger {
  display: none;
  width: 25px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  border-bottom: 2px solid #111; /* just borders */
  background: none;
  transition: all 0.3s ease;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

/* Toggle to X */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 50%;
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 50%;
}

/* Mobile / narrow screens */
@media (max-width: 768px) {
h1{
  margin-top: 1.0rem;
  font-size: 28px;
  margin-bottom: 2.0rem;
}

h2{
  margin-top: 1.0rem;
  font-size: 20px;
  margin-bottom: 2.0rem;
}
  header { flex-direction: column; align-items: flex-start; position: relative; }

  .hero{ display: none; }

  .mobile-header {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0.5rem 1rem;
  }
.mobile-header {
  justify-content:flex-start;
}

  .hamburger { display: block; margin-right: 1rem; z-index: 10001; }

  /* Overlay menu */
  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.98);
    justify-content: flex-start;
    padding-top: 70px; /* space for hamburger */ 
    align-items: center;
    z-index: 9999;
  }

  .nav.show { display: flex; }

  .nav a {
    margin: 1rem 0;
    font-size: 1.5rem;
    font-weight: bold;
  }

  body.nav-open { overflow: hidden; }
}
.nav a.active {
  color: #ffffff;          /* white text */
  background-color: rgb(54, 100, 191); /* blue background */
  padding: 0.5rem 1rem;    /* some padding so background shows */
  border-radius: 4px;      /* optional, makes it look neat */
  font-weight: bold;        /* emphasize */
}

table {
  border-collapse: collapse;
}

table, th, td {
  border: 1px solid #eaeaea; /* faint border */
}

td, th {
  border: 1px solid rgba(0,0,0,0.08);
}

th, td {
  padding: 8px;
}

/* TABLE AS CARDS ON NARROW SCREEN */
@media (max-width: 600px) {
  table, thead, tbody, tr, td, th {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    padding: 10px;
  }

  td {
    display: flex;
    justify-content: flex-start; /* align left */
    padding: 5px 0;
  }

  td::before {
    content: attr(data-label);
    font-weight: bold;
  }
}

/* HEADING and IMAGE AT TOP OF SCREEN UNDER MENU */

.h1-with-image {
  display: flex;
  justify-content:center;
  align-items: center;
  gap: 20px;
  padding: 10px;
}

.h1-with-image img.headline-image {
  width: 150px; /* adjust as needed */
  height: auto;
  border-radius: 8px; /* optional */
}

.h1-with-image h1 {
  margin: 0;
  font-size: 3.5rem;
}

@media (max-width: 768px) {
  .h1-with-image {
    flex-direction: column;
    text-align: center;
  }

  .h1-with-image h1 {
    margin: 0;
    font-size: 1.5rem;
  }

  .h1-with-image img.headline-image {
    width: 100px;
    margin-bottom: 10px;
  }
}

.committee {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.committee_content h4{
    margin-bottom: 1.5rem;
    font-weight: normal;
}
.committee_content{
  text-align: center;
}
.member {
  text-align: center;
}
@media (max-width: 768px) {
  .committee {
    grid-template-columns: 1fr; /* stacked list */
    justify-items: center;
  }


}

