:root {
      --dark: #0b1220;
      --dark-2: #111827;
      --dark-3: #1f2937;
      --green: #16c784;
      --green-2: #34d399;
      --blue: #38bdf8;
      --text: #07142d;
      --muted: #667085;
      --muted-dark: #aab4c5;
      --border: #e8edf3;
      --soft: #f6f8fb;
      --white: #ffffff;
      --shadow: 0 24px 70px rgba(15, 23, 42, .08);
      --radius: 24px;
    }

    * { box-sizing: border-box; }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: 'Inter', sans-serif;
      color: var(--text);
      background: var(--white);
      overflow-x: hidden;
    }

    a { text-decoration: none; }

    ::selection { background: rgba(22, 199, 132, .25); }

    .section-padding { padding: 110px 0; }

    .section-kicker {
      color: #009b6b;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
      margin-bottom: .8rem;
    }

    .section-title {
      font-size: clamp(2.2rem, 4vw, 3.4rem);
      font-weight: 900;
      letter-spacing: -.055em;
      line-height: 1.02;
      color: #06142d;
    }

    .section-subtitle {
      max-width: 650px;
      margin: 16px auto 0;
      color: var(--muted);
      font-size: 1.08rem;
      line-height: 1.65;
    }

    .text-gradient {
      color: var(--green);
    }

    /* NAVBAR */
    .site-navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 999;
      padding: 22px 0;
      background: transparent;
      transition: all .28s ease;
    }

    .site-navbar.scrolled {
      padding: 12px 0;
      background: rgba(255, 255, 255, .94);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid rgba(15, 23, 42, .07);
      box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
    }

    .brand {
      display: flex;
      align-items: center;
      gap: .75rem;
      color: var(--white);
      font-weight: 800;
      letter-spacing: -.03em;
      transition: .25s ease;
    }

    .site-navbar.scrolled .brand { color: #0f172a; }

    .brand-mark {
      width: 34px;
      height: 34px;
      border-radius: 12px;
      display: grid;
      place-items: center;
      color: #06142d;
      background: linear-gradient(135deg, var(--blue), var(--green));
      box-shadow: 0 12px 30px rgba(22, 199, 132, .25);
    }

    .navbar-nav .nav-link {
      color: rgba(255,255,255,.84);
      font-size: .92rem;
      font-weight: 700;
      margin: 0 12px;
      padding: 8px 0;
      position: relative;
      transition: .25s ease;
    }

    .site-navbar.scrolled .navbar-nav .nav-link { color: #1f2937; }

    .navbar-nav .nav-link::after {
      content: "";
      position: absolute;
      width: 0;
      height: 2px;
      left: 0;
      bottom: 0;
      background: var(--green);
      transition: .25s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link.active {
        color: #ffffff !important;
    }

    .site-navbar.scrolled .navbar-nav .nav-link:hover,
    .site-navbar.scrolled .navbar-nav .nav-link.active {
        color: #009b6b !important;
    }

    .btn-navbar {
      border: 2px solid rgba(255,255,255,.9);
      color: var(--white);
      border-radius: 999px;
      padding: .72rem 1.35rem;
      font-weight: 800;
      font-size: .9rem;
      transition: .25s ease;
    }

    .site-navbar.scrolled .btn-navbar {
      color: #009b6b;
      border-color: #009b6b;
    }

    .btn-navbar:hover {
      background: var(--green);
      color: #06142d;
      border-color: var(--green);
      transform: translateY(-2px);
    }

    .navbar-toggler {
      border: 0;
      color: var(--white);
      box-shadow: none !important;
    }

    .site-navbar.scrolled .navbar-toggler { color: #0f172a; }

    @media (max-width: 991px) {
      .navbar-collapse {
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 20px;
        background: rgba(15, 23, 42, .98);
      }

      .site-navbar.scrolled .navbar-collapse { background: #ffffff; }
      .navbar-nav .nav-link { margin: 6px 0; }
      .btn-navbar { display: inline-block; margin-top: 10px; }
    }

    /* HERO */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      overflow: hidden;
      background:
        linear-gradient(90deg, rgba(5, 12, 25, .98) 0%, rgba(8, 18, 34, .94) 44%, rgba(7, 50, 45, .78) 100%),
        radial-gradient(circle at 78% 55%, rgba(22, 199, 132, .28), transparent 38%),
        #07111f;
      color: var(--white);
      padding: 130px 0 80px;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
      background-size: 82px 82px;
      opacity: .55;
    }

    .network-bg {
      position: absolute;
      inset: 0;
      opacity: .42;
      pointer-events: none;
    }

    .network-bg svg {
      width: 100%;
      height: 100%;
    }

    .line-anim {
      stroke-dasharray: 900;
      stroke-dashoffset: 900;
      animation: drawLine 7s ease-in-out infinite alternate;
    }

    @keyframes drawLine {
      to { stroke-dashoffset: 0; }
    }

    .hero-content { position: relative; z-index: 2; }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      padding: .45rem .95rem;
      border: 1px solid rgba(22,199,132,.42);
      color: #8ff0c3;
      background: rgba(22,199,132,.10);
      border-radius: 999px;
      font-size: .78rem;
      font-weight: 900;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 1.8rem;
    }

    .pulse {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: var(--green);
      box-shadow: 0 0 0 0 rgba(22,199,132,.7);
      animation: pulse 1.8s infinite;      
    }

    @keyframes pulse {
      70% { box-shadow: 0 0 0 10px rgba(22,199,132,0); }
      100% { box-shadow: 0 0 0 0 rgba(22,199,132,0); }
    }

    .hero-title {
      font-size: clamp(2.8rem, 7vw, 5.45rem);
      line-height: .97;
      letter-spacing: -.040em;
      font-weight: 900;
      max-width: 880px;
      margin-bottom: 1.75rem;
    }

    .hero-lead {
      max-width: 760px;
      color: rgba(255,255,255,.84);
      font-size: clamp(1.05rem, 1.5vw, 1.35rem);
      line-height: 1.45;
      margin-bottom: 1.15rem;
    }

    .hero-small {
      max-width: 650px;
      color: rgba(203, 213, 225, .72);
      line-height: 1.7;
      margin-bottom: 2.2rem;
    }

    .btn-main {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      background: linear-gradient(135deg, #17c486, #0fbf73);
      color: #05111f;
      border: 0;
      border-radius: 999px;
      padding: .95rem 1.8rem;
      font-weight: 900;
      box-shadow: 0 18px 40px rgba(22,199,132,.22);
      transition: .25s ease;
    }

    .btn-main:hover {
      color: #05111f;
      transform: translateY(-3px);
      box-shadow: 0 24px 55px rgba(22,199,132,.32);
    }

    .btn-soft {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: .55rem;
      color: #ffffff;
      border: 1.5px solid rgba(255,255,255,.45);
      border-radius: 999px;
      padding: .9rem 1.8rem;
      font-weight: 900;
      transition: .25s ease;
    }

    .btn-soft:hover {
      color: #ffffff;
      border-color: var(--green);
      background: rgba(22,199,132,.12);
      transform: translateY(-3px);
    }

    /* PROJECTS */
    .project-row {
      min-height: 520px;
      align-items: center;
      padding: 55px 0;
      border-bottom: 1px solid var(--border);
    }

    .project-image {
      border-radius: 28px;
      overflow: hidden;
      background: #eef2f7;
      box-shadow: var(--shadow);
      position: relative;
    }

    .project-image img {
      display: block;
      width: 100%;
      height: 340px;
      object-fit: cover;
      transition: transform .5s ease;
    }

    .project-image:hover img { transform: scale(1.035); }

    .project-pill {
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      padding: .35rem .75rem;
      border-radius: 999px;
      background: rgba(22,199,132,.10);
      color: #008f63;
      border: 1px solid rgba(22,199,132,.28);
      font-size: .78rem;
      font-weight: 800;
      margin-bottom: 1rem;
    }

    .project-title {
      font-size: clamp(1.8rem, 3vw, 2.45rem);
      font-weight: 900;
      letter-spacing: -.05em;
      margin-bottom: .4rem;
    }

    .project-desc { color: var(--muted); margin-bottom: 1.8rem; }

    .accordion-clean .accordion-item {
      border: 0;
      border-bottom: 1px solid var(--border);
      background: transparent;
    }

    .accordion-clean .accordion-button {
      background: transparent;
      color: var(--text);
      font-weight: 800;
      padding: 1.1rem 0;
      box-shadow: none;
    }

    .accordion-clean .accordion-button:not(.collapsed) { color: #008f63; }
    .accordion-clean .accordion-body { padding: 0 0 1.1rem; color: var(--muted); }

    .check-list {
      list-style: none;
      padding-left: 0;
      margin: 0;
    }

    .check-list li {
      display: flex;
      gap: .7rem;
      color: #475467;
      margin-bottom: .65rem;
      line-height: 1.45;
    }

    .check-list i { color: var(--green); margin-top: .18rem; }

    .techs {
      display: flex;
      flex-wrap: wrap;
      gap: .6rem;
      margin-top: 1.4rem;
    }

    .tech {
      padding: .35rem .75rem;
      border-radius: 999px;
      font-size: .78rem;
      font-weight: 800;
      background: rgba(22,199,132,.11);
      color: #008f63;
      border: 1px solid rgba(22,199,132,.18);
    }

    .tech.blue { background: rgba(56,189,248,.12); color: #0077a8; border-color: rgba(56,189,248,.25); }
    .tech.orange { background: rgba(245,158,11,.13); color: #a15c00; border-color: rgba(245,158,11,.24); }
    .tech.purple { background: rgba(99,102,241,.12); color: #4338ca; border-color: rgba(99,102,241,.23); }

    /* ABOUT */
    .about-section { background: var(--soft); }

    .portrait-card {
      position: relative;
      max-width: 420px;
    }

    .portrait-card img {
      width: 100%;
      height: 420px;
      object-fit: cover;
      border-radius: 26px;
      box-shadow: var(--shadow);
    }

    .floating-label {
      position: absolute;
      right: -24px;
      bottom: 64px;
      display: flex;
      align-items: center;
      gap: .75rem;
      padding: .9rem 1rem;
      background: rgba(255,255,255,.90);
      backdrop-filter: blur(14px);
      border-radius: 18px;
      box-shadow: 0 18px 40px rgba(15,23,42,.10);
    }

    .floating-label .icon {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      color: #008f63;
      background: rgba(22,199,132,.13);
    }

    .quick-card {
      margin-top: 26px;
      padding: 26px;
      border-radius: 24px;
      background: #ffffff;
      box-shadow: var(--shadow);
    }

    .quick-card h5 {
      color: #98a2b3;
      font-size: .78rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      font-weight: 900;
      margin-bottom: 1.2rem;
    }

    .quick-item {
      display: flex;
      align-items: center;
      gap: .9rem;
      margin-bottom: 1rem;
      color: #344054;
    }

    .quick-item i {
      width: 30px;
      height: 30px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: #008f63;
      background: rgba(22,199,132,.10);
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0,1fr));
      gap: 14px;
      margin-top: 2rem;
    }

    .feature-item {
      display: flex;
      align-items: center;
      gap: .8rem;
      padding: 1.05rem;
      background: #ffffff;
      border: 1px solid rgba(15,23,42,.04);
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(15,23,42,.035);
      font-weight: 700;
    }

    .feature-item i {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 10px;
      color: #008f63;
      background: rgba(22,199,132,.10);
    }

    /* VALUE */
    .value-section {
      background:
        radial-gradient(circle at center, rgba(22,199,132,.12), transparent 40%),
        linear-gradient(135deg, #171b22, #111827);
      color: #ffffff;
      position: relative;
      overflow: hidden;
    }

    .value-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
      background-size: 80px 80px;
    }

    .value-section .container { position: relative; z-index: 2; }
    .value-section .section-title { color: #ffffff; max-width: 850px; margin-inline: auto; }
    .value-section .section-subtitle { color: #b8c3d4; }

    .value-icon-main {
      width: 62px;
      height: 62px;
      border-radius: 18px;
      display: grid;
      place-items: center;
      margin: 0 auto 1.2rem;
      color: var(--green-2);
      background: rgba(22,199,132,.16);
      border: 1px solid rgba(22,199,132,.30);
      font-size: 1.35rem;
    }

    .value-card {
      height: 100%;
      padding: 28px;
      border-radius: 22px;
      background: rgba(255,255,255,.055);
      border: 1px solid rgba(255,255,255,.11);
      backdrop-filter: blur(14px);
      transition: .25s ease;
    }

    .value-card:hover {
      transform: translateY(-8px);
      border-color: rgba(22,199,132,.45);
      background: rgba(255,255,255,.075);
    }

    .value-card i {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 13px;
      color: var(--green-2);
      background: rgba(22,199,132,.14);
      margin-bottom: 1.2rem;
    }

    .value-card h4 { font-size: 1.12rem; font-weight: 900; }
    .value-card p { color: #b8c3d4; margin: 0; line-height: 1.65; }

    /* EXPERIENCE */
    .timeline-wrap {
      max-width: 870px;
      margin: 75px auto 0;
      position: relative;
    }

    .timeline-line {
      position: absolute;
      top: 0;
      bottom: 0;
      left: 50%;
      width: 2px;
      background: #e6eaf0;
      transform: translateX(-50%);
    }

    .timeline-entry {
      display: grid;
      grid-template-columns: 1fr 60px 1fr;
      align-items: center;
      margin-bottom: 54px;
    }

    .timeline-date {
      color: #98a2b3;
      font-weight: 800;
      text-align: right;
      padding-right: 20px;
    }

    .timeline-dot {
      width: 11px;
      height: 11px;
      border-radius: 99px;
      background: var(--green);
      margin: auto;
      position: relative;
      z-index: 2;
    }

    .timeline-card {
      background: #ffffff;
      border: 1px solid var(--border);
      border-radius: 22px;
      padding: 28px;
      box-shadow: 0 12px 40px rgba(15,23,42,.04);
    }

    .timeline-card h4 {
      font-weight: 900;
      letter-spacing: -.03em;
      margin-bottom: .2rem;
    }

    .timeline-card .place { color: var(--muted); margin-bottom: 1.3rem; }

    .timeline-card ul {
      list-style: none;
      padding: 0;
      margin: 0 0 1.2rem;
    }

    .timeline-card li {
      display: flex;
      gap: .75rem;
      color: #475467;
      margin-bottom: .65rem;
    }

    .timeline-card li i { color: var(--green); margin-top: .25rem; }

    .timeline-card-icon {
      width: 44px;
      height: 44px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      background: rgba(22,199,132,.10);
      color: #008f63;
      margin-bottom: 1rem;
    }

    .timeline-entry.reverse .timeline-date {
      grid-column: 3;
      text-align: left;
      padding-left: 20px;
      padding-right: 0;
    }

    .timeline-entry.reverse .timeline-card { grid-column: 1; grid-row: 1; }

    .experience-note {
      max-width: 860px;
      margin: 25px auto 0;
      padding: 28px;
      border-radius: 20px;
      background: var(--soft);
      color: #475467;
      text-align: center;
      line-height: 1.7;
    }

    /* EXTRAS */
    .extras-section { background: var(--soft); }

    .extra-card {
      height: 100%;
      background: #ffffff;
      border-radius: 22px;
      overflow: hidden;
      box-shadow: 0 14px 45px rgba(15,23,42,.055);
      border: 1px solid rgba(15,23,42,.04);
      transition: .25s ease;
    }

    .extra-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }

    .extra-img {
      height: 190px;
      background: linear-gradient(135deg, #06142d, #064e3b);
      position: relative;
      overflow: hidden;
    }

    .extra-img::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 30% 40%, rgba(52,211,153,.35), transparent 18%),
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
      background-size: auto, 35px 35px, 35px 35px;
    }

    .extra-img i {
      position: absolute;
      inset: 0;
      display: grid;
      place-items: center;
      font-size: 4.2rem;
      color: rgba(52,211,153,.85);
      text-shadow: 0 10px 35px rgba(52,211,153,.3);
    }

    .extra-body { padding: 26px; }

    .extra-label {
      display: inline-flex;
      align-items: center;
      gap: .55rem;
      color: #008f63;
      font-size: .78rem;
      font-weight: 900;
      letter-spacing: .11em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .extra-label i {
      width: 36px;
      height: 36px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: rgba(22,199,132,.11);
    }

    .extra-card h4 { font-weight: 900; letter-spacing: -.04em; }
    .extra-card p { color: var(--muted); margin: 0; line-height: 1.65; }

    /* CONTACT */
    .contact-info a,
    .contact-info div {
      display: flex;
      align-items: center;
      gap: .9rem;
      color: #06142d;
      margin-bottom: 1.1rem;
    }

    .contact-info i {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      color: #008f63;
      background: rgba(22,199,132,.11);
      flex: 0 0 auto;
    }

    .contact-panel {
      padding: 34px;
      border-radius: 24px;
      background: var(--soft);
      border: 1px solid rgba(15,23,42,.04);
    }

    .form-control {
      border: 1px solid #d9e0ea;
      border-radius: 14px;
      padding: .95rem 1rem;
      font-size: .95rem;
      box-shadow: none !important;
    }

    .form-control:focus { border-color: var(--green); }
    label { font-size: .78rem; color: #344054; font-weight: 800; text-transform: uppercase; }

    /* FOOTER */
    footer {
      background: #111827;
      color: #cbd5e1;
      padding: 70px 0 25px;
    }

    footer .brand { color: #ffffff; }

    footer p { color: #9aa7bb; line-height: 1.7; }

    .footer-title {
      color: #8fa0b8;
      font-size: .78rem;
      letter-spacing: .13em;
      text-transform: uppercase;
      font-weight: 900;
      margin-bottom: 1.2rem;
    }

    .footer-link {
      display: block;
      color: #cbd5e1;
      margin-bottom: .75rem;
      transition: .2s ease;
    }

    .footer-link:hover { color: var(--green-2); transform: translateX(3px); }

    .socials a {
      width: 36px;
      height: 36px;
      display: inline-grid;
      place-items: center;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,.16);
      color: #cbd5e1;
      margin-right: .5rem;
      transition: .2s ease;
    }

    .socials a:hover { color: var(--green-2); border-color: var(--green-2); }

    .footer-bottom {
      margin-top: 55px;
      padding-top: 22px;
      border-top: 1px solid rgba(255,255,255,.08);
      color: #718096;
      font-size: .86rem;
    }

    @media (max-width: 991px) {
      .hero { min-height: auto; }
      .project-row { min-height: auto; padding: 40px 0; }
      .project-row:nth-child(even) .project-image { order: 0; }
      .floating-label { right: 18px; bottom: 28px; }
      .feature-grid { grid-template-columns: 1fr; }
      .timeline-line { left: 10px; }
      .timeline-entry, .timeline-entry.reverse {
        display: block;
        padding-left: 35px;
        position: relative;
      }
      .timeline-date, .timeline-entry.reverse .timeline-date {
        text-align: left;
        padding: 0;
        margin-bottom: 12px;
      }
      .timeline-dot {
        position: absolute;
        left: 5px;
        top: 8px;
      }
      .timeline-entry.reverse .timeline-card { grid-column: auto; grid-row: auto; }
    }

    @media (max-width: 575px) {
      .section-padding { padding: 78px 0; }
      .hero-title { font-size: 2.75rem; }
      .btn-main, .btn-soft { width: 100%; }
      .project-image img { height: 250px; }
      .portrait-card img { height: 360px; }
      .contact-panel { padding: 24px; }
    }