/* =========================================
   GLOBAL STYLES
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: #080808;
    --surface: rgba(255, 255, 255, 0.045);
    --border: rgba(255, 255, 255, 0.15);
    --text: #f5f5f5;
    --muted: #a0a0a0;
    --accent: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================
   NAVBAR ROOT VARIABLES
   ========================================= */
:root {
  --nav-height: 70px;
}

/* =========================================
   BASE NAVBAR CONTAINER
   ========================================= */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 12, 14, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
  transition: background 0.35s ease, border-color 0.35s ease;
  box-sizing: border-box;
}

/* =========================================
   LOGO
   ========================================= */
#Logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

#Logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border: 2px solid #ffffff;
  border-radius: 50%;
  transition: border-color 0.35s ease;
}

#Logo h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #ffffff;
  transition: color 0.35s ease;
}

#Logo h3 b {
  font-weight: 800;
}

/* =========================================
   DESKTOP NAVIGATION
   ========================================= */
#nav-items {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

#nav-items ul {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#nav-items ul li {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.3s ease;
}

#nav-items ul li:hover {
  color: #a0a5b2;
}

#nav-items ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.3s ease, background 0.35s ease;
}

#nav-items ul li:hover::after,
#nav-items ul li.active::after {
  width: 100%;
}

#nav-items ul li.active {
  color: #ffffff;
}

#nav.nav-light-mode #nav-items ul li.active {
  color: #111111;
}

.mobile-nav-items li.active a {
  display: inline-block;
  width: fit-content;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

#nav-items ul li a,
.mobile-nav-items li a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================================
   NAV ACTIONS (CONTACT BUTTON & HAMBURGER)
   ========================================= */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border: none;
  border-radius: 30px;
  background: #ffffff;
  color: #111111;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  text-decoration: none;
}

.nav-contact-btn:hover {
  background: #eaeaea;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

/* Hamburger Squircle Button */
.nav-hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.8px solid #ffffff;
  background: #000000;
  cursor: pointer;
  padding: 0;
  gap: 4.5px;
  transition: transform 0.2s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  flex-shrink: 0;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger-btn:hover {
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.35);
  transform: scale(1.04);
}

.nav-hamburger-btn:active {
  transform: scale(0.96);
}

.nav-hamburger-btn .hamburger-bar {
  display: block;
  width: 18px;
  height: 2.5px;
  border-radius: 999px;
  background-color: #ffffff;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger-btn.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger-btn.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger-btn.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   MOBILE DROPDOWN MENU
   ========================================= */
.mobile-nav-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #080808;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.75);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  visibility: hidden;
  transition: max-height 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s ease;
  z-index: 999;
}

.mobile-nav-menu.is-open {
  max-height: 320px;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav-items {
  list-style: none;
  padding: 22px 24px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-items li {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  padding: 2px 0;
}

.mobile-nav-items li:hover,
.mobile-nav-items li:active {
  color: #a0a0a0;
  transform: translateX(4px);
}

/* =========================================
   NAVBAR DYNAMIC THEMES
   ========================================= */
/* Dark Background Mode */
#nav.nav-dark-mode {
  background: rgba(11, 12, 14, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#nav.nav-dark-mode #Logo img {
  border-color: #ffffff;
}

#nav.nav-dark-mode #Logo h3 {
  color: #ffffff;
}

#nav.nav-dark-mode #nav-items ul li {
  color: #ffffff;
}

#nav.nav-dark-mode #nav-items ul li:hover {
  color: #a0a5b2;
}

#nav.nav-dark-mode #nav-items ul li::after {
  background: #ffffff;
}

#nav.nav-dark-mode .nav-contact-btn {
  background: #ffffff;
  color: #111111;
}

#nav.nav-dark-mode .nav-contact-btn:hover {
  background: #e2e4e9;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15);
}

#nav.nav-dark-mode .nav-hamburger-btn {
  background: #000000;
  border: 1.8px solid #ffffff;
}

#nav.nav-dark-mode .nav-hamburger-btn .hamburger-bar {
  background-color: #ffffff;
}

#nav.nav-dark-mode .mobile-nav-menu {
  background: #0b0c0e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
}

#nav.nav-dark-mode .mobile-nav-items li {
  color: #f5f5f5;
}

/* Light Background Mode */
#nav.nav-light-mode {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

#nav.nav-light-mode #Logo img {
  border-color: #111111;
}

#nav.nav-light-mode #Logo h3 {
  color: #111111;
}

#nav.nav-light-mode #nav-items ul li {
  color: #111111;
}

#nav.nav-light-mode #nav-items ul li:hover {
  color: #666666;
}

#nav.nav-light-mode #nav-items ul li::after {
  background: #111111;
}

#nav.nav-light-mode .nav-contact-btn {
  background: #111111;
  color: #ffffff;
}

#nav.nav-light-mode .nav-contact-btn:hover {
  background: #2a2b2f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

#nav.nav-light-mode .nav-hamburger-btn {
  background: #ffffff;
  border: 1.8px solid #111111;
}

#nav.nav-light-mode .nav-hamburger-btn .hamburger-bar {
  background-color: #111111;
}

#nav.nav-light-mode .mobile-nav-menu {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

#nav.nav-light-mode .mobile-nav-items li {
  color: #111111;
}

#nav.nav-light-mode .mobile-nav-items li:hover,
#nav.nav-light-mode .mobile-nav-items li:active {
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
}

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */
/* Tablets & Smaller (<= 1024px) */
@media (max-width: 1024px) {
  #nav-items {
    display: none;
  }

  .nav-hamburger-btn {
    display: flex;
  }

  .navle-text {
    display: none;
  }

  #nav {
    height: 64px;
    --nav-height: 64px;
    padding: 0 24px;
  }

  #Logo img {
    width: 38px;
    height: 38px;
  }

  #Logo h3 {
    font-size: 17px;
  }
}

/* Mobile Phones (<= 600px) */
@media (max-width: 600px) {
  #nav {
    height: 60px;
    --nav-height: 60px;
    padding: 0 16px;
  }

  #Logo img {
    width: 34px;
    height: 34px;
  }

  #Logo h3 {
    font-size: 15.5px;
  }

  .nav-right {
    gap: 8px;
  }

  .nav-right .nav-contact-btn {
    padding: 7px 14px;
    font-size: 12px;
    display: inline-flex;
  }
}

/* Very Small Mobile Screens (<= 380px) */
@media (max-width: 380px) {
  #nav {
    padding: 0 12px;
  }

  #Logo {
    gap: 8px;
  }

  #Logo img {
    width: 30px;
    height: 30px;
  }

  #Logo h3 {
    font-size: 13.5px;
  }

  .nav-right {
    gap: 6px;
  }

  .nav-right .nav-contact-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
}


/* =========================================
   BACKGROUND EFFECTS
========================================= */

.image-gradient {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.14;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}

.layer-blur {
    position: fixed;
    top: 15%;
    right: -180px;
    z-index: 0;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(120, 120, 140, 0.16) 0%, rgba(90, 90, 110, 0.06) 45%, transparent 70%);
    pointer-events: none;
    transform: translateZ(0);
}


/* =========================================
   MAIN LAYOUT
========================================= */

.container {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow: hidden;
}

.contact-section {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);
    align-items: start;
    row-gap: clamp(32px, 4.5vw, 60px);
    column-gap: clamp(35px, 6vw, 90px);

    width: 100%;
    max-width: 1600px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 125px clamp(24px, 6vw, 100px) 70px;
}

.dark-section {
    color: #f5f5f5;
    background: #080808;
}

.light-section {
    color: #111;
    background: #f7f7f7;
}


/* =========================================
   TOP CONTACT HEADING BANNER
========================================= */

.contact-top-header {
    grid-column: 1 / -1;
    width: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.top-header-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.top-header-meta .section-label {
    margin-bottom: 0;
}

.top-header-meta .meta-tag {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: 0.65;
}

.contact-outline-title {
    font-family: "Inter", sans-serif;
    font-size: clamp(42px, 6vw, 88px);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    column-gap: clamp(16px, 2.4vw, 36px);
    row-gap: 8px;
    user-select: none;
    text-align: center;
}

.contact-outline-title .outline-word {
    display: inline-block;
    color: transparent;
    -webkit-text-stroke: clamp(1.4px, 0.16vw, 2px) #ffffff;
    letter-spacing: clamp(-5px, -0.06em, -2px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                text-shadow 0.35s ease,
                color 0.35s ease;
    cursor: default;
}

.contact-outline-title .outline-word:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 35px rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.05);
}


/* =========================================
   LEFT CONTACT CONTENT
========================================= */

.contact-content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 26px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}

.section-label::after {
    width: 55px;
    height: 1px;
    content: "";
    background: currentColor;
}

.contact-content h1,
.contact-content h2 {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -3px;
    overflow-wrap: anywhere;
}

.contact-content h1 span,
.contact-content h2 span {
    color: transparent;
    -webkit-text-stroke: 1px #f5f5f5;
}

.intro-text {
    max-width: 430px;
    margin-top: 24px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.9;
}

.reach-out {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding: 10px 17px 10px 10px;
    border: 1px solid var(--border);
    border-radius: 30px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background-color 0.25s ease;
}

.reach-out:hover {
    background: rgba(255, 255, 255, 0.1);
}

.reach-out span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: #111;
    font-size: 16px;
}

.info-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 42px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.info-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 50%;
    font-size: 17px;
}

.info-item h3 {
    margin-bottom: 6px;
    font-size: 10px;
    letter-spacing: 1.5px;
}

.info-item small {
    color: #aaa;
    font-size: 11px;
    overflow-wrap: anywhere;
}


/* =========================================
   CONTACT FORM
========================================= */

.contact-main {
    position: relative;
    z-index: 3;
    min-width: 0;
    width: 100%;
}

.contact-form-container {
    width: 100%;
    max-width: 620px;
    margin-left: auto;
    padding: clamp(24px, 3vw, 42px);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(18, 18, 18, 0.86);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
}

.form-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 32px;
}

.form-heading h2 {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.form-heading span {
    color: #888;
    font-size: 14px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.input-group {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 22px;
}

.input-group label {
    margin-bottom: 10px;
    color: #c6c6c6;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    min-width: 0;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 9px;
    outline: none;
    background: rgba(255, 255, 255, 0.035);
    color: #fff;
    font-size: 13px;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.input-group input {
    min-height: 49px;
}

.input-group textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.7;
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #777;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
}

.send-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    padding: 17px 20px;
    border: 1px solid #fff;
    border-radius: 9px;
    background: #fff;
    color: #111;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    position: relative;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.send-btn .btn-icon {
    font-size: 20px;
    transition: transform 0.25s ease;
}

.send-btn:hover:not(:disabled) {
    background: transparent;
    color: #fff;
}

.send-btn:hover:not(:disabled) .btn-icon {
    transform: translateX(4px);
}

.send-btn:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    background: #e2e2e2;
    color: #444;
}

/* Spinner */
.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-top-color: #111;
    border-radius: 50%;
    animation: btn-spin 0.7s linear infinite;
}

.send-btn.is-loading .btn-spinner {
    display: inline-block;
}

.send-btn.is-loading .btn-icon {
    display: none;
}

@keyframes btn-spin {
    to { transform: rotate(360deg); }
}

/* Error Banner */
.form-error-banner {
    display: none;
    margin-top: 18px;
    padding: 16px;
    border-radius: 10px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    font-size: 12.5px;
    line-height: 1.6;
}

.form-error-banner.show {
    display: block;
    animation: fadeInDashboard 0.3s ease forwards;
}

.form-error-banner .error-title {
    font-weight: 700;
    color: #f87171;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-error-actions {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.direct-email-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.direct-email-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* =========================================
   SUCCESS DASHBOARD CARD
========================================= */
.success-dashboard-card {
    text-align: center;
    padding: 16px 8px 8px;
    animation: fadeInDashboard 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInDashboard {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.1);
    border: 1.5px solid rgba(74, 222, 128, 0.35);
    box-shadow: 0 0 35px rgba(74, 222, 128, 0.22);
}

.success-checkmark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: block;
    stroke-width: 2.5;
    stroke: #4ade80;
    stroke-miterlimit: 10;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2.5;
    stroke: #4ade80;
    fill: none;
    animation: strokeCircle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: strokeCheck 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

@keyframes strokeCircle {
    100% { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
    100% { stroke-dashoffset: 0; }
}

.success-dashboard-card h3 {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    margin: 0 0 10px;
}

.success-lead {
    font-size: 13.5px;
    line-height: 1.7;
    color: #c0c0c0;
    max-width: 480px;
    margin: 0 auto 22px;
}

.success-lead strong {
    color: #ffffff;
}

.highlight-email {
    color: #4ade80;
    font-weight: 600;
    word-break: break-all;
}

.success-summary-box {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    flex-wrap: wrap;
}

.summary-label {
    color: #888888;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.summary-val {
    color: #f0f0f0;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

.summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px #4ade80;
}

.success-note {
    font-size: 12px;
    color: #999999;
    line-height: 1.6;
    margin-bottom: 22px;
}

.send-another-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.send-another-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.demo-mode-badge {
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 8px;
    background: rgba(255, 193, 7, 0.08);
    border: 1px dashed rgba(255, 193, 7, 0.35);
    color: #fcd34d;
    font-size: 11px;
    line-height: 1.6;
    text-align: left;
}

.demo-mode-badge code {
    background: rgba(0, 0, 0, 0.4);
    padding: 2px 5px;
    border-radius: 4px;
    color: #fff;
}


/* =========================================
   SPLINE ROBOT
========================================= */

.robot-3d {
    position: absolute;
    right: -10%;
    bottom: -8%;
    z-index: 1;
    width: min(48vw, 650px);
    height: min(75vh, 750px);
    opacity: 0.28;
    pointer-events: none;
    transform: translateZ(0);
    will-change: transform;
}


/* =========================================
   TABLETS AND SMALL LAPTOPS
========================================= */

@media (max-width: 1024px) {
    .contact-section {
        gap: 30px;
        padding: 125px 35px 55px;
    }

    .contact-outline-title {
        font-size: clamp(36px, 5.5vw, 68px);
    }

    .contact-content h1,
    .contact-content h2 {
        font-size: clamp(32px, 4.5vw, 48px);
        letter-spacing: -2px;
    }

    .info-list {
        gap: 18px;
    }

    .info-item small {
        font-size: 10px;
    }

    .robot-3d {
        right: -14%;
        opacity: 0.2;
    }
}


/* =========================================
   MOBILE NAVIGATION AND LAYOUT
========================================= */

@media (max-width: 700px) {

    .contact-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        min-height: 100vh;
        padding: 145px 20px 45px;
    }

    .contact-top-header {
        margin-bottom: 0;
    }

    .contact-outline-title {
        font-size: clamp(28px, 9vw, 48px);
        column-gap: 12px;
    }

    .contact-outline-title .outline-word {
        letter-spacing: -0.05em;
        -webkit-text-stroke-width: 1.5px;
    }

    .contact-content {
        text-align: left;
    }

    .contact-content h1,
    .contact-content h2 {
        font-size: clamp(32px, 7.5vw, 48px);
        letter-spacing: -1.5px;
    }

    .intro-text {
        max-width: 520px;
        font-size: 13px;
    }

    .info-list {
        gap: 20px;
        margin-top: 28px;
    }

    .info-icon {
        width: 36px;
        height: 36px;
    }

    .contact-form-container {
        max-width: none;
        padding: 24px;
        border-radius: 15px;
    }

    .form-heading {
        margin-bottom: 25px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .input-group {
        margin-bottom: 18px;
    }

    .robot-3d {
        top: 110px;
        right: -25%;
        bottom: auto;
        width: 70vw;
        height: 450px;
        opacity: 0.13;
    }
}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .contact-section {
        padding: 145px 14px 35px;
    }

    .contact-content h1 {
        font-size: clamp(30px, 8vw, 38px);
    }

    .info-list {
        flex-direction: column;
        gap: 17px;
    }

    .contact-form-container {
        padding: 18px;
    }

    .input-group input,
    .input-group textarea {
        padding: 12px;
        font-size: 12px;
    }

    .robot-3d {
        right: -35%;
        width: 85vw;
        opacity: 0.1;
    }
}


/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =========================================
   EDITORIAL PROFILE SHOWCASE
   (Interests, Values, Soft Skills)
========================================= */

:root {
    --editorial-bg: #f7f6f2;
    --editorial-card-bg: #ffffff;
    --editorial-border: #e6e4dc;
    --editorial-border-hover: #dcdad0;
    --editorial-text-heading: #171715;
    --editorial-text-italic: #44433e;
    --editorial-text-body: #5f5e58;
    --editorial-meta: #8c8a82;
    --editorial-divider: #e4e2da;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-sans: "Inter", "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-handwriting: "Caveat", "Reenie Beanie", cursive, sans-serif;
}

#profile-showcase.profile-showcase-section {
    position: relative;
    width: 100%;
    background-color: var(--editorial-bg);
    color: var(--editorial-text-heading);
    padding: 60px 36px 70px;
    border-top: 1px solid var(--editorial-divider);
    border-bottom: 1px solid var(--editorial-divider);
    isolation: isolate;
    box-sizing: border-box;
    contain: content;
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* --- Display Headings & Paragraphs --- */
.editorial-display-heading {
    font-family: var(--font-serif);
    font-size: clamp(38px, 4.4vw, 54px);
    font-weight: 700;
    color: var(--editorial-text-heading);
    line-height: 1.05;
    letter-spacing: -1.2px;
    margin: 0 0 16px 0;
}

.editorial-display-heading.center-heading {
    text-align: center;
    margin-bottom: 14px;
}

.serif-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    color: var(--editorial-text-italic);
}

.editorial-body-text {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.65;
    color: var(--editorial-text-body);
    margin: 0 0 24px 0;
    max-width: 330px;
}

.editorial-accent-bar {
    width: 44px;
    height: 2px;
    background-color: var(--editorial-text-heading);
}

.editorial-section-separator {
    width: 100%;
    height: 1px;
    background-color: var(--editorial-divider);
    margin: 0;
}

/* =========================================
   SECTION 01: PERSONAL INTERESTS (CORKBOARD)
========================================= */
.interests-grid-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 46px;
    align-items: flex-start;
}

.interests-text-col {
    position: sticky;
    top: 100px;
}

.corkboard-wrapper {
    position: relative;
    width: 100%;
}

.corkboard-frame {
    position: relative;
    background: linear-gradient(135deg, #a57548 0%, #7d4d25 35%, #59351a 70%, #885931 100%);
    padding: 14px;
    border-radius: 8px;
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.28),
        0 8px 18px rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -2px 3px rgba(0, 0, 0, 0.55);
}

.corkboard-surface {
    position: relative;
    background: #c29964 url('../photos/interests/cork.jpg') center / 280px repeat;
    border-radius: 4px;
    padding: 22px 18px 24px;
    box-shadow: inset 0 3px 12px rgba(0, 0, 0, 0.45);
    overflow: visible;
}

.corkboard-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
    position: relative;
    z-index: 2;
}

/* --- Polaroid Card --- */
.polaroid-card {
    position: relative;
    transform: translateZ(0) rotate(var(--rot, 0deg));
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
    cursor: pointer;
    z-index: 2;
}

.polaroid-card:hover {
    transform: translateZ(0) scale(1.12) rotate(0deg) !important;
    z-index: 25;
}

.polaroid-frame {
    background: #ffffff;
    padding: 7px 7px 16px 7px;
    border-radius: 2px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.22),
        0 1px 3px rgba(0, 0, 0, 0.14);
    transition: box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.polaroid-card:hover .polaroid-frame {
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.14);
}

.polaroid-img-box {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 1px;
    background: #1a1a1a;
}

.polaroid-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.polaroid-card:hover .polaroid-img-box img {
    transform: scale(1.05);
}

.polaroid-caption {
    margin-top: 8px;
    margin-bottom: 0;
    font-family: var(--font-handwriting);
    font-size: 16px;
    font-weight: 600;
    color: #2b2926;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.2px;
    user-select: none;
}

/* --- Push Pin --- */
.push-pin {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffffff 0%, #dedede 40%, #999999 80%, #555555 100%);
    box-shadow:
        0 3px 5px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
    z-index: 10;
}

.push-pin::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 4px;
    background: #333333;
    border-radius: 1px;
    z-index: -1;
}

/* --- Washi Tape Accents --- */
.washi-tape {
    position: absolute;
    width: 36px;
    height: 13px;
    background: rgba(255, 255, 255, 0.72);
    border: 0.5px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    z-index: 6;
}

.tape-tl {
    top: -4px;
    left: -7px;
    transform: rotate(-35deg);
}

.tape-br {
    bottom: -4px;
    right: -7px;
    transform: rotate(-30deg);
}

/* --- Torn Note Paper (Item 12) --- */
.note-paper-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.note-paper-wrap {
    width: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.22));
    transition: filter 0.35s ease;
}

.note-paper-wrap img {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

.note-paper-item:hover .note-paper-wrap {
    filter: drop-shadow(0 18px 36px rgba(0, 0, 0, 0.3));
}

/* --- Draped Leaf Sprig --- */
.corkboard-leaf-sprig {
    position: absolute;
    bottom: -18px;
    right: -26px;
    width: 145px;
    pointer-events: none;
    z-index: 25;
    mix-blend-mode: multiply;
    transform: rotate(8deg);
    filter: drop-shadow(4px 10px 14px rgba(0, 0, 0, 0.28));
}

.corkboard-leaf-sprig img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   SECTION 02: WHAT I VALUE
========================================= */
.editorial-center-header {
    text-align: center;
    max-width: 660px;
    margin: 0 auto 28px;
}

.editorial-center-subtext {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.65;
    color: var(--editorial-text-body);
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-card {
    background: var(--editorial-card-bg);
    border: 1px solid var(--editorial-border);
    border-radius: 14px;
    padding: 26px 22px 24px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.07);
    border-color: var(--editorial-border-hover);
}

.value-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.value-icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #f7f6f1;
    border: 1px solid #eae8e1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--editorial-text-heading);
    transition: background 0.3s ease, transform 0.3s ease;
}

.value-card:hover .value-icon-badge {
    background: #ece9de;
    transform: scale(1.06);
}

.card-index {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    color: var(--editorial-meta);
    letter-spacing: 0.8px;
}

.value-card-title {
    font-family: var(--font-sans);
    font-size: 18px;
    font-weight: 700;
    color: var(--editorial-text-heading);
    margin: 0 0 12px 0;
    letter-spacing: -0.3px;
}

.value-card-description {
    font-family: var(--font-sans);
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--editorial-text-body);
    margin: 0 0 auto 0;
}

.card-bottom-line {
    width: 30px;
    height: 2px;
    background-color: var(--editorial-text-heading);
    margin-top: 24px;
    transition: width 0.3s ease;
}

.value-card:hover .card-bottom-line {
    width: 46px;
}

/* =========================================
   SECTION 03: OTHER IMPORTANT SKILLS
========================================= */
.soft-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.soft-skill-card {
    background: var(--editorial-card-bg);
    border: 1px solid var(--editorial-border);
    border-radius: 14px;
    padding: 24px 22px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.soft-skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.07);
    border-color: var(--editorial-border-hover);
}

.soft-skill-icon-wrap {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--editorial-text-heading);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    transition: transform 0.3s ease;
}

.soft-skill-card:hover .soft-skill-icon-wrap {
    transform: scale(1.08);
}

.soft-skill-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.soft-skill-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 8px;
}

.soft-skill-title {
    font-family: var(--font-sans);
    font-size: 16.5px;
    font-weight: 700;
    color: var(--editorial-text-heading);
    margin: 0;
    letter-spacing: -0.2px;
}

.soft-skill-description {
    font-family: var(--font-sans);
    font-size: 13px;
    line-height: 1.6;
    color: var(--editorial-text-body);
    margin: 0;
}

.soft-skill-card .card-bottom-line {
    width: 28px;
    height: 2px;
    background-color: var(--editorial-text-heading);
    margin-top: 18px;
    transition: width 0.3s ease;
}

.soft-skill-card:hover .card-bottom-line {
    width: 44px;
}

/* =========================================
   EDITORIAL SHOWCASE RESPONSIVE STYLES
========================================= */
@media (max-width: 1140px) {
    .interests-grid-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .interests-text-col {
        position: static;
        max-width: 600px;
    }

    .editorial-body-text {
        max-width: 100%;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .soft-skills-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 820px) {
    #profile-showcase.profile-showcase-section {
        padding: 48px 18px 56px;
    }

    .showcase-container {
        gap: 20px;
    }

    .corkboard-items-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 10px;
    }

    .corkboard-frame {
        padding: 10px;
    }

    .corkboard-surface {
        padding: 16px 12px 18px;
    }

    .polaroid-frame {
        padding: 5px 5px 12px 5px;
    }

    .polaroid-caption {
        font-size: 14px;
        margin-top: 6px;
    }

    .corkboard-leaf-sprig {
        width: 120px;
        bottom: -20px;
        right: -20px;
    }

    .soft-skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    #profile-showcase.profile-showcase-section {
        padding: 38px 14px 44px;
    }

    .showcase-container {
        gap: 16px;
    }

    .corkboard-items-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px 10px;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .corkboard-leaf-sprig {
        display: none;
    }
}

/* =========================================
   FOOTER BASE
========================================= */

#portfolio-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f1f1f1;
    color: #111;
    font-family: inherit;
}

#portfolio-footer,
#portfolio-footer * {
    box-sizing: border-box;
}

#portfolio-footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.25s ease;
}

#portfolio-footer a:hover {
    color: #111;
}

/* =========================================
   OVERSIZED NAME MARQUEE
========================================= */

#portfolio-footer .footer-marquee {
    overflow: hidden;
    padding: 8px 0 13px;
    border-bottom: 1px solid #dedede;
    font-family: 'Times New Roman', Times, serif;
}

#portfolio-footer .marquee-track {
    display: flex;
    align-items: center;
    gap: 35px;
    width: max-content;
    animation: footer-name-scroll 30s linear infinite;
    will-change: transform;
}

#portfolio-footer .marquee-track span {
    flex-shrink: 0;
    color: #111;
    font-size: clamp(65px, 9.5vw, 125px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -4px;
    white-space: nowrap;
}

#portfolio-footer .marquee-track .outlined-name {
    color: transparent;
    -webkit-text-stroke: 1.5px #111;
}

@keyframes footer-name-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

/* =========================================
   SOCIAL LINKS — THREE EQUAL CARDS
========================================= */

#portfolio-footer .footer-socials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #dedede;
    background: #fff;
}

#portfolio-footer .footer-socials a {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
    padding: 17px 24px;
    border-right: 1px solid #dedede;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* Sliding background on hover */
#portfolio-footer .footer-socials a::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: #111;
    transform: translateY(101%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#portfolio-footer .footer-socials a:last-child {
    border-right: none;
}

#portfolio-footer .footer-socials a span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(17, 17, 17, 0.2);
    border-radius: 50%;
    font-size: 17px;
    line-height: 1;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

#portfolio-footer .footer-socials a:hover,
#portfolio-footer .footer-socials a:focus-visible {
    color: #fff;
}

#portfolio-footer .footer-socials a:hover::before,
#portfolio-footer .footer-socials a:focus-visible::before {
    transform: translateY(0);
}

#portfolio-footer .footer-socials a:hover span,
#portfolio-footer .footer-socials a:focus-visible span {
    color: #111;
    background: #fff;
    border-color: #fff;
    transform: translate(2px, -2px) rotate(45deg);
}

#portfolio-footer .footer-socials a:focus-visible {
    outline: 2px solid #777;
    outline-offset: -4px;
}

/* =========================================
   THREE-COLUMN FOOTER CONTENT
========================================= */

#portfolio-footer .footer-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background-color: white;
}

#portfolio-footer .footer-navigation,
#portfolio-footer .footer-about,
#portfolio-footer .footer-contact {
    min-width: 0;
    padding: 32px 26px;
}

#portfolio-footer .footer-navigation,
#portfolio-footer .footer-about {
    border-right: 1px solid #dedede;
}

/* Navigation */

#portfolio-footer .footer-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: center;
    gap: 20px 14px;
}

#portfolio-footer .footer-navigation a {
    font-size: 14px;
}

/* About / collaboration */

#portfolio-footer .footer-section-label {
    margin-bottom: 12px;
    color: #858585;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
}

#portfolio-footer .footer-about h3 {
    margin-bottom: 13px;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 500;
    letter-spacing: -0.8px;
}

#portfolio-footer .footer-about > p:not(.footer-section-label) {
    margin-bottom: 16px;
    color: #777;
    font-size: 13px;
    line-height: 1.8;
}

#portfolio-footer .footer-email-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 15px;
    border: 1px solid #bdbdbd;
    border-radius: 6px;
    color: #111 !important;
    font-size: 13px;
}

#portfolio-footer .footer-email-link span {
    font-size: 21px;
}

#portfolio-footer .footer-email-link:hover {
    background: #111;
    border-color: #111;
    color: #fff !important;
}

/* Contact details */

#portfolio-footer .footer-contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 17px;
}

#portfolio-footer .footer-contact .footer-section-label {
    margin-bottom: 0;
}

#portfolio-footer .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

#portfolio-footer .contact-item i {
    flex-shrink: 0;
    width: 23px;
    padding-top: 2px;
    color: #111;
    font-size: 20px;
    text-align: center;
}

#portfolio-footer .contact-item span,
#portfolio-footer .contact-item a {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    line-height: 1.7;
}

/* =========================================
   COPYRIGHT BAR
========================================= */

#portfolio-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 5%;
    border-top: 1px solid #dedede;
    background: #111;
    color: #fff;
}

#portfolio-footer .footer-bottom p,
#portfolio-footer .footer-bottom a {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {
    #portfolio-footer .footer-socials a {
        padding: 16px 18px;
    }

    #portfolio-footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #portfolio-footer .footer-navigation {
        border-bottom: 1px solid #dedede;
    }

    #portfolio-footer .footer-about {
        border-right: none;
        border-bottom: 1px solid #dedede;
    }

    #portfolio-footer .footer-contact {
        grid-column: 1 / -1;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 600px) {
    #portfolio-footer .marquee-track {
        gap: 24px;
    }

    #portfolio-footer .marquee-track span {
        font-size: 58px;
        letter-spacing: -2.5px;
    }

    #portfolio-footer .footer-socials {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    #portfolio-footer .footer-socials a {
        padding: 14px 10px;
        gap: 6px;
        font-size: 11px;
    }

    #portfolio-footer .footer-socials a span {
        width: 23px;
        height: 23px;
        font-size: 14px;
    }

    #portfolio-footer .footer-main {
        grid-template-columns: 1fr;
    }

    #portfolio-footer .footer-navigation,
    #portfolio-footer .footer-about,
    #portfolio-footer .footer-contact {
        padding: 25px 22px;
        border-right: none;
        border-bottom: 1px solid #dedede;
    }

    #portfolio-footer .footer-contact {
        grid-column: auto;
        border-bottom: none;
    }

    #portfolio-footer .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding: 15px 22px;
    }

    #portfolio-footer .footer-bottom p,
    #portfolio-footer .footer-bottom a {
        font-size: 11px;
    }
}

/* =========================================
   ACCESSIBILITY
========================================= */

@media (prefers-reduced-motion: reduce) {
    #portfolio-footer .marquee-track {
        animation: none;
    }

    .polaroid-card,
    .value-card,
    .soft-skill-card {
        transition: none;
        transform: none !important;
    }

    #portfolio-footer .footer-socials a span,
    #portfolio-footer .footer-socials a::before {
        transition: none;
    }
}

#portfolio-footer .contact-item .material-symbols-outlined {
    display: inline-block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    font-family: 'Material Symbols Outlined';
    font-size: 28px !important;
    font-weight: 400;
    line-height: 1;
    font-style: normal;
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 28;
}
