/* =========================
   Variables and Base Settings
   ========================= */
:root {
    --primary-color: #6C63FF;
    --secondary-color: #2A2A2A;
    --text-color: #FFFFFF;
    --gradient-bg: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
}

/* Reset and box-sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   Layout & Body
   ========================= */
body {
    font-family: 'Poppins', sans-serif;
    background:
        linear-gradient(120deg, rgba(108,99,255,0.13) 0%, rgba(255,101,132,0.10) 100%),
        url('/assets/background-image/bg_style.png') center top/cover no-repeat fixed;
    background-blend-mode: overlay;
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(24,24,32,0.18) 0%, rgba(24,24,32,0.38) 100%);
    mix-blend-mode: multiply;
}
body > * {
    position: relative;
    z-index: 1;
}
html {
    scroll-behavior: smooth;
}
body.lock-scroll {
    overflow: hidden;
}

/* =========================
   Header & Navigation
   ========================= */
.glass-header {
    background: transparent;
    backdrop-filter: none;
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
    box-shadow: none;
}
.glass-header.active {
    background: rgba(44,44,64,0.75);
    box-shadow: 0 4px 24px rgba(108,99,255,0.10);
    backdrop-filter: blur(10px);
}
.logo {
    font-size: 2rem;
    font-weight: 600;
    background: var(--gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s cubic-bezier(.4,2,.3,1);
}
.logo:hover {
    transform: scale(1.12);
    cursor: pointer;
}
.logo:active {
    transform: scale(0.95) rotate(-2deg);
    transition: transform 0.1s cubic-bezier(.4,2,.3,1);
}
nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}
nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
nav ul li a:hover {
    color: var(--primary-color);
}
.main-nav {
    position: relative;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    width: 40px;
    height: 40px;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 1101;
        width: 40px;
        height: 40px;
    }
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    background: var(--primary-color);
    height: 4px;
    width: 28px;
    border-radius: 2px;
    position: absolute;
    transition: all 0.3s ease;
    content: '';
}
.hamburger {
    position: relative;
    margin: 18px 0 0 6px;
}
.hamburger::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
}
.hamburger::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 20px;
        right: -5px;
        width: 180px;
        background: rgba(44,44,64,0.92);
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 0.1rem;
        box-shadow: 0 8px 32px rgba(108,99,255,0.13);
        display: none;
        z-index: 1000;
        border-radius: 1.2rem;
        padding: 0.2rem 0.2rem;
        margin: 0;
        border: 1.5px solid rgba(108,99,255,0.13);
        backdrop-filter: blur(12px);
        animation: navFadeIn 0.25s cubic-bezier(.4,0,.2,1);
    }
    .main-nav.open .nav-links {
        display: flex;
    }
    .nav-links li {
        margin: 0;
        position: relative;
    }
    .nav-links li:not(:last-child)::after {
        content: "";
        display: block;
        width: 80%;
        height: 1px;
        background: rgba(108,99,255,0.10);
        margin: 0.5rem auto;
        border-radius: 1px;
    }
    .nav-links li a {
        font-size: 1.08rem;
        font-weight: 500;
        color: var(--text-color);
        background: none;
        padding: 0.9rem 1.2rem;
        border-radius: 0.9rem;
        transition: 
            background 0.18s cubic-bezier(.4,0,.2,1),
            color 0.18s cubic-bezier(.4,0,.2,1),
            box-shadow 0.18s cubic-bezier(.4,0,.2,1);
        display: flex;
        align-items: center;
        gap: 0.6rem;
        letter-spacing: 0.01em;
        outline: none;
    }
    .nav-links li a:hover,
    .nav-links li a:focus {
        background: var(--primary-color);
        color: #fff;
        box-shadow: 0 2px 12px rgba(108,99,255,0.13);
        text-decoration: none;
    }
    .nav-links li a:active {
        background: #35345a;
        color: #fff;
        box-shadow: none;
    }
}

@keyframes navFadeIn {
    from {
        opacity: 0;
        transform: translateY(-16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    nav ul {
        flex-direction: column;
        gap: 1rem;
    }
}

/* =========================
   Hero Section
   ========================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, rgba(35,34,58,0.82) 0%, rgba(108,99,255,0.38) 100%);
    position: relative;
    overflow: hidden;
}
.hero-content {
    text-align: center;
    z-index: 1;
}
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #fff;
    margin-bottom: 1.2rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 3.0s cubic-bezier(.4,0,.2,1), transform 3.0s cubic-bezier(.4,0,.2,1);
}
.hero-title.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}
.hero-subtitle {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 5.0s cubic-bezier(.4,0,.2,1), transform 5.0s cubic-bezier(.4,0,.2,1);
    font-size: 1.25rem;
    color: #ffffff;
    margin: 1rem 0 2rem 0;
    font-weight: 400;
    text-align: center;
    letter-spacing: 0.01em;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hero-subtitle.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
}

/* =========================
   CTA Buttons
   ========================= */
.cta-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}
.cta-primary, .cta-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 12px rgba(108,99,255,0.10);
    border: none;
    outline: none;
    cursor: pointer;
    transition:
        background 0.22s cubic-bezier(.4,0,.2,1),
        color 0.22s cubic-bezier(.4,0,.2,1),
        box-shadow 0.22s cubic-bezier(.4,0,.2,1),
        transform 0.22s cubic-bezier(.4,0,.2,1);
    display: inline-block;
    position: relative;
    
}

.cta-primary {
    background: var(--gradient-bg);
    color: #fff;
    border: none;
}

.cta-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.cta-primary:hover, .cta-secondary:hover,
.cta-primary:focus, .cta-secondary:focus {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 32px rgba(108,99,255,0.18);
    background: linear-gradient(135deg, #6C63FF 0%, #FF6584 100%);
    color: #fff;
    outline: none;
    text-decoration: none;
}

.cta-primary:active, .cta-secondary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(108,99,255,0.10);
}

.cta-primary::after {
    content: "";
    position: absolute;
    left: 18%;
    bottom: 8px;
    width: 64%;
    height: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.18) 0%, rgba(108,99,255,0.08) 100%);
    border-radius: 50px;
    filter: blur(8px);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

/* =========================
   Projects Section
   ========================= */
.projects-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1.5rem;
}
.projects-section h2::after {
    content: "";
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 200px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6C63FF 0%, #FF6584 100%);
    opacity: 0.7;
}
.project-description {
    color: #e0e0e0;
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    letter-spacing: 0.01em;
    background: none;
    box-shadow: none;
    padding: 0;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Project Card Styles --- */
.project-card {
    background: rgba(44, 44, 64, 0.28); /* glass effect like .skill-card */
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(108,99,255,0.07);
    transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s, transform 0.22s cubic-bezier(.4,2,.3,1);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 340px;
    position: relative;
    color: #e0e0e0;
    cursor: default;
    opacity: 0.96;
    will-change: opacity;
    backdrop-filter: blur(1.5px);
    border: 1.5px solid rgba(108,99,255,0.08);
    overflow: hidden;
}
.project-card::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 60%;
    background: linear-gradient(120deg, rgba(108,99,255,0.10) 0%, rgba(255,101,132,0.08) 100%);
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}
.project-card > * {
    position: relative;
    z-index: 1;
}
.project-image {
    width: 100%;
    height: 160px;
    background: #23223a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.project-image .popup-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.2rem;
    color: #fff;
    background: rgba(44,44,64,0.85);
    border-radius: 50%;
    padding: 0.45rem;
    opacity: 0;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity 0.22s cubic-bezier(.4,2,.3,1), filter 0.22s cubic-bezier(.4,2,.3,1);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(108,99,255,0.13);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
}
.project-image:hover .popup-icon {
    opacity: 1;
    filter: brightness(1.2) drop-shadow(0 2px 8px rgba(108,99,255,0.18));
}
.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 12px 12px;
    transition: filter 0.22s;
    filter: brightness(0.98) saturate(1.08);
    background: none;
}
.project-card:hover .project-image img {
    filter: brightness(1.05) saturate(1.18);
}
.project-info {
    padding: 1.5rem 1.3rem 1.2rem 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    align-items: center;
}
.project-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.7rem;
    letter-spacing: -0.5px;
    text-align: center;
}
.project-info p {
    font-size: 1.05rem;
    color: #bdbdbd;
    margin-bottom: 1.1rem;
    line-height: 1.6;
    flex: 1;
}
.project-tags {
    margin-bottom: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.project-tags span {
    background: #23223a;
    color: #bdbdbd;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 0.32rem 0.8rem;
    border-radius: 12px;
    letter-spacing: 0.01em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    user-select: none;
    margin-bottom: 2px;
    border: 1px solid #333;
}
.project-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.98rem;
    background: #35345a;
    color: #e0e0e0;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 1px 6px rgba(108,99,255,0.10);
    border: none;
    transition: 
        background 0.18s cubic-bezier(.4,0,.2,1),
        color 0.18s cubic-bezier(.4,0,.2,1),
        box-shadow 0.18s cubic-bezier(.4,0,.2,1),
        filter 0.18s cubic-bezier(.4,0,.2,1),
        transform 0.18s cubic-bezier(.4,0,.2,1);
    outline: none;
    text-decoration: none;
}
.project-link:active,
.project-link:focus {
    background: #35345a;
    color: #e0e0e0;
    outline: none;
    box-shadow: 0 1px 6px rgba(108,99,255,0.10);
    text-decoration: none;
}
.project-link:hover {
    background: #6C63FF;
    color: #fff;
    box-shadow: 0 4px 16px rgba(108,99,255,0.18);
    filter: brightness(1.15);
    transform: scale(1.12);
    transition: 
        background 0.22s cubic-bezier(.4,2,.3,1),
        color 0.22s cubic-bezier(.4,2,.3,1),
        box-shadow 0.22s cubic-bezier(.4,2,.3,1),
        filter 0.22s cubic-bezier(.4,2,.3,1),
        transform 0.22s cubic-bezier(.4,2,.3,1);
}

/* =========================
   Skills Section
   ========================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.2rem;
    padding: 0 1.5rem;
    background: none;
    max-width: 1100px;
    margin: 0 auto;
}
.skills-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color, #6C63FF);
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    text-align: center;
    position: relative;
}

.skills-section h2::after {
    content: "";
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 200px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6C63FF 0%, #FF6584 100%);
    opacity: 0.7;
}

.skill-card {
    background: rgba(44, 44, 64, 0.28);
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 24px rgba(108,99,255,0.07);
    transition: box-shadow 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-color);
    cursor: default;
    opacity: 0.96;
    will-change: opacity;
    backdrop-filter: blur(1.5px);
    border: 1.5px solid rgba(108,99,255,0.08);
    position: relative;
    overflow: hidden;
}
.skill-card::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 60%;
    background: linear-gradient(120deg, rgba(108,99,255,0.10) 0%, rgba(255,101,132,0.08) 100%);
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}
.skill-card > * {
    position: relative;
    z-index: 1;
}
.skill-card i {
    font-size: 2.2rem;
    margin-bottom: 1.1rem;
    color: var(--primary-color, #6C63FF);
    filter: drop-shadow(0 2px 8px rgba(108,99,255,0.10));
}
.skill-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #fff;
    letter-spacing: 0.01em;
}
.skill-card p {
    color: #e0e0e0;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.01em;
    background: none;
}
.about-text p {
    text-wrap: pretty;
}
@media (max-width: 900px) {
    .skills-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }
    .skills-section {
        padding: 3rem 0 2rem 0;
    }
}

/* =========================
   About Section
   ========================= */
.about-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 340px;
    padding: 120px 0 60px 0;
    background: none;
}
.about-section-content {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}
.about-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color, #6C63FF);
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
    text-align: center;
    position: relative;
}
.about-section h2::after {
    content: "";
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 200px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6C63FF 0%, #FF6584 100%);
    opacity: 0.7;
}
.about-text {
    color: #e0e0e0;
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    letter-spacing: 0.01em;
    background: none;
    box-shadow: none;
    padding: 0;
}
@media (max-width: 600px) {
    .about-section-content {
        padding: 0 1rem;
    }
    .about-text {
        font-size: 1.05rem;
        max-width: 98vw;
    }
}

/* =========================
   Contact Section & Form
   ========================= */
.contact-section {
    background: none;
    border-radius: 0;
    box-shadow: none;
    margin: 5rem auto 2rem auto;
    max-width: 700px;
    padding: 0 2rem 4rem 2rem;
    position: relative;
    text-align: center;
}
.contact-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color, #6C63FF);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    position: relative;
    display: inline-block;
}
.contact-section h2::after {
    content: "";
    display: block;
    margin: 0.7rem auto 0 auto;
    width: 200px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #6C63FF 0%, #FF6584 100%);
    opacity: 0.7;
}
.contact-description {
    color: #e0e0e0;
    font-size: 1.22rem;
    font-weight: 400;
    line-height: 1.8;
    margin: 0 auto;
    max-width: 100%;
    text-align: center;
    letter-spacing: 0.01em;
    background: none;
    box-shadow: none;
    padding: 0;
}
.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}
.contact-form {
    background: rgba(44, 44, 64, 0.28); /* glass effect */
    padding: 2.2rem 1.5rem 1.5rem 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 4px 24px rgba(108,99,255,0.10);
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-color);
    backdrop-filter: blur(12px);
    border: 1.5px solid rgba(108,99,255,0.13);
    position: relative;
    overflow: hidden;
}
.contact-form::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 60%;
    background: linear-gradient(120deg, rgba(108,99,255,0.10) 0%, rgba(255,101,132,0.08) 100%);
    filter: blur(18px);
    z-index: 0;
    pointer-events: none;
}
.contact-form > * {
    position: relative;
    z-index: 1;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    border-radius: 5px;
}
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .contact-form {
        width: 100%;
    }
}

/* =========================
   Contact Info & Cards
   ========================= */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact-card {
    background: var(--secondary-color);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.contact-card i {
    font-size: 2rem;
    color: var(--primary-color);
}
.contact-card a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-card a:hover {
    color: var(--primary-color);
}

/* =========================
   Contact CTA (Bottom)
   ========================= */
.contact-me {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 0 0;
    padding: 1.5rem 2rem;
    background: linear-gradient(90deg, #6C63FF 0%, #FF6584 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(80, 80, 120, 0.10);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.contact-me:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 32px rgba(80, 80, 120, 0.18);
}
.contact-me a.contact-link {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: none;
    color: inherit;
    border-radius: 1rem;
    text-indent: -9999px;
    overflow: hidden;
}
.contact-me i {
    font-size: 2rem;
    color: #fff;
    background: rgba(0,0,0,0.12);
    border-radius: 50%;
    padding: 0.5rem;
    margin-right: 0.5rem;
    z-index: 1;
    pointer-events: none;
}
.contact-me .contact-link::after {
    content: "Send Email";
    position: absolute;
    left: -9999px;
}
.contact-now-text {
    color: #fff;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0.02em;
    z-index: 1;
    pointer-events: none;
}
.contact-cta-title {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: -1px;
}
.contact-cta-desc {
    font-size: 1.15rem;
    color: #bdbdbd;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================
   Links & Social Section
   ========================= */
.links-section {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3.5rem 0 2.5rem 0;
    padding: 0;
    background: none;
    position: relative;
    z-index: 1;
}
.links-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 340px;
    height: 120px;
    transform: translate(-50%, -50%) rotate(-8deg);
    background: radial-gradient(ellipse at center, rgba(108,99,255,0.13) 0%, rgba(255,101,132,0.10) 100%);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}
.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    color: #bdbdbd;
    background: none;
    border-radius: 50%;
    transition: color 0.22s, transform 0.22s, box-shadow 0.22s, background 0.22s;
    box-shadow: 0 2px 16px rgba(108,99,255,0.10);
    width: 64px;
    height: 64px;
    position: relative;
    text-decoration: none;
    z-index: 1;
}
.social-link:hover,
.social-link:focus {
    color: #fff;
    background: linear-gradient(
        135deg,
        rgba(108,99,255,0.65) 0%,
        rgba(255,101,132,0.45) 100%
    );
    transform: scale(1.08); /* Small scale only */
    box-shadow: 0 8px 32px rgba(108,99,255,0.18), 0 2px 12px rgba(0,0,0,0.13);
    outline: none;
}
.social-link i {
    pointer-events: none;
    transition: filter 0.22s;
    filter: drop-shadow(0 2px 8px rgba(108,99,255,0.10));
}
.social-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 1rem;
    color: #bdbdbd;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.22s;
    text-align: center;
    pointer-events: none;
    user-select: none;
}
.social-link:hover .social-label,
.social-link:focus .social-label {
    color: #fff;
}
@media (max-width: 600px) {
    .links-section {
        gap: 1.5rem;
    }
    .links-section::before {
        width: 180px;
        height: 60px;
        filter: blur(10px);
    }
    .social-link {
        font-size: 1.5rem;
        width: 44px;
        height: 44px;
    }
    .social-label {
        font-size: 0.92rem;
    }
}

/* --- Add touch-specific styles for social-link --- */
.social-link:active {
    transform: scale(1.0);
    background: none;
    color: #bdbdbd;
    box-shadow: 0 2px 16px rgba(108,99,255,0.10);
}

/* =========================
   Project Filters
   ========================= */
.projects-filter {
    margin: 2rem 0;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: var(--secondary-color);
    color: var(--text-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
}
@media (max-width: 768px) {
    .projects-filter {
        justify-content: center;
    }
}

/* =========================
   Section Content
   ========================= */
.section-content {
    padding: 140px 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================
   Footer
   ========================= */
footer {
    background: linear-gradient(120deg, rgba(35,34,58,0.60) 0%, rgba(108,99,255,0.20) 100%);
    padding: 2rem;
    text-align: center;
    color: var(--text-color);
    overflow: hidden;
    margin-top: auto;
}

footer p {
    font-size: 0.9rem;
    color: #bdbdbd;
    margin: 0;
}

/* =========================
   Scroll Up Button
   ========================= */
.scroll-up {
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 1000;
    background: var(--primary-color);
    color: var(--text-color);
    padding: 5px 5px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
}
.scroll-up a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #222;
    transition: background 0.2s;
    text-decoration: none;
    color: inherit;
}
.scroll-up a:hover {
    background: #444;
}
.scroll-up.show {
    display: block;
}
.scroll-up:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* =========================
   Modal (Image Gallery)
   ========================= */
.image-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(24,24,32,0.88);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.22s cubic-bezier(.4,2,.3,1);
}
.image-modal.active {
    display: flex;
    opacity: 1;
}
.image-modal img {
    position: relative;
    z-index: 10;
    max-width: 86vw;
    max-height: 76vh;
    object-fit: contain;
    transition: opacity .25s ease;
}
.image-modal img.fade { opacity: 0; }
.image-modal .close-modal {
    position: absolute;
    top: 28px;
    right: 32px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #3d3b63 0%, #272643 70%);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 40;
    box-shadow: 0 4px 18px -4px rgba(0,0,0,0.55);
    transition: background .25s, transform .25s, box-shadow .25s;
}
.image-modal .close-modal:hover {
    background: radial-gradient(circle at 30% 30%, #6C63FF 0%, #4a458b 70%);
    transform: scale(1.08);
}
.image-modal .close-modal:active { transform: scale(.92); }
.image-modal .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(45,45,70,0.65);
    color: #fff;
    font-size: 1.9rem;
    font-weight: 300;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(4px);
    z-index: 30;
    transition: background .25s, transform .25s, box-shadow .25s;
    user-select: none;
}
.image-modal .nav-btn.prev { left: clamp(12px, 2vw, 48px); }
.image-modal .nav-btn.next { right: clamp(12px, 2vw, 48px); }
.image-modal .nav-btn:hover {
    background: #6C63FF;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 18px -4px rgba(108,99,255,0.55);
}
.image-modal .nav-btn:active {
    transform: translateY(-50%) scale(.92);
}
.image-modal .counter {
    margin-top: 14px;
    font: 500 0.9rem system-ui, sans-serif;
    color: #d0d0de;
    letter-spacing: .5px;
    text-align: center;
    width: 100%;
}
.image-modal.hide-prev .nav-btn.prev { display:none; }
.image-modal.hide-next .nav-btn.next { display:none; }
.image-modal.no-nav .nav-btn { display:none; }
@media (max-width: 600px) {
    .image-modal .close-modal {
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }
    .image-modal .nav-btn {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }
    .image-modal .counter {
        bottom: -36px;
    }
}

/* Add padding for mobile screens */
@media (max-width: 600px) {
    .hero-section,
    .hero-content,
    .about-section,
    .about-section-content,
    .skills-section,
    .section-content,
    .projects-section,
    .contact-section {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Subtle badge intro above H1 */
.hero-intro-badge {
    display: inline-block;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 6px 18px;
    font-size: 1.08rem;
    color: #bdb6e5;
    font-weight: 500;
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(108,99,255,0.05);
    transform: translateY(-16px);
    opacity: 0; /* Add this line */
    animation: fadeInDown 1.2s cubic-bezier(.6,.2,.3,1) 0.2s forwards;
    letter-spacing: 0.01em;
}

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

@media (max-width: 900px), (pointer: coarse) {
    body {
        background:
            linear-gradient(120deg, rgba(108,99,255,0.13) 0%, rgba(255,101,132,0.10) 100%),
            url('/assets/background-image/bg_style.png') center top / cover no-repeat;
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
    }
}
.parallax-bg {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: 0;
    background:
        linear-gradient(120deg, rgba(108,99,255,0.13) 0%, rgba(255,101,132,0.10) 100%),
        url('/assets/background-image/bg_style.png') center top / cover no-repeat;
    background-blend-mode: overlay;
    pointer-events: none;
}
