/* ============================================================
   Metamorphosis — stylesheet
   Palette: blue + aqua  |  Body: Plus Jakarta Sans
            Titles: Bricolage Grotesque
   ============================================================ */

:root {
    /* Brand palette (blue + aqua) */
    --blue-900: #0b1f4d;
    --blue-800: #12317a;
    --blue-600: #1e4faf;
    --aqua:     #28d1e6;
    --aqua-700: #0ea3bd;

    /* Purple accent */
    --purple-900: #3f2794;
    --purple: #6b4ce0;

    /* Derived gradients */
    --grad-primary: linear-gradient(135deg, var(--blue-800) 0%, var(--aqua-700) 100%);

    /* Neutrals */
    --white: #ffffff;
    --cloud: #eaf6fb;
    --surface: #ffffff;
    --shadow-color: rgba(11, 31, 77, 0.28);

    /* Shared metrics */
    --radius: 18px;
    --maxw: 1160px;
}

/*font url sub
Font: Plus Jakarta Sans and Bricolage Grotesque
Licence: SIL OPEN FONT LICENSE Version 1.1
*/

@font-face {
  font-family: Plus Jakarta Sans; /* set name */
  src: url(../fonts/Plus_Jakarta_Sans/PlusJakartaSans-VariableFont_wght.ttf); /* url of the font */
}

@font-face {
   font-family: Plus Jakarta Sans;
   src: url(../fonts/Plus_Jakarta_Sans/PlusJakartaSans-Italic-VariableFont_wght.ttf);
   font-style: italic;
}

* {
   font-family: Plus Jakarta Sans;
}

@font-face {
   font-family: Bricolage Grotesque;
   src: url(../fonts/Space_Grotesk/SpaceGrotesk-VariableFont_wght.ttf);
   font-style: italic;
}

* {
   font-family: Bricolage Grotesque;
}







/* ---------- Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    color: #0a1a3a;
    background: var(--cloud);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.wrap--centered { text-align: center; display: flex; flex-direction: column; align-items: center; }
.visually-hidden {
    position: absolute !important; height: 1px; width: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typography (titles = Bricolage Grotesque) ---------- */
.title, .card__title {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; margin: 0;
}
.title--lg { font-size: clamp(2.1rem, 4vw, 3.25rem); }
.card__title { font-size: clamp(1.4rem, 2vw, 1.75rem); margin-bottom: 0.5rem; }
.section__lede {
    max-width: 64ch; margin: 1rem auto 2.5rem;
    font-size: clamp(1rem, 1.4vw, 1.125rem); color: #33507a;
}
section { position: relative; }

/* ============================================================
   SECTION 1 — Hero (background image + floating white nav)
   ============================================================ */
.hero {
    position: relative; height: 960px; overflow: hidden; color: var(--white);
    background-attachment: fixed;
    background:
        linear-gradient(rgba(8, 22, 54, 0.45), rgba(6, 30, 72, 0.6)),
        url("../media/Metamorph-img1sm.jpg") center / cover no-repeat;
}

/* Floating link bar, top: 0 — right aligned */
.topbar {
    position: fixed; inset-inline: 0; top: 16px; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding-inline: 28px;
    background: rgba(6, 30, 72, 0.34);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.topbar__brand {
    color: var(--white); text-decoration: none; font-weight: 800;
    font-size: 1.35rem; margin: 0; letter-spacing: -0.01em;
}
.topbar__links { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.topbar__links a {
    display: inline-block; padding: 10px 18px; color: var(--white);
    text-decoration: none; font-weight: 600; font-size: 1rem;
    border-radius: 999px; transition: background 0.2s ease, transform 0.2s ease;
}
.topbar__links a:hover { background: rgba(40, 209, 230, 0.18); transform: translateY(-1px); }
.topbar__links li + li { margin-inline-start: 6px; }

.hero__content {
    position: absolute; inset-block-start: 40%; inset-inline: 0;
    transform: translateY(-50%); text-align: center; padding-inline: 28px;
}

.hero__content .title { font-size: clamp(3rem, 8vw, 6.5rem); }
.bigbig
{
	font-size: clamp(3rem, 8vw, 6.5rem);
	font-weight: bold;
	color: #161f36;
}

.big
{
	font-size: clamp(2rem, 2vw, 3rem);
	font-weight: bold;
	color: #161f36;
}

.thick
{
	font-weight: bold;
}
.ita { font-style: italic; }

.hero__sub {
    margin-top: 0.8rem; font-size: clamp(1rem, 2vw, 1.5rem);
    letter-spacing: 0.3em; text-transform: uppercase; color: var(--aqua);
}

/* ============================================================
   SECTION 2 — Three cards (rounded + drop shadow)
   ============================================================ */
.section--cards { padding-block: 96px; background: var(--cloud); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.cards_news
{
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 28px;
	color: #000;
}
.labelb
{
	position:absolute;
	float: left;
	padding-left:20px;
}

.card {
    background: var(--surface); border-radius: var(--radius); padding: 32px;
    box-shadow: 0 18px 34px -18px var(--shadow-color);
    display: flex; flex-direction: column;
}
.card__title { color: var(--blue-800); }
.card__text { margin: 0; color: #3a4f75; }

/* ============================================================
   SECTION 3 — Full-width background image (Metamorph-img2)
   ============================================================ */
.section--image {
    min-height: 78vh; color: var(--white); display: flex;
    align-items: center; justify-content: center; padding-block: 80px;
    background-attachment: fixed;
    background:
        linear-gradient(rgba(6, 26, 60, 0.55), rgba(14, 163, 189, 0.35)),
        url("../media/Metamorph-img2sm.jpg") center / cover no-repeat;
}

.section--image .title { color: var(--white); }
.section--image .section__lede { color: #dceef5; max-width: 60ch; }

.bio-image {
  /* Set equal width and height to form a perfect square */
  width: 150px;
  height: 150px;

  /* Turn the square into a perfect circle */
  border-radius: 50%;

  /* Prevent the image from stretching if the original file isn't a square */
  object-fit: cover;

  /* Optional: centers the face if it's slightly off-center */
  object-position: center;
}

/* ============================================================
   SECTION 4 — Text box (left) + Card (right)
   ============================================================ */
.section--split { padding-block: 96px; background: var(--cloud); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split__text-box .title { color: var(--blue-800); }
.split__text-box .section__lede { margin-block: 1rem 2rem; }

.split__form { display: flex; flex-direction: column; gap: 14px; }
.split__form input, .split__form textarea {
    font: inherit; color: #0a1a3a; background: var(--surface);
    border: 1px solid #c7dbe6; border-radius: calc(var(--radius) - 8px);
    padding: 14px 16px;
}
.split__form input:focus, .split__form textarea:focus {
    outline: 2px solid var(--aqua); outline-offset: 1px;
}
.btn {
    align-self: flex-start; font: 600 1rem "Plus Jakarta Sans", sans-serif;
    color: var(--white); background: var(--grad-primary); border: 0;
    border-radius: calc(var(--radius) - 8px); padding: 14px 26px; cursor: pointer;
    transition: filter 0.2s ease, transform 0.2s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.card--wide { height: 100%; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
    .cards  { grid-template-columns: repeat(2, 1fr); }
    .split  { grid-template-columns: 1fr; }
    .hero   { height: 1200px; }
}

@media (max-width: 620px) {
    .cards  { grid-template-columns: 1fr; }
    .topbar { flex-direction: column; gap: 12px; align-items: flex-end; }
    .topbar__links { flex-wrap: wrap; justify-content: flex-end; }
    .hero   { height: 760px; }
    .section--image { min-height: 60vh; }

}

/* ============================================================
   SECTION 5 — Team (intro + profile cards)
   ============================================================ */


.section--team { padding-block: 96px; background: var(--cloud); }

.team__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 40px;
}

.member-card { align-items: center; }

.member__avatar {
    width: 96px; height: 96px; margin: -48px auto 0.2rem;
    border-radius: 50%; background: var(--grad-primary); border: 4px solid var(--surface);
    box-shadow: 0 12px 26px -14px var(--shadow-color);
}

.member__avatar1
{
	width: 96px;
	height: 96px;
	margin: -48px auto 0.2rem;
	border-radius: 50%;
	border: 4px solid var(--surface);
	box-shadow: 0 12px 26px -14px var(--shadow-color);
	background-image: url(../media/pic_ga_2025.jpg);
	 background-size: cover;      /* Scales the image to cover the entire div */
  background-position: center; /* Centers the image inside the circle */
  background-repeat: no-repeat;

}

.member__avatar2
{
	width: 96px;
	height: 96px;
	margin: -48px auto 0.2rem;
	border-radius: 50%;
	border: 4px solid var(--surface);
	box-shadow: 0 12px 26px -14px var(--shadow-color);
	background-image: url(../media/calvanese_unibz.jpg);
	background-size: cover;      /* Scales the image to cover the entire div */
  background-position: center; /* Centers the image inside the circle */
  background-repeat: no-repeat;
}

.floaterR {
float:right;
margin-top:0px;
padding-top:0px;
}

.floaterC {
text-align:center;
margin-top:0px;
}



.member__avatar3
{
	width: 96px;
	height: 96px;
	margin: -48px auto 0.2rem;
	border-radius: 50%;
	border: 4px solid var(--surface);
	box-shadow: 0 12px 26px -14px var(--shadow-color);
	background-image: url(../media/sukaina-profile-2026sm.jpg);
	background-size: cover;      /* Scales the image to cover the entire div */
  background-position: center; /* Centers the image inside the circle */
  background-repeat: no-repeat;
}


.member__role { margin: 2px 0 12px; color: #0f8ea3; font-weight: 600; }

@media (max-width: 620px) {
    .team__grid { grid-template-columns: 1fr; }
}

/* Parallax page - sticky sections + drifting backgrounds */
.parallax-page .section { position: sticky; top: 0; min-height: 100vh; overflow: hidden; }
.parallax-page .hero { min-height: 100vh; height: auto; }
.parallax-page .parallax-bg { position: absolute; inset: 0; background-size: cover; background-position: center; will-change: transform; }