:root {
  --navy: #2b4a7c;
  --navy-dark: #1f3764;
  --teal: #3f8a82;
  --green: #5aa583;
  --pink: #ec1c79;
  --pink-dark: #c9145f;
  --white: #fff;
  --cream: #f3efe6;
  --ink: #1f3764;
  --radius: 16px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); overflow-x: hidden; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  color: var(--white);
  line-height: 1.6;
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: calc(100% - 48px); max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font: 600 1rem/1 "Montserrat", sans-serif;
  color: var(--white); background: var(--pink);
  border-radius: 999px; padding: 14px 28px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--pink-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(236, 28, 121, .4); }
.btn-sm { padding: 11px 22px; font-size: .95rem; }
.btn-lg { padding: 22px 64px; font-size: 1.35rem; box-shadow: 0 10px 30px rgba(236, 28, 121, .35); }

/* ---------- Logo placeholders ---------- */
.logo-ph {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-width: 90px; min-height: 48px; padding: 6px 12px;
  border: 1.5px dashed rgba(255, 255, 255, .55); border-radius: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.25;
  color: rgba(255, 255, 255, .85);
}
.logo-ph-square { min-width: 48px; min-height: 64px; }
.logo img { height: 56px; width: auto; display: block; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  background: transparent;
  transition: background .25s, box-shadow .25s;
}
.site-header.scrolled { background: rgba(31, 55, 100, .95); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0, 0, 0, .2); }
.nav { height: 100%; display: flex; align-items: center; justify-content: center; gap: 24px; }
.logo-group { display: flex; align-items: center; gap: 14px; }
.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-link { font-weight: 600; font-size: .98rem; position: relative; padding: 6px 0; }
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--pink); transition: width .25s;
}
.nav-link:hover::after { width: 100%; }

/* Desktop: the logos are baked into header.jpg with their centre at 5.25vw from the top,
   so the menu rests at that height and slides up into the bar once the page is scrolled. */
@media (min-width: 961px) {
  .site-header { pointer-events: none; }
  .nav-menu { pointer-events: auto; transform: translateY(calc(5vw - var(--header-h) / 2)); transition: transform .25s; }
  .site-header.scrolled .nav-menu { transform: none; }
}

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--white); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero-m { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* header.jpg (2000x1116) holds the logos, flower mark, title and landscape.
   The intro text sits in its empty middle band. */
.hero { position: relative; background: #50a082; text-align: center; }
/* The whole image is always shown (no cropping): it scales with the window width. */
.hero-img { display: block; width: 100%; height: auto; }
.hero-inner {
  position: absolute; z-index: 2; left: 50%; top: 20.8vw; transform: translateX(-50%);
  width: min(62%, 900px); display: flex; flex-direction: column; align-items: center;
}
.hero-info { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; margin: 0 0 14px; font-size: clamp(.75rem, 1.35vw, 1.2rem); text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.info-item { display: flex; align-items: center; text-align: left; color: inherit; }
.info-item + .info-item { margin-left: clamp(24px, 4vw, 64px); padding-left: clamp(24px, 4vw, 64px); border-left: 1px solid rgba(255, 255, 255, .35); }
.info-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 2.4em; height: 2.4em; margin-right: .8em; border-radius: 50%; background: var(--pink); font-size: 1em; }
.info-text { display: flex; flex-direction: column; line-height: 1.25; }
.info-label { font-size: .7em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.info-value { font-size: 1.25em; font-weight: 700; }
a.info-item:hover .info-value { text-decoration: underline; }
.hero-text { margin: 0 0 14px; font-size: clamp(.7rem, 1.05vw, 1.05rem); line-height: 1.5; font-weight: 500; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.learn-more { font-weight: 600; border-bottom: 2px solid transparent; transition: border-color .2s, gap .2s; display: inline-flex; gap: 8px; align-items: center; }
.learn-more:hover { border-color: var(--white); gap: 14px; }


/* ---------- Countdown ---------- */
.countdown-wrap {
  position: relative; z-index: 5;
  margin-top: -70px; padding-bottom: 20px;
  background: linear-gradient(180deg, transparent 0 70px, #3f8a82 70px);
  display: flex; justify-content: center;
}
.countdown {
  width: min(560px, 100% - 32px);
  padding: 18px 32px 14px; text-align: center;
  background: rgba(31, 55, 100, .92); border-radius: 24px;
  box-shadow: 0 18px 50px rgba(10, 25, 55, .45);
  border: 1px solid rgba(255, 255, 255, .08);
}
.cd-grid { display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: clamp(10px, 4vw, 44px); }
.cd-item { display: flex; flex-direction: column; align-items: center; }
.cd-num { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.cd-label { margin-top: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--pink); }
.cd-note { margin: 10px 0 0; font-weight: 600; font-size: .95rem; }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, #3f8a82 0%, #4d9a82 100%); padding: 10px 0 90px; }
.section-title { position: relative; margin: 0 0 40px; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; padding-bottom: 14px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 3px; background: var(--pink); border-radius: 2px; }
.section-title.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.about-col p { margin: 0; font-size: 1.05rem; font-weight: 500; }
.about-col hr { border: 0; height: 1px; background: rgba(255, 255, 255, .35); margin: 28px 0; }

/* ---------- Agenda ---------- */
.agenda { background: var(--cream); color: var(--ink); padding: 56px 0 72px; }
.agenda .section-title { color: var(--navy-dark); }
.schedule { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.slot { display: grid; grid-template-columns: 155px 1fr; gap: 10px; align-items: center; }
.slot-time { font-weight: 700; font-size: 1.2rem; color: var(--navy-dark); white-space: nowrap; }
.slot-card {
  background: var(--white); border-radius: 14px; padding: 18px 28px;
  box-shadow: 0 4px 18px rgba(31, 55, 100, .12);
  display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center;
  border-left: 5px solid var(--pink);
}
.slot-card h3 { margin: 0; font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.slot-card:not(:has(.speakers)) { grid-template-columns: 1fr; }
.tag {
  display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; vertical-align: middle;
  font-size: .58rem; font-weight: 700; letter-spacing: .03em; white-space: nowrap; text-transform: uppercase;
  background: rgba(236, 28, 121, .12); color: var(--pink-dark);
}
.key-speakers { grid-column: 1; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pink-dark); }
.speakers { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 18px 14px; }
.speakers li { width: 120px; display: flex; flex-direction: column; align-items: center; text-align: center; font-size: .72rem; line-height: 1.3; }
.speakers strong { font-weight: 700; color: var(--navy-dark); }
.speakers em { font-style: normal; color: #5d6b87; margin-top: 2px; }

.avatar {
  width: 58px; height: 58px; border-radius: 50%; margin-bottom: 6px; flex: none;
  border: 2px solid var(--pink); background-color: #e6e9f0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='24' r='11' fill='%239aa3b5'/%3E%3Cpath d='M10 60c0-13 10-22 22-22s22 9 22 22z' fill='%239aa3b5'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ---------- Photos ---------- */
.photos { background: linear-gradient(180deg, #2f5a80, #2b4a7c); padding: 56px 0; }
.photos-note { margin: 0; opacity: .85; }

/* ---------- Register ---------- */
.register { background: linear-gradient(180deg, #2b4a7c, #1f3764); padding: 80px 0 90px; }
.register-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.register-inner p { margin: 0 0 24px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative; overflow: hidden; padding: 18px 0 10px;
  aspect-ratio: 1920 / 385;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #3b6a7f url("img/footer.png") center / 100% 100% no-repeat;
}
.footer-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-links { display: flex; flex-direction: column; gap: 2px; font-size: 1.05rem; line-height: 1.4; }
.footer-links h4 { margin: 0 0 4px; font-size: 1.2rem; }
.footer-links a, .footer-contact a { font-weight: 500; transition: color .2s; }
.footer-links a:hover, .footer-contact a:hover { color: #ffc2de; }
.footer-contact { display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-self: center;
    text-align: center;}
.footer-contact i { margin-right: 8px; }
.social {  display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px; }
.social a {
  width: 44px; height: 44px; font-size: 1.2rem; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .14); transition: background .2s, transform .2s;
}
.social a:hover { background: var(--pink); transform: translateY(-3px); color: #fff; }
.social i { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .logo-right .logo-ph:nth-child(2) { display: none; }
}

@media (max-width: 960px) {
.footer-contact {
        justify-self: center;
        align-items: center;
    }
  :root { --header-h: 56px; }
  .nav-toggle { display: block; order: 3; }
  .site-header { background: rgba(31, 55, 100, .97); }
  /* Hero on phones/tablets: slices of header.jpeg, enlarged so the title is readable */
  .hero { padding-top: var(--header-h); background: #37647c; }
  .hero-img { display: none; }
  .hero-m { display: block; }
  .strip { position: relative; overflow: hidden; }
  .strip img { position: absolute; max-width: none; display: block; }
  .strip-a { aspect-ratio: 12.64; }
  .strip-a img { width: 100%; left: 0; top: 0; }
  .strip-b { aspect-ratio: 4.357; }
  .strip-b img { width: 178.6%; left: -39.3%; top: -62.5%; }
  .strip-c { aspect-ratio: 7.78; }
  .strip-c img { width: 100%; left: 0; top: -212.5%; }
  .hero-inner {
    position: static; transform: none; width: 100%; padding: 22px max(16px, calc((100% - 720px) / 2)) 28px;
    background: linear-gradient(180deg, #37647c, #40767e);
  }
  .hero-text { font-size: .95rem; }
  .nav { justify-content: flex-end; }
  .nav-menu {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 24px;
    background: rgba(31, 55, 100, .98); transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .nav-menu.open { transform: none; opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-menu .btn { margin-top: 16px; }

  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .slot { grid-template-columns: 1fr; gap: 8px; }
  .slot-card { grid-template-columns: 1fr; }
  .site-footer { aspect-ratio: auto; min-height: 0; padding: 24px 0 14px; background: #2a4878; display: block; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-logos { height: 120px; background: url("img/footer.png") left top / auto 100% no-repeat; }
  .footer-contact { justify-self: start; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .countdown-wrap { margin-top: 0; padding-top: 6px; background: linear-gradient(180deg, #6db48a 0, #3f8a82 90px); }
  .countdown { padding: 20px 14px 18px; }
  .about { padding-bottom: 60px; }
  .slot-card { padding: 16px 18px; }
  .speakers li { width: 46%; }
  .btn-lg { width: 100%; padding: 20px 24px; font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Footer: nudge the email/social block down (desktop) */
@media (min-width: 961px) {
  .footer-links { margin-top: 20px; margin-top: 1.8vw; justify-self: center; }
  .footer-contact { margin-top: 18px; }
}

/* Agenda: moderator entries and text-only speaker lists */
.speakers.no-icons li { width: 150px; }

/* Agenda: green-finance card keeps the same column widths as every other slot,
   so all speaker icons start on the same vertical line (desktop) */
@media (min-width: 961px) {
  .slot-card:has(.key-speakers) { row-gap: 4px; align-content: center; }
  .slot-card:has(.key-speakers) .speakers { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

/* Agenda: two parallel sessions sharing one time slot */
.slot-cards { display: flex; flex-direction: column; gap: 14px; }
.slot-parallel { align-items: start; }
.slot-parallel .slot-time { padding-top: 18px; }
.card-desc { margin: 8px 0 0; font-size: .85rem; line-height: 1.45; color: #5d6b87; }
.participants { margin: 12px 0 0; font-size: .8rem; line-height: 1.45; color: #5d6b87; }
@media (max-width: 960px) {
  .slot-parallel .slot-time { padding-top: 0; }
}

/* Lunch (13:30) is a single time, so right-align it next to its card (desktop) */
@media (min-width: 961px) {
  .slot:last-child .slot-time { text-align: right; padding-right: 50px; }
}

/* Touch devices: larger tap targets and slightly larger speaker captions */
@media (max-width: 960px) {
  .footer-links a, .footer-contact > a { display: inline-block; padding: 8px 0; }
  .social { gap: 12px; }
  .social a { width: 44px; height: 44px; }
  .learn-more { padding: 10px 0; }
  .speakers li { font-size: .8rem; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
}

/* Very small phones (<= 380px) */
@media (max-width: 380px) {
  .countdown { padding: 16px 8px 14px; }
  .cd-grid { gap: 14px; }
  .cd-num { font-size: 2rem; }
  .cd-label { font-size: .6rem; letter-spacing: .04em; }
  .cd-note { font-size: .82rem; }
  .hero-text { font-size: .88rem; }
  .section-title { font-size: 1.6rem; }
}

/* Hero: Time / Location block on smaller screens */
@media (max-width: 960px) {
  .hero-info { font-size: 1rem; }
}
@media (max-width: 480px) {
  .hero-info { flex-direction: column; align-items: flex-start; }
  .info-item + .info-item { margin-left: 0; padding-left: 0; border-left: 0; margin-top: 16px; }
}

/* Footer: email and social icons bigger and further left (desktop) */
.footer-contact > a { font-size: 1.1rem; }
@media (min-width: 961px) {
  .footer-contact { position: relative; left: 3vw; }
}

/* Footer (desktop): email + social icons centred on the flagpole of footer.png (about 83% across),
   so they stay lined up with the artwork on any screen width */
@media (min-width: 961px) {
  .site-footer .footer-grid { position: static; }
  .site-footer .footer-contact { position: absolute; left: 83%; top: 17%; transform: translateX(-50%); margin: 0; z-index: 3; }
}

/* Wide screens: bring quick links and the email/icons closer together */
@media (min-width: 1400px) {
  .footer-links { position: relative; left: 5vw; }
  .site-footer .footer-contact { left: 77%; }
}

/* Desktop nav: slightly compact so it clears the right-hand logos of the header image on narrower windows */
@media (min-width: 961px) {
  .nav-menu { gap: clamp(14px, 2.4vw, 36px); }
  .nav-link { font-size: clamp(.78rem, 1.05vw, .98rem); }
  .nav-menu .btn-sm { padding: 9px 18px; font-size: clamp(.78rem, 1.05vw, .95rem); }
}
