* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000010;
  font-family: Arial, sans-serif;
}

body {
  overflow-x: hidden;
}

.canva-page {
  width: 100%;
  margin: 0 auto;
}

.canva-embed {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
}

.canva-embed iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
}


@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap');

/* ===== Shared contact typography ===== */
.connect-section,
.connect-card,
.connect-info {
  font-family: "Be Vietnam Pro", "Be Vietnam", Arial, sans-serif;
}

/* The Youngest is used when available on the visitor's system.
   Georgia is the fallback if the web font is unavailable. */
.connect-title {
  font-family: "The Youngest", Georgia, "Times New Roman", serif;
  font-weight: 400;
}

/* ===== Shared Let's Connect section for project pages ===== */
.connect-section {
  background: #f4f6c9;
  padding: 72px 7vw 82px;
}

.connect-layout {
  width: min(1400px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 84px;
  align-items: center;
}

.connect-title-wrap {
  display: flex;
  align-items: center;
  min-height: 520px;
}

.connect-title {
  margin: 0;
  color: #3035df;
  font-size: 73px;
  line-height: 0.94;
  letter-spacing: -0.025em;
}

.connect-card {
  width: 100%;
  padding: 28px 40px 38px;
  border-radius: 26px;
  background: linear-gradient(115deg, #050511 0%, #181b60 44%, #373be0 100%);
}

.connect-field {
  margin-bottom: 28px;
}

.connect-field label {
  display: block;
  margin-bottom: 11px;
  color: #ffffff;
  font-size: 20px;
  font-weight: 700;
}

.connect-field input,
.connect-field textarea {
  width: 100%;
  border: 1.4px solid rgba(255,255,255,0.48);
  border-radius: 9px;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-size: 17px;
  padding: 15px 17px;
  outline: none;
}

.connect-field input {
  height: 60px;
}

.connect-field textarea {
  min-height: 118px;
  resize: vertical;
}

.connect-field input:focus,
.connect-field textarea:focus {
  border-color: #ffffff;
}

.connect-send {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 22px;
  background: #fbfbf1;
  color: #111111;
  font-family: "Be Vietnam Pro", "Be Vietnam", Arial, sans-serif;
  font-size: 23px;
  font-weight: 700;
  cursor: pointer;
}

.connect-note {
  margin: 12px 0 0;
  text-align: center;
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  line-height: 1.4;
}

.connect-status {
  min-height: 18px;
  margin: 10px 0 0;
  text-align: center;
  color: #ffffff;
  font-size: 13px;
}

/* ===== Home page special layout ===== */
.home-connect .connect-layout {
  grid-template-columns: 0.95fr 1.05fr;
  gap: 90px;
}

.home-connect .connect-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.home-connect .connect-title {
  margin-bottom: 88px;
  color: #0d0d57;
  background: linear-gradient(90deg, #09091a 0%, #3137e2 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.connect-info {
  width: min(560px, 100%);
  padding: 58px 30px;
  background: linear-gradient(115deg, #050511 0%, #171957 50%, #3a3bd4 100%);
  color: #ffffff;
  font-size: 22px;
  line-height: 1.48;
}

.connect-info p {
  margin: 0;
}

.connect-info strong {
  font-weight: 700;
}

.connect-info a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .connect-section {
    padding: 54px 22px 64px;
  }

  .connect-layout,
  .home-connect .connect-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .connect-title-wrap {
    min-height: auto;
  }

  .connect-title {
    font-size: 62px;
  }

  .home-connect .connect-title {
    margin-bottom: 36px;
  }

  .connect-card {
    padding: 26px 20px 30px;
  }

  .connect-info {
    padding: 34px 26px;
    font-size: 18px;
  }
}


.connect-send:disabled {
  opacity: 0.7;
  cursor: wait;
}


/* ===== Compact contact layout for the 4 project pages only ===== */
body:not(.home-page) .connect-section {
  padding: 36px 7vw 42px;
}

body:not(.home-page) .connect-layout {
  min-height: 460px;
  gap: 72px;
}

body:not(.home-page) .connect-title-wrap {
  min-height: 360px;
}

body:not(.home-page) .connect-title {
  font-size: 73px;
  line-height: 0.92;
}

body:not(.home-page) .connect-card {
  padding: 22px 34px 26px;
  border-radius: 24px;
}

body:not(.home-page) .connect-field {
  margin-bottom: 20px;
}

body:not(.home-page) .connect-field label {
  margin-bottom: 9px;
  font-size: 18px;
}

body:not(.home-page) .connect-field input {
  height: 56px;
}

body:not(.home-page) .connect-field textarea {
  min-height: 116px;
}

body:not(.home-page) .connect-send {
  height: 58px;
  font-size: 21px;
}

body:not(.home-page) .connect-note {
  margin-top: 10px;
  font-size: 11px;
}

@media (max-width: 900px) {
  body:not(.home-page) .connect-layout {
    min-height: auto;
  }

  body:not(.home-page) .connect-title-wrap {
    min-height: auto;
  }
}


/* ===== Home My Journey autoplay video overlay ===== */
.home-page .canva-embed {
  position: relative;
}

.my-journey-video {
  position: absolute;
  z-index: 50;
  left: 0;
  top: 31.93%;
  width: 42.90%;
  height: 21.09%;
  display: block;
  object-fit: cover;
  object-position: 19% 50%;
  background: #080816;
  border: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

@media (max-width: 700px) {
  .my-journey-video {
    left: 0;
    top: 31.93%;
    width: 42.90%;
    height: 21.09%;
  }
}



/* ===== Global top navigation ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20000;
  background: rgba(5, 6, 24, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-family: "Be Vietnam Pro", "Be Vietnam", Arial, sans-serif;
}

.site-nav-inner {
  width: min(1480px, calc(100% - 48px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-nav-brand {
  color: #ffffff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav-links a {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color .2s ease;
}

.site-nav-links a:hover,
.site-nav-links a.active {
  color: #ffffff;
}

.site-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .site-nav-inner {
    width: calc(100% - 28px);
    height: 62px;
  }

  .site-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav-links {
    position: absolute;
    top: 62px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border-radius: 16px;
    background: rgba(7, 8, 31, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 16px 50px rgba(0,0,0,0.28);
  }

  .site-nav-links.open {
    display: flex;
  }

  .site-nav-links a {
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .site-nav-links a:hover {
    background: rgba(255,255,255,0.06);
  }
}



.site-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.site-nav-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex: 0 0 auto;
}
