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

/* ----- VARIABLES ----- */
:root {
    /* Colors - Midnight & Electric Theme */
    --body-bg: #050507;
    --glass-bg: rgba(255, 255, 255, 0.03);
    /* Subtle frost */
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);

    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-accent: #00f2ff;
    /* Electric Blue */

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #00c6ff, #0072ff);
    --gradient-glow: radial-gradient(circle at center, rgba(0, 242, 255, 0.15), transparent 60%);
    --gradient-text: linear-gradient(to right, #ffffff, #a5b4fc);

    /* Accents */
    --accent-primary: #00f2ff;
    --accent-secondary: #4f46e5;
    /* Indigo */
    --accent-glow: rgba(0, 242, 255, 0.4);

    /* Layout */
    --nav-height: 90px;
    --section-padding: 4rem 0;
    --border-radius-lg: 24px;
    --border-radius-md: 16px;

    /* Shadows */
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 12px 40px rgba(0, 198, 255, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Light Theme */
.light-theme {
    --body-bg: #f8fafc;
    --glass-bg: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-highlight: rgba(0, 0, 0, 0.15);

    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-accent: #0ea5e9;

    --gradient-primary: linear-gradient(135deg, #0ea5e9, #0284c7);
    --gradient-glow: radial-gradient(circle at center, rgba(14, 165, 233, 0.15), transparent 60%);
    --gradient-text: linear-gradient(to right, #1e293b, #475569);

    --accent-primary: #0ea5e9;
    --accent-secondary: #3b82f6;
    --accent-glow: rgba(14, 165, 233, 0.4);
}

/* ----- BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--body-bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* ----- GRADIENT MESH BACKGROUND ----- */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: radial-gradient(at 0% 0%, rgb(18, 18, 23) 50%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(at 100% 0%, rgb(10, 10, 15) 50%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(at 100% 100%, rgb(15, 15, 20) 50%, rgba(0, 0, 0, 0) 50%),
        radial-gradient(at 0% 100%, rgb(5, 5, 8) 50%, rgba(0, 0, 0, 0) 50%);
    overflow: hidden;
}

.gradients-container {
    filter: blur(80px);
    /* Smooth mesh */
    width: 100%;
    height: 100%;
}

.g1,
.g2,
.g3,
.g4,
.g5,
.interactive {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: move 20s infinite alternate;
}

.g1 {
    background: radial-gradient(circle at center, rgba(18, 113, 255, 0.4) 0, rgba(0, 0, 0, 0) 50%);
    width: 80%;
    height: 80%;
    top: -10%;
    left: -10%;
    transform-origin: center center;
    animation: moveVertical 30s ease infinite;
}

.g2 {
    background: radial-gradient(circle at center, rgba(107, 74, 255, 0.4) 0, rgba(0, 0, 0, 0) 50%);
    width: 80%;
    height: 80%;
    top: -10%;
    right: -10%;
    transform-origin: calc(50% - 400px);
    animation: moveInCircle 20s reverse infinite;
}

.g3 {
    background: radial-gradient(circle at center, rgba(100, 220, 255, 0.4) 0, rgba(0, 0, 0, 0) 50%);
    width: 80%;
    height: 80%;
    top: 20%;
    left: 20%;
    transform-origin: calc(50% + 400px);
    animation: moveInCircle 40s linear infinite;
}

.g4 {
    background: radial-gradient(circle at center, rgba(50, 50, 200, 0.4) 0, rgba(0, 0, 0, 0) 50%);
    width: 60%;
    height: 60%;
    top: 40%;
    right: 20%;
    transform-origin: calc(50% - 200px);
    animation: moveHorizontal 40s ease infinite;
}

.interactive {
    background: radial-gradient(circle at center, rgba(140, 100, 255, 0.6) 0, rgba(0, 0, 0, 0) 50%);
    width: 100%;
    height: 100%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

/* Floating Decorative Shapes */
.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 {
    top: 10%;
    left: 10%;
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation-delay: 0s;
}

.shape-2 {
    top: 20%;
    right: 15%;
    width: 40px;
    height: 40px;
    background: var(--accent-secondary);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation-delay: 5s;
}

.shape-3 {
    bottom: 30%;
    left: 20%;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    animation-delay: 10s;
}

.shape-4 {
    top: 60%;
    right: 10%;
    width: 30px;
    height: 30px;
    background: var(--accent-primary);
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    animation-delay: 15s;
}

.shape-5 {
    bottom: 20%;
    left: 60%;
    width: 45px;
    height: 45px;
    background: var(--accent-secondary);
    border-radius: 50% 20% 50% 20%;
    animation-delay: 7s;
}

@keyframes floatShape {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }

    75% {
        transform: translateY(-30px) rotate(270deg);
    }
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--accent-primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 15s ease-in-out infinite;
}

.particle-1 {
    width: 4px;
    height: 4px;
    top: 15%;
    left: 25%;
    animation-delay: 0s;
}

.particle-2 {
    width: 6px;
    height: 6px;
    top: 35%;
    left: 75%;
    animation-delay: 3s;
}

.particle-3 {
    width: 3px;
    height: 3px;
    top: 55%;
    left: 15%;
    animation-delay: 6s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    top: 75%;
    left: 85%;
    animation-delay: 9s;
}

.particle-5 {
    width: 4px;
    height: 4px;
    top: 25%;
    left: 45%;
    animation-delay: 12s;
}

.particle-6 {
    width: 3px;
    height: 3px;
    top: 65%;
    left: 55%;
    animation-delay: 15s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }

    25% {
        transform: translateY(-50px) translateX(20px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-100px) translateX(-10px);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-50px) translateX(-20px);
        opacity: 0.6;
    }
}

@keyframes moveInCircle {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes moveVertical {
    0% {
        transform: translateY(-50%);
    }

    50% {
        transform: translateY(50%);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes moveHorizontal {
    0% {
        transform: translateX(-50%) translateY(-10%);
    }

    50% {
        transform: translateX(50%) translateY(10%);
    }

    100% {
        transform: translateX(-50%) translateY(-10%);
    }
}

/* ----- PROJECT FILTER ----- */
.project-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
    font-family: 'Outfit', sans-serif;
}

.filter-btn:hover,
.filter-btn.active-filter {
    background: var(--accent-primary);
    color: #000;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
}

/* Background Blobs */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: blobFloat 20s infinite alternate;
}

body::before {
    top: -20%;
    right: -10%;
    background: var(--gradient-primary);
}

body::after {
    bottom: -20%;
    left: -10%;
    background: radial-gradient(circle, #7000ff, transparent 60%);
    animation-delay: -10s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}



/* ----- SCROLLBAR ----- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--body-bg);
}

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ----- SELECTION & SCROLLBAR ----- */
::selection {
    background: var(--accent-primary);
    color: #000;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

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

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

/* ----- SERVICES SECTION ----- */
.service-box {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}

.service-box i {
    font-size: 50px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    transition: 0.3s;
}

.service-box:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 20px var(--accent-glow);
}

.service-box h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.service-box p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ----- CERTIFICATIONS SECTION ----- */
.certification-box {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.certification-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}

.certification-box i {
    font-size: 50px;
    color: var(--accent-primary);
    margin-bottom: 20px;
    transition: 0.3s;
}

.certification-box:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 20px var(--accent-glow);
}

.certification-box h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
}

.certification-box p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ----- TOOLS & TECHNOLOGIES ----- */
.tools-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.tool-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 25px -5px rgba(0, 198, 255, 0.3);
}

.tool-item i {
    font-size: 36px;
    color: #fff;
    transition: 0.3s;
}

.tool-item:hover i {
    transform: scale(1.1);
    color: var(--accent-primary);
    text-shadow: 0 0 15px var(--accent-glow);
}

.tool-item span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    transition: 0.3s;
}

.tool-item:hover span {
    color: #fff;
}



/* ----- REUSABLES ----- */
a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

section {
    padding: var(--section-padding);
    position: relative;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    transition: opacity 0.5s ease;
}

/* ----- BUTTONS ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 36px;
    background: var(--glass-bg);
    color: #fff;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
}

/* Gradient hover effect */
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    /* Default invisible */
    z-index: -1;
    transition: opacity 0.4s ease;
}

.btn:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(0, 198, 255, 0.3);
}

.btn:hover::before {
    opacity: 1;
    /* Show gradient on hover */
}

/* Secondary Button Style */
.btn.secondary-btn {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
}

.btn.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #fff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn.secondary-btn::before {
    display: none;
}


/* Blue Button (Primary CTA) */
.btn.blue-btn {
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 8px 25px rgba(0, 114, 255, 0.3);
}

.btn.blue-btn:hover {
    box-shadow: 0 12px 40px rgba(0, 198, 255, 0.5);
    transform: translateY(-4px) scale(1.02);
}

/* Theme Toggle Button */
.theme-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.theme-btn:hover {
    background: var(--glass-highlight);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.theme-btn:hover::before {
    opacity: 0.1;
}

.theme-btn i {
    font-size: 20px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.theme-btn:hover i {
    color: var(--accent-primary);
    transform: rotate(180deg);
}


/* ----- NAVIGATION ----- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    background: rgba(5, 5, 7, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-logo .nav-name {
    font-size: 32px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    background: var(--gradient-text);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    letter-spacing: -1px;
    transition: 0.3s ease;
}

.nav-logo .nav-name:hover {
    transform: scale(1.05);
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active-link {
    color: #fff;
    text-shadow: 0 0 10px var(--accent-primary);
}

.nav-link:hover::after,
.nav-link.active-link::after {
    width: 100%;
}

.nav-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
}

.nav-button {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ----- HOME / HERO ----- */
.featured-box {
    min-height: 100vh;
    display: flex;
    align-items: center;
    gap: 80px;
    padding-top: 60px;
    /* Offset for nav */
}

.featured-text {
    flex: 1;
    z-index: 2;
}

.featured-text-card span {
    background: rgba(0, 242, 255, 0.08);
    color: var(--accent-primary);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.featured-name {
    margin: 32px 0 20px;
}

.featured-name p {
    font-size: 64px;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    margin: 0;
    font-family: 'Outfit', sans-serif;
}

.typedText {
    color: #fff;
    text-transform: capitalize;
    position: relative;
    z-index: 1;
}

/* Fade in animation */
.fade-in {
    animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.featured-text-info p {
    font-size: 18px;
    color: var(--text-main);
    max-width: 540px;
    margin: 30px 0 40px;
    line-height: 1.8;
}

.social_icons {
    margin-top: 48px;
    display: flex;
    gap: 24px;
}

.icon a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-size: 20px;
    transition: var(--transition-smooth);
}

.icon a:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 30px var(--accent-glow);
    transform: translateY(-5px);
    color: #000;
}

/* Hero Image */
.featured-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.image-container {
    position: relative;
    padding: 5px;
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary), var(--accent-primary));
    border-radius: 45px;
    animation: rotateGradient 3s ease-in-out infinite;
}

.image-container::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: var(--body-bg);
    border-radius: 40px;
    z-index: 1;
}

.image {
    width: 420px;
    height: 420px;
    border-radius: 40px;
    /* Squircle */
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    padding: 10px;
    /* Inner frame */
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    animation: floatImage 6s ease-in-out infinite;
    transform: rotate(-3deg);
    position: relative;
    z-index: 2;
}

.image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

.image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    filter: grayscale(20%) contrast(110%);
    transition: 0.5s;
}

.image:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0) rotate(-3deg);
    }

    50% {
        transform: translateY(-20px) rotate(-1deg);
    }
}

.scroll-icon-box {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.6;
}

.scroll-icon-box i {
    font-size: 28px;
    animation: scrollDown 2s infinite;
    color: var(--accent-primary);
}

@keyframes scrollDown {
    0% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

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


/* ----- SECTION HEADERS ----- */
.top-header {
    text-align: center;
    margin-bottom: 60px;
}

.top-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.top-header h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
    animation: growLine 1s ease-out forwards;
}

@keyframes growLine {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

.top-header span {
    color: var(--accent-primary);
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}


/* ----- ABOUT SECTION ----- */
.col {
    flex: 1;
    display: flex;
}

.about-info {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.about-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.about-info h3 {
    font-size: 28px;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: -0.5px;
    position: relative;
    margin-bottom: 25px;
}

.about-info h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    border-radius: 2px;
}

.about-info p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 400;
    text-align: left;
    position: relative;
}

/* Skills */
.skills-col {
    flex-direction: column;
    gap: 25px;
}

.skills-box {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.skills-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-secondary), transparent);
    opacity: 0.8;
}

.skills-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.skills-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.3);
    flex-shrink: 0;
}

.skill-category-info h3 {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 3px 0;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.skill-category-info p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.1px;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

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

.skill-name {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.1px;
}

.skill-percentage {
    font-size: 12px;
    color: var(--accent-primary);
    font-weight: 700;
    background: rgba(0, 198, 255, 0.15);
    padding: 3px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0, 198, 255, 0.3);
    backdrop-filter: blur(10px);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 6px;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
    position: relative;
    box-shadow: 0 0 12px rgba(0, 198, 255, 0.4);
}

.progress::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 25px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 6px;
    animation: progress-shine 2.5s ease-in-out infinite;
}

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

    50% {
        transform: translateX(0%);
    }

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

/* ----- NEW SKILL TAGS STYLES ----- */
.skills-group {
    margin-bottom: 20px;
}

.skills-group:last-child {
    margin-bottom: 0;
}

.skill-category-title {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

.tech-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: default;
    font-family: 'Inter', sans-serif;
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Section */
#about {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.02) 0%, rgba(255, 107, 53, 0.02) 100%);
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(0, 198, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

#about .section {
    position: relative;
    z-index: 1;
}

/* ----- STATS ----- */
.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    padding: 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 10px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ----- EXPERIENCE ----- */
.experience-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
}

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

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

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 25px;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}

.experience-card {
    position: relative;
}

.experience-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 5px;
}

.experience-header .company {
    display: block;
    font-size: 18px;
    color: var(--accent-primary);
    font-weight: 600;
    margin-bottom: 5px;
}

.experience-header .duration {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.experience-details ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.experience-details li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.6;
}

.experience-details li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

/* ----- PROJECTS ----- */
.project-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-box {
    background: var(--glass-bg);
    padding: 40px 25px;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-glass);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    /* group: hover removed as it is invalid CSS. Hover effects are handled by :hover selectors */
}

.project-box:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}

.project-box i {
    font-size: 48px;
    color: #fff;
    margin-bottom: 30px;
    display: inline-block;
    transition: 0.3s;
}

.project-box:hover i {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.project-box h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 12px;
}

.project-box label {
    font-size: 14px;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
}


/* ----- CONTACT ----- */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-card,
.contact-form-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 25px 20px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-glass);
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.3);
}

.contact-info-card h3 {
    font-size: 22px;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: 0.3s;
}

.contact-item:hover {
    background: rgba(0, 0, 0, 0.3);
}

.contact-item .contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 198, 255, 0.3);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details p {
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-details .contact-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.contact-details .contact-link:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

.contact-form-card h3 {
    font-size: 24px;
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 242, 255, 0.1);
}

.form-group textarea {
    height: 100px;
    resize: none;
}

.send-btn {
    width: 100%;
    padding: 12px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 198, 255, 0.4);
}


/* ----- FOOTER ----- */
footer {
    padding-top: 50px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
}

.top-footer p {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    font-family: 'Outfit', sans-serif;
}

.footer-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer_menu_list a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer_menu_list a:hover {
    color: #fff;
}

.footer-social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.bottom-footer {
    padding: 20px 0;
    font-size: 14px;
    color: #666;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}


/* ----- NOTIFICATION MODAL ----- */
.notify-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.notify-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.notify-modal-content {
    background: linear-gradient(135deg, #0f0f12 0%, #1a1a1f 100%);
    border: 1px solid var(--glass-border);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 90%;
    max-width: 300px;
    transform: scale(0.9);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.notify-modal.show .notify-modal-content {
    transform: scale(1);
}

.notify-title {
    font-size: 20px;
    color: #fff;
    margin: 10px 0;
}

.notify-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.notify-message {
    color: #ccc;
    font-size: 16px;
    line-height: 1.5;
    margin: 10px 0;
}

.notify-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.notify-close:hover {
    color: var(--accent-primary);
}




/* ----- BACK TO TOP ----- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: var(--glass-highlight);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.3);
}

.back-to-top i {
    font-size: 20px;
}

/* ----- MEDIA QUERIES ----- */
@media only screen and (max-width: 1024px) {
    .featured-text {
        padding: 0;
    }

    .image,
    .image img {
        width: 320px;
        height: 320px;
    }
}

@media only screen and (max-width: 900px) {
    nav {
        padding: 0 5%;
    }

    .nav-menu-btn {
        display: block;
    }

    .nav-button {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: var(--nav-height);
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 7, 0.95);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: 0.4s;
    }

    .nav-menu.responsive {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .featured-box {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        padding-bottom: 60px;
    }

    .featured-text-btn {
        justify-content: center;
    }

    .social_icons {
        justify-content: center;
    }

    .featured-image {
        justify-content: center;
    }

    .row {
        flex-direction: column;
    }

    .col {
        width: 100%;
    }

    .input-field {
        width: 100% !important;
    }

    .form-inputs {
        flex-direction: column;
    }
}

@media only screen and (max-width: 540px) {
    .featured-name p {
        font-size: 42px;
    }

    .image {
        width: 280px;
        height: 280px;
    }

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

    .btn {
        padding: 14px 28px;
        font-size: 14px;
    }

    /* Professional Skills Mobile */
    .skills-box {
        padding: 25px;
    }

    .skills-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .skill-category-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .skill-category-info h3 {
        font-size: 20px;
    }

    .skill-category-info p {
        font-size: 13px;
    }

    .skill-name {
        font-size: 14px;
    }

    .skill-percentage {
        font-size: 12px;
        padding: 3px 10px;
    }

    .progress-bar {
        height: 10px;
    }

    .progress::after {
        width: 25px;
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
    display: inline-block;
}