/* RESET */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
  }

  button {
    font-family: inherit;
  }
  
  /* GLOBAL CONTAINER */
  .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* BACKGROUND */
  .page-bg {
    width: 100%;
    background-image: url('assets/bg.svg');
  
    background-size: 100% auto;   /* 👈 key change */
    background-repeat: repeat-y;  /* 👈 vertical repeat */
    background-position: top center;
    background-attachment: fixed;
  }
  
  /* NAVBAR */
  .top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 999;
    padding: 20px 0;
  }

  .top-nav::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:120px;
    
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(28px);
    
    /* gradient fade */
    mask-image:linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,0.7) 40%,
    rgba(0,0,0,0.3) 70%,
    rgba(0,0,0,0) 100%
    );
    
    pointer-events:none;
    z-index:-1;
    }

    .top-nav.scrolled::before,
.nav-links.open ~ .top-nav::before {
  opacity: 1;
}
  
  .nav-inner {
    width: 100%;
    height: 72px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo img {
    height: 48px;
  }
  
  /* Links */

  .nav-links {
    display: flex;
    gap: 64px;
    font-weight: 600;
    list-style: none;
  }
  
  .nav-links li {
    color: #969696;
    cursor: pointer;
    font-weight: 600;
  }
  
  .nav-links li.active {
    font-weight: 600;
    color: #000;
    position: relative;
  }

  .nav-links li.active::after {
    content: "";
    width: 100%;
    height: 3px;
    background: #39DAFF;
    position: absolute;
    bottom: -8px;
    left: 0;
  }

  .nav-links a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
  }

  
  /* HERO */
  .hero {
    padding-top: 212px;
    padding-bottom: 80px;
  }
  
  .hero-container {
    max-width: 100%;
  }
  
  .hero-text {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .fade-step {
    opacity: 0.20;
    transition: opacity 0.4s ease;
  }
  
  .fade-step.active {
    opacity: 1;
  }
  
  /* IMAGE */
  .about-image {
    width: 100%;
    height: 420px;
    margin-top: 120px;
  
    overflow: hidden;
    border-radius: 20px;
  }
  
  .about-image img {
    width: 100%;
    will-change: transform;
  }
  
  /* ABOUT */
  .about-section {
    padding: 40px 0 120px;
  }
  
  .about-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    align-items: start;
  }
  
  /* LEFT NAV */
  .about-nav {
    position: sticky;
    top: 160px;
  
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  
  .tab {
    border: none;
    background: none;
    text-align: left;
    font-size: 18px;
    color: #8a8a8a;
    cursor: pointer;
  }
  
  .tab.active {
    color: #000;
    font-size: 18px;
    font-weight: 700;
  }
  
  /* RIGHT CONTENT */
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .about-block{
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06)
    }
  
  .about-block h3 {
    font-size: 28px;
    margin-bottom: 16px;
  }
  
  .about-block p {
    line-height: 1.6;
  }

  .about-block a:not(.social-item):not(.intro-btn) {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: inherit;
    display: inline-block;
    font-weight: 600;
  }

  /* INTRO BUTTONS */
.intro-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
  }
  
  .intro-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-family: inherit;
  }
  
  .intro-btn.filled {
    background: #111;
    color: #fff;
  }
  
  .intro-btn.filled:hover {
    background: #39DAFF;
  }
  
  .intro-btn.outline {
    background: transparent;
    color: #111;
    border: 2px solid #111;
  }
  
  .intro-btn.outline:hover {
        background: #39DAFF;
        color: #fff;
        border: 2px solid #39DAFF;
      }

  /* TIMELINE SECTION */
.timeline-section {
    margin-top: 80px;
  }
  
  .timeline-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  /* TIMELINE CONTAINER */
  .timeline {
    position: relative;
    padding-left: 40px;
  }
  
  /* VERTICAL LINE */
  .timeline::before {
    content: '';
    position: absolute;
    opacity: 0.5;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #969696; /* teal */
    opacity: 0.8;
  }
  
  /* ITEM */
  .timeline-item {
    position: relative;
    margin-bottom: 36px;
  }
  
  /* DOT */
  .timeline-dot {
    position: absolute;
    left: -32px;
    top: 0px;
  
    width: 14px;
    height: 14px;
    background: #0ea5a4;
    border:4px solid #ffffff;
    border-radius: 50%;
  }

  .timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    background-color: #39DAFF;
  }
  
  .timeline-dot {
    transition: transform 0.2s ease;
  }
  
  /* CONTENT */
  .timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .timeline-content span {
    font-weight: 600;
  }
  
  .timeline-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
  }

  .timeline-content {
    max-width: 520px;
  }
  
  /* CHIPS */
  .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    text-transform: capitalize;
  }
  
  .chips span {
    background: #ffffff;
    border:1px solid #cecece;
    padding: 6px 10px;
    border-radius: 20px;
  }

  /* TOOLS SECTION */
.tools-section {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 40px;
    margin-top: 32px;
  }
  
  /* EACH TOOL */
  .tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    transition: transform 0.2s ease;
    opacity: 0.85;
  }
  
  .tool:hover {
    transform: translateY(-4px);
    opacity: 1;
  }
  
  /* ICON */
  .tool img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(10%);
  }
  
  /* LABEL */
  .tool span {
    font-size: 14px;
    color: #444;
  }

  /* SOCIAL LINKS — Find me online */
.social-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 8px;
  }
  
  .social-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        font-weight: 400;
        text-decoration: none;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s ease;
  }
  
  .social-item:hover {
    background: #f5f5f5;
  }
  
  .social-item img {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .social-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  
  .social-url {
    font-size: 13px;
    color: #999;
    margin: 0 0 2px;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
  
  .social-handle {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
  }

  /* FOOTER */
.footer {
    padding: 80px 0 40px;
  }
  
  /* TOP SECTION */
  .footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  /* LEFT */
  .footer-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  
  .footer-logo {
    width: 80px;
  }
  
  .footer-name {
    width: 160px;
  }
  
  /* RIGHT */
  .footer-right {
    display: flex;
    gap: 80px;
  }
  
  .footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
  }
  
  .footer-col h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .footer-col a {
    text-decoration: none;
    color: #555;
    font-size: 15px;
    transition: color 0.2s ease;
  }
  
  .footer-col a:hover {
    color: #000;
  }
  
  /* DIVIDER */
  .footer-divider {
    height: 1px;
    background: #000;
    opacity: 0.2;
    margin: 40px auto;
  }
  
  /* BOTTOM */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-bottom p {
    font-size: 14px;
    color: #555;
  }
  
  /* ICONS */
  .footer-icons {
    display: flex;
    gap: 16px;
  }
  
  .footer-icons img {
    width: 28px;
    height: 28px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  
  .footer-icons img:hover {
    transform: translateY(-2px);
  }

  /* DESIGN PAGE ---------------------------------------------------------> */

  /* HERO */
.design-hero {
    padding: 140px 0 80px;
  }
  
  .hero-title {
    font-size: 96px;
    font-weight: 600;
    line-height: 0.1;
  }

  .silent{
    color: #ffffff;
    text-shadow: 4px 4px 8px #B4E0E3;
  }
  
  .hero-subtext {
    max-width: 520px;
    font-size: 20px;
    color: #555;
    line-height: 1.6;
  }
  
  
  /* PRINCIPLES */
  .design-principles {
    margin-top: 80px;
  }
  
  .design-principles h2 {
    margin-bottom: 32px;
  }
  
  .principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  
  .principle-card {
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }
  
  .principle-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
  }
  
  .principle-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
  }

  .principle-card img {
    width: 56px;
  }
  
  
  /* CASE STUDIES */
  .case-studies {
    margin-top: 100px;
  }
  
  .case-subtext {
    margin-top: 8px;
    color: #666;
  }
  
  .case-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 80px;
  }
  
  /* ITEM */
  .case-item {
    display: flex;
    align-items: center;
    gap: 48px;
    cursor: pointer;
  }
  
  .case-item.reverse {
    flex-direction: row-reverse;
  }

  .case-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .case-link:hover .case-item {
    transform: translateY(-4px);
    transition: 0.5s ease;
  }
  
  /* IMAGE */
  .case-image {
    width: 50%;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    background: #eee;
  
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .case-item:hover .case-image img {
    transform: scale(1.05);
  }
  
  /* CONTENT */
  .case-content {
    width: 50%;
  }
  
  .case-tag {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
  }
  
  .case-content h3 {
    margin: 8px 0;
    font-size: 20px;
  }
  
  .case-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
  }
  
  .case-content a {
    display: inline-block;
    margin-top: 12px;
    text-decoration: none;
    font-weight: 500;
    color: #000;
  }

  .case-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 2px solid #111;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    transition: all 0.2s ease;
  }
  
  .case-link:hover .case-cta {
    background: #111;
    color: #fff;
  }

  /* VISUAL DESIGN SECTION */
  .visual-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start; /* ← this stops the button from stretching */
  }

.visual-design h2 {
  margin-bottom: 8px;
}

.visual-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.visual-card {
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 2px 2px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.visual-image {
  width: 100%;
  overflow: hidden;
  background: #eee;
}

.visual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.visual-card:hover .visual-image img {
  transform: scale(1.04);
}

.visual-card:hover .case-cta {
  background: #111;
  color: #fff;
}

.visual-card:hover .case-cta svg path {
  stroke: #fff;
}

.visual-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* ART PAGE ---------------------------------------------------------> */

  /* HERO */

  .freedom {
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 1;
  
    
    -webkit-text-fill-color: #00C2FF;
  
    text-shadow: none;
    filter: none;
  
    display: inline-block;
    animation: breatheSpacing 3s ease-in-out infinite;
  }
  
  @keyframes breatheSpacing {
    0% {
      letter-spacing: 0em;
      transform: scale(1);
    }
    40% {
      letter-spacing: 0.2em;
      transform: scale(1.02);
    }
    60% {
      letter-spacing: 0.2em;
      transform: scale(1.02);
    }
    100% {
      letter-spacing: 0em;
      transform: scale(1);
    }
  }

/* ART WORKS */

  .art-grid {
    column-count: 3;
    column-gap: 18px;
  }
  
  .art-item {
    break-inside: avoid;
    margin-bottom: 36px;
  }
  
  .art-item img {
    width: 100%;
    height: auto;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    display: block;
  }
  
  .art-title {
    display: none
    /*font-size: 14px;
    margin-top: 8px;
    color: #555;*/
  }

  /* OVERLAY */
.art-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
  
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  
  /* ACTIVE STATE */
  .art-overlay.active {
    opacity: 1;
    pointer-events: all;
  }
  
  /* PREVIEW CONTAINER */
  .art-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  /* IMAGE */
  .art-preview img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
  }
  
  /* CLOSE BUTTON */
  .art-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
  
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .art-preview img {
    transform: scale(0.95);
    transition: transform 0.25s ease;
  }
  
  .art-overlay.active .art-preview img {
    transform: scale(1);
  }

  /* DEFAULT (landscape / normal) */
.art-preview img {
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    max-height: 80vh;
  }

  .art-preview {
    padding: 20px;
  }
  
  /* DESKTOP */
  @media (min-width: 768px) {
    .art-preview img {
      width: 70%;
      height: auto;
    }
  
    /* PORTRAIT FIX */
    .art-preview img.portrait {
      width: auto;
      height: 70vh; /* 👈 key fix */
      max-width: 100%;
    }
  }

  .art-overlay {
    transition: opacity 0.25s ease;
  }


  /* RESUME SECTION */
.resume-card {
  margin-top: 8px;
}

.resume-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: block;
}

.resume-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.resume-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  font-size: 14px;
  padding: 10px 20px;
}

.resume-cta:hover {
  background: #39DAFF !important;
  box-shadow: 0 6px 24px rgba(57,218,255,0.35);
}

/* CONTACT PAGE ---------------------------------------------------------> */

  .contact-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 120px 20px;
  }
  
  /* HERO */
  
  .highlight {
    font-weight: 600;
    letter-spacing: -12px;
    opacity: 1;
  
    
    -webkit-text-fill-color: #00C2FF;
  
    text-shadow: none;
    filter: none;
  
    display: inline-block;
  }
  
  /* CARDS */
  .contact-cards {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  
  .contact-card {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 2px 2px 12px rgba(0,0,0,0.1);
  }
  
  .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  }
  
  /* TEXT */

  .label {
    font-size: 16px;
    color: #8a8a8a;
    line-height: 0.6;
  }
  
  .value {
    font-size: 20px;
    font-weight: 600;
    line-height: 0.6;
  }
  
  /* LINKEDIN CARD */
  .linkedin {
    grid-column: span 2;
    justify-content: space-between;
  }
  
  .profile {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .profile img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
  }
  
  /* BUTTON */
  .btn {
    background: #2D7EF7;
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
  }
  
  /* ── PHONE ACTION POPUP ──────────────────────────────── */

/* Backdrop */
.phone-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.phone-backdrop.open {
  display: block;
  opacity: 1;
}

/* Popup — desktop: centered modal */
.phone-popup {
  position: fixed;
  z-index: 1051;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 56px rgba(0,0,0,0.18);
  width: 360px;

  /* centered */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%) scale(0.96);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34,1.4,0.64,1);
}

.phone-popup.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: all;
}

/* Each action row */
.phone-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 24px;
  border: none;
  background: none;
  width: 100%;
  font-family: inherit;
  font-size: 17px;
  font-weight: 500;
  color: #111;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
  border-bottom: 1px solid #f0f0f0;
}

.phone-action:first-child {
  border-radius: 20px 20px 0 0;
}

.phone-action:last-child {
  border-bottom: none;
  border-radius: 0 0 20px 20px;
}

.phone-action:hover {
  background: #f7f7f7;
}

.phone-action img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Close button — sits below popup, centered */
.phone-popup-close {
  position: fixed;
  z-index: 1052;
  left: 50%;
  transform: translateX(-50%);

  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.phone-popup-close.open {
  opacity: 1;
  pointer-events: all;
}

.phone-popup-close svg {
  width: 16px;
  height: 16px;
}

/* Copy label states */
.phone-action.copy .copy-label   { display: inline; }
.phone-action.copy .copied-label { display: none; }
.phone-action.copy.copied .copy-label   { display: none; }
.phone-action.copy.copied .copied-label { display: inline; color: #1a8f50; }

  /* SNACKBAR */
  #snackbar {
    visibility: hidden;
    min-width: 200px;
    background: #111;
    color: #fff;
    text-align: center;
    border-radius: 8px;
    padding: 12px;
    position: fixed;
    left: 50%;
    bottom: 40px;
    transform: translateX(-50%);
    z-index: 999;
  }
  
  #snackbar.show {
    visibility: visible;
    animation: fadein 0.3s, fadeout 0.3s 3.2s;
  }
  
  @keyframes fadein {
    from { opacity: 0; bottom: 20px; }
    to { opacity: 1; bottom: 40px; }
  }
  
  @keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
  }