@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Poppins:ital,wght@0,100;0,900;1,100;1,900&display=swap');

:root {
    --bg-primary: #040712;
    --bg-secondary: #0a0f1e;
    --bg-accent: #0f172a;
    --text-white: #ffffff;
    --text-muted: #94a3b8;
    --accent-cyan: #00d2ff;
    --accent-blue: #3877ff;
    --accent-gold: #ffcc33;
    --accent-gold-glow: rgba(255, 204, 51, 0.1);
    --cyan-glow: rgba(0, 210, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #00d2ff 0%, #3877ff 100%);
    --gradient-gold: linear-gradient(135deg, #ffcc33 0%, #ffb347 100%);
}

.text-gold {
    background: var(--gradient-gold) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 10px var(--accent-gold-glow) !important;
}

* {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", sans-serif;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-white);
}

.project-grid::-webkit-scrollbar {
    display: none;
}

.project-grid {
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/* ~~ ~~ Home ~~ ~~ */

.portfolio-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
}

.portfolio-container2 {
    min-height: 100vh;
    width: 100%;
    display: flex;
}

.logo {
    display: flex;
    height: 80px;
    position: fixed;
    left: 60px;
    top: 0;
    padding: 0;
    align-items: center;
    font-size: 32px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--cyan-glow);
    opacity: 0;
    z-index: 1001;
    animation: slideLogo 1s ease forwards;
}

.navlist {
    display: flex;
    gap: 3.5rem;
    height: 80px;
    width: 100%;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    background: rgba(4, 7, 18, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    z-index: 1000;
    animation: slideLeft 0.5s ease forwards;
}

.navlist li {
    list-style: none;
}

.navlist li a.active {
    color: var(--accent-cyan);
    text-shadow: 0 0 15px var(--cyan-glow);
}

.about-section,
.services-section,
.skill-section,
.contact-section,
#project {
    padding-top: 100px;
}

.navlist li a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: #fff;
    position: relative;
    opacity: 0;
    animation: slideLeft 0.5s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}

.left-container,
.right-container {
    height: 100vh;
    display: flex;
    align-items: center;
}

.left-container {
    background: var(--bg-primary);
    width: 70%;
    padding-left: 3rem;
}

.right-container {
    background: linear-gradient(-45deg, rgba(56, 119, 255, 0.4), rgba(4, 7, 18, 0.8)), url("image/hero_bg.png");
    background-size: cover;
    background-position: center;
    width: 30%;
    position: relative;
}

.right-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 90%);
}

.left-container2,
.right-container2 {
    height: 100vh;
    display: flex;
    align-items: center;
}

.right-container2 {
    background: var(--bg-primary);
    width: 70%;
    padding-left: 3rem;
}

.left-container2 {
    background: linear-gradient(45deg, var(--accent-blue), var(--bg-primary) 70%);
    width: 30%;
}

.icons .fa-brands {
    color: #bbb;
    font-size: 1.7rem;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: calc(0.2s * var(--i));
}

.icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

/* ~~ Top-right Social Corner ~~ */
.social-corner {
    position: fixed;
    top: 22px;
    right: 30px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    z-index: 1100;
    animation: slideLeft 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

.social-corner a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ccc;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
    backdrop-filter: blur(8px);
}

.social-corner a:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 14px var(--cyan-glow);
    transform: translateY(-2px);
}

.content {
    margin-left: 4rem;
}

.content h3 {
    font-size: 1.2rem;
    color: #ffffff;
    opacity: 0;
    animation: slideBottom 0.5s ease forwards;
    animation-delay: 0.2s;
}

.content .intro {
    font-size: 2rem;
    color: #ffffff;
    opacity: 0;
    animation: slideRight 0.5s ease forwards;
    animation-delay: 0.3s;
}

.content .intro span {
    font-size: 3.2rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px var(--accent-gold-glow);
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 0.6s;
    font-weight: 800;
}

.content h1:nth-of-type(1) {
    margin-top: 15px;
    margin-bottom: 10px;
}

.content h1 {
    font-size: 1.6rem;
    color: #fff;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 0.7s;
}

.content h1 span {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px var(--cyan-glow);
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 0.7s;
    font-weight: 700;
}

.content .detail {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 38rem;
    margin: 1.1rem 0 3rem 0;
    line-height: 1.8rem;
    opacity: 0;
    animation: slideTop 0.5s ease forwards;
    animation-delay: 0.8s;
    text-align: justify;
}

.btn-box {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    border: 2px solid var(--accent-cyan);
    border-radius: 40px;
    font-size: 15px;
    color: #fff;
    letter-spacing: 1px;
    text-decoration: none;
    font-weight: 600;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 2.1s;
    box-shadow: 0 0 10px var(--cyan-glow);
    transition: 0.3s ease;
}

.btn-box.secondary {
    margin-left: 20px;
    background: var(--accent-cyan);
    color: var(--bg-primary);
}

.btn-box.secondary:hover {
    background: transparent;
    color: var(--accent-cyan);
    box-shadow: 0 0 20px var(--accent-cyan);
}

.icons .fa-brands:hover {
    cursor: pointer;
    background: linear-gradient(135deg, #fff 30%, #3877ff 70%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.design .circle {
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 70%;
    transform: translate(-50%, -50%);
}

.circle:nth-child(1) {
    background: linear-gradient(90deg, transparent 50%, var(--bg-primary) 50%);
    width: 38rem;
}

.circle:nth-child(2) {
    width: 30rem;
    background-image: url("image/DP.png");
    background-size: 100%;
    background-repeat: no-repeat;
    border: 0.8rem solid white;
    box-shadow: 0 0 1rem #fff,
        inset 0 0 1rem #fff,
        0 0 2rem #3877ff,
        inset 0 0 2rem #3877ff,
        0 0 4rem #3877ff,
        inset 0 0 3.5rem #3877ff;
}

.design2 .circle2 {
    aspect-ratio: 1;
    position: absolute;
    border-radius: 50%;
    top: 150%;
    left: 30%;
    transform: translate(-50%, -50%);
}

.circle2:nth-child(1) {
    background: linear-gradient(-90deg, transparent 50%, var(--bg-primary) 50%);
    width: 38rem;
}

.circle2:nth-child(2) {
    width: 30rem;
    background-image: url("image/DP.png");
    background-size: 100%;
    background-repeat: no-repeat;
    border: 0.8rem solid white;
    box-shadow: 0 0 1rem #fff,
        inset 0 0 1rem #fff,
        0 0 2rem #3877ff,
        inset 0 0 2rem #3877ff,
        0 0 4rem #3877ff,
        inset 0 0 3.5rem #3877ff;
}

.navlist li a::after,
.navlist .active::after {
    content: "";
    position: absolute;
    background: #fff;
    width: 100%;
    height: 0.1rem;
    left: 0;
    bottom: -5px;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.5s;
}

.navlist li a:hover::after,
.navlist .active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}


/* ~~ ~~ About & Journey ~~ ~~ */

.about-section {
    background: var(--bg-primary);
    padding: 100px 60px;
    width: 100%;
}

.about-container {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 80px;
    max-width: 1300px;
    margin: 0 auto;
}

.about-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.about-profile h2,
.journey-header h2 {
    font-size: 3.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 25px;
}

.about-profile h2 span,
.journey-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.profile-interests {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.interest-tag {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 30px;
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

.interest-tag i {
    color: var(--accent-cyan);
}

.interest-tag:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: var(--accent-cyan);
    transform: translateY(-3px);
}

/* Timeline */
.about-journey {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

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

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

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

.timeline-dot {
    position: absolute;
    left: -41px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--cyan-glow);
}

.timeline-content {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: 0.3s ease;
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.2);
}

.timeline-date {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 8px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 4px;
}

.timeline-org {
    font-size: 1rem;
    color: #fff;
    opacity: 0.8;
    margin-bottom: 12px;
    font-weight: 500;
}

.timeline-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Education Grid */
.education-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.edu-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    gap: 18px;
    transition: 0.3s ease;
}

.edu-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.edu-card i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.edu-info span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-cyan);
    display: block;
    margin-bottom: 4px;
}

.edu-info h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 2px;
}

.edu-info h3 span {
    font-size: inherit;
}

.edu-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ~~ ~~ My Services ~~ ~~ */

.services-section {
    background: var(--bg-primary);
    padding: 100px 60px;
    width: 100%;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.85;
}

.services-header h2 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.services-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Service Card */
.service-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.service-card.active,
.service-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 210, 255, 0.3);
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 210, 255, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 40px;
    color: var(--accent-cyan);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient-primary);
    transform: rotateY(180deg);
}

.service-card:hover .service-icon i {
    color: #fff;
}

.service-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.service-card h3 span {
    color: var(--accent-cyan);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.service-features li {
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.8;
}

.service-features li i {
    color: var(--accent-cyan);
    font-size: 1.1rem;
}


/* ~~ ~~ Skills ~~ ~~ */

.skill-section {
    background: var(--bg-primary);
    padding: 100px 60px;
    width: 100%;
}

.skill-header {
    text-align: center;
    margin-bottom: 60px;
}

.skill-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.85;
}

.skill-header h2 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.skill-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.skill-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.7;
    white-space: wrap;
}

/* Skill Grid Modern */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.skill-card.modern {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.skill-card.modern:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--accent-cyan);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 210, 255, 0.05);
}

.skill-icon-wrap {
    width: 60px;
    height: 60px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.skill-icon-wrap i {
    font-size: 32px;
    color: var(--accent-cyan);
}

.skill-card.modern h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 25px;
    font-weight: 700;
}

.skill-card.modern h3 span {
    color: var(--accent-cyan);
    display: block;
    font-size: 1.1rem;
    opacity: 0.8;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tags span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #cbd5e1;
    transition: 0.3s ease;
}

.skill-card.modern:hover .skill-tags span {
    border-color: rgba(0, 210, 255, 0.2);
    background: rgba(0, 210, 255, 0.05);
    color: #fff;
}

/* Skill Card */
.skill-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 210, 255, 0.2);
}

.card-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.card-pro .card-glow {
    background: radial-gradient(circle, rgba(56, 119, 255, 0.15) 0%, transparent 70%);
}

.skill-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 35px;
    position: relative;
}

.skill-card h3 span {
    color: var(--accent-cyan);
}

/* Skill List */
.skill-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.skill-item {
    width: 100%;
}

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

.skill-info span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: #fff;
    font-weight: 500;
}

.skill-info i {
    font-size: 1.4rem;
    color: var(--accent-cyan);
}

.skill-percentage {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* Progress Bar */
.skill-progress {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 10px;
    position: relative;
    transform: scaleX(0);
    transform-origin: left;
    animation: skillGrow 1.5s cubic-bezier(1, 0, 0.5, 1) forwards;
}

.skill-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 2s infinite;
}

@keyframes skillGrow {
    to {
        transform: scaleX(1);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ~~ ~~ Project ~~ ~~ */

.project-section {
    background: var(--bg-primary);
    padding: 20px 60px 60px;
    width: 100%;
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.85;
}

.project-header h2 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 16px;
}

.project-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 1000px;
    margin: 0 auto;
    line-height: 1.7;
    white-space: wrap;
}

/* Project Slider */
.project-slider-wrapper {
    position: relative;
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.project-grid {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 28px;
    padding: 20px 10px;
    margin-bottom: 60px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    width: 100%;
}

.project-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

/* Scroll Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(4, 7, 18, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.slider-btn.active {
    opacity: 1;
    pointer-events: all;
}

.slider-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 5px 20px rgba(0, 210, 255, 0.4);
    color: #fff;
}

.slider-btn.prev-btn {
    left: -25px;
}

.slider-btn.next-btn {
    right: -25px;
}

/* Project Card */
.project-card {
    min-width: calc(33.333% - 19px);
    max-width: calc(33.333% - 19px);
    flex-shrink: 0;
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    padding: 1px;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 210, 255, 0.25) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 210, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 210, 255, 0.3);
}

.project-card.featured {
    border-color: rgba(255, 204, 51, 0.2);
}

.project-card.featured:hover {
    box-shadow: 0 20px 60px rgba(255, 204, 51, 0.12), 0 8px 32px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 204, 51, 0.4);
}

/* Badge */
.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: linear-gradient(135deg, rgba(255, 204, 51, 0.9), rgba(255, 179, 71, 0.9));
    color: #1a1000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(8px);
}

/* Category Tag */
.card-category {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.35);
    color: var(--accent-cyan);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 3;
    backdrop-filter: blur(8px);
}

/* Card Image */
.card-image-wrap {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

.card-image-wrap img,
.card-image-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-card:hover .card-image-wrap img,
.project-card:hover .card-image-wrap video {
    transform: scale(1.06);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(4, 7, 18, 0.85) 100%);
    pointer-events: none;
}

/* Card Body */
.card-body {
    padding: 24px 28px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}

/* Tech Tags */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.card-tags span {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(56, 119, 255, 0.12);
    border: 1px solid rgba(56, 119, 255, 0.3);
    color: #7fa8ff;
    letter-spacing: 0.3px;
    transition: background 0.3s, color 0.3s;
}

.project-card:hover .card-tags span {
    background: rgba(0, 210, 255, 0.12);
    border-color: rgba(0, 210, 255, 0.35);
    color: var(--accent-cyan);
}

.project-card:hover .card-arrow {
    color: var(--accent-cyan);
    transform: translate(3px, -3px);
}

/* Stats Bar */
.project-stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 34px 40px;
    flex-wrap: wrap;
    gap: 32px;
    box-shadow: 0 4px 40px rgba(0, 210, 255, 0.06);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 100px;
}

.stat-value {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 2px;
    line-height: 1;
}

.stat-number {
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-plus {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.project-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.cta-quote {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.8;
    text-align: center;
}

.project-stats-bar .btn-box {
    animation: none;
    opacity: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}


/* ~~ ~~ Contact ~~ ~~ */

.contact {
    padding-left: 80px;
    padding-top: 50px;
    background-color: var(--bg-primary);
    color: #fff;
    width: 100%;
    padding-bottom: 10px;
}

.contact-section {
    background: var(--bg-primary);
    padding: 100px 60px;
    width: 100%;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--accent-cyan);
    text-transform: uppercase;
    margin-bottom: 12px;
    opacity: 0.85;
}

.contact-header h2 {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

.contact-header h2 span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.method-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    padding: 22px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.method-card:hover {
    border-color: rgba(0, 210, 255, 0.4);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.1);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon i {
    font-size: 24px;
    color: var(--accent-cyan);
}

.method-details span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.method-details a,
.method-details p,
.method-details strong {
    font-size: 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    display: block;
    transition: 0.3s;
}

.method-card:hover .method-details strong {
    color: var(--accent-cyan);
}

.contact-socials {
    margin-top: 58px;
    display: flex;
    align-items: center;
    gap: 25px;
    position: relative;
}

.contact-socials p {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    margin: 0;
}



.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1;
}

.social-links a::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: 0.5s;
    filter: blur(10px);
}

.social-links a i {
    transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* LinkedIn Hover State */
.social-links a.linkedin-btn:hover {
    border-color: #0077b5;
    transform: translateY(-10px) rotate(-5deg);
    color: #0077b5;
    background: rgba(0, 119, 181, 0.1);
}

.social-links a.linkedin-btn:hover::before {
    background: #0077b5;
    opacity: 0.4;
}

/* WhatsApp Hover State */
.social-links a.whatsapp-btn:hover {
    border-color: #25d366;
    transform: translateY(-10px) rotate(5deg);
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.social-links a.whatsapp-btn:hover::before {
    background: #25d366;
    opacity: 0.4;
}

.social-links a:hover i {
    transform: scale(1.2);
}

@keyframes socialPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(0, 210, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
    }
}

.social-links a:hover {
    animation: socialPulse 1.5s infinite;
}

/* Form Styling */
.contact-form-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card-glow {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, transparent 70%);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.form-group textarea~label {
    top: 20px;
    transform: none;
}

.form-group input:focus~label,
.form-group input:not(:placeholder-shown)~label,
.form-group textarea:focus~label,
.form-group textarea:not(:placeholder-shown)~label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    color: var(--accent-cyan);
    background: var(--bg-primary);
    padding: 0 5px;
}

/* map styling */
.contact-visual {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.map-card {
    width: 100%;
    height: 450px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transition: 0.5s ease;
}

.map-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 210, 255, 0.2);
}

.map-card iframe {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg) brightness(0.8) contrast(1.2);
    opacity: 0.7;
    transition: 0.5s ease;
}

.map-card:hover iframe {
    opacity: 1;
    filter: invert(90%) hue-rotate(180deg) brightness(1) contrast(1.2);
}

.map-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(4, 7, 18, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

.map-info {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(4, 7, 18, 0.8);
    backdrop-filter: blur(12px);
    padding: 12px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.map-info i {
    color: var(--accent-cyan);
    font-size: 1.2rem;
}

/* Form section removal - legacy styles removal */
.contact-form-wrapper,
.contact-card-glow,
.modern-form,
.contact-map {
    display: none;
}







/* ~~  ~~  ~~ Mobile View ~~  ~~  ~~ */

@media screen and (max-width: 992px) {

    .left-container,
    .right-container2,
    .left-container2,
    .right-container2 {
        width: 100% !important;
        height: auto !important;
        min-height: 100vh;
        padding: 100px 20px 60px !important;
        flex-direction: column;
        justify-content: center;
    }

    .right-container,
    .left-container2,
    .design2 {
        display: none !important;
    }

    .design {
        display: block !important;
        position: relative;
        width: 100%;
        height: 300px;
        order: -1;
        margin-top: 80px;
        overflow: hidden;
        /* background: linear-gradient(-45deg, rgba(56, 119, 255, 0.2), rgba(4, 7, 18, 0.5)), url("image/hero_bg.png"); */
        /* background-size: cover; */
        /* background-position: center; */
    }

    .design .circle {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.65);
    }

    .design .circle:nth-child(1) {
        display: none;
    }

    .portfolio-container {
        flex-direction: column;
        height: auto;
    }

    .left-container {
        padding: 40px 20px 80px !important;
        min-height: auto !important;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid,
    .skill-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-container2 {
        flex-direction: column;
        height: auto;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 85%;
    }

    .logo {
        left: 20px;
        top: 15px;
        height: auto;
        font-size: 24px;
        z-index: 1002;
    }

    .navlist {
        height: auto;
        padding: 70px 10px 15px;
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .navlist li a {
        font-size: 0.8rem;
    }

    .content {
        margin-left: 0;
        text-align: center;
        width: 100%;
    }

    .content .intro {
        font-size: 1.6rem;
    }

    .content .intro span {
        font-size: 2.2rem;
        display: block;
        margin-top: 10px;
    }

    .content h1 {
        font-size: 1.2rem;
    }

    .content h1 span {
        font-size: 1.8rem;
    }

    .content .detail {
        margin: 1.5rem auto;
        text-align: center;
        max-width: 100%;
    }

    .btn-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 20px;
        padding: 0 20px;
    }

    .btn-box {
        margin-left: 0 !important;
        width: 100%;
        max-width: 250px;
        text-align: center;
    }

    .services-grid,
    .skill-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    .about-profile h2,
    .services-header h2,
    .skill-header h2,
    .project-header h2 {
        font-size: 2.4rem;
        text-align: center;
    }

    .about-profile,
    .services-header,
    .skill-header,
    .project-header {
        text-align: center;
    }

    .timeline {
        padding-left: 20px;
    }

    .timeline-dot {
        left: -31px;
    }

    .slider-btn.prev-btn {
        left: 5px;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .slider-btn.next-btn {
        right: 5px;
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .social-corner {
        display: none;
        /* Hide on small screens for cleaner look */
    }

    .project-stats-bar {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .stat-divider {
        width: 100%;
        height: 1px;
        max-width: 100px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    html {
        font-size: 80%;
    }

    .logo {
        font-size: 20px;
        top: 15px;
        height: auto;
    }

    .navlist {
        gap: 0.8rem;
        padding: 60px 5px 10px;
    }

    .navlist li a {
        font-size: 0.7rem;
    }

    .content .intro span {
        font-size: 1.8rem;
    }

    .content h1 span {
        font-size: 1.4rem;
    }

    .about-profile h2,
    .services-header h2,
    .skill-header h2,
    .project-header h2 {
        font-size: 1.8rem;
    }

    .timeline-content {
        padding: 15px;
    }

    .project-card {
        min-width: calc(100% - 10px);
    }

    .contact-container {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .map-card {
        height: 250px;
    }

    .body {
        overflow-x: hidden;
    }

    * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}



/* ~~  ~~  ~~ KeyFrames ~~  ~~  ~~ */

/* 100% == 105point  ===> stroke-dashoffset: {value} == (x*100 / 105 - 105), there x%  */
@keyframes animate-path1 {
    100% {
        stroke-dashoffset: 14.52;
        opacity: 80%;
    }
}

@keyframes animate-path2 {
    100% {
        stroke-dashoffset: 24.05;
        opacity: 80%;
    }
}

@keyframes animate-path3 {
    100% {
        stroke-dashoffset: 19.29;
        opacity: 80%;
    }
}

@keyframes animate-path4 {
    100% {
        stroke-dashoffset: 28.81;
        opacity: 80%;
    }
}


@keyframes animate-bar {
    100% {
        stroke-dashoffset: -1;
    }
}

@keyframes showText {
    100% {
        opacity: 1;
    }
}

@keyframes animate {
    100% {
        transform: scalex(1);
    }
}

@keyframes slideLogo {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 0.9;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0px);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

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

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

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