/* ==========================================================
   BRET Project – Clean Professional Style
   ========================================================== */

/* ================= GLOBAL RESET ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f6f8fb;
  color: #2c2c2c;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ================= HEADER ================= */

.site-header {
  padding: 16px 40px;
  border-bottom: 1px solid #e6e6e6;
  background: #ffffff;
}

/* Header layout row */
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Project logo */
.logo {
  height: 75px;
}

/* Right funder logos */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.funder-logo {
  height: 70px;
}

/* Page title under header */
.page-title {
  text-align: center;
  margin: 20px 0 10px 0;
}

.page-title h1 {
  margin: 0;
  font-size: 2rem;
  color: #1f3a5f;
  font-weight: 600;
}

/* ================= NAVIGATION ================= */

.site-nav {
  display: flex;
  justify-content: center;
  gap: 35px;
  padding: 14px 0;
  background-color: #1f3a5f;
  flex-wrap: wrap;
}

.site-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  background-color: rgba(255,255,255,0.15);
}

.site-nav a.active {
  background-color: #1e5aa8;
}

/* ================= MAIN CONTENT CONTAINER ================= */

.container {
  max-width: 1000px;         /* Perfect readable width */
  margin: 0 auto;
  padding: 50px 25px;
}

/* ================= TYPOGRAPHY ================= */

h1, h2, h3 {
  color: #1f3a5f;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
}

h2 {
  font-size: 1.6rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

section {
  margin-bottom: 60px;
}

/* Improve readability of long text blocks */
p, li {
  max-width: 900px;
}

/* Lists */
ul {
  padding-left: 20px;
}

li {
  margin-bottom: 10px;
}

/* ================= PARTNER GRID ================= */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.partner-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
  border: 1px solid #f0f0f0;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.partner-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.25rem;
  color: #1f3a5f;
}

.partner-card p {
  margin-bottom: 0;
}

/* Optional: partner logo inside card */
.partner-card img {
  max-width: 120px;
  margin-bottom: 15px;
}

/* ================= BUTTON STYLE (if needed later) ================= */

.button {
  display: inline-block;
  padding: 10px 18px;
  background-color: #1f3a5f;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s ease;
}

.button:hover {
  background-color: #163052;
}

/* ================= FOOTER ================= */

footer {
  text-align: center;
  padding: 12px 15px;
  background-color: #1f3a5f;
  color: white;
  font-size: 0.85rem;
  margin-top: 30px;
}

footer p {
  margin: 0;
  opacity: 0.9;
}

/* ================ Case study map styling ================ */
.case-map {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
/* ================= WORK PACKAGE GRID ================= */

.wp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.wp-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
  border: 1px solid #f0f0f0;
  transition: all 0.25s ease;
}

.wp-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.08);
}

.wp-card h3 {
  margin-top: 0;
  font-size: 1.15rem;
  color: #1f3a5f;
}

/* Work package diagram styling */
.wp-diagram {
  width: 100%;
  max-width: 950px;
  display: block;
  margin: 50px auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}
/* ================= SURVEY FORM ================= */

.survey-form {
  margin-top: 30px;
}

.survey-form label {
  font-weight: 500;
  display: block;
  margin-top: 20px;
}

.survey-form textarea,
.survey-form select,
.survey-form input[type="range"] {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border-radius: 6px;
  border: 1px solid #dcdcdc;
  font-family: inherit;
}

.survey-form textarea:focus,
.survey-form select:focus {
  outline: none;
  border-color: #1f3a5f;
}

/* ================= DASHBOARD CARD ================= */

.dashboard-card {
  margin-top: 40px;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

/* ================= youtube ================= */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  margin-bottom: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 900px) {

  .site-header {
    padding: 20px;
  }

  .header-row {
    flex-direction: column;
    gap: 20px;
  }

  .logo {
    height: 65px;
  }

  .funder-logo {
    height: 55px;
  }

  .container {
    padding: 35px 20px;
  }

  .page-title h1 {
    font-size: 1.6rem;
  }

}

@media (max-width: 600px) {

  .site-nav {
    gap: 18px;
    padding: 12px 10px;
  }

  .site-nav a {
    font-size: 0.9rem;
  }

  p {
    font-size: 1rem;
  }

}






