:root {
    --default-font: "Kanit",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Kanit",  sans-serif;
    --nav-font: "Kanit",  sans-serif;
}

/* Global Colors */
:root {
    --background-color: #000000;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --accent-color: #d0ff00;
    --surface-color: #000000;
    --contrast-color: #ffffff;
}

.dark-background {
    --background-color: #000000;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #000000;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages */
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Enhanced Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 997;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header.scrolled {
    padding: 12px 0;
    background: rgba(0, 0, 0, 0.95);
    border-bottom-color: rgba(208, 255, 0, 0.15);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.header .container-fluid {
    padding: 0 40px;
}

@media (max-width: 768px) {
    .header .container-fluid {
        padding: 0 20px;
    }
}

/* Logo Section */
.header .logo {
    line-height: 1;
    position: relative;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.header .logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.header .logo:hover::before {
    opacity: 1;
}

.header .logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(208, 255, 0, 0.15);
}

.header .logo img {
    max-height: 32px;
    margin-right: 8px;
    background-color: transparent;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.header .logo:hover img {
    transform: rotate(-5deg) scale(1.05);
}

.header .logo h1 {
    font-size: 28px;
    margin: 0;
    font-weight: 700;
    color: var(--heading-color);
    background: linear-gradient(135deg, #ffffff 0%, #d0ff00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.header .logo:hover h1 {
    background: linear-gradient(135deg, #d0ff00 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0px;
}

.header .logo::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(208, 255, 0, 0.2), rgba(255, 255, 255, 0.1));
    border-radius: 50px;
    filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.header .logo:hover::after {
    opacity: 1;
}

.header .logo h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d0ff00, transparent);
    transition: width 0.4s ease;
}

.header .logo:hover h1::after {
    width: 100%;
}

@media (max-width: 768px) {
    .header .logo h1 {
        font-size: 24px;
    }
    .header .logo {
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .header .logo h1 {
        font-size: 20px;
    }
    .header .logo {
        padding: 4px 10px;
    }
}

.header {
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(202, 248, 0, 0.63) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header:hover::before {
    opacity: 1;
}

.header.sticky-top {
    position: sticky;
    top: 0;
}

.header .d-flex.justify-content-between {
    gap: 20px;
}

@media (max-width: 768px) {
    .header .d-flex.justify-content-between {
        gap: 10px;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    color: var(--default-color);
    background-color: var(--background-color);
    font-size: 14px;
    padding: 40px 0;
    position: relative;
}

.footer .copyright p {
    margin-bottom: 0;
}

.footer .social-links {
    margin-top: 20px;
}

.footer .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    margin: 0 5px;
    transition: 0.3s;
}

.footer .social-links a:hover {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.footer .credits {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid var(--accent-color);
    border-top-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: white;
    line-height: 0;
}

.scroll-top:hover {
    background-color: #000000;
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
    bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0s !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: rgba(0, 0, 0, 0);
    padding: 100px 0 20px 0;
    text-align: center;
    position: relative;
}

.page-title h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: transparent;
    padding: 60px 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 15px;
}

.section-title p {
    margin-bottom: 0;
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-info h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.portfolio .portfolio-info p {
    font-size: 16px;
}

.portfolio .portfolio-content {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    border: 2px solid transparent;
    transition: border-color .3s ease-out, transform .1s ease-in;
}

.portfolio .portfolio-content img {
    transition: 0.5s;
}

.portfolio .portfolio-content:hover {
    border-color: rgb(209, 255, 0);
    transform: translateY(-5px);
    box-shadow: 0 0px 25px rgba(208, 255, 0, 0.37);
}

.portfolio .portfolio-content:hover img {
    transform: scale(1.05);
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider {
border-radius: 14px;
}
.portfolio-details .portfolio-details-slider img {
    width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
    margin-top: 20px;
    position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: color-mix(in srgb, var(--default-color), transparent 85%);
    opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
    margin-top: 10px;
}

.portfolio-details .portfolio-description {
    padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
    background-image: url("../img/contact-bg.png");
    background-color: #000000;
    background-position: left center;
    background-repeat: no-repeat;
    position: relative;
}

@media (max-width: 640px) {
    .contact {
        background-position: center 50px;
        background-size: contain;
    }
}

.contact:before {
    content: "";
    background: #000000;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
}

.contact .info-item+.info-item {
    margin-top: 40px;
}

.contact .info-item i {
    background: var(--accent-color);
    color: var(--contrast-color);
    font-size: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
    transition: all 0.3s ease-in-out;
    margin-right: 15px;
}

.contact .info-item h3 {
    padding: 0;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.contact .info-item p {
    padding: 0;
    margin-bottom: 0;
    font-size: 14px;
}

.contact .php-email-form {
    height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
    color: var(--default-color);
    background-color: #000000;
    border-color: #000000;
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
    color: var(--contrast-color);
    background: var(--accent-color);
    border: 0;
    padding: 10px 30px;
    transition: 0.4s;
    border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

#navmenu {
    display: none;
}

/*--------------------------------------------------------------
# Main & Layout
--------------------------------------------------------------*/
html, body {
    height: 100%;
    margin: 0;
    /*background: linear-gradient(135deg, #000000 0%, #09000c 50%, #000000 100%);*/
    background: black;
    background-size: 400% 400%;
   /* animation: gradientShift 15s ease infinite;*/
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.main {
    min-height: 100vh;
    background-color: transparent;
}

.portfolio {
    position: relative;
    overflow: hidden;
}

/*--------------------------------------------------------------
# Portfolio Content Styling
--------------------------------------------------------------*/
.rounded-image {
    border-radius: 14px;
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.image-slider img.active {
    opacity: 1;
    position: relative;
}

/* Title bar at bottom of portfolio images */
.portfolio .portfolio-content .title-bar {
    position: absolute;
    bottom: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px;
    max-width: calc(100% - 24px);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 12px;
    color: #ffffff;
    transform: translateY(0);
    box-shadow: 0 0px 20px rgba(0,0,0,0.3), 0 0 5px 0px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    box-sizing: border-box;
}

.portfolio .portfolio-content .title-bar h4 {
    color: #ffffff;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Engine Logos */
.UnityLogo  {
    position: absolute;
    bottom: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    object-fit: cover;
    padding: 6px;
    background: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 0px 20px rgba(0,0,0,0.3), 0 0 5px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 5;
}

.UnityLogo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0px 20px rgba(0,0,0,0.3), 0 0 5px 0px rgba(0, 0, 0, 0.1);
}

.UnrealLogo {
    position: absolute;
    bottom: 9px;
    right: 12px;
    width: 35px;
    height: 35px;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    padding: 6px;
    background: rgba(0, 0, 0, 0.35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 0px 20px rgba(0,0,0,0.3), 0 0 5px 0px rgba(0, 0, 0, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    z-index: 5;
    will-change: transform;
    image-rendering: auto;
    background-size: cover;
    background-position: center;
}

.UnrealLogo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.UnrealLogo:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0px 20px rgba(0,0,0,0.3), 0 0 5px 0px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Filter Bar
--------------------------------------------------------------*/
.filter-bar-container {
    display: flex;
    justify-content: center;
}

.portfolio-filters-bar {
    position: relative;
    display: inline-flex;
    gap: 0;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    user-select: none;
}

.portfolio-filters-bar li {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    transition: color 0.3s ease, transform 0.2s ease;
    z-index: 2;
    white-space: nowrap;
    border-radius: 24px;
    color: rgba(255, 255, 255, 0.65);
}

.portfolio-filters-bar li:hover {
    color: #ffffff;
    transform: scale(1.03);
}

.portfolio-filters-bar li.filter-active {
    color: #000000;
    font-weight: 600;
}

.portfolio-filters-bar li a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.portfolio-filters-bar li:last-child {
    margin-right: 0;
}

/* Slider Bar */
.slider-bar {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: rgba(208, 255, 0, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    pointer-events: none;
    box-shadow:
            0 2px 12px rgba(208, 255, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform-origin: center;
    will-change: transform, left, width;
}

.portfolio-filters-bar.dragging .slider-bar {
    transition: all 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
            0 4px 16px rgba(208, 255, 0, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scaleX(1.08);
}

.slider-bar::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    background: rgba(208, 255, 0, 0.2);
    filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.portfolio-filters-bar:hover .slider-bar::before {
    opacity: 1;
}

.portfolio-filters-bar li:active {
    transform: scale(0.97);
}

@keyframes smoothStretch {
    0%, 100% {
        transform: scaleX(1);
    }
    50% {
        transform: scaleX(1.12);
    }
}

.slider-bar.animating {
    animation: smoothStretch 0.35s ease-in-out;
}

@media (max-width: 768px) {
    .portfolio-filters-bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0;
        padding: 5px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .portfolio-filters-bar::-webkit-scrollbar {
        display: none;
    }

    .portfolio-filters-bar li {
        padding: 9px 16px;
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .portfolio-filters-bar li {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Header Social Links
--------------------------------------------------------------*/
.header-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-social-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    white-space: nowrap;
}

.header-social-links a i {
    font-size: 18px;
    transition: transform 0.3s ease;
    z-index: 2;
    position: relative;
}

.header-social-links a .resume-text {
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
    position: relative;
}

.header-social-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.header-social-links a:hover::before {
    opacity: 1;
}

.header-social-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(208, 255, 0, 0.2);
}

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

.header-social-links a:active {
    transform: translateY(0px) scale(0.95);
}

.header-social-links a:hover:nth-child(1) {
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.3);
}

.header-social-links a:hover:nth-child(2) {
    color: #0A66C2;
    box-shadow: 0 4px 16px rgba(10, 102, 194, 0.3);
}

.header-social-links a:hover:nth-child(3) {
    color: #E4405F;
    box-shadow: 0 4px 16px rgba(228, 64, 95, 0.3);
}

.header-social-links a:hover:nth-child(4) {
    color: #d0ff00;
    box-shadow: 0 4px 16px rgba(208, 255, 0, 0.3);
}

.header-social-links a:last-child {
    padding: 10px 16px;
    background: rgba(208, 255, 0, 0.1);
    border: 1px solid rgba(208, 255, 0, 0.2);
}

.header-social-links a:last-child:hover {
    background: rgba(208, 255, 0, 0.15);
    border-color: rgba(208, 255, 0, 0.4);
}

.header-social-links a:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.header-social-links:hover a:not(:last-child)::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .header-social-links {
        gap: 4px;
        padding: 4px;
    }

    .header-social-links a {
        padding: 8px 10px;
        font-size: 16px;
    }

    .header-social-links a i {
        font-size: 16px;
    }

    .resume-text {
        display: none;
    }

    .header-social-links a:last-child {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .header-social-links {
        gap: 2px;
    }

    .header-social-links a {
        padding: 7px 9px;
    }
}

.header-social-links a {
    animation: slideInRight 0.5s ease-out backwards;
}

.header-social-links a:nth-child(1) { animation-delay: 0.1s; }
.header-social-links a:nth-child(2) { animation-delay: 0.15s; }
.header-social-links a:nth-child(3) { animation-delay: 0.2s; }
.header-social-links a:nth-child(4) { animation-delay: 0.25s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*--------------------------------------------------------------
# About Section Styling (Inline)
--------------------------------------------------------------*/
.profile-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.spotlight-effect {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 1;
    animation: spotlight 2s infinite;
}

@keyframes spotlight {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.about-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem;
    border-radius: 15px;
    margin-top: 2rem;
}

.about-content h3 {
    color: #bce802;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content ul {
    list-style: none;
    padding-left: 0;
}

.about-content ul li {
    padding: 0.5rem 0;
}

.about-content .row ul li {
    display: flex;
    align-items: center;
}

.about-content .row ul li i {
    margin-right: 0.5rem;
}
/*------------------------------------*/
/*------------------------------------*/
/* Epic Space Background */
.main::before,
.main::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated Nebula Clouds */
.main::before {
    background:
            radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 70%, rgba(75, 0, 130, 0.12) 0%, transparent 50%),
            radial-gradient(ellipse at 50% 50%, rgba(208, 255, 0, 0.08) 0%, transparent 60%);
    background-size: 150% 150%;
    animation: nebulaFloat 20s ease-in-out infinite;
}

/* Twinkling Stars Layer 1 */
.main::after {
    background-image:
            radial-gradient(2px 2px at 15% 25%, white, transparent),
            radial-gradient(1px 1px at 85% 15%, white, transparent),
            radial-gradient(2px 2px at 45% 65%, white, transparent),
            radial-gradient(1px 1px at 70% 85%, white, transparent),
            radial-gradient(2px 2px at 25% 45%, rgba(208, 255, 0, 0.8), transparent),
            radial-gradient(1px 1px at 90% 50%, white, transparent),
            radial-gradient(2px 2px at 10% 90%, white, transparent),
            radial-gradient(1px 1px at 60% 30%, white, transparent),
            radial-gradient(2px 2px at 35% 10%, white, transparent),
            radial-gradient(1px 1px at 50% 75%, white, transparent),
            radial-gradient(2px 2px at 80% 40%, rgba(138, 43, 226, 0.6), transparent),
            radial-gradient(1px 1px at 20% 60%, white, transparent),
            radial-gradient(2px 2px at 95% 80%, white, transparent),
            radial-gradient(1px 1px at 5% 35%, white, transparent),
            radial-gradient(2px 2px at 65% 55%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    animation: starsTwinkle 8s ease-in-out infinite;
}

/* Shooting Stars */
.portfolio::before,
.portfolio::after {
    content: '';
    position: fixed;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 6px 2px rgba(255, 255, 255, 0.8);
    z-index: -1;
    pointer-events: none;
}

.portfolio::before {
    top: -50px;
    right: 20%;
    animation: shootingStar1 3s ease-in infinite;
}

.portfolio::after {
    top: -50px;
    right: 70%;
    animation: shootingStar2 5s ease-in infinite;
    animation-delay: 2s;
}

/* Animations */
@keyframes nebulaFloat {
    0%, 100% {
        background-position: 0% 0%;
        opacity: 0.4;
    }
    50% {
        background-position: 100% 100%;
        opacity: 0.6;
    }
}

@keyframes starsTwinkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    25% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
    75% {
        opacity: 0.6;
        transform: scale(0.98);
    }
}

@keyframes shootingStar1 {
    0% {
        transform: translate(0, 0) rotate(-45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translate(-300px, 300px) rotate(-45deg);
        opacity: 0;
    }
}

@keyframes shootingStar2 {
    0% {
        transform: translate(0, 0) rotate(-45deg);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translate(-400px, 400px) rotate(-45deg);
        opacity: 0;
    }
}

/* Particle Stars (extra layer) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            radial-gradient(1px 1px at 10% 10%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 30% 20%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 50% 40%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 70% 30%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 90% 50%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 20% 70%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 40% 80%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 60% 90%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 80% 70%, rgba(255, 255, 255, 0.3), transparent),
            radial-gradient(1px 1px at 25% 50%, rgba(255, 255, 255, 0.3), transparent);
    background-size: 300% 300%;
    animation: particleDrift 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes particleDrift {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 100%;
    }
}

/* Make sure main content is above stars */
.main > * {
    position: relative;
    z-index: 1;
}