/* 
 * Portfolio Website Styles
 * Theme: Dark Mode / Cyber-tech
 * Fonts: Poppins, Inter
 */

/* Preloader Styles */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    animation: loaderPulse 2s infinite ease-in-out;
    filter: drop-shadow(0 0 15px var(--accent-primary));
}

.loader-bar-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin: 0 auto 15px;
    overflow: hidden;
    position: relative;
}

.loader-bar {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-text);
    animation: loaderLoading 2s infinite ease-in-out;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes loaderLoading {
    0% {
        left: -100%;
    }

    50% {
        left: 0%;
    }

    100% {
        left: 100%;
    }
}

:root {
    /* Colors - Deep Premium Dark Theme */
    --bg-color: #030712;
    --bg-secondary: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-primary: #38bdf8;
    /* Sky Blue */
    --accent-secondary: #818cf8;
    /* Indigo */
    --accent-tertiary: #c084fc;
    /* Purple */
    --accent-hover: #0ea5e9;
    --card-bg: rgba(15, 23, 42, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);

    /* Gradients */
    --gradient-text: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    --gradient-bg: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(192, 132, 252, 0.05));
    --gradient-button: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

    /* Fonts */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-width: 1240px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Modern Glassmorphism & Effects */
    --glass-bg: rgba(3, 7, 18, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-primary: 0 0 20px rgba(56, 189, 248, 0.4);
    --glow-secondary: 0 0 20px rgba(192, 132, 252, 0.4);

    /* Neon Accents */
    --neon-blue: #00f3ff;
    --neon-purple: #bc13fe;
    --neon-cyan: #00ffff;
    --neon-glow: 0 0 10px rgba(0, 243, 255, 0.7), 0 0 20px rgba(0, 243, 255, 0.3);

    --hero-name-start: #ffffff;
    --hero-name-end: #94a3b8;
}

/* Light Mode Variables - Crisp & Modern */
body.light-mode {
    --bg-color: #f8fafc;
    --bg-secondary: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #0284c7;
    --accent-secondary: #4f46e5;
    --accent-tertiary: #9333ea;
    --card-bg: rgba(255, 255, 255, 0.8);
    --border-color: rgba(0, 0, 0, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: 1px solid rgba(0, 0, 0, 0.1);
    --glow-primary: 0 0 15px rgba(56, 189, 248, 0.2);
    --hero-name-start: #0f172a;
    --hero-name-end: #475569;
}

/* Global Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
    }

    50% {
        box-shadow: 0 0 30px rgba(56, 189, 248, 0.6);
    }
}

@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes type-cursor {

    0%,
    100% {
        border-color: transparent;
    }

    50% {
        border-color: var(--accent-primary);
    }
}

@keyframes spin-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Top Skills (Circular) */
.top-skills {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    text-align: center;
}

.circular-skill {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circular-skill svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circular-skill circle {
    fill: none;
    stroke: rgba(255, 255, 255, 0.05);
    stroke-width: 8;
}

.circular-skill .progress-circle {
    stroke: var(--accent-primary);
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    stroke-linecap: round;
    transition: stroke-dashoffset 2s ease-out;
    filter: drop-shadow(0 0 5px var(--accent-primary));
}

.skill-percent {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.skill-name {
    margin-top: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tooltips */
[data-tooltip] {
    position: relative;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    padding: 8px 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--accent-primary);
    color: var(--text-primary);
    font-size: 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 10;
}

[data-tooltip]:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    transition: width 0.3s, height 0.3s;
}

body.light-mode .cursor-glow {
    background: radial-gradient(circle, rgba(2, 132, 199, 0.05) 0%, transparent 70%);
}

.particle {
    position: absolute;
    background: var(--accent-primary);
    border-radius: 50%;
    pointer-events: none;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.05) 0%, transparent 50%),
        linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
    background-size: 100% 100%, 50px 50px, 50px 50px;
    z-index: -1;
    pointer-events: none;
    animation: gridAnimation 100s linear infinite;
}

@keyframes gridAnimation {
    from {
        background-position: 0 0, 0 0, 0 0;
    }

    to {
        background-position: 0 0, 1000px 1000px, 1000px 1000px;
    }
}

/* Data Wave Divider */
.data-wave-divider {
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--bg-secondary), transparent);
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.data-wave-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100%;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), var(--accent-tertiary), transparent);
    animation: waveMove 4s linear infinite;
    box-shadow: 0 0 15px var(--accent-primary);
}

@keyframes waveMove {
    from {
        left: -100%;
    }

    to {
        left: 100%;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: table;
    /* Centering fix */
    margin-left: auto;
    margin-right: auto;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

/* Glowing Border Utility */
.glow-border {
    position: relative;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
    transition: var(--transition-medium);
}

.glow-border:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

/* Fade-in Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-text);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    margin-left: 15px;
}

/* Button Upgrades */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-text);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    animation: pulse-glow 3s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 30px rgba(0, 243, 255, 0.8);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    margin-left: 15px;
}

.btn-outline:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
    border-color: var(--accent-hover);
    color: var(--accent-hover);
}

/* Header & Navbar */
/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-text);
    z-index: 1002;
    box-shadow: 0 0 10px var(--accent-primary);
    transition: width 0.1s ease-out;
}

/* Glass Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-medium);
}

.glass-header {
    background: rgba(3, 7, 18, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    height: 70px;
    background: rgba(3, 7, 18, 0.8);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Modern Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: var(--gradient-text);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    font-size: 1rem;
}

.logo span {
    color: var(--accent-primary);
}

/* Nav Links with Underline Animation */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    position: relative;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-medium);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-secondary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Navbar Enhancements */
.nav-links a::after {
    height: 3px;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--accent-secondary);
}

.nav-links a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

.nav-links a.active::after {
    width: 100%;
    background: var(--accent-primary);
    box-shadow: 0 0 15px var(--accent-primary);
}

.btn-nav {
    color: var(--accent-primary) !important;
    border: 1px solid var(--accent-primary);
    padding: 8px 20px;
    border-radius: 4px;
}

.btn-nav:hover {
    background: rgba(0, 243, 255, 0.1);
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1001;
    pointer-events: none;
}

.scroll-progress-bar {
    height: 100%;
    background: var(--gradient-text);
    width: 0%;
    box-shadow: 0 0 15px var(--accent-primary);
}

#theme-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.2rem;
    margin-left: 10px;
    transition: var(--transition-medium);
}

#theme-toggle:hover {
    color: var(--accent-primary);
    transform: scale(1.1) rotate(15deg);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black, transparent 80%);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-content {
    max-width: 650px;
    z-index: 2;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--accent-primary);
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 15px;
    background: linear-gradient(to bottom, var(--text-primary) 30%, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(56, 189, 248, 0.1));
}

.hero-title {
    font-size: 2rem;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--text-primary);
}

.hero-tagline {
    font-size: 1.2rem;
    color: var(--accent-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
}

/* Copy Button */
.btn-copy {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: 10px;
    transition: color 0.3s ease, transform 0.2s ease;
    font-size: 0.9rem;
}

.btn-copy:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.btn-copy.copied {
    color: #10b981;
}

.stat-plus {
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-visual {
    position: relative;
    z-index: 2;
    perspective: 1000px;
}

.hero-img-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
}

.hero-img {
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: var(--transition-medium);
    animation: morph 8s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

.hero-img-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-text);
    filter: blur(30px);
    opacity: 0.2;
    z-index: 1;
    border-radius: 50%;
}

.floating-icons i {
    position: absolute;
    font-size: 1.5rem;
    color: var(--accent-primary);
    background: var(--glass-bg);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: float 4s ease-in-out infinite;
}

.icon-1 {
    top: 10%;
    left: -15%;
    animation-delay: 0s;
}

.icon-2 {
    bottom: 20%;
    right: -10%;
    animation-delay: 1s;
}

.icon-3 {
    top: 40%;
    right: -20%;
    animation-delay: 2s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* About Section */
.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* About Highlights */
.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 16px;
    border: var(--glass-border);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
    border-color: var(--accent-primary);
}

.highlight-icon {
    width: 45px;
    height: 45px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--accent-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.highlight-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.highlight-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.achievements {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.achievement-item {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    min-width: 150px;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.achievement-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.achievement-item h3 {
    font-size: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.achievement-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Skills Section */
.skills-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-medium);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-text);
    color: var(--bg-color);
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.skill-category {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 20px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    transition: var(--transition-medium);
    display: block;
    /* For filtering */
}

.skill-category[style*="display: none"] {
    display: none !important;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--glass-shadow);
}

.skill-category h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.skill-category h3 i {
    color: var(--accent-primary);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-text);
    width: 0;
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.1, 0.42, 0.41, 1);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.service-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(0, 243, 255, 0.2);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Projects Section */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.project-filter-btn {
    padding: 10px 25px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-medium);
}

.project-filter-btn:hover,
.project-filter-btn.active {
    background: var(--gradient-text);
    color: var(--bg-color);
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
    perspective: 1000px;
}

.project-card-wrapper {
    transition: var(--transition-medium);
}

.project-card {
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
    height: 100%;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.project-tags .tag {
    font-size: 0.75rem;
    color: var(--accent-primary);
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    font-weight: 600;
}

.project-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.github-link {
    font-size: 1.5rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.github-link:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Journey Timeline Section */
.timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline-progress-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-color);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-progress-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--line-height, 0%);
    background: var(--gradient-text);
    box-shadow: 0 0 15px var(--accent-primary);
    transition: height 0.3s ease-out;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.timeline-item[data-direction="left"] {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--accent-primary);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-primary);
    transform: translateX(-50%) scale(1.2);
}

.timeline-date {
    width: 45%;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-secondary);
    font-family: var(--font-heading);
}

.timeline-item[data-direction="left"] .timeline-date {
    text-align: left;
    padding-left: 30px;
}

.timeline-item[data-direction="right"] .timeline-date {
    text-align: right;
    padding-right: 30px;
}

.timeline-card {
    width: 45%;
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
}

.timeline-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 243, 255, 0.1);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-direction: column;
}

.timeline-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.timeline-issuer {
    font-size: 0.9rem;
    color: var(--accent-primary);
    font-weight: 600;
}

.timeline-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.timeline-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.timeline-tags .tag {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: rgba(0, 243, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--accent-primary);
    border-radius: 20px;
}

.edu-details-inline {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.edu-details-inline .badge {
    font-size: 0.8rem;
    padding: 5px 12px;
    background: var(--accent-secondary);
    color: white;
    border-radius: 5px;
    font-weight: 600;
}

/* Timeline Animations */
.timeline-item.reveal[data-direction="left"] {
    transform: translateX(-50px);
    opacity: 0;
}

.timeline-item.reveal[data-direction="right"] {
    transform: translateX(50px);
    opacity: 0;
}

.timeline-item.reveal.active {
    transform: translateX(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .timeline-progress-line {
        left: 30px;
    }

    .timeline-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-dot {
        left: 30px;
        top: 0;
    }

    .timeline-date {
        width: 100%;
        text-align: left !important;
        padding: 0 !important;
        margin-bottom: 10px;
    }

    .timeline-card {
        width: 100%;
    }
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(188, 19, 254, 0.1);
    color: var(--accent-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
}

.social-links {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
    transform: translateY(-5px);
}

/* Contact Section Premium Styles */
.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: var(--glass-border);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.form-group-floating {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.form-label {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

textarea.form-input+.form-label {
    top: 25px;
}

.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
    top: -12px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    background: var(--bg-color);
    padding: 0 8px;
    border-radius: 4px;
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 1px;
    background: var(--gradient-text);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    box-shadow: 0 0 15px var(--accent-primary);
}

.form-input:focus~.input-glow {
    transform: scaleX(1);
}

.form-input:focus {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

.btn-submit-premium {
    width: 100%;
    padding: 16px;
    background: var(--gradient-text);
    border: none;
    border-radius: 12px;
    color: var(--bg-color);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-submit-premium:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

.btn-submit-premium i {
    transition: transform 0.3s ease;
}

.btn-submit-premium:hover i {
    transform: translate(5px, -5px);
}

.form-status {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    min-height: 20px;
}

.form-status.success {
    color: #10b981;
}

.form-status.error {
    color: #ef4444;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

.footer-content {
    max-width: var(--container-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.cert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.cert-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-download {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-download:hover {
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.back-to-top {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    transition: var(--transition-fast);
}

.back-to-top:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
}

/* Scroll Animation Classes */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Certifications Section */
/* Certifications Section - Revamped */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.cert-card {
    background: rgba(20, 20, 35, 0.6);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.cert-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 243, 255, 0.2),
        inset 0 0 20px rgba(0, 243, 255, 0.05);
}

.cert-card:hover::before {
    opacity: 1;
}

.cert-glow-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-primary) 0%, transparent 70%);
    opacity: 0;
    filter: blur(20px);
    top: -50px;
    right: -50px;
    transition: all 0.5s ease;
    z-index: 0;
}

.cert-card:hover .cert-glow-effect {
    opacity: 0.4;
    transform: scale(1.5);
}

.cert-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 243, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 1.8rem;
    color: var(--accent-primary);
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
    z-index: 1;
    position: relative;
    transition: all 0.4s ease;
}

.cert-card:hover .cert-icon {
    background: var(--accent-primary);
    color: var(--bg-color);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.6);
    transform: rotateY(180deg);
}

.cert-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cert-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.cert-issuer {
    color: var(--accent-secondary);
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-issuer::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-secondary);
}

.cert-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.cert-details span {
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.cert-details span i {
    color: var(--accent-primary);
}

.cert-card:hover .cert-details span {
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.3);
    color: var(--text-primary);
}

.cert-date {
    margin-top: auto;
    font-size: 0.85rem;
    color: #fff;
    opacity: 0.5;
    margin-bottom: 20px;
    font-weight: 600;
}

.btn-cert {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-cert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-primary);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn-cert:hover {
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn-cert:hover::before {
    width: 100%;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.4s ease;
}

.modal.show-modal {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Remvoved redundant .modal-content style as it is replaced by .slider-container in slider.css */

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close-modal:hover {
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

#modal-caption {
    margin-top: 20px;
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 500;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 900px) {
    .section-title {
        font-size: 2rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-dot {
        left: 31px;
    }

    .timeline-date {
        width: 100%;
        text-align: left;
        margin-bottom: 5px;
    }

    .timeline-content {
        width: 100%;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: rgba(17, 17, 31, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-section {
        flex-direction: column-reverse;
        justify-content: center;
        text-align: center;
        height: auto;
        min-height: 100vh;
        padding: 100px 20px 60px;
    }

    .hero-content {
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-visual {
        width: 280px;
        height: 280px;
        margin: 0 auto;
    }

    .hero-img {
        width: 240px;
        height: 240px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}