:root{--primary:#0f3d5e;--secondary:#2f80a8;--accent:#d9a441;--light:#f6f8fa;--text:#1f2933;--muted:#657282;--white:#fff;--border:#dce3ea;--max-width:1120px}
    *{box-sizing:border-box}
    body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--white);line-height:1.6}
    a{color:inherit;text-decoration:none}
    img{max-width:100%;display:block}
    .container{width:min(92%,var(--max-width));margin:0 auto}
    header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}
    .topbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding: 0.7rem 0;}
    .brand{display:flex;align-items:center;gap:.75rem;font-weight:700;color:var(--primary)}
    .brand-logo{width:408px;height:123px;object-fit:contain}
    nav{display:flex;flex-wrap:wrap;gap:.8rem;font-size:.95rem;color:var(--muted)}
    nav a:hover{color:var(--primary)}
    .hero{background:linear-gradient(135deg,var(--primary),var(--secondary));color:var(--white);padding:4rem 0 3.5rem}
    .hero-inner{max-width:1200px}
    .eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.8rem;color:#dfeef7;margin-bottom:.75rem}
    .hero h1{margin:0 0 1rem;font-size:clamp(2rem,4vw,2.8rem);line-height:1.1;max-width:900px}
    .hero p{margin:0 0 1.5rem;font-size:1.1rem;color:#eef7fb}
    .button-row{display:flex;flex-wrap:wrap;gap:.75rem}
    .button{display:inline-block;padding:.75rem 1rem;border-radius:999px;font-weight:700;font-size:.95rem;background:var(--accent);color:#1b1b1b}
    .button.secondary{background:transparent;border:1px solid rgba(255,255,255,.6);color:var(--white)}
    section{padding:3.5rem 0}
    section:nth-of-type(even){background:var(--light)}
    .section-heading{max-width:100%;text-align: justify;margin-bottom:2rem}
    .section-heading h2{margin:0 0 .5rem;color:var(--primary);font-size:2rem}
    .section-heading p{margin:0;color:var(--muted)}
    .grid{display:grid;gap:1.25rem}
    .grid-3{grid-template-columns:repeat(3,1fr)}
    .grid-2{grid-template-columns:repeat(2,1fr)}
    .grid-1{grid-template-columns:1fr}
    .card{background:var(--white);border:1px solid var(--border);border-radius:14px;padding:1.25rem;box-shadow:0 8px 20px rgba(15,61,94,.06)}
    .card h3{margin-top:0;margin-bottom:.5rem;color:var(--primary)}
    .card p{margin-bottom:0;color:var(--muted)}
    .member{text-align:center}
    .member-photo{width:180px;height:180px;border-radius:50%;background:#d7dee6;color:var(--muted);display:flex;align-items:center;justify-content:center;margin:0 auto 1rem;font-size:.9rem;object-fit:cover;overflow:hidden;transition:transform .25s ease, box-shadow .25s ease;}
    .member .role{color:var(--secondary);font-weight:700;font-size:.9rem}

    .project-card{display:flex;flex-direction:column;}
    .project-card .read-more{margin-top:auto;padding-top:1rem;color:var(--secondary);font-weight:700;font-size:.95rem;}
    .project-card .read-more:hover{color:var(--primary);}

    .contact-box{background:var(--primary);color:var(--white);border-radius:18px;padding:2rem;display:grid;grid-template-columns:1.4fr 1fr;gap:2rem}
    .contact-box h2{margin-top:0}
    .contact-box p{color:#e8f2f7}
    footer{border-top:1px solid var(--border);padding:1.5rem 0;color:var(--muted);font-size:.9rem;text-align:center}
    .uni-logo{width:80px;height:auto;object-fit:contain;}

    .member-profile{display:flex;align-items:flex-start;gap:1.5rem;margin-bottom:2rem;padding:2rem 2.5rem 2rem 2rem;}

.profile-photo{
  width:110px;
  height:110px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}

.profile-text h3{
  margin-top:0;
}
.profile-text p{
    text-align: justify;
}

    language-switch{
  font-size:.9rem;
  font-weight:700;
  color:var(--primary);
  border:1px solid var(--border);
  border-radius:999px;
  padding:.25rem .55rem;
  line-height:1;
}

.language-switch:hover{
  background:var(--primary);
  color:var(--white);
}

    .member-card-link{
  display:block;
  color:inherit;
  text-decoration:none;
  height:100%;
}

.member-card-link .card{
  height:100%;
}

    .card,
.button,
nav a {
  transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
}

.card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15,61,94,.12);
}

.button:hover{
  transform: translateY(-2px);
}

nav a:hover{
  color: var(--primary);
}
@media(max-width:800px){
  .topbar{
    display:grid;
    grid-template-columns:1fr auto;
    align-items:center;
    gap:.75rem;
  }

  .brand{
    min-width:0;
  }

  .brand-logo{
    width:250px;
    max-width:100%;
    height:auto;
  }

  .uni-logo{
    width:50px;
    height:auto;
    justify-self:end;
  }

  nav{
    grid-column:1 / -1;
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:.75rem;
    font-size:.95rem;
  }

  .language-switch{
    grid-column:1 / -1;
    justify-self:center;
  }

  .grid-3,
  .grid-2,
  .contact-box{
    grid-template-columns:1fr;
  }

  .hero{
    padding:3rem 0;
  }

  .hero h1{
    white-space:normal;
  }
.section-heading{
    text-align:left;
  }

  .section-heading h2{
    text-align:left;
  }

  .member-profile{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
}