:root {
    --primary: #f0bb62;
    --primary-hover: #e0aa50;
    --bg-dark: #1e2428;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.065);
    --text-white: #ffffff;
    --text-muted: #a4a9ad;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-heading: 'Jost', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --section-padding: 95px 0;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

[data-aos] {
    overflow: visible !important;
    will-change: opacity, transform;
    transform-origin: center center;
}

[data-aos^="zoom"] {
    transform-origin: center center;
}

body {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
    background-color: var(--bg-dark);
    background-image: url("https://solarscroller.rhettforbes.com/img/stars.jpg");
    background-repeat: repeat;
    background-attachment: fixed;
    animation: sky 30s linear infinite;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

@keyframes sky {
    50% {
        background-position: 600px 0;
    }
    100% {
        background-position: 1200px 0;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    letter-spacing: -0.2px;
}

h1 { font-size: 68px; font-weight: 700; line-height: 1.15; }
h2 { font-size: 38px; font-weight: 700; line-height: 1.25; }
h3 { font-size: 22px; font-weight: 600; }
h4 { font-size: 18px; font-weight: 600; }

@media (max-width: 767px) {
    h2 {
        font-size: 30px;
    }
}

a {
    font-family: var(--font-heading);
    text-decoration: none;
    transition: var(--transition);
}

p { margin-bottom: 0; }
ul, li { list-style: none; }

.section-padding { 
    padding: var(--section-padding); 
    position: relative; 
    z-index: 1; 
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    text-transform: capitalize;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 8px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.preloader {
    background: var(--bg-dark);
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.spinner {
    width: 44px;
    height: 44px;
    position: relative;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    animation: sk-bounce 1.6s infinite ease-in-out;
}

.double-bounce2 { animation-delay: -0.8s; }

@keyframes sk-bounce {
    0%, 100% { transform: scale(0); }
    50% { transform: scale(1.0); }
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.navbar-brand img { 
    width: 140px; 
    height: auto; 
}

.navbar-toggler{
    color: #fff !important;
}

.navbar-custom {
    padding: 22px 0;
    z-index: 999;
    transition: var(--transition);
}

.navbar-custom.nav-sticky {
    background: rgba(0, 0, 0, 26%) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar-custom .navbar-nav li a {
    color: var(--text-white) !important;
    font-size: 15px;
    font-weight: 500;
    margin: 0 6px;
    padding-bottom: 4px;
    position: relative;
}

.navbar-custom .navbar-nav li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: width 0.25s ease-in-out;
}

.navbar-custom .navbar-nav li a:hover::after,
.navbar-custom .navbar-nav li a.active::after { 
    width: 100%; 
}

.navbar-custom .navbar-nav li a.active { 
    color: var(--primary) !important; 
}


.brand-motion-logo {
          display: flex;
          align-items: center;
          text-decoration: none;
      }

      .logo-svg {
          width: 250px; 
          height: 45px;
          overflow: visible;
      }

      .logo-text-base {
          font-family: "Lobster Two", cursive;
          font-size: 38px;
          font-weight: 700;
          font-style: italic;
          letter-spacing: 1px;
          stroke-width: 1px;
      }
      
      .base-t { fill: #f5f5f5; stroke: rgba(255, 255, 255, 0.1); }
      .base-h { fill: #f0bb62; stroke: rgba(229, 169, 60, 0.2); }

      .logo-text-anim {
          font-family: "Lobster Two", cursive;
          font-size: 38px;
          font-weight: 700;
          font-style: italic;
          letter-spacing: 1px;
          fill: transparent; 
          stroke-width: 1.5px; 
          filter: url(#neon-glow);
      }

      .anim-t {
          stroke: #f0bb62; 
          stroke-dasharray: 40 180; 
          animation: flowAnim 4s linear infinite;
      }

      .anim-h {
          stroke: #ffffff; 
          stroke-dasharray: 40 180;
          animation: flowAnim 4s linear infinite reverse;
      }

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

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(240, 187, 98, 0.1);
    border: 1px solid rgba(240, 187, 98, 0.3);
    padding: 6px 20px;
    border-radius: 30px;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.hero-badge span {
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-name {
    margin-bottom: 15px;
    color: #ffffff;
    letter-spacing: -1px;
}

.hero-typing-box {
    font-size: 26px;
    font-weight: 500;
    color: #cfd3d6;
    margin-bottom: 22px;
    font-family: var(--font-body);
}

.hero-typing-box .typing-prefix {
    color: #9aa0a6;
}

.hero-typing-box .typewrite {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 2px;
}

.hero-bio {
    font-size: 16px;
    color: #a4a9ad;
    max-width: 680px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.hero-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}

.btn-main,
.btn-sub {
    position: relative;
    isolation: isolate; 
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 34px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 50px;
    text-decoration: none !important;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-main::before,
.btn-sub::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 320px;
    background-color: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1; 
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
}

.btn-main:hover::before,
.btn-sub:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.btn-main:hover,
.btn-sub:hover {
    color: #121619 !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 25px rgba(240, 187, 98, 0.45);
    border-color: var(--primary) !important;
}

.btn-main:active,
.btn-sub:active {
    transform: scale(0.98);
}

.btn-main {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-sub {
    background: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
}

.hero-social-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.social-dock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 60px;
    padding: 8px 10px;
    gap: 8px;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.22), 0 15px 35px rgba(0, 0, 0, 0.4);
    max-width: 100%;
}

.social-dock-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
    padding: 0 13px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0 !important;
    text-decoration: none !important;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.3s ease,
                border-color 0.3s ease,
                box-shadow 0.3s ease,
                transform 0.3s ease;
}

.social-dock-btn i {
    font-size: 16px;
    flex-shrink: 0;
    color: #ffffff;
}

.social-dock-btn span {
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: #ffffff;
    margin-left: 0;
    transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease,
                margin-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-dock-btn:hover {
    width: auto;
    padding: 0 18px 0 14px;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.35);
    color: #ffffff !important;
}

.social-dock-btn:hover span {
    max-width: 140px;
    opacity: 1;
    margin-left: 9px;
}

.about_area {
    position: relative;
    background: transparent;
    padding-top: 40px;
}

.about-avatar-box {
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
}

.about-avatar-img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(240, 187, 98, 0.25);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 
                0 0 30px rgba(240, 187, 98, 0.18);
    transition: var(--transition);
    background-color: var(--bg-card);
}

.about-avatar-box:hover .about-avatar-img {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 
                0 0 40px rgba(240, 187, 98, 0.3);
}

.about-heading {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.about-name-highlight {
    color: #ffffff;
    font-weight: 700;
}

.about-divider {
    color: var(--primary);
    font-weight: 400;
}

.about-role-highlight {
    color: var(--primary);
    font-weight: 500;
}

.about-bio-content {
    max-width: 860px;
    margin: 0 auto 50px;
}

.about-bio-content p {
    font-size: 16px;
    line-height: 1.9;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-family: var(--font-body);
}

.about-bio-content p:last-child {
    margin-bottom: 0;
}

.skills_area {
    position: relative;
    background: transparent;
    z-index: 1;
}

.skills-left-content {
    padding-right: 20px;
}

.skills-tag-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.skills-watermark {
    position: absolute;
    top: -24px;
    left: -10px;
    font-size: 55px;
    font-weight: 900;
    font-family: var(--font-heading);
    color: rgba(255, 255, 255, 0.03);
    letter-spacing: 4px;
    user-select: none;
    pointer-events: none;
    white-space: nowrap;
}

.skills-badge {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
}

.skills-main-title {
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 25px;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.skills-description {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 18px;
    font-family: var(--font-body);
}

.skills-description:last-child {
    margin-bottom: 0;
}

.skills-list-container {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.skill-item {
    position: relative;
    transition: transform 0.3s ease;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.skill-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    font-family: var(--font-body);
}

.skill-percent {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-body);
}

.skill-progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(240, 187, 98, 0.5);
    transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-item:hover .skill-progress-fill {
    box-shadow: 0 0 18px rgba(240, 187, 98, 0.8);
}

.service_area {
    padding-bottom: 100px; 
}

.serviceBox {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
    margin-bottom: 30px;
    height: calc(100% - 30px);
}

.serviceBox:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: rgba(240, 187, 98, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.service-icon span {
    color: var(--primary);
    font-size: 46px;
    margin-bottom: 20px;
    display: inline-block;
}

.serviceBox .title { 
    font-size: 20px; 
    margin-bottom: 12px; 
}

.funfact_area {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.funfact_area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 24, 0.65);
}

.funfact_area .row {
    row-gap: 24px;
}

.funfact_area .row > [class*="col-"] {
    margin-bottom: 0;
}

.sp {
    position: relative;
    z-index: 1;
    padding: 38px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.sp:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
    z-index: 5;
}

.sp h2 { 
    font-size: 52px; 
    color: var(--primary); 
    font-weight: 700; 
    margin-bottom: 5px; 
    line-height: 1.1;
}

.sp h3 { 
    font-size: 15px; 
    font-weight: 500; 
    color: #ffffff; 
}

.technologies-part {
    padding-top: 100px;    
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.tec-item {
    width: 85px;
    height: 85px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.tec-item:hover {
    transform: translateY(-6px) scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.portfolio_area {
    padding-bottom: 50px;
}

.portfolio_filter ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.portfolio_filter ul li {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 22px;
    border-radius: 30px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.portfolio_filter ul li.active,
.portfolio_filter ul li:hover {
    background: var(--primary);
    color: #111;
    border-color: var(--primary);
}

.portfolio-card {
    background: rgba(12, 18, 24, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(10px) saturate(130%);
    -webkit-backdrop-filter: blur(10px) saturate(130%);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 187, 98, 0.4);
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.42);
}

.browser-bar {
    height: 34px;
    background: rgba(255, 255, 255, 0.03);
    display: flex;
    backdrop-filter: blur(10px);
    align-items: center;
    padding: 0 14px;
    gap: 7px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.browser-bar .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-title {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-screen-scroll {
    height: 270px;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    background: linear-gradient(180deg, rgba(10, 14, 19, 0.96), rgba(14, 19, 25, 0.9));
}

.card-screen-scroll::-webkit-scrollbar {
    width: 10px!important;
}
.card-screen-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25);
}
.card-screen-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.card-screen-scroll {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(0, 0, 0, 0.25);
}

.card-screen-scroll img {
    width: 100%;
    display: block;
    height: auto;
}

.card-screen-graphic {
    height: 270px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 14, 19, 0.95), rgba(14, 19, 25, 0.88));
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-screen-graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.card-screen-graphic:hover img {
    transform: scale(1.06);
}

.graphic-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 24, 0.55);
    border: none;
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 26px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.card-screen-graphic:hover .graphic-zoom-overlay {
    opacity: 1;
}

.card-meta {
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(9, 13, 17, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.meta-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 2px;
}

.card-meta .title { 
    font-size: 17px; 
    font-weight: 700; 
    color: var(--text-white); 
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.card-meta .desc { 
    font-size: 13px; 
    color: var(--text-muted); 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.port-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(240, 187, 98, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none !important;
}

.port-btn:hover {
    background: var(--primary);
    color: #111;
    transform: scale(1.08);
}


.lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999999;
    background: rgba(10, 14, 18, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    padding: 30px 20px;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-close-btn {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: #ffffff;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10000000;
}

.lightbox-close-btn:hover {
    background: var(--primary);
    color: #111;
    transform: scale(1.1) rotate(90deg);
    border-color: var(--primary);
}

.lightbox-inner {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: lightboxZoomIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-inner img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-color);
}

.lightbox-caption {
    margin-top: 15px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    font-family: var(--font-heading);
}

.portfolio-view-more-wrap {
  margin-top: 30px;
  width: 100%;
}

.portfolio-view-more-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  border-radius: 50px;
  padding: 13px 34px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none !important;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: none;
}

.portfolio-view-more-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 320px;
  height: 320px;
  background-color: var(--primary);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
}

.portfolio-view-more-btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.portfolio-view-more-btn:hover {
  color: #121619 !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 0 25px rgba(240, 187, 98, 0.45);
  border-color: var(--primary) !important;
}

.portfolio-view-more-btn:active {
  transform: scale(0.98);
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 576px) {
    .lightbox-close-btn {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .card-screen-scroll, .card-screen-graphic {
        height: 240px;
    }
}

.resume_area {
    position: relative;
    background: transparent;
    z-index: 1;
}

.timeline-column-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 35px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.timeline-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(240, 187, 98, 0.1);
    border: 1px solid rgba(240, 187, 98, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.timeline-col-title {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
}

.timeline-track {
    position: relative;
    padding-left: 28px;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
}

.timeline-item {
    position: relative;
    margin-bottom: 26px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    left: -35px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 0 4px rgba(240, 187, 98, 0.18), 0 0 10px var(--primary);
    transition: all 0.35s ease;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.timeline-item:hover .timeline-card {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(240, 187, 98, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.3);
    box-shadow: 0 0 0 6px rgba(240, 187, 98, 0.28), 0 0 16px var(--primary);
}

.timeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.timeline-role {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0;
}

.timeline-badge {
    display: inline-block;
    background: rgba(240, 187, 98, 0.1);
    color: var(--primary);
    border: 1px solid rgba(240, 187, 98, 0.28);
    font-size: 12px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.timeline-company {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.timeline-company i {
    color: #9aa0a6;
    font-size: 14px;
}

.timeline-desc {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-muted);
}

@media (max-width: 767px) {
    .timeline-track {
        padding-left: 20px;
    }
    .timeline-dot {
        left: -27px;
    }
    .timeline-card {
        padding: 18px 20px;
    }
    .timeline-role {
        font-size: 17px;
    }
}

.contact_us {
    position: relative;
    background: transparent;
    z-index: 1;
    padding-bottom: 140px;
}

.contact-section-title {
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
    margin-bottom: 25px;
    letter-spacing: -0.3px;
}

.contact-intro-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-modern-form {
    display: flex;
    flex-direction: column;
}

.form-control-modern {
    width: 100%;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 15px;
    color: #ffffff;
    font-family: var(--font-body);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-control-modern::placeholder {
    color: #5c6268;
    font-size: 14px;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 18px rgba(240, 187, 98, 0.18), inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

.form-textarea-modern {
    height: 160px;
    resize: vertical;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 35px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(4px);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 17px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-info-item:hover .contact-info-icon {
    border-color: var(--primary);
    background: rgba(240, 187, 98, 0.1);
    box-shadow: 0 0 20px rgba(240, 187, 98, 0.25);
    transform: scale(1.08);
}

.contact-info-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-heading);
    margin-bottom: 3px;
}

.contact-info-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.contact-social-section {
    padding-top: 15px;
}

.contact-social-prompt {
    font-size: 15px;
    font-weight: 500;
    color: #d1d5db;
    display: block;
    font-family: var(--font-heading);
}

.contact-social-section .social-dock {
    margin: 12px 0 0 0;
    justify-content: flex-start;
}

@media (max-width: 991px) {
    .contact_us {
        padding-bottom: 80px;
    }
    .contact-section-title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .contact-section-title {
        font-size: 26px;
    }
    .contact-social-section .social-dock {
        justify-content: center;
    }
    .contact-social-prompt {
        text-align: center;
    }
}

.popup-overlay {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(10, 14, 18, 0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    z-index: 99999999 !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.popup-content {
    background: var(--bg-card, #252b2f) !important;
    border: 1px solid rgba(240, 187, 98, 0.35) !important;
    border-radius: 24px !important;
    padding: 40px 30px !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 400px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(240, 187, 98, 0.15) !important;
    animation: popupScaleUp 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    margin: auto !important;
    position: relative !important;
}

.popup-check-icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(240, 187, 98, 0.12);
    border: 2px solid var(--primary, #f0bb62);
    color: var(--primary, #f0bb62);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    box-shadow: 0 0 25px rgba(240, 187, 98, 0.3);
}

.popup-content h3 {
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}

.popup-content p {
    font-size: 14px;
    color: var(--text-muted, #a4a9ad);
    line-height: 1.6;
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.popup-close-btn {
    background: var(--primary, #f0bb62) !important;
    color: #121619 !important;
    border: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    padding: 10px 34px !important;
    border-radius: 30px !important;
    margin-top: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(240, 187, 98, 0.3) !important;
    display: inline-block !important;
}

.popup-close-btn:hover {
    background: var(--primary-hover, #e0aa50) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(240, 187, 98, 0.45) !important;
}

@keyframes popupScaleUp {
    from { 
        transform: scale(0.85); 
        opacity: 0; 
    }
    to { 
        transform: scale(1); 
        opacity: 1; 
    }
}

.footer {
    padding: 10px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.copyright { font-size: 14px; color: var(--text-muted); }

@media (max-width: 991px) {
    :root {
        --section-padding: 75px 0;
    }

    .about_area {
        padding-top: 90px;
    }

    .service_area {
        padding-bottom: 90px;
    }

    .technologies-part {
        padding-top: 90px;
    }

    .contact_us {
        padding-bottom: 90px;
    }

    .hero-name {
        font-size: 52px;
    }

    .about-avatar-img {
        width: 200px;
        height: 200px;
    }

    .skills-left-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .skills-watermark {
        font-size: 42px;
        top: -18px;
    }

    .skills-main-title {
        font-size: 32px;
    }

    .funfact_area .row {
        row-gap: 20px;
    }

    .sp {
        padding: 30px 15px;
    }

    .sp h2 {
        font-size: 44px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px 0;
    }

    .about_area {
        padding-top: 70px;
    }

    .service_area {
        padding-bottom: 70px;
    }

    .technologies-part {
        padding-top: 70px;
    }

    .contact_us {
        padding-bottom: 70px;
    }

    .hero-section {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-name {
        font-size: 38px;
    }

    .hero-typing-box {
        font-size: 20px;
    }

    .hero-bio {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .about-avatar-img {
        width: 150px;
        height: 150px;
    }

    .about-heading {
        font-size: 24px;
        flex-direction: column;
        gap: 4px;
    }

    .about-divider {
        display: none;
    }

    .about-bio-content p {
        font-size: 15px;
    }

    .skills-watermark {
        font-size: 32px;
        top: -14px;
    }

    .skills-main-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .skills-list-container {
        gap: 20px;
    }

    .serviceBox {
        padding: 30px 20px;
    }

    .funfact_area .row {
        row-gap: 16px;
    }

    .sp {
        padding: 24px 15px;
    }

    .sp:hover {
        transform: translateY(-3px);
    }

    .sp h2 {
        font-size: 30px;
    }

    .sp h3 {
        font-size: 14px;
    }

    .box {
        height: 280px;
    }

    .mockup-screen {
        height: 240px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .web-mockup-card:hover .mockup-screen .scroll-img {
        transform: none;
    }

    .address_bg {
        padding: 24px;
        margin-top: 30px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 32px;
    }

    .hero-btn-group {
        width: 100%;
    }

    .btn-main,
    .btn-sub {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }

    .social-dock {
        border-radius: 35px;
        padding: 6px 8px;
        gap: 6px;
    }

    .social-dock-btn {
        height: 38px;
        width: 38px;
        padding: 0 10px;
    }

    .social-dock-btn i {
        font-size: 14px;
    }

    .tech-grid {
        gap: 15px;
    }

    .tec-item {
        width: 70px;
        height: 70px;
        padding: 12px;
    }
}
