/* ==========================================
   MODERN PORTFOLIO - CSS STYLING
   ========================================== */

:root {
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --secondary-color: #764ba2;
    --accent-color: #f5576c;
    --accent-light: #f093fb;
    --light-bg: #f8f9ff;
    --dark-bg: #0f1027;
    --card-bg: #ffffff;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --text-primary: #1a1a2e;
    --text-secondary: #6c757d;
    --border-radius: 15px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark Mode Variables */
body.dark-mode {
    --light-bg: #1a1a2e;
    --dark-bg: #0f0f1e;
    --card-bg: #2d2d44;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--light-bg) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: var(--transition);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.5s ease-out;
    transition: var(--transition);
}

.navbar.navbar-hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

body.dark-mode .navbar {
    background: rgba(45, 45, 68, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
}

.logo-icon:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    position: relative;
}

.nav-menu li {
    position: relative;
    list-style: none;
    min-width: 60px;
    height: 48px;
    padding: 0 18px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.5s ease;
}

.nav-menu li::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: 0.5s ease;
}

.nav-menu li::after {
    content: '';
    position: absolute;
    inset: 8px 0 -4px;
    border-radius: 999px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    filter: blur(15px);
    opacity: 0;
    z-index: -1;
    transition: 0.5s ease;
}

.nav-menu li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0);
}

.nav-menu li:hover::before {
    opacity: 1;
}

.nav-menu li:hover::after {
    opacity: 0.45;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    z-index: 1;
    transition: 0.5s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 0;
}

.nav-menu li:hover .nav-link {
    color: white;
}

.nav-link.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==========================================
   DARK MODE TOGGLE
   ========================================== */

.nav-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dark-mode-toggle {
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.dark-mode-toggle i {
    transition: var(--transition);
}

body.dark-mode .dark-mode-toggle {
    background: linear-gradient(135deg, #ffa500, #ff6b6b);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

body.dark-mode .dark-mode-toggle:hover {
    box-shadow: 0 6px 20px rgba(255, 165, 0, 0.5);
}

/* ==========================================
   HERO SECTION
   ========================================== */

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    padding: 120px 20px 80px;
    margin-top: 70px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 50%, #f5f6ff 100%);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

body.dark-mode .hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #222235 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    50% {
        transform: translateY(30px) translateX(20px);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-greet {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInDown 0.8s ease-out;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    margin: 20px 0;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin: 20px 0 30px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-mobile-photo {
    display: none;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin: 40px 0;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.resume-dropdown {
    position: relative;
}

.resume-toggle {
    min-width: 190px;
    justify-content: center;
}

.resume-toggle .fa-chevron-down {
    font-size: 14px;
}

.resume-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 100%;
    background: white;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    padding: 10px;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 20;
}

.resume-menu.show {
    display: flex;
}

.resume-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 10px 14px;
    border-radius: 10px;
    transition: var(--transition);
}

.resume-menu a:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.14));
    color: var(--primary-color);
}

.social-links-hero {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.hero-visual {
    position: relative;
    height: 520px;
}

.hero-right {
    position: absolute;
    right: -10px;
    bottom: -80px;
    width: 520px;
    height: 650px;
    overflow: visible;
    z-index: 3;
}

.hero-right::before {
    content: '';
    position: absolute;
    top: 35px;
    right: 90px;
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.78), rgba(118, 75, 162, 0.9));
    border-radius: 50%;
    z-index: 1;
    transition: box-shadow 0.35s ease, filter 0.35s ease;
    animation: pulse 4.5s ease-in-out infinite;
}

.hero-right:hover::before {
    box-shadow: 0 18px 45px rgba(102, 126, 234, 0.28);
    filter: brightness(1.08);
}

.overlay-img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: auto;
    height: 650px;
    max-width: none;
    z-index: 3;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.overlay-img:hover {
    transform: translateY(-10px) scale(1.03);
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.18));
}

.animated-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.8;
    z-index: 1;
}

.shape-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.22), rgba(118, 75, 162, 0.28));
    top: 10px;
    right: 250px;
    animation: pulse 3s ease-in-out infinite;
}

.shape-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
    bottom: 95px;
    right: -5px;
    animation: pulse 4s ease-in-out infinite 0.5s;
}

.shape-3 {
    width: 130px;
    height: 130px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    bottom: 150px;
    right: 330px;
    animation: pulse 5s ease-in-out infinite 1s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: 100px 20px;
    background: white;
    text-align: center;
}

.about-container {
    display: grid;
    grid-template-columns: minmax(280px, 460px) minmax(280px, 360px);
    justify-content: center;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out;
    text-align: left;
}

.about-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 8px;
}

.about-social-links .social-link {
    width: 48px;
    height: 48px;
    box-shadow: 0 10px 24px rgba(102, 126, 234, 0.14);
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 30px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    display: none;
}

.highlight-box p {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 12px 0;
    color: var(--text-primary);
    font-weight: 500;
}

.highlight-box i {
    color: var(--primary-color);
    font-size: 18px;
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-visual::before {
    content: '';
    display: block;
    width: 100%;
    max-width: 340px;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08), rgba(118, 75, 162, 0.14)), url('photo/golu.png');
    background-size: cover;
    background-position: center top;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ==========================================
   SECTION TITLE
   ========================================== */

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    animation: fadeInDown 0.8s ease-out;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease, text-shadow 0.3s ease, filter 0.3s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    margin: 20px auto 0;
    border-radius: 2px;
    transition: width 0.35s ease;
}

.section-title:hover {
    transform: translateY(-3px);
    filter: brightness(1.05);
    text-shadow: 0 12px 30px rgba(102, 126, 234, 0.22);
}

.section-title:hover::after {
    width: 80px;
}

/* ==========================================
   SKILLS SECTION
   ========================================== */

.skills {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 50%, #f5f6ff 100%);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.skill-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(10deg);
}

.skill-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    animation: growWidth 1.5s ease-out;
}

@keyframes growWidth {
    from {
        width: 0 !important;
    }
}

.skill-card p {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */

.projects {
    padding: 100px 20px;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    transition: var(--transition);
}

.project-card:hover .placeholder-image {
    transform: scale(1.1);
}

.project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tech-tag {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 100%);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.tech-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.project-links {
    display: flex;
    gap: 15px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

.project-link {
    flex: 1;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 14px;
}

.project-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==========================================
   VISUALIZATION SECTION
   ========================================== */

.visualization {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 50%, #f5f6ff 100%);
}

.viz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.viz-card {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.viz-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.viz-header {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.pie-chart {
    width: 200px;
    height: 200px;
    margin: 20px auto;
}

.viz-legend {
    margin-top: 20px;
}

.viz-legend p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.skills-matrix {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.matrix-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.matrix-label {
    width: 120px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.matrix-bar {
    flex: 1;
    height: 30px;
    border-radius: 8px;
    transition: var(--transition);
}

.matrix-row:hover .matrix-bar {
    filter: brightness(1.1);
}

.bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 250px;
    gap: 20px;
}

.chart-bar {
    flex: 1;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
    transition: var(--transition);
    position: relative;
}

.chart-bar:hover {
    transform: scaleY(1.05);
}

.bar-label {
    font-size: 12px;
    font-weight: 600;
    color: white;
    writing-mode: horizontal-tb;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */

.experience {
    padding: 100px 20px;
    background: white;
}

.achievements-subtitle {
    max-width: 780px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.achievement-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.16);
    border-radius: 18px;
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    min-height: 180px;
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.15);
}

.achievement-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #3b82f6;
}

.icon-green {
    background: rgba(34, 197, 94, 0.12);
    color: #22c55e;
}

.icon-purple {
    background: rgba(168, 85, 247, 0.12);
    color: #a855f7;
}

.icon-gold {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.icon-indigo {
    background: rgba(99, 102, 241, 0.12);
    color: #6366f1;
}

.achievement-content h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.achievement-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 14px;
}

.achievement-date {
    color: #3b82f6;
    font-weight: 700;
    font-size: 14px;
}

.journey-summary {
    max-width: 900px;
    margin: 60px auto 0;
    text-align: center;
}

.journey-summary h3 {
    font-size: 28px;
    margin-bottom: 18px;
    color: var(--text-primary);
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.journey-summary h3:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
    text-shadow: 0 12px 30px rgba(102, 126, 234, 0.22);
}

.journey-summary p {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text-secondary);
}

.education-skills-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 50px;
    align-items: start;
}

.education-section {
    max-width: none;
    margin: 70px 0 0;
    text-align: left;
}

.education-section h3 {
    font-size: 28px;
    margin-bottom: 28px;
    color: var(--text-primary);
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.education-section h3:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
    text-shadow: 0 12px 30px rgba(102, 126, 234, 0.22);
}

.education-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.education-item {
    border-left: 3px solid #3b82f6;
    padding: 2px 0 2px 20px;
    transition: transform 0.3s ease, padding-left 0.3s ease, border-left-color 0.3s ease;
}

.education-item:hover {
    transform: translateX(8px);
    padding-left: 24px;
    border-left-color: var(--accent-color);
}

.education-item h4 {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.education-item p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 2px;
}

.education-item .education-school {
    color: #3b82f6;
}

.education-item span {
    display: inline-block;
    color: var(--text-secondary);
    font-size: 15px;
    margin-top: 2px;
}

.education-skills-panel {
    margin-top: 70px;
    text-align: left;
}

.education-skills-panel h3 {
    font-size: 28px;
    margin-bottom: 28px;
    color: var(--text-primary);
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.education-skills-panel h3:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
    text-shadow: 0 12px 30px rgba(102, 126, 234, 0.22);
}

.education-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.skills-info-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
    border: 1px solid rgba(102, 126, 234, 0.16);
    border-radius: 18px;
    padding: 24px;
    min-height: 240px;
    transition: var(--transition);
}

.skills-info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.15);
}

.skills-info-card h4 {
    font-size: 18px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.skills-info-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.skills-info-card li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.skills-info-card li span {
    width: 28px;
    min-width: 28px;
    text-align: center;
    font-size: 20px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    padding: 100px 20px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ebff 50%, #f5f6ff 100%);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1100px;
    margin: 60px auto 0;
}

.contact-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--text-primary);
    display: inline-block;
    transition: transform 0.3s ease, text-shadow 0.3s ease, color 0.3s ease;
}

.contact-item h3:hover {
    transform: translateY(-3px);
    color: var(--primary-color);
    text-shadow: 0 12px 30px rgba(102, 126, 234, 0.22);
}

.contact-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.contact-item a {
    color: #3b82f6;
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-item i {
    margin-right: 8px;
}

.contact-social-links {
    justify-content: flex-start;
    margin-top: 8px;
}

.contact-social-links a {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(102, 126, 234, 0.25);
    color: var(--text-primary);
    box-shadow: none;
}

.contact-social-links a i {
    margin-right: 0;
    font-size: 22px;
    line-height: 1;
}

.contact-social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.22);
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease-out;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(10deg);
}

.info-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.info-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-card a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    animation: fadeInUp 0.8s ease-out;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.contact-form button {
    width: 100%;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.social-links a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    font-size: 14px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    border-backdrop-filter: blur(10px);
}

.footer-link:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }

    .nav-menu {
        gap: 20px;
        font-size: 14px;
    }

    .nav-menu li {
        min-width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    .nav-menu li::before,
    .nav-menu li::after {
        display: none;
    }

    .nav-menu li:hover {
        transform: none;
        box-shadow: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-controls {
        order: 2;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-mobile-photo {
        display: flex;
        justify-content: center;
        margin: 10px 0 24px;
        animation: fadeInUp 0.8s ease-out 0.25s both;
    }

    .hero-mobile-photo img {
        width: 180px;
        height: 180px;
        object-fit: cover;
        object-position: center top;
        border-radius: 50%;
        border: 5px solid rgba(255, 255, 255, 0.9);
        box-shadow: 0 18px 40px rgba(102, 126, 234, 0.25);
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.14), rgba(118, 75, 162, 0.18));
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section-title {
        font-size: 36px;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text {
        text-align: center;
    }

    .about-visual {
        justify-content: center;
    }

    .about-visual::before {
        max-width: 300px;
    }

    .about-social-links {
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .achievement-card,
    .skills-info-card {
        min-height: auto;
    }

    .education-section,
    .education-skills-panel {
        margin-top: 50px;
    }

    .contact-panel {
        gap: 22px;
    }

    .contact-social-links {
        justify-content: center;
    }

    .contact-social-links a {
        width: 52px;
        height: 52px;
    }

    .footer-content {
        flex-direction: column;
    }

    .viz-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 12px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        font-size: 12px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero {
        padding: 110px 16px 60px;
    }

    .hero-mobile-photo img {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-text {
        font-size: 14px;
    }

    .about-social-links {
        gap: 12px;
        justify-content: center;
    }

    .about-social-links .social-link,
    .contact-social-links a {
        width: 46px;
        height: 46px;
    }

    .contact-social-links a i {
        font-size: 18px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .skill-card {
        padding: 20px;
    }

    .project-link {
        font-size: 12px;
        padding: 8px;
    }

    .achievement-card {
        padding: 22px;
        gap: 16px;
        min-height: auto;
    }

    .journey-summary h3 {
        font-size: 24px;
    }

    .journey-summary p,
    .contact-item p,
    .education-item p,
    .education-item span {
        font-size: 14px;
    }

    .education-section h3 {
        font-size: 24px;
    }

    .education-item h4 {
        font-size: 18px;
    }

    .education-skills-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .education-skills-panel {
        margin-top: 10px;
    }

    .education-skills-grid {
        grid-template-columns: 1fr;
    }

    .project-image img {
        height: 180px !important;
    }

    .skills-info-card {
        padding: 20px;
    }

    .skills-info-card li {
        font-size: 15px;
        gap: 10px;
    }

    .skills-info-card h4 {
        font-size: 17px;
    }

    .contact-form {
        padding: 20px;
    }

    .info-card {
        padding: 20px;
    }
}

/* ==========================================
   SCROLL ANIMATIONS
   ========================================== */

@keyframes rotateChart {
    from {
        stroke-dashoffset: 1130;
    }
}

/* ==========================================
   DARK MODE STYLES
   ========================================== */

body.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
}

body.dark-mode .about {
    background: #2d2d44;
}

body.dark-mode .skills {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #222235 100%);
}

body.dark-mode .projects {
    background: #2d2d44;
}

body.dark-mode .experience {
    background: #2d2d44;
}

body.dark-mode .contact {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 50%, #222235 100%);
}

body.dark-mode .footer {
    background: linear-gradient(135deg, #0f0f1e 0%, #1a1a2e 100%);
}

body.dark-mode .skill-card {
    background: #3d3d54;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .skill-card:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

body.dark-mode .project-card {
    background: #3d3d54;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .project-card:hover {
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

body.dark-mode .achievement-card {
    background: linear-gradient(135deg, #3d3d54 0%, #4a4a63 100%);
    border-color: rgba(102, 126, 234, 0.24);
}

body.dark-mode .achievement-card:hover {
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.2);
}

body.dark-mode .contact-form {
    background: #3d3d54;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .info-card {
    background: #3d3d54;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .info-card:hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

body.dark-mode .form-group input,
body.dark-mode .form-group textarea {
    background: #2d2d44;
    border-color: #4a4a63;
    color: var(--text-primary);
}

body.dark-mode .form-group input:focus,
body.dark-mode .form-group textarea:focus {
    border-color: var(--primary-color);
    background: #3d3d54;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

body.dark-mode .highlight-box {
    background: linear-gradient(135deg, #3d3d54 0%, #4a4a63 100%);
}

body.dark-mode .stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.2);
}

body.dark-mode .stat-card:hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

body.dark-mode .achievement-date {
    color: #7fb3ff;
}

body.dark-mode .skills-info-card {
    background: linear-gradient(135deg, #3d3d54 0%, #4a4a63 100%);
    border-color: rgba(102, 126, 234, 0.24);
}

body.dark-mode .skills-info-card:hover {
    box-shadow: 0 16px 40px rgba(102, 126, 234, 0.2);
}

body.dark-mode .education-item {
    border-left-color: #60a5fa;
}

body.dark-mode .education-item .education-school {
    color: #7fb3ff;
}

body.dark-mode .tech-tag {
    background: linear-gradient(135deg, #3d3d54 0%, #4a4a63 100%);
    color: var(--primary-color);
}

body.dark-mode .tech-tag:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

body.dark-mode .progress-bar {
    background: #4a4a63;
}

body.dark-mode .viz-card {
    background: #3d3d54;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .viz-card:hover {
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

body.dark-mode .section-title {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: #7a7a8e;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.opacity-70 {
    opacity: 0.7;
}

/* Smooth Scrollbar for Webkit Browsers */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}
