/* CSS Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

:root {
    /* Color Palette - Light Mode Default */
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(255, 255, 255, 0.8);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-navbar: rgba(255, 255, 255, 0.85);
    --text-primary: #0F172A;
    --text-secondary: #334155;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --accent-light: #EFF6FF;
    --accent-cyan: #0EA5E9;
    --accent-cyan-light: #F0F9FF;
    
    --success: #10B981;
    --success-light: #ECFDF5;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --max-width: 1200px;
    --nav-height: 80px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Dark Mode Variables */
body.dark-mode {
    --bg-primary: #0A0F1D;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-glass: rgba(17, 24, 39, 0.65);
    --bg-navbar: rgba(10, 15, 29, 0.85);
    --text-primary: #F9FAFB;
    --text-secondary: #D1D5DB;
    --text-muted: #9CA3AF;
    --border-color: #1F2937;
    
    --accent: #3B82F6;
    --accent-hover: #60A5FA;
    --accent-light: rgba(59, 130, 246, 0.15);
    --accent-cyan: #38BDF8;
    --accent-cyan-light: rgba(56, 189, 248, 0.15);
    
    --success: #34D399;
    --success-light: rgba(52, 211, 153, 0.15);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-bg-light {
    background-color: var(--bg-secondary);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Background Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: pulseBlob 10s infinite alternate;
}

body.dark-mode .blob {
    opacity: 0.1;
}

.blob-1 {
    top: 5%;
    left: -10%;
    background: radial-gradient(circle, var(--accent) 0%, transparent 80%);
}

.blob-2 {
    top: 50%;
    right: -10%;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 80%);
    animation-delay: 2s;
}

@keyframes pulseBlob {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(30px, -30px); }
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--accent-light);
    border-color: var(--accent);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: var(--bg-navbar);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--accent);
    margin-right: 4px;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.2s ease;
}

.nav-link:hover {
    color: var(--accent);
}

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

.nav-btn {
    background-color: var(--accent-light);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
}

.nav-btn::after {
    display: none;
}

.nav-btn:hover {
    background-color: var(--accent);
    color: #FFFFFF !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Theme Toggle */
.theme-toggle-btn {
    background: none;
    border: 1px solid var(--border-color);
    cursor: pointer;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
}

.theme-toggle-btn:hover {
    background-color: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.theme-icon-light {
    display: none;
}

body.dark-mode .theme-icon-dark {
    display: none;
}

body.dark-mode .theme-icon-light {
    display: block;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    padding: 8px;
}

.hidden {
    display: none !important;
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.badge-container {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-light);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
    height: 40px; /* Pre-allocating height to prevent layout shifts */
}

.typed-cursor {
    color: var(--accent);
    font-weight: 400;
    animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-links-group {
    display: flex;
    gap: 12px;
}

.social-link-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.social-link-btn:hover {
    color: var(--accent);
    border-color: var(--accent);
    background-color: var(--accent-light);
    transform: translateY(-2px);
}

/* Hero Visual & Profile Image */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-card-wrapper {
    position: relative;
    width: 300px;
    height: 380px;
}

.profile-card-glow {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    border-radius: 12px;
    filter: blur(20px);
    opacity: 0.3;
    z-index: 1;
}

.profile-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    overflow: visible; /* To allow overlay badges to float outside */
    z-index: 2;
    background-color: var(--bg-secondary);
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.overlay-badge {
    position: absolute;
    background-color: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 10px 16px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 10;
    animation: floatBadge 6s infinite ease-in-out;
}

.overlay-badge-1 {
    top: 20px;
    left: -60px;
}

.overlay-badge-2 {
    bottom: 20px;
    right: -60px;
    animation-delay: 3s;
}

.badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.badge-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.badge-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* KPI Counters Section */
.kpi-section {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.kpi-card {
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.kpi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.kpi-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.kpi-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kpi-body {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.kpi-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.kpi-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-left: 2px;
}

.kpi-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
}

.kpi-trend {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.kpi-trend.text-success { color: var(--success); }
.kpi-trend.text-primary { color: var(--accent); }

.kpi-context {
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
}

.about-text-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.about-greeting {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-paragraph {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.career-objective {
    border-left: 4px solid var(--accent);
    background-color: var(--bg-primary);
    padding: 20px;
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin: 30px 0;
    font-size: 1rem;
    color: var(--text-secondary);
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 10px;
    right: 20px;
    opacity: 0.05;
    width: 60px;
    height: 60px;
}

.about-focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.focus-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.about-chart-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.chart-panel-header {
    background-color: var(--bg-primary);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    gap: 8px;
}

.panel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.panel-dot.red { background-color: #EF4444; }
.panel-dot.yellow { background-color: #F59E0B; }
.panel-dot.green { background-color: #10B981; }

.panel-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-container {
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.chart-legend-custom {
    padding: 0 30px 30px 30px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: 10px;
}

.legend-item {
    font-size: 0.82rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.color-dot.db { background-color: #2563EB; }
.color-dot.bi { background-color: #0EA5E9; }
.color-dot.ml { background-color: #10B981; }
.color-dot.cloud { background-color: #8B5CF6; }

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.skill-category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.skill-category-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.skill-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-cyan-light));
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-category-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.skill-pct {
    color: var(--accent);
    font-size: 0.82rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background-color: var(--bg-primary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-cyan));
    border-radius: 4px;
    width: 0%; /* Will animate in JS */
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.25, 1);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.project-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-icon-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #FFFFFF;
    color: #0F172A;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.project-icon-link:hover {
    transform: scale(1.1);
    background-color: var(--accent-light);
    color: var(--accent);
}

.project-info {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--text-secondary);
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.project-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.project-link-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-link-text:hover {
    color: var(--accent);
}

/* Timeline/Experience Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 3px solid var(--accent);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    top: 20px;
}

.timeline-item.left .timeline-dot {
    right: -20px;
}

.timeline-item.right .timeline-dot {
    left: -20px;
}

.timeline-card {
    padding: 30px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.timeline-header {
    margin-bottom: 16px;
}

.timeline-date {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent);
    background-color: var(--accent-light);
    padding: 4px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.timeline-role {
    font-size: 1.25rem;
    font-weight: 700;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.timeline-points {
    list-style-type: disc;
    margin-left: 20px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

/* Certifications Section */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.cert-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
}

.cert-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.azure-cert {
    background-color: rgba(0, 137, 214, 0.1);
    color: #0089D6;
}

.bi-cert {
    background-color: rgba(242, 200, 17, 0.1);
    color: #F2C811;
}

.intern-cert {
    background-color: var(--accent-light);
    color: var(--accent);
}

.cert-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.cert-issuer {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: auto; /* Push status to bottom */
    padding-bottom: 16px;
}

.cert-status {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--success);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.cert-status.progress-cert {
    color: var(--text-muted);
}

/* Achievements Section */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.achievement-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.2s ease;
}

.achievement-card:hover {
    transform: translateY(-4px);
}

.achievement-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.achievement-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.achievement-description {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.contact-info-panel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-info-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.contact-info-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.detail-value:hover {
    color: var(--accent);
}

.contact-form-wrapper {
    background-color: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
}

.form-input, .form-textarea {
    width: 100%;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input {
    padding: 12px 14px 12px 42px;
}

.form-textarea {
    padding: 12px 14px;
    resize: vertical;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.form-status.success {
    background-color: var(--success-light);
    color: var(--success);
}

.form-status.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
}

/* Footer Section */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 20px 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.footer-link:hover {
    color: var(--accent);
}

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

.footer-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-icon:hover {
    color: #FFFFFF;
    background-color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.heart-icon {
    fill: #EF4444;
    color: #EF4444;
    width: 14px;
    height: 14px;
    display: inline-block;
    vertical-align: middle;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

@keyframes fadeIn {
    to { opacity: 1; }
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1; /* Place image on top on tablets/mobiles */
        margin-bottom: 20px;
    }
    
    .kpi-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 24px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 54px;
        padding-right: 0;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-dot {
        left: 4px !important;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    /* Navigation drawer for Mobile */
    .nav-links-wrapper {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background-color: var(--bg-secondary);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--border-color);
        transition: left 0.3s ease;
        padding: 40px 24px;
        z-index: 999;
    }
    
    .nav-links-wrapper.open {
        left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom-flex {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* Custom Inline Social Buttons and Hero Tagline */
.social-links-inline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 8px;
}

.social-inline-link {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.social-inline-icon {
    width: 24px;
    height: 24px;
}

.social-inline-link:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
    letter-spacing: -0.2px;
}

body.dark-mode .hero-tagline {
    color: var(--accent-cyan);
}

/* Custom Education Block in About Me */
.education-block {
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.education-title {
    font-size: 1.15rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
}

.education-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    position: relative;
}

.edu-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--accent);
    margin-top: 6px;
    flex-shrink: 0;
}

.edu-content {
    display: flex;
    flex-direction: column;
}

.edu-year {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
}

.edu-degree {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.edu-school {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* Minimalist Skill Tags Group (Replacing progress bars) */
.skill-tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.skill-tag-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: default;
}

.skill-tag-item:hover {
    color: var(--accent);
    border-color: var(--accent);
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.15);
}

body.dark-mode .skill-tag-item:hover {
    color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    background-color: rgba(0, 206, 201, 0.1);
    box-shadow: 0 4px 12px rgba(0, 206, 201, 0.15);
}
