@import url('https://fonts.googleapis.com/css2?family=Clicker+Script&family=poppins:wght@200;300;400;500;600;700&display=swap');

: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;
    --box-shadow: 0 20px 60px rgba(255, 255, 255, 0.5);
    --box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(236, 24, 57, 0.1);
    --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;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 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;
    --box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --box-shadow: ;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --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;
}

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

ul {
    list-style: none;
}

textarea {
    resize: vertical;
}

.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;
}

/* === Section Styles === */
.section {
    min-height: 100vh;
    display: block;
    padding: 0 30px;
    opacity: 1;
    position: relative;
    margin-left: 269px;
    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%);
    }
}

.hidden {
    display: none !important;
}

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

/* === Background Animation === */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 10% 10%, rgba(var(--skin-color-rgb), 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 90% 20%, rgba(var(--skin-color-rgb), 0.06) 0%, transparent 40%),
        radial-gradient(ellipse at 20% 80%, rgba(144, 20, 106, 0.05) 0%, transparent 40%),
        radial-gradient(ellipse at 80% 90%, rgba(var(--skin-color-rgb), 0.04) 0%, transparent 40%),
        linear-gradient(135deg, var(--bg-black-900) 0%, var(--bg-black-100) 50%, var(--bg-black-50) 100%);
}

/* Enhanced Circuit Lines with Segments */
.circuit-line {
    position: absolute;
    background: var(--circuit-color);
    box-shadow:
        0 0 4px var(--circuit-glow),
        0 0 8px rgba(var(--skin-color-rgb), 0.3),
        inset 0 0 2px rgba(255, 255, 255, 0.1);
    border-radius: 1px;
}

.circuit-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--skin-color) 20%,
            var(--skin-color) 80%,
            transparent 100%);
    transform: translateY(-50%);
    animation: dataStream 3s ease-in-out infinite;
}

/* Complex Circuit Pathways */
.circuit-h1 {
    width: 350px;
    height: 3px;
    top: 15%;
    left: 8%;
    animation: pulseFlow 4s ease-in-out infinite;
}

.circuit-h2 {
    width: 280px;
    height: 2px;
    top: 35%;
    right: 12%;
    animation: pulseFlow 4s ease-in-out infinite 1s;
}

.circuit-h3 {
    width: 320px;
    height: 3px;
    top: 55%;
    left: 15%;
    animation: pulseFlow 4s ease-in-out infinite 2s;
}

.circuit-h4 {
    width: 220px;
    height: 2px;
    top: 75%;
    right: 8%;
    animation: pulseFlow 4s ease-in-out infinite 3s;
}

.circuit-h5 {
    width: 180px;
    height: 2px;
    top: 25%;
    left: 50%;
    animation: pulseFlow 4s ease-in-out infinite 0.5s;
}

.circuit-v1 {
    width: 3px;
    height: 250px;
    top: 8%;
    left: 22%;
    animation: pulseFlow 5s ease-in-out infinite 0.5s;
}

.circuit-v2 {
    width: 2px;
    height: 180px;
    top: 35%;
    right: 25%;
    animation: pulseFlow 5s ease-in-out infinite 2.5s;
}

.circuit-v3 {
    width: 3px;
    height: 200px;
    bottom: 12%;
    left: 65%;
    animation: pulseFlow 5s ease-in-out infinite 1.5s;
}

.circuit-v4 {
    width: 2px;
    height: 160px;
    top: 20%;
    left: 80%;
    animation: pulseFlow 5s ease-in-out infinite 3.5s;
}

/* Enhanced Circuit Nodes with Rings */
.circuit-node {
    position: absolute;
    border-radius: 50%;
    background: var(--skin-color);
    box-shadow:
        0 0 15px var(--circuit-glow),
        0 0 30px rgba(var(--skin-color-rgb), 0.4),
        0 0 45px rgba(var(--skin-color-rgb), 0.2),
        inset 0 0 8px rgba(255, 255, 255, 0.3);
    animation: nodePulse 3s ease-in-out infinite;
}

.circuit-node::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid rgba(var(--skin-color-rgb), 0.3);
    border-radius: 50%;
    animation: nodeRing 4s ease-in-out infinite;
}

.circuit-node::after {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: -16px;
    bottom: -16px;
    border: 1px solid rgba(var(--skin-color-rgb), 0.15);
    border-radius: 50%;
    animation: nodeRing 4s ease-in-out infinite 2s;
}

.node-1 {
    width: 12px;
    height: 12px;
    top: calc(15% - 6px);
    left: calc(22% - 6px);
    animation-delay: 0s;
}

.node-2 {
    width: 16px;
    height: 16px;
    top: calc(35% - 8px);
    right: calc(12% - 8px);
    animation-delay: 1s;
}

.node-3 {
    width: 10px;
    height: 10px;
    top: calc(55% - 5px);
    left: calc(15% - 5px);
    animation-delay: 2s;
}

.node-4 {
    width: 14px;
    height: 14px;
    bottom: calc(12% - 7px);
    left: calc(65% - 7px);
    animation-delay: 1.5s;
}

.node-5 {
    width: 8px;
    height: 8px;
    top: calc(25% - 4px);
    left: calc(50% - 4px);
    animation-delay: 3s;
}

/* Advanced Microchips with Pins */
.microchip {
    position: absolute;
    background:
        linear-gradient(135deg,
            rgba(var(--skin-color-rgb), 0.15) 0%,
            rgba(var(--skin-color-rgb), 0.05) 100%);
    border: 2px solid var(--circuit-color);
    border-radius: 4px;
    box-shadow:
        0 0 10px rgba(var(--skin-color-rgb), 0.3),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    animation: chipGlow 6s ease-in-out infinite;
}

.microchip::before,
.microchip::after {
    content: '';
    position: absolute;
    background: var(--circuit-color);
    box-shadow: 0 0 4px var(--circuit-glow);
}

.chip-1 {
    width: 50px;
    height: 25px;
    top: 22%;
    left: 40%;
    animation-delay: 0s;
}

.chip-1::before {
    width: 3px;
    height: 12px;
    top: -12px;
    left: 10px;
}

.chip-1::after {
    width: 3px;
    height: 12px;
    bottom: -12px;
    right: 10px;
}

.chip-2 {
    width: 35px;
    height: 20px;
    top: 65%;
    right: 20%;
    animation-delay: 2s;
}

.chip-2::before {
    width: 2px;
    height: 8px;
    top: -8px;
    left: 8px;
}

.chip-2::after {
    width: 2px;
    height: 8px;
    bottom: -8px;
    right: 8px;
}

.chip-3 {
    width: 40px;
    height: 15px;
    top: 45%;
    left: 70%;
    animation-delay: 4s;
}

.chip-3::before {
    width: 2px;
    height: 6px;
    top: -6px;
    left: 6px;
}

.chip-3::after {
    width: 2px;
    height: 6px;
    bottom: -6px;
    right: 6px;
}

/* Enhanced Data Flow Particles */
.data-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--data-color);
    border-radius: 50%;
    box-shadow:
        0 0 12px rgba(var(--skin-color-rgb), 0.9),
        0 0 24px rgba(var(--skin-color-rgb), 0.5);
    animation: dataFlow 8s linear infinite;
}

.data-particle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 10px;
    height: 10px;
    border: 1px solid rgba(var(--skin-color-rgb), 0.3);
    border-radius: 50%;
    animation: particleRing 2s ease-in-out infinite;
}

.particle-1 {
    top: calc(15% - 3px);
    left: 8%;
    animation-delay: 0s;
}

.particle-2 {
    top: calc(35% - 3px);
    right: 292px;
    animation-delay: 2s;
    animation-name: dataFlowReverse;
}

.particle-3 {
    top: calc(55% - 3px);
    left: 15%;
    animation-delay: 4s;
}

.particle-4 {
    top: calc(25% - 3px);
    left: 50%;
    animation-delay: 1s;
}

.particle-5 {
    top: calc(75% - 3px);
    right: 8%;
    animation-delay: 3s;
    animation-name: dataFlowReverse;
}

/* Holographic Binary Matrix */
/* .binary-rain {
    position: absolute;
    color: rgba(var(--skin-color-rgb), 0.5);
    font-size: 14px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(var(--skin-color-rgb), 0.8);
    animation: binaryFall 12s linear infinite;
    line-height: 1.2;
}

.binary-1 {
    top: -80px;
    left: 12%;
    animation-delay: 0s;
}

.binary-2 {
    top: -80px;
    left: 88%;
    animation-delay: 4s;
}

.binary-3 {
    top: -80px;
    left: 45%;
    animation-delay: 8s;
}

.binary-4 {
    top: -80px;
    left: 65%;
    animation-delay: 2s;
}

.binary-5 {
    top: -80px;
    left: 25%;
    animation-delay: 6s;
} */

/* Enhanced Grid with Depth */
.grid-overlay {
    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: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
    animation: gridShift 25s linear infinite;
}

/* Floating Code Fragments */
.code-fragment {
    position: absolute;
    color: rgb(var(--skin-color-rgb));
    font-family: 'Courier New', monospace;
    font-size: 10px;
    background: rgba(var(--skin-color-rgb), 0.09);
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid rgba(var(--skin-color-rgb), 0.1);
    animation: codeFloat 15s ease-in-out infinite;
}

.code-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.code-2 {
    top: 5%;
    left: 10%;
    animation-delay: 5s;
}

.code-3 {
    top: 40%;
    right: 35%;
    animation-delay: 10s;
}

.code-4 {
    top: 80%;
    left: 35%;
    animation-delay: 12s;
}

/* Quantum Dots */
.quantum-dot {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--skin-color);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(var(--skin-color-rgb), 0.8);
    animation: quantumFloat 20s ease-in-out infinite;
}

.quantum-1 {
    top: 30%;
    left: 35%;
    animation-delay: 0s;
}

.quantum-2 {
    top: 60%;
    left: 55%;
    animation-delay: 3s;
}

.quantum-3 {
    top: 80%;
    left: 75%;
    animation-delay: 6s;
}

.quantum-4 {
    top: 25%;
    left: 85%;
    animation-delay: 9s;
}

.quantum-5 {
    top: 50%;
    left: 15%;
    animation-delay: 12s;
}

.quantum-6 {
    top: 10%;
    left: 60%;
    animation-delay: 15s;
}

/* === Animation Keyframes === */
@keyframes pulseFlow {

    0%,
    100% {
        opacity: 0.4;
        box-shadow: 0 0 4px var(--circuit-glow);
        transform: scale(1);
    }

    50% {
        opacity: 1;
        box-shadow:
            0 0 15px var(--circuit-glow),
            0 0 30px rgba(var(--skin-color-rgb), 0.5),
            0 0 45px rgba(var(--skin-color-rgb), 0.2);
        transform: scale(1.02);
    }
}

@keyframes dataStream {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}

@keyframes nodePulse {

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

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

@keyframes nodeRing {

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

    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

@keyframes chipGlow {

    0%,
    100% {
        border-color: var(--circuit-color);
        box-shadow: 0 0 10px rgba(var(--skin-color-rgb), 0.3);
    }

    50% {
        border-color: var(--skin-color);
        box-shadow: 0 0 20px rgba(var(--skin-color-rgb), 0.6);
    }
}

@keyframes dataFlow {
    0% {
        transform: translateX(0) scale(0.5);
        opacity: 0;
    }

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

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(350px) scale(0.5);
        opacity: 0;
    }
}

@keyframes dataFlowReverse {
    0% {
        transform: translateX(0) scale(0.5);
        opacity: 0;
    }

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

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(-280px) scale(0.5);
        opacity: 0;
    }
}

@keyframes particleRing {

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

    50% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* @keyframes binaryFall {
    0% {
        transform: translateY(-80px);
        opacity: 0;
    }

    10% {
        opacity: 0.8;
    }

    90% {
        opacity: 0.4;
    }

    100% {
        transform: translateY(calc(100vh + 80px));
        opacity: 0;
    }
} */

@keyframes gridShift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(40px, 40px);
    }
}

@keyframes codeFloat {

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

    25% {
        transform: translateY(-20px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-10px);
        opacity: 0.6;
    }

    75% {
        transform: translateY(-25px);
        opacity: 0.8;
    }
}

@keyframes quantumFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(30px, -20px) scale(1.5);
        opacity: 0.8;
    }

    50% {
        transform: translate(-20px, -40px) scale(0.8);
        opacity: 0.5;
    }

    75% {
        transform: translate(40px, -10px) scale(1.2);
        opacity: 0.7;
    }
}

/* === General Layout Styles === */
.container {
    max-width: 1100px;
    width: 100%;
    margin: auto;
}

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

.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);
}

.Box.shadowEffect {
    transition: box-shadow 0.3s ease;
}

.Box.shadowEffect:hover {
    box-shadow: 0 0 20px 5px var(--skin-color);
}

/* 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: 999;
    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;
}

.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;
    position: relative;
}

.section-title h2::before {
    content: '';
    height: 4px;
    width: 50px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
}

.section-title h2::after {
    content: '';
    height: 4px;
    width: 25px;
    background-color: var(--skin-color);
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
}

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

.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 {
    /* margin-right: 10px; */
    font-family: var(--primary-font-family);
    font-weight: var(--primary-font-weight);
    color: var(--skin-color);
}

/* download icon effect */
.downloadtwo {
    position: absolute;
    bottom: 20px;
    left: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn:hover .downloadtwo {
    transform: translateY(20px);
}

.btn:hover .downloadone {
    transform: translateY(20px);
}

.icon-box {
    position: relative;
    display: inline-block;
    width: 12px;
    height: 20px;
    vertical-align: middle;
    overflow: hidden;
    bottom: 3px;
}

.shadow-dark {
    box-shadow: 0 0 20px rgba(48, 46, 77, 0.15);
}

/* 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;
    /*Move the icon container slightly up*/
}

.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);
}

/* aside */
.aside {
    width: 270px;
    background: var(--bg-black-100);
    position: fixed;
    left: 0;
    top: 0;
    padding: 30px;
    height: 100%;
    border-right: 1px solid var(--bg-black-50);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    transition: left 0.3s ease, transform 0.3s ease;
}

.aside .logo {
    position: absolute;
    top: 50px;
}

.aside .logo a {
    display: inline-block;
    position: relative;
}

.aside .logo a img {
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
}

.aside .nav-toggler {
    height: 40px;
    width: 45px;
    border: 1px solid var(--bg-black-50);
    cursor: pointer;
    position: fixed;
    left: 290px;
    top: 20px;
    border-radius: 5px;
    background: var(--bg-black-100);
    display: none;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.aside .nav-toggler span {
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    display: inline-block;
    position: relative;
}

.aside .nav-toggler.open span {
    background-color: transparent;
}

.aside .nav-toggler span:before {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: -6px;
    left: 0;
}

.aside .nav-toggler.open span::before {
    transform: rotate(45deg);
    top: 0;
}

.aside .nav-toggler span::after {
    content: '';
    height: 2px;
    width: 18px;
    background: var(--skin-color);
    position: absolute;
    top: 6px;
    left: 0;
}

.aside .nav-toggler.open span::after {
    transform: rotate(-45deg);
    top: 0;
}

.aside .nav {
    margin-top: 50px;
}

.aside .nav li {
    margin-bottom: 20px;
    display: block;
}

.aside .nav li a {
    font-size: 16px;
    font-weight: 600;
    display: block;
    border-bottom: 1px solid var(--bg-black-50);
    color: var(--text-black-900);
    padding: 5px 15px;
}

.aside .nav li a.active {
    color: var(--skin-color);
}

.aside .nav li a i {
    margin-right: 15px;
}

/* home section */
.home {
    min-height: 100vh;
    display: flex;
    color: var(--text-black-900);
}

.home .home-info {
    flex: 0 0 60%;
    max-width: 60%;
}

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.my-profession {
    font-size: 30px;
    margin: 15px 0;
}

.typing {
    color: var(--skin-color);
    font-family: var(--secondary-font-family);
    font-weight: var(--secondary-font-weight);
}

.home-info p {
    margin-bottom: 70px;
    font-size: 20px;
    color: var(--text-black-700);
}

.home .home-img {
    padding: 20px;
    flex: 0 0 40%;
    max-width: 40%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home .home-img img {
    margin: auto;
    border-radius: 20px;
    /* height: auto; */
    width: 75%;
}

.cv-button {
    align-items: center;
    flex-direction: column;
    margin-top: 100px;
}

.social-buttons {
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.social-buttons__button {
    margin: 5px;
}

.social-button {
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    outline: none;
    width: 35px;
    height: 35px;
    text-decoration: none;
    color: var(--skin-color);
}

.social-icons {
    width: 100%;
}

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

.social-button i,
.social-button svg {
    position: relative;
    z-index: 1;
    transition: 0.3s;
}

.social-button i {
    font-size: 20px;
}

.social-button svg {
    height: 40%;
    width: 40%;
}

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

.social-button:focus,
.social-button:hover {
    color: #fff;
    text-decoration: none;
    border: none;
}

.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;
}

/* 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 {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 15px;
    background-color: var(--bg-black-50);
    color: var(--skin-color);
    transition: all 0.3s ease;
}

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

.info-item:hover .info-icon {
    background-color: var(--skin-color);
    color: #fff;
    transform: rotate(360deg);
}

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

.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-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

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

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

#achievements,
#skills {
    background: transparent;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
}

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

.tabs .about-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 .about-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 .about-tab-item.active,
.tabs .skills-tab-item.active {
    color: #fff;
    border-color: var(--skin-color);
    background: var(--skin-color);
}

/* .tabs .tab-item.active:hover {
    color: #fff;
    border: 1px solid var(--skin-color);
    background: rgba(var(--skin-color-rgb), 0.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;
    background-color: transparent;
    border: 1px solid var(--skin-color);
    border-radius: 25px;
    filter: grayscale(85%) brightness(0.9);
    box-shadow: var(--skill-box-shadow);
    -webkit-box-shadow: var(--skill-webkit-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 */

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

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

.tabs .about-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;
}

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

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

/* Tab Content */
.about-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Timeline Line */
.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 */
.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 */
.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 Arrow */
.timeline-content::before {
    content: '';
    position: absolute;
    top: 40px;
    width: 0;
    height: 0;
    border: 15px solid transparent;
}

/* Timeline Header (Always Visible) */
.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);
}

/* Status and Award Badges */
.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.completed {
    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;
}

/* Collapsible Details */
.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(--bg-black-25);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    /* transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); */
    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);
}

.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 */
.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;
}

/* Filter Buttons */
.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);
}

@media (max-width: 768px) {
    .section {
        margin-left: 0;
        padding: 0 20px;
    }

    .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;
    }

    .section-subtitle h3 {
        font-size: 2rem;
    }

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

    .project-media {
        height: 200px;
    }

    .project-filter {
        gap: 10px;
    }

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

    .footer {
        padding: 1.5rem 1rem;
    }

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

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

@media (max-width: 480px) {
    .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;
    }

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

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

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    z-index: 1000;
    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);
}

/* Custom Scrollbar for Modal Content */
.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 {
    font-size: 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 {
    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);
}

.footer {
    background: var(--glass-bg);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-black-900);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: auto;
    margin-left: 269px;
    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 {
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    background: var(--skin-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(var(--skin-color-rgb), 0.3));
}

.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-color: var(--skin-color);
}

.copyright {
    font-size: 1rem;
    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);
}


@media (max-width: 1199px) {
    .section .container {
        padding-top: 70px;
    }

    .aside {
        left: -270px;
    }

    .aside.open {
        left: 0;
        z-index: 20
    }

    .aside .nav-toggler {
        display: flex;
        left: 20px;
    }

    .aside .nav-toggler.open {
        left: 300px;
    }

    .section {
        margin-left: 0;
        transition: transform 0.3s ease;
        transform: translateX(0);
    }

    .section.open {
        filter: brightness(0.5);
        backdrop-filter: blur(10px);
    }

    .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: 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: 767px) {

    .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;
    }

    .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;
    }

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

    .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 {
        font-size: 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;
    }
}

@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) {
    .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;
    }

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