:root {
    --bg-black-900: #151515;
    --bg-black-100: #222222;
    --bg-black-50: #393939;
    --bg-black-25: #2c2c2c;
    --text-black-900: #ffffff;
    --text-black-700: #e9e9e9;
    --text-black-600: #909090;
    --box-shadow: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
    --primary-font-family: "Roboto Slab", serif;
    --secondary-font-family: "Noto Serif", serif;
    --primary-font-weight: 550;
    --secondary-font-weight: 500;
    --primary-font-style: normal;
    --secondary-font-style: italic;
    --accent-blue: #00d4ff;
    --accent-purple: #8b5cf6;
    --border-gradient: linear-gradient(to bottom right, var(--skin-color) 0%, color-mix(in srgb, var(--skin-color) 0%, var(--bg-black-100)) 100%);
    --glass-bg: rgba(var(--skin-color-rgb), 0.05);
    --glass-border: rgba(var(--skin-color-rgb), 0.1);
}

html.light {
    --bg-black-900: #f2f2fc;
    --bg-black-100: #fdf9ff;
    --bg-black-50: #e8dfec;
    --bg-black-25: #ffffff;
    --text-black-900: #302e4d;
    --text-black-700: #504e70;
    --text-black-600: #7a7a9c;
    --box-shadow: -4px 8px 24px hsla(0, 0%, 100%, 0.125);
    --glass-border: rgba(0, 0, 0, 0.1);
}

body {
    background: var(--bg-black-900);
    line-height: 1.5;
    font-size: 16px;
    font-family: var(--primary-font-family);
    font-optical-sizing: auto;
    font-weight: var(--primary-font-weight);
    font-style: var(--primary-font-style);
    font-variation-settings: "width" 100;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/*! === General Styles === */
* {
    margin: 0;
    padding: 0;
    outline: none;
    text-decoration: none;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: var(--skin-color) var(--bg-black-100);
    scroll-behavior: smooth;
}

::selection {
    background-color: var(--skin-color);
    color: #fff;
}

::before,
::after {
    box-sizing: border-box;
}

/* .cursor {
    position: fixed;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--text-black-900);
    transform: translate(-50%, -50%);
    pointer-events: none;
    mix-blend-mode:difference;
    z-index: 10001;
    transition: transform 0.2s ease;
}  */


button:hover,
.btn:hover {
    transform: scale(1.05);
}

ul {
    list-style: none;
}

.link {
    cursor: pointer;
    color: inherit;
    text-decoration: none;
}

.link:hover {
    color: var(--skin-color);
    transition: color 0.3s ease;
}

a.link {
    position: relative;
    display: inline-block;
    text-decoration: none;
    transition: color 0.3s ease;
}

a.link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--skin-color);
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

a.link:hover::after {
    width: 100%;
}

sup {
    font-size: 0.6em;
}

.padd-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.btn {
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    color: white;
    border-radius: 40px;
    display: inline-block;
    white-space: nowrap;
    border: none;
    background: var(--skin-color);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.btn i {
    transition: transform 0.3s ease;
}

b {
    font-family: var(--primary-font-family);
    font-weight: var(--primary-font-weight);
    color: var(--skin-color);
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    position: relative;
    justify-content: space-around;
}

.Box {
    justify-content: center;
    display: flex;
    border-radius: 15px;
    padding: 30px;
    margin: 20px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: auto;
    z-index: 2;
    position: relative;
}

.section .container {
    padding-bottom: 60px;
}

/* Back-to-Top Button */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 52px;
    height: 52px;
    padding: 0;
    background: transparent;
    backdrop-filter: blur(2px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 15;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0s ease, background-color 0.3s ease;
    overflow: visible;
    border: none;
    box-sizing: border-box;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop .progress-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    transform: rotate(-90deg);
    z-index: 1;
}

#backToTop .progress-ring-circle {
    fill: none;
    stroke: var(--secondary-color);
    stroke-dasharray: 176;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0.3s ease;
}

#backToTop .progress-ring-progress {
    fill: none;
    stroke: var(--skin-color);
    stroke-dasharray: 176;
    stroke-dashoffset: 176;
    stroke-width: 4;
    transition: stroke-dashoffset 0.3s ease;
    z-index: -9999;
}

#backToTop i {
    color: var(--text-black-700);
    font-size: 20px;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), color 0.3s ease;
}

#backToTop:hover i {
    animation: arrow-exit-and-enter 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
    color: var(--skin-color);
}

@keyframes arrow-exit-and-enter {
    0% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-60px);
        opacity: 0;
    }

    41% {
        transform: translateY(60px);
        opacity: 0;
    }

    50% {
        transform: translateY(60px);
        opacity: 1;
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes cz_rotate_y {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}

#backToTop:hover i:before {
    display: inline-block;
    animation: cz_rotate_y 0.7s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/*! === Background Animation === */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(var(--skin-color-rgb), 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--skin-color-rgb), 0.08) 1px, transparent 1px),
        linear-gradient(rgba(var(--skin-color-rgb), 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--skin-color-rgb), 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.8;
}

.code-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.code-text {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    color: var(--text-black-900);
    opacity: 0.16;
    transition: all 0.8s ease;
    white-space: nowrap;
    user-select: none;
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    backdrop-filter: blur(3px);
}

/* Only highlight active section with skin color */
.code-text.highlight {
    color: var(--skin-color);
    opacity: 0.6;
    font-weight: 500;
    background: rgba(var(--skin-color-rgb), 0.08);
    border-color: rgba(var(--skin-color-rgb), 0.2);
    transform: scale(1.05);
}

.code-text.section-indicator {
    font-size: 12px;
    opacity: 0.6;
    color: var(--skin-color);
    font-weight: bold;
    background: rgba(var(--skin-color-rgb), 0.15);
    border-color: rgba(var(--skin-color-rgb), 0.3);
    text-shadow: 0 0 8px rgba(var(--skin-color-rgb), 0.4);
}

/* Subtle Floating Animation  */
@keyframes codeFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

.code-text {
    animation: codeFloat 12s infinite ease-in-out;
}

.code-text:nth-child(2n) {
    animation-delay: -2s;
    animation-duration: 14s;
}

.code-text:nth-child(3n) {
    animation-delay: -4s;
    animation-duration: 10s;
}

.code-text:nth-child(4n) {
    animation-delay: -6s;
    animation-duration: 16s;
}

.code-text:nth-child(5n) {
    animation-delay: -8s;
    animation-duration: 13s;
}

.code-text:nth-child(6n) {
    animation-delay: -3s;
    animation-duration: 15s;
}

.code-text:nth-child(7n) {
    animation-delay: -7s;
    animation-duration: 11s;
}

.code-text:nth-child(8n) {
    animation-delay: -1s;
    animation-duration: 17s;
}

.code-text:nth-child(9n) {
    animation-delay: -5s;
    animation-duration: 9s;
}

.code-text:nth-child(10n) {
    animation-delay: -9s;
    animation-duration: 18s;
}

.code-text:nth-child(11n) {
    animation-delay: -2.5s;
    animation-duration: 12s;
}

/*! === Section Styles === */
.section {
    min-height: 100vh;
    display: block;
    padding: 0 100px;
    opacity: 1;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    will-change: transform;
}

@keyframes slideSection {
    0% {
        transform: translate(100%);
    }

    100% {
        transform: rotate(0%);
    }
}

.section-title {
    flex: 0 0 100%;
    max-width: 100%;
    margin-bottom: 60px;
}

.section-title h2 {
    display: inline-block;
    background-image: linear-gradient(to right, var(--skin-color) 0%, var(--text-black-900) 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 40px;
    color: var(--text-black-900);
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--skin-gradient);
    border-radius: 2px;
}

/*! === aside === */
.aside {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100%;
    backdrop-filter: blur(5px);
    border-right: 1px solid rgba(var(--skin-color-rgb), 0.2);
    display: flex;
    flex-direction: column;
    z-index: 10;
    transform: translateX(-100%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
}

.aside.open {
    backdrop-filter: blur(15px);
    transform: translateX(0);
}

.separator {
    margin: 0 24px 24px 24px;
    height: 2px;
    background: rgba(var(--skin-color-rgb), 0.6);
}

.aside-header {
    padding: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 105px;
    overflow: hidden;
    display: grid;
    justify-content: center;
}

.aside-header .logo a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-black-900);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.aside-header .logo img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 15px 0 15px 0;
}

.logo a:hover img {
    transform: scale(1.05);
}

.aside-header .logo-text {
    font-family: 'Source Code Pro', monospace;
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 8px;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 0;
    margin: 0;
}

.logo-text::before {
    content: '{ ';
    color: var(--skin-color);
    font-weight: 400;
}

.logo-text::after {
    content: ' }';
    color: var(--skin-color);
    font-weight: 400;
}

.profession {
    font-family: var(--secondary-font-family);
    font-weight: 600;
    font-size: 12px;
    color: var(--skin-color);
    text-align: center;
    position: relative;
    padding: 4px 12px;
    margin: auto;
    background: rgba(var(--skin-color-rgb), 0.1);
    border: 1px solid rgba(var(--skin-color-rgb), 0.4);
    border-radius: 6px;
    backdrop-filter: blur(3px);
    width: fit-content;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(-20px);
    overflow: hidden;
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1) 0.25s;
}

.profession::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--skin-color);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aside-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-section {
    flex: 1;
    display: grid;
    align-items: center;
    width: 100%;
}

.nav-toggler {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-toggler:hover {
    background: rgba(var(--skin-color-rgb), 0.1);
}

.nav-toggler::before {
    content: '';
    width: 25px;
    height: 25px;
    background: var(--text-black-700);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='18' x='3' y='3' rx='2'%3E%3C/rect%3E%3Cpath d='M9 3v18'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
    transition: all 0.3s ease;
}

.nav-toggler:hover::before {
    background: var(--skin-color);
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.5 3C16.7761 3 17 3.22386 17 3.5V16.5L16.9902 16.6006C16.9437 16.8286 16.7417 17 16.5 17C16.2583 17 16.0563 16.8286 16.0098 16.6006L16 16.5V3.5C16 3.22386 16.2239 3 16.5 3ZM8.12793 5.16504C8.28958 4.98547 8.5524 4.95058 8.75293 5.06836L8.83496 5.12793L13.835 9.62793C13.9403 9.72275 14 9.85828 14 10C14 10.1063 13.9667 10.2093 13.9053 10.2939L13.835 10.3721L8.83496 14.8721C8.62972 15.0568 8.31267 15.0402 8.12793 14.835C7.94322 14.6297 7.95984 14.3127 8.16504 14.1279L12.1963 10.5H3.5C3.22386 10.5 3 10.2761 3 10C3 9.72386 3.22386 9.5 3.5 9.5H12.1963L8.16504 5.87207L8.09766 5.79688C7.95931 5.60979 7.96622 5.34471 8.12793 5.16504Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.nav-toggler.open:hover::before {
    background: var(--skin-color);
    mask: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='currentColor' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3.5 3C3.22386 3 3 3.22386 3 3.5V16.5L3.00977 16.6006C3.05632 16.8286 3.25833 17 3.5 17C3.74167 17 3.94368 16.8286 3.99023 16.6006L4 16.5V3.5C4 3.22386 3.77614 3 3.5 3ZM11.8721 5.16504C11.7104 4.98547 11.4476 4.95058 11.2471 5.06836L11.165 5.12793L6.16504 9.62793C6.05972 9.72275 6 9.85828 6 10C6 10.1063 6.03333 10.2093 6.09466 10.2939L6.16504 10.3721L11.165 14.8721C11.3703 15.0568 11.6873 15.0402 11.8721 14.835C12.0568 14.6297 12.0402 14.3127 11.835 14.1279L7.80371 10.5H16.5C16.7761 10.5 17 10.2761 17 10C17 9.72386 16.7761 9.5 16.5 9.5H7.80371L11.835 5.87207L11.9023 5.79688C12.0407 5.60979 12.0338 5.34471 11.8721 5.16504Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    mask-size: contain;
}

.nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav li {
    margin-bottom: 4px;
}

.nav li a {
    display: flex;
    align-items: center;
    padding: 16px;
    color: var(--text-black-900);
    text-decoration: none;
    border-radius: 0 25px 25px 0;
    margin-right: 12px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    width: 56px;
    overflow: hidden;
}

.nav li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--skin-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
    border-radius: 0 4px 4px 0;
}

.nav li a:hover,
.nav li a.active {
    background: rgba(var(--skin-color-rgb), 0.1);
    color: var(--skin-color);
    transform: translateX(8px);
}

.nav li a:hover::before,
.nav li a.active::before {
    transform: scaleY(1);
}

.nav li a i {
    font-size: 18px;
    min-width: 24px;
    text-align: center;
    transition: all 0.3s ease;
    margin-right: 16px;
}

.nav li a:hover i,
.nav li a.active i {
    transform: scale(1.1);
}

.nav-text {
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
}

.aside.open .nav-text,
.aside:hover .nav-text {
    opacity: 1;
    transform: translateX(0);
}

.aside.open .nav li a,
.aside:hover .nav li a {
    width: calc(100% - 24px);
}

.aside-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg,
            transparent 0%,
            rgba(var(--skin-color-rgb), 0.02) 100%);
}

.aside-footer .social-buttons {
    display: flex;
    gap: 0.5rem;
}

.social-buttons__button {
    margin: 0;
}

.social-button {
    border-radius: 8px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: var(--skin-color);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.social-button__inner {
    font-size: 1.2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border-radius: 6px;
    text-align: center;
}

.social-button i {
    font-size: 18px;
    position: relative;
    z-index: 2;
    transition: 0.3s;
}

.social-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    border-radius: 6px;
    transition: 0.3s;
    transform: translate(-50%, -50%);
}

.social-button:focus,
.social-button:hover {
    color: #fff;
    text-decoration: none;
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--skin-color-rgb), 0.2);
}

.social-button:focus::after,
.social-button:hover::after {
    width: 100%;
    height: 100%;
}

.social-button--linkedin::after {
    background: #0077b5;
}

.social-button--github::after {
    background: #6e5494;
}

.social-button--instagram::after {
    background: #C13584;
}

.social-button--email::after {
    background: #2eaae9;
}


/*! === home section === */

.home {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--text-black-900);
}

.hero-container {
    transition: all 0.3s ease;
}

.hero-container:hover {
    border: 2px solid rgba(var(--skin-color-rgb), 0.4);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    justify-self: center;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-black-600);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
    min-height: 4.5rem;
    display: flex;
    align-items: center;
    text-align: justify;
    overflow: hidden;
}

h3.hello {
    font-size: 28px;
    margin: 15px 0;
}

h3.hello span {
    font-family: "Londrina Shadow", sans-serif;
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--skin-color);
}

h3.typing-text {
    font-size: 30px;
    margin: 15px 0;
}

.typing {
    color: var(--skin-color);
    font-family: "Indie Flower", cursive;
    font-weight: var(--secondary-font-weight);
}

.typed-cursor {
    opacity: 1;
}

.cta-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cta-primary {
    background: linear-gradient(135deg, var(--skin-color) 0%, rgba(var(--skin-color-rgb), 0.8) 100%);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(var(--skin-color-rgb), 0.3);
}

.cta-secondary {
    color: var(--text-black-900);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 35px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-secondary:hover {
    background: rgba(var(--skin-color-rgb), 0.1);
    border-color: var(--skin-color);
    color: var(--skin-color);
}

/* Hero Image */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.image-container {
    position: relative;
    width: 230px;
    height: 230px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(45deg, var(--skin-color), rgba(var(--skin-color-rgb), 0.6), #8b5cf6);
}

.profile-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 4px;
    background: var(--bg-black-900);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--glass-border);
}

/*! === About section === */
.about .about-content {
    flex: 0 0 100%;
    max-width: 100%;
}

.section-container {
    width: 100%;
    margin: 20px 0;
}

.section-subtitle {
    text-align: left;
    margin-bottom: 25px;
}

.section-subtitle .title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-black-900);
    position: relative;
    display: inline-block;
}

.section-subtitle .title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    height: 3px;
    width: 50px;
    background-color: var(--skin-color);
}

/* Personal Info Section */
.personal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 40px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--bg-black-50);
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
    cursor: pointer;
}

.info-item:hover {
    border-bottom-color: var(--skin-color);
}

.info-icon {
    position: relative;
    background: var(--border-gradient);
    padding: 2px;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    color: var(--skin-color);
    box-shadow: var(--box-shadow);
    margin-right: 15px;
    z-index: 2;
    transition: all 0.3s ease;
}

.info-icon::before {
    content: "";
    position: absolute;
    inset: 1.2px;
    background: var(--bg-black-100);
    border-radius: inherit;
    z-index: 0;
}

.info-icon ion-icon {
    font-size: 20px;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: translateY(-2px);
}

.info-item:hover .info-icon ion-icon {
    transform: rotate(360deg);
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 14px;
    color: var(--text-black-700);
    margin-bottom: 3px;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: var(--text-black-900);
    font-weight: 600;
    margin: 0;
}

.info-link {
    color: var(--text-black-900);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-item:hover .info-link,
.info-item:hover .info-value {
    color: var(--skin-color);
}

/* hire me icon effect */
.arrow-container {
    display: inline-block;
    position: relative;
    height: 20px;
    width: 15px;
    overflow: hidden;
    transform: rotate(45deg);
    vertical-align: middle;
    margin-top: -3px;
}

.arrowone {
    transition: transform 0.3s ease;
}

.arrowtwo {
    position: absolute;
    bottom: -15px;
    left: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn:hover .arrowone,
a:hover .arrowone {
    transform: translateY(-20px);
}

.btn:hover .arrowtwo,
a:hover .arrowtwo {
    transform: translateY(-15px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Achievements and Skills Section */
#achievements,
#skills {
    background: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

/* Tabs Setup */
.tabs {
    padding: 20px 15px 10px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
}

.tabs .achievements-tab-item,
.tabs .skills-tab-item {
    display: inline-block;
    margin: 0 5px 5px;
    padding: 5px 10px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid var(--bg-black-50);
    color: var(--text-black-700);
    font-weight: var(--secondary-font-weight);
    font-family: var(--secondary-font-family);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tabs .achievements-tab-item:hover,
.tabs .skills-tab-item:hover {
    color: var(--skin-color);
    border-color: var(--skin-color);
    background: rgba(var(--skin-color-rgb), 0.1);
}

.tabs .achievements-tab-item.active,
.tabs .skills-tab-item.active {
    color: #fff;
    border-color: var(--skin-color);
    background: var(--skin-color);
}

.skills-tab-content,
.achievements-tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievements-tab-content.active,
.skills-tab-content.active {
    display: block;
    opacity: 1;
}

/* Skills Section */
.skill-progress {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: conic-gradient(var(--bg-black-50) 0deg, var(--bg-black-50) 360deg);
}

.skill-progress .progress-text {
    position: absolute;
    font-size: 14px;
    font-weight: 600;
    color: var(--skin-color);
}

.about .about-content .skills-container {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 30px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.skills-grid .col {
    display: inline-grid;
}

.skill {
    width: 130px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    padding: 20px 10px;
    border: 1px solid var(--skin-color);
    border-radius: 25px;
    filter: grayscale(80%) brightness(0.9);
    backdrop-filter: blur(1px);
    box-shadow: var(--skill-box-shadow);
    position: relative;
    overflow: hidden;
    animation: pulseIn 0.4s ease-in-out;
    transition: filter 0.3s ease;
}

.skill::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: var(--skill-before-background);
    transition: transform 0.4s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
}

.skill:hover::before {
    transform: translate(50%, 50%);
    opacity: 1;
}

.skill:hover {
    filter: none;
    box-shadow: var(--skill-hover-box-shadow);
}

.skill-image {
    width: 75px;
    height: 75px;
    padding: 8px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.skill:hover .skill-image {
    transform: scale(1.1);
    transition: all 0.4s ease-in-out;
}

.skill-name {

    justify-self: center;
    font-size: 16px;
    font-weight: 600;
    margin: 10px 0;
    color: var(--text-black-900);
}

.skill-percentage {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-black-700);
    transition: color 0.3s ease;
}

.skill:hover .skill-percentage {
    color: var(--skin-color);
}


@keyframes pulseIn {
    0% {
        transform: scale(0.96);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* Achievements Section */
.achievements-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom,
            var(--skin-color) 0%,
            rgba(var(--skin-color-rgb), 0.3) 50%,
            var(--skin-color) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(var(--skin-color-rgb), 0.5);
}

.timeline-item {
    position: relative;
    margin: 40px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-node {
    position: absolute;
    left: 30px;
    top: 30px;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--skin-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--bg-black-900);
    box-shadow: 0 0 20px rgba(var(--skin-color-rgb), 0.6);
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
}

.timeline-node:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(var(--skin-color-rgb), 0.8);
}

.timeline-node i {
    font-size: 24px;
    color: white;
}

.timeline-content {
    left: 70px;
    right: 0;
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(var(--skin-color-rgb), 0.3);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

.timeline-header {
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.timeline-header:hover {
    background: rgba(var(--skin-color-rgb), 0.05);
}

.timeline-date {
    font-family: var(--secondary-font-family);
    font-size: 0.85rem;
    color: var(--skin-color);
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.timeline-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-black-900);
    margin: 0;
    line-height: 1.3;
    display: inline;
    align-items: center;
    justify-content: space-between;
}

.timeline-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
    flex: 1;
}

.timeline-title a:hover {
    color: var(--skin-color);
}

.expand-icon {
    position: absolute;
    top: 40px;
    right: 30px;
    cursor: pointer;
    margin-left: 15px;
    font-size: 1.2rem;
    color: var(--skin-color);
    transition: transform 0.3s ease;
}

.timeline-item.expanded .expand-icon {
    transform: rotate(180deg);
}

.timeline-badges {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.status-indicator,
.award-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-indicator.in-progress {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status-indicator.cert {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.award-badge {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
}

.view-btn {
    color: rgba(var(--skin-color-rgb), 0.8);
    border: 1px solid rgba(var(--skin-color-rgb), 0.3);
    border-radius: 10px;
    padding: 4px 10px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    box-shadow: var(--box-shadow);
}

.view-btn:hover {
    transform: translateY(-1px);
    background: rgba(var(--skin-color-rgb), 0.3);
    color: white;
}

.timeline-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item.expanded .timeline-details {
    max-height: fit-content;
}

.timeline-description {
    padding: 0 30px 30px;
    color: var(--text-black-700);
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    text-align: justify;
    font-size: 1rem;
    line-height: 1.4;
}

.timeline-list {
    list-style: none;
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.timeline-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-black-700);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: start;
}

.timeline-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--skin-color);
    flex-shrink: 0;
    margin-top: 8px;
    box-shadow: 0 0 8px rgba(var(--skin-color-rgb), 0.6);
}

.timeline-item:nth-child(1) {
    transition-delay: 0.1s;
}

.timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.timeline-item:nth-child(3) {
    transition-delay: 0.3s;
}

.timeline-item:nth-child(4) {
    transition-delay: 0.4s;
}

.timeline-item:nth-child(5) {
    transition-delay: 0.5s;
}

.timeline-item:nth-child(6) {
    transition-delay: 0.6s;
}

.timeline-item:nth-child(7) {
    transition-delay: 0.7s;
}

.timeline-item:nth-child(8) {
    transition-delay: 0.8s;
}

/*! === projects section === */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-item {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: pulseIn 0.4s ease-in-out;
}

.project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(236, 24, 57, 0.1);
    border: 1px solid rgba(var(--skin-color-rgb), 0.3);
}

.project-media {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: var(--bg-black-50);
}

.project-media video,
.project-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-item:hover .project-media video,
.project-item:hover .project-media img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--skin-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.project-overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.project-item:hover .project-overlay-content {
    transform: translateY(0);
}

.view-project-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-project-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.project-content {
    padding: 25px;
}

.project-category {
    color: var(--skin-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.project-title {
    color: var(--text-black-900);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.project-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.project-title a:hover {
    color: var(--skin-color);
}


.project-description {
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    color: var(--text-black-700);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-tags {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.project-tags li {
    margin-right: 10px;
    margin-bottom: 10px;
}

.project-tags li a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 14px;
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    color: var(--skin-color);
    background-color: var(--bg-black-50);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--bg-black-50);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.project-tags li a:hover {
    background-color: var(--skin-color);
    color: #fff;
}

.project-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--bg-black-50);
    color: var(--text-black-700);
    padding: 5px 10px;
    border-radius: 25px;
    font-family: var(--primary-font-family);
    font-weight: var(--secondary-font-weight);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--skin-color);
    color: var(--skin-color);
    background: rgba(var(--skin-color-rgb), 0.1);
}

.filter-btn.active {
    color: #fff;
    border-color: var(--skin-color);
    background: var(--skin-color);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    display: flex;
    flex-direction: column;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-black-25);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal-overlay.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    position: relative;
    height: 750px;
    overflow: hidden;
    background: var(--bg-black-50);
}

.modal-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(var(--skin-color-rgb), 0.1);
    color: var(--skin-color);
    border-color: var(--skin-color);
    transform: scale(1.1);
}

.modal-content {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-category {
    color: var(--skin-color);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.modal-title {
    color: var(--text-black-900);
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.modal-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modal-title a:hover {
    color: var(--skin-color);
}

.modal-description {
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    color: var(--text-black-700);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.modal-tags {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;
    flex-wrap: wrap;
}

.modal-tags li {
    margin-right: 10px;
    margin-bottom: 10px;
}

.modal-tags li a {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 14px;
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    color: var(--skin-color);
    background-color: var(--bg-black-50);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--bg-black-50);
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.modal-tags li a:hover {
    background-color: var(--skin-color);
    color: #fff;
}

.modal-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.modal-btn {
    background: var(--skin-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.modal-btn:hover {
    background: var(--skin-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--skin-color-rgb), 0.4);
}

.modal-btn.secondary {
    background: transparent;
    border: 2px solid var(--bg-black-50);
    color: var(--text-black-700);
}

.modal-btn.secondary:hover {
    border-color: var(--skin-color);
    color: var(--skin-color);
    background: rgba(var(--skin-color-rgb) 0.1);
}

.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--bg-black-50);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--skin-color);
    border-radius: 3px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #d1153a;
}

/*! === service section === */
.service .service-item {
    margin-bottom: 30px;
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 15px;
}

.service .service-item .service-item-inner {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service .service-item .service-item-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--skin-gradient);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 20px;
    z-index: -1;
}

.service .service-item .service-item-inner:hover::before {
    opacity: 0.05;
}

.service .service-item .service-item-inner:hover {
    transform: translateY(-8px);
    box-shadow:
        var(--box-shadow),
        0 0 0 1px var(--skin-color),
        0 0 30px rgba(var(--skin-color-rgb), 0.2),
        inset 0 1px 0 var(--glass-border);
    border-color: rgba(var(--skin-color-rgb), 0.3);
}

.service .service-item .service-item-inner .icon {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    background: linear-gradient(135deg,
            rgba(var(--skin-color-rgb), 0.1) 0%,
            rgba(var(--skin-color-rgb), 0.05) 100%);
    border: 2px solid rgba(var(--skin-color-rgb), 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service .service-item .service-item-inner .icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(var(--skin-color-rgb), 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
}

.service .service-item .service-item-inner:hover .icon::before {
    width: 100px;
    height: 100px;
}

.service .service-item .service-item-inner .icon .fa,
.service .service-item .service-item-inner .icon ion-icon {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: var(--skin-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    position: relative;
}

.service .service-item .service-item-inner:hover .icon {
    background: var(--skin-color);
    border-color: var(--skin-color);
    box-shadow:
        0 0 20px rgba(var(--skin-color-rgb), 0.4),
        0 0 40px rgba(var(--skin-color-rgb), 0.2);
    transform: scale(1.1);
}

.service .service-item .service-item-inner:hover .icon .fa,
.service .service-item .service-item-inner:hover .icon ion-icon {
    color: #fff;
    transform: scale(0.9);
}

.service .service-item .service-item-inner h4 {
    font-family: var(--primary-font-family);
    font-size: 20px;
    margin-bottom: 18px;
    color: var(--text-black-900);
    font-weight: 700;
    text-transform: capitalize;
    transition: color 0.3s ease;
    position: relative;
}

.service .service-item .service-item-inner h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--skin-color), transparent);
    transition: width 0.4s ease;
}

.service .service-item .service-item-inner:hover h4::after {
    width: 60px;
}

.service .service-item .service-item-inner p {
    text-align: center;
    font-size: 15px;
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    font-style: var(--secondary-font-style);
    color: var(--text-black-700);
    line-height: 1.6;
    transition: color 0.3s ease;
    margin-top: 10px;
}

.service .service-item .service-item-inner:hover p {
    color: var(--text-black-900);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service .service-item .service-item-inner {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.service .service-item .service-item-inner:focus-within {
    outline: 2px solid var(--skin-color);
    outline-offset: 2px;
    box-shadow:
        var(--box-shadow),
        0 0 0 1px var(--skin-color),
        0 0 30px rgba(var(--skin-color-rgb), 0.2),
        inset 0 1px 0 var(--glass-border);
}

.service .service-item .service-item-inner:hover {
    box-shadow:
        var(--box-shadow),
        0 0 0 1px var(--skin-color),
        0 0 30px rgba(var(--skin-color-rgb), 0.2),
        inset 0 1px 0 var(--glass-border);
}

/*! === contact section === */
.contact .contact-title {
    font-family: var(--secondary-font-family);
    color: var(--skin-color);
    text-align: center;
    font-size: 25px;
    margin-bottom: 10px;
}

.contact .contact-sub-title {
    color: var(--text-black-900);
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    text-align: center;
    font-size: 15px;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.contact .contact-info-item {
    flex: 0 0 25%;
    max-width: 25%;
    text-align: center;
    margin-bottom: 60px;
}

.contact .contact-info-item .icon {
    display: inline-block;
}

.contact .contact-info-item .icon .fa,
.contact .contact-info-item .icon .fab,
.contact .contact-info-item .icon ion-icon {
    font-size: 25px;
    width: 25px;
    height: 25px;
    color: var(--skin-color);
}

.contact .contact-info-item h4 {
    font-family: var(--secondary-font-family);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black-900);
    text-transform: capitalize;
    margin: 15px 0 5px;
}

.contact .contact-info-item p {
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    font-size: 16px;
    line-height: 16px;
    color: var(--text-black-700);
    font-weight: 400;
}

.contact .contact-wrapper {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: clamp(30px, 5vw, 50px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.contact .contact-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--skin-color), transparent);
    opacity: 0.5;
}

.contact .availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 255, 136, 0.05) 100%);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50px;
    padding: 12px 24px;
    font-size: 14px;
    color: #00ff88;
    font-weight: 600;
    margin-bottom: 40px;
    align-self: center;
    position: relative;
    overflow: hidden;
}

.contact .availability-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 136, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.contact .availability-dot {
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
    }
}

.contact .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.contact .contact-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(var(--skin-color-rgb), 0.02) 0%, rgba(var(--skin-color-rgb), 0.01) 100%);
    border-radius: 16px;
    border: 1px solid rgba(var(--skin-color-rgb), 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(var(--skin-color-rgb), 0.03) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact .contact-item:hover::before {
    opacity: 1;
}

.contact .contact-item:hover {
    border-color: rgba(var(--skin-color-rgb), 0.3);
    background: linear-gradient(135deg, rgba(var(--skin-color-rgb), 0.04) 0%, rgba(var(--skin-color-rgb), 0.02) 100%);
}

.contact .contact-icon {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--border-gradient);
    border-radius: 14px;
    font-size: 25px;
    color: var(--skin-color);
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    z-index: 2;
}

.contact .contact-icon::before {
    content: '';
    position: absolute;
    inset: 1.5px;
    background: var(--bg-black-100);
    border-radius: inherit;
    z-index: -1;
}

.contact .contact-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 0;
    height: 0;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.contact .contact-item:hover .contact-icon {
    color: #fff;
}

.contact .contact-item:hover .contact-icon::after {
    width: 100%;
    height: 100%;
}

.contact .contact-item:nth-child(1) .contact-icon::after {
    /* Phone */
    background: #10b981;
}

.contact .contact-item:nth-child(2) .contact-icon::after {
    /* Email */
    background: #3b82f6;
}

.contact .contact-item:nth-child(3) .contact-icon::after {
    /* LinkedIn */
    background: #0077b5;
}

.contact .contact-item:nth-child(4) .contact-icon::after {
    /* GitHub */
    background: #6e5494;
}

.contact .contact-details {
    flex: 1;
    min-width: 0;
}

.contact .contact-label {
    font-family: var(--secondary-font-family);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-black-600);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact .contact-value {
    font-family: var(--secondary-font-family);
    font-size: 16px;
    color: var(--text-black-900);
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contact .contact-link::after {
    bottom: -2px;
    height: 1px;
}

.contact .copy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-black-600);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    overflow: hidden;
}

.contact .copy-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact .copy-button:hover::before {
    opacity: 1;
}

.contact .copy-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(var(--skin-color-rgb), 0.3);
    color: var(--skin-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--skin-color-rgb), 0.15);
}

.contact .copy-button:active {
    transform: translateY(0) scale(0.95);
}

.contact .copy-button.copied {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.contact .copy-icon {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.contact .copy-button:hover .copy-icon {
    transform: scale(1.05);
}

.contact .copy-button .copy-icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.contact .contact-cta {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(var(--skin-color-rgb), 0.1);
}

.contact .contact-cta p {
    color: var(--text-black-600);
    font-size: 16px;
    font-family: var(--secondary-font-family);
    line-height: 1.6;
}

.contact .highlight {
    color: var(--skin-color);
    font-weight: 700;
    position: relative;
}

.contact .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--skin-color);
    opacity: 0.5;
}

/*! === footer === */
.footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    color: var(--text-black-900);
    padding: 1rem;
    text-align: center;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--skin-gradient);
    opacity: 0.8;
}

.footer .logo {
    transition: all 0.3s ease;
}

.footer .logo a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .logo img {
    height: 60px;
    width: auto;
    transition: all 0.4s ease-in-out 0s;
    border: 1px solid transparent;
    border-radius: 50%;
}

.footer .logo img:hover {
    transform: scale(1.05);
    border: 1px solid rgba(var(--skin-color-rgb), 0.8);
    filter: drop-shadow(0 0 10px rgba(var(--skin-color-rgb), 0.3));
}

.copyright {
    font-size: 0.9rem;
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
    color: var(--text-black-700);
    margin-top: 0.5rem;
    opacity: 0.9;
}

.footer-glass {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
}

/*! === responsive styles === */
@media (min-width: 1200px) {
    .aside {
        width: 70px;
        transform: translateX(0);
        transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .aside:hover {
        width: 240px;
        background: rgba(var(--skin-color-rgb), 0.05);
        backdrop-filter: blur(15px);
        overflow-y: auto;
    }

    .aside:hover .logo-text,
    .aside:hover .nav-text,
    .aside:hover .profession,
    .aside:hover .contact-info-section,
    .aside:hover .aside-footer {
        opacity: 1;
        transform: translateX(0);
    }

    .aside:hover .logo img {
        width: 65px;
        height: 65px;

    }

    .aside .logo-text,
    .aside .nav-text,
    .aside .profession,
    .aside .contact-info-section,
    .aside .aside-footer {
        opacity: 0;
        transform: translateX(-20px);
        transition: all 0.3s ease 0.15s;
    }

    .aside .logo img {
        width: 40px;
        height: 40px;
    }

    .aside:hover .aside-header {
        height: 220px;
    }

    .aside:hover .logo-text,
    .aside:hover .profession {
        max-height: 28px;
        height: auto;
        transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0s;
    }

    .aside:hover .profession::after {
        opacity: 1;
    }

    .section {
        margin-left: 70px;
        padding: 60px 100px;
    }

    .nav-toggler {
        display: none;
    }

    .contact .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }

    .footer {
        margin-left: 70px;
    }
}

@media (max-width: 1199px) {

    .aside.open .aside-header {
        height: 220px;
    }

    .aside.open .profession::after {
        opacity: 1;
    }

    .aside.open .logo-text,
    .aside.open .profession {
        opacity: 1;
        transform: translateY(0);
        height: auto;
    }

    .about .about-content .personal-info .info-item p span {
        display: block;
        margin-left: 0;
    }

    .footer {
        margin-left: 0;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-image {
        order: -1;
        margin-bottom: 0;
        margin-top: 12px;
    }

    .image-container {
        width: 210px;
        height: 210px;
        margin: 0 auto;
    }

    .profile-wrapper {
        width: 180px;
        height: 180px;
    }

    .orbit-ring {
        width: 260px;
        height: 260px;
    }
}

@media (max-width: 991px) {
    .skill {
        width: 120px;
    }

    .service .service-item {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 860px) {
    .about .about-content .timeline-box {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .code-text {
        font-size: 10px;
        padding: 3px 6px;
    }

    .code-text.section-indicator {
        font-size: 11px;
    }

    .section {
        margin-left: 0;
        padding: 80px 15px 20px;
    }

    .code-text {
        font-size: 10px;
        padding: 3px 6px;
    }

    .home {
        padding: 0 1rem;
    }

    .cta-section {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-primary,
    .cta-secondary {
        text-align: center;
        justify-content: center;
    }

    .social-buttons {
        justify-content: center;
    }

    .typing-container {
        min-width: 200px;
        text-align: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        min-height: 4rem;
    }

    .project .project-item,
    .service .service-item,
    .about .about-content .activities,
    .about .about-content .certifications {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .info-title {
        font-size: 13px;
    }

    .info-value {
        font-size: 15px;
    }

    .skills-grid {
        gap: 15px;
    }


    .timeline-container::before {
        left: -15px;
    }

    .timeline-node {
        left: -15px;
        width: 50px;
        height: 50px;
    }

    .timeline-node i {
        font-size: 20px;
    }

    .timeline-content {
        left: 48px;
        right: 0;
        width: auto;
        margin-left: -32px;
        margin-right: 0;
    }

    .timeline-content::before {
        display: none;
    }

    .timeline-header {
        padding: 20px;
    }

    .timeline-description {
        padding: 0 15px 15px;
        text-align: start;
    }

    .timeline-title {
        font-size: 1.2rem;
    }


    .modal-container {
        width: 95%;
        max-height: 85vh;
    }

    .modal-header {
        height: 450px;
    }

    .modal-content {
        padding: 20px;
        max-height: 50vh;
    }

    .modal-title {
        font-size: 24px;
    }

    .modal-actions {
        flex-direction: column;
    }

    .modal-btn {
        justify-content: center;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-media {
        height: 200px;
    }

    .project-filter {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 14px;
    }

    .service .service-item {
        margin-bottom: 25px;
    }

    .service .service-item .service-item-inner {
        padding: 30px 20px;
    }

    .service .service-item .service-item-inner .icon {
        height: 70px;
        width: 70px;
        margin-bottom: 20px;
    }

    .service .service-item .service-item-inner .icon .fa,
    .service .service-item .service-item-inner .icon ion-icon {
        font-size: 28px;
        width: 28px;
        height: 28px;
    }

    .service .service-item .service-item-inner h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .service .service-item .service-item-inner p {
        font-size: 14px;
        line-height: 1.5;
    }

    .contact .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact .contact-item {
        padding: 18px;
    }

    .contact .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .contact .contact-wrapper {
        padding: 25px 20px;
    }

    .contact .contact-value {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .contact .copy-button {
        align-self: flex-end;
    }

    .contact .copy-icon {
        width: 14px;
        height: 14px;
    }

    .footer .logo img {
        height: 50px;
    }

    .copyright {
        font-size: 0.7rem;
    }
}

@media (max-width: 660px) {
    .home .home-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home .home-img {
        display: none;
    }

    .modal-header {
        height: 300px;
    }
}

@media (max-width: 550px) {
    .modal-header {
        height: 250px;
    }
}

@media (max-width: 450px) {
    .modal-header {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .code-text {
        font-size: 9px;
        padding: 2px 4px;
    }

    .code-text.section-indicator {
        font-size: 10px;
    }

    .image-container {
        width: 190px;
        height: 190px;
    }

    .profile-wrapper {
        width: 160px;
        height: 160px;
    }

    .orbit-ring {
        width: 240px;
        height: 240px;
    }

    .status-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    .typing-container {
        min-width: 180px;
        font-size: 0.75em;
        text-align: center;
    }

    .hero-subtitle {
        min-height: 3.5rem;
        font-size: 1rem;
    }


    .section-title h2 {
        font-size: 32px;
    }

    .personal-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .personal-info-container .section-subtitle {
        text-align: center;
    }

    .personal-info-container .section-subtitle .title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .project-content {
        padding: 20px;
    }

    .project-title {
        font-size: 20px;
    }

    .contact .contact-item {
        padding: 16px;
        gap: 14px;
    }

    .contact .contact-icon {
        width: 48px;
        height: 48px;
    }

    .contact .contact-wrapper {
        padding: 20px 16px;
        margin: 0 10px;
    }
}

@media (max-width: 390px) {
    .modal-header {
        height: 160px;
    }
}