html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  background: #EFE4D2;
  font-family: 'Roboto', Arial, sans-serif;
  color: #181923;
  min-height: 100%;
  box-sizing: border-box;
}

.typewriter-image-row {
  display: flex;
  flex-direction: row;
  gap: 18px;
  font-weight: 500;
  justify-content: left;
  align-items: center;
  margin: 13px 0 0 0;
}
.typewriter-badge {
  opacity: 0;
  transition: opacity 0.4s;
}
.typewriter-badge.show {
  opacity: 1;
}

.frame-border {
  border: 14px solid #f6fafc;
  min-height: 100vh;
  box-sizing: border-box;
}
.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 42px;
  padding: 32px 38px 0 38px;
  position: relative;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
}
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 8px;
  font-size: inherit;
  font-family: inherit;
  text-indent: -13px;
}

/* --- Animated MENU text --- */
.menu-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.53rem;
  color: #4e54c8;
  letter-spacing: 2px;
  padding: 8px 20px;
  transition:
    letter-spacing 0.33s cubic-bezier(.55,0,.15,1),
    color 0.19s,
    transform 0.17s,
    text-shadow 0.17s;
  cursor: pointer;
  display: inline-block;
}

.menu-text:hover,
.menu-text:focus {
  letter-spacing: 0.58em;
  color: #8f94fb;
  transform: scale(1.06);
  text-shadow: 0 2px 8px #b9b7ff38;
}

/* Overlay styles */
.menu-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(246, 250, 252, 0.65);
  backdrop-filter: blur(9px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  animation: fadeIn .28s;
}
.menu-overlay.open {
  display: flex;
}

.overlay-menu-content {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 8px 48px #8f94fb77;
  padding: 60px 44px 46px 44px;
  text-align: center;
  min-width: 320px;
  max-width: 92vw;
  animation: menuPop .33s;
  position: relative;
}
.overlay-menu-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.overlay-menu-content li {
  margin: 26px 0;
}
.overlay-menu-content .menu-link {
  font-size: 2rem;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: 10px;
  transition: background 0.17s, color 0.17s, letter-spacing 0.33s cubic-bezier(.55,0,.15,1);
}

.overlay-menu-content .menu-link.active {
  background: #e7eaff;
  color: #8f94fb;
  padding: 6px 24px;
  border-radius: 13px;
  box-shadow: 0 2px 12px #e7eaff7a;
}

.overlay-menu-content .menu-link:hover,
.overlay-menu-content .menu-link:focus {
  background: #e7eaff;
  color: #8f94fb;
  letter-spacing: 0.55em;
}
.menu-close {
  position: absolute;
  top: 22px;
  right: 34px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #7d7fa6;
  cursor: pointer;
  font-weight: bold;
  outline: none;
  transition: color .13s;
}
.menu-close:hover {
  color: #4e54c8;
}

@keyframes menuPop {
  from { transform: scale(0.91) translateY(35px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.menu-link {
  display: block;
  color: #7d7fa6;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 1px;
  padding: 12px 20px;
  transition:
    color 0.22s,
    background 0.12s,
    letter-spacing 0.33s cubic-bezier(.55,0,.15,1);
  border-radius: 6px;
}
.menu-link.active {
  color: #4e54c8;
  background: #f4f4ff;
}
.menu-link:hover,
.menu-link:focus {
  letter-spacing: 0.55em;
}

/* --- Animated HIRE ME link --- */
.hireme-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #4e54c8;
  font-size: 1.53rem;
  letter-spacing: 1.2px;
  text-decoration: none;
  transition:
    letter-spacing 0.33s cubic-bezier(.55,0,.15,1),
    color 0.19s,
    transform 0.17s,
    text-shadow 0.17s;
  cursor: pointer;
  display: inline-block;
}
.hireme-link:hover,
.hireme-link:focus {
  letter-spacing: 0.55em;
  color: #8f94fb;
  transform: scale(1.06);
  text-shadow: 0 2px 8px #b9b7ff38;
}

.site-content {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 28px);
}

main {
  flex: 1 0 auto;
}

.about-section {
  background: linear-gradient(120deg, #f6fafc 60%, #e7eaff 100%);
  border-radius: 20px;
  box-shadow: 0 4px 22px #b6b9ee22;
  padding: 48px 16px 46px 16px;
  margin-top: 44px;
  display: flex;
  justify-content: center;
  object-position: center top;
}

.about-panel {
  display: flex;
  align-items: flex-start;
  gap: 38px;
  max-width: 950px;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px #bcc0f018;
  padding: 40px 36px 32px 36px;
  margin: auto;
  flex-wrap: wrap;
}

.about-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 12px #c1c6e5;
  margin-bottom: 18px;
  background: #f9f9ff;
  border: 4px solid #f6fafc;
  object-position: top;
}

.about-main {
  flex: 1 1 300px;
}

.about-section h2 {
  color: #4e54c8;
  font-size: 2.05rem;
  margin-bottom: 8px;
  margin-top: 0;
  text-align: left;
}

.about-section p {
  font-size: 1.19rem;
  color: #22223e;
  line-height: 1.7;
  margin-bottom: 18px;
}

.about-key {
  background: #e7eaff;
  color: #4e54c8;
  border-radius: 5px;
  padding: 2px 7px;
  margin: 0 2px;
  font-weight: 600;
}

.about-highlight {
  display: inline-block;
  margin-top: 7px;
  color: #8f94fb;
  font-size: 1rem;
  font-weight: 700;
}

.about-quickfacts {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: #4e54c8;
  font-size: 1.02rem;
}
.about-quickfacts li {
  background: #f6fafc;
  border-radius: 9px;
  padding: 8px 14px;
  box-shadow: 0 1px 7px #d8dcfa1a;
  font-weight: 500;
}

.about-quote {
  margin: 12px 0 0 0;
  padding-left: 16px;
  border-left: 3px solid #8f94fb;
  font-size: 1.05rem;
  color: #515678;
  font-style: italic;
}

@media (max-width: 720px) {
  .about-panel {
    flex-direction: column;
    align-items: center;
    padding: 24px 7px 18px 7px;
    gap: 18px;
  }
  .about-img {
    margin-bottom: 2px;
  }
  .about-section h2 { text-align: center; }
}

.hero-section {
  margin: 0 38px 0 38px;
  min-height: 470px;
  padding-bottom: 44px;
}
.hero-flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.hero-content {
  max-width: 550px;
  padding-top: 22px;
}
h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 3.35rem;
  line-height: 1.08;
  margin: 0 0 22px 0;
  font-weight: 700;
  color: #181923;
}
.name-accent {
  font-weight: 900;
  color: #4e54c8;
  font-size: 3.3rem;
  display: inline-block;
  letter-spacing: 1.5px;
  margin-top: 20px;
}
.subtitle {
  font-size: 1.22rem;
  color: #4e54c8;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  margin-bottom: 22px;
  line-height: -0.75em;
}
.subtitle strong { color: #232336; }
.location {
  color: #7d7fa6;
  font-size: 1.09rem;
  margin-bottom: 8px;
  font-family: 'Roboto', Arial, sans-serif;
}
.hero-illustration {
  flex: 1 1 300px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}
.avatar-bg {
  background: linear-gradient(135deg, #8f94fb22 45%, #c1c7e6 100%);
  border-radius: 50% 50% 43% 57%/61% 49% 51% 39%;
  width: 275px;
  height: 295px;
  right: 100px;
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 6px 36px 0 #aeb5df33;
  position: relative;
  margin-top: 50px; /* Moves the image down */
}
.avatar-bg img {
  width: 228px;
  height: 250px;
  object-fit: cover;
  object-position: top;
  border-radius: 44% 56% 48% 52%/58% 62% 38% 42%;
  border: 4px solid #f6fafc;
  box-shadow: 0 1px 18px #9ca4c833;
  background: #fff;
}

.scroll-indicator {
  margin-top: 38px;
  text-align: left;
  width: 100%;
  padding-left: 30px;
  position: relative;
  max-width: 450px;
}

/* Both SCROLL and "coming soon" use same style */
.scroll-word{
  color: #4e54c8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.05rem;
  font-weight: 400;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px #e7eaff29;
}
.scroll-label {
  color: #4e54c8;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.55rem;
  font-weight: 400;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 16px;
  text-shadow: 0 2px 12px #e7eaff29;
}

.scroll-line-vertical {
  width: 7px;
  height: 185px;
  border-radius: 7px;
  background: linear-gradient(180deg, #8f94fb 0%, #4e54c8 60%, #e7eaff 100%);
  position: relative;
  margin-left: 20px; /* fully left */
  box-shadow: 0 2px 16px #b9b7ff29;
  overflow: hidden;
}
.scroll-line-vertical::after {
  content: "";
  position: absolute;
  left: 0; top: -70px;
  width: 100%;
  height: 70px;
  background: linear-gradient(180deg, #fff 0%, #8f94fb88 100%);
  opacity: 0.7;
  animation: scrollShineVert 2.2s infinite;
  border-radius: 7px;
}
@keyframes scrollShineVert {
  0% { top: -70px; }
  85% { top: 185px; }
  100% { top: 185px; }
}

.section-active { display: block; animation: fadeIn 0.8s; }
section:not(.section-active) { display: none; }
.work-section, .about-section, .contact-section {
  margin: 54px 38px 0 38px;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 4px 32px 0 #8f94fb14;
  padding: 36px 32px 30px 32px;
}
.about-section p {
  font-size: 1.15rem; /* or 1.2rem for even larger */
  color: #2d2d2d;
  line-height: 1.7;
  margin-bottom: 20px;
}

h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.1rem;
  color: #4e54c8;
  margin-top: 0;
  margin-bottom: 28px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.work-section {
  background: linear-gradient(120deg, #e7eaff 65%, #f6fafc 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #a0a4d944;
  padding: 36px 18px 40px 18px;
  margin-top: 44px;
  text-align: center;
}

.work-title {
  font-size: 2.05rem;
  color: #4e54c8;
  font-weight: 900;
  margin-bottom: 8px;
  margin-top: 0;
  letter-spacing: -.5px;
}

.work-company {
  font-size: 2.05rem;
  font-weight: 900;
  color: #4e54c8;
  margin-bottom: 8;
  margin-top: 0;
  letter-spacing: -.5px;
}

.work-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 26px;
}

.work-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px #aeb5df1b;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 22px 22px 22px;
  min-width: 200px;
  max-width: 310px;
  flex: 1 1 220px;
  transition: transform .16s, box-shadow .15s;
  text-align: left;
}
.work-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 28px #8f94fb25;
}
.work-role {
  font-weight: 700;
  color: #4e54c8;
  font-size: 1.14rem;
  margin-bottom: 10px;
  letter-spacing: .3px;
}
.work-desc {
  font-size: .99rem;
  color: #595a7a;
  margin-bottom: 2px;
}

@media (max-width: 700px) {
  .work-grid { flex-direction: column; align-items: center; }
  .work-card { width: 90%; max-width: 350px; }
}

.skills-block {
  margin-top: 20px;
}
.skills-block h4 {
  margin: 0 0 7px 0;
  color: #7d7fa6;
}
.skills-block ul {
  margin: 0;
  padding-left: 17px;
  color: #2b2b2b;
  font-size: 1.02rem;
}

.hobbies-section {
  background: linear-gradient(120deg, #e7eaff 65%, #f6fafc 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #a0a4d944;
  padding: 36px 18px 40px 18px;
  margin-top: 44px;
  text-align: center;
}

.hobby-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin-top: 26px;
}

.hobby-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px #aeb5df1b;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 22px 22px 22px;
  min-width: 160px;
  max-width: 220px;
  flex: 1 1 160px;
  transition: transform .16s, box-shadow .15s;
}
.hobby-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 28px #8f94fb25;
}
.hobby-icon {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hobby-title {
  font-weight: 700;
  color: #4e54c8;
  font-size: 1.15rem;
  margin-bottom: 6px;
  letter-spacing: .6px;
}
.hobby-desc {
  font-size: .99rem;
  color: #595a7a;
  margin-bottom: 2px;
}
@media (max-width: 700px) {
  .hobby-grid { flex-direction: column; align-items: center; }
  .hobby-card { width: 90%; max-width: 350px; }
}


.certifications-section {
  background: linear-gradient(120deg, #f6fafc 65%, #e7eaff 100%);
  border-radius: 18px;
  box-shadow: 0 4px 24px #a0a4d944;
  padding: 36px 18px 40px 18px;
  margin-top: 44px;
  text-align: center;
}
.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  justify-content: center;
  margin-top: 22px;
}
.cert-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px #aeb5df1b;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 26px;
  min-width: 250px;
  max-width: 330px;
  flex: 1 1 260px;
  transition: transform .15s, box-shadow .15s;
}
.cert-card:hover {
  transform: translateY(-4px) scale(1.035);
  box-shadow: 0 6px 28px #8f94fb25;
}
.cert-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #f6fafc;
  box-shadow: 0 1px 7px #bfc3ee23;
  object-fit: contain;
}
.cert-title {
  font-size: 1.09rem;
  font-weight: 700;
  color: #4e54c8;
}
.cert-issuer {
  font-size: .96rem;
  color: #7d7fa6;
  margin-top: 2px;
}
.trailblazer-link {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.trailblazer-link a {
  display: flex;
  align-items: center;
  background: #f6fafc;
  border-radius: 14px;
  box-shadow: 0 1px 8px #c3caee44;
  padding: 13px 23px;
  color: #4e54c8;
  font-weight: 700;
  text-decoration: none;
  gap: 13px;
  transition: background .15s, box-shadow .15s;
  font-size: 1.08rem;
}
.trailblazer-link a:hover {
  background: #e7eaff;
  box-shadow: 0 2px 18px #8f94fb1a;
}
.trail-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
}
@media (max-width: 800px) {
  .cert-grid { flex-direction: column; align-items: center; }
  .cert-card { width: 100%; max-width: 370px; }
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
}

.contact-banner {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #e7eaff 60%, #f6fafc 100%);
  border-radius: 30px;
  box-shadow: 0 8px 32px #bfc3ee1a;
  padding: 36px 36px 36px 22px;
  margin-top: 18px;
  max-width: 650px;
  width: 100%;
  gap: 28px;
  position: relative;
}

.contact-profile {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 4px solid #fff;
  box-shadow: 0 2px 18px #c1c6e5;
  background: #f9f9ff;
  flex-shrink: 0;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.12rem;
  color: #232336;
  background: rgba(255,255,255,0.94);
  border-radius: 9px;
  padding: 12px 16px;
  box-shadow: 0 2px 14px #8f94fb13;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f6fafc;
  border-radius: 10px;
  width: 40px;
  height: 40px;
  box-shadow: 0 2px 8px #d5d6f144;
}
.contact-row a {
  color: #4e54c8;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.16s;
}
.contact-row a:hover {
  color: #8f94fb;
  text-decoration: underline;
}
.contact-row b {
  min-width: 80px;
  display: inline-block;
}
@media (max-width: 750px) {
  .contact-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 8px 30px 8px;
    gap: 18px;
  }
  .contact-profile { margin-bottom: 8px; }
}

footer {
  text-align: center;
  color: #8f94fb;
  font-size: 1rem;
  padding: 2rem 0 1rem 0;
  letter-spacing: 0.8px;
  background: transparent;
  flex-shrink: 0;
  margin-top: auto;
}
@media (max-width: 1080px) {
  .hero-section, .work-section, .about-section, .contact-section { margin-left: 0; margin-right: 0;}
}
@media (max-width: 900px) {
  .hero-flex { flex-direction: column; align-items: flex-start; }
  .hero-illustration { justify-content: flex-start; }
  .avatar-bg { margin-top: 22px; }
  .work-list { flex-direction: column; }
}
@media (max-width: 650px) {
  .main-nav, .hero-section, .work-section, .about-section, .contact-section { padding-left: 6px; padding-right: 6px; }
  h1, .name-accent { font-size: 2.08rem; }
  .avatar-bg { width: 145px; height: 158px; }
  .avatar-bg img { width: 90px; height: 105px; }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(34px);}
  to   { opacity: 1; transform: none;}
}
