@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,700;12..96,800&family=Figtree:wght@400;500;600;700&display=swap');

:root {
    --bg-black-900: #1a1423;
    --bg-black-100: #e6dfd4;
    --bg-black-50: #f6f0e6;
    --bg-opacity: rgba(246, 240, 230, 0.8);
    --text-black-900: #1a1423;
    --text-black-700: #2c2438;
    --text-black-600: #5c5468;
    --text-black-300: #b7afc0;
    --outer-shadow: 0 18px 40px rgba(70, 30, 80, 0.08);
    --outer-shadow-0: 0 8px 20px rgba(70, 30, 80, 0.05);
    --inner-shadow: inset 0 0 0 1px rgba(26, 20, 35, 0.06);
    --inner-shadow-0: inset 0 0 0 1px transparent;
    --card: rgba(255, 252, 247, 0.78);
    --line: rgba(26, 20, 35, 0.1);
    --violet: #6c4dff;
    --amber: #ffb703;
    --ink: #1a1423;
}

body.dark {
    --bg-black-900: #f7f3ec;
    --bg-black-100: #3a3348;
    --bg-black-50: #100e17;
    --bg-opacity: rgba(16, 14, 23, 0.78);
    --text-black-900: #f7f3ec;
    --text-black-700: #f3eee6;
    --text-black-600: #c8c0d2;
    --text-black-300: #7d758a;
    --outer-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
    --outer-shadow-0: 0 8px 18px rgba(0, 0, 0, 0.25);
    --inner-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    --inner-shadow-0: inset 0 0 0 1px transparent;
    --card: rgba(30, 26, 42, 0.82);
    --line: rgba(255, 255, 255, 0.1);
    --ink: #f7f3ec;
    color-scheme: dark;
}

body {
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    color: var(--text-black-600);
    color-scheme: light;
    background-color: var(--bg-black-50);
    background-image:
        radial-gradient(ellipse 80% 50% at 0% -10%, color-mix(in srgb, var(--skin-color) 32%, transparent), transparent),
        radial-gradient(ellipse 55% 40% at 100% 0%, color-mix(in srgb, var(--violet) 26%, transparent), transparent),
        radial-gradient(ellipse 45% 35% at 85% 100%, color-mix(in srgb, var(--amber) 22%, transparent), transparent);
    background-attachment: fixed;
}

body.dark {
    background-color: var(--bg-black-50);
    background-image:
        radial-gradient(ellipse 70% 45% at 0% -10%, color-mix(in srgb, var(--skin-color) 38%, transparent), transparent),
        radial-gradient(ellipse 50% 40% at 100% 8%, color-mix(in srgb, var(--violet) 34%, transparent), transparent),
        radial-gradient(ellipse 40% 30% at 75% 100%, color-mix(in srgb, var(--amber) 18%, transparent), transparent);
}

body::before {
    content: "";
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: 1;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

body.hidden-scrolling {
    overflow-y: hidden;
}

*:not(i) {
    font-family: "Figtree", "Segoe UI", sans-serif;
    font-weight: 400;
}

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

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

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

:focus-visible {
    outline: 2px solid var(--skin-color);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
.logo a,
.section-title h2,
.nav-menu ul li a,
.marquee-track span {
    font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

.container {
    max-width: 1140px;
    margin: auto;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.justify-content-between {
    justify-content: space-between;
}

.outer-shadow {
    box-shadow: var(--outer-shadow);
}

.inner-shadow {
    box-shadow: none;
}

.hover-in-shadow {
    position: relative;
    z-index: 1;
}

.hover-in-shadow:hover {
    box-shadow: var(--outer-shadow-0);
}

.hover-in-shadow:after {
    display: none;
}

.align-items-center {
    align-items: center;
}

.btn-1,
.btn-2 {
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    border-radius: 999px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    display: inline-block;
    border: none;
}

.btn-1 {
    color: #fff;
    background: linear-gradient(120deg, var(--skin-color), color-mix(in srgb, var(--skin-color) 45%, var(--violet)));
    box-shadow: 0 14px 30px color-mix(in srgb, var(--skin-color) 32%, transparent);
}

.btn-1:hover {
    transform: translateY(-3px);
    color: #fff;
}

.btn-2 {
    color: var(--text-black-900);
    background: var(--card);
    border: 2px solid color-mix(in srgb, var(--skin-color) 45%, var(--line));
}

.btn-2:hover {
    transform: translateY(-3px);
    color: var(--skin-color);
    border-color: var(--skin-color);
}

.effect-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.effect-wrap .effect {
    position: absolute;
    z-index: 0;
}

.effect-2 div,
.effect-5 div {
    display: none;
}

.effect-1 {
    width: 90px;
    height: 90px;
    border: 8px solid color-mix(in srgb, var(--skin-color) 70%, #fff);
    border-radius: 24px;
    right: 8%;
    bottom: 18%;
    animation: spin 14s linear infinite;
}

.effect-2 {
    left: -80px;
    bottom: 8%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--amber) 70%, #fff);
    filter: blur(30px);
    opacity: 0.45;
    animation: topBounce 7s ease-in-out infinite;
}

.effect-3 {
    height: 320px;
    width: 320px;
    border: none;
    border-radius: 50%;
    background: color-mix(in srgb, var(--skin-color) 55%, transparent);
    filter: blur(20px);
    left: 48%;
    top: -160px;
    opacity: 0.55;
    animation: leftBounce 8s ease-in-out infinite;
}

.effect-4 {
    width: 54px;
    height: 54px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--amber), #ff6b3d);
    left: 42%;
    top: 18%;
    animation: spin 16s linear infinite;
}

.effect-4:before {
    display: none;
}

.effect-5 {
    height: 220px;
    width: 220px;
    right: -60px;
    top: 22%;
    border-radius: 50%;
    background: color-mix(in srgb, var(--violet) 70%, #fff);
    filter: blur(24px);
    opacity: 0.4;
    animation: spin 22s linear infinite;
}

@keyframes leftBounce {
    0%,
    100% { transform: translateX(0); }
    50% { transform: translateX(28px); }
}

@keyframes topBounce {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(24px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInTop {
    0% {
        opacity: 0;
        transform: translateY(-18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sectionIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.section {
    position: relative;
}

.section.active {
    animation: sectionIn 0.5s ease;
}

.section-title {
    padding: 0 15px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    display: inline-block;
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 800;
    color: var(--text-black-900);
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1;
}

.section-title h2:before {
    content: attr(data-heading);
    display: block;
    font-family: "Figtree", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--skin-color);
    margin-bottom: 10px;
}

.section-title h2:after {
    content: "";
    display: block;
    width: 74px;
    height: 5px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--skin-color), var(--amber));
}

.section.hide {
    display: none;
}

.preloader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1500;
    background-color: var(--bg-black-50);
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader.fade-out {
    opacity: 0;
    transition: all 0.6s ease;
}

.preloader .box {
    width: 72px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.preloader .box div {
    height: 16px;
    width: 16px;
    background-color: var(--skin-color);
    border-radius: 50%;
    animation: loaderAni 1s ease infinite;
}

.preloader .box div:nth-child(2) {
    background: var(--violet);
    animation-delay: 0.1s;
}

.preloader .box div:nth-child(3) {
    background: var(--amber);
    animation-delay: 0.2s;
}

@keyframes loaderAni {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}

/* header */

.header {
    position: fixed;
    top: 16px;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 0 20px;
}

.header-bar {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 10px 8px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-black-50) 72%, transparent);
    border: 1px solid var(--line);
    box-shadow: var(--outer-shadow);
    backdrop-filter: blur(16px);
}

.header .logo a {
    display: grid;
    place-items: center;
    height: 46px;
    width: 46px;
    font-size: 22px;
    color: #fff;
    border-radius: 50%;
    border: none;
    font-weight: 800;
    background: linear-gradient(140deg, var(--skin-color), var(--violet));
    box-shadow: 0 8px 18px color-mix(in srgb, var(--skin-color) 35%, transparent);
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.desktop-nav .link-item {
    color: var(--text-black-700);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    text-transform: capitalize;
    box-shadow: none;
    background: transparent;
}

.desktop-nav .link-item:hover {
    color: var(--skin-color);
    box-shadow: none;
}

.desktop-nav .link-item.active {
    background: var(--skin-color);
    color: #fff;
    box-shadow: none;
}

.header .humburger-btn {
    display: none;
    height: 46px;
    width: 46px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: none;
}

.header .humburger-btn span {
    display: block;
    height: 2px;
    width: 16px;
    background-color: var(--text-black-900);
    position: relative;
}

.header .humburger-btn span:before,
.header .humburger-btn span:after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--text-black-900);
}

.header .humburger-btn span:before { top: -6px; }
.header .humburger-btn span:after { top: 6px; }

/* nav overlay */

.nav-menu {
    position: fixed;
    padding: 0 15px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    background:
        radial-gradient(520px 320px at 15% 20%, color-mix(in srgb, var(--skin-color) 42%, transparent), transparent 70%),
        radial-gradient(420px 280px at 85% 80%, color-mix(in srgb, var(--violet) 40%, transparent), transparent 70%),
        var(--bg-black-50);
}

.fade-out-effect {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-black-50);
    z-index: -1;
    visibility: hidden;
}

.fade-out-effect.active {
    visibility: visible;
    z-index: 1000;
    animation: fadeOut 0.3s ease-out;
}

@keyframes fadeOut {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

.nav-menu.open {
    visibility: visible;
    opacity: 1;
    z-index: 999;
    transition: all 0.3s ease-in;
}

.nav-menu .close-nav-menu {
    height: 46px;
    width: 46px;
    display: grid;
    place-items: center;
    font-size: 32px;
    border-radius: 50%;
    position: absolute;
    top: 22px;
    right: 22px;
    cursor: pointer;
    color: var(--text-black-900);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: none;
}

.nav-menu-inner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu ul {
    padding: 15px;
}

.nav-menu ul li {
    display: block;
    margin-bottom: 12px;
    text-align: center;
}

.nav-menu ul li a {
    display: inline-block;
    font-size: clamp(36px, 7vw, 68px);
    font-weight: 800;
    color: var(--text-black-900);
    padding: 0 18px;
    text-transform: capitalize;
    border-radius: 18px;
    letter-spacing: -0.04em;
    line-height: 1.1;
    box-shadow: none;
    background: transparent;
}

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

.nav-menu ul li a:hover {
    color: var(--skin-color);
    box-shadow: none;
}

.nav-menu .copyright-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 28px;
    top: auto;
    transform: none;
    text-align: center;
    font-size: 14px;
    color: var(--text-black-600);
}

/* home */

.home-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.home-section .container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
}

.home-section .full-screen {
    padding: 108px 0 20px;
    width: 100%;
}

.home-section .home-text,
.home-section .home-img {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.home-text > * {
    animation: fadeInTop 0.7s ease both;
}

.home-text > *:nth-child(2) { animation-delay: 0.08s; }
.home-text > *:nth-child(3) { animation-delay: 0.14s; }
.home-text > *:nth-child(4) { animation-delay: 0.2s; }
.home-text > *:nth-child(5) { animation-delay: 0.26s; }

.hello-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px 7px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--skin-color) 14%, #fff);
    color: var(--skin-color);
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
    margin-bottom: 18px;
}

body.dark .hello-pill {
    background: color-mix(in srgb, var(--skin-color) 20%, #221c30);
}

.hello-pill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #19c37d;
    box-shadow: 0 0 0 5px color-mix(in srgb, #19c37d 28%, transparent);
}

.home-section .home-text h2 {
    color: var(--text-black-900);
    font-size: clamp(56px, 7vw, 92px);
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.05em;
    line-height: 0.92;
}

.home-section .home-text h2 span {
    background: linear-gradient(120deg, var(--skin-color) 10%, var(--violet) 55%, var(--amber));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-section .home-text h1 {
    color: var(--text-black-700);
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    margin: 16px 0 0;
    letter-spacing: -0.03em;
}

.home-lead {
    max-width: 440px;
    margin-top: 16px;
    font-size: 17px;
    color: var(--text-black-600);
}

.home-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.home-section .home-img {
    position: relative;
}

.home-section .home-img::before {
    content: "";
    position: absolute;
    width: 74%;
    height: 82%;
    right: 6%;
    top: 10%;
    border-radius: 36px;
    background: linear-gradient(145deg, var(--skin-color), var(--violet) 48%, var(--amber));
    transform: rotate(8deg);
    z-index: 0;
}

.home-section .home-img .img-box {
    position: relative;
    z-index: 1;
    max-width: 380px;
    display: block;
    margin-left: auto;
    background: #fff;
    padding: 14px 14px 56px;
    border-radius: 22px;
    box-shadow: 0 30px 60px rgba(40, 16, 60, 0.18);
    transform: rotate(-3.5deg);
}

.home-section .home-img .img-box::after {
    content: "Nur  ·  Designer";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    text-align: center;
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 800;
    color: #1a1423;
    letter-spacing: 0.02em;
}

.home-section .home-img .img-box img {
    width: 100%;
    border: none;
    border-radius: 14px;
    box-shadow: none;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 15%;
}

.float-badge {
    position: absolute;
    z-index: 2;
    background: #fff;
    color: #1a1423;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(40, 16, 60, 0.16);
}

.float-badge-top {
    top: 10%;
    left: 6%;
}

.float-badge-bottom {
    right: 4%;
    bottom: 16%;
    background: var(--skin-color);
    color: #fff;
}

.marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--skin-color) 10%, var(--card));
    padding: 16px 0;
}

.marquee-track {
    display: flex;
    gap: 36px;
    width: max-content;
    animation: marquee 22s linear infinite;
}

.marquee-track span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 14px;
    color: var(--text-black-700);
}

.marquee-track span:nth-child(odd) {
    color: var(--skin-color);
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* about */

.about-section {
    padding: 130px 0 40px;
    min-height: 100vh;
}

.about-section .about-img {
    flex: 0 0 40%;
    max-width: 40%;
    padding: 0 15px;
}

.about-section .about-img .img-box {
    padding: 7px;
    border-radius: 30px;
    background: linear-gradient(160deg, var(--skin-color), var(--violet) 50%, var(--amber));
    box-shadow: var(--outer-shadow);
}

.about-section .about-img .img-box img {
    width: 100%;
    border: none;
    border-radius: 24px;
    box-shadow: none;
    background: #fff;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 15%;
}

.about-section .about-img .social-links {
    margin-top: 22px;
    text-align: center;
}

.about-section .about-img .social-links a {
    display: inline-grid;
    place-items: center;
    height: 44px;
    width: 44px;
    font-size: 16px;
    color: var(--text-black-700);
    border-radius: 50%;
    margin: 0 5px;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: none;
    transition: transform 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.about-section .about-img .social-links a:hover {
    color: #fff;
    background: var(--skin-color);
    transform: translateY(-3px);
    box-shadow: none;
}

.about-section .about-info {
    flex: 0 0 60%;
    max-width: 60%;
    padding: 0 15px;
}

.about-section .about-info p {
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 15px;
    color: var(--text-black-600);
}

.about-section .about-info span {
    font-weight: 700;
    color: var(--text-black-900);
}

.about-section .about-info .btn-1 {
    margin: 28px 12px 0 0;
}

.about-section .about-info .btn-1:last-of-type {
    color: var(--skin-color);
    background: transparent;
    box-shadow: none;
    border: 2px solid var(--skin-color);
}

.about-section .about-info .btn-1:last-of-type:hover {
    background: var(--skin-color);
    color: #fff;
}

.about-section .about-tabs {
    padding: 56px 15px 36px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
}

.about-section .about-tabs .tab-item {
    display: inline-block;
    margin: 0 6px 10px;
    cursor: pointer;
    padding: 9px 18px;
    border-radius: 999px;
    transition: all 0.25s ease;
    font-size: 15px;
    color: var(--text-black-700);
    font-weight: 700;
    text-transform: capitalize;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: none;
}

.about-section .about-tabs .tab-item:hover:not(.active) {
    color: var(--skin-color);
    opacity: 1;
}

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

.about-section .tab-content {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 0 40px;
    display: none;
}

.about-section .tab-content.active {
    display: block;
    animation: fadeInTop 0.5s ease;
}

.about-section .skills .skill-item {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    margin-bottom: 36px;
}

.about-section .skills .skill-item p {
    font-size: 15px;
    color: var(--text-black-900);
    font-weight: 700;
    text-transform: capitalize;
    margin: 0 0 10px;
}

.about-section .skills .skill-item .progress {
    height: 12px;
    border-radius: 999px;
    position: relative;
    background: color-mix(in srgb, var(--text-black-600) 16%, transparent);
    box-shadow: none;
    overflow: visible;
}

.about-section .skills .skill-item .progress-bar {
    background: linear-gradient(90deg, var(--skin-color), var(--violet));
    height: 12px;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 999px;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--skin-color) 35%, transparent);
}

.about-section .skills .skill-item .progress-bar span {
    position: absolute;
    right: 0;
    top: -28px;
    font-size: 14px;
    font-weight: 800;
    color: var(--skin-color);
    margin: 0;
}

.about-section .education,
.about-section .experience {
    padding-bottom: 80px;
}

.about-section .timeline {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
}

.about-section .timeline:before {
    content: "";
    width: 3px;
    height: 100%;
    left: 50%;
    top: 0;
    background: linear-gradient(var(--skin-color), var(--violet), var(--amber));
    position: absolute;
    border-radius: 999px;
}

.about-section .timeline .timeline-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
    margin-bottom: 28px;
}

.about-section .timeline .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 50px);
    text-align: right;
}

.about-section .timeline .timeline-item:nth-child(even) {
    padding-left: calc(50% + 50px);
}

.about-section .timeline .timeline-item-inner {
    padding: 26px 28px;
    border-radius: 22px;
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.about-section .timeline .timeline-item-inner:before {
    content: "";
    position: absolute;
    width: 28px;
    height: 3px;
    background: var(--skin-color);
    top: 37px;
    z-index: -1;
}

.about-section .timeline .timeline-item:nth-child(odd) .timeline-item-inner:before { right: -30px; }
.about-section .timeline .timeline-item:nth-child(even) .timeline-item-inner:before { left: -30px; }

.about-section .timeline .timeline-item-inner .icon {
    height: 42px;
    width: 42px;
    background: var(--bg-black-50);
    border: 2px solid var(--skin-color);
    border-radius: 50%;
    font-size: 15px;
    color: var(--skin-color);
    text-align: center;
    line-height: 38px;
    position: absolute;
    top: 18px;
}

.about-section .timeline .timeline-item:nth-child(odd) .icon { right: -70px; }
.about-section .timeline .timeline-item:nth-child(even) .icon { left: -70px; }

.about-section .timeline .timeline-item-inner span {
    font-weight: 800;
    color: var(--skin-color);
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-section .timeline .timeline-item-inner h3 {
    font-size: 20px;
    color: var(--text-black-900);
    font-weight: 800;
    margin: 0 0 5px;
    text-transform: capitalize;
}

.about-section .timeline .timeline-item-inner h4 {
    font-size: 15px;
    font-style: italic;
    color: var(--text-black-600);
    margin: 0;
}

.about-section .timeline .timeline-item-inner p {
    font-size: 15px;
    color: var(--text-black-600);
    line-height: 1.6;
    margin: 12px 0 0;
}

/* services */

.service-section {
    padding: 130px 0 80px;
    min-height: 100vh;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 22px;
    padding: 0 15px;
}

.service-section .service-item {
    grid-column: span 2;
    max-width: none;
    width: auto;
    flex: none;
    padding: 0;
    display: flex;
}

.service-grid .service-item:nth-child(4) { grid-column: 2 / span 2; }
.service-grid .service-item:nth-child(5) { grid-column: 4 / span 2; }

.service-item:nth-child(1) { --card-accent: var(--skin-color); }
.service-item:nth-child(2) { --card-accent: #6c4dff; }
.service-item:nth-child(3) { --card-accent: #ffb703; }
.service-item:nth-child(4) { --card-accent: #12c48b; }
.service-item:nth-child(5) { --card-accent: #3d8bfd; }

.service-section .service-item-inner {
    padding: 36px 24px;
    border-radius: 26px;
    text-align: center;
    width: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-top: 4px solid var(--card-accent);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-section .service-item-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px color-mix(in srgb, var(--card-accent) 22%, transparent);
}

.service-section .service-item-inner .icon {
    height: 68px;
    width: 68px;
    text-align: center;
    border-radius: 22px;
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    position: relative;
    color: var(--card-accent);
    background: color-mix(in srgb, var(--card-accent) 14%, transparent);
    box-shadow: none;
}

.service-section .service-item-inner .icon:after {
    display: none;
}

.service-section .service-item-inner .icon i {
    font-size: 26px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.service-section .service-item-inner:hover .icon i {
    transform: scale(1.08);
    color: var(--card-accent);
}

.service-section .service-item-inner h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-black-900);
    margin: 0 0 10px;
    text-transform: capitalize;
}

.service-section .service-item-inner p {
    font-size: 15px;
    color: var(--text-black-600);
    margin: 0;
    line-height: 1.7;
}

/* portfolio */

.portfolio-section {
    padding: 130px 0 80px;
    min-height: 100vh;
}

.portfolio-section .section-title {
    margin-bottom: 28px;
}

.portfolio-section .portfolio-filter {
    padding: 0 15px;
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    margin-bottom: 28px;
}

.portfolio-section .filter-item {
    display: inline-block;
    margin: 0 6px 10px;
    padding: 9px 16px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-black-700);
    text-transform: capitalize;
    font-size: 14px;
    transition: all 0.25s ease;
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: none;
}

.portfolio-section .filter-item:hover:not(.active) {
    color: var(--skin-color);
    opacity: 1;
}

.portfolio-section .filter-item.active {
    color: #fff;
    background: var(--skin-color);
    border-color: transparent;
}

.portfolio-section .portfolio-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    padding: 0 15px;
}

.portfolio-section .portfolio-item {
    max-width: none;
    flex: none;
    padding: 0;
    display: flex;
}

.portfolio-item:nth-child(1) { --card-accent: #1d4e89; }
.portfolio-item:nth-child(2) { --card-accent: #ff8a00; }
.portfolio-item:nth-child(3) { --card-accent: #3d8bfd; }
.portfolio-item:nth-child(4) { --card-accent: #12c48b; }

.portfolio-section .portfolio-item.hide { display: none; }

.portfolio-section .portfolio-item.show {
    display: flex;
    animation: fadeInTop 0.5s ease;
}

.portfolio-section .portfolio-item-inner {
    padding: 14px 14px 18px;
    border-radius: 26px;
    cursor: pointer;
    width: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    border-bottom: 4px solid var(--card-accent);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-section .portfolio-item-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 40px color-mix(in srgb, var(--card-accent) 24%, transparent);
}

.portfolio-section .portfolio-item-img {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.portfolio-section .portfolio-item-img img {
    border-radius: 18px;
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.45s ease;
}

.portfolio-section .portfolio-item-img::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(to top, color-mix(in srgb, var(--card-accent) 88%, #1a1423), transparent 58%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-section .portfolio-item-inner:hover .portfolio-item-img img {
    transform: scale(1.06);
}

.portfolio-section .portfolio-item-inner:hover .portfolio-item-img::after {
    opacity: 1;
}

.portfolio-section .portfolio-item-img .view-project {
    text-transform: capitalize;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    position: absolute;
    left: 16px;
    bottom: 14px;
    z-index: 2;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.portfolio-section .portfolio-item-inner:hover .view-project {
    transform: none;
    opacity: 1;
}

.portfolio-section .portfolio-item-details { display: none; }

.portfolio-section .portfolio-item-inner p {
    font-size: 17px;
    margin: 14px 6px 0;
    color: var(--text-black-900);
    font-weight: 800;
    text-transform: capitalize;
}

/* portfolio popup */

.portfolio-popup {
    --text-black-900: #f7f3ec;
    --text-black-700: #ffffff;
    --text-black-600: #ddd6e6;
    --bg-black-100: rgba(255, 255, 255, 0.14);
    background: rgba(12, 9, 18, 0.94);
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.portfolio-popup.open {
    visibility: visible;
    opacity: 1;
}

.portfolio-popup .pp-loader {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1005;
    background-color: rgba(12, 9, 18, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
}

.portfolio-popup .pp-loader.active {
    visibility: visible;
    opacity: 1;
}

.portfolio-popup .pp-loader div {
    height: 42px;
    width: 42px;
    border: 3px solid var(--skin-color);
    border-radius: 50%;
    border-right: 3px solid transparent;
    animation: spin 0.8s linear infinite;
}

.portfolio-popup .pp-details {
    max-width: 1100px;
    width: calc(85% + 30px);
    margin: auto;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s ease;
}

.portfolio-popup .pp-details.active { opacity: 1; }

.portfolio-popup .pp-details-inner { padding: 30px 0; }

.portfolio-popup .pp-title { padding: 0 15px; }

.portfolio-popup .pp-title h2 {
    font-size: 32px;
    color: #fff;
    text-transform: capitalize;
    font-weight: 800;
    margin: 0 0 5px;
}

.portfolio-popup .pp-title p {
    font-size: 14px;
    font-weight: 700;
    color: #ddd6e6;
    margin: 0 0 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-bottom: 10px;
}

.portfolio-popup .pp-title p span {
    font-weight: 500;
    text-transform: capitalize;
    color: var(--skin-color);
}

.portfolio-popup .pp-project-details h3 {
    font-size: 18px;
    color: #fff;
    text-transform: capitalize;
    font-weight: 800;
    margin: 0 0 12px;
}

.portfolio-popup .description {
    flex: 0 0 65%;
    max-width: 65%;
    padding: 0 15px;
}

.portfolio-popup .description p {
    font-size: 16px;
    color: #ddd6e6;
    line-height: 1.7;
    margin: 0;
}

.portfolio-popup .info {
    flex: 0 0 35%;
    max-width: 35%;
    padding: 0 15px;
}

.portfolio-popup .info ul li {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

.portfolio-popup .info ul li span { font-weight: 500; color: #ddd6e6; }

.portfolio-popup .info ul li a { color: var(--skin-color); font-weight: 800; }

.portfolio-popup .separator {
    height: 1px;
    width: 100%;
    display: block;
    background-color: rgba(255, 255, 255, 0.12);
}

.portfolio-popup .pp-img {
    max-width: 100%;
    max-height: 70vh;
    width: auto;
    height: auto;
    padding: 8px;
    border-radius: 18px;
    background: #fff;
    object-fit: contain;
}

.portfolio-popup .pp-main {
    min-height: 100vh;
    max-width: 1100px;
    width: 85%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-popup .pp-main-inner {
    padding: 80px 0 50px;
    position: relative;
}

.portfolio-popup .pp-project-details-btn {
    position: absolute;
    left: 0;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: var(--skin-color);
    cursor: pointer;
    padding: 0 16px;
    height: 40px;
    line-height: 40px;
    top: 18px;
    box-shadow: none;
}

.portfolio-popup .pp-project-details-btn i { margin-left: 4px; }

.portfolio-popup .pp-close {
    position: absolute;
    right: 0;
    border-radius: 50%;
    height: 42px;
    width: 42px;
    top: 16px;
    text-align: center;
    line-height: 38px;
    font-size: 30px;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    box-shadow: none;
}

.portfolio-popup .pp-counter {
    position: absolute;
    right: 0;
    height: 40px;
    line-height: 40px;
    bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #ddd6e6;
}

.portfolio-popup .pp-prev,
.portfolio-popup .pp-next {
    position: fixed;
    top: 50%;
    height: 48px;
    width: 48px;
    text-align: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 1010;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    opacity: 0.85;
}

.portfolio-popup .pp-prev:hover,
.portfolio-popup .pp-next:hover { opacity: 1; background: var(--skin-color); }

.portfolio-popup .pp-prev i,
.portfolio-popup .pp-next i { line-height: 48px; }

.portfolio-popup .pp-prev i { transform: rotate(180deg); }
.portfolio-popup .pp-prev { left: 18px; }
.portfolio-popup .pp-next { right: 18px; }

/* testimonials kept for the existing markup */

.testimonial-section {
    padding: 130px 0 80px;
    display: none;
}

.testimonial-section .testi-box {
    width: 100%;
    max-width: 680px;
    margin: auto;
    padding: 0 15px;
}

.testimonial-section .testi-slider {
    border-radius: 28px;
    overflow: hidden;
    background: var(--card);
    border: 1px solid var(--line);
}

.testimonial-section .testi-slider-container {
    display: flex;
    transition: margin 0.6s ease;
    align-items: center;
}

.testimonial-section .testi-item {
    padding: 36px;
    text-align: center;
    position: relative;
}

.testimonial-section .testi-item i {
    position: absolute;
    font-size: 30px;
    color: var(--skin-color);
    opacity: 0.35;
}

.testimonial-section .testi-item i.left { left: 16px; top: 16px; }
.testimonial-section .testi-item i.right { right: 16px; bottom: 16px; }

.testimonial-section .testi-item p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-black-600);
    margin: 0 0 24px;
}

.testimonial-section .testi-item img {
    max-width: 70px;
    display: inline-block;
    width: 100%;
    border-radius: 50%;
}

.testimonial-section .testi-item span {
    display: block;
    margin: 10px 0 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--text-black-900);
    text-transform: capitalize;
}

.testimonial-section .testi-slider-nav {
    margin-top: 24px;
    text-align: center;
}

.testimonial-section .testi-slider-nav span {
    height: 44px;
    width: 44px;
    color: #fff;
    background: var(--skin-color);
    font-size: 18px;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    border-radius: 50%;
    margin: 0 4px;
    box-shadow: none;
}

/* contact */

.contact-section {
    padding: 130px 0 80px;
    min-height: 100vh;
}

.contact-section .contact-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 0 12px;
    display: flex;
}

.contact-section .contact-item-inner {
    padding: 32px 18px;
    text-align: center;
    border-radius: 26px;
    width: 100%;
    background: var(--card);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    transition: transform 0.3s ease;
}

.contact-section .contact-item:nth-child(1) .contact-item-inner { border-top: 4px solid var(--skin-color); }
.contact-section .contact-item:nth-child(2) .contact-item-inner { border-top: 4px solid var(--violet); }
.contact-section .contact-item:nth-child(3) .contact-item-inner { border-top: 4px solid var(--amber); }

.contact-section .contact-item-inner:hover { transform: translateY(-6px); }

.contact-section .contact-item-inner i {
    width: 58px;
    height: 58px;
    display: inline-grid;
    place-items: center;
    border-radius: 18px;
    font-size: 22px;
    color: #fff;
    background: linear-gradient(140deg, var(--skin-color), var(--violet));
}

.contact-section .contact-item:nth-child(3) .contact-item-inner i {
    background: linear-gradient(140deg, var(--amber), #ff6b3d);
}

.contact-section .contact-item-inner span {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: var(--skin-color);
    margin: 16px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.contact-section .contact-item-inner p {
    font-size: 16px;
    color: var(--text-black-900);
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    word-break: break-word;
}

.contact-section .contact-item-inner p a {
    color: var(--text-black-900);
}

.contact-section .contact-item-inner p a:hover { color: var(--skin-color); }

.contact-section .contact-form {
    flex: 0 0 100%;
    max-width: 100%;
    margin-top: 36px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 28px 16px 8px;
    box-shadow: var(--outer-shadow);
}

.contact-section .w-50 {
    padding: 0 12px;
    flex: 0 0 50%;
    max-width: 50%;
}

.contact-section .input-group {
    margin: 0 0 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    border-radius: 16px;
    background: color-mix(in srgb, var(--bg-black-50) 55%, #fff);
    border: 1px solid var(--line);
    box-shadow: none;
}

body.dark .contact-section .input-group {
    background: rgba(255, 255, 255, 0.04);
}

.contact-section .input-group:focus-within {
    border-color: var(--skin-color);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--skin-color) 22%, transparent);
}

.contact-section .input-group .input-control {
    height: 52px;
    display: block;
    width: 100%;
    border-radius: 16px;
    border: none;
    background-color: transparent;
    font-size: 15px;
    padding: 0 16px;
    color: var(--text-black-900);
}

.contact-section .input-group .input-control::placeholder {
    color: var(--text-black-300);
}

.contact-section .input-group textarea.input-control {
    height: 196px;
    padding-top: 16px;
    resize: none;
}

.contact-section .submit-btn {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: right;
    padding: 0 12px 12px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
