/* ==========================================================================
   LIQUID GLASS & DARK THEME DESIGN TOKENS
   ========================================================================== */
:root {
    /* Base Dark Backgrounds */
    --bg-body: #0a0e1a;
    --bg-surface: #111827;
    --bg-surface-elevated: #1e293b;
    --color-white: #ffffff;
    
    /* Liquid Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-hover: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.10);
    --glass-border-hover: rgba(56, 189, 248, 0.4);
    --glass-blur: 18px;
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glass-inset-glow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);

    /* Electric Neon Accents */
    --accent-cyan: #38bdf8;
    --accent-blue: #00b5e7;
    --accent-purple: #8b5cf6;
    --accent-indigo: #6366f1;
    --accent-glow: rgba(0, 210, 255, 0.25);
    --second-color: #00b5e7;
    
    /* Typography Colors */
    --text-color-second: #cbd5e1; /* TEST: boosted subtitle contrast */
    --text-color-third: #00d2ff;
    --text-main: #f8fafc;
    --text-muted: #64748b;
    --first-shadow-color: rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   AMBIENT LIQUID GLOW & MESH GRADIENT
   ========================================================================== */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.glow-1 {
    top: 10%;
    left: 5%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.25) 0%, rgba(0, 181, 231, 0.08) 50%, transparent 70%);
    animation: liquidFloat1 18s ease-in-out infinite alternate;
}

.glow-2 {
    top: 55%;
    right: 5%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.22) 0%, rgba(99, 102, 241, 0.08) 50%, transparent 70%);
    animation: liquidFloat2 22s ease-in-out infinite alternate;
}

.glow-3 {
    bottom: 5%;
    left: 20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.18) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
    animation: liquidFloat3 15s ease-in-out infinite alternate;
}

@keyframes liquidFloat1 {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.1); }
    100% { transform: translate(-30px, 70px) scale(0.95); }
}

@keyframes liquidFloat2 {
    0% { transform: translate(0px, 0px) scale(1); }
    50% { transform: translate(-50px, -60px) scale(1.08); }
    100% { transform: translate(40px, -30px) scale(0.92); }
}

@keyframes liquidFloat3 {
    0% { transform: translate(0px, 0px) scale(1); }
    100% { transform: translate(50px, -40px) scale(1.05); }
}

/* ==========================================================================
   PORTFOLIO WEBSITE - LIQUID GLASS & DARK THEME
   Modernized, simplified, and refined layout with glassmorphism aesthetics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* --- Reset & Global Defaults --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 9px;
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 14, 26, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

.container {
    padding-inline: 8vw;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   HEADER & LIQUID GLASS NAVIGATION BAR
   ========================================================================== */
nav#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 8vw;
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 100;
}

.nav-logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.nav-logo span {
    color: var(--accent-cyan);
    font-size: 32px;
    line-height: 1;
    margin-left: 2px;
}

.nav-menu {
    display: flex;
}

.nav_menu_list {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav_list {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color-second);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
    padding: 6px 12px;
    border-radius: 8px;
}

.nav-link:hover,
.nav-link.active-link {
    color: var(--text-main);
    background: var(--glass-bg);
}

.nav_list .circle {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link.active-link ~ .circle {
    opacity: 1;
}

/* Liquid Glass Action Button */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: var(--glass-bg);
    color: var(--text-main);
    backdrop-filter: blur(10px);
}

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

.blue-btn {
    background: linear-gradient(135deg, #00b5e7 0%, #0077b6 100%);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 181, 231, 0.3);
}

.blue-btn:hover {
    background: linear-gradient(135deg, #00d2ff 0%, #0096c7 100%);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.45);
    transform: translateY(-2px);
}

.nav-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-main);
}

/* ==========================================================================
   WRAPPER & SECTIONS
   ========================================================================== */
.wrapper {
    padding-top: 80px;
}

.section {
    padding-block: 5rem;
}

.top-header {
    text-align: center;
    margin-bottom: 4rem;
}

.top-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-header span {
    color: var(--text-color-second);
    font-size: 15px;
}

/* ==========================================================================
   FEATURED / HERO BOX
   ========================================================================== */
.featured-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: calc(100vh - 80px);
    gap: 40px;
}

.featured-text {
    flex: 1;
    max-width: 600px;
}

.featured-text-card {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.featured-text-card span {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-cyan);
    letter-spacing: 1px;
}

.featured-name {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-main);
}

.typedText {
    color: var(--accent-cyan);
    text-shadow: 0 0 20px var(--accent-glow);
}

.featured-text-info {
    font-size: 16px;
    color: var(--text-color-second);
    line-height: 1.6;
    margin-bottom: 28px;
}

.featured-text-btn {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

/* Social Icons */
.social_icons {
    display: flex;
    gap: 16px;
}

.social_icons a {
    text-decoration: none;
}

.social_icons .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: var(--text-main);
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.social_icons .icon:hover {
    color: var(--accent-cyan);
    background: rgba(0, 210, 255, 0.12);
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px var(--accent-glow);
}

/* Hero Avatar Image with Liquid Glass Ring */
.featured-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    padding: 6px;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.6) 0%, rgba(139, 92, 246, 0.6) 100%);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 35px rgba(0, 210, 255, 0.3);
    transition: transform 0.4s ease;
}

.image:hover {
    transform: scale(1.02);
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.scroll-icon-box {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-color-second);
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.scroll-btn:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    transform: translateY(-2px);
}

/* ==========================================================================
   ABOUT SECTION & SKILLS CARDS (LIQUID GLASS)
   ========================================================================== */
.row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.col {
    flex: 1;
}

.about-info {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 36px 32px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-info:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.about-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
}

.about-info p {
    font-size: 15px;
    color: var(--text-color-second);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Skills Boxes */
.skills-box {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 20px;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.skills-box:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
}

.skills-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills-list span {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.25s ease;
}

.skills-list span:hover {
    background: rgba(0, 210, 255, 0.15);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* ==========================================================================
   PROJECTS SECTION (FROSTED GLASS CARDS)
   ========================================================================== */
.project-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.project-box {
    flex: 1;
    min-width: 260px;
    height: 240px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: default;
}

.project-box i {
    font-size: 48px;
    color: var(--accent-cyan);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.project-box h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

.project-box label {
    font-size: 14px;
    color: var(--text-color-second);
}

.project-box::after {
    content: "";
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 210, 255, 0.1) 100%);
    transition: bottom 0.4s ease;
    pointer-events: none;
}

.project-box:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-7px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 24px var(--accent-glow);
}

.project-box:hover i {
    transform: scale(1.15);
}

.project-box:hover::after {
    bottom: 0;
}

/* ==========================================================================
   CONTACT SECTION (DARK LIQUID GLASS)
   ========================================================================== */
.contact-info {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: 24px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.contact-info:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-3px);
}

.contact-info h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info p {
    font-size: 15px;
    color: var(--text-color-second);
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-info p i {
    font-size: 20px;
    color: var(--accent-cyan);
}

/* Contact Form Controls */
.form-control {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.form-inputs {
    display: flex;
    gap: 16px;
    width: 100%;
}

.input-field {
    flex: 1;
    height: 52px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 12px 18px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    transition: all 0.3s ease;
}

.input-field::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

.input-field:focus,
textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 16px var(--accent-glow);
    background: rgba(255, 255, 255, 0.07);
}

.text-area textarea {
    width: 100%;
    height: 140px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-main);
    outline: none;
    resize: none;
    transition: all 0.3s ease;
}

.form-button .btn {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 14px;
    background: linear-gradient(135deg, #00b5e7 0%, #0077b6 100%);
    border: none;
    color: #fff;
    font-weight: 600;
}

.form-button .btn:hover {
    background: linear-gradient(135deg, #00d2ff 0%, #0096c7 100%);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

.form-button i {
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.form-button .btn:hover i {
    transform: rotate(-45deg) translate(2px, -2px);
}

/* ==========================================================================
   FOOTER (DARK GLASS)
   ========================================================================== */
footer {
    position: relative;
    z-index: 1;
    background: rgba(10, 14, 26, 0.9);
    border-top: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    padding: 48px 8vw 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 4rem;
}

.top-footer p {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.footer-menu {
    display: flex;
    gap: 28px;
    list-style: none;
}

.footer_menu_list a {
    text-decoration: none;
    color: var(--text-color-second);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer_menu_list a:hover {
    color: var(--accent-cyan);
}

.footer-social-icons {
    display: flex;
    gap: 16px;
}

.bottom-footer p {
    font-size: 13px;
    color: var(--text-muted);
}

.bottom-footer a {
    color: var(--accent-cyan);
    text-decoration: none;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media only screen and (max-width: 1024px) {
    .featured-box {
        gap: 20px;
    }
    .image {
        width: 280px;
        height: 280px;
    }
}

@media only screen and (max-width: 900px) {
    .nav-button {
        display: none;
    }
    .nav-menu-btn {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 14, 26, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    .nav-menu.responsive {
        left: 0;
    }
    .nav_menu_list {
        flex-direction: column;
        align-items: center;
        gap: 28px;
    }
    .featured-box {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        padding-top: 40px;
    }
    .featured-text {
        max-width: 100%;
    }
    .featured-text-btn,
    .social_icons {
        justify-content: center;
    }
    .row {
        flex-direction: column;
    }
    .col {
        width: 100%;
    }
}

@media only screen and (max-width: 540px) {
    .featured-name {
        font-size: 2.2rem;
    }
    .form-inputs {
        flex-direction: column;
    }
    .project-box {
        min-width: 100%;
    }
    .image {
        width: 220px;
        height: 220px;
    }
}
